/* Strata Center website. Dark-first, built from the logo: deep navy, and the five strata
   bands (red, orange, gold, sage, blue) as the accent family. Layout: a 1200px column with
   full-bleed bands; the hero is copy on the left and the live hub on the right. */
:root {
  --bg: #0a0e1d;
  --bg-2: #0f1428;
  --surface: #151b33;
  --surface-2: #1b2240;
  --line: rgba(160, 180, 230, 0.12);
  --line-2: rgba(160, 180, 230, 0.2);
  --fg: #eef1f8;
  --muted: #a9b2c8;
  --faint: #737d98;
  --accent: #e2733f;
  --accent-ink: #1c0c05;
  --red: #ff5a48;
  --orange: #ff8b3d;
  --gold: #f2c94c;
  --sage: #b9d184;
  --teal: #5cc8c0;
  --blue: #4fa3dc;
  --display: "Urbanist", "Inter", system-ui, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.muted { color: var(--muted); font-size: 18px; max-width: 62ch; }
.small { font-size: 14px; color: var(--faint); }
.grad { background: linear-gradient(90deg, var(--red), var(--orange) 35%, var(--gold) 60%, var(--sage) 80%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
i[data-icon] { display: inline-flex; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
i[data-icon] svg { width: 100%; height: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 10px 30px -10px rgba(226,115,63,.6); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(226,115,63,.75); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(10,14,29,.72); border-bottom: 1px solid transparent; transition: border-color .3s; padding-top: env(safe-area-inset-top); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand em { font-style: normal; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a, .link { text-decoration: none; color: var(--muted); font-size: 14.5px; transition: color .2s; }
.nav-links a:hover, .link:hover { color: var(--fg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); padding: 10px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% 0; background:
  radial-gradient(ellipse 50% 40% at 70% 45%, rgba(79,120,220,.22), transparent 70%),
  radial-gradient(ellipse 30% 30% at 62% 55%, rgba(226,115,63,.16), transparent 70%),
  linear-gradient(rgba(140,170,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(140,170,255,.045) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 40%, transparent 80%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; min-height: min(760px, calc(100vh - 120px)); }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lede { font-size: 19px; color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-cta.center { justify-content: center; }
.hero-facts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.hero-facts i { color: var(--sage); margin-right: 4px; }
.hero-hub { position: relative; min-width: 0; }
.hub { position: relative; width: 118%; margin-left: -9%; aspect-ratio: 1600 / 1180; container-type: inline-size; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Hub pieces */
.h-label { position: absolute; transform: translate(-50%, -50%); font: 700 2.6cqw/1 var(--display); color: #fff; white-space: nowrap; pointer-events: none; text-shadow: 0 2px 12px rgba(0,0,0,.6); transition: text-shadow .3s, opacity .3s; }
.h-tile { position: absolute; transform: translate(-50%, -50%); width: 6.4cqw; height: 6.4cqw; border-radius: 1.2cqw; border: 1px solid; display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); cursor: pointer; padding: 0; transition: box-shadow .3s, background .3s; }
.h-tile svg { width: 52%; height: 52%; position: static; }
.h-tile .bob { display: grid; place-items: center; width: 100%; height: 100%; animation: bob 3.6s ease-in-out infinite alternate; animation-delay: var(--b, 0ms); }
.h-center { position: absolute; left: 50%; top: 44.5%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 1.4cqw; pointer-events: none; }
.h-center img { width: 7cqw; height: 7cqw; }
.h-center span { font: 800 3.4cqw/0.95 var(--display); letter-spacing: -0.02em; }
.seg { cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.seg .top { fill-opacity: .26; transition: fill-opacity .3s; }
.seg:hover, .seg:focus-visible { transform: translateY(-12px); outline: none; }
.seg:hover .top, .seg:focus-visible .top { fill-opacity: .5; }
.seg.on { transform: translateY(-20px); }
.seg.on .top { fill-opacity: .78; filter: url(#glow); }
.seg.dim { opacity: .5; }
.orbit { stroke-dasharray: .006 .014; animation: turn 40s linear infinite; }
.sweep { stroke-dasharray: .1 .9; animation: turn 4.5s linear infinite; }
.blink { animation: blink 2.4s ease-in-out infinite; animation-delay: var(--b, 0ms); }

/* The card that shows the chosen solution under the hub */
.hub-card { position: relative; margin: -14% auto 0; max-width: 520px; min-height: 132px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(160deg, color-mix(in srgb, var(--c, var(--accent)) 16%, transparent), rgba(21,27,51,.88) 50%); border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 45%, transparent); box-shadow: 0 20px 60px -20px rgba(0,0,0,.6), 0 0 40px -10px color-mix(in srgb, var(--c, var(--accent)) 40%, transparent); backdrop-filter: blur(10px); transition: border-color .3s, box-shadow .3s; }
.hub-card h3 { display: flex; align-items: center; gap: 10px; }
.hub-card h3 i { color: var(--c); width: 22px; height: 22px; }
.hub-card .tag { margin-left: auto; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.hub-card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.hub-card .feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hub-card .feat span { font-size: 12.5px; padding: 4px 9px; border-radius: 7px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); color: #dfe4f2; }
.hub-card.swap { animation: pop .35s cubic-bezier(.34,1.4,.5,1); }

/* Bands */
.band { padding: 110px 0; border-top: 1px solid var(--line); position: relative; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > div { display: grid; gap: 18px; min-width: 0; }
.split-media.reverse > :first-child { order: 2; }

/* Problem */
.problem { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.patchwork { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.patchwork li { display: grid; grid-template-columns: 1fr auto 96px; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.patchwork span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,90,72,.6); }
.patchwork i { color: var(--faint); }
.patchwork b { font-family: var(--display); font-size: 17px; }

/* Solutions grid */
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sol { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; gap: 12px; align-content: start; transition: transform .25s, border-color .25s; }
.sol::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.sol::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); pointer-events: none; }
.sol:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.sol .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 18%, transparent); }
.sol .ic svg { width: 22px; height: 22px; }
.sol h3 { font-size: 24px; }
.sol .job { font-weight: 600; }
.sol .for { font-size: 14px; color: var(--faint); }
.sol ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--muted); }
.sol li { display: flex; gap: 9px; align-items: baseline; }
.sol li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-2px); }

/* Lifecycle */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.flow li { position: relative; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.flow li .n { font: 500 12px var(--mono); color: var(--faint); }
.flow li h3 { font-size: 19px; }
.flow li p { font-size: 14.5px; color: var(--muted); }
.flow .who { justify-self: start; font: 600 12px/1 var(--body); padding: 6px 9px; border-radius: 6px; color: #0b0f1f; background: var(--c); }
.flow li.soon { background: transparent; border-style: dashed; }
.flow li.soon .who { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* Mocks */
.mock { border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02); overflow: hidden; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2c3458; }
.mock-bar b { margin-left: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 10px; }
.mb-sol { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.mb-sol header { display: flex; align-items: center; gap: 10px; font: 700 16px var(--display); }
.mb-sol header i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--c); padding: 4px; }
.mb-sol header small { margin-left: auto; font: 500 11px var(--body); color: var(--faint); }
.mb-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.mb-box { width: 16px; height: 16px; border-radius: 4px; background: var(--c); display: grid; place-items: center; color: #0b0f1f; flex: none; }
.mb-box.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.mb-box svg { width: 12px; height: 12px; }
.steps { padding-left: 20px; margin: 4px 0 0; display: grid; gap: 10px; color: var(--muted); }
.steps b { color: var(--fg); }

/* Portal mock */
.pp-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 12px; border-bottom: 1px solid var(--line); }
.pp-head small { display: block; color: var(--faint); font-size: 13px; }
.pp-head strong { font: 700 20px var(--display); color: var(--sage); }
.pp-ring { position: relative; width: 58px; height: 58px; }
.pp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pp-ring circle { fill: none; stroke: #2c3458; stroke-width: 4; }
.pp-ring circle.on { stroke: var(--accent); stroke-dasharray: 68 100; stroke-linecap: round; }
.pp-ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 14px var(--display); }
.pp-label { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.pp-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.pp-item > i { width: 20px; height: 20px; color: var(--orange); }
.pp-item div { flex: 1; min-width: 0; }
.pp-item b { display: block; font-size: 14.5px; }
.pp-item small { color: var(--faint); font-size: 12.5px; }
.pp-btn { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.pp-item.done { opacity: .6; }
.pp-item.done > i { color: var(--sage); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.ticks i { color: var(--accent); flex: none; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features article { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.features article > i { width: 28px; height: 28px; color: var(--accent); }
.features p { color: var(--muted); font-size: 15px; }

/* Duo */
.duo-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.card > i { width: 32px; height: 32px; color: var(--accent); }
.card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg); }

/* Editions */
.editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ed { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.ed.feature { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 30px 60px -30px rgba(226,115,63,.35); }
.ed h3 { font-size: 22px; }
.ed .who { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.ed ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ed li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.ed li b { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.ed .extra { font-size: 13px; color: var(--faint); }
.ed .btn { justify-content: center; margin-top: auto; }

/* CTA + footer */
.cta { padding: 120px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(226,115,63,.14), transparent 70%), var(--bg); }
.cta-in { display: grid; justify-items: center; text-align: center; gap: 18px; }
.cta .muted { margin: 0 auto; }
.foot { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot .small { margin-left: auto; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.play .p-platform { transform-box: fill-box; transform-origin: center; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.play .p-core { transform-box: fill-box; transform-origin: center; animation: grow .9s cubic-bezier(.34,1.3,.5,1) .25s both; }
.play .p-draw { stroke-dasharray: 1 1; animation: draw 1.1s cubic-bezier(.55,0,.25,1) .4s both; }
.play .p-seg { animation: rise .76s cubic-bezier(.2,.9,.25,1.15) var(--d) both; }
.play .p-tile { animation: drop .7s cubic-bezier(.34,1.5,.5,1) var(--d) both; }
.play .p-label { animation: fade .6s ease-out var(--d) both; }
.play .p-center { animation: centerIn .9s cubic-bezier(.2,.8,.2,1) .9s both; }
@keyframes grow { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(90px); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; translate: 0 -40px; scale: .6; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes centerIn { from { opacity: 0; filter: blur(6px); scale: .9; } to { opacity: 1; filter: none; scale: 1; } }
@keyframes turn { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes pop { from { opacity: .4; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hub { width: 100%; margin-left: 0; }
  .solutions, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding-bottom: 16px; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; flex-direction: column; align-items: flex-start; width: 100%; margin: 0; gap: 14px; }
  .nav.open .nav-in { padding-top: 13px; }
  .split, .duo-in { grid-template-columns: 1fr; gap: 40px; }
  .split-media.reverse > :first-child { order: 0; }
  .band { padding: 80px 0; }
}
@media (max-width: 600px) {
  .solutions, .features, .editions, .flow { grid-template-columns: 1fr; }
  .patchwork li { grid-template-columns: 1fr auto 80px; padding: 12px 14px; font-size: 14.5px; }
  .h-label { font-size: 3.6cqw; }
  .foot .small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .play .p-platform, .play .p-core, .play .p-draw, .play .p-seg, .play .p-tile, .play .p-label, .play .p-center { animation: none; }
  .orbit, .sweep, .blink, .h-tile .bob { animation: none; }
  .sweep { display: none; }
}
