@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
 color-scheme: dark;
 --ink: #f6eee4;
 --muted: #c9c0b7;
 --accent: #e7ac83;
 --background: #0b0a09;
 --gutter: clamp(1.2rem, 6vw, 7rem);
 --display: 'Instrument Serif', Georgia, serif;
 font: 16px 'DM Sans', system-ui, sans-serif;
 background: var(--background);
 color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-padding-top: 5rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 10; transform: translateY(-120%); background: var(--background); padding: 1rem; }
.skip:focus { transform: none; }
.masthead {
 position: sticky; top: 0; z-index: 5; min-height: 4.7rem;
 display: flex; align-items: center; justify-content: space-between; gap: 1rem;
 padding: .8rem var(--gutter); border-bottom: 1px solid #e7ac8321;
 background: #0b0a09ed;
}
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 700; letter-spacing: -.055em; font-size: 1.25rem; }
.brand img { margin-right: .55rem; filter: grayscale(1) sepia(.55); }
.brand span { color: var(--accent); }
nav, .mast-actions { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
nav a, .contact, #motion-toggle { font-size: .86rem; }
nav a:hover, footer a:hover { color: var(--accent); }
.contact { white-space: nowrap; }
.contact span { color: var(--accent); margin-left: .3em; }
#motion-toggle { color: var(--muted); background: none; border: 0; cursor: pointer; padding: .35rem 0; }
.story { position: relative; isolation: isolate; }
.stage {
 position: sticky; top: 4.7rem; width: 100%; height: calc(100svh - 4.7rem);
 margin-bottom: calc(-100svh + 4.7rem); z-index: -1;
 overflow: hidden; pointer-events: none; contain: paint; background: #100b09;
}
.stage::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(90deg, #0b0a09c9, transparent 58%), radial-gradient(ellipse at center, transparent 35%, #0b0a09a0);
}
.halo, .orbit, canvas { position: absolute; }
.halo { inset: 0; background: radial-gradient(ellipse at 72% 47%, #9b4e3060, #1c0e0d 41%, #100b09 71%); }
.orbit { width: min(63vw, 56rem); aspect-ratio: 1; left: 70%; top: 51%; border-radius: 50%; border: 1px solid #e7ac8333; transform: translate(-50%,-50%) scaleY(.46) rotate(-18deg); }
.orbit-b { transform: translate(-50%,-50%) scaleY(.55) rotate(42deg); opacity: .48; }
canvas { inset: 0; width: 100%; height: 100%; }
.chapter { min-height: calc(100svh - 4.7rem); display: grid; align-items: center; padding: 4rem var(--gutter); }
.chapter.right { justify-items: end; }
.copy { width: min(100%, 36rem); }
.region { color: var(--accent); letter-spacing: .19em; text-transform: uppercase; font-weight: 600; font-size: .72rem; }
h1, h2 { font: 400 clamp(4.2rem, 9.5vw, 10rem)/.83 var(--display); letter-spacing: -.055em; margin: .23em 0; }
h1 em, h2 em { font-weight: 400; color: var(--accent); }
.lead { color: var(--muted); max-width: 31ch; line-height: 1.56; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.action {
 display: inline-flex; justify-content: space-between; align-items: center; gap: 1.1rem;
 margin-top: .7rem; padding: .9rem 1.1rem; border-radius: 3rem;
 border: 1px solid #e7ac8360; background: #0b0a09c2; color: var(--ink); font-size: .9rem;
 transition: background .2s, color .2s;
}
.action span { color: var(--accent); }
.action:hover { color: #16100b; background: var(--accent); }
.action:hover span { color: inherit; }
.visual-gallery {
 padding: clamp(4.5rem, 10vw, 10rem) var(--gutter);
 background: linear-gradient(150deg, #100c0a, #18100d 55%, #0b0a09);
 border-top: 1px solid #e7ac8326;
}
.gallery-heading h2 { font-size: clamp(3.8rem, 8vw, 8rem); margin: 0 0 .55em; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1.6rem); }
.gallery-card { position: relative; isolation: isolate; display: grid; align-items: end; overflow: hidden; aspect-ratio: 3 / 4; background: #2d1811; border: 1px solid #e7ac8340; }
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
.gallery-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 44%, #100904ee 100%); pointer-events: none; }
.gallery-card:is(:hover, :focus-visible) img { transform: scale(1.08); }
.gallery-label { position: relative; z-index: 1; display: flex; gap: .6rem; justify-content: space-between; align-items: end; padding: clamp(.9rem, 2vw, 2rem); }
.gallery-label h3 { margin: 0; font: 400 clamp(2rem, 3.3vw, 3.8rem)/.95 var(--display); }
.gallery-label p { margin: .55rem 0 0; color: var(--ink); font-size: .86rem; }
.gallery-label span { color: var(--accent); font-size: 1.4rem; }
.outro { text-align: center; padding: clamp(5rem,12vw,12rem) var(--gutter); background: radial-gradient(ellipse at bottom,#2d1612,#0b0a09 75%); border-top: 1px solid #e7ac8326; }
.outro h2 { font-size: clamp(3.5rem,7vw,7rem); }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.5rem var(--gutter); border-top: 1px solid #e7ac8326; font-size: .86rem; color: var(--muted); }
@media (max-width: 840px) {
 .masthead { flex-wrap: wrap; min-height: 6.5rem; }
 .masthead nav { width: 100%; order: 3; justify-content: space-between; gap: .45rem; }
 .masthead nav a { font-size: clamp(.69rem, 2.6vw, .86rem); }
 .stage { top: 6.5rem; height: calc(100svh - 6.5rem); margin-bottom: calc(-100svh + 6.5rem); }
 .stage::after { background: linear-gradient(0deg,#0b0a09 0%, #0b0a09bf 34%, transparent 70%); }
 .halo { background: radial-gradient(ellipse at 52% 36%,#9b4e3066,#1c0e0d 45%,#100b09 76%); }
 .orbit { left: 50%; top: 33%; width: min(88vw,37rem); }
 .chapter { min-height: calc(100svh - 6.5rem); align-items: end; padding-top: max(14rem,34svh); padding-bottom: 2.8rem; }
 .chapter.right { justify-items: start; }
 h1,h2 { font-size: clamp(3.7rem,12vw,6rem); }
 html { scroll-padding-top: 6.5rem; }
}
@media (max-width: 390px) {
 .masthead { gap: .65rem; }
 .mast-actions { gap: .5rem; }
 .mast-actions > * { font-size: .72rem; }
 .masthead .brand img { width: 23px; height: 23px; margin-right: .3rem; }
 .masthead .brand { font-size: 1.06rem; }
}
@media (max-width: 640px) {
 .gallery-grid { grid-template-columns: 1fr; }
 .gallery-card { aspect-ratio: 4 / 3; }
 .gallery-card img { object-position: center 48%; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; } }

