/* SideBy Collective: site styles
   Sizes scale fluidly between the 390px and 1440px mockups. */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand colours */
  --ink: #1E3A34;
  --clay: #C1652E;
  --ochre: #D9A441;
  --sage: #8A9A6E;
  --sand: #F1EAE0;
  --white: #FFFFFF;
  --charcoal: #262420;

  /* Tints of the brand colours (used by the mockups for rules and borders) */
  --ink-12: rgb(30 58 52 / 0.12);
  --ink-16: rgb(30 58 52 / 0.16);
  --ink-20: rgb(30 58 52 / 0.2);
  --ink-25: rgb(30 58 52 / 0.25);
  --ink-60: rgb(30 58 52 / 0.6);
  --sand-20: rgb(241 234 224 / 0.2);
  --sand-28: rgb(241 234 224 / 0.28);
  --sand-50: rgb(241 234 224 / 0.5);
  --ochre-50: rgb(217 164 65 / 0.5);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: 24px;
  --header-h: 68px;
  --section-pad: clamp(4rem, 2.7rem + 5.333vw, 7.5rem);
  --h2-size: clamp(2.125rem, 1.614rem + 2.095vw, 3.5rem);
  --lead-size: clamp(1rem, 0.93rem + 0.286vw, 1.1875rem);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}
@media (min-width: 960px) {
  :root { --header-h: 84px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button, input, textarea { font: inherit; }

[id] { scroll-margin-top: var(--header-h); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.on-ink :focus-visible { outline-color: var(--sand); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--sand);
  font-weight: 500;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

/* ---------- Type ---------- */
.ser {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.card-t {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 20px;
  height: 2px;
  margin-top: calc(0.8em - 1px);
  background: var(--clay);
}
.on-ink .eyebrow { color: var(--sand); }
.on-ink .eyebrow::before { background: var(--ochre); }
.eyebrow--plain::before { display: none; }

@media (min-width: 960px) {
  .eyebrow {
    gap: 14px;
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
  }
  .eyebrow::before { width: 28px; }
}

.h2 {
  margin-top: 16px;
  font-size: var(--h2-size);
  line-height: 1.15;
}
@media (max-width: 959px) {
  .h2 { text-wrap: balance; }
}
@media (min-width: 960px) {
  .h2 { margin-top: 24px; line-height: 1.1; }
}

.lead {
  font-size: var(--lead-size);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
@media (min-width: 960px) {
  .btn { padding: 0 28px; }
}
.btn-primary { background: var(--ink); color: var(--sand); }
.btn-primary:hover,
.btn-primary:active { box-shadow: inset 0 -4px 0 var(--clay); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover,
.btn-secondary:active { background: var(--ink); color: var(--sand); }
.btn-onink { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn-onink:hover,
.btn-onink:active { box-shadow: inset 0 -4px 0 var(--ochre); }
.btn[disabled] { cursor: progress; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: box-shadow .15s, background-color .15s, color .15s; }
}

/* ---------- Cards (not links: no hover state) ---------- */
.card {
  border: 1px solid var(--ink-16);
  border-radius: 10px;
}
.card-w { background: var(--white); }
.card-s { background: var(--sand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--sand);
  border-bottom: 1px solid var(--ink-12);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px;
}
.brand img { width: 140px; }
@media (min-width: 960px) {
  .brand img { width: 176px; }
}

.primary-nav,
.header-cta { display: none; }

.navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.navlink::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
}
.navlink:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .navlink::after { transition: transform .15s; }
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle:focus-visible { outline-offset: 2px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 960px) {
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .header-cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    font-size: 0.9375rem;
  }
  .menu-toggle { display: none; }
}

/* Mobile menu: sits under the header row, which keeps the toggle in place */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sand);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__art {
  position: absolute;
  right: -300px;
  bottom: -120px;
  width: 620px;
  height: auto;
  pointer-events: none;
}
.mobile-menu__body {
  position: relative;
  padding-top: 16px;
  padding-bottom: 48px;
}
.mlink {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-20);
}
.mlink__idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.mlink__label {
  font-size: 2rem;
  line-height: 1.1;
}
.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
}
html.menu-open { overflow: hidden; }
@media (min-width: 960px) {
  .mobile-menu { display: none; }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-pad);
}
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); }
.has-art {
  position: relative;
  overflow: hidden;
}
.has-art > .container { position: relative; }
.art {
  position: absolute;
  height: auto;
  pointer-events: none;
}

/* Two-column split used by What, About, FAQ and Contact on desktop */
@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .split__a { grid-column: 1 / span 5; }
  .split__b { grid-column: 7 / span 6; padding-top: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3rem, 1.514rem + 6.095vw, 7rem);
  padding-bottom: clamp(3.5rem, 1.829rem + 6.857vw, 8rem);
  background: var(--sand);
}
.hero .art {
  width: clamp(640px, 469px + 43.81vw, 1100px);
  right: clamp(-420px, -296.6px - 8.571vw, -330px);
  top: clamp(40px, 94.9px - 3.81vw, 80px);
}
.hero__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}
.hero__eyebrow span { display: block; }
@media (min-width: 400px) {
  .hero__eyebrow span + span { white-space: nowrap; }
}
@media (min-width: 960px) {
  .hero__eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.16em;
    line-height: 1.55;
  }
}
.hero h1 {
  max-width: 900px;
  margin-top: 20px;
  font-size: clamp(3rem, 1.514rem + 6.095vw, 7rem);
  line-height: 1.04;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--clay); }
.hero__text {
  max-width: 600px;
  margin: 24px 0 32px;
  font-size: clamp(1.0625rem, 0.993rem + 0.286vw, 1.25rem);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
@media (min-width: 960px) {
  .hero h1 { margin-top: 28px; line-height: 1.02; }
  .hero__text { margin: 36px 0 44px; }
}

/* ---------- What we do ---------- */
.what .lead { margin-top: 24px; }
@media (min-width: 960px) {
  .what .lead { margin-top: 0; }
}

/* ---------- Service and expertise cards ---------- */
.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.svc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  column-gap: 14px;
  padding: 28px;
}
.svc-card > svg { width: 32px; height: 32px; }
.svc-card h3 { font-size: 1.5rem; line-height: 1.2; }
.svc-card p {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.65;
}
.exp-card h3 { font-size: 1.375rem; line-height: 1.25; }

@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .card-grid { gap: 24px; margin-top: 64px; }
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-card { padding: 36px; }
  .svc-card h3 { font-size: 1.625rem; line-height: 1.2; }
  .svc-card p { margin-top: 12px; }

  /* Service: icon stacked above the heading */
  .how-card { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .how-card h3 { margin-top: 28px; }

  /* Expertise: icon beside the heading and text */
  .exp-card {
    column-gap: 24px;
    align-items: start;
    align-content: start;
  }
  .exp-card > svg { grid-row: 1 / span 2; margin-top: 2px; }
  .exp-card p { grid-column: 2; }
}

/* ---------- About ---------- */
.about .art {
  width: clamp(460px, 348.6px + 28.57vw, 760px);
  right: clamp(-220px, -178.9px - 2.857vw, -190px);
  bottom: clamp(-230px, -65.4px - 11.43vw, -110px);
}
.about .lead { margin-top: 24px; }
.people {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.person {
  padding: 20px 24px;
}
.person::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--ochre);
}
.person p { font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 560px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .about .lead { margin-top: 0; }
  /* Column is too narrow for two name cards until 1200px */
  .people { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .person { padding: 28px clamp(24px, 8px + 1.667vw, 32px); }
  .person::before { width: 32px; margin-bottom: 20px; }
  .person p { font-size: clamp(1.5rem, 1rem + 0.833vw, 1.75rem); }
}

@media (min-width: 1200px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Our approach ---------- */
.approach {
  padding-block: clamp(4rem, 2.514rem + 6.095vw, 8rem);
  color: var(--sand);
}
.approach .art {
  width: clamp(560px, 433.7px + 32.38vw, 900px);
  right: clamp(-300px, -231.4px - 4.762vw, -250px);
  top: clamp(-250px, -85.4px - 11.43vw, -130px);
}
.approach .h2 { max-width: 860px; color: var(--sand); }
.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  padding: 28px 0;
  border-top: 1px solid var(--sand-28);
}
.step__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--ochre);
}
.step h3 {
  margin-top: 12px;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--sand);
}
.step__text {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.65;
}
.approach__cta {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}
@media (min-width: 560px) {
  .approach__cta { flex-direction: row; }
}
@media (min-width: 960px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 72px;
  }
  .step { padding: 28px 0 0; }
  .step__num { font-size: 2.25rem; }
  .step h3 { margin-top: 20px; font-size: 1.875rem; }
  .step__text { margin-top: 14px; font-size: 1.0625rem; }
  .approach__cta { margin-top: 64px; }
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--ink-25);
}
.faq-item { border-bottom: 1px solid var(--ink-25); }
.faq-item h3 { font-size: inherit; }
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-btn:focus-visible { outline-offset: 2px; }
.faq-sign {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.faq-sign::before { content: '+'; }
.faq-btn[aria-expanded="true"] .faq-sign { background: var(--ink); color: var(--sand); }
.faq-btn[aria-expanded="true"] .faq-sign::before { content: '\2212'; }
.faq-panel {
  padding-bottom: 24px;
  font-size: 1rem;
  line-height: 1.65;
}
@media (min-width: 960px) {
  .faq .split__a { grid-column: 1 / span 4; padding-top: 30px; }
  .faq .split__b { grid-column: 5 / span 8; padding-top: 0; }
  .faq-list { margin-top: 0; }
  .faq-btn { gap: 24px; padding: 28px 0; font-size: 1.5rem; line-height: 1.25; }
  .faq-panel { padding: 0 64px 32px 0; font-size: 1.0625rem; }
}

/* ---------- Contact ---------- */
.contact .lead { margin-top: 20px; }
.contact__email {
  margin-top: 28px;
}
.email-link {
  display: inline-block;
  padding-block: 8px;
  font-size: clamp(1.0625rem, 0.993rem + 0.286vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.form-panel {
  margin-top: 40px;
  padding: 28px 24px;
  border: 1px solid var(--ink-12);
  border-radius: 12px;
  background: var(--sand);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.lbl {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.lbl .opt { font-weight: 400; }
.input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ink-60);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
}
textarea.input {
  height: 140px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}
.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--ochre-50);
}
.input[aria-invalid="true"] {
  border: 2px solid var(--clay);
  padding: 0 15px;
}
textarea.input[aria-invalid="true"] { padding: 13px 15px; }
.field-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--charcoal);
}
.field-error[hidden] { display: none; }
.field-error svg { flex: none; }
.form__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__note {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.form__note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-status:empty { display: none; }
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-status svg { flex: none; margin-top: 2px; }
.form-status a,
.form-success a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-success {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .form__foot { align-items: flex-start; }
}
@media (min-width: 960px) {
  .contact .lead { margin-top: 28px; }
  .contact__email { margin-top: 40px; }
  .contact .split__b { padding-top: 0; }
  .form-panel { margin-top: 0; padding: 40px; }
  .form, .form__row { gap: 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 40px;
  background: var(--ink);
  color: var(--sand);
}
.site-footer .brand img { width: 180px; }
.footer__tagline {
  margin-top: 16px;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--sand);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
}
.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  color: var(--sand);
}
.foot-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 20px;
  border: 1.5px solid var(--sand-50);
  border-radius: 50%;
  color: var(--sand);
}
.social:hover { border-color: var(--sand); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-20);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer__bottom .foot-link {
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 768px) {
  .site-footer { padding: 72px 0 40px; }
  .footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  .site-footer .brand img { width: 208px; }
  .footer__tagline { margin-top: 20px; font-size: 1.5rem; }
  .footer-nav { margin-top: 0; }
  .foot-link { font-size: 0.9375rem; }
  .social { margin-top: 0; }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 56px;
    padding-top: 18px;
  }
  .footer__bottom .foot-link { text-decoration: none; }
  .footer__bottom .foot-link:hover { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 6px; }
}

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section-pad);
}
.prose {
  max-width: 70ch;
}
.prose h1 {
  font-size: clamp(2.5rem, 1.9rem + 2.4vw, 4rem);
  line-height: 1.08;
}
.prose h2 {
  margin-top: 48px;
  font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
  line-height: 1.2;
}
.prose p:where(:not(.eyebrow)) {
  margin-top: 16px;
  font-size: var(--lead-size);
  line-height: 1.7;
}
.prose .updated {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.prose .intro { margin-top: 32px; }
.prose a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.prose .btn { margin-top: 40px; }

/* ---------- Reduced motion: no transitions at all ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
