:root {
  --ink: #17211f;
  --muted: #5e6c68;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d9ded8;
  --green: #1f6b57;
  --green-dark: #104d40;
  --gold: #c8982d;
  --blue: #1c4e74;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-page {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.strip-inner,
.method-section,
.fit-section,
.final-cta {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: end;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 72px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-family: Lora, Georgia, serif;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .96;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 16px;
  color: #31413d;
  font-size: 21px;
}

.lede-note {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 107, 87, .22);
}

.btn-secondary {
  background: rgba(255, 255, 255, .72);
  border-color: #b8c3bd;
  color: var(--ink);
}

.profile-panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid #d5ddd7;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(23, 33, 31, .14);
}

.profile-panel img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  border-radius: 6px;
}

.profile-panel strong,
.profile-panel span {
  display: block;
}

.profile-panel strong {
  font-size: 20px;
}

.profile-panel span {
  color: var(--muted);
}

.problem-strip {
  background: #15221f;
  color: #fff;
  padding: 34px 32px;
}

.strip-heading {
  max-width: 1160px;
  margin: 0 auto 20px;
}

.strip-heading .eyebrow {
  color: var(--gold);
}

.strip-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
  color: #fff;
  font-size: 36px;
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.strip-inner article {
  min-height: 210px;
  padding: 28px;
  background: #15221f;
}

.strip-inner span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.strip-inner h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.strip-inner p {
  margin-bottom: 0;
  color: #c8d6d0;
}

.method-section,
.fit-section,
.final-cta {
  padding: 88px 32px;
}

.method-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.method-intro h2,
.fit-copy h2,
.final-cta h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-grid article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 255, 255, .48);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-grid h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 22px;
}

.method-grid p,
.fit-copy p {
  color: var(--muted);
}

.fit-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-list div {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fit-list strong,
.fit-list span {
  display: block;
}

.fit-list strong {
  margin-bottom: 6px;
  color: var(--blue);
}

.fit-list span {
  color: var(--muted);
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}

.final-cta .eyebrow {
  color: var(--gold);
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 24px 18px 42px;
  }

  .hero-inner,
  .fit-section {
    grid-template-columns: 1fr;
  }

  .brand {
    margin-bottom: 48px;
  }

  .profile-panel {
    max-width: 360px;
  }

  .strip-inner,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-section,
  .fit-section,
  .final-cta {
    padding: 58px 18px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
}


.intake-hero {
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.intake-hero-inner,
.intake-section {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intake-hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: end;
}

.intake-hero h1 {
  max-width: 820px;
}

.intake-section {
  padding: 76px 32px 96px;
}

.problem-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(23, 33, 31, .08);
}

.form-intro {
  max-width: 760px;
  margin-bottom: 10px;
}

.form-intro h2 {
  margin-bottom: 0;
  font-family: Lora, Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-form label,
.problem-form label span {
  display: grid;
}

.problem-form label {
  gap: 8px;
}

.problem-form label span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.problem-form input,
.problem-form select,
.problem-form textarea {
  width: 100%;
  border: 1px solid #b9c5bf;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.problem-form input,
.problem-form select {
  min-height: 50px;
  padding: 0 14px;
}

.problem-form textarea {
  resize: vertical;
  padding: 14px;
}

.problem-form input:focus,
.problem-form select:focus,
.problem-form textarea:focus {
  outline: 3px solid rgba(31, 107, 87, .18);
  border-color: var(--green);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.form-actions button {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 900px) {
  .intake-hero {
    padding: 24px 18px 42px;
  }

  .intake-hero-inner,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .intake-section {
    padding: 48px 18px 68px;
  }

  .problem-form {
    padding: 22px;
  }
}


.site-footer {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 28px 32px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-dark {
  background: var(--ink);
  color: #c8d6d0;
}

.site-footer-dark a {
  color: #fff;
}

@media (max-width: 560px) {
  .site-footer {
    padding: 24px 18px 30px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.blog-hero,
.article-hero {
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 1) 0%, rgba(247, 244, 238, .96) 62%, rgba(236, 241, 236, .88) 100%),
    linear-gradient(135deg, rgba(31, 107, 87, .08) 0%, rgba(31, 107, 87, 0) 42%),
    repeating-linear-gradient(90deg, rgba(23, 33, 31, .035) 0 1px, transparent 1px 64px);
  border-bottom: 1px solid var(--line);
}

.blog-hero-inner,
.blog-list-section,
.article-hero-inner,
.article-body,
.article-cta {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.blog-hero-inner,
.article-hero-inner {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-hero h1,
.article-hero h1 {
  max-width: 920px;
}

.blog-list-section {
  padding: 76px 32px 96px;
}

.blog-list-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.blog-list-intro h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.blog-list {
  border-top: 1px solid var(--line);
}

.blog-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.blog-row-index {
  color: var(--gold);
  font-weight: 900;
}

.blog-row-meta,
.article-meta {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-row h3 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.blog-row h3 a,
.text-link,
.back-link {
  text-decoration: none;
}

.blog-row-copy p {
  max-width: 760px;
  color: var(--muted);
}

.text-link,
.back-link {
  color: var(--green-dark);
  font-weight: 900;
}

.back-link {
  width: fit-content;
  margin-bottom: 24px;
}

.article-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}

.article-author img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author strong {
  color: var(--ink);
}

.article-author span {
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  max-width: 780px;
  padding: 76px 32px 96px;
  color: #2f3f3b;
  font-size: 19px;
}

.article-body h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-family: Lora, Georgia, serif;
  font-size: 34px;
  line-height: 1.12;
}

.article-body p,
.article-body li {
  color: #354743;
}

.article-body ol {
  padding-left: 24px;
}

.article-callout,
.benchmark-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-callout {
  display: grid;
  gap: 4px;
  margin: 28px 0;
  padding: 22px;
}

.article-callout strong,
.benchmark-grid strong {
  color: var(--blue);
}

.article-callout span,
.benchmark-grid span {
  color: var(--muted);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 34px;
}

.benchmark-grid div {
  padding: 18px;
}

.benchmark-grid strong,
.benchmark-grid span {
  display: block;
}

.benchmark-grid strong {
  margin-bottom: 6px;
}

.article-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 76px 32px;
  background: var(--ink);
  color: #fff;
}

.article-cta .eyebrow {
  color: var(--gold);
}

.article-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.article-cta p:last-child {
  margin-bottom: 0;
  color: #c8d6d0;
}

@media (max-width: 900px) {
  .blog-hero,
  .article-hero {
    padding: 24px 18px 42px;
  }

  .blog-hero-inner,
  .article-hero-inner {
    min-height: auto;
  }

  .blog-list-section,
  .article-body,
  .article-cta {
    padding: 58px 18px;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .blog-row,
  .benchmark-grid {
    grid-template-columns: 1fr;
  }

  .blog-row {
    gap: 12px;
  }
}

.article-body a {
  color: var(--green-dark);
  font-weight: 800;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.article-body code {
  padding: 2px 6px;
  background: rgba(31, 107, 87, .08);
  border: 1px solid rgba(31, 107, 87, .16);
  border-radius: 4px;
  font-size: .92em;
}

.article-body ul {
  padding-left: 24px;
}

.article-table-wrap {
  width: min(100%, 980px);
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.article-table-wrap.wide {
  width: min(100vw - 64px, 1060px);
  margin-left: calc((780px - min(100vw - 64px, 1060px)) / 2);
}

.article-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.article-table caption {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.article-table th,
.article-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-faq {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.article-faq h3 {
  margin: 0 0 6px;
}

.article-faq p {
  margin-bottom: 0;
}

.article-faq + p {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .article-table-wrap.wide {
    width: 100%;
    margin-left: 0;
  }
}

.review-highlight {
  position: relative;
  padding: 16px 18px;
  background: #fff7d8;
  border: 1px solid rgba(200, 152, 45, .55);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(23, 33, 31, .06);
}

.article-cred.review-highlight {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.article-insert.review-highlight {
  margin: 36px 0;
}

.article-insert.review-highlight h2 {
  margin-top: 0;
}

.article-insert.review-highlight p:last-child,
.review-highlight p:last-child {
  margin-bottom: 0;
}

.article-post-cta {
  margin-top: 6px;
}

.article-body .btn-primary {
  color: #fff;
}

.article-post-action {
  margin: -18px 0 42px;
}

@media (max-width: 720px) {
  .article-table-wrap,
  .article-table-wrap.wide {
    width: 100%;
    margin-left: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .article-table,
  .article-table caption,
  .article-table tbody,
  .article-table tr,
  .article-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .article-table thead {
    display: none;
  }

  .article-table caption {
    margin-bottom: 10px;
    padding: 0;
    font-size: 17px;
  }

  .article-table tr {
    margin-bottom: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  .article-table td {
    display: grid;
    grid-template-columns: minmax(108px, .42fr) minmax(0, 1fr);
    gap: 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
  }

  .article-table td:first-child {
    border-top: 0;
  }

  .article-table td::before {
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .benchmark-table td:nth-child(1)::before { content: "TTFC score"; }
  .benchmark-table td:nth-child(2)::before { content: "Level"; }
  .benchmark-table td:nth-child(3)::before { content: "Meaning"; }

  .friction-table td:nth-child(1)::before { content: "Time range"; }
  .friction-table td:nth-child(2)::before { content: "Friction"; }
  .friction-table td:nth-child(3)::before { content: "Symptoms"; }
  .friction-table td:nth-child(4)::before { content: "Root causes"; }
  .friction-table td:nth-child(5)::before { content: "Fixes"; }
}

@media (max-width: 420px) {
  .article-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.import-change-highlight {
  padding: 2px 6px;
  background: #e8f3ff;
  border: 1px solid rgba(28, 78, 116, .28);
  border-radius: 5px;
}

.article-callout.import-change-highlight {
  padding: 22px;
  border-left: 5px solid var(--blue);
}

.review-key {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.review-key span {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 900;
}

.review-key-requested {
  background: #fff7d8;
  border: 1px solid rgba(200, 152, 45, .55);
  color: #6f5111;
}

.review-key-import {
  background: #e8f3ff;
  border: 1px solid rgba(28, 78, 116, .28);
  color: var(--blue);
}

.article-toc {
  margin: 0 0 42px;
  padding: 22px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-toc h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.article-toc a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.article-insert {
  margin: 36px 0;
  padding: 24px;
  background: rgba(31, 107, 87, .06);
  border: 1px solid rgba(31, 107, 87, .18);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.article-insert h2 {
  margin-top: 0;
}

.article-insert p:last-child {
  margin-bottom: 0;
}

.article-insert.review-highlight {
  background: #fff7d8;
  border-color: rgba(200, 152, 45, .55);
  border-left-color: var(--gold);
}

/* Do not animate anchor jumps when the visitor requests reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Shared v13 layout and interaction rules. The build appends this layer to
   site.css so visitors receive a single shared stylesheet. */

/* Review markers */
.note-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 32px;
  background: var(--ink);
  color: #c8d6d0;
  font-size: 13px;
}
.note-bar strong { color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.note-bar code { color: #fff; }

mark.changed {
  background: #fff7d8;
  color: inherit;
  border-bottom: 2px dashed var(--gold);
  cursor: help;
}
mark.changed.dark { background: rgba(200, 152, 45, .18); }

/* Header nav (live site has none) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header .brand { margin-bottom: 0; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--green); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; box-shadow: none; }

/* Hero sits under the header now, so it no longer needs 88vh */
.hero { min-height: auto; padding: 72px 32px 80px; }
.hero-actions { align-items: center; }
.hero-actions .text-link { margin-left: 4px; }
.profile-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }

/* Shared section intro */
.section-intro { max-width: 760px; margin-bottom: 34px; }
.section-intro h2,
.work-copy h2,
.writing-head h2,
.faq-inner h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}
.section-intro p { color: var(--muted); font-size: 18px; }

/* Services */
.services-section,
.work-section,
.writing-section {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 88px 32px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.service-number {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service h3 { margin-bottom: 10px; color: var(--green-dark); font-size: 22px; line-height: 1.2; }
.service > p { color: var(--muted); }
.service details { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.service summary {
  display: flex;
  justify-content: space-between;
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "+"; font-weight: 900; }
.service details[open] summary::after { content: "\2212"; }
.service ul { margin: 12px 0 0; padding-left: 20px; color: #31413d; font-size: 15px; }
.service li + li { margin-top: 6px; }

/* Proof */
.work-section { border-top: 1px solid var(--line); }
.work-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}
.work-copy > p { color: #31413d; font-size: 18px; }
.facts { display: grid; gap: 0; margin: 24px 0 28px; border-top: 1px solid var(--line); }
.facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
.disclosure { margin-top: 18px; color: var(--muted); font-size: 13px; }
.work-visual { margin: 0; }
.work-visual img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 31, .14);
}
.work-visual figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

.client-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.client-logo { width: 100%; height: auto; }
.client-row h3 { margin-bottom: 6px; font-size: 20px; }
.client-row p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.client-row .eyebrow { margin-bottom: 6px; }
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.pipeline li {
  counter-increment: step;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.pipeline li::before { content: "0" counter(step); display: block; color: var(--gold); font-weight: 900; font-size: 12px; }
.pipeline strong, .pipeline span { display: block; }
.pipeline span { color: var(--muted); font-size: 12px; }

/* Articles */
.writing-section { border-top: 1px solid var(--line); }
.writing-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.writing-head h2 { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card {
  display: block;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .15s;
}
.post-card:hover { border-color: var(--green); }
.post-meta { display: block; margin-bottom: 12px; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 10px; font-family: Lora, Georgia, serif; font-size: 22px; line-height: 1.2; }
.post-card p { margin-bottom: 0; color: var(--muted); }

/* FAQ */
.faq-section { background: #ece8df; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 88px 32px;
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 52px;
}
.faq-list { border-top: 1px solid #c9cfc8; }
.faq-list details { border-bottom: 1px solid #c9cfc8; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green); font-weight: 900; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin: 0 0 20px; color: #31413d; max-width: 640px; }

.cta-note { margin: 14px 0 0; color: #c8d6d0; max-width: 620px; }

/* Expanded footer */
.footer-expanded { background: #0f1917; color: #c8d6d0; }
.footer-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 52px 32px 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid .brand { margin-bottom: 14px; color: #fff; }
.footer-grid .brand-mark { border-color: #fff; }
.footer-grid h4 { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid nav a { display: block; margin-bottom: 8px; color: #fff; font-weight: 600; text-decoration: none; font-size: 14px; }
.footer-grid nav a:hover { text-decoration: underline; }

@media (max-width: 1200px) {
  .client-row { grid-template-columns: 120px minmax(0, 1fr); }
  .pipeline, .client-row > .text-link { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header-inner { padding: 10px 18px; justify-content: space-between; }
  .hero { padding: 42px 18px 48px; }
  .services-section, .work-section, .writing-section { padding: 58px 18px; }
  .service-grid, .post-grid, .work-feature, .faq-inner { grid-template-columns: 1fr; }
  .faq-inner { padding: 58px 18px; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 40px 18px; }
  .note-bar { padding: 9px 18px; }
}

@media (max-width: 560px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .writing-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-sm { width: auto; }
}

/* Anchor offset for the sticky header; keep button labels on one line */
section[id], main[id] { scroll-margin-top: 84px; }
.btn { white-space: nowrap; }

/* B10 wording pass */
.services-positioning { max-width: 760px; margin: -12px 0 30px; color: #31413d; font-size: 17px; }
.details-cta { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.details-cta span { margin-left: .2em; }
.details-cta:hover { text-decoration: underline; }
.service-footnote { margin: 22px 0 0; color: var(--muted); }
.service-footnote a { color: var(--green-dark); font-weight: 800; }

.facts-compact { margin: 14px 0 0; }
.facts-compact div { grid-template-columns: 90px minmax(0, 1fr); padding: 8px 0; font-size: 14px; }
.facts-compact dt { font-size: 11px; }

.method-sub { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process li {
  padding: 26px;
  background: rgba(255, 255, 255, .48);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process span { display: block; margin-bottom: 26px; color: var(--gold); font-weight: 900; }
.process h3 { margin-bottom: 12px; color: var(--green-dark); font-size: 21px; line-height: 1.25; }
.process p { margin-bottom: 0; color: var(--muted); }

.post-card { display: flex; flex-direction: column; }
.post-card p { margin-bottom: 16px; }
.post-card b { margin-top: auto; color: var(--green-dark); font-size: 14px; }

.cta-lead { margin: 14px 0 0; color: #fff; font-size: 19px; max-width: 620px; }
.final-cta .cta-note { font-size: 14px; }

.footer-grid > div p { margin: 0 0 6px; font-size: 14px; }
.footer-bottom {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 18px 32px 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .footer-bottom { padding: 18px; }
}

/* B10 messaging pass 2: hero with featured project */
.hero-b10 { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: 48px; }
.hero-b10 h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.02; }
.hero-b10 h1 em { color: var(--green); font-style: italic; }
.identity { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.identity img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.identity p { margin: 0; }
.identity strong, .identity span { display: block; }
.identity span { color: var(--muted); font-size: 14px; }
.identity .identity-note { color: var(--green-dark); font-weight: 700; }
.hero-project {
  margin: 0;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 31, .14);
}
.hero-project-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.hero-project-head .eyebrow { margin: 0; }
.sample-type { color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-project-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 6px; }
.hero-project figcaption { margin-top: 16px; }
.hero-project h3, .hero-project .hero-project-title { margin: 0 0 8px; font-family: Lora, Georgia, serif; font-size: 24px; line-height: 1.15; }
.hero-project figcaption p { color: var(--muted); font-size: 15px; }
.hero-project .disclosure { display: block; margin-top: 12px; }

/* Prevail row: copy left, B10 workflow panel right */
.client-row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 40px; padding: 30px; }
.client-copy .client-logo { width: 150px; margin-bottom: 18px; }
.client-copy .text-link { display: inline-block; margin-top: 18px; }
.workflow-ui { margin: 0; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.workflow-top .eyebrow { margin-bottom: 10px; }
.workflow-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.workflow-head span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.workflow-head strong { font-size: 17px; }
.workflow-status { padding: 4px 10px; background: rgba(31, 107, 87, .1); color: var(--green-dark) !important; border-radius: 100px; white-space: nowrap; }
.workflow-ui .pipeline li { background: var(--panel); }
.content-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.content-types span { padding: 4px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 700; }
.workflow-ui figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Prototype intake page */
.intake-b10, .journal-intro, .journal-library { width: min(1160px, 100%); margin: 0 auto; padding: 72px 32px 88px; }
.intake-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.intake-b10 h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1.08; }
.next-steps { margin: 26px 0 0; padding-left: 22px; color: #31413d; }
.next-steps li + li { margin-top: 8px; }
.form-panel h2 { font-family: Lora, Georgia, serif; font-size: 32px; margin-bottom: 6px; }
.form-note { color: var(--muted); }
.optional-details summary { color: var(--green-dark); font-weight: 800; cursor: pointer; }
.optional-body { display: grid; gap: 18px; margin-top: 16px; }
.privacy-note { margin: 0; color: var(--muted); font-size: 13px; }
.preview-message { padding: 18px; background: rgba(31, 107, 87, .08); border: 1px solid rgba(31, 107, 87, .25); border-radius: 8px; }
.preview-message p { margin: 6px 0 10px; color: #31413d; }

/* Prototype blog page */
.journal-intro { padding-bottom: 32px; }
.journal-intro h1 em { color: var(--green); }
.journal-intro .lede { max-width: 640px; }
.proto-note { display: inline-block; margin: 8px 0 0; padding: 8px 12px; background: #fff7d8; border: 1px solid rgba(200, 152, 45, .55); border-radius: 6px; font-size: 14px; }
.journal-library { padding-top: 24px; }
.library-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.library-heading h2 { font-family: Lora, Georgia, serif; font-size: 34px; margin: 0; }
#article-count { color: var(--muted); font-weight: 700; }
.topic-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-weight: 700; font-size: 14px; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.topic-filters button { padding: 7px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 100px; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.topic-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
#journal-list { border-top: 1px solid var(--line); }
.journal-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.journal-row[hidden] { display: none; }
.journal-row.is-target { background: #fff7d8; box-shadow: 0 0 0 12px #fff7d8; }
.row-meta span { display: block; color: var(--green-dark); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.row-meta span + span { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; margin-top: 4px; }
.row-copy h3 { margin-bottom: 8px; font-family: Lora, Georgia, serif; font-size: 26px; line-height: 1.15; }
.row-copy h3 a { color: inherit; text-decoration: underline; text-decoration-color: #a9b8b2; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .16s ease, text-decoration-color .16s ease; }
.row-copy h3 a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }
.row-copy h3 a:focus-visible { border-radius: 2px; outline: 2px solid var(--green); outline-offset: 4px; text-decoration: underline; text-decoration-color: currentColor; }
.row-copy p { color: var(--muted); margin-bottom: 6px; }
.read-time { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero-b10, .client-row, .intake-grid { grid-template-columns: 1fr; }
  .intake-b10, .journal-intro, .journal-library { padding: 48px 18px 64px; }
  .journal-row { grid-template-columns: 1fr; gap: 8px; }
}

/* Keep the existing main links available throughout the prototype at mobile widths. */
@media (max-width: 900px) {
  .site-header { position: relative; }
  .site-header-inner { flex-wrap: wrap; gap: 10px 18px; }
  .site-nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .site-nav a { font-size: 14px; }
  .site-header .btn-sm { margin-left: auto; }
}

@media (max-width: 560px) {
  .site-header .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .site-header .btn-sm { order: 4; flex: 1 0 100%; margin-left: 0; }
  .journal-intro h1 { font-size: clamp(36px, 11vw, 42px); }
}

/* Project walkthrough video (interim-branded Alder film) */
.work-video video {
  width: 100%;
  height: auto;
  display: block;
  background: #15221f;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 33, 31, .14);
}
#walkthrough { scroll-margin-top: 100px; }

/* Keep the next step visible while the service details are collapsed. */
.service details { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.service summary { color: var(--ink); font-weight: 700; min-height: 28px; align-items: center; }
.service-cta {
  display: inline-block;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 0;
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.service-cta:hover { color: var(--green); text-decoration-thickness: 2px; }

/* Required fields and errors become visible after the first preview attempt. */
.req { color: #9b2c1f; text-decoration: none; font-weight: 800; }
.field-error { display: block; margin-top: 6px; color: #9b2c1f; font-size: 14px; font-style: normal; font-weight: 700; }
.field-error[hidden] { display: none; }
.problem-form [aria-invalid="true"] { border-color: #9b2c1f; box-shadow: 0 0 0 1px #9b2c1f; }
.form-error-summary { margin: 4px 0 14px; padding: 10px 14px; border-left: 4px solid #9b2c1f; background: #fbeeec; color: #6f1f16; font-weight: 700; }
.form-error-summary[hidden] { display: none; }
.problem-form label > span:first-child { display: flex; align-items: baseline; gap: 4px; }
.problem-form .req { font-size: 14px; line-height: 1; }

/* Keyboard users can bypass the main navigation. */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
main[id] { scroll-margin-top: 84px; }
html { scroll-padding-top: 96px; }

/* Keep anchored service cards clear of the sticky header. */
.service[id] { scroll-margin-top: 96px; }

/* Menu and footer links keep their visual positions while exposing hit areas at least 24px tall. */
.site-nav a { padding-block: 2px; margin-block: -2px; }
.footer-grid nav a { padding-block: 2px; margin: -2px 0 6px; }

/* Keep the blog heading in proportion to the rest of the site. */
.journal-intro h1 { font-size: clamp(42px, 5.6vw, 76px); }
@media (max-width: 560px) { .journal-intro h1 { font-size: clamp(36px, 11vw, 42px); } }

/* The link label, underline, and focus state carry the navigation cue. */
.text-link { text-decoration: underline; text-underline-offset: 4px; }

/* Pointer feedback complements the always-visible link and focus cues. */
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary:hover { border-color: var(--green); color: var(--green-dark); }
.site-header .brand:hover { color: var(--green); }
.site-header .brand:hover .brand-mark { border-color: currentColor; }
.footer-grid .brand:hover { color: var(--gold); }
.footer-grid .brand:hover .brand-mark { border-color: currentColor; }
.text-link:hover,
.service-footnote a:hover { color: var(--green); text-decoration-thickness: 2px; }
.hero-project-shot:hover img { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }

/* Keep the spam trap out of the visual and keyboard flow. */
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-submit-status { margin-top: 12px; padding: 10px 14px; border-left: 4px solid var(--green); background: #edf5f1; color: var(--green-dark); }
.form-submit-status.is-error { border-color: #9b2c1f; background: #fbeeec; color: #6f1f16; }
.form-submit-status[hidden] { display: none; }
.problem-form .form-actions .btn { font-weight: 800; }
.problem-form .form-actions .btn:disabled { cursor: wait; opacity: .72; }
.status-page { min-height: 50vh; }
.status-page h1 { max-width: 800px; }
.status-page .lede { max-width: 42rem; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status-shell { min-height: 100vh; display: flex; flex-direction: column; }
.status-main { min-height: 0; display: flex; flex: 1; flex-direction: column; overflow: visible; }
.status-main .status-page { flex: 1; }

/* V13: page refinement appended after the base and shared source layers. */
:root {
  --gold-ink: #765719;
}

/* Give the introduction a calmer rhythm. */
.hero {
  padding-block: 92px 100px;
}

.hero-b10 {
  gap: 60px;
}

.hero-copy,
.hero-project,
.work-copy,
.work-visual,
.client-copy,
.workflow-ui {
  min-width: 0;
}

.hero-b10 h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.08;
}

.hero-copy .lede {
  margin-bottom: 20px;
  font-size: 19px;
  line-height: 1.55;
}

.hero-copy .lede-note {
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-copy .hero-actions {
  gap: 14px 22px;
}

.hero-project {
  padding: 16px;
  box-shadow: 0 12px 32px rgba(23, 33, 31, .08);
}

.hero-project h3,
.hero-project .hero-project-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
}

.btn-primary {
  box-shadow: 0 8px 20px rgba(31, 107, 87, .14);
}

/* Internal actions do not need a diagonal external-link arrow. */
.btn > span[aria-hidden="true"] {
  display: none;
}

/* Keep the warm accent readable when it is used as small text on cream. */
.service-number,
.pipeline li::before,
.process span {
  color: var(--gold-ink);
}

/* Let the project evidence carry more of the visual weight. */
.section-intro h2,
.writing-head h2,
.faq-inner h2,
.method-intro h2,
.final-cta h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 600;
  line-height: 1.12;
}

.work-feature {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 64px;
}

.work-copy h2 {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.13;
}

.work-video video {
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(23, 33, 31, .08);
}

.client-row {
  margin-top: 72px;
  padding: 34px 0 0;
  gap: 56px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.workflow-ui {
  border-left: 4px solid var(--green);
  box-shadow: 0 8px 24px rgba(23, 33, 31, .05);
}

.post-card h3 {
  font-weight: 600;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.final-cta a:focus-visible,
.footer-expanded a:focus-visible {
  outline-color: var(--gold);
}

@media (max-width: 900px) {
  .site-header-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .site-nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    font-size: 14px;
  }

  .site-header .btn-sm {
    margin-left: auto;
  }

  .hero {
    padding-block: 56px 64px;
  }

  .hero-b10,
  .work-feature,
  .client-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-feature {
    gap: 36px;
  }

  .client-row {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .site-header .btn-sm {
    order: 4;
    flex: 1 0 100%;
    margin-left: 0;
  }

  .hero-b10 h1 {
    font-size: clamp(36px, 11vw, 44px);
  }

  .hero-copy .lede {
    font-size: 18px;
  }

  .hero-copy .lede-note {
    font-size: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 10px 16px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .hero-actions .btn {
    max-width: 100%;
  }

  .client-row {
    padding-top: 26px;
  }

  .facts-compact div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .workflow-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .workflow-status {
    white-space: normal;
  }

  .workflow-ui .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V13 fixes, 2026-09-22 */

/* Avoid a lone last word in large headings (e.g. "What do your users need to / do?"). */
h1, h2, h3 {
  text-wrap: balance;
}

/* On phones the header wraps to logo, menu row, and full-width button (about 188px).
   Pinned, that covers roughly a quarter of the screen, so it scrolls away below 900px. */
@media (max-width: 900px) {
  .site-header {
    position: relative;
  }
}
