:root{
  --bg-dark: #090604;
  --bg-darker: #060403;
  --paper: #efe8dd;
  --paper-text: #31251d;
  --paper-muted: #7f6a58;
  --white-soft: #f4eadc;
  --gold: #c7a35d;
  --gold-soft: #d3b173;
  --line: rgba(211, 177, 115, 0.28);
  --shadow: 0 18px 50px rgba(0,0,0,.22);
  --container-wide: min(1280px, calc(100vw - 64px));
  --container: min(1120px, calc(100vw - 72px));
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--bg-dark);
  color: var(--white-soft);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{
  display: block;
  max-width: 100%;
}

a{
  color: inherit;
  text-decoration: none;
}

/* HEADER */
.site-header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding-top: 26px;
}

.header-inner{
  width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(211, 177, 115, 0.22);
}

.brand{
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #ead8bb;
}

.nav{
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: #f1e6d7;
}

.nav a:hover{
  color: var(--gold-soft);
}

.nav-btn{
  border: 1px solid rgba(211, 177, 115, 0.5);
  border-radius: 8px;
  padding: 9px 16px;
  line-height: 1;
}

/* HERO */
.hero{
  position: relative;
  min-height: 940px;
background-image: url("hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,5,4,.45), rgba(8,5,4,.22) 24%, rgba(8,5,4,.22) 58%, rgba(5,3,2,.68)),
    radial-gradient(circle at 68% 42%, rgba(229, 165, 87, 0.18), transparent 26%),
    radial-gradient(circle at 24% 30%, rgba(98, 42, 22, 0.12), transparent 30%);
  z-index: 1;
}

.hero-inner{
  position: relative;
  z-index: 2;
  width: var(--container-wide);
  min-height: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 20px;
  padding-top: 96px;
}

.hero-copy{
  max-width: 680px;
  padding-left: 48px;
  margin-top: 30px;
}

.eyebrow{
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-soft);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero h1{
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 6rem;
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #f4eadc;
}

.hero-text{
  margin: 0 0 34px;
  max-width: 600px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.55rem;
  line-height: 1.16;
  font-weight: 500;
  color: #f2e3d0;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 18px 24px;
  border-radius: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.32rem;
  font-weight: 600;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
}

.btn-gold{
  background: linear-gradient(180deg, #cfad6d, #be944e);
  color: #f7efdf;
  box-shadow: 0 10px 24px rgba(85, 50, 18, 0.18);
}

.btn-outline{
  border: 1px solid rgba(211, 177, 115, 0.58);
  color: #f0ddc2;
  background: rgba(18, 11, 8, 0.18);
}

.hero-image-wrap{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 760px;
}

.bottle{
  width: min(520px, 38vw);
  max-height: 760px;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.45));
  transform: translateX(8px) translateY(36px);
}

/* STORY */
.story-section{
  background: linear-gradient(180deg, #f0e9de, #ebe3d7);
  color: var(--paper-text);
  padding: 68px 0 78px;
}

.story-inner{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.story-image-wrap{
  display: flex;
  justify-content: center;
}

.story-image{
  width: 290px;
  aspect-ratio: 1 / 1.38;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-label{
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.03rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.story-copy h2,
.mezcal-section h2,
.contact-section h2,
.process-title{
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 4.35rem;
  line-height: .95;
  letter-spacing: -.03em;
  font-weight: 600;
}

.story-copy h2{
  color: #2d211a;
}

.story-copy p:not(.section-label){
  margin: 0 0 24px;
  max-width: 710px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1.45;
  color: #3b2f25;
}

/* PROCESS */
.process-section{
  position: relative;
background-image: url("process-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 74px 0 86px;
  overflow: hidden;
}

.process-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,5,4,.68), rgba(8,5,4,.56)),
    radial-gradient(circle at 85% 45%, rgba(255, 163, 71, 0.16), transparent 18%),
    radial-gradient(circle at 18% 56%, rgba(255, 144, 65, 0.10), transparent 16%);
  z-index: 1;
}

.process-inner{
  position: relative;
  z-index: 2;
  width: var(--container-wide);
  margin: 0 auto;
  text-align: center;
}

.process-label{
  color: #9e846f;
}

.process-title{
  color: #f4eadc;
  margin-bottom: 54px;
}

.process-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.process-card{
  text-align: center;
  padding: 0 14px;
}

.process-number{
  font-family: "Cormorant Garamond", serif;
  font-size: 4.9rem;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 12px;
}

.process-line{
  width: 64px;
  height: 1px;
  margin: 0 auto 20px;
  background: rgba(211, 177, 115, 0.7);
}

.process-card h3{
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  line-height: 1.05;
  font-weight: 600;
  color: #f5ebde;
}

.process-card p{
  margin: 0 auto;
  max-width: 320px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  line-height: 1.38;
  color: #ead9c3;
}

/* MEZCAL */
.mezcal-section{
  background: linear-gradient(180deg, #f0e9de, #ebe3d7);
  color: var(--paper-text);
  padding: 58px 0 66px;
}

.mezcal-inner{
  width: var(--container);
  margin: 0 auto;
}

.mezcal-section h2{
  color: #2d211a;
}

.mezcal-section p{
  margin: 0;
  max-width: 760px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1.45;
  color: #3b2f25;
}

/* CONTACT */
.contact-section{
  background: linear-gradient(180deg, #0f0a08, #090604);
  color: var(--white-soft);
  padding: 58px 0 72px;
}

.contact-inner{
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto;
  text-align: center;
}

.contact-label{
  color: #9e846f;
}

.contact-section h2{
  color: #f4eadc;
}

.contact-section p{
  margin: 0 auto 24px;
  max-width: 620px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
  line-height: 1.42;
  color: #ead9c3;
}

.contact-btn{
  min-width: auto;
  padding-left: 26px;
  padding-right: 26px;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .hero{
    min-height: 860px;
  }

  .hero-inner{
    min-height: 860px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .hero-copy{
    padding-left: 10px;
    margin-top: 0;
  }

  .hero-image-wrap{
    min-height: 340px;
    justify-content: center;
  }

  .bottle{
    width: min(360px, 52vw);
    transform: translateY(0);
  }

  .story-inner{
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  .story-image{
    width: 240px;
  }

  .process-grid{
    gap: 26px;
  }
}

@media (max-width: 820px){
  .site-header{
    padding-top: 18px;
  }

  .header-inner{
    width: min(100%, calc(100vw - 24px));
    gap: 16px;
    padding-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav{
    gap: 14px;
    flex-wrap: wrap;
    font-size: 1.08rem;
  }

  .brand{
    font-size: 1.5rem;
  }

  .hero{
    min-height: auto;
  }

  .hero-inner{
    width: min(100%, calc(100vw - 26px));
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 42px;
  }

  .hero-copy{
    padding-left: 0;
  }

  .eyebrow{
    font-size: 1.55rem;
  }

  .hero h1{
    font-size: 4rem;
  }

  .hero-text{
    font-size: 1.65rem;
    max-width: 100%;
  }

  .hero-actions{
    gap: 12px;
  }

  .btn{
    width: 100%;
  }

  .bottle{
    width: min(280px, 72vw);
  }

  .story-section,
  .mezcal-section,
  .contact-section,
  .process-section{
    padding-left: 0;
    padding-right: 0;
  }

  .story-inner,
  .mezcal-inner,
  .process-inner{
    width: min(100%, calc(100vw - 26px));
  }

  .story-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-image{
    width: min(290px, 82vw);
  }

  .story-copy h2,
  .mezcal-section h2,
  .contact-section h2,
  .process-title{
    font-size: 2.8rem;
  }

  .story-copy p:not(.section-label),
  .mezcal-section p,
  .contact-section p{
    font-size: 1.18rem;
  }

  .process-grid{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-number{
    font-size: 4rem;
  }

  .process-card h3{
    font-size: 1.75rem;
  }

  .process-card p{
    font-size: 1.14rem;
  }
}