/* Myo Innovations — Spectrum (site v3, 2026-10)
   One white ground, five phase colors that own whole regions, Geist throughout,
   the spectrum ring as the mark. See DESIGN.md. */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0C1628;
  --white: #FFFFFF;
  --paper: #F2F3F8;
  --line: #DCDFEA;
  --line-soft: #E8EAF2;
  --line-dark: rgba(255, 255, 255, 0.16);
  --text-2: #4E576E;
  --fog: #AAB3CC;
  --success: #8FE3B8;

  /* the five phases */
  --p1: #3E5CF0;  --p1-ink: #2F4BC0;  --p1-tint: #E3E8FD;
  --p2: #7E57CC;  --p2-ink: #6A43B5;  --p2-tint: #ECE4F8;
  --p3: #F28B7F;  --p3-ink: #A8443B;  --p3-tint: #FDE4E1;
  --p4: #5F6A87;  --p4-ink: #4E576E;  --p4-tint: #E6E9F0;
  --p5: #0C1628;

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1240px;
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01" 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--p1-ink); }
::selection { background: var(--p3); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--p1); outline-offset: 3px; border-radius: 6px; }
.door-consulting :focus-visible, .idea.big :focus-visible, .band :focus-visible, .col :focus-visible, .contact :focus-visible, .site-foot :focus-visible { outline-color: currentColor; }
.door-consulting .button-light:focus-visible { outline-color: var(--white); }
.phase-nav a:focus-visible { outline-color: currentColor; outline-offset: -6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a, button, input, textarea, label { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(12, 22, 40, 0.1); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip-link:focus { left: 16px; color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 760px) { :root { --gutter: 20px; } }

/* ---------- Type ---------- */
.display { font-size: clamp(3rem, 0.9rem + 6.6vw, 6.4rem); line-height: 0.94; letter-spacing: -0.04em; font-weight: 700; }
.display .sub-line { display: block; font-size: 0.44em; line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; color: var(--p4); margin-top: 0.42em; }
.h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.2rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; }
.h2-sm { font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.h3 { font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.sub { font-size: 1.15rem; line-height: 1.55; color: var(--text-2); max-width: 60ch; margin-top: 18px; }
.muted { color: var(--text-2); }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 15px 26px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; cursor: pointer; border: 1.5px solid var(--ink); transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.button:active { transform: scale(0.97); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { color: var(--white); background: #1C2944; }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { color: var(--ink); background: var(--paper); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover { color: var(--ink); background: #E9ECF5; }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.button-outline-light:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.button:disabled { opacity: 0.55; cursor: default; transform: none; }
.text-link { font-weight: 600; text-decoration: underline; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.nav-sheet { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-sheet a { text-decoration: none; color: var(--text-2); font-weight: 500; }
.nav-sheet a:hover { color: var(--ink); }
.nav-sheet a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-sheet .nav-cta { background: var(--ink); color: var(--white); padding: 11px 20px; border-radius: 999px; font-weight: 600; transition: transform 140ms var(--ease-out); }
.nav-sheet .nav-cta:hover { color: var(--white); }
.nav-sheet .nav-cta:active { transform: scale(0.97); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; margin: -12px; cursor: pointer; color: var(--ink); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; box-shadow: 0 18px 32px -22px rgba(12, 22, 40, 0.35);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms; }
  .nav.is-open .nav-sheet { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .nav-sheet a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 18px; }
  .nav-sheet .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-paper { background: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
@media (max-width: 760px) { .section { padding: 88px 0; } }

/* ---------- Home hero ---------- */
.hero { padding: 88px 0 0; }
.hero-lead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 56px; margin-top: 44px; padding-bottom: 56px; }
.hero-lead .lede { flex: 1 1 420px; }
.inputs { list-style: none; margin: 0; padding: 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.inputs-label { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.inputs b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.inputs span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--text-2); max-width: 34ch; }

/* ---------- The spectrum (five phase columns) ---------- */
.spectrum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.col { padding: 32px 26px 30px; display: flex; flex-direction: column; gap: 14px; color: var(--white); min-height: 540px; }
.col.c1 { background: var(--p1); }
.col.c2 { background: var(--p2); }
.col.c3 { background: var(--p3); color: var(--ink); }
.col.c4 { background: var(--p4); }
.col.c5 { background: var(--p5); }
.col .num { font-size: 84px; line-height: 0.9; font-weight: 300; letter-spacing: -0.05em; opacity: 0.72; font-variant-numeric: tabular-nums; }
.col h3 { font-size: 28px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.col .q { font-size: 18px; line-height: 1.38; font-weight: 500; }
.col .goal { margin-top: auto; border-top: 1.5px solid currentColor; padding-top: 14px; }
.col .goal b { font-size: 14px; font-weight: 700; }
.col .goal p { font-size: 15px; line-height: 1.45; margin-top: 4px; }
.spectrum-short .col { min-height: 0; padding: 26px 22px 28px; }
.spectrum-short .col .num { font-size: 56px; }
.spectrum-short .col h3 { font-size: 24px; }
.spectrum-short .col p { font-size: 16px; line-height: 1.45; }
.spectrum-reveal .col { animation: col-in 760ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes col-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 980px) {
  .spectrum { grid-template-columns: 1fr; }
  .col { min-height: 0; padding: 28px var(--gutter); }
  .col .num { font-size: 52px; }
  .inputs { grid-template-columns: 1fr; gap: 14px; }
}

.outs { background: var(--paper); }
.outs .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-top: 26px; padding-bottom: 26px; }
.outs p { flex: 1 1 420px; font-size: 17px; line-height: 1.5; }
.outs p b { font-weight: 700; }
.icon-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.icon-row img { width: 58px; height: 58px; border-radius: 14px; }
.icon-row .yours { width: 58px; height: 58px; border-radius: 14px; border: 1.5px dashed var(--p4); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--p4); }
.overview { border-bottom: 1px solid var(--line-soft); }
.overview .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 26px; padding-bottom: 26px; }
.overview h2 { font-size: 1.3rem; letter-spacing: -0.025em; font-weight: 700; }
.overview p { color: var(--text-2); flex: 1 1 360px; }

/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door { border-radius: 32px; padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.door h2 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; font-weight: 700; }
.door .door-lead { font-size: 1.2rem; line-height: 1.5; font-weight: 500; max-width: 46ch; }
.door .door-text { font-size: 1.02rem; line-height: 1.6; max-width: 52ch; }
.door .buttons { margin-top: auto; padding-top: 12px; }
.door-consulting { background: var(--p1); color: var(--white); }
.door-consulting .door-text { color: #FFFFFF; }
.door-studio { background: var(--paper); }
.door-studio .door-text { color: var(--text-2); }
.door-studio .icon-row img { width: 52px; height: 52px; border-radius: 12px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { padding: 32px 24px; border-radius: 26px; } }

/* ---------- Idea cards with diagrams ---------- */
.ideas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.idea { border-radius: 30px; padding: 38px; display: flex; flex-direction: column; gap: 14px; }
.idea h3 { font-size: 30px; line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; max-width: 22ch; }
.idea p { font-size: 16.5px; line-height: 1.62; max-width: 58ch; }
.idea .dia { width: 100%; max-width: 360px; height: auto; margin-bottom: 8px; }
.idea.coral .dia, .idea.plain .dia { max-width: none; }
.idea .dia text { font: 600 15px var(--font); }
.idea.big { grid-column: 1 / -1; background: var(--p1); color: var(--white); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: center; padding: 48px; }
.idea.big h3 { font-size: clamp(2rem, 1.2rem + 1.8vw, 2.9rem); }
.idea.big p { color: #FFFFFF; }
.idea.big .dia { max-width: 520px; margin: 0; }
.idea.coral { background: var(--p3); }
.idea.plain { background: var(--paper); }
.idea.plain p { color: var(--text-2); }
.dia-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dia-cap { font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .ideas-grid { grid-template-columns: 1fr; } .idea.big { grid-template-columns: 1fr; padding: 28px 24px; } .idea { padding: 28px 24px; border-radius: 24px; } .idea h3 { font-size: 26px; } }

/* Consulting tool diagrams (HTML-built) */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.tool { background: var(--white); border-radius: 30px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.tool h3 { font-size: 26px; letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; margin-bottom: 8px; }
.tool p { font-size: 16.5px; line-height: 1.62; color: var(--text-2); }
.diagram { position: relative; min-height: 240px; border-radius: 18px; background: var(--paper); padding: 18px; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } .tool { padding: 26px 22px; border-radius: 24px; } }

.forces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.forces > div { display: flex; flex-direction: column; gap: 10px; }
.forces .hd { font-size: 12px; font-weight: 700; }
.force { flex: 1; border-radius: 12px; padding: 10px 12px; }
.force b { display: block; font-size: 14px; }
.force span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; }
.force-go { background: var(--p1); color: var(--white); }
.force-stop { background: var(--p3); color: var(--ink); }

.custdev { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.custdev-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.custdev-row div { border-radius: 12px; padding: 14px 6px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.custdev-row .k1 { background: var(--p1); color: var(--white); }
.custdev-row .k2 { background: var(--p2); color: var(--white); }
.custdev-row .k3 { background: var(--p3); color: var(--ink); }
.custdev-row .k4 { background: var(--p5); color: var(--white); }
.custdev svg { width: 100%; height: 40px; }
.custdev .back { font-size: 12.5px; font-weight: 600; color: var(--p2-ink); padding-left: 6%; }

.amap { padding: 18px 18px 30px 36px; }
.amap-grid { height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; }
.amap-grid div { border-radius: 10px; padding: 9px; font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--white); }
.amap-grid .hot { background: var(--p3); color: var(--ink); font-size: 13px; font-weight: 700; display: flex; flex-direction: column; justify-content: space-between; }
.amap-grid .hot span { font-size: 12px; font-weight: 500; }
.amap .ax-y { position: absolute; left: -12px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.amap .ax-x { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }

.blueprint { display: grid; grid-template-columns: 76px repeat(4, minmax(0, 1fr)); gap: 6px; align-content: center; }
.blueprint .rl { font-size: 12px; font-weight: 600; color: var(--text-2); align-self: center; }
.blueprint .cust, .blueprint .front, .blueprint .back { border-radius: 9px; padding: 9px 4px; font-size: 12px; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.blueprint .cust { background: var(--p1); color: var(--white); }
.blueprint .front { background: var(--p2); color: var(--white); }
.blueprint .back { background: var(--white); color: var(--ink); }
.blueprint .line { grid-column: 1 / -1; border-top: 1.5px dashed #A9B0C4; margin: 3px 0; position: relative; }
.blueprint .line span { position: absolute; right: 0; top: -10px; background: var(--paper); padding-left: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); }

@media (max-width: 560px) { .custdev-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .custdev svg, .custdev .back { display: none; } .blueprint { grid-template-columns: 1fr 1fr; } .blueprint .rl { grid-column: 1 / -1; } .forces { grid-template-columns: 1fr; } }

/* ---------- Lab strip ---------- */
.lab { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lab > :first-child { flex: 1 1 340px; }
.lab .buttons { margin-top: 32px; }
.lab-icons { flex: 1 1 560px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lab-icons img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 22.37%; object-fit: cover; }
@media (max-width: 600px) { .lab-icons { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Split, prose, lists ---------- */
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > :first-child { flex: 0 1 380px; }
.split > :last-child { flex: 1 1 480px; min-width: 0; }
.prose { font-size: 1.2rem; line-height: 1.62; color: var(--text-2); max-width: 62ch; }
.prose p + p { margin-top: 20px; }
.prose a { color: var(--ink); font-weight: 600; }

.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 48px; border-top: 2px solid var(--ink); }
.rules div { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.rules h3 { font-size: 1.12rem; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 8px; }
.rules p { font-size: 0.98rem; line-height: 1.55; color: var(--text-2); }
@media (max-width: 980px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

.caplist { margin-top: 40px; border-top: 2px solid var(--ink); }
.caprow { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.caprow h3 { flex: 0 1 300px; font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 700; }
.caprow p { flex: 1 1 420px; font-size: 1.08rem; line-height: 1.6; color: var(--text-2); }

.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 2px solid var(--ink); }
.credits div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.credits b { display: block; font-weight: 700; letter-spacing: -0.01em; }
.credits span { display: block; margin-top: 2px; font-size: 0.95rem; color: var(--text-2); }
@media (max-width: 560px) { .credits { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 96px 0 72px; }
.page-hero .display { max-width: 15ch; }
.page-hero .lede { margin-top: 28px; }
.page-hero .buttons { margin-top: 36px; }
.phase-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.phase-nav a { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 24px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--white); transition: padding-top 0s; }
.phase-nav a span { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.phase-nav a:hover { color: var(--white); text-decoration: underline; }
.phase-nav .n1 { background: var(--p1); } .phase-nav .n2 { background: var(--p2); } .phase-nav .n3 { background: var(--p3); color: var(--ink); } .phase-nav .n4 { background: var(--p4); } .phase-nav .n5 { background: var(--p5); }
.phase-nav .n3:hover { color: var(--ink); }
@media (max-width: 760px) { .phase-nav { grid-template-columns: 1fr; } .phase-nav a { flex-direction: row; gap: 12px; align-items: baseline; padding: 16px var(--gutter); } }

/* ---------- Lifecycle bands (consulting) ---------- */
.always { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.always div { border-radius: 20px; padding: 20px 24px; background: var(--white); }
.always b { display: block; font-size: 1.1rem; letter-spacing: -0.02em; }
.always span { color: var(--text-2); }
@media (max-width: 760px) { .always { grid-template-columns: 1fr; } }

.band { padding: 88px 0 96px; }
.band-1 { background: var(--p1); color: var(--white); }
.band-2 { background: var(--p2); color: var(--white); }
.band-3 { background: var(--p3); color: var(--ink); }
.band-4 { background: var(--p4); color: var(--white); }
.band-5 { background: var(--p5); color: var(--white); }
.band-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 32px; align-items: end; margin-bottom: 48px; }
.band-head .num { font-size: clamp(4rem, 2rem + 6vw, 8rem); line-height: 0.82; font-weight: 300; letter-spacing: -0.05em; opacity: 0.72; font-variant-numeric: tabular-nums; }
.band-head h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.band-head p { grid-column: 2; font-size: 1.2rem; line-height: 1.5; max-width: 56ch; opacity: 0.92; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1.5px solid currentColor; padding-top: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .name { font-size: 14px; font-weight: 600; }
.step .q { font-size: 1.6rem; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.step .what { font-size: 1.02rem; line-height: 1.6; opacity: 0.92; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-size: 12.5px; font-weight: 600; border: 1.5px solid currentColor; padding: 4px 11px; border-radius: 999px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 28px; } .band-head { grid-template-columns: 1fr; } .band-head p { grid-column: 1; } .band { padding: 64px 0 72px; } }

.loop { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.loop .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 40px; padding-bottom: 40px; }
.loop img { width: 44px; height: 44px; }
.loop p { flex: 1 1 400px; font-size: 1.2rem; line-height: 1.5; }
.loop p span { color: var(--text-2); }

/* ---------- Studio ---------- */
.studio-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 80px 0 104px; }
.studio-hero .lede { margin-top: 28px; }
.studio-hero .buttons { margin-top: 36px; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 34px; }
.tile { position: relative; aspect-ratio: 1 / 1; margin: 0; }
.wall .tile:nth-child(4n+2), .wall .tile:nth-child(4n+4) { translate: 0 34px; }
.tile img { width: 100%; height: 100%; border-radius: 23%; box-shadow: 0 18px 30px -20px rgba(12, 22, 40, 0.45); transition: transform 220ms var(--ease-out); }
.tile figcaption { display: none; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--text-2); opacity: 0; transition: opacity 160ms ease; pointer-events: none; }
.wall .tile:nth-child(4n) figcaption { left: auto; right: 0; transform: none; }
.wall .tile:nth-child(4n+1) figcaption { left: 0; transform: none; }
.tile-ring { background: var(--paper); border-radius: 23%; display: grid; place-items: center; }
.tile-ring img { width: 64%; height: auto; box-shadow: none; border-radius: 0; }
.tile-yours { border: 2px dashed var(--p4); border-radius: 23%; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 14px; color: var(--p4); padding: 10px; }
.wall-reveal .tile { animation: tile-in 520ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 40ms + 120ms); }
@keyframes tile-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: translateY(-4px) rotate(-2deg); }
  .tile figcaption { display: block; }
  .tile:hover figcaption { opacity: 1; }
}
@media (max-width: 900px) { .studio-hero { grid-template-columns: 1fr; padding: 56px 0 72px; } .wall { gap: 12px; } .wall .tile:nth-child(4n+2), .wall .tile:nth-child(4n+4) { translate: 0 18px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters button { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--white); border: 1.5px solid #8A93AA; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: transform 140ms var(--ease-out), border-color 160ms ease; }
.filters button:hover { border-color: var(--ink); }
.filters button:active { transform: scale(0.97); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-top: 40px; }
.app { background: var(--white); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.app[hidden] { display: none; }
.app-top { display: flex; gap: 16px; align-items: center; }
.app-top img { width: 64px; height: 64px; border-radius: 15px; object-fit: cover; flex: 0 0 64px; }
.app-top .cat { font-size: 13px; font-weight: 600; color: var(--text-2); }
.app h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; margin-top: 2px; }
.app p { font-size: 1rem; line-height: 1.55; color: var(--text-2); flex: 1; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.app-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); border: 1.5px solid #8A93AA; padding: 8px 15px; border-radius: 999px; transition: transform 140ms var(--ease-out), border-color 160ms ease; }
.app-link:hover { color: var(--ink); border-color: var(--ink); }
.app-link:active { transform: scale(0.97); }
.app-link.primary { background: var(--p1); color: var(--white); border-color: var(--p1); }
.app-link.primary:hover { color: var(--white); background: var(--p1-ink); border-color: var(--p1-ink); }
.app-link.primary.alpha { background: var(--p2-tint); color: var(--p2-ink); border-color: var(--p2); }
.app-link.primary.alpha:hover { background: var(--p2); color: var(--white); border-color: var(--p2); }
.chip { font-size: 12.5px; font-weight: 600; color: var(--text-2); border: 1.5px dashed #A9B0C4; padding: 6px 12px; border-radius: 999px; }
.app-quiet { background: transparent; border: 2px dashed #C3C8D6; justify-content: center; }
.app-quiet .cat { font-size: 13px; font-weight: 600; color: var(--text-2); }

/* ---------- Contact band ---------- */
.contact { background: var(--ink); color: var(--white); padding: 120px 0 0; }
.site-foot { background: var(--ink); color: var(--fog); padding: 104px 0 56px; }
.site-foot a { color: var(--fog); }
.site-foot a:hover { color: var(--p3); }
.contact a { color: var(--white); }
.contact a:hover { color: var(--p3); }
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-grid > :first-child { flex: 1 1 360px; }
.contact h2 { font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; margin-bottom: 20px; }
.contact .copy { font-size: 1.15rem; line-height: 1.6; color: var(--fog); max-width: 40ch; }
.contact .mail { margin-top: 24px; font-weight: 600; }
.contact-spectrum { display: flex; gap: 6px; margin-top: 40px; }
.contact-spectrum i { height: 8px; flex: 1; border-radius: 2px; }
.contact-spectrum i:nth-child(1) { background: var(--p1); } .contact-spectrum i:nth-child(2) { background: var(--p2); } .contact-spectrum i:nth-child(3) { background: var(--p3); } .contact-spectrum i:nth-child(4) { background: var(--p4); } .contact-spectrum i:nth-child(5) { background: #E9ECF5; }
.contact-form { flex: 1 1 460px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--fog); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { font: inherit; font-size: 16px; color: var(--white); caret-color: var(--p3); background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color 160ms ease, background-color 160ms ease; }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(255, 255, 255, 0.6); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--white); background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 3px rgba(62, 92, 240, 0.6); }
.contact-form [aria-invalid="true"] { border-color: var(--p3); }
.field-error { font-size: 13.5px; font-weight: 600; color: var(--p3); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.botcheck { display: none; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.contact-form button { background: var(--white); color: var(--ink); border-color: var(--white); }
.contact-form button:hover { background: #E9ECF5; color: var(--ink); }
.form-status { font-size: 14px; font-weight: 600; color: var(--fog); }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--p3); }
.button-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.footer { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--fog); }
.footer img { height: 34px; width: auto; }
.footer a { color: var(--fog); }
.footer-tm { max-width: var(--max); margin: 16px auto 0; padding: 0 var(--gutter); font-size: 12px; line-height: 1.5; color: #7D879F; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 80px var(--gutter) 120px; }
.legal-back { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2); }
.legal h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; margin-top: 24px; }
.legal-meta { margin-top: 14px; color: var(--text-2); font-size: 15px; }
.legal-toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.legal-toc a { text-decoration: none; font-size: 15px; font-weight: 600; border: 1.5px solid #8A93AA; padding: 9px 16px; border-radius: 999px; }
.legal-toc a:hover { border-color: var(--ink); color: var(--ink); }
.legal-callout { background: var(--p1-tint); border-radius: 20px; padding: 22px 24px; font-size: 1rem; line-height: 1.6; }
.legal-section { margin-top: 64px; }
.legal-section h2 { font-size: 2.1rem; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 18px; padding-top: 18px; border-top: 2px solid var(--ink); }
.legal-section h3 { font-size: 1.15rem; letter-spacing: -0.015em; font-weight: 700; margin: 34px 0 10px; }
.legal-section p, .legal-section li { font-size: 1rem; line-height: 1.72; color: #343C51; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { padding-left: 22px; margin: 10px 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spectrum-reveal .col { animation: fade-in 200ms ease both; animation-delay: 0ms; }
  .wall-reveal .tile { animation: fade-in 200ms ease both; animation-delay: 0ms; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .button:active, .filters button:active, .app-link:active, .nav-sheet .nav-cta:active { transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
