/* Amy Wilson Consulting — site styles. Tokens follow design-system.md. */

:root {
  --color-heading: #1F4E79;
  --color-text: #1A1A2E;
  --color-muted: #4A5468;
  --color-accent: #049EAA;
  --color-accent-strong: #037E88;
  --color-accent-strong-hover: #026A72;
  --color-bg: #F5F7FA;
  --color-surface: #FFFFFF;
  --color-highlight: #E26F56;
  --color-line: #E3E8EF;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-soft: 0 1px 3px rgba(26, 26, 46, .06), 0 4px 12px rgba(26, 26, 46, .04);
  --shadow-hover: 0 2px 6px rgba(26, 26, 46, .08), 0 8px 24px rgba(26, 26, 46, .06);
  --ease: 180ms ease;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(64px, 9vw, 112px);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, .stat {
  font-family: var(--font-heading);
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--color-heading);
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -0.005em; }
h3 { font-size: 1.375rem; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover { color: var(--color-accent-strong-hover); }

:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 2px;
}

strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 68ch; }
.familiar h2 { margin-bottom: 24px; }
.familiar p { font-size: 1.1875rem; }
.prose h2 { margin: 0 0 .75rem; }
.prose h2 + p { margin-top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--color-surface);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 12px; }

/* Lists: small teal rounded squares instead of dots */
.list {
  list-style: none;
  margin: 0 0 1.25em;
  padding: 0;
}
.list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: .6em;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn-primary { background: var(--color-accent-strong); color: #fff; }
.btn-primary:hover { background: var(--color-accent-strong-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-heading); border-color: var(--color-heading); }
.btn-secondary:hover { background: var(--color-heading); color: #fff; }

.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-email { font-size: .9375rem; color: var(--color-muted); margin: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-heading);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--color-heading); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font: 500 .9375rem var(--font-body);
  color: var(--color-heading);
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  font-weight: 500;
  font-size: .9375rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--color-accent-strong); }
.site-nav a[aria-current="page"] { color: var(--color-heading); border-bottom-color: var(--color-accent); }
.site-nav .btn { padding: 10px 18px; font-size: .9375rem; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    padding: 8px var(--gutter) 24px;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--color-line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 16px; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--color-accent-strong); }
  .site-nav .btn { width: 100%; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-space); }
.section + .section { padding-top: 0; }
.section-alt { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.section-alt + .section, .section + .section-alt { padding-top: var(--section-space); }
.section-flush { padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; }

.section-heading { margin-bottom: clamp(32px, 4vw, 48px); max-width: 68ch; }
.section-heading p { margin-top: 16px; color: var(--color-muted); }

/* ---------- Page intro (inner pages) ---------- */

.page-intro { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.page-intro h1 { max-width: 20ch; }
.page-intro .lede { margin-top: 20px; font-size: 1.1875rem; max-width: 60ch; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-art img { width: 100%; max-width: 520px; margin-inline: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
.hero h1 { max-width: 18ch; }
.hero h1 .line-2 { display: block; color: var(--color-accent-strong); margin-top: .15em; }
.hero h1 .mark {
  text-decoration: underline;
  text-decoration-color: var(--color-highlight);
  text-decoration-thickness: 2px;
  text-underline-offset: .14em;
}
.hero .lede { font-size: clamp(1.125rem, 1.8vw, 1.25rem); max-width: 56ch; margin: 28px 0 36px; }

/* ---------- Grids and cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* Results tiles */
.result-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 32px);
  transition: box-shadow var(--ease);
}
.result-tile:hover { box-shadow: var(--shadow-hover); }
.result-tile .logo {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.result-tile .logo img { max-height: 52px; max-width: 150px; width: auto; }
.result-tile .logo img.logo-wide { max-width: 170px; }
.result-tile .logo img.logo-tall { max-height: 64px; max-width: 170px; }
.result-tile h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.125rem);
  line-height: 1.05;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.result-tile p { color: var(--color-muted); margin-bottom: 24px; }
.result-tile .more {
  margin-top: auto;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
}
.result-tile .more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.result-tile:hover .more { text-decoration: underline; }

.link-more { margin-top: 14px; }
.link-more { font-weight: 600; font-size: .9375rem; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* How I work — pinned heading, numbered rows */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0 clamp(32px, 6vw, 80px);
  align-items: start;
}
.steps-heading { position: sticky; top: 120px; }
@media (max-width: 800px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-heading { position: static; }
}
.step-rows { list-style: none; margin: 0; padding: 0; }
.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-line);
}
.step-row:first-child { padding-top: 0; border-top: 0; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-strong);
  color: #fff;
  font: 600 1.25rem/1 var(--font-heading);
}
.step-row h3 { margin: 10px 0 10px; }

/* Ways to work together — expandable list */
.offer-list { border-top: 1px solid var(--color-line); }
.offer-item { border-bottom: 1px solid var(--color-line); }
.offer-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 0 clamp(16px, 3vw, 32px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0;
}
.offer-item summary::-webkit-details-marker { display: none; }
.offer-num {
  font: 600 .9375rem/1 var(--font-body);
  letter-spacing: .08em;
  color: var(--color-accent-strong);
  padding-top: .55em;
}
.offer-head { display: grid; gap: 8px; }
.offer-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: var(--color-heading);
  transition: color var(--ease);
}
.offer-item .for { font-style: italic; color: var(--color-muted); }
.offer-toggle {
  width: 28px;
  height: 28px;
  margin-top: .1em;
  color: var(--color-highlight);
  transition: transform var(--ease);
}
.offer-item summary:hover .offer-title, .offer-item[open] .offer-title { color: var(--color-accent-strong); }
.offer-item[open] .offer-toggle { transform: rotate(45deg); }
.offer-body {
  padding: 0 calc(32px + clamp(16px, 3vw, 32px)) clamp(28px, 3vw, 40px) calc(56px + clamp(16px, 3vw, 32px));
  max-width: calc(68ch + 120px);
}
.offer-body p { margin-bottom: 16px; }
.offer-body .terms { font-size: .875rem; font-weight: 600; color: var(--color-heading); }
@media (max-width: 600px) {
  .offer-item summary { grid-template-columns: 1fr 28px; }
  .offer-num { grid-column: 1 / -1; padding: 0 0 10px; }
  .offer-body { padding-left: 0; padding-right: 0; }
}

/* Smooth open/close for expandable lists (browsers without support just snap open) */
:root { interpolate-size: allow-keywords; }
.offer-item::details-content, .faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 300ms ease, content-visibility 300ms allow-discrete;
}
.offer-item[open]::details-content, .faq details[open]::details-content { height: auto; }
@media (prefers-reduced-motion: reduce) {
  .offer-item::details-content, .faq details::details-content { transition: none; }
}

/* Testimonials — one featured quote, two stacked */
.quotes-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: stretch;
}
.quotes-stack { display: grid; gap: 24px; }
@media (max-width: 860px) { .quotes-feature { grid-template-columns: 1fr; } }
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px);
}
.quote blockquote { margin: 0 0 24px; }
.quote figcaption { margin-top: auto; font-size: .875rem; line-height: 1.5; color: var(--color-muted); }
.quote figcaption strong { display: block; color: var(--color-text); font-size: .9375rem; }
@media (min-width: 861px) {
  .quote-featured { padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); justify-content: center; }
  .quote-featured figcaption { margin-top: 0; }
  .quote-featured blockquote {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    line-height: 1.3;
    color: var(--color-heading);
  }
  .quote-featured blockquote::before {
    content: "\201C";
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: .8;
    height: .5em;
    color: var(--color-highlight);
    margin-bottom: 8px;
  }
  .quote-featured figcaption { font-size: .9375rem; }
  .quote-featured figcaption strong { font-size: 1rem; }
}

/* Headshot + text split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-offset { position: relative; isolation: isolate; margin: 0 20px 20px 0; }
.photo-offset::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(20px, 20px);
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  z-index: -1;
}
.photo-offset img { position: relative; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 360px; }
}
.split h2, .split h1 { margin-bottom: 20px; }
.split .link-more { display: inline-block; margin-top: 8px; }

/* ---------- Closing CTA band ---------- */

.cta-band {
  background: #E6F4F5;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { margin: 14px 0 0; max-width: 52ch; }
.cta-band .cta-email { color: var(--color-text); }
.cta-band .cta-email a { color: var(--color-heading); text-decoration-color: var(--color-accent-strong); }

/* ---------- Services page ---------- */

.capabilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
@media (max-width: 760px) { .capabilities { grid-template-columns: 1fr; } }
.capability {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 16px;
  padding: 28px 0;
  border-top: 1px solid var(--color-line);
}
.capability svg { width: 24px; height: 24px; color: var(--color-accent); margin-top: 3px; }
.capability h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.capability p { margin: 0; }
.capability .tools { margin-top: 10px; font-size: .875rem; font-style: italic; color: var(--color-muted); }

.offer-section {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--color-line);
}
.offer-section:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 820px) { .offer-section { grid-template-columns: 1fr; } }
.offer-section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.offer-section .for { font-style: italic; color: var(--color-muted); margin-top: 14px; }
.offer-section .terms {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-heading);
}
.offer-section h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--color-heading); margin: 0 0 12px; }
.offer-section .body p + h3, .offer-section .body .list + p { margin-top: 1.5em; }

.faq { max-width: 820px; border-top: 1px solid var(--color-line); }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--color-highlight); transition: transform var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 68ch; }

/* ---------- Case study pages ---------- */

.case-header { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.case-meta { font-style: italic; color: var(--color-muted); margin: 0 0 16px; }
.case-header h1 { max-width: 22ch; }
.lead-stat {
  margin-top: 36px;
  display: inline-block;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 28px;
}
.lead-stat::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-highlight);
  margin-bottom: 14px;
}
.lead-stat .stat { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; color: var(--color-accent); }

.case-header .container, .case-body .container { max-width: calc(760px + var(--gutter) * 2); }
.case-body { padding-bottom: 0; }
.case-body .prose > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 56px 0 18px; }
.case-body .prose > h2:first-child { margin-top: 0; }
.case-results {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 56px;
}
.case-results h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.case-results .list li { margin-bottom: .8em; }
.case-results .list strong { color: var(--color-heading); }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 4vw, 40px);
}
.panel h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-bottom: 14px; }
.panel > p { margin-bottom: 24px; }
.panel-book svg { width: 32px; height: 32px; color: var(--color-accent); margin-bottom: 20px; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: .9375rem; }
.field .req { color: var(--color-accent-strong); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--font-body);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid #C9D2DE;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231F4E79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA8BA; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 1px;
  border-color: var(--color-accent-strong);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form-note { font-size: .875rem; color: var(--color-muted); margin: 0; }
.form-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #FDF1EE;
  border: 1px solid #F3C9BE;
  color: #8A2E1A;
  font-size: .9375rem;
}
.form-thanks { padding: 8px 0; }
.form-thanks p { font-size: 1.125rem; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact-extra {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}
.contact-extra p { margin: 0; }
.contact-extra .label { font-weight: 600; color: var(--color-heading); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section-space);
  background: var(--color-heading);
  color: rgba(255, 255, 255, .88);
  padding-block: 56px 40px;
  font-size: .9375rem;
}
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-top .wordmark { color: #fff; text-decoration: none; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact ul { list-style: none; margin: -10px 0 0; padding: 0; display: flex; gap: 4px; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: opacity var(--ease);
}
.icon-link svg { width: 24px; height: 24px; }
.site-footer .icon-link:hover { opacity: .7; }
.footer-cols { display: flex; gap: 32px 72px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}

/* The closing CTA sits right above the footer on most pages */
.section-cta { padding-bottom: 0; }
.section-cta + .site-footer, main:has(> .section-cta:last-child) + .site-footer { margin-top: var(--section-space); }

/* 404 */
.not-found { padding-block: clamp(80px, 12vw, 160px); }
.not-found p { margin: 20px 0 32px; }

/* ---------- Motion (skipped entirely for people who prefer reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
  }
  .hero-text { animation: rise-in 700ms ease-out both; }
  .hero-art { animation: rise-in 900ms 150ms ease-out both; }
  .hero-art img { animation: float 6s 1s ease-in-out infinite alternate; }

  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
