@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc,
    U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+feff, U+fffd;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc,
    U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+feff, U+fffd;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("./fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc,
    U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+feff, U+fffd;
}

:root {
  --canvas: #fcfcfa;
  --ink: #1a1c1e;
  --accent: #33506b;
  --soft: #f4f4f1;
  --rule: rgba(26, 28, 30, 0.14);
  --muted: rgba(26, 28, 30, 0.8);
  --quiet: rgba(26, 28, 30, 0.7);
  --content-width: 940px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

main,
section,
header,
footer,
nav {
  max-width: 100%;
}

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

a {
  color: var(--accent);
  text-decoration-color: rgba(51, 80, 107, 0.42);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

a:focus-visible {
  border-radius: 1px;
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--canvas);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--canvas);
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(22px, 6vw, 48px);
}

.site-header {
  padding: clamp(30px, 5vw, 52px) 0 clamp(26px, 4vw, 40px);
  text-align: center;
}

.wordmark {
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 4.6vw, 40px);
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.primary-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: clamp(20px, 3vw, 30px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--quiet);
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--accent);
}

.ruled-section {
  border-top: 1px solid var(--rule);
}

.hero {
  padding: clamp(48px, 10vw, 116px) 0 clamp(52px, 9vw, 104px);
  text-align: center;
}

.hero h1,
.contact h2 {
  max-width: 20ch;
  margin: 0 auto;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 8.4vw, 86px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.02;
}

.hero h1 em,
.contact h2 em {
  display: block;
  margin-top: 0.1em;
  color: var(--accent);
  font-style: italic;
}

.hero-copy {
  max-width: 46ch;
  margin: clamp(30px, 4.5vw, 46px) auto 0;
  color: var(--muted);
  font-size: clamp(16.5px, 2.1vw, 19.5px);
  line-height: 1.68;
}

.hero-actions,
.business-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: clamp(32px, 4.5vw, 48px);
}

.hero-actions {
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  background: var(--accent);
  color: var(--canvas);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  background: var(--ink);
  color: var(--canvas);
}

.button:focus-visible {
  outline-color: var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--canvas);
}

.study-teaser {
  max-width: 36ch;
  color: rgba(26, 28, 30, 0.78);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration-color: rgba(26, 28, 30, 0.3);
}

.problem,
.services,
.proof,
.founder {
  padding: clamp(52px, 9vw, 104px) 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--quiet);
  font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.problem > .eyebrow {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
}

.stat-value {
  margin: 0;
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(44px, 7.4vw, 76px);
  letter-spacing: -0.015em;
  line-height: 1;
}

.stat-wide .stat-value {
  font-size: clamp(38px, 6.2vw, 64px);
  letter-spacing: -0.012em;
  line-height: 1.04;
}

.stat > p:last-child {
  max-width: 34ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

.short-rule {
  display: block;
  width: 40px;
  height: 1px;
  flex: 0 0 auto;
  background: rgba(26, 28, 30, 0.28);
}

.pull-quote {
  max-width: 36ch;
  margin: clamp(48px, 7vw, 88px) auto 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(21px, 3.2vw, 34px);
  font-style: italic;
  line-height: 1.34;
}

.services > .eyebrow {
  margin-bottom: clamp(30px, 4.5vw, 50px);
}

.section-title {
  max-width: 24ch;
  margin: 0 auto;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 4.8vw, 50px);
  letter-spacing: -0.012em;
  line-height: 1.08;
}

.section-copy {
  max-width: 52ch;
  margin: clamp(26px, 3.5vw, 40px) auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.7;
}

.process {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 3.5vw, 38px);
  margin-top: clamp(44px, 6vw, 76px);
}

.process-grid {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 40px);
  list-style: none;
  text-align: left;
}

.process-grid li {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 28, 30, 0.16);
}

.step-number {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.process-grid h4 {
  margin: 0 0 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.service-close {
  margin-top: clamp(46px, 6.5vw, 80px);
}

.service-note {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(20px, 2.8vw, 30px);
  font-style: italic;
  line-height: 1.36;
}

.price-line {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.service-close .button {
  margin-top: clamp(26px, 3.5vw, 38px);
}

.proof > .eyebrow {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.score-card {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.score {
  margin: 0;
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(80px, 17vw, 200px);
  letter-spacing: -0.03em;
  line-height: 0.82;
}

.score span {
  color: rgba(26, 28, 30, 0.66);
  font-size: 0.3em;
  letter-spacing: 0.01em;
}

.score-card > p:last-child {
  max-width: 38ch;
  margin: clamp(22px, 3vw, 32px) auto 0;
  color: rgba(26, 28, 30, 0.82);
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.64;
}

.proof-summary {
  max-width: 42ch;
  margin: clamp(34px, 5vw, 56px) auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.62;
}

.text-action {
  margin: 20px 0 0;
}

.text-action a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-note {
  max-width: 34ch;
  margin: clamp(38px, 5.5vw, 64px) auto 0;
  color: rgba(26, 28, 30, 0.86);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(19px, 2.6vw, 27px);
  font-style: italic;
  line-height: 1.4;
}

.continuity {
  padding: clamp(26px, 4vw, 40px) 0;
  background: var(--soft);
  box-shadow: 0 0 0 100vmax var(--soft);
  clip-path: inset(0 -100vmax);
  text-align: center;
}

.continuity p {
  max-width: 64ch;
  margin: 0 auto;
  color: rgba(26, 28, 30, 0.85);
  font-size: 14.5px;
  line-height: 1.75;
}

.continuity strong {
  font-weight: 500;
}

.founder > .eyebrow {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.portrait-placeholder {
  display: flex;
  width: 176px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto;
  padding: 12px;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(26, 28, 30, 0.06) 0 8px,
    transparent 8px 16px
  );
}

.portrait-placeholder span {
  color: var(--quiet);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.founder h3 {
  margin: clamp(26px, 3.5vw, 36px) 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.06;
}

.founder > p {
  max-width: 44ch;
  margin: 22px auto 0;
  color: rgba(26, 28, 30, 0.82);
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.7;
}

.serif-link {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.1em;
  font-style: italic;
}

.contact {
  padding: clamp(56px, 10vw, 120px) 0 clamp(52px, 8vw, 96px);
  text-align: center;
}

.contact h2 {
  max-width: 24ch;
  font-size: clamp(31px, 5.8vw, 62px);
  line-height: 1.06;
}

.business-contact {
  font-size: 15.5px;
  font-style: normal;
  line-height: 1.5;
}

.business-contact span {
  color: var(--quiet);
  font-size: 13.5px;
}

.service-area {
  max-width: 42ch;
  margin: 26px auto 0;
  color: var(--quiet);
  font-size: 13.5px;
}

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--quiet);
  font-size: 12.5px;
}

.site-footer nav {
  gap: 10px 22px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.site-footer nav a {
  text-decoration: none;
}

.study-header {
  border-bottom: 1px solid var(--rule);
}

.study-main {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(48px, 9vw, 96px) 0 clamp(64px, 10vw, 112px);
}

.study-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.study-main h1 {
  max-width: 18ch;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.study-lede {
  max-width: 54ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.study-lede em {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.18em;
  font-style: italic;
}

.study-content {
  margin-top: clamp(48px, 8vw, 84px);
}

.study-content h2 {
  margin: clamp(52px, 8vw, 84px) 0 22px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.study-content h3 {
  margin: 40px 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.study-content p,
.study-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.study-content ul,
.study-content ol {
  padding-left: 1.25em;
}

.study-content strong {
  color: var(--ink);
  font-weight: 500;
}

.study-content code {
  padding: 0.08em 0.25em;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.88em;
}

.study-content hr {
  width: 40px;
  height: 1px;
  margin: 0 0 clamp(42px, 7vw, 68px);
  border: 0;
  background: var(--accent);
}

.study-content p + hr {
  margin-top: clamp(42px, 7vw, 68px);
}

.study-content .finding {
  margin-top: 30px;
}

.study-content .finding strong:first-child {
  display: block;
  margin-bottom: 5px;
}

.study-content li + li {
  margin-top: 14px;
}

.study-content .study-closing {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.45;
}

.study-content .study-closing + .study-back {
  margin-top: 48px;
}

.table-scroll {
  max-width: 100%;
  margin: 32px 0;
  overflow-x: auto;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.study-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.study-content th,
.study-content td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.study-content th {
  font-weight: 500;
}

.study-content td:nth-child(2),
.study-content th:nth-child(2),
.study-content td:nth-child(n + 4),
.study-content th:nth-child(n + 4) {
  text-align: center;
}

.study-content tbody tr:last-child td {
  border-bottom: 0;
}

.study-back {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {
  .primary-nav {
    gap: 11px 18px;
    letter-spacing: 0.11em;
  }

  .button {
    width: 100%;
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
