:root {
  color-scheme: dark;
  --ink: #f6f2e9;
  --muted: #d0d0c5;
  --copper: #d99b65;
  --panel: rgba(20, 24, 21, .76);
  --line: rgba(246, 242, 233, .22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #171916; }
body { margin: 0; background: #171916; color: var(--ink); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, video:focus-visible { outline: 3px solid #f3bd82; outline-offset: 4px; }

.background-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #171916; pointer-events: none; }
.background-fallback { position: absolute; inset: 0; background: #20241f url('/assets/media/opening-desktop.v1.webp') center 52% / cover no-repeat; }
@media (max-width: 620px) { .background-fallback { background-image: url('/assets/media/opening-mobile.v1.webp'); } }
.background-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: 0; transition: opacity 1.15s ease-in-out; }
#opening-film { opacity: 0; }
.background-stage.show-opening #opening-film { opacity: 1; }
.background-stage.show-continuation #opening-film { opacity: 0; }
.background-stage.show-continuation #continuation-film { opacity: 1; }
.background-stage.opening-failed #opening-film, .background-stage.continuation-failed .background-film { opacity: 0; }
.background-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 17, 15, .86) 0%, rgba(17, 20, 17, .59) 48%, rgba(17, 19, 17, .3) 100%), linear-gradient(0deg, rgba(12, 15, 13, .88) 0%, transparent 62%, rgba(11, 14, 12, .36) 100%); }

.site-content { position: relative; z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s ease, visibility .8s ease; }
.js-sequence .site-content { opacity: 0; visibility: hidden; }
.js-sequence.page-revealed .site-content { opacity: 1; visibility: visible; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 14px; color: #171916; background: #f6f2e9; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1240px, calc(100% - 64px)); min-height: 94px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: .76rem; font-weight: 500; letter-spacing: .16em; white-space: nowrap; }
.wordmark b { color: var(--copper); font-weight: 600; }
.wordmark-symbol { height: 27px; display: inline-flex; align-items: end; gap: 3px; transform: skew(-18deg); }
.wordmark-symbol i { display: block; width: 4px; background: var(--copper); border-radius: 2px 2px 0 0; }
.wordmark-symbol i:nth-child(1) { height: 13px; opacity: .65; }
.wordmark-symbol i:nth-child(2) { height: 21px; }
.wordmark-symbol i:nth-child(3) { height: 27px; opacity: .8; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 42px); }
.site-header nav a { color: #e4e2d9; text-decoration: none; font-size: .82rem; transition: color .2s ease; }
.site-header nav a:hover, .text-link:hover, .underlined-link:hover { color: #f1b77e; }
.header-cta { padding: 11px 16px; border: 1px solid rgba(243, 189, 130, .62); border-radius: 2px; color: #f2d1ae; text-decoration: none; font-size: .78rem; letter-spacing: .03em; white-space: nowrap; }
.header-cta span { margin-left: 8px; color: var(--copper); }

.hero { position: relative; min-height: min(800px, calc(100svh - 94px)); width: min(1240px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; padding: 100px 0 130px; }
.hero-copy { width: min(760px, 78%); }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; color: #e4ba94; font-size: .68rem; font-weight: 600; letter-spacing: .19em; }
.eyebrow-line { width: 31px; height: 1px; display: inline-block; background: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 26px; font-size: clamp(3.4rem, 7.2vw, 6.7rem); line-height: .98; }
h1 em, h2 em { color: #e5b17e; font-weight: 400; }
.hero-lede { max-width: 620px; margin-bottom: 31px; color: #e2e0d8; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { min-height: 48px; padding: 13px 18px; display: inline-flex; justify-content: center; align-items: center; gap: 26px; border-radius: 2px; text-decoration: none; font-size: .82rem; font-weight: 650; letter-spacing: .02em; }
.button-light { color: #201f1a; background: #f1e8d9; }
.button-light span { color: #a65f30; }
.text-link, .underlined-link { color: #f0dfca; font-size: .82rem; text-decoration-color: rgba(240, 223, 202, .56); text-underline-offset: 5px; }
.text-link span, .underlined-link span { margin-left: 7px; color: var(--copper); }
.hero-note { position: absolute; right: 0; bottom: 110px; width: 255px; display: flex; align-items: flex-start; gap: 13px; padding: 18px 18px 16px; background: rgba(17, 20, 17, .48); border-top: 1px solid rgba(229, 177, 126, .65); }
.hero-note p { margin: 0; color: #d8d4ca; font-size: .76rem; line-height: 1.55; }
.hero-note strong { color: #f4eee4; font-weight: 600; }
.app-release-cta { text-decoration: none; justify-content: space-between; }
.app-release-cta strong { font-size: 1rem; letter-spacing: .08em; }
.app-release-caption { color: #d8d4ca; font-size: .76rem; }
.app-release-cta:hover { background: rgba(38, 42, 34, .9); }
.scroll-cue { position: absolute; bottom: 34px; left: 0; display: flex; align-items: center; gap: 12px; color: #cbc8be; font-size: .61rem; letter-spacing: .17em; }
.scroll-cue span { display: inline-block; width: 34px; height: 1px; background: var(--copper); }

.section-wrap { width: min(1120px, calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.approach { padding-top: 135px; padding-bottom: 105px; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; }
h2 { margin-bottom: 22px; font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.03; }
.section-intro { max-width: 680px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.principles { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles article { padding: 25px 26px 27px 0; }
.principles article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.principles h3 { margin: 0 0 12px; font-size: 1.08rem; font-weight: 550; }
.principles p { max-width: 290px; margin: 0; color: #d0cec4; font-size: .82rem; line-height: 1.7; }

.story-section { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(45px, 9vw, 125px); padding-top: 75px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.story-right { grid-template-columns: 1.05fr 1fr; }
.story-copy { max-width: 470px; }
.story-copy .eyebrow { margin-bottom: 20px; }
.story-copy h2 { font-size: clamp(2.5rem, 4.5vw, 4.1rem); }
.story-copy > p:not(.eyebrow):not(.micro-note) { color: var(--muted); line-height: 1.85; }
.micro-note { margin-top: 23px; padding-left: 14px; border-left: 1px solid var(--copper); color: #d8c1a8; font-size: .76rem; line-height: 1.7; }
.story-media { margin: 0; min-width: 0; }
.media-frame { position: relative; overflow: hidden; background: #242721; border: 1px solid rgba(241, 232, 217, .25); box-shadow: 0 22px 60px rgba(0, 0, 0, .25); }
.media-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 12, 10, .53), transparent 40%); }
.media-frame video { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; object-fit: cover; opacity: 1; background: linear-gradient(135deg, #34382f, #181b18); transition: opacity .28s ease; }
.underlined-link { display: inline-block; margin-top: 12px; }

.support-band { position: relative; width: min(1240px, calc(100% - 64px)); padding: 80px clamp(28px, 6vw, 82px); display: grid; grid-template-columns: 1fr .9fr; gap: clamp(36px, 7vw, 92px); align-items: center; background: rgba(18, 21, 18, .76); border: 1px solid rgba(245, 236, 221, .2); }
.support-copy h2 { font-size: clamp(2.55rem, 4.3vw, 4.15rem); }
.support-copy > p:not(.eyebrow) { color: #d5d2c8; line-height: 1.8; }
.support-callout { margin-top: 28px; padding: 16px 17px; display: flex; gap: 13px; border-left: 2px solid var(--copper); background: rgba(246, 242, 233, .06); }
.support-callout > span { color: var(--copper); }
.support-callout p { margin: 0; color: #d8d5cb; font-size: .79rem; line-height: 1.65; }
.support-callout strong { color: #fff4e7; }
.support-media .media-frame video { aspect-ratio: 4 / 3; }

.closing { padding-top: 130px; padding-bottom: 130px; text-align: center; }
.closing .eyebrow { justify-content: center; }
.closing h2 { margin-bottom: 32px; }
.support-contact { margin-top: 24px; }
.app-intro { max-width: 720px; margin: 0 auto 36px; color: var(--muted); line-height: 1.8; }
.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; margin: 38px 0; }
.app-features article { padding: 24px; background: rgba(18, 21, 18, .76); border-top: 1px solid var(--copper); }
.app-features h3 { font-size: 1.05rem; margin-bottom: 12px; }
.app-features p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.app-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.contact-address { margin: 25px 0 0; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 620px) { .app-features { grid-template-columns: 1fr; gap: 16px; } }
.site-footer { position: relative; width: min(1240px, calc(100% - 64px)); margin: auto; padding: 28px 0 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.footer-mark { font-size: .66rem; }
.footer-mark .wordmark-symbol { transform: scale(.8) skew(-18deg); transform-origin: left center; }
.site-footer p { max-width: 650px; margin: 0; color: #c8c6bc; font-size: .68rem; line-height: 1.6; }
.footer-tag { color: #d0a177; font-size: .57rem; letter-spacing: .14em; text-align: right; }

.reveal { opacity: 1; transform: none; }
.js-sequence .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.js-sequence.page-revealed .reveal { opacity: 1; transform: translateY(0); }
.reveal-1 { --reveal-delay: 0ms; }
.reveal-2 { --reveal-delay: 180ms; }
.reveal-3 { --reveal-delay: 420ms; }
.reveal-4 { --reveal-delay: 620ms; }
.reveal-5 { --reveal-delay: 900ms; }
.reveal-6 { --reveal-delay: 1200ms; }
.reveal-7 { --reveal-delay: 1500ms; }
.reveal-8 { --reveal-delay: 1750ms; }
.reveal-9 { --reveal-delay: 2050ms; }
.reveal-10 { --reveal-delay: 2300ms; }
.reveal-11 { --reveal-delay: 2600ms; }
.reveal-12 { --reveal-delay: 2900ms; }

@media (max-width: 850px) {
  .site-header { min-height: 78px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: .73rem; }
  .header-cta { padding: 9px 11px; font-size: .7rem; }
  .hero { min-height: min(760px, calc(100svh - 78px)); }
  .story-section, .story-right { gap: 38px; }
  .support-band { padding: 58px 34px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 620px) {
  .site-header, .hero, .section-wrap, .support-band, .site-footer { width: calc(100% - 36px); }
  .site-header { min-height: 74px; flex-wrap: wrap; gap: 0 12px; padding: 15px 0 12px; }
  .wordmark { font-size: .65rem; }
  .wordmark-symbol { transform: scale(.8) skew(-18deg); transform-origin: left center; margin-right: -5px; }
  .site-header nav { order: 3; width: 100%; padding-top: 13px; justify-content: space-between; }
  .site-header nav a { font-size: .67rem; }
  .header-cta { margin-left: auto; padding: 8px 9px; font-size: .63rem; }
  .hero { min-height: 680px; min-height: min(760px, calc(100svh - 74px)); padding: 80px 0 120px; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: .59rem; letter-spacing: .14em; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-lede { max-width: 520px; font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-note { right: 0; bottom: 62px; width: min(260px, 80%); }
  .scroll-cue { bottom: 25px; }
  .approach { padding-top: 84px; padding-bottom: 65px; }
  h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .section-intro { font-size: .9rem; }
  .principles { grid-template-columns: 1fr; margin-top: 32px; }
  .principles article, .principles article + article { padding: 20px 0; border-left: 0; }
  .principles article + article { border-top: 1px solid var(--line); }
  .principles h3 { margin-top: 10px; }
  .story-section, .story-right { grid-template-columns: 1fr; gap: 28px; padding-top: 62px; padding-bottom: 64px; }
  .story-right .story-media { order: 2; }
  .story-right .story-copy { order: 1; }
  .story-copy h2, .support-copy h2 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  .support-band { padding: 45px 23px; grid-template-columns: 1fr; gap: 32px; }
  .support-media .media-frame video { aspect-ratio: 16 / 10; }
  .closing { padding-top: 90px; padding-bottom: 90px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding-bottom: 55px; }
  .site-footer p { grid-column: auto; grid-row: auto; }
  .footer-tag { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .background-film { display: none; }
  .site-content, .reveal { opacity: 1 !important; visibility: visible !important; transform: none !important; transition: none !important; }
  .button, .header-cta, .site-header nav a { transition: none; }
}
