:root {
    --ink: #040606;
    --ink-soft: #09100f;
    --ivory: #eee4d2;
    --ivory-bright: #fff9ed;
    --bronze: #b99a70;
    --bronze-line: rgba(185, 154, 112, 0.42);
    --emerald: #72ae9d;
    --muted: rgba(238, 228, 210, 0.64);
    --hairline: rgba(238, 228, 210, 0.16);
    --safe: min(720px, calc(100vw - 64px));
    --wide: min(880px, calc(100vw - 64px));
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; background: var(--ink); }
body { width: 100%; min-width: 0; margin: 0; overflow-x: clip; background: var(--ink); color: var(--ivory); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 1px solid var(--ivory-bright); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 10px 14px; background: var(--ivory-bright); color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.safe-column { width: var(--safe); margin-inline: auto; }
.safe-wide { width: var(--wide); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--bronze); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

.hero { position: relative; min-height: 100svh; overflow: hidden; background: #071011 url("imgs/arksoma/hero-longevity-stone.webp") center / cover no-repeat; }
.hero-shade, .closing-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade { background: rgba(238, 228, 210, .07); mix-blend-mode: screen; }
.hero-inner { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; padding: clamp(52px, 7vh, 112px) 0 clamp(34px, 5vh, 68px); }
.brand-lockup { text-align: center; text-shadow: 0 3px 30px #000; }
.brand-name { display: block; padding-left: .24em; font-family: "Bodoni 72", Didot, "Times New Roman", serif; font-size: clamp(46px, 7vw, 72px); letter-spacing: .24em; line-height: 1; }
.brand-cn { display: block; margin-top: 20px; padding-left: .3em; font-family: "Songti SC", STSong, serif; font-size: clamp(18px, 2.3vw, 23px); letter-spacing: .3em; }
.private-access { display: block; margin-top: 18px; color: rgba(238,228,210,.58); font-size: 8px; letter-spacing: .28em; }
.coordinate-trigger { position: absolute; top: 28%; left: clamp(0px, 9vw, 98px); padding: 12px 0; border: 0; background: transparent; color: rgba(185,154,112,.88); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.65; letter-spacing: .12em; text-align: left; cursor: pointer; transition: color .3s ease, text-shadow .3s ease; }
.coordinate-trigger:hover, .coordinate-trigger:focus-visible { color: rgba(238,228,210,.94); text-shadow: 0 0 7px rgba(238,228,210,.18); }
.hero-message { margin-top: clamp(245px, 31vh, 470px); text-align: center; text-shadow: 0 3px 34px #000; }
.hero-message h1 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: clamp(44px, 6.1vw, 62px); font-weight: 300; line-height: 1.34; letter-spacing: .045em; }
.hero-message p { margin: 20px 0 0; font-size: clamp(13px, 1.7vw, 17px); letter-spacing: .18em; }
.hero-actions { width: min(430px, 100%); margin-top: auto; }
.period-trigger, .primary-action, .submit-order { width: 100%; min-height: 72px; border-radius: 5px; cursor: pointer; }
.period-trigger { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border: 1px solid var(--bronze-line); background: rgba(7,13,13,.72); color: var(--ivory); font-family: "Songti SC", STSong, serif; font-size: 20px; letter-spacing: .1em; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 18px 58px rgba(0,0,0,.42); backdrop-filter: blur(20px) saturate(120%); }
.period-trigger small { color: var(--bronze); font-family: sans-serif; font-size: 8px; letter-spacing: .24em; }
.primary-action, .submit-order { margin-top: 14px; border: 0; background: var(--ivory-bright); color: #121716; font-family: "Songti SC", STSong, serif; font-size: 21px; letter-spacing: .13em; box-shadow: inset 0 1px #fff, 0 18px 54px rgba(0,0,0,.42); }
.hero-facts { display: flex; justify-content: center; gap: 22px; margin: 20px 0 0; color: rgba(238,228,210,.72); font-family: "Songti SC", STSong, serif; font-size: 12px; letter-spacing: .13em; white-space: nowrap; }
.hero-facts span + span { padding-left: 22px; border-left: 1px solid var(--bronze-line); }

.thesis { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--ink-soft); }
.thesis-image { position: absolute; inset: 0; background: url("imgs/arksoma/cellular-stone-field.webp") center / cover no-repeat; opacity: 1; filter: brightness(1.08) saturate(1.02); }
.thesis-copy { position: relative; padding: clamp(96px, 12vh, 140px) 0; }
.thesis-copy h2, .itinerary-head h2, .closing h2, .access-heading h2, .origin-panel h2, .period-panel h2, .advisor-dialog h2 { margin: 25px 0 0; font-family: "Songti SC", STSong, serif; font-weight: 300; letter-spacing: .06em; }
.thesis-copy h2 { width: min(600px, 100%); font-size: clamp(45px, 6.3vw, 64px); line-height: 1.42; }
.thesis-copy > p:not(.eyebrow) { width: min(520px, 100%); margin: 30px 0 0; color: var(--muted); font-size: 15px; line-height: 2; letter-spacing: .05em; }
.protocol-grid { width: min(540px, 100%); margin: 50px 0 0; border-top: 1px solid var(--hairline); }
.protocol-grid div { display: grid; grid-template-columns: 90px 1fr; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.protocol-grid dt { color: var(--bronze); font: 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .18em; }
.protocol-grid dd { margin: 0; font-family: "Songti SC", STSong, serif; font-size: 20px; letter-spacing: .1em; }

.access-section { min-height: 94svh; display: grid; place-items: center; padding: 120px 0; background: #050807; }
.access-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(64px, 9vw, 110px); padding: clamp(48px, 6vw, 72px); border: 1px solid var(--bronze-line); background: rgba(12,17,16,.72); box-shadow: 0 40px 120px rgba(0,0,0,.34); }
.access-heading h2 { font-size: clamp(40px, 5.3vw, 54px); line-height: 1.42; }
.access-heading h2 span { color: var(--bronze); font-size: .54em; letter-spacing: .14em; }
.access-copy { color: var(--muted); font-size: 13px; line-height: 2; }
.access-lead { margin-top: 0; color: var(--ivory); font-family: "Songti SC", STSong, serif; font-size: 18px; line-height: 1.9; }
.access-benefits { margin: 32px 0; border-top: 1px solid var(--hairline); }
.access-benefits div { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.access-benefits dt { color: var(--bronze); font: 10px "SFMono-Regular", Consolas, monospace; }
.access-benefits dd { margin: 0; }
.access-renewal { color: var(--bronze); font-size: 10px; letter-spacing: .08em; }

.itinerary { padding: 130px 0 150px; background: #060909; }
.itinerary-head { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: end; }
.itinerary-head h2 { font-size: clamp(46px, 5.3vw, 54px); white-space: nowrap; }
.itinerary-head > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.journey-list { display: grid; gap: 36px; margin-top: 76px; }
.journey-card { min-height: 390px; display: grid; grid-template-columns: 1.14fr .86fr; overflow: hidden; border: 1px solid var(--hairline); background: #0a0e0e; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.journey-card.reverse { grid-template-columns: .86fr 1.14fr; }
.journey-card.reverse figure { order: 2; }
.journey-card figure { min-width: 0; min-height: 390px; margin: 0; overflow: hidden; }
.journey-card img { width: 100%; height: 100%; display: block; object-fit: cover; transform: none; filter: saturate(.72) contrast(1.03) brightness(1); transition: transform .9s cubic-bezier(.22,.7,.24,1), filter .9s ease; }
.journey-card.is-motion-pending img { transform: scale(1.018); filter: saturate(.72) contrast(1.03) brightness(.88); }
.journey-card.is-in-view img { transform: scale(1); filter: saturate(.72) contrast(1.03) brightness(1); }
.journey-copy { padding: 48px 42px 38px; }
.journey-index { display: flex; justify-content: space-between; margin: 0 0 24px; color: var(--bronze); font: 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .18em; }
.journey-index span { color: rgba(238,228,210,.34); }
.journey-copy h3 { margin: 0; font-family: "Songti SC", STSong, serif; font-size: 30px; font-weight: 300; line-height: 1.5; letter-spacing: .04em; }
.journey-copy > p:not(.journey-index) { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.journey-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.journey-copy li { padding: 8px 10px; border: 1px solid var(--bronze-line); color: rgba(238,228,210,.72); font-size: 9px; letter-spacing: .1em; }

.closing { position: relative; min-height: 92svh; display: grid; place-items: center; overflow: hidden; background: #06100f url("imgs/arksoma/hero-longevity-stone.webp") center 68% / cover no-repeat; text-align: center; }
.closing-shade { background: rgba(1,4,5,.36); }
.closing-inner { position: relative; width: min(760px, calc(100vw - 24px)); padding: 120px 0; }
.closing h2 { font-size: clamp(27px, 6.6vw, 52px); line-height: 1.42; letter-spacing: .035em; white-space: nowrap; }
.closing-inner > p:not(.eyebrow):not(.closing-price) { margin: 28px 0 40px; color: var(--muted); font-size: 15px; letter-spacing: .05em; }
.closing .primary-action { width: min(430px, 100%); }
.closing-price { margin: 25px 0 0; color: var(--ivory); font-size: 11px; letter-spacing: .12em; }
.closing small { display: block; margin-top: 13px; color: var(--bronze); font-size: 10px; letter-spacing: .12em; }
.site-footer { padding: 30px 24px; border-top: 1px solid var(--hairline); color: rgba(238,228,210,.38); font-size: 9px; letter-spacing: .18em; text-align: center; }

.origin-menu, .period-sheet { position: fixed; inset: 0; z-index: 120; }
.overlay-backdrop { position: absolute; inset: 0; border: 0; background: rgba(1,3,3,.78); backdrop-filter: blur(14px); }
.origin-menu .overlay-backdrop { background: rgba(1, 4, 5, .06); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.origin-panel { position: absolute; top: 0; right: 0; width: min(520px, 100vw); height: 100%; overflow-y: auto; padding: 80px 64px 54px; border-left: 1px solid var(--bronze-line); background: linear-gradient(155deg, rgba(8, 15, 14, .46), rgba(4, 8, 8, .34)); backdrop-filter: blur(18px) saturate(118%); -webkit-backdrop-filter: blur(18px) saturate(118%); box-shadow: -28px 0 90px rgba(0,0,0,.28), inset 1px 0 rgba(255,255,255,.04); }
.text-close { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; letter-spacing: .18em; }
.origin-panel > .text-close { position: absolute; top: 34px; right: 38px; }
.origin-panel h2 { margin-top: 30px; font-size: 52px; }
.origin-coordinates { margin: 40px 0 0; color: var(--bronze); font: 12px "SFMono-Regular", Consolas, monospace; line-height: 1.8; letter-spacing: .13em; }
.origin-panel blockquote { display: grid; gap: 4px; margin: 38px 0 26px; padding-left: 26px; border-left: 1px solid var(--bronze); font-family: "Songti SC", STSong, serif; font-size: 22px; line-height: 1.65; }
.origin-panel blockquote span { display: block; white-space: nowrap; }
.origin-story { color: var(--muted); font-size: 13px; line-height: 1.9; }
.origin-panel nav { display: grid; margin-top: 28px; }
.origin-panel nav a { padding: 16px 0; border-bottom: 1px solid var(--hairline); color: var(--ivory); font-family: "Songti SC", STSong, serif; font-size: 20px; letter-spacing: .12em; text-decoration: none; }
.origin-panel > small { display: block; margin-top: 24px; color: rgba(238,228,210,.38); font-size: 9px; line-height: 1.8; }
.period-panel { position: absolute; left: 50%; top: 50%; width: min(620px, calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow: auto; padding: 46px; border: 1px solid var(--bronze-line); background: rgba(6,10,10,.98); transform: translate(-50%, -50%); box-shadow: 0 50px 150px #000; }
.sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.period-panel h2 { font-size: 44px; }
.period-options { display: grid; margin-top: 38px; border-top: 1px solid var(--hairline); }
.period-option { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 0 18px; border-bottom: 1px solid var(--hairline); color: var(--muted); text-decoration: none; }
.period-option.selected { color: var(--ivory-bright); background: rgba(114,174,157,.08); }
.period-option span { font-family: "Songti SC", STSong, serif; font-size: 20px; letter-spacing: .1em; }
.period-option small { color: var(--bronze); font-size: 10px; letter-spacing: .1em; }

.advisor-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; overflow: auto; border: 1px solid var(--bronze-line); border-radius: 5px; background: #080d0c; color: var(--ivory); box-shadow: 0 50px 150px #000; }
.advisor-dialog::backdrop { background: rgba(1,3,3,.8); backdrop-filter: blur(12px); }
.advisor-shell, .success-view { position: relative; padding: 64px; }
.advisor-shell > .text-close { position: absolute; top: 28px; right: 28px; }
.advisor-dialog h2 { font-size: 42px; }
.advisor-context { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; margin: 28px 0 34px; padding: 15px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.advisor-context strong { color: var(--ivory); font-weight: 400; }
.advisor-context small { grid-column: 1 / -1; color: var(--bronze); font-size: 9px; letter-spacing: .1em; }
.advisor-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.advisor-dialog label { display: grid; gap: 9px; }
.advisor-dialog label > span { color: var(--bronze); font-size: 10px; letter-spacing: .16em; }
.advisor-dialog input, .advisor-dialog textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; background: transparent; color: var(--ivory-bright); }
.advisor-dialog textarea { min-height: 82px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.upload-field { position: relative; min-height: 86px; padding: 16px; border: 1px solid var(--hairline); cursor: pointer; }
.upload-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-field strong { margin-top: 4px; color: var(--ivory); font-family: "Songti SC", STSong, serif; font-size: 17px; font-weight: 300; letter-spacing: .1em; }
.upload-field small { color: rgba(238,228,210,.42); font-size: 9px; }
.file-list { display: grid; gap: 6px; color: rgba(238,228,210,.42); font-size: 10px; }
.file-list span { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.file-list small { color: rgba(238,228,210,.38); white-space: nowrap; }
.form-status { min-height: 18px; margin: 0; color: var(--bronze); font-size: 11px; }
.submit-order { min-height: 64px; margin-top: 0; }
.submit-order:disabled { opacity: .62; cursor: wait; }
.success-view { min-height: min(680px, calc(100svh - 24px)); display: grid; place-items: center; align-content: center; text-align: center; }
.success-mark { display: grid; place-items: center; width: 110px; height: 110px; margin-top: 34px; border: 1px solid var(--bronze); border-radius: 50%; color: var(--bronze); font-family: Didot, serif; font-size: 18px; letter-spacing: .16em; }
.success-view h2 { margin-top: 30px; }
.success-view > p:not(.eyebrow) { color: var(--muted); }
.success-view dl { width: 100%; margin: 38px 0; border-top: 1px solid var(--hairline); }
.success-view dl div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.success-view dt { color: var(--muted); font-size: 11px; }
.success-view dd { margin: 0; color: var(--ivory); font-family: monospace; overflow-wrap: anywhere; }

[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .78s ease, transform .78s cubic-bezier(.22,.7,.24,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    @media (hover: none) and (pointer: coarse), (max-width: 899px) {
        .coordinate-trigger { background-image: linear-gradient(102deg, rgba(185,154,112,.88) 0%, rgba(185,154,112,.88) 38%, rgba(255,249,237,.98) 49%, rgba(185,154,112,.88) 60%, rgba(185,154,112,.88) 100%); background-position: 100% 50%; background-size: 240% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: coordinate-glyph-sweep 1.02s cubic-bezier(.3,.68,.24,1) 1.1s 1 both; }
        @keyframes coordinate-glyph-sweep { 0% { background-position: 100% 50%; text-shadow: none; } 50% { text-shadow: 0 0 7px rgba(238,228,210,.24); } 100% { background-position: 0% 50%; text-shadow: none; } }
    }
}

@media (min-width: 1200px) {
    :root { --safe: 760px; --wide: 980px; }
    .journey-card { grid-template-columns: 1.22fr .78fr; }
    .journey-card.reverse { grid-template-columns: .78fr 1.22fr; }
}

@media (max-width: 899px) {
    :root { --safe: min(720px, calc(100vw - 48px)); --wide: min(720px, calc(100vw - 48px)); }
    .access-shell { grid-template-columns: 1fr; gap: 38px; }
    .itinerary-head { grid-template-columns: 1fr; gap: 28px; }
    .itinerary-head h2 { white-space: normal; }
    .journey-card, .journey-card.reverse { grid-template-columns: 1fr; }
    .journey-card figure, .journey-card.reverse figure { order: 0; min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 599px) {
    :root { --safe: calc(100vw - 40px); --wide: calc(100vw - 32px); }
    .eyebrow { font-size: 9px; letter-spacing: .22em; }
    .hero-inner { padding-top: 44px; padding-bottom: 28px; }
    .brand-name { padding-left: .16em; font-size: clamp(34px, 10vw, 42px); letter-spacing: .16em; }
    .brand-cn { margin-top: 13px; font-size: 16px; }
    .private-access { margin-top: 12px; font-size: 7px; letter-spacing: .18em; }
    .coordinate-trigger { top: 25%; left: 0; font-size: 9px; }
    .hero-message { margin-top: clamp(205px, 28vh, 280px); }
    .hero-message h1 { font-size: clamp(36px, 10.3vw, 44px); line-height: 1.38; }
    .hero-message p { margin-top: 14px; font-size: 12px; letter-spacing: .12em; }
    .period-trigger, .primary-action { min-height: 62px; }
    .period-trigger { padding: 0 20px; font-size: 17px; }
    .primary-action { font-size: 18px; }
    .hero-facts { gap: 12px; font-size: 10px; letter-spacing: .08em; }
    .hero-facts span + span { padding-left: 12px; }
    .thesis-copy { padding: 92px 0; }
    .thesis-copy h2 { font-size: clamp(38px, 11vw, 46px); }
    .thesis-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; }
    .protocol-grid div { grid-template-columns: 64px 1fr; }
    .protocol-grid dd { font-size: 17px; }
    .access-section { padding: 74px 0; }
    .access-shell { padding: 36px 24px; }
    .access-heading h2 { font-size: 38px; }
    .access-lead { font-size: 16px; }
    .itinerary { padding: 90px 0 100px; }
    .itinerary-head h2 { font-size: 42px; }
    .journey-list { gap: 22px; margin-top: 48px; }
    .journey-copy { padding: 32px 24px 28px; }
    .journey-copy h3 { font-size: 25px; }
    .closing-inner { padding: 90px 0; }
    .origin-panel { padding: 72px 28px 40px; }
    .origin-panel h2 { font-size: 44px; }
    .origin-panel blockquote { padding-left: 20px; font-size: clamp(17px, 4.9vw, 19px); }
    .period-panel { padding: 30px 22px; }
    .period-panel h2 { font-size: 36px; }
    .period-options { margin-top: 26px; }
    .period-option { min-height: 64px; padding: 0 8px; }
    .period-option span { font-size: 16px; }
    .period-option small { font-size: 8px; }
    .advisor-shell, .success-view { padding: 52px 24px 30px; }
    .advisor-dialog h2 { font-size: 36px; }
    .advisor-dialog form { grid-template-columns: 1fr; gap: 20px; }
    .wide { grid-column: 1; }
    .success-view dl div { align-items: start; text-align: left; }
}

@media (max-height: 760px) and (min-width: 600px) {
    .hero-inner { padding-top: 42px; padding-bottom: 26px; }
    .hero-message { margin-top: 180px; }
    .period-trigger, .primary-action { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .coordinate-trigger { background: none !important; color: rgba(185,154,112,.88); -webkit-text-fill-color: currentColor; text-shadow: none; }
    [data-reveal] { opacity: 1; transform: none; }
    .journey-card img { transform: none; transition: none; }
}
