:root {
  --bg: #17130f;
  --bg-soft: #211a14;
  --paper: #f3eadc;
  --ink: #f8f2e8;
  --text: #d8cfc3;
  --amber: #c9893f;
  --copper: #9c5a2b;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 8vw, 7.6rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 19, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.brand-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* Hero */

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(15, 11, 8, 0.96) 0%,
      rgba(15, 11, 8, 0.82) 42%,
      rgba(15, 11, 8, 0.32) 72%,
      rgba(15, 11, 8, 0.08) 100%
    ),
    url("assets/hero-beer-sommelier.jpg") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 25% 42%,
      rgba(201, 137, 63, 0.13),
      transparent 38%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-block: 110px;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: #eadfce;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */

.button {
  min-height: 52px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #18120d;
  background: var(--amber);
  box-shadow: 0 12px 30px rgba(201, 137, 63, 0.22);
}

.button-primary:hover {
  background: #dda052;
}

.button-secondary {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.button-light {
  color: #17130f;
  background: var(--paper);
}

/* General sections */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.project-intro {
  background: var(--paper);
  color: #433b33;
}

.project-intro h2 {
  color: #1f1812;
}

.project-intro .eyebrow {
  color: var(--copper);
}

.intro-text {
  margin-top: 0;
  color: #2f261f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

/* Experiences */

.experiences {
  background: var(--bg-soft);
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.experience-card {
  min-height: 320px;
  padding: 34px 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card-number {
  display: block;
  margin-bottom: 44px;
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

/* Origin */

.origin {
  background: #120f0c;
}

.origin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.origin-copy {
  font-size: 1.08rem;
}

blockquote {
  margin: 38px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(201, 137, 63, 0.45);
  color: #f1dcc0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.35;
}

/* Contact */

.contact {
  padding: 90px 0;
  background: var(--amber);
  color: #2c2117;
}

.contact h2 {
  color: #1b140e;
}

.contact .eyebrow {
  color: #5f351a;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-link {
  color: #2b1e15;
  font-weight: 700;
  border-bottom: 1px solid rgba(43, 30, 21, 0.45);
}

/* Footer */

.site-footer {
  padding: 28px 0;
  background: #0b0907;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.site-footer a {
  color: #e2bd88;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Responsive */

@media (max-width: 980px) {
  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .origin-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero {
    min-height: 700px;
    background-position: 65% center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 60;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(23, 19, 15, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 780px;
    align-items: end;
    background:
      linear-gradient(
        to top,
        rgba(15, 11, 8, 1) 0%,
        rgba(15, 11, 8, 0.96) 48%,
        rgba(15, 11, 8, 0.58) 72%,
        rgba(15, 11, 8, 0.12) 100%
      ),
      url("assets/hero-beer-sommelier.jpg") 66% top / cover no-repeat;
  }

  .hero-content {
    padding: 330px 0 70px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .section {
    padding: 78px 0;
  }

  .experiences-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}