:root {
  --black: #07070a;
  --black-soft: #0f1015;
  --surface: #17181f;
  --surface-2: #20212a;
  --white: #ffffff;
  --paper: #f5f5f7;
  --ink: #18181c;
  --muted: #a9abb5;
  --muted-dark: #666975;
  --line: rgba(255,255,255,.13);
  --line-dark: rgba(20,20,25,.12);
  --orange: #ff6a32;
  --pink: #ff1766;
  --violet: #7626ff;
  --blue: #0a84ff;
  --gradient: linear-gradient(112deg, var(--orange) 0%, var(--pink) 53%, var(--violet) 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
  --max: 84rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: clamp(1.25rem, 2vw, 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: var(--white); background: var(--black); font: 400 clamp(1rem, .96rem + .18vw, 1.1rem)/1.62 var(--font); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; border-radius: .65rem; background: var(--white); color: var(--black); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

.site-header { position: sticky; z-index: 50; top: 0; width: 100%; border-bottom: 1px solid var(--line); background: rgba(7,7,10,.82); color: var(--white); backdrop-filter: blur(24px) saturate(140%); }
.site-header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 760; letter-spacing: -.025em; text-decoration: none; }
.brand-mark { display: block; width: 3rem; aspect-ratio: 1; border-radius: .9rem; box-shadow: 0 .55rem 1.5rem rgba(0,28,72,.35); overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 1.06rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.site-nav a { color: #d4d5dc; font-size: .92rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }

.gallery-hero { position: relative; overflow: hidden; background: var(--gradient); }
.gallery-hero picture, .gallery-hero picture img { display: block; width: 100%; }
.gallery-hero picture img { min-height: 42rem; object-fit: cover; object-position: center top; }
.mobile-hero-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hero-fade { position: absolute; right: 0; bottom: 0; left: 0; height: 18%; background: linear-gradient(transparent, rgba(7,7,10,.38)); pointer-events: none; }

.intro { padding: clamp(5rem, 9vw, 9rem) 0; text-align: center; }
.kicker { margin: 0 0 1rem; color: #bd93ff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 7vw, 7rem); line-height: .95; }
h2 { font-size: clamp(2.3rem, 5.1vw, 5rem); line-height: 1.02; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.25; }
.intro h2 { max-width: 17ch; margin-inline: auto; }
.intro-copy { max-width: 48rem; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pill-row li { padding: .62rem .95rem; border: 1px solid var(--line); border-radius: 999px; color: #d9dae0; font-size: .88rem; font-weight: 620; }

.feature-story { padding: 0 0 clamp(5rem, 10vw, 9rem); }
.feature-story-light { padding-top: clamp(5rem, 9vw, 8rem); background: var(--paper); color: var(--ink); }
.story-copy { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; margin-bottom: 2.5rem; }
.story-copy p:last-child { max-width: 45rem; margin: 0; color: var(--muted); font-size: 1.1rem; }
.feature-story-light .kicker { color: #8d38d9; }
.feature-story-light .story-copy p:last-child { color: var(--muted-dark); }
.art-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #15151a; box-shadow: 0 2rem 6rem rgba(0,0,0,.36); }
.feature-story-light .art-frame { border-color: var(--line-dark); box-shadow: 0 2rem 6rem rgba(84,22,118,.16); }
.art-frame img { width: 100%; }
.story-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; background: var(--line); }
.story-details article { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--black-soft); }
.feature-story-light .story-details { border-color: var(--line-dark); background: var(--line-dark); }
.feature-story-light .story-details article { background: var(--white); }
.story-details span { display: block; margin-bottom: 1.25rem; color: #bd93ff; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.feature-story-light .story-details span { color: #8d38d9; }
.story-details p { margin: .7rem 0 0; color: var(--muted); font-size: .95rem; }
.feature-story-light .story-details p { color: var(--muted-dark); }

.capabilities { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--paper); color: var(--ink); }
.capability-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.capability-head p { max-width: 34rem; margin: 0; color: var(--muted-dark); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.capability { min-height: 15rem; padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px solid var(--line-dark); border-radius: 1.25rem; background: var(--white); }
.capability-icon { display: grid; width: 2.6rem; aspect-ratio: 1; place-items: center; margin-bottom: 2.5rem; border-radius: .8rem; background: #ebf4ff; color: var(--blue); font-weight: 850; }
.capability p { margin: .75rem 0 0; color: var(--muted-dark); }

.privacy-band { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--gradient); }
.privacy-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.privacy-layout h2 { max-width: 11ch; }
.privacy-points { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.privacy-points li { position: relative; padding: 1.15rem 1.25rem 1.15rem 3.2rem; border: 1px solid rgba(255,255,255,.32); border-radius: 1rem; background: rgba(9,8,17,.18); font-weight: 650; backdrop-filter: blur(10px); }
.privacy-points li::before { position: absolute; left: 1.2rem; content: "✓"; font-weight: 900; }
.privacy-link { display: inline-flex; margin-top: 1.5rem; font-weight: 750; }

.cta { padding: clamp(5rem, 10vw, 9rem) 0; text-align: center; }
.cta h2 { max-width: 15ch; margin-inline: auto; }
.cta p { max-width: 42rem; margin: 1.3rem auto 0; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3.4rem; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1.35rem; border: 1px solid var(--white); border-radius: 999px; background: var(--white); color: var(--black); font-weight: 750; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); background: #e9e9ee; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--white); }
.button-secondary:hover { background: rgba(255,255,255,.08); }

.page-hero { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--gradient); }
.page-hero h1 { max-width: 12ch; }
.page-summary { max-width: 45rem; margin: 1.4rem 0 0; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.updated { display: inline-flex; margin-top: 1.8rem; padding: .42rem .72rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.document-page, .support-page { background: var(--paper); color: var(--ink); }
.document-layout { display: grid; grid-template-columns: minmax(12rem,.3fr) minmax(0,.7fr); gap: clamp(3rem, 8vw, 7rem); padding-block: clamp(4rem, 8vw, 7rem); }
.document-nav { position: sticky; top: 8rem; align-self: start; }
.document-nav p { margin: 0 0 1rem; color: #8d38d9; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.document-nav ol { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.document-nav a { color: var(--muted-dark); font-size: .88rem; text-decoration: none; }
.document-nav a:hover { color: var(--ink); }
.legal { max-width: 50rem; }
.legal section { scroll-margin-top: 8rem; padding: 0 0 3rem; }
.legal section + section { padding-top: 3rem; border-top: 1px solid var(--line-dark); }
.legal h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); }
.legal p, .legal ul { margin: 1rem 0 0; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .5rem; }
.legal a, .support-card a { color: #7b2bc2; font-weight: 700; }
.support-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.support-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.support-intro p { margin: .4rem 0 0; color: var(--muted-dark); font-size: 1.08rem; }
.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 3rem; }
.support-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line-dark); border-radius: 1.2rem; background: var(--white); }
.support-card p { margin: .8rem 0 0; color: var(--muted-dark); }
.support-card-wide { grid-column: 1 / -1; }

.site-footer { padding: 3.25rem 0; border-top: 1px solid var(--line); background: var(--black); color: #8d8f99; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner p { margin: 0; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: #c5c6cd; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 800px) {
  .gallery-hero { padding-top: 0; }
  .gallery-hero picture img { min-height: 30rem; }
  .story-copy, .privacy-layout, .support-intro, .document-layout { grid-template-columns: 1fr; }
  .story-details, .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 0; }
  .capability-icon { margin-bottom: 1.7rem; }
  .capability-head { grid-template-columns: 1fr; }
  .document-nav { position: static; }
  .document-nav ol { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .site-header-inner { min-height: 4.75rem; }
  .brand-name { display: none; }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .85rem; }
  .gallery-hero { padding-top: 0; }
  .mobile-hero-copy { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; padding: 3.25rem var(--gutter) 2rem; }
  .mobile-hero-copy h1 { max-width: 10ch; font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .mobile-hero-copy p { max-width: 30rem; margin: 1rem 0 0; font-size: 1.05rem; }
  .gallery-hero picture { height: 26rem; overflow: hidden; background: #15151a; }
  .gallery-hero picture img { width: 190%; max-width: none; height: auto; min-height: 0; object-fit: initial; transform: translate(-24%, -3.5rem); }
  .story-copy { margin-bottom: 1.5rem; }
  .art-frame img { height: 25rem; object-fit: cover; object-position: 50% 64%; }
  .story-details { display: none; }
  .privacy-layout h2 { max-width: 13ch; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .document-nav { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card-wide { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
