/* Vyntra Studio — marketing site. Palette and voice follow the studio deck
   (Vyntra-Studio.pptx); severity pin colours follow Normhawk (app/src/styles.css). */

:root {
  --bg: #F5F5F7; --paper: #FFFFFF;
  --line: #E5E5EA; --line-2: #D1D1D6;
  --ink: #0A0A0A; --ink-2: #1D1D1F; --ink-3: #6E6E73; --ink-4: #8E8E93;
  --accent: #0A66E8; --accent-tint: #EEF4FF; --accent-ink: #0750BA;
  --red: #D93025; --amber: #C77700; --blue: #0A66E8; --grey: #8E8E93;
  --font: 'Inter', -apple-system, 'Segoe UI', system-ui, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, 'Courier New', monospace;
  --r: 6px; --r-lg: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1520px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 64px); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r); z-index: 20; }
.skip:focus { left: 8px; }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(40px, 5.2vw, 88px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(28px, 3.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; color: var(--ink); text-wrap: balance; max-width: 22ch; }
h2.big { font-size: clamp(34px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; max-width: 14ch; margin-bottom: 22px; }
h2.statement { font-size: clamp(30px, 4.4vw, 72px); line-height: 1.06; max-width: 22ch; }
h2.statement span { color: var(--ink-4); }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
h4 { font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
h3.sec { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 72px 0 24px; padding-top: 20px; border-top: 1px solid var(--ink); }
h3.sec.flush { margin-top: 0; }
.h-like { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.18; letter-spacing: -.02em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.eyebrow .sep { color: var(--line-2); }
.lead { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.sub { font-size: 17px; color: var(--ink-3); max-width: 42em; margin-top: 18px; text-wrap: pretty; }
.sub.tight { margin-top: 0; }
.fine { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.kicker { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin-top: 44px; }
.link { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 120ms; }
.link:hover { text-decoration-color: currentColor; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); margin-right: 4px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); white-space: nowrap; transition: background 120ms, border-color 120ms, transform 120ms var(--ease); }
.btn:hover { background: var(--bg); border-color: var(--ink-4); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #2A2A2D; border-color: #2A2A2D; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--line); border-color: var(--line); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245,245,247,.86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 60px; }
.wordmark { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.wordmark-mark { width: 26px; height: 26px; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--ink-3); }
.nav a { padding: 6px 0; transition: color 120ms; }
.nav a:hover { color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 76px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* ── Bands ──────────────────────────────────────────────────────────────── */
.band { padding: 104px 0; border-top: 1px solid var(--line); }
.band-white { background: var(--paper); }
.sec-gap { margin-top: 72px; }

.numbered { display: grid; gap: 0; margin-top: 52px; border-top: 1px solid var(--ink); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.numbered li, .steps li { padding: 22px 24px 0 0; }
.numbered li + li, .steps li + li { padding-left: 24px; border-left: 1px solid var(--line-2); }
.n { display: block; color: var(--accent-ink); font-weight: 500; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.numbered h3, .steps h4 { margin-bottom: 8px; }
.numbered p, .steps p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.steps { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps.four-up { grid-template-columns: repeat(4, 1fr); }
h3.sec + .steps { border-top: 0; }
h3.sec + .steps li { padding-top: 0; }
.steps.five-up { grid-template-columns: repeat(5, 1fr); margin-top: 52px; }

/* ── Normhawk ───────────────────────────────────────────────────────────── */
.nh-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.sheet { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 28px 56px -28px rgba(10,10,10,.3), 0 2px 6px rgba(10,10,10,.05); overflow: hidden; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); color: var(--ink-3); }
.sheet-bar .mono { font-size: 11px; letter-spacing: .05em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { flex-shrink: 0; font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); background: var(--paper); }
.sheet-svg { width: 100%; border-bottom: 1px solid var(--line); }
.findings li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; }
.findings li:last-child { border-bottom: 0; }
.findings li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.findings strong { font-weight: 500; }
.findings em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.pin { flex-shrink: 0; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 600; margin-top: 1px; }
.pin-red { background: var(--red); } .pin-amber { background: var(--amber); } .pin-blue { background: var(--blue); } .pin-grey { background: var(--grey); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 1px solid var(--ink); }
.stat { padding: 28px 24px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stat-n { font-size: clamp(32px, 4vw, 52px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-l { font-size: 14px; line-height: 1.4; color: var(--ink-3); max-width: 22ch; }
.stats-foot { color: var(--ink-3); font-size: 11px; margin-top: 6px; }

.cards { display: grid; gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; transition: border-color 160ms; }
.card:hover { border-color: var(--line-2); }
.card h4 { margin-bottom: 8px; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.card.plain { background: var(--paper); border-left: 3px solid var(--accent); border-radius: var(--r); }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tile { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; }
.count { color: var(--ink-3); }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.split h3.sec { margin-bottom: 24px; }
.rules li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-3); }
.rules li:first-child { border-top-color: var(--ink); }
.rules li:last-child { border-bottom: 1px solid var(--line); }

.table-wrap { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 600px; }
thead th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 14px 20px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
tbody th, tbody td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 500; color: var(--ink); }
tbody th span { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
tbody td { color: var(--ink-3); }
thead th.r, .r { text-align: right; white-space: nowrap; }
td.r.mono { font-size: 13px; color: var(--ink); }
#work .table-wrap { margin-top: 44px; }

/* ── Labs ───────────────────────────────────────────────────────────────── */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.agent { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.agent > img, .agent-art { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-bottom: 1px solid var(--line); background: #fff; }
.agent-art svg { width: 100%; height: 100%; }
.agent-nh { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.agent-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tag { color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-bottom: 12px; }
.agent h3 { margin-bottom: 10px; }
.agent p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.agent dl { margin-top: auto; padding-top: 20px; }
.agent dl div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.agent dt { color: var(--ink-3); }
.agent dd { color: var(--ink-2); }

/* ── Principle / studio ─────────────────────────────────────────────────── */
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 52px; border-top: 1px solid var(--ink); }
.two-lists > div { padding: 24px 32px 0 0; }
.two-lists > div + div { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line-2); }
.two-lists h3 { margin-bottom: 14px; }
.two-lists li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.two-lists > div:first-child li { color: var(--ink-3); }
.stack { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink-3); line-height: 1.9; }
.stack span { display: inline-block; margin-right: 16px; color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }

/* ── Close + footer ─────────────────────────────────────────────────────── */
.close { background: var(--ink); color: #fff; padding: 104px 0; }
.close h2 { color: #fff; max-width: 18ch; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.on-dark.eyebrow { color: rgba(255,255,255,.55); }
.on-dark.sub { color: rgba(255,255,255,.72); }
.close address { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.close address strong { color: #fff; }
.close address .mono { color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin-bottom: 8px; }
.close address .social { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.close address .link { color: #fff; padding: 4px 0; }
.foot { background: var(--ink); color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.foot .link { color: rgba(255,255,255,.8); }
.foot .mono { font-size: 11px; }

/* ── Hero video ─────────────────────────────────────────────────────────── */
.hero-video { justify-self: center; width: min(100%, 400px, calc((100vh - 230px) * 9 / 16)); min-width: 260px; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 28px 56px -28px rgba(10,10,10,.35), 0 2px 6px rgba(10,10,10,.06); }
.hero-video figcaption { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  html { scroll-padding-top: 112px; }
  .top-row { flex-wrap: wrap; height: auto; gap: 0 16px; padding-top: 11px; justify-content: space-between; }
  .nav { order: 3; width: 100%; margin: 10px 0 0; gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 11px 0; }
  .hero { padding: 44px 0 56px; }
  .hero-grid, .nh-head, .split, .close-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-video { width: min(100%, 340px); }
  .band, .close { padding: 72px 0; }
  .agents, .cards.three { grid-template-columns: 1fr; }
  .agent { flex-direction: row; }
  .agent > img, .agent-art { width: 38%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); object-fit: contain; }
  .cards.four, .grid-4, .grid-3, .steps.four-up, .steps.five-up, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .numbered, .steps { column-gap: 28px; }
  .numbered li, .steps li, .numbered li + li, .steps li + li { padding: 22px 0 24px; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .stats-row { column-gap: 28px; margin-top: 56px; }
  .stat, .stat + .stat { padding: 24px 0 20px; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .close address { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  /* tables become one compact card per row: label above value, two per line */
  table { min-width: 0; font-size: 14.5px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px 16px; padding: 18px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  tbody th, tbody td { display: block; padding: 0; border: 0; text-align: left; }
  tbody th { grid-column: 1 / -1; font-size: 16px; }
  tbody td, td.r.mono { color: var(--ink-2); font-size: 14px; }
  tbody td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  .r { white-space: normal; text-align: left; }
  .table-wrap { overflow: visible; }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .hero .eyebrow { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero .eyebrow .sep { display: none; }
  .band, .close { padding: 60px 0; }
  .cards.four, .grid-4, .grid-3, .steps.four-up, .steps.five-up, .two-lists { grid-template-columns: 1fr; }
  .numbered, .steps.five-up, .two-lists, .agents { margin-top: 36px; }
  .two-lists > div, .two-lists > div + div { padding: 24px 0 0; border-left: 0; }
  .two-lists > div + div { margin-top: 28px; border-top: 1px solid var(--ink); }
  .agent { flex-direction: column; }
  .agent > img, .agent-art { width: 100%; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-row .btn { flex: 1 1 100%; }
  h3.sec { margin-top: 56px; }
  h3.sec + .steps li, h3.sec + .steps li + li { padding-top: 0; }
  h3.sec + .steps li + li { padding-top: 22px; }
  .sec-gap { margin-top: 56px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .findings li { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 359px) {
  .top-row .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* eyebrow with a status dot: keep the dot on the first line of the label */
.eyebrow:has(.dot) { flex-wrap: nowrap; align-items: flex-start; line-height: 1.5; }
.eyebrow .dot { flex-shrink: 0; margin-top: 5px; }
@media (max-width: 600px) {
  .nav { gap: 10px; justify-content: space-between; font-size: 13px; }
}
@media (max-width: 1000px) {
  h1 { font-size: clamp(38px, 7.4vw, 60px); }
  h3.sec + .steps li, h3.sec + .steps li + li { padding-top: 22px; }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(36px, 10.5vw, 44px); }
}

h2.wide { max-width: none; text-wrap: pretty; }

/* OSMosis section: the screenshot fills its sheet */
.os-shot a { display: block; }
.os-shot img { display: block; width: 100%; height: auto; border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* legal pages (instagram-privacy) */
.legal { max-width: 760px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }
.legal h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 12px; }
.legal .legal-date { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -.015em; max-width: none; margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: none; padding: 0; margin: 12px 0 14px; }
.legal li + li { margin-top: 8px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.top-back { margin-left: auto; }
