@font-face { font-family: Broone; src: url(/Broone.woff2); font-display: swap; }
@font-face { font-family: Avenir; src: url(/AvenirNextCondensed-Regular.woff2); font-display: swap; }
@font-face { font-family: Avenir; src: url(/AvenirNextCondensed-Demi.woff2); font-weight: 700; font-display: swap; }

:root {
  --black: #101512;
  --ink: #16392e;
  --paper: #f5f1e6;
  --muted: #466052;
  --rule: #a8b4a6;
  --gutter: clamp(19px, 4vw, 76px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.35 Avenir, sans-serif; }
h1, h2, p { margin: 0; }
h1, h2, .row strong { font-family: Broone, Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 8vw, 64px); line-height: .99; text-wrap: balance; }
h2 { font-size: 32px; line-height: 1.13; }
input, select, textarea, button { font: inherit; }
button, a, select { touch-action: manipulation; }
a, button { color: inherit; }
button { cursor: pointer; }
.page { min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
main:focus { outline: none; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); }
.top { background: var(--black); color: #fff; min-height: 64px; border-bottom: 1px solid #faf9ef70; }
.brand, .top nav { display: flex; align-items: center; }
.brand { gap: 12px; text-decoration: none; }
.word { display: block; width: 56px; height: auto; }
.world, .k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.world { border-left: 1px solid #829085; padding-left: 12px; }
.top nav { gap: clamp(16px, 2vw, 30px); }
.top nav a, .footer a, .back, .sheet { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 16px; }
.top nav a[aria-current], .top nav a:hover { text-decoration: underline; }
.footer { padding-block: 3px; background: var(--black); color: #e9ebdf; font-size: 15px; }
.footer-links { display: flex; align-items: center; gap: 8px; }
.footer-instagram { width: 44px; justify-content: center; }


.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: end; gap: 10px; padding: 22px var(--gutter) 12px; }
.hero .k { line-height: 1.2; }
.content { padding: 12px var(--gutter) 23px; min-width: 0; }
.stack { display: grid; gap: 14px; align-content: start; }
.content > p { max-width: 52ch; }
.field { display: grid; gap: 5px; font-weight: 700; min-width: 0; }
.field span { display: flex; justify-content: space-between; align-items: baseline; }
.field small, .note { color: var(--muted); font-weight: 400; font-size: 15px; }
.field :is(input, select, textarea), .ticket, .cta, .secondary, .actions button, dialog {
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--ink);
  border-radius: 3px;
}
.field :is(input, select, textarea), .state textarea { width: 100%; min-width: 0; background: #fffcf5; color: var(--ink); padding: 9px 12px; min-height: 45px; font-size: 18px; font-weight: 400; }
textarea { resize: vertical; }
.message { line-height: 1.38; }
.cta, .secondary, .actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 14px; text-align: center; text-decoration: none; font-weight: 700; }
.cta { color: white; background: var(--ink); }
.secondary, .actions button { background: var(--paper); color: var(--ink); }
.links { display: grid; gap: 9px; }
.actions button { font-size: 16px; }
.actions button[data-copied=true] { color: white; background: var(--ink); }
.ticket { padding: 11px 14px; background: #fffdf5; overflow-wrap: anywhere; }
.ticket strong, .ticket span { display: block; }
.ticket span { font-size: 16px; color: var(--muted); }
.context { overflow-wrap: anywhere; }
.facts { display: flex; gap: 7px 16px; flex-wrap: wrap; padding: 12px 0; border-block: 1px solid var(--rule); font-weight: 700; }
.icon { width: 23px; height: 23px; flex: 0 0 23px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sheet { gap: 9px; font-weight: 700; }
.back { justify-self: start; color: var(--muted); font-size: 16px; }
.readable, .state, .content h2 { overflow-wrap: anywhere; }
.state { font-weight: 700; }
.state:empty { display: none; }
button:disabled { opacity: .6; cursor: wait; }

[data-view=start] main, [data-view=buyer] main { display: flex; flex-direction: column; }
[data-view=start] .hero {
  flex: 1; min-height: clamp(190px, 37svh, 500px); padding-bottom: 24px;
  color: white; background: linear-gradient(0deg, #081a16df, transparent 80%), url(/invest/serpent.webp) center 44% / cover;
}
[data-view=start] h1 { font-size: clamp(48px, 13vw, 80px); }
[data-view=start] .content { padding: 0; }
.row { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 13px var(--gutter); min-height: 76px; color: var(--ink); text-decoration: none; background: #eeeee0; border: 2px solid #fff; }
.row + .row { margin-top: -1px; }
.row strong { display: block; font-size: clamp(23px, 6vw, 31px); line-height: 1.12; }
.row small { display: block; font-size: 16px; line-height: 1.25; margin-top: 3px; }
.row::after { content: '›'; margin-left: auto; font-size: 25px; }
.hero.bottle { flex: 1; min-height: clamp(200px, 36svh, 440px); padding-bottom: 23px; background: #dee4d8; }
.bottle h1, .bottle .k { max-width: 58%; }
.product { position: absolute; z-index: -1; right: 2%; bottom: 0; height: 98%; width: 39%; object-fit: cover; }
[data-view=buyer] .content { padding-block: 24px; }
dialog { max-width: min(360px, 90vw); background: var(--ink); color: white; padding: 24px; }
dialog::backdrop { background: #101512ec; }
dialog :is(.cta, .secondary) { display: flex; width: 100%; margin-top: 12px; }
.field :is(input, select, textarea):focus { outline: 3px solid var(--ink); outline-offset: 1px; }
.page :is(a,button):focus-visible, dialog button:focus-visible { outline: 3px solid white; outline-offset: 1px; box-shadow: 0 0 0 6px var(--ink); }
.page :is(.cta, .secondary, .row, .actions button):active, dialog button:active { background: #dae8dc; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
@media (hover:hover) {
  .row:hover, .secondary:hover, .actions button:hover { background: #dce4d5; }
  .cta:hover { background: #285540; }
}
@media (max-width:759px) {
  body:not([data-view=start],[data-view=buyer],[data-view=intro]) .page { min-height: auto; }
  body:not([data-view=start]):not([data-view=buyer]) .footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--rule); }
  body:not([data-view=start],[data-view=buyer],[data-view=intro]) .hero h1 br { display: none; }
}
@media (min-width:760px) {
  .top { min-height: 76px; }
  .word { width: 70px; }
  .footer { min-height: 52px; }
  main, [data-view=buyer] main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero { padding: clamp(28px, 4vw, 76px); min-height: 460px; color: white; background: #102019; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, #07100bcf, transparent 60%), url(/invest/label.webp) center / cover; }
  [data-view=suggest] .hero::before, [data-view=suggested] .hero::before { background-image: linear-gradient(0deg, #07100be6, transparent 75%), url(/invest/night.webp); }
  .hero h1 { max-width: 14ch; font-size: clamp(52px, 5.8vw, 110px); }
  .hero .k { font-size: 15px; }
  .content { width: 100%; padding: clamp(28px, 3vw, 56px) var(--gutter); align-self: center; }
  .links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  [data-view=buyer] main {
    grid-template-rows: minmax(24px,1fr) auto auto auto minmax(24px,1fr);
    grid-template-areas: "bottle ." "bottle caption" "bottle title" "bottle details" "bottle .";
    column-gap: var(--gutter);
    padding-right: var(--gutter);
    background: var(--paper);
  }
  .hero.bottle { display: contents; color: var(--ink); }
  .bottle .k { grid-area: caption; max-width: none; }
  .bottle h1 { grid-area: title; margin: 10px 0 0; max-width: none; }
  [data-view=buyer] .content { grid-area: details; padding: 20px 0 0; }
  [data-view=buyer] .content > p { max-width: 42ch; }
  .bottle::before, [data-view=start] .hero::before { content: none; }
  .product {
    grid-area: bottle; position: static; z-index: auto; align-self: stretch;
    width: 100%; height: 100%; min-height: 420px; max-height: 100%; object-fit: contain;
    background: #dee4d8; padding: 24px 0;
  }
  [data-view=start] main { display: flex; }
  [data-view=start] .hero {
    min-height: clamp(310px, 50svh, 650px); padding: var(--gutter); justify-content: end;
    background-color: #0c1512; background-image: linear-gradient(90deg,#0c1512 28%,#0c1512ad 43%,transparent 72%),url(/invest/serpent.webp);
    background-size: cover,72% auto; background-position: center,right 45%; background-repeat: no-repeat;
  }
  [data-view=start] h1 { font-size: clamp(68px, 8.5vw, 160px); }
  [data-view=start] .content nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { gap: 12px; align-items: center; padding: clamp(20px, 2.5vw, 50px) clamp(16px, 2.4vw, 42px); min-height: 120px; }
  .row + .row { margin-top: 0; margin-left: -1px; }
  .row strong { font-size: clamp(24px, 2.25vw, 42px); }
  .row small { font-size: clamp(16px, 1.25vw, 21px); }
}
@media (min-width:1050px) {
  #taste, #suggestion { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  form .state, form .cta { grid-column: 1 / -1; }
  .content > p:first-child { font-size: clamp(20px,1.65vw,30px); line-height: 1.3; }
}

/* World destinations share a single disclosure across the venue journey. */
.top { position: relative; z-index: 2; }
.world-menu { position: relative; }
.world-menu summary, .personalize summary {
  display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.world-menu summary { width: 48px; justify-content: center; touch-action: manipulation; }
.nav-glyph {
  width: 23px; height: 18px; position: relative;
  background: linear-gradient(currentColor, currentColor) left center / 100% 2px no-repeat;
}
.world-menu[open] .nav-glyph { background: none; }
.nav-glyph::before, .nav-glyph::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
}
.nav-glyph::before { top: 1px; }
.nav-glyph::after { bottom: 1px; }
.world-menu[open] .nav-glyph::before { top: 8px; transform: rotate(45deg); }
.world-menu[open] .nav-glyph::after { bottom: 8px; transform: rotate(-45deg); }
.top .world-menu nav {
  position: absolute; right: 0; top: calc(100% + 5px); display: block;
  width: min(356px, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 18px; background: var(--black); border: 1px solid #faf9ef95;
}
.nav-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; padding-block: 12px 3px; }
.nav-group + .nav-group { border-top: 1px solid #faf9ef40; }
.nav-group p {
  grid-column: 1 / -1; color: #bdc9be; font-size: 13px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.top .world-menu nav a { min-height: 44px; line-height: 1.2; overflow-wrap: anywhere; }
.world-menu .nav-group[hidden] { display: none; }
summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Invitation composer */
[data-view=intro] .content { gap: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-view=intro] .intro-prompt { margin-bottom: 12px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.35; }
.intro-prompt span { display: block; }
.intro-prompt span + span { color: var(--muted); }
[data-view=intro] .message {
  line-height: 1.45; padding: 12px 14px; resize: vertical;
  min-height: 8.5em; field-sizing: content;
}
.personalize { margin-block: 2px 13px; }
.personalize summary { gap: 8px; width: fit-content; color: var(--muted); font-size: 16px; }
.personalize summary::before { content: '+'; font: 20px/1 Avenir, sans-serif; }
.personalize[open] summary::before { content: '−'; }
.personalize .field { margin-bottom: 5px; }
.send-actions { display: grid; gap: 4px; }
.intro-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.intro-tools a, .intro-tools button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none;
  border: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 16px;
}
[data-view=intro] .state { font-size: 16px; }
@media (max-width:759px) {
  body[data-view=intro] .page { min-height: 100svh; }
  [data-view=intro] main { display: flex; flex-direction: column; }
  [data-view=intro] .hero {
    flex: 1; padding: 14px var(--gutter) 17px; min-height: 110px; color: var(--paper);
    background: linear-gradient(90deg, #0b120fe8 8%, #0b120f75 50%, transparent 84%),
      url(/invest/label.webp) center 40% / cover no-repeat, var(--black);
  }
  [data-view=intro] .hero h1 { max-width: 100%; font-size: clamp(36px,9vw,50px); }
  [data-view=intro] .content { padding: 18px var(--gutter) 16px; }
}
@media (min-width:760px) {
  [data-view=intro] .content { max-width: 740px; justify-self: center; }
  [data-view=intro] .message { min-height: 6.5em; font-size: clamp(19px,1.4vw,24px); }
}
.row::after { content: ''; width: 17px; height: 17px; flex: none; background: currentColor; mask: url('/invest/soire-four-point.svg') center/contain no-repeat; }
.row:is(:active,:focus-visible) { box-shadow: inset 0 0 0 1px currentColor; }
@media (hover:hover) { .row:hover { box-shadow: inset 0 0 0 1px currentColor; } }
