:root {
  color-scheme: dark;
  --ink: #121612;
  --ink-soft: #1b211c;
  --cream: #f3f0e8;
  --white: #fbfaf5;
  --muted: #aeb8ad;
  --line-dark: rgba(247, 244, 231, .2);
  --accent: #c9f46b;
  --accent-blue: #83c7ff;
  --accent-copper: #f0a56d;
  --max: 1440px;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cream); background: #000; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent-blue); color: #07121a; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 12px 16px; color: var(--ink); background: var(--white); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 5px; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; width: 100%; min-height: 94px; display: flex; align-items: center; gap: 40px; padding: 20px max(4.5vw, calc((100vw - var(--max)) / 2)); color: var(--white); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { position: fixed; min-height: 76px; background: rgba(0, 0, 0, .95); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; font-family: Manrope, sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.065em; line-height: 1; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.site-header .brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-period { color: var(--accent); }
.brand-ai { color: var(--accent-blue); }
.site-header nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.site-header nav a { color: #f4f2e9; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.site-header nav a:hover { color: var(--accent); }
.header-cta { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 999px; font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.header-cta:hover { color: var(--ink); background: var(--white); }
.menu-button { display: none; }

.hero { position: relative; min-height: min(940px, 100svh); min-height: max(780px, 100svh); display: flex; align-items: center; isolation: isolate; background: #121a20; }
.hero-image, .hero-veil { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 45%; }
.hero-veil { background: linear-gradient(90deg, rgba(9, 15, 19, .84) 0%, rgba(9, 15, 19, .52) 43%, rgba(9, 15, 19, .04) 86%), linear-gradient(0deg, rgba(9, 15, 19, .53) 0%, transparent 26%); }
.hero-content { width: min(var(--max), 91%); margin: 0 auto; padding: 150px 0 150px; }
.eyebrow, .section-label { font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 15px; color: var(--accent-blue); }
.eyebrow-rule { width: 34px; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Manrope, sans-serif; font-weight: 500; letter-spacing: -.07em; }
h1 em, h2 em { font-style: normal; font-weight: 700; }
.hero h1 { max-width: 920px; margin: 26px 0 24px; font-size: clamp(76px, 9vw, 152px); line-height: .96; }
.hero h1 em { color: var(--accent-copper); }
.hero-lead { max-width: 570px; margin-bottom: 34px; color: #f1eee6; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 59px; display: inline-flex; align-items: center; justify-content: center; gap: 35px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: #101510; background: var(--accent); }
.button-light:hover { background: #dcffa0; }
.button-outline { color: var(--white); border-color: var(--accent-blue); background: rgba(14, 21, 25, .13); }
.button-outline:hover { background: rgba(131, 199, 255, .14); }
.hero-caption { position: absolute; right: 4.5%; bottom: 36px; left: 4.5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #f5f2e9; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.hero-caption b { margin-left: 12px; font-size: 19px; font-weight: 400; }

.section { scroll-margin-top: 76px; border-top: 1px solid #292929; }
.section-head { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.section-label { margin-bottom: 0; color: var(--accent-blue); }
.section-label::after { content: ''; display: inline-block; width: 34px; height: 1px; margin-left: 16px; vertical-align: middle; background: currentColor; }
.section-side { margin-bottom: 0; color: #8f9a91; font-size: 15px; }
.intro { padding: 110px max(4.5vw, calc((100vw - var(--max)) / 2)) 90px; background: #000; color: var(--cream); }
.intro .section-side { color: #abb8aa; }
.intro-layout { display: grid; grid-template-columns: 1.3fr .65fr; gap: 8vw; align-items: end; padding: 120px 0 135px; }
.intro h2, .control h2 { margin: 0; font-size: clamp(58px, 6.4vw, 108px); line-height: 1.05; }
.intro h2 em { color: var(--accent-copper); }
.intro-copy p { max-width: 500px; margin-bottom: 30px; color: #d1d9cb; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 700; }
.text-link:hover { gap: 29px; }
.chapter-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 30px; border-top: 1px solid var(--line-dark); font-size: 17px; font-weight: 700; }
.chapter-line i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-blue); }
.chapter-line i:nth-of-type(2) { background: var(--accent); }
.chapter-line i:nth-of-type(3) { background: var(--accent-copper); }

.characters { min-height: 780px; display: grid; grid-template-columns: 1fr 1fr; background: #000; }
.chapter-visual { position: relative; min-height: 780px; display: grid; place-items: center; overflow: hidden; background: #000; }
.chapter-visual::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/barcanto-cinematic-coast-2026.png') center / cover; opacity: .21; filter: blur(18px) saturate(.65); transform: scale(1.07); }
.chapter-visual-glow { position: absolute; width: min(75%, 540px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 210, 180, .28), transparent 65%); }
.chapter-visual-frame { position: relative; width: min(67%, 450px); aspect-ratio: .78; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 25px; border: 1px solid rgba(242, 238, 224, .58); background: linear-gradient(140deg, rgba(236, 229, 206, .15), rgba(24, 33, 28, .5)); box-shadow: 0 30px 90px rgba(0, 0, 0, .23); backdrop-filter: blur(8px); }
.frame-top, .frame-bottom { align-self: stretch; color: #ece8db; font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.frame-bottom { text-align: right; }
.frame-mark { width: min(94%, 350px); height: auto; display: block; }
.chapter-copy { max-width: 740px; align-self: center; padding: 90px clamp(45px, 8vw, 150px) 90px clamp(45px, 7vw, 120px); }
.chapter-copy .section-label { color: var(--accent); }
.chapter-copy h2 { margin: 55px 0 30px; font-size: clamp(56px, 5.8vw, 100px); line-height: 1.02; }
.chapter-copy h2 em { color: var(--accent-copper); }
.chapter-copy > p:not(.section-label) { max-width: 620px; color: #d7dbd2; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.65; }
.chapter-note { display: grid; grid-template-columns: 42px 1fr; gap: 18px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.chapter-note span { color: var(--accent); font-size: 16px; }
.chapter-note p { max-width: 500px; margin: 0; color: #c1c8bc; font-size: 15px; line-height: 1.7; }

.control { padding: 110px max(4.5vw, calc((100vw - var(--max)) / 2)) 130px; color: var(--cream); background: #000; }
.control .section-side { color: #b3bfb0; }
.control-layout { display: grid; grid-template-columns: 1.2fr .55fr; gap: 8vw; align-items: end; margin: 110px 0 100px; }
.control h2 em { color: var(--accent-copper); }
.control-layout > p { margin-bottom: 0; color: #d7dfd1; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.65; }
.choice-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.choice-list > div { padding: 30px 32px 20px 0; }
.choice-list > div:not(:last-child) { margin-right: 32px; border-right: 1px solid var(--line-dark); }
.choice-list span, .choice-list strong { display: block; }
.choice-list span { margin-bottom: 54px; color: var(--accent-blue); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.choice-list > div:nth-child(2) span { color: var(--accent); }
.choice-list > div:nth-child(3) span { color: var(--accent-copper); }
.choice-list strong { font-size: clamp(21px, 2vw, 30px); line-height: 1.2; letter-spacing: -.04em; }
.choice-list p { margin: 17px 0 0; color: #bfccbc; font-size: 16px; line-height: 1.5; }

.finish { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; background: #000; }
.finish::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/barcanto-cinematic-coast-2026.png') center 65% / cover; opacity: .14; filter: saturate(.5); }
.finish::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000, rgba(0, 0, 0, .75) 55%, rgba(0, 0, 0, .35)); }
.finish-inner { position: relative; z-index: 1; width: min(var(--max), 91%); margin: 0 auto; padding: 120px 0; }
.finish .section-label { color: var(--accent); }
.finish h2 { margin: 55px 0 28px; font-size: clamp(70px, 8vw, 126px); line-height: .99; }
.finish h2 em { color: var(--accent-copper); }
.finish-inner > p:not(.section-label) { max-width: 650px; color: #d4dcd2; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.65; }
.finish-details { max-width: 700px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.finish-details span { padding: 11px 16px; border: 1px solid rgba(239, 236, 220, .35); border-radius: 999px; color: #ebe9dd; font-size: 14px; }

.preview { padding: 135px 4.5vw; color: var(--cream); background: #000; }
.preview-inner { max-width: var(--max); margin: auto; }
.preview .section-label { color: var(--accent-blue); }
.preview h2 { margin: 55px 0 25px; font-size: clamp(70px, 8.5vw, 134px); line-height: .98; }
.preview h2 em { color: var(--accent-copper); }
.preview-inner > p:not(.section-label) { max-width: 650px; margin-bottom: 30px; color: #e0e5d8; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.6; }
.button-dark { color: #101510; background: var(--accent); }
.button-dark:hover { background: #dcffa0; }
.preview small { display: block; max-width: 560px; margin-top: 28px; color: #c3cebe; font-size: 14px; line-height: 1.55; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 70px 4.5vw 40px; border-top: 1px solid #292929; background: #000; }
.site-footer p { margin: 20px 0 0; color: #acb7a9; font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 28px; max-width: 650px; }
.site-footer nav a { color: #e0e5d9; font-size: 14px; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer > small { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line-dark); color: var(--accent-blue); font-size: 13px; }

@media (max-width: 1050px) {
  .site-header { gap: 20px; }
  .site-header nav { gap: 18px; }
  .hero h1 { font-size: clamp(72px, 9vw, 118px); }
  .intro-layout, .control-layout { gap: 5vw; }
  .chapter-copy { padding-left: 45px; padding-right: 45px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 72px; padding: 14px 5vw; }
  .site-header.scrolled { min-height: 70px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header .brand-mark { width: 40px; height: 40px; }
  .menu-button { order: 3; width: 46px; height: 46px; display: grid; align-content: center; gap: 6px; margin-left: auto; padding: 11px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-button span { display: block; height: 1px; background: var(--white); }
  .site-header nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 15px 5vw 25px; background: #000; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .header-cta { display: none; }
  .hero { min-height: 850px; min-height: 100svh; }
  .hero-image { object-position: 63% center; }
  .hero-veil { background: linear-gradient(90deg, rgba(9, 15, 19, .86), rgba(9, 15, 19, .36)), linear-gradient(0deg, rgba(9, 15, 19, .8), transparent 40%); }
  .hero-content { width: 90%; padding: 130px 0 125px; }
  .hero h1 { font-size: clamp(60px, 12vw, 92px); }
  .hero-lead { max-width: 480px; }
  .hero-caption { left: 5%; right: 5%; }
  .intro, .control { padding: 85px 5vw; }
  .intro-layout, .control-layout { grid-template-columns: 1fr; gap: 40px; margin: 0; padding: 85px 0; }
  .intro h2, .control h2 { font-size: clamp(56px, 10vw, 85px); }
  .characters { grid-template-columns: 1fr; }
  .chapter-visual { min-height: 620px; }
  .chapter-copy { padding: 85px 5vw 100px; }
  .chapter-copy h2 { margin-top: 40px; font-size: clamp(56px, 10vw, 85px); }
  .control-layout { margin: 0; }
  .choice-list { grid-template-columns: 1fr; }
  .choice-list > div { padding: 26px 0; }
  .choice-list > div:not(:last-child) { margin-right: 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .choice-list span { margin-bottom: 22px; }
  .finish { min-height: 650px; }
  .finish h2 { font-size: clamp(64px, 11vw, 96px); }
  .preview { padding: 90px 5vw; }
  .preview h2 { font-size: clamp(64px, 11vw, 98px); }
  .site-footer { grid-template-columns: 1fr; padding: 65px 5vw 35px; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .eyebrow { flex-wrap: wrap; font-size: 11px; }
  .hero { min-height: 760px; min-height: 100svh; }
  .hero h1 { font-size: clamp(55px, 13.5vw, 76px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .button { min-height: 57px; justify-content: space-between; font-size: 15px; }
  .hero-caption { bottom: 25px; font-size: 11px; }
  .hero-caption span:nth-child(2) { display: none; }
  .section-head { display: block; }
  .section-side { margin-top: 14px; }
  .intro-layout { padding: 70px 0 85px; }
  .intro h2, .control h2 { font-size: clamp(50px, 12vw, 68px); }
  .chapter-line { flex-wrap: wrap; font-size: 14px; }
  .chapter-visual { min-height: 480px; }
  .chapter-visual-frame { width: 65%; }
  .frame-mark { width: 100%; }
  .frame-top, .frame-bottom { font-size: 9px; }
  .chapter-copy h2 { font-size: clamp(51px, 12vw, 70px); }
  .finish h2, .preview h2 { font-size: clamp(60px, 13vw, 80px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
#site-nav a { white-space: nowrap }
