/* Canvas of Courage - single hand-rolled stylesheet (SDD DV-002). v2 visual pass.
   Palette per RQ-008: lavender accent range #D9C2DE to #DCC6E0 (plus tints of
   the same hue), near-black #1A1A1A, white/cream. No other accent colors.
   Depth comes from tints, opacity, and shadow of these hues only; motion is
   limited to small CSS hover/focus transitions (DV-005: no scroll-reveal or
   animation frameworks) and is disabled under prefers-reduced-motion. */

/* ---------- fonts (self-hosted woff2, DV-006) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --lilac: #DCC6E0;
  --lilac-2: #D9C2DE;
  --lilac-soft: #F4EDF6;   /* tint of the lilac accent */
  --lilac-wash: #EDE1F0;   /* slightly deeper tint, gradient partner */
  --lilac-line: #E7D9EA;   /* tint, hairlines */
  --ink: #1A1A1A;
  --ink-soft: #444045;     /* near-black, secondary text */
  --ink-line: rgba(26, 26, 26, 0.45);  /* ink tint for functional boundaries (UX-005) */
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --measure: 42rem;  /* was 46rem; ~105 chars/line at 1440 exceeded the readable measure (UX-008) */
  --radius: 16px;
  --shadow-img: 0 24px 48px -22px rgba(26, 26, 26, 0.28);
  --shadow-card: 0 20px 50px -24px rgba(26, 26, 26, 0.18);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: oldstyle-nums;  /* editorial figures in running text */
}
input, textarea, button { font-variant-numeric: lining-nums; }
img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.55em;
  letter-spacing: 0.005em;
}
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 500; line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p, ul { margin: 0 0 1.15em; }
p, li { text-wrap: pretty; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--lilac-2); }
a {
  color: var(--ink);
  text-decoration-color: var(--lilac-2);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease, background-color 160ms ease;
}
a:hover { text-decoration-color: var(--ink); }
/* functional indicators use ink; lilac stays decorative (UX-001, RS-013) */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.container { max-width: 70rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.measure { max-width: var(--measure); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6em 1.2em;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 120ms ease;
}
.skip-link:focus { top: 0; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--lilac-line);
  box-shadow: 0 10px 30px -24px rgba(26, 26, 26, 0.25);
}
/* skip-link target must not land hidden under the sticky header */
main { scroll-margin-top: 6.5rem; }
/* Header logo treatment (owner's chosen "Homepage 2" design): a large logo
   on landing that shrinks to the standard size once the page is scrolled.
   main.js toggles .is-scrolled on the header past a small scroll threshold. */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 7.5rem;
  transition: min-height 220ms ease;
}
.site-header.is-scrolled .container { min-height: 6rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 108px; width: auto; transition: height 220ms ease; }  /* large on landing */
.site-header.is-scrolled .brand img { height: 80px; }                      /* shrinks on scroll */
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  /* slightly tighter than default so all links stay on one row beside the larger logo */
  gap: clamp(0.6rem, 1.5vw, 1.2rem);
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.85rem;   /* keeps all links on one row beside the larger logo */
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4em 0.1em;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lilac-2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

/* active page: driven by body[data-page] so the stamped partial stays
   byte-identical on every page (S2); aria-current is added by js/main.js */
body[data-page="home"]      .site-nav a[data-nav="home"]::after,
body[data-page="about"]     .site-nav a[data-nav="about"]::after,
body[data-page="service"]   .site-nav a[data-nav="service"]::after,
body[data-page="process"]   .site-nav a[data-nav="process"]::after,
body[data-page="portfolio"] .site-nav a[data-nav="portfolio"]::after,
body[data-page="contact"]   .site-nav a[data-nav="contact"]::after {
  transform: scaleX(1);
  background: var(--ink);  /* active page in ink so it reads apart from the lilac hover underline (UX-006) */
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--lilac-line);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 150ms ease, opacity 150ms ease;
}
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header .container { min-height: 6.5rem; }
  .site-header.is-scrolled .container { min-height: 5.5rem; }
  .brand img { height: 84px; }                             /* large on landing (phone) */
  .site-header.is-scrolled .brand img { height: 64px; }    /* shrinks on scroll (phone) */
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;  /* anchor below the header; the flex static position would center it over the bar */
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--lilac-line);
    box-shadow: 0 14px 24px rgba(26, 26, 26, 0.06);
    z-index: 50;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0 1rem; }
  .site-nav li { margin: 0; }
  .site-nav a {
    display: block;
    padding: 0.7rem clamp(1.25rem, 4vw, 2.5rem);
    border-left: 3px solid transparent;
  }
  .site-nav a::after { content: none; }
  body[data-page="home"]      .site-nav a[data-nav="home"],
  body[data-page="about"]     .site-nav a[data-nav="about"],
  body[data-page="service"]   .site-nav a[data-nav="service"],
  body[data-page="process"]   .site-nav a[data-nav="process"],
  body[data-page="portfolio"] .site-nav a[data-nav="portfolio"],
  body[data-page="contact"]   .site-nav a[data-nav="contact"] {
    border-left-color: var(--lilac-2);
    background: var(--lilac-soft);
  }
}

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section--white { background: var(--white); }
.section--tint { background: linear-gradient(150deg, var(--lilac-soft) 0%, var(--lilac-wash) 100%); }
.section h2 { max-width: var(--measure); }
.lede { font-size: 1.22rem; color: var(--ink-soft); }

/* editorial flourish: hairline over a section's lead heading */
.container > h2:first-child,
.split div > h2:first-child {
  position: relative;
  padding-top: 1.2rem;
}
.container > h2:first-child::before,
.split div > h2:first-child::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 2px;
  background: var(--lilac-2);
}
.center .container > h2:first-child::before {
  left: 50%;
  transform: translateX(-50%);
}

/* CTA bands: tinted, centered, with the faint line-art figure motif */
.section--tint.center {
  position: relative;
  overflow: hidden;
}
.section--tint.center::before {
  content: '';
  position: absolute;
  right: clamp(-6rem, -3vw, -2rem);
  bottom: -7rem;
  width: 24rem;
  height: 35rem;
  background: url('../images/canvas-of-courage-mark.png') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
}
.section--tint.center .container { position: relative; }
.section--tint.center h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }

/* ---------- hero / page intros ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--lilac-soft) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -18rem;
  right: -14rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lilac) 0%, rgba(220, 198, 224, 0) 68%);
  opacity: 0.5;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero-media { position: relative; z-index: 0; }  /* own stacking context so the ::after frame sits behind the photo, not behind the section background */
.hero-media img {
  width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);  /* boutique arch */
  box-shadow: var(--shadow-img);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 2px solid var(--lilac);
  border-radius: 999px 999px var(--radius) var(--radius);
  z-index: -1;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 24rem; margin-inline: auto; }  /* centered in the single column (UX-007) */
  /* the desktop frame is offset down-right; on phones the photo is centered,
     so that offset read as "off center". Use a symmetric frame here instead. */
  .hero-media::after { inset: -0.75rem; }
}

/* non-home page intros share the hero's soft gradient */
.page-intro { background: linear-gradient(180deg, var(--white) 0%, var(--lilac-soft) 130%); }

/* ---------- split (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-img);
}
/* arch treatment (portrait images) */
.split-media--arch img { border-radius: 999px 999px var(--radius) var(--radius); }
/* offset lilac frame treatment (landscape images) */
.split-media--frame { position: relative; z-index: 0; }
.split-media--frame::after {
  content: '';
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 2px solid var(--lilac);
  border-radius: var(--radius);
  z-index: -1;
}
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split-media { max-width: 26rem; margin-inline: auto; }  /* centered in the single column (UX-007) */
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: var(--ink);
  color: var(--cream);
  padding: 0.9em 2.1em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(26, 26, 26, 0.35);
}
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--lilac-soft); border-color: var(--ink); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(0.98); }  /* press feedback (skill: scale-feedback) */
}
/* paired action buttons must not touch; measured 0px stacked gap on 404 at 375 (UX-003) */
p:has(> .btn + .btn) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
}

/* ---------- pull quote ---------- */
blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem) clamp(2.25rem, 6vw, 4.25rem);
  max-width: var(--measure);
  background: var(--lilac-soft);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
blockquote::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-family: var(--serif);
  font-style: normal;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--lilac-2);
}
blockquote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
blockquote footer::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 2rem;
  height: 2px;
  margin-right: 0.75rem;
  background: var(--lilac-2);
}

/* ---------- portfolio grid ---------- */
/* flex (not grid) so a short last row centers instead of leaving a hole at the right */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-start;
  justify-content: center;
  margin: 2.5rem 0;
}
/* DF-004: no flex-grow, so a short last row keeps the same tile width as full rows
   instead of stretching to the max-width cap (was flex: 1 1 280px; max-width: 340px,
   which let the 2-tile last row grow wider than the 3-tile first row). Shrink stays
   on so narrow phones never overflow. Same 280px basis keeps the 3-up/2-up/1-up
   breakpoints; justify-content:center still centers the short last row. */
/* each tile is a <button> (opens the lightbox); reset button chrome so it
   presents as the framed photo it wraps. flex basis unchanged (DF-004). */
.portfolio-grid .pf-thumb {
  flex: 0 1 280px;   /* uniform tiles, centered short last row */
  display: block;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  /* gallery-mat presentation: each photo sits on a white mat, like a framed print */
  background: var(--white);
  padding: clamp(0.9rem, 2vw, 1.3rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.portfolio-grid .pf-thumb:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.portfolio-grid img {
  width: 100%;
  /* DF-004: uniform square box. Every source is now square (detail-3 is
     top-cropped to a square in the image pipeline), so object-fit fills the
     tile edge-to-edge with no crop and no letterbox on any photo. */
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;  /* uniform curved edges on every photo (owner request) */
}
@media (prefers-reduced-motion: no-preference) {
  .portfolio-grid .pf-thumb:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -24px rgba(26, 26, 26, 0.28); }
}

/* ---------- lightbox (portfolio enlarge; built by js/main.js) ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(26, 26, 26, 0.82);
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox { animation: lightbox-in 160ms ease-out; }
  @keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
}
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: min(92vw, 900px);
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
.lightbox .lb-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.lightbox .lb-close:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
body.lightbox-open { overflow: hidden; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* details column: anchor the empty space beside the tall form with the motif */
.contact-aside { position: relative; }
.contact-aside::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 15rem;
  height: 22rem;
  background: url('../images/canvas-of-courage-mark.png') no-repeat left bottom / contain;
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width: 860px) { .contact-aside::after { content: none; } }

.contact-details { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-details li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--lilac-line);
}
.contact-details li:first-child { border-top: 1px solid var(--lilac-line); }
.contact-details .label { font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--lilac-line);
  border-top: 4px solid var(--lilac);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}
.form-field { margin-bottom: 1.15rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink-line);  /* field boundary needs 3:1; lilac measured 1.65:1 (UX-005) */
  border-radius: 10px;
  padding: 0.7em 0.9em;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-field input:focus,
.form-field textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; }
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: var(--ink); border-width: 2px; }
.form-field textarea { min-height: 9rem; resize: vertical; }
.field-error { font-weight: 600; font-size: 0.95rem; margin: 0.35rem 0 0; }
.form-helper { color: var(--ink-soft); font-size: 0.98rem; }
.form-privacy { font-size: 0.98rem; }
.form-status {
  margin-top: 1rem;
  font-weight: 600;
  border-radius: 10px;
}
.form-status:not(:empty) {
  padding: 0.85em 1.1em;
  background: var(--lilac-soft);
  border: 1px solid var(--lilac);
}
/* send-failed panel reads apart from success at a glance; shape, not a new color (UX-010) */
.form-status[data-state="error"]:not(:empty) { border-left: 5px solid var(--ink); }

/* honeypot: off-screen, not display:none (DV-009) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--lilac-soft) 0%, var(--lilac-wash) 100%);
  border-top: 1px solid var(--lilac-line);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.98rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  left: -5rem;
  bottom: -9rem;
  width: 18rem;
  height: 26rem;
  background: url('../images/canvas-of-courage-mark.png') no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer a { color: var(--ink); }  /* explicit link color in a tinted bar (L-7) */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { max-width: 250px; height: auto; }
.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lilac-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  color: var(--ink-soft);
}
.site-footer p { margin-bottom: 0.5em; }

/* ---------- utility ---------- */
.center { text-align: center; }
.center .measure { margin-left: auto; margin-right: auto; }
/* DF-002: center the CTA heading (and its ::before flourish) over the centered body.
   .section h2 has a max-width, so without auto margins the h2 box was left-pinned
   inside .container while its text was centered, shifting it left of the body block. */
.center h2 { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 2rem; }
.page-intro { padding-top: clamp(3rem, 7vw, 5rem); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .btn, .site-nav a::after, .skip-link, .nav-toggle .bar,
  .form-field input, .form-field textarea, .portfolio-grid .pf-thumb,
  .brand img, .site-header .container {
    transition: none;
  }
}
