
:root {
  --cream: #F4F0E2;
  --cream-2: #EDE6D2;
  --olive: #4B562F;
  --olive-dark: #30391E;
  --mustard: #E1C51B;
  --ink: #273019;
  --white: #FFFDF6;
  --max: 1240px;

  /*
   * Font licensing note:
   * The supplied font files are intentionally NOT bundled in this prototype.
   * For production, host licensed webfont versions and define @font-face here.
   *
   * Brand mapping:
   * --font-brand: Suhanto
   * --font-body: Gotham Medium
   * --font-script: Nickainley
   */
  --font-brand: "Suhanto", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Gotham Medium", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Nickainley", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999;
  left: 1rem; top: 1rem;
  transform: translateY(-200%);
  background: var(--white);
  color: var(--olive-dark);
  padding: .75rem 1rem;
  border: 2px solid var(--olive-dark);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
}

.brand-mark {
  width: 88px;
  height: 88px;
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--olive-dark);
}
.primary-nav a {
  text-decoration: none;
  padding: .6rem .1rem;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { text-decoration: underline; text-underline-offset: .3rem; }
.shop-link {
  border: 1.5px solid currentColor;
  padding: .75rem 1rem !important;
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 92vh;
  max-height: 940px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(244,240,226,.92) 0%, rgba(244,240,226,.72) 22%, rgba(244,240,226,.15) 43%, rgba(244,240,226,0) 58%),
    url("assets/hero-sunrise.jpg") center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,240,226,.15), transparent 32%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(520px, 42vw);
  margin-left: max(4rem, calc((100vw - var(--max))/2));
  padding-top: 5rem;
  color: var(--olive-dark);
}
.eyebrow { display: none; }
.hero h1 {
  margin: 0 0 .7rem;
  font-family: var(--font-brand);
  font-size: clamp(5.2rem, 9vw, 9.5rem);
  line-height: .73;
  letter-spacing: .01em;
  color: var(--olive-dark);
}
.waves {
  width: 255px;
  margin: 1.35rem 0 2rem;
}
.waves img {
  display: block;
  width: 100%;
  height: auto;
}
.hero h2 {
  max-width: 430px;
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: .055em;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.15;
  color: var(--olive-dark);
}
.hero-copy {
  max-width: 420px;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: #3d4529;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.3rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .82rem;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
}
.button-primary { background: var(--mustard); color: var(--olive-dark); }
.button-primary:hover, .button-primary:focus-visible { filter: brightness(.93); }
.button-secondary { border-color: var(--olive-dark); color: var(--olive-dark); background: transparent; }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #1f63d2;
  outline-offset: 3px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border-bottom: 1px solid rgba(75,86,47,.18);
}
.pillars article {
  text-align: center;
  padding: 2rem clamp(1rem, 2vw, 2.5rem);
  border-right: 1px solid rgba(75,86,47,.18);
}
.pillars article:last-child { border-right: 0; }
.icon {
  color: var(--olive);
  min-height: 42px;
  font-size: 2rem;
  margin-bottom: .4rem;
}
.pillars h3 {
  margin: .35rem 0 .3rem;
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--olive-dark);
  font-size: 1.1rem;
}
.pillars p { margin: 0 auto; max-width: 240px; font-size: .92rem; }

.wines-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.section-heading {
  display: grid;
  grid-template-columns: .45fr 1fr;
  column-gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-heading .kicker { grid-column: 1; }
.section-heading h2 { grid-column: 1; }
.section-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 580px; }
.kicker {
  margin: 0 0 .5rem;
  color: #9a7800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 800;
}
.section-heading h2, .story-section h2, .notes-section h2, .trade-section h2, .contact-section h2 {
  margin: 0;
  font-family: var(--font-brand);
  text-transform: uppercase;
  color: var(--olive-dark);
  letter-spacing: .03em;
  line-height: .95;
}
.section-heading h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); }

.wine-grid { display: grid; gap: 2rem; }
.wine-card {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) 1.25fr;
  min-height: 500px;
  background: #eee7d4;
  border: 1px solid rgba(75,86,47,.15);
}
.label-wrap {
  display: grid;
  place-items: center;
  background: #f7f2e5;
  padding: 2.2rem;
}
.label-wrap img {
  max-height: 410px;
  width: auto;
  border: 1px solid rgba(75,86,47,.18);
  box-shadow: 0 12px 25px rgba(40,40,20,.08);
}
.wine-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vintage, .appellation {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .77rem;
  font-weight: 800;
  color: var(--olive);
}
.wine-copy h3 {
  margin: .1rem 0 .35rem;
  font-family: var(--font-brand);
  text-transform: uppercase;
  color: var(--olive-dark);
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  line-height: .9;
}
.haiku {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.1vw, 2.1rem);
  line-height: 1.25;
  color: var(--olive);
  margin: 1.7rem 0 1.5rem;
}
.wine-copy a, .text-link {
  margin-top: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  text-underline-offset: .3rem;
}

.sparkling-placeholder {
  min-height: 500px;
  background: linear-gradient(180deg, #f4efe0, #e7ddc6);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bottle {
  width: 130px;
  height: 350px;
  background: linear-gradient(90deg,#243526,#526849 43%,#1f2d22);
  border-radius: 34% 34% 12% 12% / 12% 12% 5% 5%;
  position: relative;
}
.foil {
  position: absolute;
  width: 72px;
  height: 145px;
  background: linear-gradient(90deg,#b28b42,#e7cc7c,#aa813b);
  top: 58px;
  z-index: 2;
  border-radius: 8px 8px 3px 3px;
}
.placeholder-label {
  position: absolute;
  z-index: 3;
  width: 115px;
  min-height: 115px;
  background: var(--cream);
  bottom: 102px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: .6rem;
  color: var(--olive);
  border: 1px solid rgba(75,86,47,.2);
}
.placeholder-label span { font-family: var(--font-brand); font-size: .9rem; }
.placeholder-label small { font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.placeholder-label i { color: var(--mustard); }

.story-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  min-height: 560px;
  background: var(--olive);
  color: var(--white);
}
.story-panel {
  padding: clamp(3rem, 7vw, 6rem);
  align-self: center;
  max-width: 610px;
  justify-self: end;
}
.story-section .kicker { color: var(--mustard); }
.story-section h2 {
  color: var(--mustard);
  font-size: clamp(3rem, 5vw, 5.7rem);
}
.story-section p { max-width: 520px; }
.story-section a { color: var(--white); }
.mini-waves { color: var(--mustard); font-size: 2rem; letter-spacing: -.3em; margin: 1rem 0; }
.story-photo {
  background:
    linear-gradient(90deg, rgba(75,86,47,.12), rgba(75,86,47,0)),
    url("assets/hero-sunrise.jpg") center 55% / cover no-repeat;
}

.notes-section, .trade-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(75,86,47,.15);
}
.notes-section h2, .trade-section h2 { font-size: clamp(2.7rem, 5vw, 5rem); max-width: 800px; }
.notes-section p, .trade-section p { max-width: 650px; }

.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.contact-section h2 { font-size: clamp(2.7rem, 4.5vw, 4.6rem); }
.signup label { display: block; margin-bottom: .5rem; font-weight: 800; }
.signup-row { display: flex; }
.signup input {
  flex: 1;
  min-height: 52px;
  border: 1.5px solid var(--olive-dark);
  background: var(--white);
  padding: 0 1rem;
  color: var(--ink);
}
.form-note { font-size: .78rem; color: #5b604a; }

.site-footer {
  background: var(--cream-2);
  border-top: 1px solid rgba(75,86,47,.15);
  min-height: 140px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  color: var(--olive-dark);
  font-size: .8rem;
}
.footer-brand { font-family: var(--font-brand); display: grid; }
.site-footer nav { display: flex; gap: 1.4rem; }
.site-footer nav a { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.site-footer p { justify-self: end; }


.age-gate[hidden] {
  display: none !important;
}

.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(25,29,17,.78);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.age-card {
  width: min(520px, 100%);
  background: var(--cream);
  border: 2px solid var(--olive-dark);
  padding: 2.5rem;
  text-align: center;
}
.age-card h2 {
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-size: 2.7rem;
  color: var(--olive-dark);
}
.age-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    padding: 1rem 1.2rem;
  }
  .brand-mark { width: 72px; height: 72px; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 92px; left: 1rem; right: 1rem;
    background: var(--cream);
    border: 1px solid var(--olive);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }
  .primary-nav.open { display: flex; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 2px solid var(--olive-dark);
    background: rgba(244,240,226,.9);
    color: var(--olive-dark);
    font-size: 1.4rem;
  }
  .hero {
    min-height: 780px;
    height: auto;
    align-items: flex-end;
    background-position: 63% center;
  }
  .hero::before {
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(244,240,226,.08) 20%, rgba(244,240,226,.93) 68%, var(--cream) 100%);
  }
  .hero-content {
    width: 100%;
    margin: 0;
    padding: 8rem 1.25rem 3rem;
  }
  .hero h1 { font-size: clamp(5rem, 19vw, 7rem); }
  .hero h2 { max-width: 500px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars article:nth-child(2) { border-right: 0; }
  .pillars article { border-bottom: 1px solid rgba(75,86,47,.18); }

  .section-heading {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
  .section-heading .kicker,
  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }
  .wine-card { grid-template-columns: 1fr; }
  .label-wrap, .sparkling-placeholder { min-height: 420px; }
  .story-section { grid-template-columns: 1fr; }
  .story-photo { min-height: 380px; }
  .story-panel { justify-self: stretch; }
  .contact-section { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer nav { flex-wrap: wrap; }
  .site-footer p { justify-self: start; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars article { border-right: 0; }
  .hero-content { padding-top: 7rem; }
  .signup-row { flex-direction: column; gap: .6rem; }
}


/* Wine detail pages */
.detail-header {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--cream);
}
.detail-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .8rem;
  font-weight: 700;
}
.detail-nav a { text-decoration: none; }
.detail-nav a:hover,
.detail-nav a:focus-visible { text-decoration: underline; text-underline-offset: .3rem; }

.wine-detail-hero {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}
.wine-detail-copy h1 {
  margin: 0;
  font-family: var(--font-brand);
  text-transform: uppercase;
  color: var(--olive-dark);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .86;
}
.wine-detail-appellation {
  margin: 1rem 0 0;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .85rem;
  font-weight: 800;
  color: var(--olive);
}
.detail-wave {
  width: 260px;
  margin: 1.6rem 0;
}
.detail-wave img { width: 100%; height: auto; }
.wine-detail-intro {
  max-width: 590px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.wine-detail-label {
  min-height: 560px;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  padding: 3rem;
}
.wine-detail-label img {
  max-height: 520px;
  width: auto;
  box-shadow: 0 16px 32px rgba(40,40,20,.10);
}

.wine-detail-body {
  background: var(--olive);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - var(--max))/2));
}
.wine-detail-body .kicker { color: var(--mustard); }
.wine-story-block h2,
.wine-detail-cta h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .95;
}
.wine-story-block p { max-width: 620px; }

.wine-specs dl { margin: 0; }
.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.detail-row dt {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--mustard);
}
.detail-row dd { margin: 0; }

.wine-labels {
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.wine-labels > div {
  background: var(--cream-2);
  padding: 2rem;
}
.wine-labels img { width: 100%; height: auto; }

.wine-detail-cta {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  border-top: 1px solid rgba(75,86,47,.15);
}
.wine-detail-cta h2 {
  color: var(--olive-dark);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .detail-nav {
    gap: .9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .wine-detail-hero,
  .wine-detail-body,
  .wine-labels {
    grid-template-columns: 1fr;
  }
  .wine-detail-label { min-height: 420px; }
}

@media (max-width: 600px) {
  .detail-header {
    align-items: flex-start;
  }
  .detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: right;
  }
  .wine-detail-copy h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }
  .detail-row {
    grid-template-columns: 110px 1fr;
  }
}


/* Our Story page */
.story-hero {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - var(--max))/2));
  background:
    linear-gradient(90deg, rgba(247,243,226,.96) 0%, rgba(247,243,226,.82) 40%, rgba(247,243,226,.15) 72%),
    url("assets/hero-sunrise.jpg") center/cover no-repeat;
}
.story-hero > div { max-width: 850px; }
.story-hero h1 {
  margin: 0;
  color: var(--olive-dark);
  font-family: var(--font-brand);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .84;
  text-transform: uppercase;
}
.story-lede {
  max-width: 680px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.story-intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
}
.story-intro h2,
.story-closing h2 {
  margin: 0;
  color: var(--olive-dark);
  font-family: var(--font-brand);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .92;
  text-transform: uppercase;
}
.story-copy {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}
.story-copy p:first-child { margin-top: 0; }

.story-principles {
  background: var(--olive);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(4rem, 7vw, 7rem) max(1.25rem, calc((100vw - var(--max))/2));
}
.story-principles article {
  padding: 1rem clamp(1.5rem, 4vw, 4rem);
  border-right: 1px solid rgba(255,255,255,.25);
}
.story-principles article:first-child { padding-left: 0; }
.story-principles article:last-child {
  border-right: 0;
  padding-right: 0;
}
.story-number {
  color: var(--mustard);
  font-size: .8rem;
  letter-spacing: .14em;
  font-weight: 800;
}
.story-principles h3 {
  margin: 1rem 0;
  font-family: var(--font-brand);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.story-principles p {
  line-height: 1.65;
  max-width: 360px;
}

.story-closing {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
}
.story-closing p:not(.kicker) {
  max-width: 650px;
  margin: 1.5rem auto 2.25rem;
  font-size: 1.2rem;
  line-height: 1.65;
}

@media (max-width: 850px) {
  .story-intro,
  .story-principles {
    grid-template-columns: 1fr;
  }
  .story-principles article,
  .story-principles article:first-child,
  .story-principles article:last-child {
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }
  .story-principles article:last-child { border-bottom: 0; }
}

/* Launch status */
.coming-soon,
.wine-coming-soon {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--olive-dark);
  border: 1px solid currentColor;
  padding: .65rem .9rem;
}
.wine-coming-soon { margin: 1rem 0; }

/* Live Vinoshipper shop */
.shop-live{background:var(--cream);padding:clamp(4rem,8vw,7rem) 1.25rem}
.shop-live-inner{max-width:var(--max);margin:0 auto}
.shop-live h2{margin:0 0 1rem;color:var(--olive-dark);font-family:var(--font-brand);font-size:clamp(3rem,6vw,6rem);line-height:.92;text-transform:uppercase}
.shop-live-intro{max-width:620px;margin:0 0 2.5rem;font-size:1.15rem;line-height:1.6}
.shop-live .vs-products{margin-top:2rem}
