/* ==========================================================
   Sokovialabs — design system v2
   Editorial, calm, illustrated. Own palette and type.
   ========================================================== */

:root {
  --bg: #f6f4ef;
  --bg-2: #eeebe3;
  --surface: #fbfaf7;
  --ink: #18181a;
  --ink-2: #303033;
  --muted: #6b6a66;
  --line: #dedad0;
  --line-2: #cfc9bc;

  --blue: #2260ad;
  --blue-deep: #143a6b;
  --blue-soft: #d4e3f3;
  --sky: #e3edf7;
  --sand: #e8dfcd;
  --sage: #d3ddcf;
  --stone: #dcd8cf;
  --dusk: #c9cfe0;
  --night: #131416;
  --night-2: #1d1f22;
  --night-line: #2f3236;
  --night-text: #e9e6df;
  --night-muted: #9c9a94;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; }

/* ---------- Type ---------- */
.t-hero { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.8vw, 100px); line-height: 1.02; letter-spacing: -0.03em; }
.t-1 { font-family: var(--serif); font-size: clamp(40px, 5.2vw, 72px); line-height: 1.06; letter-spacing: -0.025em; }
.t-2 { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -0.02em; }
.t-3 { font-family: var(--serif); font-size: clamp(23px, 2vw, 28px); line-height: 1.22; letter-spacing: -0.01em; }
.t-4 { font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; }
.lede { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.55; color: var(--ink-2); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker--blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans);
  padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s, border-color .25s; cursor: pointer;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--light { background: var(--night-text); color: var(--night); border-color: var(--night-text); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn--line-light { background: transparent; color: var(--night-text); border-color: var(--night-line); }
.btn--line-light:hover { background: var(--night-text); color: var(--night); border-color: var(--night-text); }

.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; transition: gap .25s var(--ease), color .2s; }
.more svg { width: 14px; height: 14px; }
.more:hover { gap: 12px; color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(246, 244, 239, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { height: 74px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--sans); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a:not(.btn) { font-size: 15px; color: var(--ink-2); padding: 6px 0; position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); }
.nav-links .btn { padding: 11px 18px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 20px; }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; font-size: 21px; font-family: var(--serif); }
  .nav-links a[aria-current="page"]::after { display: none; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec--sm { padding: clamp(48px, 6vw, 88px) 0; }
.sec--alt { background: var(--bg-2); }
.sec--night { background: var(--night); color: var(--night-text); }
.sec--night .muted, .sec--night .lede { color: var(--night-muted); }
.sec--night .kicker { color: var(--night-muted); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head .kicker { grid-column: 1 / -1; }
.head p { margin: 0; max-width: 46ch; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split.center-y { align-items: center; }
@media (max-width: 860px) { .split, .split--7-5, .split--5-7 { grid-template-columns: 1fr; } }

/* ---------- Home hero ---------- */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px 72px; align-items: end; }
.hero-grid .t-hero em { font-style: italic; color: var(--blue); }
.hero-side { display: flex; flex-direction: column; gap: 26px; padding-bottom: 10px; }
.hero-side .lede { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero ---------- */
.phero { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
.phero .kicker { display: block; margin-bottom: 26px; }
.phero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 80px; align-items: end; }
.phero-grid .lede { margin: 0; }
@media (max-width: 960px) { .phero-grid { grid-template-columns: 1fr; } }

/* ---------- Showcase ---------- */
.showcase { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(340px, 46vw, 620px); background: var(--sky); display: grid; place-items: center; }
.showcase svg.art { width: 100%; height: 100%; position: absolute; inset: 0; }
.showcase .mark { position: relative; width: clamp(160px, 24vw, 320px); filter: drop-shadow(0 30px 40px rgba(20, 58, 107, .22)); animation: float 10s ease-in-out infinite; }
.showcase .cap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; gap: 12px; align-items: end; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 250, 247, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-2); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-slow { transform-origin: center; transform-box: fill-box; animation: spin 90s linear infinite; }
.spin-rev { transform-origin: center; transform-box: fill-box; animation: spin 120s linear infinite reverse; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.pulse { animation: pulse 3.2s ease-in-out infinite; }
.pulse-2 { animation: pulse 3.2s ease-in-out 1s infinite; }
.pulse-3 { animation: pulse 3.2s ease-in-out 2s infinite; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .tiles, .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tiles, .tiles--2, .tiles--4 { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; gap: 16px; }
.tile .pic { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; position: relative; background: var(--sand); display: grid; place-items: center; }
.tile .pic svg { width: 60%; height: auto; transition: transform .6s var(--ease); }
.tile:hover .pic svg { transform: scale(1.06) rotate(-2deg); }
.tile .t-3 { transition: color .2s; margin-top: 4px; }
a.tile:hover .t-3 { color: var(--blue); }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.bg-sky { background: var(--sky) !important; }
.bg-sand { background: var(--sand) !important; }
.bg-sage { background: var(--sage) !important; }
.bg-stone { background: var(--stone) !important; }
.bg-dusk { background: var(--dusk) !important; }
.bg-blue { background: var(--blue-soft) !important; }
.bg-night { background: var(--night-2) !important; }

.feature-tile { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.feature-tile .pic { min-height: 440px; display: grid; place-items: center; background: var(--sky); position: relative; }
.feature-tile .pic svg { width: min(52%, 280px); }
.feature-tile .pic img { width: 40%; }
.feature-tile .body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.feature-tile .body p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .feature-tile { grid-template-columns: 1fr; } .feature-tile .pic { min-height: 280px; } }

/* ---------- Statement ---------- */
.statement { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; letter-spacing: -0.02em; max-width: 24ch; }
.statement .soft { color: var(--muted); }
.sec--night .statement .soft { color: var(--night-muted); }

/* ---------- Lists ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1.15fr; gap: 12px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.row p { margin: 0; color: var(--muted); }
.sec--night .rows, .sec--night .row { border-color: var(--night-line); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.col { padding: 30px 28px 10px 0; }
.col + .col { padding-left: 28px; border-left: 1px solid var(--line); }
.col p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }
.col .kicker { display: block; margin-bottom: 18px; }
.sec--night .cols, .sec--night .col + .col { border-color: var(--night-line); }
@media (max-width: 900px) {
  .cols, .cols--4 { grid-template-columns: 1fr; }
  .col + .col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .sec--night .col + .col { border-top-color: var(--night-line); }
}

/* ---------- Product UI mock ---------- */
.app { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(19, 20, 22, .35); overflow: hidden; font-size: 15px; }
.sec--night .app { background: #1a1c1f; border-color: var(--night-line); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sec--night .app-bar { border-color: var(--night-line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.sec--night .app-bar i { background: #3a3d42; }
.app-bar span { margin-left: 10px; font-size: 13px; color: var(--muted); }
.sec--night .app-bar span { color: var(--night-muted); }
.app-body { padding: 26px; display: flex; flex-direction: column; gap: 18px; min-height: 330px; }
.msg { max-width: 84%; padding: 14px 18px; border-radius: 16px; line-height: 1.55; }
.msg--user { align-self: flex-end; background: var(--bg-2); border-bottom-right-radius: 6px; }
.sec--night .msg--user { background: #2a2d31; color: var(--night-text); }
.msg--ai { align-self: flex-start; display: flex; gap: 12px; padding: 0; max-width: 92%; }
.msg--ai .av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--sans); }
.msg--ai .txt { padding-top: 4px; }
.sec--night .msg--ai .txt { color: var(--night-text); }
.msg--ai ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }
.msg--ai li + li { margin-top: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pulse 1.2s ease-in-out infinite; }
.typing b:nth-child(2) { animation-delay: .2s; }
.typing b:nth-child(3) { animation-delay: .4s; }
.app-input { margin: 0 26px 26px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 12px 16px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.sec--night .app-input { border-color: var(--night-line); color: var(--night-muted); }
.app-input .send { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; color: var(--bg); }
.sec--night .app-input .send { background: var(--night-text); color: var(--night); }
.app-input .send svg { width: 14px; height: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--blue); }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step .t-3 { margin-top: auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* ---------- Horizons ---------- */
.horizons { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.horizons::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--night-line); }
.hz { padding: 0 28px 0 0; position: relative; }
.hz::before { content: ""; display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 1.5px solid var(--night-text); margin-bottom: 30px; position: relative; }
.hz:first-child::before { background: #6aa6e6; border-color: #6aa6e6; box-shadow: 0 0 0 6px rgba(106,166,230,.18); }
.hz .kicker { display: block; margin-bottom: 14px; }
.hz p { color: var(--night-muted); margin: 14px 0 0; }
@media (max-width: 860px) { .horizons { grid-template-columns: 1fr; gap: 40px; } .horizons::before { display: none; } }

/* ---------- Essay ---------- */
.essay p { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.65; color: var(--ink-2); }
.essay > p:first-child::first-letter { font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--blue); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.015em; border-left: 2px solid var(--blue); padding-left: 28px; margin: 48px 0; color: var(--ink); }

/* ---------- Partner trio ---------- */
.trio { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 20px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.node .disc { width: clamp(110px, 13vw, 160px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.node .disc img { width: 56%; height: 56%; object-fit: contain; }
.node .disc--dark { background: var(--night); border-color: var(--night); color: var(--night-text); font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.05; }
.node p { color: var(--muted); font-size: 15px; margin: 0; max-width: 24ch; }
.link-line { width: clamp(40px, 8vw, 120px); height: 1px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 5px, transparent 5px 10px); position: relative; margin-top: clamp(55px, 6.5vw, 80px); }
.link-line::after { content: ""; position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); animation: travel 4s var(--ease) infinite; }
@keyframes travel { 0% { left: 0; } 50% { left: 100%; } 100% { left: 0; } }
@media (max-width: 700px) {
  .trio { grid-template-columns: 1fr; justify-items: center; }
  .link-line { width: 1px; height: 40px; margin: 0; background: repeating-linear-gradient(180deg, var(--ink-2) 0 5px, transparent 5px 10px); }
  .link-line::after { animation: none; left: 50%; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 62ch; padding-bottom: 26px; margin: 0; }

/* ---------- Jobs ---------- */
.job { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s; }
.job:hover { padding-left: 16px; padding-right: 16px; background: var(--surface); }
.job .t-3 { font-size: 23px; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 96, 173, .12); }
.card { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 28px; }
.card + .card { margin-top: 16px; }
.card .t-4 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-lg); background: var(--night); color: var(--night-text); overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; }
.cta-band .body { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 24px; }
.cta-band .body p { color: var(--night-muted); margin: 0; max-width: 42ch; }
.cta-band .art { position: relative; min-height: 320px; }
.cta-band .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .art { min-height: 220px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 88px 0 36px; font-size: 15px; border-top: 1px solid var(--line); overflow: hidden; }
.f-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.f-brand p { color: var(--muted); max-width: 30ch; margin-top: 18px; }
.f-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 400; }
.f-col ul { display: grid; gap: 12px; }
.f-col a { color: var(--ink-2); transition: color .2s; }
.f-col a:hover { color: var(--blue); }
.f-word { font-family: var(--serif); font-size: clamp(60px, 15vw, 230px); line-height: .85; letter-spacing: -0.045em; color: var(--bg-2); margin: 80px 0 0; white-space: nowrap; user-select: none; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utils ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.gap-y { display: flex; flex-direction: column; gap: 22px; }
.tc { text-align: center; }

/* ===== v5 refinements ===== */

/* Section labels: plain, sentence case, no bars or dots */
.kicker {
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  text-transform: none; color: var(--blue); display: inline-block;
}
.kicker::before { content: none; }
.kicker--blue { color: var(--blue); }
.sec--night .kicker, .cta-band .kicker { color: #8fbcec; }
.tile .kicker, .col .kicker, .hz .kicker { font-size: 14px; color: var(--muted); font-weight: 500; }
.sec--night .col .kicker, .sec--night .hz .kicker { color: var(--night-muted); }

/* Calm hover on illustrations (no tilt) */
.tile:hover .pic svg { transform: scale(1.04); }

/* Footer */
.site-footer { background: var(--night); color: var(--night-muted); border-top: 0; padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); font-size: 15px; }
.site-footer .brand { color: var(--night-text); }
.f-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px 64px; }
.f-left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.f-legal { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: var(--night-muted); }
.f-social { display: flex; gap: 10px; }
.soc-i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--night-text); background: #1d1f22; border: 1px solid var(--night-line); transition: background .2s, color .2s, border-color .2s; }
.soc-i svg { width: 18px; height: 18px; }
.soc-i:hover { background: var(--night-text); color: var(--night); border-color: var(--night-text); }
.f-groups { border-top: 1px solid var(--night-line); }
.f-acc { border-bottom: 1px solid var(--night-line); }
.f-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; color: var(--night-text); font-size: 16px; }
.f-acc summary::-webkit-details-marker { display: none; }
.f-acc .chev { width: 16px; height: 16px; color: var(--night-muted); transition: transform .25s var(--ease); }
.f-acc[open] .chev { transform: rotate(180deg); }
.f-acc ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 24px; padding: 0 0 22px; }
.f-acc a, .f-meta a { color: var(--night-muted); transition: color .2s; }
.f-acc a:hover, .f-meta a:hover { color: var(--night-text); }
.f-meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 48px; margin-top: 56px; }
.f-meta h4 { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--night-text); margin-bottom: 10px; }
.f-meta p { margin: 0; line-height: 1.65; }
.f-meta ul { display: grid; gap: 10px; }
@media (max-width: 860px) {
  .f-grid { grid-template-columns: 1fr; }
  .f-left { order: 2; }
  .f-meta { grid-template-columns: 1fr; margin-top: 40px; }
}

/* Contact: reach cards */
.reach { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reach-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; min-height: 220px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s var(--ease); overflow: hidden; }
.reach-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(19,20,22,.35); }
.reach-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--bg); margin-bottom: auto; }
.reach-icon svg { width: 24px; height: 24px; }
.reach-card:nth-child(1) .reach-icon { background: var(--blue); color: #fff; }
.reach-name { font-family: var(--serif); font-size: 26px; letter-spacing: -0.01em; margin-top: 28px; }
.reach-handle { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.reach-go { position: absolute; top: 24px; right: 26px; font-size: 20px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.reach-card:hover .reach-go { transform: translate(3px, -3px); color: var(--blue); }
@media (max-width: 1020px) { .reach { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reach { grid-template-columns: 1fr; } .reach-card { min-height: 0; } }

/* Responsive polish */
html, body { overflow-x: hidden; }
img, svg { height: auto; }
.t-hero, .t-1, .t-2, .statement { overflow-wrap: break-word; }
@media (max-width: 960px) {
  .hero-side { padding-bottom: 0; }
  .feature-tile .pic { min-height: 260px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .sec--sm { padding: 40px 0; }
  .hero { padding: 40px 0 36px; }
  .phero { padding: 48px 0 28px; }
  .head { margin-bottom: 32px; }
  .t-hero { font-size: clamp(40px, 11vw, 56px); }
  .t-1 { font-size: clamp(34px, 9.5vw, 46px); }
  .t-2 { font-size: clamp(28px, 7.6vw, 36px); }
  .statement { font-size: clamp(26px, 7vw, 34px); }
  .lede { font-size: 18px; }
  .showcase { min-height: 300px; border-radius: 20px; }
  .showcase .mark { width: 150px; }
  .tile .pic { aspect-ratio: 16 / 10; }
  .tile .pic svg { width: 44%; }
  .step { padding: 24px; }
  .row { padding: 24px 0; }
  .split.center-y .rows .row { grid-template-columns: 48px 1fr !important; }
  .cta-band .body { padding: 32px 24px; }
  .cta-band .art { min-height: 160px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .job:hover { padding-left: 0; padding-right: 0; background: none; }
  .essay p { font-size: 18px; }
  .pull { font-size: 24px; padding-left: 18px; margin: 32px 0; }
  .faq summary { font-size: 19px; padding: 20px 0; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 400px) {
  .brand span { font-size: 17px; }
  .cols .col { padding-right: 0; }
}
@media (max-width: 520px) {
  .reach-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 20px; }
  .reach-icon { grid-row: span 2; margin: 0; }
  .reach-name { margin: 0; font-size: 22px; }
  .reach-go { top: 50%; right: 20px; transform: translateY(-50%); }
  .reach-card:hover .reach-go { transform: translate(3px, -50%); }
}

/* ===== v6: creative hero field ===== */
.bondfield {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: clamp(380px, 48vw, 640px);
  background:
    radial-gradient(60% 70% at 50% 45%, #1f5fb0 0%, rgba(31,95,176,0) 70%),
    radial-gradient(40% 50% at 85% 15%, rgba(120,190,255,.35), transparent 70%),
    radial-gradient(45% 55% at 10% 90%, rgba(40,70,160,.55), transparent 70%),
    linear-gradient(160deg, #07142a 0%, #0c2347 55%, #0a1a36 100%);
  isolation: isolate;
}
.bondfield canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.bondfield::after { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.8'/></svg>");
}
.bf-glow { position: absolute; left: 50%; top: 46%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(170,215,255,.55) 0%, rgba(90,160,240,.18) 40%, transparent 70%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }
.bf-mark { position: absolute; left: 50%; top: 46%; width: clamp(150px, 22vw, 290px); transform: translate(-50%, -50%); z-index: 2; pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)) saturate(1.15) brightness(1.08); animation: bfFloat 10s ease-in-out infinite; }
@keyframes bfFloat { 0%,100% { transform: translate(-50%,-50%) rotate(0deg); } 50% { transform: translate(-50%,-54%) rotate(4deg); } }
.bf-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: clamp(20px, 3vw, 36px); pointer-events: none; }
.bf-title { margin: 0; font-family: var(--serif); color: #f3f1ec; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.bf-title em { color: #9cc8f5; }
.bf-hint { margin: 0; color: rgba(233,230,223,.7); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.bf-dot { width: 7px; height: 7px; border-radius: 50%; background: #9cc8f5; box-shadow: 0 0 0 0 rgba(156,200,245,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(156,200,245,.6); } 100% { box-shadow: 0 0 0 10px rgba(156,200,245,0); } }

/* ===== v6: creative CTA band ===== */
.cta-band { position: relative; isolation: isolate; background: #0b0d12; }
.cta-band .art { position: relative; min-height: 340px; overflow: hidden; }
.aurora { position: absolute; inset: -20%; filter: blur(48px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora .a1 { width: 55%; height: 60%; left: 30%; top: 15%; background: #2260ad; animation: drift1 14s ease-in-out infinite; }
.aurora .a2 { width: 45%; height: 50%; left: 50%; top: 45%; background: #5fb3ff; opacity: .7; animation: drift2 18s ease-in-out infinite; }
.aurora .a3 { width: 40%; height: 45%; left: 20%; top: 50%; background: #6b4fd8; opacity: .55; animation: drift3 16s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12%, 10%) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18%, -14%) scale(.9); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(16%, -10%) scale(1.2); } }
.cta-orbit { position: absolute; left: 55%; top: 50%; width: 0; height: 0; }
.cta-orbit span { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); transform: translate(-50%,-50%) rotateX(68deg) rotateZ(0deg); animation: orbitSpin 22s linear infinite; }
.cta-orbit .o1 { width: 260px; height: 260px; }
.cta-orbit .o2 { width: 360px; height: 360px; animation-duration: 32s; animation-direction: reverse; border-style: dashed; border-color: rgba(156,200,245,.3); }
.cta-orbit .o3 { width: 470px; height: 470px; animation-duration: 44s; border-color: rgba(255,255,255,.1); }
.cta-orbit span::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: #cfe5ff; box-shadow: 0 0 16px 4px rgba(156,200,245,.8); }
@keyframes orbitSpin { to { transform: translate(-50%,-50%) rotateX(68deg) rotateZ(360deg); } }
.cta-mark { position: absolute; left: 55%; top: 50%; width: 150px; transform: translate(-50%,-50%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)) brightness(1.1); animation: bfFloat 9s ease-in-out infinite; }
.cta-band .body { position: relative; z-index: 2; }
@media (max-width: 860px) {
  .cta-band .art { min-height: 220px; order: -1; }
  .cta-orbit, .cta-mark { left: 50%; }
  .cta-mark { width: 110px; }
  .cta-orbit .o1 { width: 190px; height: 190px; } .cta-orbit .o2 { width: 270px; height: 270px; } .cta-orbit .o3 { width: 350px; height: 350px; }
}

/* ===== v6: refined small screens ===== */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { height: 60px; }
  .nav-links { inset: 60px 0 auto 0; }
  .brand { font-size: 17px; } .brand img { width: 26px; height: 26px; }
  .nav-links a:not(.btn) { font-size: 17px; font-family: var(--sans); padding: 14px 0; }
  .wrap { padding: 0 20px; }
  .sec { padding: 52px 0; } .sec--sm { padding: 32px 0; }
  .hero { padding: 28px 0 24px; } .phero { padding: 36px 0 20px; }
  .phero .kicker { margin-bottom: 14px; }
  .t-hero { font-size: clamp(32px, 8.6vw, 40px); line-height: 1.08; }
  .t-1 { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.1; }
  .t-2 { font-size: clamp(24px, 6.4vw, 30px); }
  .t-3 { font-size: 20px; }
  .statement { font-size: clamp(22px, 6vw, 28px); }
  .lede { font-size: 16px; line-height: 1.55; }
  .kicker { font-size: 13.5px; }
  .head { gap: 12px; margin-bottom: 24px; }
  .hero-grid { gap: 20px; } .hero-side { gap: 18px; }
  .btn { padding: 11px 16px; font-size: 14px; }
  .actions { gap: 8px; }
  .actions .btn { flex: 0 1 auto; }
  /* compact tiles: picture left, text right */
  .tiles { gap: 14px; }
  .tile { display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .tile .pic { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: 12px; width: 84px; }
  .tile .pic svg { width: 70%; }
  .tile .kicker { font-size: 12.5px; }
  .tile .t-3 { margin: 0; font-size: 18px; }
  .tile p { font-size: 14px; line-height: 1.5; }
  .feature-tile .pic { min-height: 200px; }
  .bondfield { min-height: 360px; border-radius: 20px; }
  .bf-mark { width: 150px; top: 40%; } .bf-glow { width: 70%; top: 40%; }
  .bf-copy { flex-direction: column; align-items: flex-start; }
  .bf-title { font-size: 24px; }
  .rows .row { padding: 18px 0; }
  .col { padding: 20px 0 8px; }
  .col p, .step p, .card p, .row p { font-size: 14.5px; }
  .step { padding: 20px; gap: 10px; }
  .essay p { font-size: 17px; }
  .job .t-3 { font-size: 19px; } .job { padding: 18px 0; }
  .cta-band { border-radius: 20px; }
  .cta-band .body { padding: 26px 22px 30px; gap: 16px; }
  .faq summary { font-size: 17px; padding: 16px 0; }
  .reach-name { font-size: 19px; }
  /* footer like a calm list */
  .site-footer { padding: 40px 0 32px; font-size: 14px; }
  .f-acc summary { font-size: 15px; padding: 14px 0; color: #cfccc4; }
  .f-acc ul { grid-template-columns: 1fr 1fr; gap: 10px 16px; padding-bottom: 16px; font-size: 14px; }
  .f-meta { margin-top: 32px; gap: 22px; }
  .f-meta h4 { font-size: 14px; margin-bottom: 6px; }
  .f-meta p, .f-meta li { font-size: 14px; }
  .f-left { gap: 20px; }
  .site-footer .brand { font-size: 16px; } .site-footer .brand img { width: 24px; height: 24px; }
  .f-legal { flex-direction: row; justify-content: space-between; align-items: center; font-size: 13px; }
  .soc-i { width: 32px; height: 32px; background: none; border: 0; border-radius: 8px; }
  .soc-i svg { width: 18px; height: 18px; }
  .f-social { gap: 4px; }
}
@media (min-width: 861px) { .cta-band .art { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); } }

/* ===== v7: atom orbit CTA ===== */
.cta-orbit { display: none; }
.cta-band .art svg.cta-atom { position: absolute; inset: auto; left: 55%; top: 50%; width: 440px; height: 440px; transform: translate(-50%,-50%); overflow: visible; }
.cta-atom .spin { transform-origin: 0 0; animation: atomSpin 60s linear infinite; }
.cta-atom .halo { transform-origin: 0 0; animation: haloPulse 6s ease-in-out infinite; }
@keyframes atomSpin { to { transform: rotate(360deg); } }
@keyframes haloPulse { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.cta-mark { width: 130px; z-index: 1; }
@media (max-width: 860px) {
  .cta-band .art svg.cta-atom { left: 50%; width: 300px; height: 300px; }
  .cta-mark { width: 92px; }
}
@media (prefers-reduced-motion: reduce) { .cta-atom .spin, .cta-atom .halo { animation: none; } }
