/* Alpine Marketing: dental revenue operations. Static handwritten CSS. */

:root {
  --brand: #1421e1;
  --brand-press: #0f1ab4;
  --brand-soft: #e6e8fd;
  --bg: #f2f2f3;
  --surface: #ffffff;
  --text: #000000;
  --muted: #55585f;
  --line: #d9dadd;
  --radius: 12px;
  --maxw: 1180px;
  --ink: #0b0b0c;
  --ink-line: #26272b;
  --ink-muted: #a9abb3;
  --signal: #a8390f;
  --display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --body: "IBM Plex Sans", "Space Grotesk", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}

p { margin: 0; }

a { color: var(--brand); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.panel--ink :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus { top: 8px; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
}
.eyebrow--dim { color: var(--ink-muted); }

.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section-head p { margin-top: 20px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 242, 243, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}
.site-nav a:hover { color: var(--brand); }

.iw-underline { position: relative; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 30px;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.btn:hover { background: var(--brand-press); border-color: var(--brand-press); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.35; cursor: not-allowed; transform: none; }

.btn--sm { min-height: 44px; padding: 6px 20px; font-size: 15px; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); color: var(--text); border-color: var(--text); transform: translateY(-2px); }

.btn--onink { background: #ffffff; border-color: #ffffff; color: var(--ink); }
.btn--onink:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--ink); }

.btn-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.btn-note--dim { color: var(--ink-muted); }

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

.hero { padding: 88px 0 72px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 74px);
  max-width: 15ch;
}
.hero .lede { margin-top: 28px; font-size: 20px; }
.hero__cta { margin-top: 40px; }

.hero__meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 14px;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex: none;
}

/* ---------- data panel ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.datacard__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.datacard__head h2, .datacard__head h3 {
  font-size: 15px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0;
}
.datacard__tag {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.seg { display: grid; gap: 20px; }
.seg__row { display: grid; gap: 8px; }
.seg__label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.seg__label b { color: var(--text); font-family: var(--display); font-weight: 700; }
.seg__bar { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.seg__fill { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.seg__fill--dim { background: #b9bcc4; }

.datacard__foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- ink panels ---------- */

.panel--ink {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 64px;
}
.panel--ink h2 { font-size: clamp(28px, 3.6vw, 42px); }
.panel--ink p { color: var(--ink-muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 40px 0;
}
.stat__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 22ch;
}

.stats--light {
  border-color: var(--line);
}
.stats--light .stat__label { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
}
.checklist svg { margin-top: 4px; }

.rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: rail;
}
.rail li {
  counter-increment: rail;
  padding: 24px 0;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}
.rail li::before {
  content: counter(rail, decimal-leading-zero);
  font-family: var(--display);
  font-size: 13px;
  color: var(--brand-soft);
  letter-spacing: 0.08em;
}
.rail h3 { font-size: 18px; letter-spacing: -0.01em; }
.rail p { margin-top: 8px; font-size: 15px; }

/* ---------- system flow ---------- */

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  counter-reset: flow;
}
.flow li {
  counter-increment: flow;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 16px;
  transition: border-color 240ms ease, transform 240ms ease;
}
.flow li:hover { border-color: var(--brand); transform: translateY(-3px); }
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 10px;
}
.flow b {
  display: block;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.flow small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- case study 2 ---------- */

.case2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.kpi-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.kpi-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.kpi-list li:first-child { border-top: 1px solid var(--line); }
.kpi-list dt, .kpi-list span { font-size: 15px; color: var(--muted); }
.kpi-list b {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(28px, 3.8vw, 44px); max-width: 20ch; margin-inline: auto; }
.cta-banner p { color: #dcdefb; margin: 20px auto 36px; max-width: 52ch; }
.cta-banner .btn { background: #fff; border-color: #fff; color: var(--brand); }
.cta-banner .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-banner :focus-visible { outline-color: #ffffff; }

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

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 18px;
  font-size: 22px;
  color: var(--brand);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }

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

.site-footer {
  background: var(--ink);
  color: var(--ink-muted);
  padding: 64px 0 40px;
  margin-top: 96px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--ink-muted); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}
.site-footer h3 {
  font-size: 12px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer__legal {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13px;
}
.site-footer p { color: var(--ink-muted); font-size: 15px; }

/* ---------- quiz ---------- */

.quiz-shell { padding: 48px 0 96px; }
.quiz-head { max-width: 720px; margin-bottom: 40px; }
.quiz-head h1 { font-size: clamp(30px, 4.6vw, 48px); }
.quiz-head p { margin-top: 20px; color: var(--muted); }

.progress { max-width: 820px; margin-bottom: 32px; }
.progress__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.progress__track { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress__bar {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--brand);
  border-radius: 999px;
  transition: width 320ms ease;
}

.quiz { max-width: 820px; display: grid; gap: 24px; }

.quiz-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin: 0;
}
.quiz-step legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding: 0;
  max-width: 22ch;
}
.quiz-step .hint { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* grouped step: a plain container holding several question cards */
.quiz-step--group {
  display: grid;
  gap: 20px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.quiz-step__head { max-width: 60ch; }
.quiz-step__head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.quiz-step__head h2:focus { outline: 3px solid var(--brand); outline-offset: 6px; }
.quiz-step__head h2:focus:not(:focus-visible) { outline: none; }
.quiz-step__head p { margin-top: 12px; color: var(--muted); }

.question {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0;
  min-width: 0;
}
.question legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 0;
  max-width: 26ch;
}
.question .hint { margin-top: 10px; color: var(--muted); font-size: 15px; }
.question .options { margin-top: 22px; }

.options { display: grid; gap: 10px; margin-top: 28px; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: border-color 200ms ease, background 200ms ease;
}
.option:hover { border-color: var(--text); }
.option input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid var(--muted);
  border-radius: 50%;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.option input[type="checkbox"] { border-radius: 5px; }
.option input:checked {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 5px var(--brand);
}
.option input[type="checkbox"]:checked { box-shadow: inset 0 0 0 4px var(--brand); }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }

.quiz-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.quiz-aside {
  max-width: 820px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.noscript-note {
  max-width: 820px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--surface);
  font-size: 15px;
}

/* ---------- results ---------- */

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.result-card h3 { font-size: 20px; margin-bottom: 12px; }
.result-card p { color: var(--muted); font-size: 15px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: 20px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--gap { color: var(--signal); border-color: #e8cdc0; }
.chip--partial { color: var(--text); border-color: var(--line); }
.chip--ok { color: var(--brand); border-color: #c3c8fa; }

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  background: var(--surface);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--muted);
}
.notice b { color: var(--text); display: block; margin-bottom: 4px; font-size: 16px; }

.field-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.field-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.field-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.panel--ink .notice {
  background: transparent;
  border-color: var(--ink-line);
  border-left-color: var(--signal);
  color: var(--ink-muted);
}
.panel--ink .notice b { color: #ffffff; }
.panel--ink .field-list li { color: var(--ink-muted); border-color: var(--ink-line); }
.panel--ink .field-list li::before { background: var(--brand-soft); }

.iw-video, .iw-map { background: var(--surface); border: 1px solid var(--line); }
[data-iw-slot="video"] {
  display: block;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__grid, .split, .case2 { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .panel--ink, .cta-banner { padding: 40px 28px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--maxw)); }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .site-header__inner { min-height: 64px; gap: 12px 20px; }
  .site-nav { gap: 20px; width: 100%; margin-left: 0; order: 3; border-top: 1px solid var(--line); }
  .site-nav a { font-size: 14px; }
  .stats { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .stat__label { max-width: none; }
  .result-grid, .field-list { grid-template-columns: 1fr; }
  .quiz-step { padding: 28px 20px; }
  .quiz-step--group { padding: 0; gap: 16px; }
  .question { padding: 28px 20px; }
  .card { padding: 24px; }
  .hero .lede { font-size: 18px; }
  .btn { width: 100%; }
  .quiz-nav .btn { width: auto; flex: 1 1 auto; }
  .site-footer { margin-top: 64px; }
}

@media (max-width: 400px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- funnel step rail ---------- */

.funnel-rail {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.funnel-rail__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.funnel-step {
  display: block;
  padding: 14px 0 16px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  transition: color 220ms ease, border-color 220ms ease;
}
.funnel-step small {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.funnel-step b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: inherit;
}
.funnel-step--done { border-top-color: var(--brand); }
.funnel-step--current { border-top-color: var(--brand); color: var(--text); }
a.funnel-step:hover { color: var(--text); }

@media (max-width: 720px) {
  .funnel-rail__inner { gap: 10px; }
  .funnel-step { padding: 10px 0 12px; }
  .funnel-step small { font-size: 10px; letter-spacing: 0.1em; }
  .funnel-step b { font-size: 13px; }
}

/* ---------- header eligibility badge ---------- */

.header-qualifier {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .header-qualifier { font-size: 11px; letter-spacing: 0.04em; padding: 4px 11px; min-height: 26px; }
}
@media (max-width: 720px) {
  .site-header__inner { row-gap: 10px; }
  .header-qualifier { order: 2; margin-left: auto; }
  .site-nav { order: 3; }
}
@media (max-width: 480px) {
  .header-qualifier { width: 100%; justify-content: center; margin-left: 0; }
}

/* ---------- founder ---------- */

.founder {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 52px;
  align-items: start;
}

.founder__media { margin: 0; }
.founder__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  image-rendering: -webkit-optimize-contrast;
}

.founder__copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
}
.founder__copy .lede { margin-top: 20px; }

.founder blockquote {
  margin: 28px 0 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--brand);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}

.founder__sign {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.founder__sign b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.founder__sign span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.founder-byline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.founder-byline img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid var(--line);
}
.founder-byline p { margin: 0; font-size: 15px; }
.founder-byline b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.panel--ink .founder-byline { border-top-color: var(--ink-line); }
.panel--ink .founder-byline img { border-color: var(--ink-line); }
.panel--ink .founder-byline b { color: #ffffff; }

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 26px; }
  .founder__media { max-width: 190px; }
}
@media (max-width: 520px) {
  .founder-byline { gap: 14px; }
  .founder-byline img { width: 48px; height: 48px; }
}

/* ---------- team ---------- */
.team-head { max-width: 660px; }
.team-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.team-head .lede { margin-top: 20px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-width: 0;
}
.team-card__photo {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg);
  image-rendering: -webkit-optimize-contrast;
}
.team-photo--1 { object-position: 50% 20%; }
.team-photo--2 { object-position: 50% 50%; }
.team-photo--3 { object-position: 50% 50%; }

.team-card__role {
  margin-top: 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-card h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.team-card__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .team-card { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; align-items: start; padding: 26px 20px; }
  .team-card__photo { width: 72px; height: 72px; grid-row: 1 / span 3; }
  .team-card__role { margin-top: 2px; }
}
