/* =========================================================
   Inner pages (services, example work, guides, about, contact)
   Builds on styles.css tokens/components
   ========================================================= */

[hidden] { display: none !important; }

.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1) !important; }

/* ---------- Page hero ---------- */
.page-hero { padding: 140px 0 64px; border-bottom: 1px solid var(--line); background: var(--bg); }
.page-hero h1 em { color: var(--navy); }
/* Title-only hero: breadcrumb + H1, so the page body starts sooner */
.page-hero--title { padding: 128px 0 36px; }
.page-hero--title h1 { margin: 0; max-width: none; }
.page-hero--title .breadcrumb { margin-bottom: 14px; }
.page-hero--title + .section { padding-top: 56px; }
.work-disclaimer { font-size: 0.9rem; color: var(--ink-faint); margin: 0 0 40px; max-width: 70ch; }

/* Navy hero on inner pages (body.dark-hero); header text turns white over it */
body.dark-hero .page-hero {
  padding: 150px 0 72px;
  border-bottom: none;
  background: var(--navy);
  color: #fff;
}
body.dark-hero .page-hero.page-hero--title { padding: 128px 0 40px; }
/* Light text and buttons on the navy hero */
body.dark-hero .page-hero h1, body.dark-hero .page-hero .eyebrow { color: #fff; }
body.dark-hero .page-hero h1 em { color: #cdd9f2; }
body.dark-hero .page-hero .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
body.dark-hero .page-hero .page-lede { color: rgba(255, 255, 255, 0.9); }
body.dark-hero .page-hero .page-meta, body.dark-hero .page-hero .breadcrumb { color: rgba(255, 255, 255, 0.7); }
body.dark-hero .page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
body.dark-hero .page-hero .breadcrumb a:hover { color: #fff; }
body.dark-hero .page-hero .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.45); }
body.dark-hero .page-hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
body.dark-hero .page-hero .btn-primary:hover { background: var(--bg-panel); border-color: var(--bg-panel); }
body.dark-hero .page-hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
body.dark-hero .page-hero .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 24ch;
}
.page-hero h1 em { font-style: italic; }
.case-study-background.is-open .stat-row { margin: 18px 0 0; }
.page-lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0 0 28px;
}
.page-hero .hero-actions { gap: 16px; }
.page-meta { font-size: 0.85rem; color: var(--ink-faint); margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--ink-faint); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Prose layout ---------- */
.page-body { padding: 72px 0 24px; }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}
.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p, .prose li { font-size: 1.03rem; line-height: 1.72; color: var(--ink-soft); }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose a { color: inherit; }
.prose .answer-first {
  font-size: 1.12rem;
  color: var(--ink);
  border-left: 3px solid var(--navy);
  padding: 4px 0 4px 18px;
  margin: 0 0 32px;
}
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); }
.prose figcaption { font-size: 0.85rem; color: var(--ink-faint); margin-top: 8px; }
.prose .note {
  background: var(--bg-panel);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Data table */
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--bg-panel); }
.prose td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin: 8px 0 32px; }
.stat { background: var(--bg); padding: 18px 16px; }
.prose .stat-num, .stat-num { font-family: var(--font-serif); font-weight: 500; font-size: 1.85rem; color: var(--navy); margin: 0 0 4px; line-height: 1.1; }
.prose .stat-label, .stat-label { font-size: 0.8rem; color: var(--ink-faint); margin: 0; line-height: 1.4; }

/* ---------- Sidebar ---------- */
.page-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--bg);
}
.aside-card--navy { background: var(--navy); border-color: var(--navy); }
.aside-card.aside-card--navy h3 { color: #fff; }
.aside-card.aside-card--navy p { color: rgba(255,255,255,0.8); }
.aside-card--navy .btn { background: #fff; color: var(--navy); border-color: #fff; }
.aside-card--navy .btn:hover { background: var(--bg-panel); border-color: var(--bg-panel); }
.aside-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.aside-card p { font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: 10px 0; font-size: 0.92rem; color: var(--ink-soft); text-decoration: none; }
.aside-links a:hover { color: var(--navy); }

/* ---------- Card grid (related pages, hubs) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.link-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.link-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.link-card .card-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); }
.link-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.link-card p { font-size: 0.93rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.link-card .text-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }

/* ---------- Homepage results cards ---------- */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-md);
  color: inherit; text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.result-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.result-card .card-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); }
.result-problem { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 4px 0 2px; }
.result-copy { font-size: 0.96rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.result-card .text-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.result-note { margin: 22px 0 0; font-size: 0.86rem; color: var(--ink-faint); }
.case-study-more { margin: 20px 0 0; }
@media (max-width: 860px) { .result-grid { grid-template-columns: 1fr; } }

/* ---------- Guides: blog-style post list ---------- */
.post-list { max-width: 760px; }
.post-preview { padding: 40px 0; border-top: 1px solid var(--line); }
.post-preview:first-child { border-top: none; padding-top: 0; }
.post-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }
.post-preview h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; margin: 0 0 14px; }
.post-preview h2 a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.post-preview h2 a:hover { color: var(--navy); }
.post-excerpt { font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }

/* ---------- About: mission, values, team ---------- */
.mission-head { max-width: 760px; }
.mission-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.value-card { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.value-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.value-card p { font-size: 0.97rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.team-section .section-head { margin-bottom: 48px; }
.team-member-row { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Services: tabbed panel inside each dropdown ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-block { padding: 44px 0 48px; border-bottom: 1px solid var(--line); }
.svc-block-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.svc-block-head .accordion-index { color: var(--navy); font-size: 1.1rem; }
.svc-block-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.svc-block-head p { margin: 0; font-size: 0.92rem; color: var(--ink-faint); }
.svc-block-head .text-link { white-space: nowrap; }
@media (max-width: 700px) {
  .svc-block-head { grid-template-columns: auto 1fr; }
  .svc-block-head .text-link { grid-column: 2; justify-self: start; margin-top: 6px; white-space: normal; }
}
.svc-tabs { margin: 0; }
.svc-tablist { display: flex; gap: 4px; padding: 4px; background: var(--bg-panel); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.svc-tablist::-webkit-scrollbar { display: none; }
.svc-tab { font: 500 0.88rem var(--font-sans); color: var(--ink-soft); background: transparent; border: 0; border-radius: 999px; padding: 9px 18px; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.svc-tab:hover { color: var(--ink); }
.svc-tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.svc-tab:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.svc-tabpanel { padding-top: 24px; animation: svcFade 0.3s var(--ease); }
@keyframes svcFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.svc-prompt { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 14px; }

/* Fit checklist (static: readers check these off in their head) */
.fit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 28px; }
.fit-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 0.97rem; color: var(--ink); }
.fit-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; }

/* Deliverable tiles */
.svc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.svc-tiles li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.svc-icon { width: 26px; height: 26px; color: var(--navy); margin-bottom: 8px; }
.svc-tiles strong { font-size: 0.96rem; color: var(--ink); }
.svc-tiles span { font-size: 0.86rem; line-height: 1.45; color: var(--ink-soft); }

/* Step track */
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.svc-steps::before { content: ''; position: absolute; top: 17px; left: 18px; right: 18px; height: 1px; background: var(--line-strong); }
.svc-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.svc-step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--navy); color: var(--navy); font: 500 1rem var(--font-serif); margin-bottom: 10px; position: relative; }
.svc-steps strong { font-size: 0.96rem; color: var(--ink); }
.svc-steps li > span:last-child { font-size: 0.86rem; line-height: 1.45; color: var(--ink-soft); }

/* Pricing callout */
.svc-price { padding: 30px 32px; border-radius: var(--radius-md); background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink); display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.svc-price > :not(.btn) { grid-column: 1; }
.svc-price .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (max-width: 700px) { .svc-price { grid-template-columns: 1fr; } .svc-price .btn { grid-column: 1; grid-row: auto; justify-self: start; } }
.svc-price-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--amber); margin: 0 0 8px; }
.svc-price-title { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.15; margin: 0 0 10px; }
.svc-price-line { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 72ch; }

@media (max-width: 700px) {
  .svc-steps { grid-template-columns: 1fr; gap: 18px; }
  .svc-steps::before { top: 18px; bottom: 18px; left: 17px; right: auto; width: 1px; height: auto; }
  .svc-steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .svc-step-num { grid-row: span 2; margin: 0; }
}

/* ---------- Service detail pages: expanded version of the Services page components ---------- */
body.svc-detail main > .svc-lead-section { padding-bottom: 56px; }
.svc-lead { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--ink); margin: 0; max-width: 46ch; }
/* Services overview "Is it a fit?": stacked owner quotes instead of checkboxes */
.fit-quotes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.fit-quotes li { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.fit-quotes li::before { content: '\201C'; }
.fit-quotes li::after { content: '\201D'; }
.fit-list--lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 40px; }
.fit-list--lg li { padding: 16px 0 16px 34px; font-size: 1.02rem; line-height: 1.5; }
.fit-list--lg li::before { top: 19px; width: 18px; height: 18px; }
.svc-tiles--lg { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; }
@media (max-width: 960px) { .svc-tiles--lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-tiles--lg { grid-template-columns: 1fr; } }
body.svc-detail main > .section { padding-top: 72px; padding-bottom: 72px; }
body.svc-detail main > .section .section-head { margin-bottom: 36px; }
.svc-tiles--lg li { padding: 24px 22px; gap: 6px; transition: border-color 0.25s ease, transform 0.25s var(--ease); }
.svc-tiles--lg li:hover { border-color: var(--navy); transform: translateY(-2px); }
.svc-tiles--lg .svc-icon { width: 30px; height: 30px; }
.svc-tiles--lg strong { font-size: 1.05rem; }
.svc-tiles--lg span { font-size: 0.93rem; line-height: 1.55; }
.svc-steps--lg { gap: 28px; }
.svc-steps--lg::before { top: 21px; left: 22px; right: 22px; }
.svc-steps--lg .svc-step-num { width: 44px; height: 44px; font-size: 1.15rem; margin-bottom: 14px; }
.svc-steps--lg strong { font-size: 1.05rem; }
.svc-steps--lg li > span:last-child { font-size: 0.93rem; line-height: 1.55; }
.svc-callout { padding: 40px 44px; border-left: 3px solid var(--navy); background: var(--bg-panel); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.svc-callout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 12px; }
.svc-callout p { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); max-width: 70ch; }
.svc-sample .section-head { margin-bottom: 32px; }
.svc-sample-link { margin: 24px 0 0; }
@media (max-width: 700px) {
  .svc-steps--lg li { grid-template-columns: 44px 1fr; }
  .svc-steps--lg::before { left: 21px; }
  .svc-callout { padding: 28px 24px; }
  .fit-list--lg { grid-template-columns: 1fr; }
}

/* Homepage services: dropdown list; each service opens to show the problem it solves */
.svc-drop { border-top: 1px solid var(--line); }
.svc-drop-item { border-bottom: 1px solid var(--line); }
.svc-drop-trigger { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px; row-gap: 6px; align-items: center; text-align: left; padding: 24px 24px 24px 22px; background: transparent; border: 0; border-left: 3px solid transparent; cursor: pointer; font: inherit; color: var(--ink); transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.svc-drop-trigger:hover { background: var(--bg-panel); color: var(--ink); }
.svc-drop-item.is-open .svc-drop-trigger { border-left-color: var(--navy); background: var(--bg-panel); color: var(--ink); }
.svc-drop-trigger:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.svc-drop-kind { grid-column: 1; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink); }
.svc-drop-name { grid-column: 1; font-family: var(--font-serif); font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.25; }
.svc-drop-icon { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 16px; height: 16px; }
.svc-drop-icon::before, .svc-drop-icon::after { content: ''; position: absolute; background: currentColor; transition: transform 0.3s var(--ease); }
.svc-drop-icon::before { top: 7.5px; left: 0; width: 16px; height: 1px; }
.svc-drop-icon::after { top: 0; left: 7.5px; width: 1px; height: 16px; }
.svc-drop-item.is-open .svc-drop-icon::after { transform: rotate(90deg); }
.svc-drop-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.svc-drop-item.is-open .svc-drop-panel { grid-template-rows: 1fr; }
.svc-drop-inner { overflow: hidden; min-height: 0; }
.svc-drop-body { padding: 30px 25px 36px; }
.problem-panel-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); margin: 0 0 8px; }
.svc-drop-body h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-style: italic; font-weight: 400; line-height: 1.35; color: var(--navy); margin: 0 0 10px; max-width: 62ch; }
.problem-panel-line { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 24px; max-width: 72ch; }
.problem-tiles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.problem-tiles li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.problem-tiles .svc-icon { width: 24px; height: 24px; margin: 0; flex: none; }
@media (prefers-reduced-motion: reduce) { .svc-drop-panel { transition: none; } }
@media (max-width: 860px) { .problem-tiles { grid-template-columns: 1fr 1fr; } .svc-drop-body { padding: 24px 4px 30px; } .svc-drop-trigger { padding: 20px 8px 20px 14px; } }
@media (max-width: 480px) { .problem-tiles { grid-template-columns: 1fr; } }

/* ---------- Homepage services footer ---------- */
.services-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 28px; }
.services-foot .services-pricing-note { margin: 0; max-width: 60ch; }
.services-foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* ---------- Example Work index ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; color: inherit; text-decoration: none; transition: border-color 0.25s ease, transform 0.25s var(--ease); }
.work-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.work-thumb { aspect-ratio: 16 / 10; background: var(--bg-panel); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.03); }
.work-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.work-body .card-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); }
.work-body h2 { font-size: 1.35rem; line-height: 1.25; margin: 0; }
.work-body p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--ink-soft); }
.work-stat { padding-top: 12px; border-top: 1px solid var(--line); }
.work-stat strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.75rem; color: var(--amber); margin-right: 6px; }
.work-body .text-link { margin-top: auto; padding-top: 6px; align-self: flex-start; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Services: AI add-on row ---------- */
.svc-addon { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px 20px; margin-top: 36px; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: border-color 0.25s ease; }
.svc-addon:hover { border-color: var(--ink); }
.svc-addon .card-tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--navy); }
.svc-addon strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; }
.svc-addon > span:nth-of-type(2) { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 800px) { .svc-addon { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin: 0; border-top: 1px solid var(--line); }
.faq > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 1.04rem; margin: 0 0 8px; color: var(--ink); }
.faq dd { margin: 0; font-size: 0.99rem; line-height: 1.65; color: var(--ink-soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 72px; align-items: start; }
.faq-grid .section-head { margin: 0; }

/* Single-column FAQ: heading on top, answers collapse under each question.
   Answers stay in the HTML, so search engines and the FAQPage schema still see them. */
.faq-stack .section-head { max-width: 780px; }
.faq-stack .section-head { margin: 0 0 32px; }
.faq-accordion details { border-bottom: 1px solid var(--line); }
.faq-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 18px 0; font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+'; flex: none; font-weight: 400; font-size: 1.3rem; line-height: 1;
  color: var(--ink-faint); transition: transform 0.25s var(--ease);
}
.faq-accordion details[open] summary::after { transform: rotate(45deg); }
.faq-accordion summary:hover::after { color: var(--ink); }
.faq-accordion p { margin: -4px 0 20px; font-size: 0.99rem; line-height: 1.65; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg); border-top: 1px solid var(--line); padding: 72px 0; margin-top: 72px; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; max-width: 24ch; }
.cta-band p { color: var(--ink-soft); margin: 0; max-width: 52ch; line-height: 1.6; }
.cta-band .btn-outline--light { color: var(--ink); border-color: var(--line-strong); }
.cta-band .btn-outline--light:hover { border-color: var(--ink); background: transparent; }
.cta-band .btn-outline--light:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-band .btn-outline--light:first-child:hover { background: var(--navy); border-color: var(--navy); }
.cta-band .hero-actions { gap: 14px; }

/* ---------- Homepage additions ---------- */
.service-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; }
.work-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
body.home .hero-title { max-width: 24ch; font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
/* Hero: the small label is the page's H1 (for SEO); keep it looking like a label. */
body.home .hero h1.eyebrow { line-height: 1.4; }

/* ---------- Contact page ---------- */
.contact-page { padding-top: 140px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .page-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .page-aside { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 112px 0 48px; }
  .page-body { padding: 48px 0 8px; }
  .cta-band { padding: 56px 0; margin-top: 48px; }
  .contact-page { padding-top: 112px; }
  .page-hero--title { padding: 104px 0 28px; }
}

/* ---------- Form + contact extras ---------- */
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
@media (max-width: 640px) { .form-pair { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--ink-faint); font-size: 0.78rem; margin-left: 4px; }
.contact-title { font-size: clamp(2rem, 3.8vw, 2.8rem); line-height: 1.12; margin: 0 0 18px; }
.contact-details a { color: inherit; }
.footer-copy a { color: inherit; }
.form-row select:not([required]):invalid { color: inherit; }

/* ---------- Mobile: centered, equal-width buttons; service tabs fit without side-scrolling ---------- */
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; text-align: center; }
  .cta-band-inner > .hero-actions { margin: 0 auto; }
  .svc-drop-body .btn, .svc-price .btn { display: flex; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }
  .svc-price .btn { justify-self: center; margin-top: 20px; }

  .svc-tablist { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: var(--radius-md); overflow: visible; }
  .svc-tab { border-radius: calc(var(--radius-md) - 2px); padding: 10px 8px; text-align: center; }
}
