/* Akhuyet — site styles. Fonts are self-hosted (no requests to Google). */
@font-face { font-family: 'Marcellus'; src: url('../fonts/marcellus-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --night: #141633; --night-2: #1B1E45; --night-3: #0E1029; --cream: #F3EADB; --text: #D9D2C6; --muted: #BDB6AB;
  --gold: #C9A45C; --gold-light: #E2C07A; --gold-deep: #B8913F; --line: rgba(201, 164, 92, .45);
  --display: 'Marcellus', Georgia, serif; --serif: 'Cormorant Garamond', Georgia, serif;
  --wrap: 1200px; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--serif); font-size: 20px; line-height: 1.5; }
img, canvas, video { display: block; max-width: 100%; }
a { color: var(--gold-light); }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--display); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.12; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h2 em, h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-light); }
h3 { font-size: 21px; letter-spacing: .04em; }
p { margin: 0; }
.lead { font-size: 22px; color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: none; color: var(--cream); transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-light); color: var(--night); }
.btn-line { border-color: rgba(243, 234, 219, .4); }
.btn-line:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; letter-spacing: .32em; color: var(--cream); text-decoration: none; }
.logo img { width: 150px; height: auto; }
@media (max-width: 640px) { .logo img { width: 120px; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a:hover { color: var(--gold-light); }
.nav .nav-cta { padding: 11px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--cream); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 16, 41, .97); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav .nav-cta { margin-top: 6px; text-align: center; }
}

/* inline nav on inner pages */
.nav.nav-inline { display: flex !important; position: static; flex-direction: row; align-items: center; background: none; border: 0; padding: 0; gap: 8px 24px; }
.nav.nav-inline .nav-cta { margin-top: 0; }
@media (max-width: 640px) { .nav.nav-inline a:not(.nav-cta) { display: none; } }

/* hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--night-3) url('../img/poster.jpg') center 30% / cover no-repeat; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; cursor: grab; touch-action: pan-y; }
.hero-sky.ready { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 16, 41, .72) 0%, rgba(14, 16, 41, .35) 45%, rgba(14, 16, 41, 0) 70%); }
@media (max-width: 860px) { .hero::before { background: linear-gradient(180deg, rgba(14, 16, 41, .6) 0%, rgba(14, 16, 41, .25) 60%, rgba(14, 16, 41, 0) 100%); } }
.hero-sky:active { cursor: grabbing; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; min-height: 100svh; padding-top: 110px; padding-bottom: 70px; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; text-shadow: 0 2px 24px rgba(10, 11, 30, .8); }
.hero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.07; }
.hero .launch-line { font-style: italic; font-size: 19px; color: var(--muted); }
.hero-cards { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sky-caption { position: absolute; z-index: 3; left: 24px; bottom: 18px; font-size: 15px; font-style: italic; color: var(--muted); pointer-events: none; }

/* card pair & flip */
.fan { position: relative; width: min(560px, 100%); aspect-ratio: 560 / 500; border: 0; padding: 0; background: none; cursor: pointer; color: inherit; font: inherit; }
.fan .card { position: absolute; top: 0; left: 0; width: 44.6%; aspect-ratio: 70 / 121; perspective: 1400px; transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
.fan .card-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.45, 0, .2, 1); }
.fan .card.light .card-inner { transition-delay: .25s; }
.fan .card.shadow .card-inner { transition-delay: .45s; }
.fan .face { display: block; position: absolute; inset: 0; border-radius: 4.5% / 2.6%; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 24px 46px rgba(0, 0, 0, .5); }
.fan .face img, .fan .face canvas { width: 100%; height: 100%; object-fit: cover; }
.fan .card.shadow .back { box-shadow: 0 24px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(226, 192, 122, .55); }
.fan .front { transform: rotateY(180deg); }
.fan .card.light { transform: translate(12.5%, 11.6%) rotate(-9deg); }
.fan .card.shadow { transform: translate(102%, 8%) rotate(8deg); }
.fan.open .card.light { transform: translate(7%, 8.8%) rotate(0); }
.fan.open .card.shadow { transform: translate(107%, 8.8%) rotate(0); }
.fan.open .card-inner { transform: rotateY(180deg); }
.fan-caption { font-size: 17px; font-style: italic; color: var(--muted); text-align: center; }

.pair { display: flex; justify-content: center; gap: var(--gap, 0px); transition: gap .25s ease; }
.pair canvas, .pair img { width: min(240px, 44vw); aspect-ratio: 70 / 121; height: auto; box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
.pair > :first-child { border-radius: 10px 0 0 10px; }
.pair > :last-child { border-radius: 0 10px 10px 0; }
.pair.small canvas, .pair.small img { width: min(150px, 38vw); }
.pair[style*="--gap"] > :first-child, .pair[style*="--gap"] > :last-child { border-radius: 10px; }

/* sections */
section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.band { background: var(--night-2); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.rule { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.rule .k { font-family: var(--display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.rule p { color: var(--text); font-size: 19px; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.two-col > * { flex: 1 1 380px; min-width: 0; }

/* early bird */
.early { border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(201, 164, 92, .12), rgba(201, 164, 92, 0)); }
.early > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }

/* how to read a pair */
.range { width: 100%; max-width: 360px; accent-color: var(--gold); min-height: 44px; }
.read-list { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.read-list li { display: flex; gap: 14px; color: var(--text); }
.read-list b { font-family: var(--display); font-weight: 400; color: var(--gold-light); min-width: 110px; letter-spacing: .06em; }

/* steps & video */
.steps { counter-reset: s; }
.steps .rule .k::before { counter-increment: s; content: counter(s, upper-roman) ' · '; }
.video-wrap { margin-top: 44px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* signs */
.signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sign { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid rgba(201, 164, 92, .3); border-radius: 14px; background: rgba(27, 30, 69, .5); }
.sign h3 { font-size: 20px; }
.sign .card-name { font-style: italic; color: var(--gold-light); font-size: 18px; }
.sign .dates { font-size: 16px; color: var(--muted); }
.sign .actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 8px; }
.sign .actions a { font-size: 16px; }
.sign.picked { border-color: var(--gold-light); background: rgba(201, 164, 92, .12); }

/* join */
.join { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.join > * { flex: 1 1 400px; min-width: 0; }
.gift-list { display: flex; flex-direction: column; gap: 8px; padding-left: 0; list-style: none; color: var(--text); }
.gift-list li::before { content: '✦  '; color: var(--gold); }
form.signup { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 20px; background: var(--night-2); border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.field input, .field select { min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(243, 234, 219, .3); background: var(--night-3); color: var(--cream); font: inherit; font-size: 19px; }
.field input:focus, .field select:focus { border-color: var(--gold-light); outline: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 17px; min-height: 1.4em; }
.form-msg.err { color: #F0A8A0; }
.preview { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.preview p { font-size: 17px; color: var(--text); max-width: 26em; }

/* milestone */
.milestone { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; padding: 20px; border-radius: 14px; border: 1px dashed var(--line); }
.milestone .k { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.bar { height: 10px; border-radius: 99px; background: rgba(243, 234, 219, .12); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); border-radius: inherit; transition: width 1s ease; }

/* specs, faq */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(201, 164, 92, .25); }
.specs dt { font-family: var(--display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.specs dd { margin: 0; text-align: right; color: var(--text); }
.faq { max-width: 860px; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid rgba(201, 164, 92, .3); }
.faq summary { cursor: pointer; padding: 20px 0; font-family: var(--display); font-size: 19px; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold-light); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 22px; color: var(--text); max-width: 44em; }

/* kickstarter */
.ks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.countdown { display: flex; gap: 14px; justify-content: center; }
.countdown div { min-width: 82px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--gold-light); }
.countdown span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--display); }
.teaser { font-style: italic; color: var(--muted); }

/* footer */
.site-footer { padding: 44px 0 56px; border-top: 1px solid rgba(201, 164, 92, .25); font-size: 16px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* cookie banner */
.cookie { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; padding: 20px; border-radius: 16px;
  background: var(--night-3); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 14px; font-size: 17px; }

/* pages: thank you, your sky, signs */
.page { padding-top: 130px; }
.page-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 40px; }
.panel { padding: 28px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); }
.diptych { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.diptych figure { margin: 0; flex: 1 1 320px; max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.diptych canvas { width: 100%; aspect-ratio: 1; height: auto; }
.diptych figcaption { text-align: center; font-style: italic; color: var(--muted); font-size: 17px; }
.sky-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; align-items: end; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

@media (max-width: 640px) {
  body { font-size: 18px; }
  section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .lead { font-size: 20px; }
  form.signup, .early, .panel { padding: 22px; }
  .countdown div { min-width: 64px; }
  .countdown b { font-size: 26px; }
  .sky-caption { left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fan .card, .fan .card-inner, .hero-sky, .bar span, .pair { transition: none !important; }
}
