:root {
  color-scheme: light;
  --wine: #c41230;
  --wine-dark: #7f0013;
  --wine-deep: #3b0710;
  --wine-soft: #f3dfe2;
  --cream: #f8f1e7;
  --cream-light: #fffaf3;
  --paper: #fffdf9;
  --ink: #23171a;
  --ink-soft: #604f52;
  --line: rgba(63, 31, 37, 0.16);
  --gold: #d6ab4c;
  --gold-light: #f3d986;
  --sage: #264637;
  --sage-light: #dce5d8;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 24px 70px rgba(75, 27, 35, 0.12);
  --shadow-card: 0 18px 45px rgba(75, 27, 35, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 2%, rgba(196, 18, 48, 0.06), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-dialog-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream-light);
  font-size: 0.82rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.section-kicker {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section-kicker-light {
  color: var(--gold-light);
}

.section-heading {
  max-width: 760px;
}

.section-heading-wide {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}

.section-heading-wide .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.section-heading h2,
.logic-heading h2,
.story-copy h2,
.controls-copy h2,
.before-play h2,
.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.97;
  text-wrap: balance;
}

.section-heading > p:last-child,
.logic-heading > p:last-child {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.015em;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--wine);
  box-shadow: 0 12px 26px rgba(196, 18, 48, 0.2);
  color: #fff;
}

.button-primary:hover {
  background: #a90926;
  box-shadow: 0 16px 30px rgba(196, 18, 48, 0.27);
}

.button-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: rgba(196, 18, 48, 0.34);
  background: rgba(255, 255, 255, 0.78);
}

.button-cream {
  background: var(--cream-light);
  box-shadow: 0 14px 34px rgba(42, 6, 14, 0.28);
  color: var(--wine-dark);
}

.button-cream:hover {
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--wine);
  font-size: 0.86rem;
  font-weight: 850;
  transition: gap 180ms ease;
}

.text-link:hover {
  gap: 16px;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(248, 241, 231, 0.9);
  backdrop-filter: blur(18px);
  transition:
    min-height 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(57, 22, 29, 0.06);
}

.site-brand {
  display: inline-grid;
  flex: 0 0 auto;
  gap: 1px;
  line-height: 1;
}

.site-brand-name {
  color: var(--wine);
  font-family: var(--display);
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.site-brand-by {
  color: var(--ink-soft);
  font-size: 0.5rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a {
  position: relative;
  padding: 11px 14px;
  border-radius: 999px;
  color: #493a3d;
  font-size: 0.8rem;
  font-weight: 760;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  background: rgba(196, 18, 48, 0.07);
  color: var(--wine);
}

.site-nav > .site-nav-play {
  margin-left: 8px;
  padding-inline: 18px;
  background: var(--wine);
  color: #fff;
}

.site-nav > .site-nav-play:hover {
  background: #a90926;
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-toggle-icon {
  display: grid;
  width: 22px;
  gap: 5px;
}

.nav-toggle-icon i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

/* Home hero */

.home-hero {
  display: grid;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.76fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(46px, 7vw, 108px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 7.6ch;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(4.6rem, 8vw, 8.7rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero-copy h1 em {
  display: block;
  color: var(--wine);
  font-weight: 400;
}

.hero-lede {
  max-width: 650px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.55vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: grid;
  gap: 2px;
  padding-right: 18px;
}

.hero-facts li + li {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.hero-facts span {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.hero-scene {
  position: relative;
  min-height: min(760px, calc(100svh - 150px));
  overflow: hidden;
  border-radius: 34px;
  background: var(--wine-deep);
  box-shadow: var(--shadow-soft);
}

.hero-scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  transform: scale(1.015);
}

.hero-scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 9, 8, 0.04) 34%, rgba(22, 7, 9, 0.75) 100%),
    linear-gradient(120deg, rgba(77, 0, 13, 0.16), transparent 55%);
}

.game-preview {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(84px, 11vw, 126px);
  left: clamp(18px, 4vw, 44px);
  min-height: 390px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 90%, rgba(214, 171, 76, 0.24), transparent 45%),
    rgba(40, 6, 14, 0.78);
  box-shadow: 0 30px 70px rgba(21, 3, 8, 0.4);
  color: #fff;
  backdrop-filter: blur(14px) saturate(120%);
}

.game-preview-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-preview-wine {
  display: grid;
  margin-top: 18px;
  justify-items: center;
  text-align: center;
}

.game-preview-label {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-preview-wine strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.game-preview-wine small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
}

.game-preview-targets {
  position: relative;
  height: 178px;
  margin-top: 2px;
}

.preview-target {
  position: absolute;
  display: grid;
  width: 116px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.04);
}

.preview-target img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(13, 1, 4, 0.4));
}

.preview-target-one {
  top: 28px;
  left: 1%;
  transform: rotate(-8deg);
}

.preview-target-two {
  top: 4px;
  left: calc(50% - 58px);
  transform: rotate(6deg);
}

.preview-target-three {
  top: 34px;
  right: 1%;
  transform: rotate(-3deg);
}

.game-preview-swipe {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 9px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-preview-swipe span {
  position: relative;
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold-light);
}

.game-preview-swipe span::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold-light);
  border-right: 1px solid var(--gold-light);
  content: "";
  transform: rotate(45deg);
}

.hero-scene figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #fff;
}

.hero-scene figcaption span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scene figcaption strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.taste-ribbon {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 36px);
  padding: 18px 28px;
  overflow: hidden;
  background: var(--wine);
  color: #fff;
}

.taste-ribbon span {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
}

.taste-ribbon i {
  display: block;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-light);
}

/* Home process */

.how-section {
  padding-block: clamp(96px, 11vw, 170px);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.step-card {
  min-height: 620px;
  padding: 22px;
  overflow: hidden;
  border-radius: 28px;
}

.step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  opacity: 0.74;
}

.step-card-head span,
.step-card-head p {
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card h3 {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.step-card > p {
  margin-top: 14px;
  font-size: 0.86rem;
  line-height: 1.65;
  opacity: 0.75;
}

.step-visual {
  position: relative;
  height: 300px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.step-card-pour {
  background: var(--wine-dark);
  color: #fff8ee;
}

.pour-visual {
  background:
    radial-gradient(circle at 50% 45%, rgba(243, 217, 134, 0.36), transparent 34%),
    #4c0714;
}

.pour-glow {
  position: absolute;
  top: 22px;
  left: calc(50% - 88px);
  width: 176px;
  height: 176px;
  border: 1px solid rgba(243, 217, 134, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(243, 217, 134, 0.05), 0 0 0 52px rgba(243, 217, 134, 0.025);
}

.pour-card {
  position: absolute;
  top: 74px;
  right: 25px;
  left: 25px;
  display: grid;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(34, 3, 9, 0.64);
  box-shadow: 0 20px 48px rgba(25, 2, 7, 0.32);
  backdrop-filter: blur(12px);
}

.pour-card small,
.pour-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
}

.pour-card strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
}

.pour-card p {
  margin-top: 5px;
}

.note-chip {
  position: absolute;
  bottom: 25px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.6rem;
  font-weight: 750;
}

.note-chip-one {
  left: 26px;
}

.note-chip-two {
  right: 26px;
}

.step-card-slice {
  background: #f0cf6b;
  color: #332513;
}

.slice-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7), transparent 42%),
    #e4b745;
}

.slice-orbit {
  position: absolute;
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
}

.slice-orbit img {
  width: 100%;
  filter: drop-shadow(0 16px 14px rgba(93, 60, 7, 0.24));
}

.slice-orbit-one {
  top: 16px;
  left: 12px;
  transform: rotate(-10deg);
}

.slice-orbit-two {
  top: 68px;
  right: calc(50% - 59px);
  transform: rotate(8deg);
}

.slice-orbit-three {
  right: 4px;
  bottom: 12px;
  transform: rotate(-6deg);
}

.slice-line {
  position: absolute;
  top: 56%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(196, 18, 48, 0.76);
  box-shadow: 0 0 16px rgba(196, 18, 48, 0.45);
  transform: rotate(-18deg);
}

.slice-line::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 6px rgba(196, 18, 48, 0.15);
  content: "";
}

.slice-visual > strong {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-card-learn {
  background: #e3e4d7;
  color: #243026;
}

.learn-visual {
  padding: 18px;
  background: var(--sage);
  color: #fff;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.match-score span {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match-score strong {
  color: var(--gold-light);
  font-size: 1.4rem;
}

.match-rule {
  margin-top: 12px;
  padding: 20px 17px;
  border-radius: 14px;
  background: var(--cream-light);
  color: var(--ink);
}

.match-rule span {
  color: var(--wine);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.match-rule p {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.progress-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 18px;
}

.progress-dots i {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.progress-dots i:nth-child(-n + 3) {
  background: var(--gold-light);
}

.how-section > .text-link {
  margin-top: 38px;
}

/* Pairing logic and story */

.logic-section {
  padding-block: clamp(92px, 10vw, 150px);
  background:
    radial-gradient(circle at 90% 0%, rgba(243, 217, 134, 0.13), transparent 28rem),
    var(--wine-deep);
  color: #fff7ec;
}

.logic-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: end;
}

.logic-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.logic-heading > p:last-child {
  color: rgba(255, 247, 236, 0.64);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.principle-grid article {
  min-height: 330px;
  padding: 26px 24px;
}

.principle-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.principle-grid article > span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.principle-grid h3 {
  margin-top: 62px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.principle-grid p {
  margin-top: 18px;
  color: rgba(255, 247, 236, 0.58);
  font-size: 0.82rem;
  line-height: 1.65;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  padding-block: clamp(96px, 12vw, 180px);
}

.story-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.story-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.story-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 5, 10, 0.72));
  content: "";
}

.story-caption {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 28px;
  left: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.story-caption span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-caption strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
}

.story-copy > .section-kicker {
  margin-bottom: 24px;
}

.story-copy > p:not(.section-kicker) {
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.story-points {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.story-points > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.story-points dt {
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 850;
}

.story-points dd {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.story-copy .text-link {
  margin-top: 32px;
}

/* Experience and footer CTA */

.experience-section {
  padding-bottom: clamp(100px, 12vw, 180px);
}

.experience-section .section-heading {
  max-width: 840px;
}

.experience-section .section-heading .section-kicker {
  margin-bottom: 22px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.experience-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.64);
}

.experience-index {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 850;
}

.experience-label {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-card h3 {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.experience-card > div > p:last-child {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.experience-card-routes {
  background:
    linear-gradient(180deg, transparent 42%, rgba(29, 7, 12, 0.82)),
    url("./assets/site-vineyard-hero.jpg") center 58% / cover;
  color: #fff;
}

.experience-card-routes .experience-label,
.experience-card-routes > div > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.experience-card-feedback {
  background: var(--wine);
  color: #fff;
}

.experience-card-feedback .experience-label {
  color: var(--gold-light);
}

.experience-card-feedback > div > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.experience-card-progress {
  background: var(--sage-light);
  color: #203226;
}

.final-cta {
  display: flex;
  min-height: 360px;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(74px, 9vw, 120px);
  padding: clamp(34px, 6vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 12%, rgba(243, 217, 134, 0.22), transparent 16rem),
    var(--wine);
  color: #fff;
}

.final-cta h2 {
  max-width: 12ch;
}

.final-cta .section-kicker {
  margin-bottom: 20px;
}

.final-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.8fr;
  gap: 56px;
  padding-block: 46px 54px;
  border-top: 1px solid var(--line);
}

.site-brand-footer .site-brand-name {
  font-size: 2rem;
}

.footer-brand > p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer nav a {
  width: max-content;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 760;
}

.site-footer nav a:hover {
  color: var(--wine);
}

.footer-note {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-note > span {
  width: max-content;
  padding: 5px 9px;
  border: 1px solid rgba(196, 18, 48, 0.24);
  border-radius: 999px;
  color: var(--wine);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-note p,
.footer-note small {
  max-width: 350px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.6;
}

.footer-note small {
  margin-top: 6px;
}

/* Shared public age dialog */

.age-dialog-shell {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.age-dialog-shell.is-visible {
  opacity: 1;
}

.age-dialog-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(40, 5, 12, 0.74), rgba(22, 4, 8, 0.82)),
    url("./assets/site-vineyard-hero.jpg") center / cover;
  backdrop-filter: blur(10px);
}

.age-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  background: var(--cream-light);
  box-shadow: 0 40px 100px rgba(28, 3, 9, 0.48);
  text-align: center;
  transform: translateY(14px) scale(0.985);
  transition: transform 180ms ease;
}

.age-dialog-shell.is-visible .age-dialog {
  transform: translateY(0) scale(1);
}

.age-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.age-dialog-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 12px 26px rgba(196, 18, 48, 0.2);
  color: #fff;
  font-family: var(--display);
  font-size: 1.45rem;
}

.age-dialog h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 7vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.age-dialog > p:not(.section-kicker):not(.age-dialog-note) {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.age-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.age-dialog-actions .button {
  width: 100%;
  padding-inline: 15px;
}

.age-dialog.is-denied .age-dialog-actions {
  grid-template-columns: 1fr;
}

.age-dialog-note {
  margin-top: 18px;
  color: #8b7a7d;
  font-size: 0.65rem;
}

/* How it works page */

.inner-hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(48px, 7vw, 86px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 95% 8%, rgba(243, 217, 134, 0.18), transparent 22rem),
    var(--wine-dark);
  color: #fff;
}

.inner-hero-copy h1 {
  max-width: 9ch;
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(4rem, 7.6vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.inner-hero-copy > p:not(.section-kicker) {
  max-width: 590px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.7;
}

.inner-hero-copy .button {
  margin-top: 30px;
}

.route-preview {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(44, 3, 11, 0.48);
  box-shadow: 0 28px 70px rgba(31, 1, 7, 0.28);
  backdrop-filter: blur(14px);
}

.route-preview-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-preview ol {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.route-preview li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.route-preview li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 850;
}

.route-preview li div {
  display: grid;
}

.route-preview li strong {
  font-size: 0.78rem;
}

.route-preview li small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.63rem;
}

.route-preview li.is-complete > span {
  border-color: var(--gold-light);
  background: var(--gold-light);
  color: var(--wine-deep);
}

.route-preview li.is-current {
  border-color: rgba(243, 217, 134, 0.35);
  background: rgba(243, 217, 134, 0.12);
}

.route-preview li.is-current > span {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.route-preview-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
}

.route-preview-footer span {
  position: relative;
  display: block;
  width: 40px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.route-preview-footer span::after {
  position: absolute;
  inset: 0 38% 0 0;
  border-radius: inherit;
  background: var(--gold-light);
  content: "";
}

.flow-section {
  padding-block: clamp(100px, 12vw, 180px);
}

.flow-section > .section-heading {
  margin-bottom: 74px;
}

.flow-row {
  display: grid;
  grid-template-columns: 74px minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding-block: 62px;
  border-top: 1px solid var(--line);
}

.flow-row:last-child {
  border-bottom: 1px solid var(--line);
}

.flow-number {
  align-self: start;
  color: var(--wine);
  font-family: var(--display);
  font-size: 1.1rem;
}

.flow-copy .section-kicker {
  margin-bottom: 16px;
}

.flow-copy h3 {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.flow-copy > p:not(.section-kicker) {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.72;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.flow-tags li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 760;
}

.flow-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
}

.flow-visual-wine {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(243, 217, 134, 0.28), transparent 30%),
    var(--wine-dark);
  color: #fff;
}

.flow-pour-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(243, 217, 134, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(243, 217, 134, 0.04), 0 0 0 86px rgba(243, 217, 134, 0.025);
}

.flow-visual-wine > div {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.flow-visual-wine small {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-visual-wine strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.flow-visual-wine p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.flow-visual-food {
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.82), transparent 34%),
    #eac456;
}

.flow-visual-food img {
  position: absolute;
  width: 190px;
  filter: drop-shadow(0 20px 18px rgba(80, 48, 2, 0.22));
}

.flow-food-one {
  top: 20px;
  left: 24px;
  transform: rotate(-8deg);
}

.flow-food-two {
  top: 130px;
  right: 22px;
  transform: rotate(8deg);
}

.flow-food-three {
  bottom: 6px;
  left: 25%;
  transform: rotate(-4deg);
}

.flow-swipe-path {
  position: absolute;
  top: 56%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--wine);
  box-shadow: 0 0 18px rgba(196, 18, 48, 0.42);
  transform: rotate(-14deg);
}

.flow-swipe-path::after {
  position: absolute;
  top: -6px;
  right: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 7px rgba(196, 18, 48, 0.15);
  content: "";
}

.flow-visual-feedback {
  padding: 28px;
  background: var(--sage);
  color: #fff;
}

.feedback-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.feedback-result span {
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feedback-result strong {
  color: var(--gold-light);
  font-size: 1.8rem;
}

.feedback-note {
  margin-top: 18px;
  padding: 30px;
  border-radius: 18px;
  background: var(--cream-light);
  color: var(--ink);
}

.feedback-note small {
  color: var(--wine);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feedback-note p {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.modes-section {
  padding-block: clamp(96px, 10vw, 150px);
  background: var(--wine-deep);
  color: #fff;
}

.section-heading-light > p:last-child {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.mode-grid article {
  display: grid;
  min-height: 240px;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mode-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 850;
}

.mode-grid article p {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mode-grid h3 {
  max-width: 18ch;
  margin-top: 32px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.controls-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
  padding-block: clamp(100px, 12vw, 180px);
}

.controls-copy .section-kicker {
  margin-bottom: 22px;
}

.controls-copy > p:last-child {
  margin-top: 28px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.control-grid {
  border-top: 1px solid var(--line);
}

.control-grid article {
  display: grid;
  grid-template-columns: 58px 150px 1fr;
  gap: 18px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.control-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine-soft);
  color: var(--wine);
  font-family: var(--display);
  font-size: 1.2rem;
}

.control-grid h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
}

.control-grid p {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.before-play {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 130px);
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
}

.before-play-mark {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-family: var(--display);
  font-size: 1.55rem;
}

.before-play h2 {
  max-width: 18ch;
  margin-top: 12px;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
}

.before-play > div:nth-child(2) > p:last-child {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* About page */

.about-hero {
  display: grid;
  min-height: calc(100svh - 82px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 105px);
}

.about-hero-copy h1 {
  max-width: 8ch;
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(4.4rem, 8vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.about-hero-copy > p:not(.section-kicker) {
  max-width: 600px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.74;
}

.about-hero-copy .text-link {
  margin-top: 34px;
}

.about-hero-media {
  position: relative;
  min-height: min(760px, calc(100svh - 150px));
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.about-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 58%;
}

.about-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(30, 5, 10, 0.72));
  content: "";
}

.about-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  color: #fff;
}

.about-hero-media figcaption span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-hero-media figcaption strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
}

.manifesto-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.56fr);
  gap: clamp(50px, 9vw, 140px);
  padding-block: clamp(100px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.manifesto-section > .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.manifesto-section blockquote {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.6rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.manifesto-copy {
  display: grid;
  align-content: end;
  gap: 22px;
}

.manifesto-copy p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}

.belief-section {
  padding-block: clamp(96px, 11vw, 160px);
  background: var(--wine);
  color: #fff;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.belief-grid article {
  min-height: 360px;
  padding: 28px;
}

.belief-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.belief-grid article > span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 850;
}

.belief-grid h3 {
  margin-top: 72px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.belief-grid p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.65;
}

.design-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.9fr);
  gap: clamp(56px, 9vw, 135px);
  align-items: center;
  padding-block: clamp(110px, 13vw, 190px);
}

.design-copy .section-kicker {
  margin-bottom: 22px;
}

.design-copy h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.design-copy > p:not(.section-kicker) {
  margin-top: 26px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.design-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.design-list li {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.design-list span {
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 850;
}

.design-list p {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.design-board {
  position: relative;
  min-height: 650px;
  padding: 26px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 60% 18%, rgba(243, 217, 134, 0.22), transparent 16rem),
    var(--wine-deep);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.design-board-wine {
  display: grid;
  width: 72%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.design-board-wine small,
.design-board-result small {
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.design-board-wine strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 400;
}

.design-board-wine span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

.design-board-food {
  position: absolute;
  top: 142px;
  right: 28px;
  display: grid;
  width: 240px;
  justify-items: center;
}

.design-board-food img {
  width: 210px;
  filter: drop-shadow(0 22px 18px rgba(15, 1, 4, 0.36));
}

.design-board-food span {
  margin-top: -8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
}

.design-board-result {
  position: absolute;
  right: 26px;
  bottom: 30px;
  left: 26px;
  padding: 28px;
  border-radius: 18px;
  background: var(--cream-light);
  color: var(--ink);
}

.design-board-result p {
  max-width: 22ch;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.design-board-score {
  position: absolute;
  right: 22px;
  bottom: 210px;
  display: grid;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--gold-light);
  color: var(--wine-deep);
  text-align: center;
}

.design-board-score span {
  font-size: 0.56rem;
  font-weight: 850;
  text-transform: uppercase;
}

.design-board-score strong {
  font-size: 1.45rem;
}

/* Responsive layout */

@media (max-width: 1080px) {
  .home-hero,
  .about-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.7fr);
    gap: 44px;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0 34px;
  }

  .step-card-head {
    grid-column: 1 / -1;
  }

  .step-visual {
    grid-row: 2 / 4;
  }

  .step-card h3 {
    align-self: end;
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .principle-grid article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .experience-card h3 {
    font-size: 2.4rem;
  }

  .flow-row {
    grid-template-columns: 54px minmax(250px, 0.75fr) minmax(320px, 1fr);
    gap: 28px;
  }

  .controls-section,
  .design-section {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .section-shell {
    width: min(100% - 40px, 760px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .home-hero,
  .about-hero,
  .story-section,
  .inner-hero,
  .controls-section,
  .design-section,
  .manifesto-section {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .about-hero {
    padding-top: 74px;
  }

  .hero-copy h1,
  .about-hero-copy h1 {
    max-width: 8.6ch;
  }

  .hero-scene,
  .about-hero-media {
    min-height: 760px;
  }

  .section-heading-wide,
  .logic-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading-wide .section-kicker,
  .logic-heading .section-kicker {
    margin-bottom: 0;
  }

  .story-media {
    min-height: 680px;
  }

  .story-copy {
    max-width: 650px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 360px;
  }

  .experience-card h3 {
    max-width: 16ch;
    font-size: 3.1rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .inner-hero {
    padding: 58px;
  }

  .inner-hero-copy h1 {
    max-width: 10ch;
  }

  .route-preview {
    width: min(540px, 100%);
  }

  .flow-row {
    grid-template-columns: 52px 1fr;
  }

  .flow-visual {
    grid-column: 2;
    min-height: 520px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .controls-copy,
  .design-copy {
    max-width: 650px;
  }

  .before-play {
    grid-template-columns: 86px 1fr;
  }

  .before-play .button {
    grid-column: 2;
    justify-self: start;
  }

  .manifesto-section > .section-kicker {
    margin-bottom: 0;
  }

  .manifesto-copy {
    max-width: 650px;
  }

  .belief-grid {
    grid-template-columns: 1fr;
  }

  .belief-grid article {
    min-height: 300px;
  }

  .belief-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .design-board {
    min-height: 700px;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: calc(100% - 32px);
  }

  .site-header,
  .site-header.is-scrolled {
    min-height: 70px;
    padding: 11px 16px;
  }

  .site-brand-name {
    font-size: 1.45rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 13px 14px;
  }

  .site-nav > .site-nav-play {
    margin: 4px 0 0;
    text-align: center;
  }

  .site-header.is-nav-open .nav-toggle-icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle-icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .home-hero,
  .about-hero {
    min-height: 0;
    padding-block: 58px 82px;
  }

  .hero-copy h1,
  .about-hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(3.55rem, 16vw, 5.6rem);
    line-height: 0.86;
  }

  .hero-lede,
  .about-hero-copy > p:not(.section-kicker) {
    margin-top: 26px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: 12px;
    margin-top: 36px;
  }

  .hero-facts li,
  .hero-facts li + li {
    padding: 0 8px;
    border-left: 0;
  }

  .hero-facts li + li {
    border-left: 1px solid var(--line);
  }

  .hero-scene,
  .about-hero-media {
    min-height: 660px;
    border-radius: 24px;
  }

  .game-preview {
    right: 14px;
    bottom: 78px;
    left: 14px;
    min-height: 380px;
    padding: 17px;
    border-radius: 21px;
  }

  .preview-target {
    width: 102px;
  }

  .preview-target-two {
    left: calc(50% - 51px);
  }

  .taste-ribbon {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .taste-ribbon::-webkit-scrollbar {
    display: none;
  }

  .section-heading h2,
  .logic-heading h2,
  .story-copy h2,
  .controls-copy h2,
  .final-cta h2 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .how-section {
    padding-block: 90px;
  }

  .step-grid {
    margin-top: 42px;
  }

  .step-card {
    display: block;
    padding: 18px;
  }

  .step-visual {
    height: 290px;
  }

  .step-card h3 {
    margin-top: 24px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .principle-grid article {
    min-height: 270px;
  }

  .principle-grid article + article,
  .principle-grid article:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .principle-grid h3 {
    margin-top: 44px;
  }

  .story-section {
    padding-block: 90px;
  }

  .story-media {
    min-height: 620px;
    border-radius: 24px;
  }

  .story-caption {
    display: grid;
    gap: 3px;
  }

  .experience-card {
    min-height: 390px;
  }

  .experience-card h3 {
    font-size: 2.55rem;
  }

  .final-cta {
    display: grid;
    min-height: 420px;
    align-content: space-between;
    padding: 28px;
    border-radius: 24px;
  }

  .final-cta .button {
    width: 100%;
  }

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

  .footer-note {
    grid-column: auto;
  }

  .age-dialog-shell {
    align-items: end;
    padding: 0;
  }

  .age-dialog {
    width: 100%;
    padding: 38px 22px calc(26px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(30px);
  }

  .age-dialog-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
  }

  .age-dialog-actions {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    width: calc(100% - 24px);
    min-height: 0;
    margin-top: 12px;
    padding: 44px 22px;
    border-radius: 24px;
  }

  .inner-hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(3.5rem, 15vw, 5.8rem);
  }

  .flow-section {
    padding-block: 90px;
  }

  .flow-section > .section-heading {
    margin-bottom: 48px;
  }

  .flow-row {
    grid-template-columns: 36px 1fr;
    gap: 18px;
    padding-block: 44px;
  }

  .flow-copy h3 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .flow-visual {
    min-height: 430px;
    border-radius: 22px;
  }

  .flow-visual-food img {
    width: 150px;
  }

  .mode-grid article {
    grid-template-columns: 46px 1fr;
    padding: 22px;
  }

  .mode-grid h3 {
    margin-top: 22px;
  }

  .controls-section,
  .design-section,
  .manifesto-section {
    padding-block: 90px;
  }

  .control-grid article {
    grid-template-columns: 52px 1fr;
  }

  .control-grid p {
    grid-column: 2;
  }

  .before-play {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .before-play .button {
    grid-column: auto;
    width: 100%;
  }

  .about-hero-media {
    min-height: 620px;
  }

  .manifesto-section blockquote {
    font-size: clamp(3rem, 13vw, 5.4rem);
  }

  .belief-grid article {
    min-height: 280px;
    padding: 24px;
  }

  .belief-grid h3 {
    margin-top: 54px;
  }

  .design-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .design-board {
    min-height: 620px;
    padding: 18px;
    border-radius: 24px;
  }

  .design-board-wine {
    width: 85%;
  }

  .design-board-food {
    top: 145px;
    right: 5px;
  }

  .design-board-result {
    right: 18px;
    bottom: 22px;
    left: 18px;
    padding: 22px;
  }

  .design-board-score {
    right: 14px;
    bottom: 200px;
  }

}

@media (max-width: 430px) {
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-facts li,
  .hero-facts li + li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-facts li:first-child {
    border-top: 0;
  }

  .hero-scene {
    min-height: 610px;
  }

  .game-preview-targets {
    height: 170px;
  }

  .preview-target {
    width: 88px;
  }

  .preview-target-two {
    left: calc(50% - 44px);
  }

  .story-points > div {
    grid-template-columns: 92px 1fr;
  }

  .flow-number {
    font-size: 0.9rem;
  }

  .flow-visual {
    grid-column: 1 / -1;
  }

  .design-board-food img {
    width: 170px;
  }

  .design-board-food {
    width: 190px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
