/* Synapex Labs.
 *
 * Deliberately built AGAINST the default "AI landing page" look, which is a real and
 * documented convergence: models trained on 2019-2024 web code overwhelmingly reproduce
 * Tailwind's indigo-500 default, so the median generated site is a violet gradient, a
 * glassmorphic card grid, gradient text, and glowing orbs behind the hero. Tailwind's
 * own author publicly apologised for that default in 2025. The first version of this
 * site hit essentially every one of those marks.
 *
 * What changed, and why:
 *   No violet. One cold accent, used sparingly, never as a gradient.
 *   No gradient text. Headings are a solid colour.
 *   No glassmorphism. Panels are solid with hairline borders.
 *   No coloured glow shadows.
 *   No radial "orbs" behind the hero.
 *   Tighter corner radii. 14px+ everywhere reads soft and toy-like.
 *   Restraint on bold. Weight 500/600 carries hierarchy, not 700 everywhere.
 *
 * The starfield stays because it is specific to this brand rather than a generic tell,
 * but it is dimmer and no longer sits under a coloured wash.
 */

:root {
  --bg:        #0a0c10;
  --panel:     #10131a;
  --panel-2:   #151922;
  --line:      #242a36;
  --line-lit:  #38404f;

  --ink:       #e7eaf0;
  --ink-2:     #9aa4b4;
  --ink-3:     #6b7383;

  /* Single accent. Cold steel-cyan rather than indigo/violet. */
  --accent:     #5fb8c4;
  --accent-lit: #74c9d4;
  --accent-dim: #2f6d75;
  --accent-ink: #08262a;

  --maxw: 900px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --fs-hero:  clamp(28px, 3.8vw, 40px);
  --fs-h2:    clamp(20px, 2.3vw, 25px);
  --fs-h3:    17px;
  --fs-body:  15.5px;
  --fs-small: 14px;
  --fs-label: 11.5px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* No overflow-x here. On <body> it forces overflow-y to auto, making BODY the scroll
     container instead of the viewport, which pins window.scrollY at 0 and makes mobile
     scrolling feel stuck. */
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.011em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

a { color: inherit; }
p { margin: 0 0 14px; }
strong { font-weight: 600; color: var(--ink); }

/* Starfield. pointer-events:none is load-bearing: the canvas is fixed and covers the
   viewport, so without it every touch on empty background hits the canvas instead of
   the page, and a fixed element does not scroll. */
#starfield {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  pointer-events: none;
  opacity: .5;
}

/* Plain vertical fade so text stays readable lower down. No coloured radial orbs. */
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(10,12,16,.55) 42%, var(--bg) 88%);
}

.nav, main, .foot, .support { position: relative; z-index: 2; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px clamp(16px, 5vw, 40px);
  background: rgba(10,12,16,.94);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

/* Solid mark with a monospace glyph. No conic gradient, no glow. */
.mark {
  width: 22px; height: 22px; flex: none;
  border-radius: 4px;
  border: 1px solid var(--line-lit);
  background: var(--panel-2);
  position: relative;
}
.mark::after {
  content: 'S';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--accent);
}

.brand-name { font-size: 15px; font-weight: 500; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  font-size: var(--fs-small); color: var(--ink-2); text-decoration: none;
  padding: 7px 11px; border-radius: 5px;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--panel); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--panel-2); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  color: var(--ink); border-radius: 6px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer; line-height: 0;
}

/* Page shell */
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 68px) clamp(18px, 5vw, 40px) clamp(52px, 8vh, 80px);
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--fs-label);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
}

.page-title { font-size: var(--fs-h2); margin-bottom: 10px; }
.page-intro { color: var(--ink-2); max-width: 62ch; margin-bottom: 32px; }

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* Hero. Solid heading colour with one accented clause, not gradient text. */
.hero { padding-top: clamp(52px, 11vh, 92px); }
.hero h1 { font-size: var(--fs-hero); margin-bottom: 16px; max-width: 19ch; }
.hero h1 .accent { color: var(--accent); }
.lede { font-size: 16px; color: var(--ink-2); max-width: 58ch; margin-bottom: 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; min-height: 44px;
  border-radius: 6px;
  font-size: var(--fs-small); font-weight: 500;
  text-decoration: none;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-lit); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-lit); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--panel); }

.arrow { transition: transform .16s var(--ease); }
.btn:hover .arrow, .card-link:hover .arrow, .next-link:hover .arrow { transform: translateX(3px); }

/* Cards. Solid, hairline-bordered, no blur, no lift-on-hover bounce. */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }

.card {
  position: relative;
  padding: 22px 20px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color .18s var(--ease);
}
.card:hover { border-color: var(--line-lit); }
.card-live { border-left: 2px solid var(--accent-dim); }
.card-soon { opacity: .78; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card-top h3 { font-size: 18px; }

.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.pill-live { color: var(--accent); border: 1px solid var(--accent-dim); }
.pill-soon { color: var(--ink-3); border: 1px solid var(--line); }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.card-sub { color: var(--ink-2); font-size: var(--fs-small); margin-bottom: 12px; }
.card-body { color: var(--ink-2); font-size: var(--fs-small); margin-bottom: 14px; }

.facts { list-style: none; padding: 0; margin: 0 0 16px; }
.facts li {
  position: relative; padding-left: 14px;
  font-size: 13px; color: var(--ink-3); margin-bottom: 5px;
}
.facts li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 5px; height: 1px; background: var(--ink-3);
}

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--accent); text-decoration: none;
  padding: 10px 0; min-height: 44px;
}
.card-link:hover { color: var(--accent-lit); }
.card-link-muted { color: var(--ink-3); }

/* Prose */
.prose { max-width: 66ch; }
.prose h3 { margin: 28px 0 9px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.quiet { color: var(--ink-3); font-size: var(--fs-small); }

.split { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(0,1fr); gap: 32px; align-items: start; }

.side-card { padding: 17px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.side-card + .side-card { margin-top: 12px; }
.side-card h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px; font-weight: 500;
}

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 12px; padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--line); color: var(--ink-2);
}

.links { list-style: none; padding: 0; margin: 0; }
.links li { margin-bottom: 8px; }
.links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13.5px; color: var(--ink-2); text-decoration: none;
}
.links a:hover { color: var(--accent); }

.soon {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line); padding: 2px 6px; border-radius: 3px;
  white-space: nowrap;
}
a[data-placeholder] { cursor: not-allowed; opacity: .7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.contact-card {
  display: block; padding: 20px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .18s var(--ease);
}
.contact-card:hover { border-color: var(--line-lit); }
.contact-card h3 { margin-bottom: 6px; }
.contact-desc { color: var(--ink-3); font-size: 13.5px; margin-bottom: 13px; }
.email { color: var(--accent); font-size: var(--fs-small); word-break: break-word; }

.note { color: var(--ink-3); font-size: 13.5px; margin-top: 18px; }
.mono { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--ink-2); }

/* Exploratory work on work.html. Same panel background and radius as .card so it belongs to
   the same page, but a dashed border rather than solid — the one visual cue distinguishing
   "we are thinking about this" from the two products above it, which are real. */
.exploring {
  margin-top: 32px;
  padding: 22px 20px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px dashed var(--line);
}
.exploring-title { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 12px; }
.exploring-body { color: var(--ink-2); font-size: var(--fs-small); margin-bottom: 12px; }
.exploring-note { color: var(--ink-2); font-size: var(--fs-small); opacity: .8; margin: 0; }

.next { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.next-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-small); color: var(--accent); text-decoration: none;
  padding: 10px 0; min-height: 44px;
}
.next-link:hover { color: var(--accent-lit); }

/* Support band. Prominent through size and placement rather than colour shouting. */
.support {
  padding: clamp(38px, 6vh, 58px) clamp(18px, 5vw, 40px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.support-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.support-title { font-size: clamp(19px, 2.6vw, 24px); margin-bottom: 10px; }
.support-copy { color: var(--ink-2); max-width: 52ch; margin: 0 auto 22px; }
.support-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; min-height: 48px;
  border-radius: 6px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  color: var(--accent-ink); background: var(--accent);
  transition: background .16s var(--ease);
}
.support-btn:hover { background: var(--accent-lit); }
.support-btn .soon { color: #0d3438; border-color: rgba(0,0,0,.3); }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 40px) 24px;
}
.foot-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
}
.foot-brand { font-weight: 500; font-size: var(--fs-small); }
.foot-sub { color: var(--ink-3); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { color: var(--ink-2); font-size: 13.5px; text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.foot-copy {
  max-width: var(--maxw); margin: 18px auto 0;
  color: var(--ink-3); font-size: 12.5px;
  padding-top: 15px; border-top: 1px solid var(--line);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* Mobile */
@media (max-width: 780px) { .split { grid-template-columns: 1fr; gap: 24px; } }

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1px;
    padding: 6px clamp(16px, 5vw, 40px) 12px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 15px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .hero h1 { max-width: none; }
  .foot-inner { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* Smaller, more direct About and Work pages. */
.prose.about-copy { max-width: 68ch; }
.prose.about-copy h2 { margin: 28px 0 8px; font-size: 19px; }
.prose.about-copy h2:first-child { margin-top: 0; }
.about-links { max-width: 68ch; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.about-links h2 { font-size: var(--fs-h3); margin-bottom: 10px; }
.social-list { display: flex; flex-wrap: wrap; gap: 18px; }
.social-list li { margin: 0; }
.social-list a { gap: 8px; min-height: 40px; }

.work-list { border-top: 1px solid var(--line); margin-top: 30px; }
.work-item { display: grid; grid-template-columns: minmax(110px, 165px) minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.work-item > .work-copy { grid-column: 2; min-width: 0; }
.work-status { margin: 4px 0 0; color: var(--ink-3); font: 11px 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.work-item h2 { font-size: 20px; margin: 0 0 8px; }
.work-item p:not(.work-status) { color: var(--ink-2); max-width: 66ch; margin-bottom: 9px; }
.work-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--accent); text-decoration: none; font-size: var(--fs-small); }
.work-link:hover { color: var(--accent-lit); }

/* Policy and legal-information pages: document first, brand second. */
body.legal-document {
  --bg: #f7f8f6;
  --panel: #ffffff;
  --panel-2: #edf1ef;
  --line: #d8dfdc;
  --line-lit: #aebbb7;
  --ink: #1d2927;
  --ink-2: #43514e;
  --ink-3: #62716d;
  --accent: #176a72;
  --accent-lit: #0f555d;
  --accent-dim: #a9c9c9;
  --accent-ink: #ffffff;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.72;
}
body.legal-document .nav {
  background: rgba(247,248,246,.97);
  border-bottom-color: var(--line);
  backdrop-filter: blur(8px);
}
body.legal-document .nav-toggle { color: var(--ink); border-color: var(--line-lit); }
body.legal-document .nav-links a { color: var(--ink-2); }
body.legal-document .nav-links a:hover,
body.legal-document .nav-links a[aria-current="page"] { color: var(--ink); background: var(--panel-2); }
body.legal-document .mark { border-color: var(--line-lit); background: var(--panel-2); }

.legal-page { max-width: 1180px; margin: 0 auto; padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 42px) 82px; }
.legal-header { max-width: 76ch; margin: 0 0 38px; }
.legal-header .eyebrow { margin-bottom: 12px; color: var(--ink-3); }
.legal-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -.025em; margin-bottom: 20px; }
.legal-updated { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.legal-updated span { color: var(--ink-3); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.legal-updated time { font-variant-numeric: tabular-nums; }
.legal-layout { display: grid; min-width: 0; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); gap: clamp(34px, 5vw, 66px); align-items: start; }
.legal-layout > * { min-width: 0; }
.legal-toc { position: sticky; top: 94px; align-self: start; min-width: 0; max-height: calc(100vh - 112px); overflow: auto; overscroll-behavior: contain; padding: 2px 0 2px 16px; border-left: 2px solid var(--line-lit); }
.legal-toc-title { margin: 0 0 10px; color: var(--ink-3); font: 11px 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.legal-toc-list { list-style: none; min-width: 0; margin: 0; padding: 0; }
.legal-toc-list li { min-width: 0; margin: 0; }
.legal-toc-list a { display: block; min-width: 0; min-height: 35px; padding: 6px 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.legal-toc-list a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body { max-width: 76ch; min-width: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.legal-body p { margin: 0 0 17px; color: var(--ink-2); }
.legal-body h2 { margin: 34px 0 12px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--ink); font-size: 20px; line-height: 1.35; letter-spacing: -.01em; scroll-margin-top: 100px; }
.legal-body h2:first-of-type { margin-top: 28px; }
.legal-body h3 { margin: 25px 0 8px; color: var(--ink); font-size: 17px; }
.legal-body a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body ul, .legal-body ol { margin: 0 0 18px; padding-left: 24px; color: var(--ink-2); }
.legal-body li { margin: 0 0 7px; padding-left: 3px; }
.legal-body strong { color: var(--ink); }
.legal-info-body { padding-top: 4px; }
.legal-document .glance { max-width: 100%; min-width: 0; margin: 0 0 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); -webkit-overflow-scrolling: touch; }
.legal-document .glance-head { padding: 14px 17px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.legal-document .glance-head strong { color: var(--ink); font-size: 15px; }
.legal-document .glance-head span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.legal-document .glance table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.legal-document .glance th:first-child, .legal-document .glance td:first-child { width: 30%; }
.legal-document .glance th { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-align: left; font-weight: 600; overflow-wrap: anywhere; }
.legal-document .glance td { padding: 11px 14px; border-top: 1px solid var(--line); color: var(--ink-2); vertical-align: top; overflow-wrap: anywhere; }
.legal-document .glance td:first-child { color: var(--ink); font-weight: 600; white-space: normal; }
body.legal-document a:focus-visible,
body.legal-document button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; max-height: none; overflow: visible; padding: 0 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .legal-toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .legal-toc-list a { min-height: 42px; padding: 9px 0; }
}
@media (max-width: 640px) {
  .work-item { grid-template-columns: 68px minmax(0, 1fr); gap: 8px 18px; }
  .work-item .work-status { grid-column: 1 / -1; margin: 0; }
  .work-symbol { grid-column: 1; grid-row: 2; }
  .work-item > .work-copy { grid-column: 2; grid-row: 2; min-width: 0; }
  .legal-page { padding-top: 36px; }
  .legal-header { margin-bottom: 28px; }
  .legal-title { font-size: 32px; }
  .legal-body { font-size: 16px; }
  .legal-body h2 { font-size: 19px; }
}

/* Public marketing pages: the route's real subject is the visual, not a card grid. */
.marketing-page {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding: clamp(42px, 8vh, 82px) 0 clamp(58px, 9vh, 92px);
}
.marketing-hero {
  max-width: 840px;
  margin: 0 0 48px;
  text-align: left;
}
.marketing-hero .eyebrow { color: var(--accent); }
.marketing-hero h1 {
  max-width: 18ch;
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .99;
}
.marketing-hero .page-title { max-width: 18ch; font-size: clamp(32px, 4vw, 52px); }
.marketing-hero .lede,
.marketing-hero .page-intro {
  max-width: 62ch;
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}
.marketing-hero .cta-row { justify-content: flex-start; }

/* Keep the current product explanation ahead of supporting media. */
.work-feature { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); }
.work-feature-copy { grid-column:1; grid-row:1; }
.work-photo { grid-column:2; grid-row:1; }
.work-photo img { width:100%; display:block; aspect-ratio:1.28; object-fit:cover; }
.about-copy { margin-top:32px; padding:26px 0 20px; border-top:1px solid var(--line-lit); }
.about-copy .eyebrow { color:var(--accent); }

/* A small studio, not a second product landing page: let the image and typographic
   structure carry the change in pace, and reserve the accent for real destinations. */
.home-page { padding-top: clamp(34px, 5vw, 62px); display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: clamp(28px, 6vw, 82px); align-items: center; }
.home-page > .marketing-hero { grid-column: 1; grid-row: 1; }
.home-page > .studio-visual { grid-column: 2; grid-row: 1; }
.home-page > .home-current, .home-page > .home-exploring { grid-column: 1 / -1; }
.home-hero { max-width: 490px; margin: 0; }
.home-hero h1 { max-width: 10ch; font-size: clamp(38px, 5vw, 64px); line-height: 1.03; }
.home-hero .lede { max-width: 47ch; }
.home-visual { width: 100%; margin: 0; }
.home-visual img { height: clamp(300px, 37vw, 440px); }
.home-page .home-visual figcaption { max-width: 42ch; text-transform: none; letter-spacing: .015em; font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; }
.home-hero .home-work-link { display: inline-flex; justify-content: flex-start; margin: 0; padding: 8px 0; min-height: 44px; color: var(--accent); font-size: var(--fs-small); text-decoration: none; }
.home-work-link:hover { color: var(--accent-lit); }
.home-current { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(150px, .55fr); gap: clamp(22px, 4vw, 56px); align-items: start; padding: 30px 0 34px; border-top: 1px solid var(--line-lit); border-bottom: 1px solid var(--line); }
.home-current-label, .exploring-title-row { display: flex; align-items: baseline; gap: 13px; }
.home-index { flex: none; color: var(--accent); font: 500 12px 'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums; }
.home-current-label .eyebrow { margin: 0; }
.home-current-copy h2 { margin: -7px 0 8px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.03em; }
.home-current-copy > p { max-width: 52ch; color: var(--ink-2); }
.home-current-copy .btn { margin-top: 4px; }
.home-current-aside { display: flex; gap: 13px; align-items: flex-start; justify-self: end; padding-top: 3px; }
.home-aside-rule { width: 22px; height: 1px; margin-top: 11px; background: var(--accent); }
.home-current-aside p { color: var(--ink-3); font-size: 13px; line-height: 1.65; }
.home-exploring { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); margin: 0; padding: 29px 0 0; border: 0; background: none; border-radius: 0; }
.home-exploring .exploring-title-row { align-items: baseline; }
.home-exploring .exploring-title { margin: 0; color: var(--ink-3); }
.home-exploring .exploring-copy { max-width: 66ch; }
.home-exploring .exploring-copy h2 { margin: -5px 0 8px; font-size: 21px; }
.home-exploring .exploring-body, .home-exploring .exploring-note { color: var(--ink-2); font-size: var(--fs-small); opacity: 1; }
.home-exploring .exploring-note { margin: 0; }
.home-exploring a { color: var(--accent); text-underline-offset: 3px; }

.work-hero { max-width: 760px; margin-bottom: 38px; }
.work-hero h1 { max-width: 12ch; }
.work-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(28px, 6vw, 84px); align-items: center; padding: 26px 0 35px; border-top: 1px solid var(--line-lit); border-bottom: 1px solid var(--line); }
.work-photo { min-width: 0; margin: 0; }
.work-photo img { display: block; width: 100%; height: clamp(260px, 31vw, 385px); object-fit: cover; }
.work-photo figcaption { margin-top: 9px; color: var(--ink-3); font-size: 12px; }
.work-feature-copy { max-width: 430px; }
.work-feature-copy .work-status { margin: 0 0 13px; font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.work-feature-copy h2 { margin: 0 0 10px; font-size: clamp(31px, 4vw, 44px); letter-spacing: -.035em; }
.work-feature-copy > p:not(.work-status) { color: var(--ink-2); }
.work-feature-copy .work-link { margin-top: 5px; }
.work-explorations { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); padding: 27px 0 0; }
.work-explorations .exploring-title { margin: 0; color: var(--ink-3); }
.work-explorations .exploring-copy { max-width: 64ch; }
.work-explorations h2 { margin: -5px 0 9px; font-size: 21px; }
.work-explorations .exploring-copy p { color: var(--ink-2); }
.work-page .next { margin-top: 24px; }

.reader-artifact {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 36px) clamp(20px, 5vw, 56px);
  background: #dce4dc;
  color: #19211f;
}
.reader-artifact figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  color: #59665f;
  border-bottom: 1px solid #b7c0b5;
  font: 600 10px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.reader-artifact > p:not(.reader-return) {
  max-width: 38ch;
  margin: 22px auto;
  font-size: clamp(23px, 3.2vw, 40px);
  letter-spacing: -.025em;
  line-height: 1.42;
}
.reader-artifact mark { padding: 0 3px; background: #c7e0d7; color: inherit; border-bottom: 2px solid #147d82; }
.reader-lookup { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid #b7c0b5; border-bottom: 1px solid #b7c0b5; }
.reader-lookup span:first-child { color: #59665f; font: 600 10px 'IBM Plex Mono', monospace; text-transform: uppercase; }
.reader-lookup strong { color: #147d82; font-size: 17px; }
.reader-lookup span:last-child { color: #59665f; font-size: 14px; }
.reader-return { margin: 15px 0 0; color: #59665f; font-size: 14px; line-height: 1.6; }
.reader-return span { padding: 0 5px; color: #147d82; }

/* Meaningful, restrained motion: the highlighted word brightens and an underline
   traces from lookup toward its later appearance. */

.reader-artifact { position: relative; border-left: 2px solid #147d82; }
.reader-artifact figcaption span:last-child { text-align: right; }

.studio-visual, .about-photo {
  width: min(920px, 100%);
  margin: 0 auto 48px;
}
.studio-visual img, .about-photo img {
  display: block;
  width: 100%;
  height: clamp(220px, 36vw, 390px);
  object-fit: cover;
}
.studio-visual figcaption, .about-photo figcaption {
  margin-top: 9px;
  color: var(--ink-3);
  font: 500 10px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .studio-visual img, .about-photo img { animation: editorial-arrive .72s var(--ease) both; }
}
@keyframes editorial-arrive { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.home-work { width: 100%; margin: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.home-work-heading { margin: 0; text-align: left; }
.home-work-heading .eyebrow { margin-bottom: 8px; color: var(--accent); }
.home-work-heading h2 { margin: 0 0 7px; font-size: clamp(28px, 4vw, 42px); }
.home-work-heading > p:last-child { max-width: 48ch; margin: 0; color: var(--ink-2); }
.home-work-link { display: flex; justify-content: center; gap: 8px; margin-top: 20px; color: var(--accent); text-decoration: none; }
.home-work-link:hover { color: var(--accent-lit); }

.about-artifact { margin-bottom: 46px; }
.about-copy { max-width: 68ch; margin: 0; text-align: left; }
.about-copy .eyebrow { margin-bottom: 10px; color: var(--accent); }
.about-copy h2 { margin: 0 0 14px; font-size: clamp(26px, 3.3vw, 36px); }
.about-copy > p:last-child { color: var(--ink-2); }
.about-links { max-width: 68ch; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); }
.about-links h2 { margin-bottom: 10px; }

.work-artifact { margin-bottom: 44px; }
.work-list { width: 100%; margin: 0; border-top: 1px solid var(--line); }
.work-item { grid-template-columns: 120px 82px minmax(0, 1fr); gap: 22px; padding: 28px 8px; align-items: center; }
.work-item > .work-copy { grid-column: 3; }
.work-symbol { width: 72px; height: 60px; margin: 0; display: grid; place-items: center; color: var(--ink-3); }
.work-symbol svg { display: block; width: 72px; height: 60px; overflow: visible; }
.work-symbol svg path, .work-symbol svg circle { stroke: var(--line-lit); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.work-symbol .symbol-highlight, .work-symbol .sound-line { stroke: var(--accent); stroke-width: 1.8; }
.work-symbol-bci circle { fill: var(--accent); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .work-symbol-reading .symbol-highlight { stroke-dasharray: 17; stroke-dashoffset: 17; animation: trace-word 3.8s var(--ease) infinite; }
  .work-symbol-speaking .sound-line { stroke-dasharray: 95; stroke-dashoffset: 95; animation: trace-wave 4.2s var(--ease) infinite; }
  .work-symbol-bci circle { animation: node-signal 3.5s ease-in-out infinite alternate; }
  .work-symbol-bci circle:nth-of-type(2) { animation-delay: .45s; }
  .work-symbol-bci circle:nth-of-type(3) { animation-delay: .9s; }
  .work-symbol-bci circle:nth-of-type(4) { animation-delay: 1.35s; }
}
@keyframes trace-word { 0%, 18% { stroke-dashoffset: 17; opacity: .55; } 60%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes trace-wave { 0%, 20% { stroke-dashoffset: 95; opacity: .55; } 68%, 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes node-signal { from { opacity: .48; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .work-symbol-reading .symbol-highlight, .work-symbol-speaking .sound-line, .work-symbol-bci circle { animation: none; } }
.work-status { color: var(--accent); }
.work-item h2 { margin: 0 0 6px; font-size: 22px; }
.work-item p:not(.work-status) { max-width: 54ch; }
.next { display: flex; justify-content: flex-start; margin-top: 34px; padding-top: 18px; }

.contact-detail { width: min(720px, 100%); margin: 0; padding: 26px 24px; background: var(--panel); text-align: left; }
.contact-detail .eyebrow { margin-bottom: 10px; color: var(--accent); }
.contact-email { display: inline-block; margin-bottom: 10px; color: var(--accent-lit); font-size: clamp(22px, 4vw, 32px); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-detail > p:last-child { margin: 0; max-width: 54ch; color: var(--ink-2); }
.contact-action { margin-top: 2px; }

@media (max-width: 820px) {
  .home-page { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 26px; }
  .home-current { grid-template-columns: 120px minmax(0, 1fr); }
  .home-current-aside { display: none; }
  .work-feature { grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: 28px; }
}

@media (max-width: 640px) {
  .marketing-page { width: calc(100% - 32px); padding: 42px 0 58px; }
  .marketing-hero { margin-bottom: 32px; }
  .marketing-hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .marketing-hero .lede, .marketing-hero .page-intro { font-size: 16px; }
  .reader-artifact { padding: 19px 16px; }
  .reader-artifact figcaption { flex-direction: column; gap: 5px; }
  .reader-artifact > p:not(.reader-return) { font-size: clamp(22px, 7vw, 30px); }
  .work-item { grid-template-columns: 1fr; gap: 6px; padding: 21px 4px; }
  .work-item > .work-copy { grid-column: 1; grid-row: auto; }
  .home-work-heading { margin-top: 0; }
  .contact-detail { padding: 23px 17px; }
  .home-page { padding-top: 26px; grid-template-columns: 1fr; row-gap: 0; }
  .home-page > .marketing-hero, .home-page > .studio-visual, .home-page > .home-current, .home-page > .home-exploring { grid-column: 1; }
  .home-page > .marketing-hero { grid-row: auto; }
  .home-page > .studio-visual { grid-row: auto; }
  .home-hero h1 { max-width: 11ch; }
  .home-hero .lede { max-width: 56ch; margin-bottom: 12px; }
  .home-visual img { height: 190px; }
  .home-visual figcaption { font-size: 11px; }
  .home-current { grid-template-columns: 1fr; gap: 14px; padding: 22px 0 24px; }
  .home-current-copy h2 { margin: 0 0 7px; }
  .home-current-copy > p { margin-bottom: 8px; }
  .home-exploring, .work-explorations { grid-template-columns: 1fr; gap: 12px; padding-top: 22px; }
  .home-exploring .exploring-copy h2, .work-explorations h2 { margin: 0 0 8px; }
  .home-exploring .exploring-body, .work-explorations .exploring-copy p { margin-bottom: 10px; }
  .work-hero { margin-bottom: 24px; }
  .work-feature { grid-template-columns: 1fr; gap: 20px; padding: 16px 0 23px; }
  .work-photo img { height: clamp(215px, 66vw, 285px); }
  .work-feature-copy { grid-row: 1; }
  .work-photo { grid-column: 1; grid-row: 2; }
  .work-feature-copy .work-status { margin-bottom: 8px; }
  .work-feature-copy h2 { margin-bottom: 6px; }
  .work-feature-copy > p:not(.work-status) { margin-bottom: 4px; }
  .work-page .next { margin-top: 18px; }
}
