/* Syntria Labs shared stylesheet.
   One file for every public page so the header, footer, type and colour
   never drift between pages. Tokens were measured against Linear, Stripe
   and Ramp on 2026-08-03 (SHARED/OPERATING_RULES/WEB_DESIGN.md), and Reid
   asked on 2026-09-03 to keep the fonts and colours as they are. */

:root {
  color-scheme: light;

  --paper: #FCFCFB;
  --paper-2: #F5F5F3;
  --card: #FFFFFF;
  --ink: #101211;
  --ink-soft: #3D4240;
  --muted: #6B716E;
  --line: #E4E5E2;
  --line-soft: #EDEEEB;
  --accent: #14503C;
  --accent-wash: rgba(20, 80, 60, 0.07);
  --accent-ring: rgba(20, 80, 60, 0.28);
  --dark: #0E100F;
  --dark-2: #151817;
  --dark-line: #262927;
  --dark-muted: #9AA09D;
  --accent-light: #6FBF9B;

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --s7: 6rem;

  --wrap: 1100px;
  --r: 6px;
  --r-lg: 10px;
  --shadow-card: 0 24px 48px -32px rgba(16, 18, 17, 0.22);
  --shadow-lift: 0 34px 64px -34px rgba(16, 18, 17, 0.34);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
::selection { background: rgba(20, 80, 60, 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

.label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-row { display: flex; align-items: center; gap: 12px; }
.eyebrow-row::before { content: ""; width: 20px; height: 1px; background: var(--accent); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--paper);
  padding: 12px 18px; font-weight: 600; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 252, 251, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(16, 18, 17, 0.35); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--ink);
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.022em;
  min-height: 44px;
}
.brand svg { display: block; width: 24px; height: 24px; border-radius: 5px; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: var(--s3); }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; transition: color .15s ease;
  padding: 11px 0; margin: -11px 0;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 1px; background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 9px 16px;
  background: var(--ink); color: var(--paper) !important;
  border-radius: var(--r);
  font-size: 0.875rem; font-weight: 500; letter-spacing: -0.006em;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
  margin: 0 !important; padding: 9px 16px !important;
}
.nav-cta:hover { background: #232725; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: none; cursor: pointer; color: var(--ink);
  border-radius: var(--r);
  place-items: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative; transition: transform .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(90deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(90deg); }

@media (max-width: 780px) {
  .js .nav-toggle { display: grid; }
  .js .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--s1) var(--s3) var(--s3);
    box-shadow: 0 30px 40px -30px rgba(16, 18, 17, 0.3);
  }
  .js .site-header.is-open .nav-links { display: flex; }
  .js .nav-links a {
    margin: 0; padding: 14px 0; font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .js .nav-links a[aria-current="page"]::after { display: none; }
  .js .nav-links .nav-cta { margin-top: var(--s2) !important; justify-content: center; border-bottom: 0; }
  .no-js .nav-links { flex-wrap: wrap; gap: var(--s2); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 12px 22px;
  border: 0; border-radius: var(--r);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.006em;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover { background: #232725; transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px #C9CBC7; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #1A6149; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #FFFFFF; color: var(--ink); }
.btn .arrow { transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: 11px 0; margin: -11px 0;
}
.text-link .arrow { transition: transform .16s ease; color: var(--accent); }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link.ext .arrow { transform: rotate(-45deg); }
.text-link.ext:hover .arrow { transform: rotate(-45deg) translateX(2px); }

/* ---------- sections ---------- */

section { padding: var(--s6) 0; }
section.tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.ruled { border-top: 1px solid var(--line); }
.sec-head { max-width: 36ch; }
.sec-head h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-top: var(--s2); }
.sec-lede { margin-top: var(--s2); color: var(--muted); max-width: 56ch; font-size: 1rem; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
.sec-row .text-link { margin-bottom: 4px; }

/* page hero, for inner pages */
.page-hero { padding: var(--s6) 0 var(--s5); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.875rem); margin-top: var(--s2); max-width: 20ch; }
.page-hero h1 i { font-style: normal; color: var(--accent); }
.page-hero .lede { margin-top: var(--s3); font-size: 1.0625rem; color: var(--ink-soft); max-width: 54ch; }

/* ---------- home hero ---------- */

.hero { padding: var(--s7) 0 var(--s6); border-bottom: 1px solid var(--line); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6);
  align-items: center;
}
.hero h1 { font-size: clamp(2.125rem, 4vw, 3.125rem); margin-top: var(--s3); max-width: 15ch; }
.hero h1 i { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: var(--s3); font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
.hero .cta-row { margin-top: var(--s4); }
.hero-facts {
  margin: var(--s4) 0 0; padding: var(--s2) 0 0; list-style: none;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3);
  font-size: 0.8125rem; color: var(--muted);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); }

/* the hero show: two real screens in drawn device frames */
.stage { position: relative; min-height: 420px; }
.stage .browser { position: absolute; left: 0; top: 0; width: 88%; }
.stage .phone-frame { position: absolute; right: 0; bottom: 0; width: 34%; min-width: 150px; max-width: 210px; }
.stage-caption { position: absolute; left: 0; bottom: -28px; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 940px) {
  .hero { padding: var(--s5) 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .stage { min-height: 0; padding-bottom: 8%; }
  .stage .browser, .stage .phone-frame { position: relative; }
  .stage .phone-frame { margin: -28% 0 0 auto; }
  .stage-caption { position: static; margin-top: var(--s2); }
}
.js .float-a, .js .float-b { animation: float 7s ease-in-out infinite; }
.js .float-b { animation-duration: 8s; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- device frames ---------- */

.browser {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.browser-bar {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.browser-bar .dots { display: flex; gap: 5px; }
.browser-bar .dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.browser-bar .url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.06em; color: var(--muted);
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--paper-2); }

.phone-frame {
  border: 8px solid var(--dark); border-radius: 36px; background: var(--dark);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.phone-frame img { width: 100%; border-radius: 28px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #000; }

/* ---------- work ---------- */

.work-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4) var(--s3); margin-top: var(--s5);
}
.work-card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.work-card .browser { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-card:hover .browser { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.work-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); }
.work-meta h3 { font-size: 1.0625rem; letter-spacing: -0.018em; }
.work-meta p { margin-top: 4px; color: var(--muted); font-size: 0.875rem; max-width: 44ch; }
.work-card:hover .work-meta h3 { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; flex: none; justify-content: flex-end; }
.chip {
  font-style: normal; font-family: var(--mono); font-size: 0.625rem;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-wash);
  border: 1px solid rgba(20, 80, 60, 0.22);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.chip.dim { color: var(--muted); background: var(--paper-2); border-color: var(--line); }
@media (max-width: 720px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-meta { flex-direction: column; }
  .tags { justify-content: flex-start; }
}

/* the in-house product: one wide feature row */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s5); align-items: center;
  margin-top: var(--s5); padding: var(--s4);
  background: var(--dark); color: var(--paper); border-radius: var(--r-lg);
  overflow: hidden; position: relative;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 100%, rgba(111, 191, 155, 0.14), transparent 70%);
  pointer-events: none;
}
.feature > * { position: relative; }
.feature .label { color: var(--accent-light); }
.feature h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-top: var(--s2); max-width: 18ch; }
.feature p { margin-top: var(--s2); color: var(--dark-muted); max-width: 46ch; }
.feature .cta-row { margin-top: var(--s3); }
.feature-shots { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: end; }
.feature-shots .browser { border-color: var(--dark-line); }
.feature-shots .phone-frame { width: 132px; border-color: #2A2D2B; background: #2A2D2B; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); padding: var(--s3); }
  .feature-shots .phone-frame { width: 112px; }
}

/* ---------- services rows ---------- */

.build-row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s5); align-items: center;
  padding: var(--s5) 0; border-bottom: 1px solid var(--line);
}
.build-row:first-of-type { border-top: 1px solid var(--line); }
.build-row h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin-top: 10px; }
.build-row p { margin-top: var(--s2); color: var(--muted); max-width: 46ch; }
.build-row .art { min-width: 0; }
.build-row.flip .txt { order: 2; }
.build-row.flip .art { order: 1; }
.build-row ul.inc { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 8px; }
.build-row ul.inc li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; color: var(--ink-soft); font-size: 0.875rem; }
.build-row ul.inc svg { width: 1.1rem; height: 1.1rem; color: var(--accent); margin-top: 0.1rem; }
@media (max-width: 940px) {
  .build-row { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .build-row.flip .txt { order: 1; }
  .build-row.flip .art { order: 2; }
}

/* drawn specimens: an order table and an app screen */
.specimen {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.spec-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.spec-bar span { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.rr { width: 100%; min-width: 320px; border-collapse: collapse; font-family: var(--mono); font-size: 0.75rem; }
table.rr th {
  text-align: left; font-weight: 500; color: var(--muted);
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
}
table.rr td { padding: 9px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); white-space: nowrap; }
table.rr td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.rr tr:last-child td { border-bottom: 0; }
table.rr tr.flag td { background: var(--accent-wash); color: var(--accent); }
.spec-foot {
  display: flex; gap: 10px; align-items: baseline;
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--ink-soft);
}
.spec-foot b { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; flex: none; }
.caption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: var(--s5); }
.step { padding: var(--s3) var(--s3) var(--s3) 0; border-top: 2px solid var(--line); position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%;
  background: var(--ink); transform-origin: left; transform: scaleX(0);
  transition: transform .9s var(--ease);
}
.step.in::before, .no-js .step::before { transform: scaleX(1); }
.step:nth-child(2)::before { transition-delay: .15s; }
.step:nth-child(3)::before { transition-delay: .3s; }
.step:nth-child(4)::before { transition-delay: .45s; }
.step + .step { padding-left: var(--s3); }
.step h3 { font-size: 1.0625rem; margin: var(--s2) 0 8px; }
.step p { color: var(--muted); font-size: 0.875rem; }
.step .when { display: block; margin-top: 10px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step { padding-left: 0; }
  .step:nth-child(even) { padding-left: var(--s3); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) { padding-left: 0; }
}

/* ---------- stack strip ---------- */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); padding: 14px 0; overflow: hidden; }
.strip .wrap { display: flex; align-items: center; gap: var(--s3); }
.strip .label { flex: none; }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; padding-left: 40px; }
.marquee-track ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.marquee-track li { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; padding: 0 22px; position: relative; }
.marquee-track li::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-light); transform: translateY(-50%); }
.js .marquee-track { animation: marquee 42s linear infinite; }
.js .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .strip .label { display: none; } }

/* ---------- dark band ---------- */

.dark-band { background: var(--dark); color: var(--paper); padding: var(--s6) 0; }
.dark-band .label { color: var(--accent-light); }
.dark-band h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-top: var(--s2); max-width: 22ch; }
.dark-band .sec-lede { color: var(--dark-muted); }
.dark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: var(--s5); }
.dark-cell { padding: var(--s3); border-top: 1px solid var(--dark-line); }
.dark-cell:nth-child(odd) { border-right: 1px solid var(--dark-line); padding-left: 0; }
.dark-cell .n { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--accent-light); }
.dark-cell h3 { font-size: 1.0625rem; font-weight: 500; margin: 10px 0 8px; }
.dark-cell p { color: var(--dark-muted); font-size: 0.875rem; max-width: 40ch; }
@media (max-width: 700px) {
  .dark-grid { grid-template-columns: minmax(0, 1fr); }
  .dark-cell, .dark-cell:nth-child(odd) { border-right: 0; padding-left: 0; }
}

/* ---------- ruled honest list ---------- */

.honest { margin: var(--s5) 0 0; padding: 0; max-width: 74ch; list-style: none; }
.honest li { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--s2); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.honest li:first-child { border-top: 1px solid var(--line); }
.honest span { font-family: var(--mono); font-size: 0.6875rem; color: var(--accent); letter-spacing: 0.08em; padding-top: 5px; }
.honest b { font-weight: 500; font-size: 1rem; letter-spacing: -0.018em; display: block; margin-bottom: 4px; }
.honest p { color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { margin-top: var(--s4); max-width: 760px; border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s3);
  align-items: center; padding: 18px 0; font-weight: 500; font-size: 1rem; letter-spacing: -0.012em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; color: var(--accent); }
details.faq summary .plus::before, details.faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform .2s ease;
}
details.faq summary .plus::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
details.faq summary .plus::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
details.faq[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
details.faq .faq-body { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }
details.faq .faq-body p + p { margin-top: 10px; }

/* ---------- team ---------- */

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s5); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.person .portrait {
  aspect-ratio: 16 / 9; background: var(--paper-2); border-bottom: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
}
.person .portrait img { width: 100%; height: 100%; object-fit: cover; }
.person .portrait .mark { width: 64px; height: 64px; }
.person .portrait .mark svg { width: 100%; height: 100%; border-radius: 12px; }
.person .who { padding: var(--s3); }
.person .who b { display: block; font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.018em; }
.person .who .role { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.person .who p { margin-top: 12px; color: var(--muted); font-size: 0.875rem; }
.person.open { border-style: dashed; background: transparent; }
.person.open .portrait { background: transparent; border-bottom-style: dashed; }
@media (max-width: 860px) { .people { grid-template-columns: minmax(0, 1fr); } }

/* roles list on the apply page */
.roles { margin: var(--s5) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.roles li { display: grid; grid-template-columns: 2.5rem 14rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.roles .n { font-family: var(--mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); padding-top: 4px; }
.roles h3 { font-size: 1.0625rem; letter-spacing: -0.018em; }
.roles h3 small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.roles p { color: var(--muted); max-width: 56ch; }
@media (max-width: 780px) {
  .roles li { grid-template-columns: 2.5rem 1fr; gap: var(--s1) var(--s2); }
  .roles li h3, .roles li p { grid-column: 2; }
}

/* ---------- forms ---------- */

.form { position: relative; max-width: 40rem; margin-top: var(--s3); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form .row + .row { margin-top: var(--s2); }
.form .field { margin-top: var(--s2); }
.form .row .field { margin-top: 0; }
.form label { display: block; margin-bottom: 0.28rem; font-size: 0.75rem; color: var(--muted); }
.form input:not([type="radio"]), .form textarea, .form select {
  width: 100%; min-height: 44px; padding: 0.5rem 0.7rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); color: var(--ink);
  font: 16px / 1.4 var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s2); }
.form .picks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form .picks label {
  display: flex; align-items: center; gap: 0.45rem;
  margin: 0; min-height: 44px; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); color: var(--ink);
  font-size: 0.8125rem; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.form .picks input { width: auto; min-height: 0; accent-color: var(--accent); }
.form .picks label:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form button.btn { width: 100%; margin-top: var(--s3); }
p.form-status { margin-top: var(--s2); font-size: 0.8125rem; color: var(--muted); min-height: 1.1em; max-width: none; }
p.form-status.ok { color: var(--accent); }
p.form-status.err { color: #8F2D2D; }
.form-note { margin-top: var(--s2); font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 700px) { .form .row, .form .picks, .form .picks.four { grid-template-columns: 1fr; } }

/* contact split */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s6); align-items: start; }
.contact-side { padding-top: var(--s2); }
.contact-side dl { margin: var(--s3) 0 0; border-top: 1px solid var(--line); }
.contact-side .term { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s2); padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-side dt { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.contact-side dd { margin: 0; color: var(--ink-soft); }
.contact-side dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; padding: 9px 0; margin: -9px 0; }
.contact-side dd a:hover { text-decoration-color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }

/* closing band */
.close-band { padding: var(--s6) 0; }
.close-band h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); max-width: 20ch; margin-top: var(--s2); }
.close-band p { margin-top: var(--s2); color: var(--muted); max-width: 54ch; font-size: 1rem; }
.close-band .cta-row { margin-top: var(--s4); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: var(--s5) 0 var(--s4); font-size: 0.875rem; color: var(--muted); background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s4); }
.foot-brand p { margin-top: var(--s2); max-width: 30ch; }
.foot-col b { display: block; font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-bottom: 6px; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; padding: 9px 0; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s3); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 0.8125rem; }
.foot-bottom a { color: var(--muted); text-decoration: none; padding: 9px 0; margin: -9px 0; }
.foot-bottom a:hover { color: var(--accent); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .step::before { transform: scaleX(1); }
}

/* two-up people grid, used while the team is two cards wide */
.people.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.person .portrait .label { font-size: 0.75rem; letter-spacing: 0.2em; }
@media (max-width: 860px) { .people.two { grid-template-columns: minmax(0, 1fr); } }
