/* ============================================================
   Spoonbill Productions — Components
   ============================================================
   Loaded SECOND, after colors_and_type.css (tokens + base
   element defaults). All component styles live in this file.
   2026-06-01: redesign.css retired, .rd wrapper removed, tokens
   moved to colors_and_type.css as the single source of truth.
   2026-06-01: cascade layers wrap the Zone system block (plus
   the zone-aware .eyebrow / em.brand-italic rules) in
   @layer zonesystem so no component rule can override zone
   text colors via specificity. Express per-block exceptions as
   variable overrides on the zone class — never as `color:`.
   ============================================================ */

@layer components, zonesystem;

@layer components {

button, .btn { font: inherit; cursor: pointer; }

/* ---------- Layout primitives ---------- */
.container { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.container.narrow { max-width: var(--content); }

}  /* end @layer components */

@layer zonesystem {

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--zone-eyebrow, var(--c-spoonbill-deep));
    margin-bottom: var(--sp-20);
}
/* Decorative brand tick — takes the zone accent (--zone-italic). Non-text,
   so contrast-exempt; this is the ink "pop" on pink-deep, light-pink on ink. */
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--zone-italic, var(--c-spoonbill-deep));
    flex: 0 0 auto;
}

}  /* end @layer zonesystem */

@layer components {

/* ---------- Buttons — exact port of redesign.css .rd .btn rules ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    border: 1px solid transparent;   /* color from zone tokens (zonesystem layer) */
    border-radius: var(--radius-pill);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
}
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Header ---------- */
/* Header sits in zone--pink-light (light pink background, ink text).
   Background, text color, and button styling come from the zone class. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: none;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-30);
    padding-block: 0.9rem;
}
.site-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 1; min-width: 0; }
/* Silhouette mark gets filtered to white on the pink-light header. */
.site-logo img {
    height: 52px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.site-logo__wordmark {
    font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.03em;
    line-height: 1.0;
    color: #ffffff;
    white-space: normal;
}
.site-logo__wordmark em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-ink);
}
@media (max-width: 540px) {
    .site-logo__wordmark { display: none; }
}
.site-nav { display: flex; align-items: center; gap: var(--sp-30); flex-shrink: 0; }
.site-nav__list {
    display: flex;
    gap: var(--sp-30);
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__list a {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--c-ink);
    white-space: nowrap;
}
.site-nav__list a:hover { color: var(--c-spoonbill-deep); }
.site-nav .btn { padding: 0.65rem 1.25rem; }

/* Hamburger toggle — hidden on desktop, visible at <=760px */
.site-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.55rem;
    cursor: pointer;
    line-height: 0;
}
.site-nav-toggle__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--c-ink);
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav-toggle.is-open .site-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav-toggle.is-open .site-nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-nav-toggle.is-open .site-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
    /* Reveal the hamburger toggle. All other mobile-nav styles (drawer
       chrome, numbered list, bucket accordions, drawer footer) live in the
       single consolidated mobile-nav block further down — searches for
       `Mobile nav drawer (consolidated 2026-05-29)`. */
    .site-nav-toggle { display: inline-block; }
}

}  /* end @layer components */

@layer zonesystem {

/* ---------- Zone system ----------
   Four cycling backgrounds. Sections wear one zone class and pick up the
   right text colors, eyebrow color, italic accent, and button styling
   automatically. Ported from the redesign references.

   white       → ink text, deep-pink eyebrow, light-pink italic
   pink-light  → ink text, ink eyebrow, white italic (deep-pink contrast too low)
   pink-deep   → cream text, ink eyebrow, ink italic
   ink         → cream text, deep-pink eyebrow, deep-pink italic */

/* Token contract — every .zone--* exposes these custom properties so any
   component scoped inside can use var(--zone-fg), var(--zone-heading), etc.
   This is the preferred pattern for new components — write one rule using
   the tokens and it adapts to all four zones automatically. The existing
   descendant rules below remain for legacy components and stay in sync. */
.zone--white {
    --zone-bg: #ffffff;
    --zone-fg: var(--c-ink);
    --zone-fg-muted: var(--c-muted);
    --zone-heading: var(--c-ink);
    --zone-eyebrow: var(--c-spoonbill-deep);
    --zone-italic: var(--c-spoonbill-deep);
    --zone-rule: var(--c-rule);
    /* primary pill (solid) */
    --zone-btn-bg: var(--c-ink);              --zone-btn-fg: #ffffff;              --zone-btn-border: var(--c-ink);
    --zone-btn-bg-hover: var(--c-spoonbill-deep); --zone-btn-fg-hover: #ffffff;    --zone-btn-border-hover: var(--c-spoonbill-deep);
    /* ghost pill (outline) — hover recolors text + border, no fill */
    --zone-ghost-fg: var(--c-ink);            --zone-ghost-fg-hover: var(--c-spoonbill-deep); --zone-ghost-border-hover: var(--c-spoonbill-deep);
    /* inline link */
    --zone-link: var(--c-ink);                --zone-link-hover: var(--c-spoonbill-deep);
    background: var(--zone-bg); color: var(--zone-fg);
}
.zone--pink-light {
    --zone-bg: var(--c-spoonbill);
    --zone-fg: var(--c-ink);
    --zone-fg-muted: rgba(26,26,26, 0.7);
    --zone-heading: var(--c-ink);
    --zone-eyebrow: var(--c-ink);
    --zone-italic: var(--c-ink);
    --zone-rule: rgba(26,26,26, 0.18);
    --zone-btn-bg: var(--c-ink);              --zone-btn-fg: #ffffff;              --zone-btn-border: var(--c-ink);
    --zone-btn-bg-hover: var(--c-spoonbill-deep); --zone-btn-fg-hover: #ffffff;    --zone-btn-border-hover: var(--c-spoonbill-deep);
    --zone-ghost-fg: var(--c-ink);            --zone-ghost-fg-hover: var(--c-ink); --zone-ghost-border-hover: var(--c-ink);
    --zone-link: var(--c-ink);                --zone-link-hover: var(--c-spoonbill-deep);
    background: var(--zone-bg); color: var(--zone-fg);
}
.zone--pink-deep {
    --zone-bg: var(--c-spoonbill-deep);
    --zone-fg: #ffffff;
    --zone-fg-muted: #ffffff;
    --zone-heading: #ffffff;
    --zone-eyebrow: #ffffff;
    --zone-italic: var(--c-ink);   /* black display accent (large only — enforced by EDIT 3) */
    --zone-rule: rgba(255,255,255, 0.2);
    --zone-btn-bg: #ffffff;                   --zone-btn-fg: var(--c-ink);         --zone-btn-border: #ffffff;
    --zone-btn-bg-hover: var(--c-ink);        --zone-btn-fg-hover: #ffffff;        --zone-btn-border-hover: var(--c-ink);
    --zone-ghost-fg: #ffffff;                 --zone-ghost-fg-hover: #ffffff;      --zone-ghost-border-hover: var(--c-ink);
    --zone-link: #ffffff;                     --zone-link-hover: var(--c-spoonbill);
    background: var(--zone-bg); color: var(--zone-fg);
}
.zone--ink {
    --zone-bg: var(--c-ink);
    --zone-fg: rgba(255,255,255, 0.85);
    --zone-fg-muted: rgba(255,255,255, 0.6);
    --zone-heading: #ffffff;
    --zone-eyebrow: var(--c-spoonbill);   /* FIX: was deep pink = 3.6:1 (fail) → light pink 8:1 */
    --zone-italic: var(--c-spoonbill);    /* FIX: was deep pink = 3.6:1 → light pink 8:1 */
    --zone-rule: rgba(255,255,255, 0.15);
    --zone-btn-bg: #ffffff;                   --zone-btn-fg: var(--c-ink);         --zone-btn-border: #ffffff;
    --zone-btn-bg-hover: var(--c-spoonbill-deep); --zone-btn-fg-hover: #ffffff;    --zone-btn-border-hover: var(--c-spoonbill-deep);
    --zone-ghost-fg: #ffffff;                 --zone-ghost-fg-hover: var(--c-spoonbill); --zone-ghost-border-hover: var(--c-spoonbill);
    --zone-link: #ffffff;                     --zone-link-hover: var(--c-spoonbill);
    background: var(--zone-bg); color: var(--zone-fg);
}

/* Zone heading / body / eyebrow / brand-italic colors are now consumed
   from the per-zone CSS variables declared above. Element-level overrides
   that used to live here have been removed (2026-05-29 cascade cleanup)
   — they were duplicates of the redesign.css zone block at the same
   specificity, causing edits-don't-take-effect drift. Single source of
   truth: the four .zone--* blocks above declare the variables; baseline
   element rules below consume them. */
em.brand-italic, em.brand-italic--dark {
    font-style: italic;
    font-weight: 400;
    color: var(--zone-italic, var(--c-spoonbill));
    /* Self-enforcing floor: the accent can never render as "small" text, so the
       ink-on-pink-deep pairing (3.6:1) always sits in large-text territory. */
    font-size: max(1em, 22px);
}

/* ---------- Buttons + links: one rule each, colors from zone tokens ---------- */
.btn {
    background: var(--zone-btn-bg, var(--c-ink));
    color: var(--zone-btn-fg, #ffffff);
    border-color: var(--zone-btn-border, var(--c-ink));
}
.btn:hover {
    background: var(--zone-btn-bg-hover, var(--c-spoonbill-deep));
    color: var(--zone-btn-fg-hover, #ffffff);
    border-color: var(--zone-btn-border-hover, var(--c-spoonbill-deep));
    transform: translateY(-1px);
}
.btn--ghost {
    background: transparent;
    color: var(--zone-ghost-fg, var(--c-ink));
    border-color: var(--zone-ghost-fg, var(--c-ink));
}
.btn--ghost:hover {
    background: transparent;
    color: var(--zone-ghost-fg-hover, var(--c-spoonbill-deep));
    border-color: var(--zone-ghost-border-hover, var(--c-spoonbill-deep));
    transform: translateY(-1px);
}
/* pink-light: ink is the only legible color (text/border can't shift hue), so
   the hover shows as a heavier ink ring — inset shadow → no layout reflow. */
.zone--pink-light .btn--ghost:hover {
    box-shadow: inset 0 0 0 1px var(--c-ink);
}
/* Underline reserved for very small text, where color alone is easy to miss. */
.site-footer__bottom a,
.site-footer__settings {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

}  /* end @layer zonesystem */

@layer components {

/* ---------- Local-anchor pill (small location tag next to eyebrow) ---------- */
.local-anchor {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--c-spoonbill-deep);
    padding: 6px 10px;
    border: 1px solid var(--c-spoonbill-deep);
    border-radius: var(--radius-pill);
    background: rgba(232,155,181, 0.06);
    line-height: 1;
}
.local-anchor::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--c-spoonbill-deep);
}
.zone--ink .local-anchor,
.zone--pink-deep .local-anchor {
    color: #ffffff;
    border-color: rgba(255,255,255, 0.5);
    background: rgba(255,255,255, 0.05);
}
.zone--ink .local-anchor::before,
.zone--pink-deep .local-anchor::before { background: #ffffff; }

/* ---------- Editorial typography (the "locked" hybrid direction) ----------
   Per the redesign: display = Instrument Serif, body = Inter. This is the
   typeface direction the redesign's App.jsx defaults to ("typeface: hybrid").
   The home opts in via the .editorial-type class. Service pages and the rest
   of the site keep the original Fraunces+Inter pairing. */
.editorial-type h1,
.editorial-type h2 {
    font-family: var(--font-instrument);
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.02;
}
.editorial-type h3,
.editorial-type h4,
.editorial-type p,
.editorial-type li {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.editorial-type em.brand-italic {
    font-family: var(--font-instrument);
    font-style: italic;
}

/* ---------- Hero — exact port of redesign/HomeEditorial.jsx lines 162-328 ----------
   Two-column editorial: text left, photo crossfade right.
   Background, text colors, eyebrow color, italic color, and button styling
   all come from the zone class applied at the section level. */
.hero {
    overflow: hidden;
    isolation: isolate;
    padding: 84px 0 64px;
}
@media (max-width: 800px) {
    .hero { padding: 56px 0 48px; }
}
.hero__layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: end;
}
@media (max-width: 800px) {
    /* Stack on mobile: text first, photo below. */
    .hero__layout {
        grid-template-columns: 1fr;
        gap: var(--sp-30);
        align-items: stretch;
    }
}
.hero__text { min-width: 0; }
.hero__eyebrow-row {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 1.5rem + 5vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.018em;
}
.hero__cta {
    display: flex; flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

/* Right column: photo wrapper positions the crossfade + overlapping pull-quote. */
.hero__photo { position: relative; }
/* Right column: 4:5 portrait crop with two stacked layers that crossfade. */
.hero__crossfade {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--c-ink);
    isolation: isolate;
    border-radius: var(--radius-sm);
}
.hero__layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    will-change: opacity;
}
.hero__layer.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .hero__layer { transition: none; }
}

/* Hero pull-quote pill — testimonial that overlaps the photo bottom-right. */
.hero__quote {
    position: absolute;
    bottom: -20px;
    right: -16px;
    background: var(--c-spoonbill-deep);
    color: #ffffff;
    padding: 14px 18px;
    max-width: 220px;
    font-family: var(--font-instrument);
    font-style: italic;
    font-size: 18px;
    line-height: 1.25;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}
@media (max-width: 800px) {
    /* Keep the desktop corner-straddle overlap on mobile too — pill hangs off the
       photo's bottom-right edge. Right inset to -8px (vs desktop -16px) so it
       never clips off the viewport; everything else inherits the base rule. */
    .hero__quote { right: -8px; bottom: -20px; max-width: min(220px, 72%); }
}

/* ---------- Trust strip (4 credentials in a row) ---------- */
.trust-strip {
    display: flex; align-items: center; justify-content: center;
    gap: 16px 56px; flex-wrap: wrap;
    padding-block: calc(var(--sp-30) / 2);
}
.trust-strip__item {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: currentColor;
}
.trust-strip__item strong { font-weight: 600; }
.trust-strip__dot {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--c-spoonbill-deep);
    flex-shrink: 0;
}
.zone--pink-deep .trust-strip__dot,
.zone--ink .trust-strip__dot { background: #ffffff; }

/* ---------- Stat line (big italic centered statement) ---------- */
.stat-line {
    font-family: var(--font-instrument);
    font-weight: 400;
    font-size: clamp(2rem, 1rem + 3vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    text-align: center;
    max-width: 38ch;
    margin-inline: auto;
}
.stat-line em.brand-italic { font-style: italic; }
.stat-line__num { font-variant-numeric: tabular-nums; }

/* ---------- Services grid (5 bucket cards) ---------- */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
/* Bucket cards: 5-across on wide desktop, then 3 + 2 (never 4 + 1) when it
   wraps, with both rows centered horizontally. Per-bucket column counts are
   tuned by the .service-grid--c{N} modifiers above. */
.service-grid .service-card {
    flex: 0 1 calc((100% - 32px) / 3);
    max-width: none;
}
@media (min-width: 1200px) {
    .service-grid .service-card { flex-basis: calc((100% - 64px) / 5); }
}
@media (max-width: 600px) {
    .service-grid .service-card { flex-basis: calc((100% - 16px) / 2); }
}
/* Cap the grid in the 3+2 band so cards don't balloon on mid-width screens.
   5-across (>=1200px) keeps full width. Grid stays centered in the section. */
@media (max-width: 1199px) {
    .service-grid { max-width: 768px; margin-inline: auto; }
}
/* Hub buckets carry a .service-grid--c{N} modifier (set by build.py from the
   card count) so each bucket self-balances and never orphans a lone card on the
   last row. Only >5-card buckets need a desktop override; <=5 fit one clean row
   at the default 5-across. The homepage "What we do" grid has no modifier, so
   it's unaffected. */
@media (min-width: 1200px) {
    .service-grid--c3 { max-width: 768px;  margin-inline: auto; }
    .service-grid--c4 { max-width: 1024px; margin-inline: auto; }
    .service-grid--c3 .service-card { flex-basis: calc((100% - 32px) / 3); }
    .service-grid--c4 .service-card { flex-basis: calc((100% - 48px) / 4); }
}
/* Photo-tile treatment to match the Recent Work grid: edge-to-edge image,
   sharp corners, no white-card chrome, name + count overlaid on a gradient
   scrim, hover-zoom. Scoped to .service-grid (hubs keep their card style). */
.service-grid .service-card {
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.service-grid .service-card:hover {
    transform: none;
    box-shadow: none;
    border: none;
}
.service-grid .service-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--c-rule);
}
.service-grid .service-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.service-grid .service-card:hover .service-card__media img { transform: scale(1.04); }
.service-grid .service-card__media-label { display: none; }
.service-grid .service-card__body {
    padding: 12px 2px 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
/* Caption sits below the image on the pink-deep section. White passes AA on the
   tuned deep pink (#b35178 = 4.8:1); ink is only 3.6:1, so both lines are white. */
.service-grid .service-card__title { color: #ffffff; font-size: 19px; font-weight: 700; }
.service-grid .service-card__sub { color: rgba(255,255,255,0.85); }
.service-card {
    display: flex; flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--c-rule);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: var(--c-ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: var(--c-ink);
}
.service-card__media {
    aspect-ratio: 5/6;
    position: relative;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0)),
        linear-gradient(165deg, var(--c-rule) 0%, var(--c-spoonbill) 100%);
    display: flex; align-items: flex-end; padding: 16px;
}
.service-card__media--alt {
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0)),
        linear-gradient(165deg, #ffffff 0%, var(--c-rule) 100%);
}
.service-card__media-label {
    position: relative; z-index: 1;
    font-family: var(--font-serif);
    font-weight: 500; font-style: italic;
    font-size: 18px; line-height: 1.1;
    color: var(--c-ink);
    background: rgba(255,255,255, 0.6);
    padding: 4px 8px; border-radius: 2px;
    backdrop-filter: blur(2px);
}
.service-card__media > img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.service-card__media:has(> img) .service-card__media-label { display: none; }
.service-card__body {
    padding: 14px 18px 18px;
    display: flex; flex-direction: column; gap: 4px;
}
.service-card__title {
    font-family: var(--font-sans);
    font-weight: 600; font-size: 16px;
    letter-spacing: -0.01em;
}
.service-card__from {
    font-family: var(--font-serif); font-style: italic;
    font-size: 14px;
    color: var(--c-spoonbill-deep);
}
.service-card__sub {
    font-size: 12px; line-height: 1.5;
    color: var(--c-muted);
}

/* ---------- Recent work — editorial 3-col header + 4-col image grid ---------- */
.recent-work__header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: var(--sp-30);
    align-items: start;
}
@media (max-width: 800px) {
    .recent-work__header { grid-template-columns: 1fr; gap: var(--sp-20); }
}
.recent-work__lede {
    grid-column: span 2;
    font-size: 16px;
    line-height: 1.65;
    max-width: 56ch;
    margin: 0;
    padding-top: 8px;
    opacity: 0.78;
}
@media (max-width: 800px) {
    .recent-work__lede { grid-column: 1; }
}
.recent-work__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}
@media (max-width: 800px) {
    .recent-work__grid { grid-template-columns: repeat(2, 1fr); }
}
.recent-work__cell {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--c-rule);
}
.recent-work__cell img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.recent-work__cell:hover img { transform: scale(1.04); }
.recent-work__cta {
    display: flex; justify-content: flex-end;
    margin-top: var(--sp-30);
}
.recent-work__cta a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 4px;
    text-decoration: none;
}

/* ---------- Instagram section ---------- */
.instagram__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--sp-30);
    flex-wrap: wrap;
    gap: 12px;
}
.instagram__follow {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 4px;
    text-decoration: none;
}

/* ---------- Founder section (replaces about-teaser on home) ---------- */
.founder {
    padding-block: var(--sp-50);
}
.founder__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--sp-50);
    align-items: center;
}
@media (max-width: 800px) {
    .founder__grid { grid-template-columns: 1fr; gap: var(--sp-30); }
    /* Keep the portrait its desktop size on mobile instead of filling the column. */
    .founder__portrait { width: 300px; max-width: 100%; margin-inline: auto; }
}
.founder__portrait {
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--c-rule);
}
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder__lede {
    font-family: var(--font-instrument);
    font-size: 21px;
    line-height: 1.5;
    font-style: italic;
    max-width: 60ch;
    margin-bottom: var(--sp-20);
    opacity: 0.9;
}
.founder__body {
    font-size: 16px;
    line-height: 1.7;
    max-width: 68ch;
    margin-bottom: var(--sp-30);
    opacity: 0.82;
}

/* ---------- Intake form (replaces cta-band on home) ---------- */
.intake {
    padding-block: var(--sp-50);
}
.intake__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-50);
    align-items: start;
}
@media (max-width: 800px) {
    .intake__grid { grid-template-columns: 1fr; gap: var(--sp-30); }
}
.intake__title {
    font-family: var(--font-instrument);
    font-weight: 400;
    font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 var(--sp-20);
}
.intake__title em.brand-italic { font-style: italic; }
.intake__lede {
    font-size: 16px;
    line-height: 1.6;
    max-width: 42ch;
    margin-bottom: var(--sp-30);
    opacity: 0.88;
}
.intake__alt {
    font-size: 13px;
    line-height: 1.7;
    padding-top: var(--sp-20);
    border-top: 1px solid currentColor;
    border-top-color: rgba(255,255,255, 0.18);
    opacity: 0.85;
}
.zone--white .intake__alt,
.zone--pink-light .intake__alt { border-top-color: rgba(0,0,0, 0.12); }
.intake-form { display: grid; gap: 16px; }
.intake-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 600px) {
    .intake-form__row { grid-template-columns: 1fr; }
}
.intake-form label {
    display: grid; gap: 5px;
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.intake-form input,
.intake-form select,
.intake-form textarea {
    font: inherit;
    font-weight: 400; font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--c-rule);
    border-radius: 4px;
    background: #ffffff;
    color: var(--c-ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    text-transform: none;
    letter-spacing: 0;
}
.zone--ink .intake-form input,
.zone--ink .intake-form select,
.zone--ink .intake-form textarea,
.zone--pink-deep .intake-form input,
.zone--pink-deep .intake-form select,
.zone--pink-deep .intake-form textarea {
    background: rgba(255,255,255, 0.06);
    border-color: rgba(255,255,255, 0.2);
    color: #ffffff;
}
/* Placeholder text on the dark-zone form was falling back to the browser-default
   gray (#757575) — set it white-toned to match the field text. Kept slightly
   soft so it still reads as a placeholder, not a filled value. */
.zone--ink .intake-form ::placeholder,
.zone--pink-deep .intake-form ::placeholder {
    color: rgba(255,255,255, 0.7);
    opacity: 1;            /* Firefox dims placeholders by default; override */
}
.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
    outline: none;
    border-color: var(--c-spoonbill-deep);
    box-shadow: 0 0 0 3px rgba(201,114,145, 0.18);
}
.intake-form textarea {
    min-height: 110px;
    resize: vertical;
}
.intake-form__submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.intake-form__hint {
    font-size: 12px;
    font-family: var(--font-sans);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    opacity: 0.7;
}

/* ---------- Section pattern ---------- */
section { padding-block: var(--sp-30); }
/* Section divider hairlines removed — zone background changes provide the
   separation; no cream rule between blocks. */

/* Headings flip to white on any pink-background section. */
.work-section--alt h1, .work-section--alt h2, .work-section--alt h3,
.service-video--alt h1, .service-video--alt h2, .service-video--alt h3,
.work h1, .work h2, .work h3,
.cta-band h1, .cta-band h2, .cta-band h3,
.page-hero--simple h1, .page-hero--simple h2 { color: #ffffff; }

/* ---------- Mission ---------- */
.mission { text-align: center; padding-bottom: var(--sp-20); }
.mission p {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    line-height: 1.35;
    font-style: italic;
    font-weight: 400;
    color: var(--c-ink);
    max-width: 32ch;
    margin-inline: auto;
}
.mission p::before, .mission p::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--c-spoonbill);
    margin-inline: auto;
}
.mission p::before { margin-bottom: var(--sp-30); }
.mission p::after { margin-top: var(--sp-30); }
.mission + section { border-top: none; padding-top: var(--sp-20); }

/* ---------- Services grid ---------- */
.section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-20);
    margin-bottom: var(--sp-40);
    max-width: 56ch;
}
.section-head__lede { color: var(--zone-fg-muted, var(--c-muted)); font-size: var(--fs-base); }

/* Service cards — shared by the homepage "What we do" grid and the service-hub
   buckets (both use .service-grid). Base styling lives here; the photo-tile
   treatment + responsive sizing are in the .service-grid rules above. */
.service-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--c-ink);
    background: #ffffff;
    border: 1px solid var(--c-rule);
    border-radius: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4/5;
    flex: 0 0 200px;
    max-width: 200px;
}
@media (max-width: 720px) {
    .service-card {
        flex: 1 1 calc(50% - var(--sp-20));
        max-width: none;
    }
}
@media (max-width: 480px) {
    .service-card {
        flex: 1 1 100%;
        max-width: none;
    }
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: var(--c-ink);
    color: var(--c-ink);
}
.service-card__media {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    background: var(--c-rule);
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body {
    padding: var(--sp-10) var(--sp-20) var(--sp-20);
    background: #ffffff;
}
.service-card__title {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.service-card__sub {
    font-size: var(--fs-sm);
    color: var(--c-muted);
    margin: 0;
}

/* ---------- Work strip (homepage) ---------- */
/* .work — zone class on the section drives background and text color. */
.work {}
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px;
}
.work-grid__cell {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--c-rule);
}
.work-grid__cell img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.work-grid__cell:hover img { transform: scale(1.06); }
.work__cta {
    margin-top: var(--sp-40);
    display: flex;
    justify-content: center;
}
/* .work__cta buttons inherit zone-driven styling. */

/* ---------- About teaser ---------- */
.about-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-50);
    align-items: center;
}
@media (max-width: 800px) {
    .about-teaser__grid { grid-template-columns: 1fr; gap: var(--sp-40); }
}
.about-teaser__media {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
}
.about-teaser__media img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser p { font-size: var(--fs-base); line-height: 1.7; }
.about-teaser p.lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--fs-lg);
    line-height: 1.5;
    opacity: 0.78;
}

/* ---------- Closing CTA — zone class on the section drives bg + colors. ---------- */
.cta-band {
    text-align: center;
    border-top: none;
}
.cta-band h2 { margin-bottom: var(--sp-20); }
.cta-band p { max-width: 48ch; margin-inline: auto; margin-bottom: var(--sp-30); }
.cta-band__buttons { display: flex; gap: var(--sp-20); justify-content: center; flex-wrap: wrap; }
.cta-band__secondary {
    margin-top: var(--sp-20);
    margin-bottom: 0;
    font-size: var(--fs-sm);
}
.cta-band__secondary a { font-weight: 600; }

/* ---------- Footer — zone class on the element drives bg + colors. ---------- */
.site-footer {
    padding-block: var(--sp-40);
    font-size: var(--fs-sm);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--sp-40);
    align-items: start;
}
@media (max-width: 760px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        column-gap: var(--sp-30);
        row-gap: var(--sp-40);
    }
    .site-footer__brand-name { white-space: normal; }
    /* Phone: Services + Elsewhere share the 2-column top row; Brand and Studio
       each get their own full-width row below. */
    .site-footer__grid > div:nth-child(1) { order: 3; grid-column: 1 / -1; }  /* Brand */
    .site-footer__grid > div:nth-child(2) { order: 4; grid-column: 1 / -1; }  /* Studio */
    .site-footer__grid > div:nth-child(3) { order: 1; }  /* Services */
    .site-footer__grid > div:nth-child(4) { order: 2; }  /* Elsewhere */
}
@media (max-width: 400px) {
    /* Keep Services + Elsewhere side-by-side (2 columns) even on narrow phones;
       Brand + Studio still span full width via the <=760 rules above. */
    .site-footer__grid { grid-template-columns: 1fr 1fr; column-gap: var(--sp-20); row-gap: var(--sp-30); }
}
.site-footer h4 {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-spoonbill-deep);
    margin-bottom: var(--sp-20);
}
.site-footer a {
    color: var(--c-ink);
    text-decoration: none;
}
.site-footer a:hover { color: var(--c-spoonbill-deep); }
.site-footer__brand img { height: 56px; margin-bottom: var(--sp-20); }
.site-footer__brand-wordmark {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: var(--fs-xl);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--c-spoonbill-deep);
    margin: 0 0 var(--sp-20);
}
.site-footer__brand-tagline {
    color: var(--c-spoonbill-deep);
    max-width: 32ch;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer__brand-mark {
    display: block;
    height: 48px;
    width: auto;
    max-width: none;            /* override global img{max-width:100%} so the mark never shrinks in the mobile cell */
    margin-bottom: var(--sp-20);
}
.site-footer__brand-spoonbill { color: var(--c-spoonbill); }
.site-footer__brand-name {
    font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    font-weight: 500;
    font-size: var(--fs-lg);
    letter-spacing: -0.01em;
    line-height: 1.05;
    white-space: nowrap;
    margin: 0 0 var(--sp-20);
}
.site-footer__brand-name em {
    font-style: italic;
    font-weight: 400;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.site-footer__social .footer-icon {
    flex: 0 0 auto;
    opacity: 0.85;
}
.site-footer__social .footer-icon--badge { opacity: 1; }
.site-footer__bottom {
    margin-top: var(--sp-20);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-20);
    color: rgba(26,26,26, 0.65);
    font-size: var(--fs-xs);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    position: relative;
    color: var(--c-cream);
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    overflow: hidden;
    padding-block: var(--sp-60) var(--sp-50);
}
.page-hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.7) 100%);
}
.page-hero__inner { max-width: 820px; }
.page-hero h1 { color: var(--c-cream); margin-bottom: var(--sp-30); }
.page-hero h1 em { font-style: italic; color: var(--c-spoonbill); font-weight: 400; }
.page-hero__lede {
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: rgba(247,241,236, 0.92);
    max-width: 60ch;
    margin: 0;
}
.page-hero--simple {
    background: var(--c-spoonbill);
    color: var(--c-ink);
}
.page-hero--simple::before { content: none; }
.page-hero--simple h1 { color: #ffffff; }
.page-hero--simple .page-hero__lede { color: var(--c-muted); }
.page-hero--simple .eyebrow--light { color: var(--c-spoonbill-deep); }
.eyebrow--light { color: var(--c-spoonbill); }

/* Breadcrumb */
.breadcrumb {
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247,241,236, 0.7);
    margin-bottom: var(--sp-30);
}
.breadcrumb a { color: rgba(247,241,236, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-spoonbill); }
.breadcrumb span { color: var(--c-cream); }

/* ---------- Header dropdown (matches redesign ServicesDropdown styling) ---------- */
.site-nav__list .has-dropdown { position: relative; }
.site-nav__list .with-caret { display: inline-flex; align-items: center; gap: 0.4rem; }
.caret {
    display: inline-block;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.9;
    transition: transform 0.18s ease;
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

/* Vertical single-column dropdown: all 17 services grouped by their 5 buckets,
   one bucket stacked below the next. Visual styling ported from
   redesign/ServicesDropdown.jsx — muted uppercase bucket labels, ink service
   items, padded rows, soft hover. */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 560px;
    max-width: calc(100vw - 32px);
    padding: 24px 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    background: #ffffff;
    border: 1px solid var(--c-rule);
    border-radius: 8px;
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.2s;
    z-index: 100;
    max-height: 80vh;
    overflow-y: auto;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
.dd-bucket { padding: 0; margin-bottom: 18px; }
.dd-bucket:last-child { margin-bottom: 0; }
.dd-bucket + .dd-bucket { border-top: 0; }
.dd-bucket h5 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.005em;
    text-transform: none;
    color: var(--c-ink);
    margin: 0 0 6px;
    padding: 0;
}
.dd-bucket ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dd-bucket a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: var(--c-ink);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.005em;
    transition: color 0.12s ease;
}
.dd-bucket a:hover {
    color: var(--c-spoonbill-deep);
}
/* Desktop dropdown: number the five buckets 01–05 as anchors (same serif-italic
   leading-zero treatment as the hamburger's top-level list). Pure CSS counter —
   no markup change. Scoped to desktop so it doesn't collide with the drawer's
   own 01–05 top-level numbering. */
@media (min-width: 761px) {
    .dropdown { counter-reset: dd-num; }
    .dd-bucket { counter-increment: dd-num; }
    .dd-bucket h5 {
        display: flex;
        align-items: baseline;
        gap: 9px;
        padding-left: 0;
    }
    .dd-bucket h5::before {
        content: counter(dd-num, decimal-leading-zero);
        font-family: var(--font-serif);
        font-style: italic;
        font-weight: 400;
        font-size: 13px;
        line-height: 1;
        letter-spacing: -0.01em;
        color: var(--c-spoonbill-deep);
        flex: 0 0 auto;
    }
    .dd-bucket ul { padding-left: 22px; }
}
/* Single-service buckets (e.g. Real Estate): hide the lone sub-item so it isn't
   listed twice — the bucket header itself is the link. */
.dd-bucket:has(ul > li:only-child) ul { display: none; }
.site-nav__list a.active { color: var(--c-spoonbill-deep); }
/* Mobile dropdown visibility is handled in the consolidated mobile-nav
   block (see "Mobile nav drawer (consolidated 2026-05-29)" below). The
   tiny duplicate @media that lived here has been removed. */

/* ---------- Service page sections ---------- */
.service-intro { padding-block: var(--sp-30); }
.service-intro p.lede {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1rem + 0.9vw, 1.65rem);
    line-height: 1.45;
    color: var(--c-ink);
    font-weight: 400;
    margin: 0;
}

.service-deliverables { background: #ffffff; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-50);
    align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: var(--sp-30); } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-20); }
.check-list li {
    position: relative;
    padding-left: 2rem;
    font-size: var(--fs-base);
    line-height: 1.5;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.5em;
    width: 1.2rem; height: 2px;
    background: var(--c-spoonbill-deep);
}

/* Pricing */
.service-pricing { background: #ffffff; }
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--sp-30);
    background: transparent;
}
.pricing-table th, .pricing-table td {
    padding: var(--sp-20);
    text-align: left;
    border-bottom: 1px solid var(--c-rule);
    vertical-align: top;
}
.pricing-table th {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
    border-bottom: 2px solid var(--c-ink);
}
.pricing-table .price {
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    color: var(--c-spoonbill-deep);
    font-weight: 500;
}
.pricing-table .muted { color: var(--c-muted); font-size: var(--fs-sm); }
@media (max-width: 700px) {
    .pricing-table thead { display: none; }
    .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
    .pricing-table tr { padding: var(--sp-20) 0; border-bottom: 1px solid var(--c-rule); }
    .pricing-table td { padding: 0.3rem 0; border: none; }
}
.micro {
    margin-top: var(--sp-20);
    color: var(--c-muted);
    font-size: var(--fs-sm);
}

/* Why grid */
.service-why .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-30);
}
.why-block {
    border-top: 2px solid var(--c-spoonbill-deep);
    padding-top: var(--sp-20);
}
.why-block h3 {
    font-family: var(--font-sans);
    font-size: var(--fs-lg);
    margin-bottom: 0.6rem;
}
.why-block p { color: var(--c-muted); margin: 0; line-height: 1.55; }

/* Service gallery */
.service-gallery { background: #ffffff; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4px;
}
.gallery-cell { aspect-ratio: 4/5; overflow: hidden; background: var(--c-rule); }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-cell:hover img { transform: scale(1.04); }

/* ---------- Services hub split-screen (task #4 / 2026-05-28) ----------
   Two big cards — Commercial vs. Personal — for the first-hop "Services"
   nav decision. Replaces the previous flat all-services list. Sub-category
   cards live on /services/commercial/ and /services/personal/, not here. */
.services-split {
    padding: var(--sp-50) 0;
}
.services-split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-30);
}
.services-split__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--c-ink);
    /* No card box — image on top, caption directly below on the section bg. */
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}
.services-split__media {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
/* Image stays bright — no scrim, since the caption now sits below it. */
.services-split__media-overlay {
    display: none;
}
.services-split__body {
    padding: var(--sp-20) 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
}
.services-split__title {
    font-family: var(--font-serif);
    font-size: var(--fs-2xl);
    color: var(--c-ink);
    margin: 0;
    line-height: 1.1;
}
.services-split__lede {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-ink);
    margin: 0 0 var(--sp-10);
    opacity: 0.85;
}
.services-split__cta {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-spoonbill-deep);
    letter-spacing: 0.02em;
}
@media (max-width: 720px) {
    .services-split__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-20);
    }
    .services-split__title {
        font-size: var(--fs-xl);
    }
}

/* Landscape gallery variant — applied via render_service_page when
   gallery_aspect="landscape" is set on the SERVICES entry (e.g.,
   sports-tournaments). Cells render 3:2 widescreen, and the grid caps
   at --content (720px) max-width so a single gallery image stays
   page-readable rather than stretching the full 1240px container. */
.gallery-grid--landscape {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: var(--content);
    margin-inline: auto;
}
.gallery-grid--landscape .gallery-cell { aspect-ratio: 3/2; }

/* ---------- Services hub buckets ---------- */
.services-bucket { padding-block: var(--sp-30); border-bottom: 1px solid var(--c-rule); }
.services-bucket:last-child { border-bottom: none; }
.services-bucket h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-30);
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0;
}

/* ---------- About body ---------- */
.about-body { padding-block: var(--sp-30); }
.about-body + .about-body { border-top: none; }
.about-body + .about-body::before {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--c-spoonbill);
    margin: 0 auto var(--sp-30);
}
.about-body .container.narrow > * + * { margin-top: var(--sp-20); }
.about-body h2 {
    margin-top: var(--sp-40);
    margin-bottom: var(--sp-20);
}
.about-body p {
    font-size: var(--fs-base);
    line-height: 1.7;
}
.about-portrait {
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 320px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: var(--sp-30);
    float: right;
    margin-left: var(--sp-30);
    shape-outside: margin-box;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
    .about-portrait { float: none; margin: 0 auto var(--sp-30); max-width: 100%; }
}
.about-body ul.creds {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--sp-20);
}
.about-body ul.creds li {
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}
.about-body ul.creds li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 1.2rem; height: 2px;
    background: var(--c-spoonbill-deep);
}

/* ---------- Work / portfolio page ---------- */
.work-section { padding-block: var(--sp-30); }
/* Alternating section backgrounds (mirrors the GoDaddy /video page layout) */
.work-section--alt { background: var(--c-spoonbill); }
.masonry {
    columns: 3;
    column-gap: 8px;
}
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 540px) { .masonry { columns: 1; } }
.masonry-cell {
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 2px;
}
.masonry-cell img { width: 100%; display: block; transition: opacity 0.3s ease, transform 0.5s ease; }
.masonry-cell:hover img { opacity: 1; transform: scale(1.02); }

/* ---------- Contact ---------- */
.contact-body { padding-block: var(--sp-30); }
/* Single column on the site's prose width — form first, studio details below. */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-50);
    max-width: var(--content);
    margin-inline: auto;
    margin-bottom: var(--sp-50);
}
.contact-info p { margin-bottom: 1rem; line-height: 1.5; }
.contact-info p strong {
    display: block;
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 0.2rem;
}
.contact-form { display: grid; gap: var(--sp-20); }
.contact-form label {
    display: grid;
    gap: 0.4rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    font: inherit;
    font-weight: 400;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid var(--c-rule);
    border-radius: 4px;
    color: var(--c-ink);
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--c-spoonbill-deep);
    box-shadow: 0 0 0 3px rgba(201,114,145,0.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { justify-self: start; margin-top: var(--sp-20); }

/* ---------- Blog ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-30);
    padding-block: var(--sp-30);
}
.post-card {
    text-decoration: none;
    color: var(--c-ink);
    background: #ffffff;
    border: 1px solid var(--c-rule);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--c-ink); color: var(--c-ink); }
.post-card.is-upcoming { opacity: 0.7; }
.post-card.is-upcoming:hover { transform: none; box-shadow: none; cursor: default; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-rule); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:not(.is-upcoming):hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: var(--sp-30); display: grid; gap: 0.5rem; }
.post-card__date {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    margin: 0;
}
.post-card__body h3 {
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.015em;
}
.post-card__body p { color: var(--c-muted); margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.post-card .upcoming {
    display: inline-block;
    align-self: start;
    padding: 0.2rem 0.6rem;
    background: var(--c-rule);
    color: var(--c-muted);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* Article body */
.post-body { padding-block: var(--sp-40) var(--sp-50); }
.post-body .meta {
    font-size: var(--fs-sm);
    color: var(--c-muted);
    margin-bottom: var(--sp-30);
}
.post-hero {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: var(--sp-40);
    border-radius: 4px;
}
.post-body p {
    font-size: var(--fs-base);
    line-height: 1.7;
    margin-bottom: 1.2em;
}
.post-body p.lede {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--c-muted);
    margin-bottom: var(--sp-30);
}
.post-body h2 {
    font-size: var(--fs-xl);
    font-family: var(--font-serif);
    margin: var(--sp-40) 0 var(--sp-20);
}

/* ---------- Video embeds ---------- */
/* Background loop video on the homepage hero */
.hero__bg-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
/* Cover-crop the loop: iframe is sized to fully cover the hero in any aspect,
   centered, with the wrapper's overflow:hidden clipping the excess. */
.hero__bg-video iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;            /* 16:9 sized to viewport width */
    min-width: 177.78lvh; min-height: 100lvh; /* always cover the largest viewport */
    transform: translate(-50%, -50%);
    border: 0; pointer-events: none;
}
.hero__bg-video::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,18,16,0.45) 0%, rgba(20,18,16,0.55) 100%);
    z-index: 1;
}

/* Inline video card — service pages, work page */
.video-card { margin: 0 0 var(--sp-30); }
.video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--c-rule);
    overflow: hidden;
    border-radius: 4px;
}
.video-card__media iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.video-card__caption {
    margin-top: var(--sp-10);
    font-size: var(--fs-sm);
    color: var(--c-muted);
}
.video-card__caption strong { color: var(--c-ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* Vertical (9:16, Instagram Reel-style) video cards */
.video-card--vertical .video-card__media {
    aspect-ratio: 9 / 16;
    max-width: 360px;
    margin-inline: auto;
}
.video-card--vertical .video-card__caption {
    max-width: 360px;
    margin-inline: auto;
    text-align: center;
}

/* Video grid — column count matches the video count (capped at 3-up) so a
   row always reads as a row and never has empty trailing cells. */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-30);
    align-items: start;
}
/* Single video — full row width on desktop */
.video-grid--1 { grid-template-columns: 1fr; }
/* Two videos — half each on tablet+ */
@media (min-width: 720px) {
    .video-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .video-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
/* Three videos — thirds on desktop */
@media (min-width: 1100px) {
    .video-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Featured single video on a service page. Default white; alt sections use
   the soft-pink token so multi-section pages (brand-video) read as cream-pink. */
.service-video { padding: var(--sp-30) 0; background: #ffffff; }
.service-video--alt { background: var(--c-spoonbill); }
.service-video .video-card__media { max-width: 960px; margin: 0 auto; }
.service-video .video-card__caption { max-width: 960px; margin-left: auto; margin-right: auto; text-align: center; }
.service-video .video-card--vertical .video-card__media { max-width: 360px; }
.service-video .video-card--vertical .video-card__caption { max-width: 360px; }

/* ---------- Instagram feed (homepage) ---------- */
.instagram-feed {
    padding: var(--sp-30) 0;
    border-top: none;
}
.instagram-feed .section-head {
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}
.instagram-feed .section-head .eyebrow { margin-bottom: 0; }
.instagram-feed__widget {
    margin: 0 auto;
}
.instagram-feed__follow {
    margin: var(--sp-30) 0 0;
    text-align: center;
    font-size: var(--fs-sm);
}
.instagram-feed__follow a {
    text-decoration: none;
    color: var(--c-spoonbill-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.instagram-feed__follow a:hover { color: var(--c-ink); }

/* ---------- About page ---------- */
.pull-quote {
    margin: 0 0 var(--sp-30);
    padding: var(--sp-20) var(--sp-30);
    border-left: 3px solid var(--c-spoonbill);
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    font-weight: 400;
    font-style: italic;
    color: var(--c-ink);
    line-height: 1.4;
}
.about-bio__tagline {
    margin-top: calc(-1 * var(--sp-10));
    color: var(--c-muted);
    font-size: var(--fs-base);
}
.about-philosophy__photo {
    float: right;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    margin: 0 0 var(--sp-20) var(--sp-30);
    shape-outside: circle();
}
@media (max-width: 540px) {
    .about-philosophy__photo {
        float: none;
        display: block;
        margin: 0 auto var(--sp-30);
    }
}
.about-bio__photo {
    margin: var(--sp-30) auto var(--sp-20);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.about-bio__photo img {
    display: block;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}
.about-bio__creds {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--c-muted);
    letter-spacing: 0.04em;
    margin-top: var(--sp-20);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Portfolio hero (image-driven, scoped in .zone--ink) ---------- */
.portfolio-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: var(--sp-60) var(--sp-50);
    min-height: clamp(420px, 60vh, 640px);
    display: flex;
    align-items: flex-end;
}
.portfolio-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.portfolio-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(26,26,26,0.30) 0%, rgba(26,26,26,0.78) 100%);
}
.portfolio-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}
.portfolio-hero .eyebrow {
    color: var(--zone-eyebrow);
    margin-bottom: var(--sp-20);
}
.portfolio-hero__title {
    color: var(--zone-heading);
    margin: 0 0 var(--sp-30);
    max-width: 18ch;
    font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.022em;
}
.portfolio-hero__title em.brand-italic {
    color: var(--zone-italic);
}
.portfolio-hero__lede {
    color: var(--zone-fg);
    font-size: var(--fs-lg);
    line-height: 1.5;
    max-width: 56ch;
    margin: 0 0 var(--sp-30);
    opacity: 0.92;
}

/* ---------- Work tier head (rule + eyebrow + count) ---------- */
.work-tier-head-section { padding-block: var(--sp-50) var(--sp-20); }
.work-tier-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-30);
}
.work-tier-head__rule {
    display: block;
    width: clamp(40px, 6vw, 80px);
    height: 2px;
    background: var(--zone-rule);
}
.work-tier-head__eyebrow {
    margin: 0;
    color: var(--zone-eyebrow);
}
.work-tier-head__count {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zone-fg-muted);
}
@media (max-width: 700px) {
    .work-tier-head { grid-template-columns: auto 1fr; }
    .work-tier-head__count { grid-column: 1 / -1; }
}

/* ---------- Work index (editorial numbered rows) ---------- */
.work-index-section { padding-block: var(--sp-20) var(--sp-50); }
.work-tier-head-section + .work-index-section { border-top: none; }
.work-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--sp-50);
}
.work-index__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding-top: var(--sp-30);
    border-top: 1px solid var(--zone-rule);
}
.work-index__row:first-child {
    border-top: none;
    padding-top: 0;
}
/* Alternate orientation on even rows for editorial rhythm */
.work-index__row:nth-child(even) .work-index__media { order: 2; }
@media (max-width: 800px) {
    .work-index__row {
        grid-template-columns: 1fr;
        gap: var(--sp-30);
    }
    .work-index__row:nth-child(even) .work-index__media { order: 0; }
}
.work-index__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--zone-rule);
    border-radius: var(--radius-sm);
}
.work-index__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.work-index__row:hover .work-index__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
    .work-index__media img { transition: none; }
}
.work-index__body { min-width: 0; }
.work-index__topline {
    display: flex;
    align-items: baseline;
    gap: var(--sp-20);
    margin-bottom: var(--sp-20);
    flex-wrap: wrap;
}
.work-index__num {
    font-family: var(--font-instrument);
    font-style: italic;
    font-size: clamp(2.5rem, 1.6rem + 2vw, 3.25rem);
    line-height: 1;
    color: var(--zone-italic);
    font-variant-numeric: tabular-nums;
}
.work-index__meta {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zone-fg-muted);
    display: inline-flex;
    align-items: baseline;
    gap: 0.6em;
}
.work-index__sep { opacity: 0.5; }
.work-index__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--zone-heading);
    margin: 0 0 var(--sp-20);
    max-width: 28ch;
}
.work-index__deliv {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5em var(--sp-20);
    align-items: baseline;
    margin: 0;
}
.work-index__deliv dt {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zone-fg-muted);
    margin: 0;
}
.work-index__deliv dd {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    color: var(--zone-fg);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Mobile header + drawer ----------
   Closed header keeps original pink background + Bricolage wordmark + 52px
   logo. At <=540px the wordmark is shown stacked (Spoonbill / Productions)
   instead of being hidden entirely.

   Open drawer: white editorial overlay that slides down from below the
   sticky header. Header (logo + wordmark + X-hamburger) stays visible on
   top — closing is via the hamburger morphing back from X. No MENU/Close
   chrome inside the drawer.

   Inside the drawer:
   - Numbered list (01–05) via CSS counters: Services, About, Portfolio,
     Social Feed, Blog
   - Services row shows the 5 service buckets always visible (Brand,
     Events, Life Events, Portraits & Personal, Real Estate — alphabetical)
   - Each multi-service bucket expands inline on tap to show its services
     (single-accordion). Real Estate (single-service) navigates directly.
   - Footer: ink CTA pill + "or call (561) 581-2041" link
*/

/* (1) Wordmark — stacked at phone widths. Overrides the earlier
   `.site-logo__wordmark { display: none }` at <=540px. */
@media (max-width: 540px) {
    .site-logo__wordmark {
        display: inline-block;
        font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: -0.03em;
        line-height: 1.02;
        white-space: normal;
        color: #ffffff;
    }
    .site-logo__wordmark em {
        display: block;
        font-style: italic;
        font-weight: 400;
        color: var(--c-ink);
    }
    .site-logo img { height: 44px; }
}

/* Mobile nav drawer (consolidated 2026-05-29).
   Single source of truth for mobile-nav behavior at <=760px. The earlier
   slide-down panel block (lines 206+) and tiny .dropdown { display:none }
   block (line 1258) have been removed; the !important stacks they were
   fighting are no longer needed because nothing else now targets these
   selectors at this breakpoint. */
@media (max-width: 760px) {
    /* Drawer surface — fixed below the header. 72px ≈ header height
       (14px padding + 44-52px logo + 14px padding). Slightly off at the
       wider end of the breakpoint; the header z-index keeps it tidy. */
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        color: var(--c-ink);
        padding: 18px 22px 24px;
        max-height: none;
        border-bottom: 0;
        box-shadow: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
        transition: transform 0.42s cubic-bezier(.2,.7,.2,1), opacity 0.25s ease;
        overflow: hidden;
        display: flex;
    }
    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Numbered editorial list — CSS counters render 01..0n. */
    .site-nav__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        counter-reset: nav-counter;
        gap: 0;
    }
    .site-nav__list > li {
        position: relative;
        padding: 12px 0 12px 38px;
        border-bottom: 1px solid var(--c-rule);
        counter-increment: nav-counter;
    }
    .site-nav__list > li:last-child { border-bottom: 0; }
    .site-nav__list > li::before {
        content: counter(nav-counter, decimal-leading-zero);
        position: absolute;
        left: 0; top: 24px;
        font-family: var(--font-serif);
        font-style: italic;
        font-weight: 400;
        font-size: 14px;
        color: var(--c-spoonbill-deep);
        line-height: 1;
        letter-spacing: -0.01em;
    }
    .site-nav__list > li > a {
        display: block;
        font-family: var(--font-serif);
        font-weight: 500;
        font-size: 22px;
        line-height: 1.05;
        letter-spacing: -0.022em;
        color: var(--c-ink);
        text-decoration: none;
        padding: 0;
        transition: color 0.15s ease;
    }
    .site-nav__list > li > a:hover,
    .site-nav__list > li > a.active {
        color: var(--c-spoonbill-deep);
    }
    /* Hide the desktop "▾" caret on the Services link. */
    .site-nav__list .caret { display: none; }

    /* Services bucket list — ALWAYS visible on mobile, neutralizing every
       desktop positioning/transform rule. !important no longer needed since
       the older mobile blocks that fought this rule have been deleted. */
    .site-nav__list .has-dropdown .dropdown,
    .site-nav__list .has-dropdown:hover .dropdown,
    .site-nav__list .has-dropdown:focus-within .dropdown {
        display: block;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        min-width: 0;
        max-width: none;
        max-height: none;
        padding: 6px 0 4px;
        background: transparent;
        border: 0;
        box-shadow: none;
        grid-template-columns: 1fr;
        gap: 0;
        overflow: visible;
    }
    /* Each bucket — bucket header + collapsible inner service list. */
    .site-nav .dd-bucket { padding: 0; border-top: 0; margin: 0; }
    .site-nav .dd-bucket + .dd-bucket { border-top: 0; }
    .site-nav .dd-bucket h5 {
        font-family: var(--font-serif);
        font-style: italic;
        font-weight: 400;
        font-size: 16px;
        letter-spacing: -0.005em;
        text-transform: none;
        color: var(--c-ink);
        margin: 0;
        padding: 0;
        line-height: 1.2;
    }
    .site-nav .dd-bucket h5 a {
        display: block;
        position: relative;
        padding: 6px 28px 6px 0;
        color: inherit;
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .site-nav .dd-bucket h5 a:hover { color: var(--c-spoonbill-deep); }
    /* Caret only on multi-service buckets — uses :has() to detect 2+ services. */
    .site-nav .dd-bucket:has(ul > li + li) h5 a::after {
        content: "";
        position: absolute;
        right: 0; top: 50%;
        width: 10px; height: 10px;
        transform: translateY(-50%);
        background:
            linear-gradient(45deg, transparent calc(50% - 0.7px), var(--c-spoonbill-deep) calc(50% - 0.7px) calc(50% + 0.7px), transparent calc(50% + 0.7px)) 0 0 / 6px 1.4px no-repeat,
            linear-gradient(-45deg, transparent calc(50% - 0.7px), var(--c-spoonbill-deep) calc(50% - 0.7px) calc(50% + 0.7px), transparent calc(50% + 0.7px)) 5px 0 / 6px 1.4px no-repeat;
        background-position: 0 center, 4px center;
        transition: transform 0.25s cubic-bezier(.2,.7,.2,1);
    }
    .site-nav .dd-bucket.is-expanded h5 a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    /* Inner per-service list — hidden by default, shown when bucket .is-expanded. */
    .site-nav .dd-bucket ul {
        display: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .site-nav .dd-bucket.is-expanded ul {
        display: block;
        padding: 2px 0 6px;
    }
    .site-nav .dd-bucket li { padding: 0; border: 0; }
    .site-nav .dd-bucket li a {
        display: block;
        padding: 4px 0 4px 20px;
        font-family: var(--font-sans);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--c-ink);
        text-decoration: none;
        transition: color 0.15s ease;
    }
    .site-nav .dd-bucket li a:hover { color: var(--c-spoonbill-deep); }

    /* Drawer footer — primary CTA pill + "or call ..." link. */
    .site-nav__footer {
        margin-top: auto;
        padding-top: 18px;
        display: grid;
        gap: 10px;
        justify-items: center;
        text-align: center;
    }
    .site-nav .btn,
    .site-nav .btn--sm {
        width: 100%;
        justify-content: center;
        background: var(--c-ink);
        color: #ffffff;
        border-color: var(--c-ink);
        padding: 12px 22px;
        font-weight: 500;
        align-self: stretch;
    }
    .site-nav .btn:hover {
        background: var(--c-spoonbill-deep);
        border-color: var(--c-spoonbill-deep);
        color: #ffffff;
    }
    .site-nav__call {
        font-family: var(--font-sans);
        font-size: 13px;
        font-weight: 500;
        color: var(--c-muted);
        text-decoration: none;
        padding: 4px 8px;
        transition: color 0.15s ease;
    }
    .site-nav__call:hover { color: var(--c-spoonbill-deep); }
}

/* Desktop: hide mobile-only chrome, flatten .site-nav__footer so the
   primary CTA stays a direct flex child of .site-nav exactly as before. */
@media (min-width: 761px) {
    .site-nav__footer { display: contents; }
    .site-nav__call { display: none; }
}

/* Body scroll lock when the mobile drawer is open. position: fixed pins
   the page so swipes/pinches on the drawer don't scroll or zoom what's
   behind it. The IIFE saves window.scrollY into --nav-scroll-lock before
   adding .nav-open, and restores it when removing the class — otherwise
   the page jumps to top when the drawer closes. */
@media (max-width: 760px) {
    body.nav-open {
        position: fixed;
        top: var(--nav-scroll-lock, 0);
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
    }
    .site-nav { touch-action: pan-y; }
}

/* ============================================================================
   Social feed — /social/ pages + homepage Instagram mosaic.
   Ported from the aggregator's old inline <style> block (originally at
   spoonbill-social-aggregator/src/html.js). The aggregator no longer renders
   HTML; build.py emits these classes directly from /social/data.json.
   ============================================================================ */

/* ---------- Feed-index row variants (social) ---------- */
/* Default .work-index__media is 4/3 cropped (Work index section above). For
   social posts we override: --natural preserves the IG image's native aspect
   without cropping; --tagged renders the dark placeholder card when Meta
   gates us out of media_url for a mention. */
/* These modifiers override the .work-index__media base (defined earlier
   in the file). Same specificity (0,1,0), social-feed block comes after
   in source order, so it wins without !important. Cleanup 2026-05-29. */
.work-index__media--natural {
    aspect-ratio: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.work-index__media--natural img {
    width: 100%;
    height: auto;
    object-fit: initial;
    display: block;
    border-radius: 0;
    transition: none;
}
.work-index__row:hover .work-index__media--natural img {
    transform: none;
}

.work-index__media--tagged {
    aspect-ratio: 1;
    background: var(--c-ink);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: background-color 0.2s ease;
}
.work-index__media--tagged:hover {
    background: var(--c-spoonbill);
}

/* After the IntersectionObserver swaps a tagged skeleton for the actual IG
   embed iframe, --tagged is removed and --embed is applied. Restores natural
   sizing so the iframe can size to its own height instead of being clipped
   to the square aspect-ratio of the tagged slot. */
.work-index__media--embed {
    aspect-ratio: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.work-index__media--embed .instagram-media {
    margin: 0;
    min-width: 0;
    width: 100%;
}

/* ---------- Tagged-post placeholder card ---------- */
.tagged-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--c-cream);
    box-sizing: border-box;
}
.tagged-placeholder:hover { color: var(--c-cream); }
.tagged-placeholder__from {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 6px;
    font-family: var(--font-sans);
    color: var(--c-cream);
}
.tagged-placeholder__handle {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--c-cream);
}
.tagged-placeholder__cta {
    font-size: 11px;
    opacity: 0.75;
    font-family: var(--font-sans);
    color: var(--c-cream);
}

/* Minimal clickable skeleton used by the lazy IG embed loader. Fills the
   tagged-media slot before the IntersectionObserver swaps it for the IG
   embed iframe. The dark background comes from .work-index__media--tagged;
   this just makes the whole tile clickable and gives the JS a stable
   anchor (data-embed-permalink) to find. */
.tagged-skeleton {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* ---------- Instagram embed wrapper (per-post page, tagged) ---------- */
/* Centers IG's official embed iframe in the per-post page. Used when Meta
   gates us out of media_url so we let IG render the post in-place. */
.ig-embed-wrap {
    display: flex;
    justify-content: center;
    margin: var(--sp-40) 0;
}
.ig-embed-wrap .instagram-media {
    margin: 0 auto;
}

/* ---------- Per-post page (/social/<id>/) ---------- */
/* Title + caption inside .container--narrow (~720px). Media block sits
   outside that container so videos and photos can be larger than the prose
   width, capped at 1100px on desktop. */
.social-post .container--narrow {
    max-width: var(--content, 720px);
    padding: var(--sp-40) var(--sp-20);
}
.social-post__media-row {
    max-width: 1100px;
    margin: var(--sp-40) auto;
    padding: 0 var(--sp-20);
}
.social-post__media {
    margin: 0 0 var(--sp-30);
}
.social-post__media img,
.social-post__media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
    background: #000;
}
/* IG transcodes uploaded video heavily; scaling up makes compression
   artifacts visible. Cap videos closer to native display width. */
.social-post__media video {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.social-post__body {
    font-family: var(--font-sans);
    margin: var(--sp-40) 0;
}
.social-post__body p {
    margin: 0 0 var(--sp-20) 0;
    line-height: 1.6;
}
.social-post__source,
.social-post__back {
    color: var(--c-muted);
    font-size: var(--fs-sm);
    margin-top: var(--sp-30);
}

/* ---------- Per-album page (/social/album/<id>/) ---------- */
/* Reuses .portfolio-hero for the cover band, then a square thumbnail grid
   that links to the FB CDN at full resolution. (Lightbox enhancement
   deferred — was inline JS in the old aggregator output.) */
.album-page {
    padding: 0;
}
.album-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-muted);
    border-bottom: 1px solid var(--c-rule);
    padding-block: var(--sp-30) var(--sp-20);
    margin-bottom: var(--sp-30);
}
.album-meta a { color: var(--c-muted); text-decoration: none; }
.album-meta a:hover { color: var(--c-ink); }
.album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding-bottom: var(--sp-50);
}
@media (max-width: 800px) {
    .album-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .album-grid { grid-template-columns: repeat(2, 1fr); }
}
.album-thumb {
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: var(--c-rule);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    display: block;
}
.album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.album-thumb:hover img { transform: scale(1.04); }

/* ---------- Homepage Instagram mosaic (replaces Behold widget) ---------- */
/* Centered cluster — seven tiles on a fixed-aspect "stage" that breaks out of
   the container to span 95vw and scales as one unit, so the composition is
   identical on every screen/device. Size encodes recency (newest = largest):
   the newest post is the centered hero, the others hug it (left + right
   columns + a bottom pair). No captions, no overlay. Each tile links to
   /social/<id>/. */
.instagram-mosaic {
    position: relative;
    width: 95vw;            /* break out of the 1240px container... */
    left: 50%;
    margin-left: -47.5vw;   /* ...and center on the viewport (2.5vw gutters) */
    aspect-ratio: 3 / 2;
    padding: var(--sp-30) 0 var(--sp-40);
}
.instagram-mosaic__tile {
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);   /* left/top below = tile CENTER */
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.04);
    /* square corners — no border-radius */
}
.instagram-mosaic__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.instagram-mosaic__tile:hover img { transform: scale(1.05); }

/* Seven positions · width = % of stage width · left/top = tile center.
   Sizes descend by recency; hero centered, columns hug it, bottom pair at base. */
.instagram-mosaic__tile--1 { width: 37.8%; left: 50%;   top: 39.8%; z-index: 7; } /* newest · hero */
.instagram-mosaic__tile--2 { width: 25.7%; left: 82.1%; top: 50.6%; z-index: 6; } /* right, low */
.instagram-mosaic__tile--3 { width: 20.9%; left: 41.9%; top: 84.3%; z-index: 5; } /* bottom, left */
.instagram-mosaic__tile--4 { width: 17.6%; left: 21.9%; top: 49.2%; z-index: 4; } /* left, low */
.instagram-mosaic__tile--5 { width: 15.5%; left: 60.8%; top: 80.3%; z-index: 3; } /* bottom, right */
.instagram-mosaic__tile--6 { width: 13.5%; left: 76.1%; top: 20.2%; z-index: 2; } /* right, high */
.instagram-mosaic__tile--7 { width: 12.2%; left: 24.6%; top: 26.3%; z-index: 1; } /* oldest · left, high */

/* ---------- Skip link (WCAG 2.4.1 Bypass Blocks) ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
    background: var(--c-ink);
    color: var(--c-cream);
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) 0;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    transition: top 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 2px solid var(--c-spoonbill-deep);
    outline-offset: 2px;
}

/* ---------- Focus indicators (WCAG 2.4.7 Focus Visible) ----------
   Global :focus-visible style. Only shown for keyboard activation, not on
   mouse click — better UX than the legacy ":focus" which fired on click too.
*/
:focus-visible {
    outline: 2px solid var(--c-spoonbill-deep);
    outline-offset: 2px;
}

/* ---------- Reduced motion (WCAG 2.3.3, OS-level preference) ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Two-tier services dropdown group (Phase 1 follow-up) ---------- */
.dd-group {
    padding: 0;
}
/* (Group separator removed — columns sit side by side on desktop and the
   stacked drawer groups are spaced by their own rhythm.) */
.dd-group > h4 {
    margin: 0 0 var(--sp-10) 0;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.dd-group > h4 a {
    color: inherit;
    text-decoration: none;
}
.dd-group > h4 a:hover {
    color: var(--c-spoonbill-deep);
}
/* Mobile drawer: the group header (Commercial / Personal) belongs with the
   buckets BELOW it — tighten the gap beneath, add room above. */
@media (max-width: 760px) {
    .site-nav .dd-group > h4 {
        margin-top: var(--sp-20);
        margin-bottom: 2px;
    }
    .site-nav .dd-group:first-child > h4 {
        margin-top: var(--sp-10);
    }
}

/* ---------- Consent banner (CPRA 2026 dark-pattern compliant) ----------
   Three equal-weight buttons. No primary/secondary visual hierarchy — the
   regulator wants symmetry. Banner sits fixed at viewport bottom on first
   visit, dismisses on any of the three actions.
*/
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--c-cream);
    border-top: 1px solid var(--c-rule);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
}
.consent-banner[hidden] {
    display: none;
}
.consent-banner__inner {
    max-width: var(--wide);
    margin: 0 auto;
    padding: var(--sp-20) var(--sp-30);
    display: flex;
    flex-direction: column;
    gap: var(--sp-20);
}
@media (min-width: 760px) {
    .consent-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.consent-banner__body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--c-ink);
    max-width: 60ch;
}
.consent-banner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Equal-weight consent buttons. Identical styling — same border, same
   background, same font weight — so no button visually nudges the user. */
.consent-btn {
    background: transparent;
    color: var(--c-ink);
    border: 1px solid var(--c-ink);
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-sans);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.consent-btn:hover,
.consent-btn:focus-visible {
    background: var(--c-ink);
    color: var(--c-cream);
}

/* ---------- Consent modal ---------- */
.consent-modal {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-20);
}
.consent-modal[hidden] {
    display: none;
}
.consent-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.consent-modal__card {
    position: relative;
    background: var(--c-cream);
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - var(--sp-40));
    overflow-y: auto;
    padding: var(--sp-30);
}
.consent-modal__title {
    margin: 0 0 var(--sp-10) 0;
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    color: var(--c-ink);
}
.consent-modal__intro {
    margin: 0 0 var(--sp-30) 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--c-muted);
}

/* ---------- Consent toggle row ---------- */
.consent-toggle {
    padding: var(--sp-20) 0;
    border-top: 1px solid var(--c-rule);
}
.consent-toggle__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 6px;
    position: relative;
}
.consent-toggle__label {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--c-ink);
}
.consent-toggle__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.consent-toggle__switch {
    display: inline-block;
    width: 38px;
    height: 22px;
    background: var(--c-rule);
    border-radius: 11px;
    position: relative;
    transition: background 0.18s ease;
    flex-shrink: 0;
}
.consent-toggle__switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.18s ease;
}
.consent-toggle__input:checked ~ .consent-toggle__switch {
    background: var(--c-spoonbill-deep);
}
.consent-toggle__input:checked ~ .consent-toggle__switch::before {
    transform: translateX(16px);
}
.consent-toggle__input:focus-visible ~ .consent-toggle__switch {
    outline: 2px solid var(--c-spoonbill-deep);
    outline-offset: 3px;
}
.consent-toggle__body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--c-muted);
}

.consent-modal__actions {
    margin-top: var(--sp-30);
    display: flex;
    justify-content: flex-end;
}

/* ---------- Footer "Cookie settings" link ---------- */
.site-footer__settings {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}
.site-footer__settings:hover,
.site-footer__settings:focus-visible {
    color: var(--c-spoonbill-deep);
}

/* ---------- Top-level hub intro section ----------
   Rich-HTML intro that sits between page-hero and bucket cards on the
   Commercial / Personal hub pages. Wraps the multi-paragraph body in a
   readable column. Background comes from the zone class applied in
   render_top_level_hub (zone--white today), not hardcoded here. */
.hub-intro {
    padding: var(--sp-40) 0;
}
.hub-intro p {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-ink);
    margin: 0 0 var(--sp-20) 0;
}
.hub-intro p:last-child { margin-bottom: 0; }
.hub-intro strong { font-weight: 600; }
.hub-intro a {
    color: var(--c-spoonbill-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.hub-intro a:hover,
.hub-intro a:focus-visible { color: var(--c-ink); }

/* ---------- Clients band (Commercial hub bottom) ----------
   "Clients we work with" section that sits below the bucket cards on the
   Commercial hub. Each row: client name + honest scope description +
   proof links (outbound) + optional Instagram embed. Background comes from
   the zone class applied in render_clients_band (zone--pink-light today),
   not hardcoded here. Structured for Option B migration to the social-
   aggregator's curated "Proof of work" category (see task #2). */
.clients-band {
    padding: var(--sp-50) 0;
}
/* On zone--pink-light the default spoonbill-deep link color reads with
   poor contrast against the pink background — override proof links to
   ink with a hover-pop. */
.clients-band.zone--pink-light .client-card__proof a {
    color: var(--c-ink);
    text-decoration-color: rgba(26,26,26,0.5);
}
.clients-band.zone--pink-light .client-card__proof a:hover,
.clients-band.zone--pink-light .client-card__proof a:focus-visible {
    color: var(--c-spoonbill-deep);
    text-decoration-color: var(--c-spoonbill-deep);
}
.clients-band.zone--pink-light .client-card__name {
    color: var(--c-ink);
}

/* Logo/wordmark is the outbound link to the client's primary site.
   Subtle opacity-fade on hover signals interactivity without underlines
   or color shifts that would clash with the recolored ink logos. */
.client-card__logo-link,
.client-card__wordmark-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
.client-card__logo-link:hover,
.client-card__logo-link:focus-visible,
.client-card__wordmark-link:hover,
.client-card__wordmark-link:focus-visible {
    opacity: 0.7;
}
.clients-band.zone--pink-light .client-card__desc,
.clients-band.zone--pink-light .client-card__proof,
.clients-band.zone--pink-light .client-card__ig-caption {
    color: var(--c-ink);
}
.clients-band.zone--pink-light .client-card {
    border-top-color: rgba(26,26,26,0.18);
}
.clients-band__title {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    color: var(--c-ink);
    margin: 0 0 var(--sp-30);
    text-align: center;
}
.client-card {
    /* Identity (logo + name) stacks on its own line at the top; body block
       (description + proof + optional IG embed) sits below at full card
       width. Less crowded on desktop and reads naturally on mobile without
       any extra responsive logic. Updated 2026-05-28 from grid layout. */
    padding: var(--sp-30) 0;
    border-top: 1px solid var(--c-rule);
}
.client-card:first-child { border-top: 0; }
.client-card__identity {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-20);
    margin-bottom: var(--sp-20);
}
.client-card__logo {
    flex: 0 0 120px;
    max-width: 120px;
    /* No background chip — logo sits directly on the cream band.
       aspect-ratio keeps every card's logo footprint identical so the
       identity rows line up across the band. */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5 / 3;
}
.client-card__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.client-card__wordmark {
    flex: 0 0 120px;
    max-width: 120px;
    /* Text-only wordmark — no chip, no background, matches the logos'
       chrome-less treatment */
    color: var(--c-ink);
    aspect-ratio: 5 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: var(--fs-lg);
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.05;
}
.client-card__name {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--c-ink);
    margin: 0;
    line-height: 1.3;
}
.client-card__body { color: var(--c-ink); }
.client-card__desc {
    margin: 0 0 var(--sp-10);
    line-height: 1.6;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
}
.client-card__proof {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--c-muted);
    line-height: 1.55;
}
.client-card__proof-label {
    font-style: italic;
    margin-right: 0.25em;
}
.client-card__proof a {
    color: var(--c-spoonbill-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.client-card__proof a:hover,
.client-card__proof a:focus-visible {
    color: var(--c-ink);
}
.client-card__ig {
    margin-top: var(--sp-20);
    max-width: 540px;
}
.client-card__ig-caption {
    margin: var(--sp-10) 0 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--c-muted);
    line-height: 1.55;
    font-style: italic;
}
@media (max-width: 480px) {
    /* Tighter logo footprint on phones so it doesn't dominate the card */
    .client-card__logo,
    .client-card__wordmark {
        flex: 0 0 80px;
        max-width: 80px;
    }
    .client-card__identity {
        gap: var(--sp-10);
    }
}

/* ---------- Service page Phase C additions ----------
   Process steps, visible FAQ, and open-scope sentence sections — rendered
   conditionally per service entry. Only Testimonials and Content Retainers
   carry the new template fields today; other service pages render
   unchanged. See project_spoonbill_ia_methodology for the page skeleton. */

/* Process — numbered "how it works" list */
.service-process {
    padding: var(--sp-50) 0;
    background: #ffffff;
}
.service-process .process-list {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-30);
    max-width: var(--content);
    margin-inline: auto;
}
.service-process .process-step {
    counter-increment: step;
    position: relative;
    padding-left: calc(var(--sp-30) + 1.5em);
    border-top: 1px solid var(--c-rule);
    padding-top: var(--sp-20);
}
.service-process .process-step:first-child { border-top: 0; }
.service-process .process-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: var(--sp-20);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--fs-lg);
    color: var(--c-spoonbill-deep);
    line-height: 1;
    letter-spacing: 0.01em;
}
.service-process .process-step__title {
    font-family: var(--font-sans);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--c-ink);
    margin: 0 0 var(--sp-10);
    line-height: 1.25;
}
.service-process .process-step__body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-ink);
    margin: 0;
    opacity: 0.85;
}

/* FAQ — visible Q+A list, native <details> elements for keyboard +
   reader accessibility. Matches FAQPage JSON-LD that already ships in
   the page head. */
.service-faq {
    padding: var(--sp-50) 0;
    background: var(--c-cream);
}
.service-faq .faq-list {
    margin-top: var(--sp-30);
}
.service-faq .faq-item {
    border-top: 1px solid var(--c-rule);
    padding: var(--sp-20) 0;
}
.service-faq .faq-item:last-child {
    border-bottom: 1px solid var(--c-rule);
}
.service-faq .faq-item__q {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: var(--fs-lg);
    line-height: 1.3;
    color: var(--c-ink);
    padding-right: 2em;
    position: relative;
}
.service-faq .faq-item__q::-webkit-details-marker { display: none; }
.service-faq .faq-item__q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.4em;
    color: var(--c-spoonbill-deep);
    transition: transform 0.2s ease;
    line-height: 1;
}
.service-faq .faq-item[open] .faq-item__q::after {
    transform: rotate(45deg);
}
.service-faq .faq-item__a {
    margin-top: var(--sp-10);
    max-width: 66ch;
}
.service-faq .faq-item__a p {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-ink);
    margin: 0;
    opacity: 0.85;
}

/* Proof in the wild — IG embeds of public posts that contain Spoonbill's
   work. Sits directly below the why section. Loads instagram.com/embed.js
   once via the proof_embeds_section emitter. */
.service-proof-embeds {
    padding: var(--sp-50) 0;
    background: #ffffff;
}
.service-proof-embeds .proof-embeds__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-40);
    margin-top: var(--sp-30);
    align-items: start;
}
.service-proof-embeds .proof-embed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-10);
}
.service-proof-embeds .proof-embed__caption {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--c-muted);
    font-style: italic;
    max-width: 540px;
    text-align: left;
}

/* Open-scope — single italic sentence directly above the CTA */
.service-open-scope {
    padding: var(--sp-30) 0 0;
    background: var(--c-cream);
}
.service-open-scope__body {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--fs-lg);
    line-height: 1.45;
    color: var(--c-ink);
    margin: 0;
    text-align: center;
}

/* ============================================================
   Ported from redesign.css (2026-06-01 consolidation)
   ============================================================
   These rules were the only production-active styles from
   redesign.css that styles.css didn't already cover. The rest
   of redesign.css was either dead exploration (editorial/
   agency/trusted typeface directions, data-pricing/-local/
   -trust/-depth toggles that were never emitted) or duplicate
   of rules already in styles.css.
   ============================================================ */

/* Italic accents lock to Instrument Serif (the hybrid direction's
   editorial italic). Color still comes from the per-zone --zone-italic
   custom property declared in the Zone system block above. */
em.brand-italic, em.brand-italic--dark {
    font-family: var(--font-instrument);
}

/* Page hero — soft radial-gradient backdrop on top of the ink fill.
   Pairs with .page-hero in the Page hero (interior pages) block above. */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 75% 30%, rgba(232,155,181,0.15) 0%, rgba(26,26,26,0) 60%),
        radial-gradient(ellipse 60% 40% at 15% 80%, rgba(201,114,145,0.12) 0%, rgba(26,26,26,0) 55%);
    pointer-events: none;
}

/* ---------- Categorized service gallery (Product page) ----------
   When a service defines gallery_categories, render_service_page emits one
   .gallery-category block per category (label + its own grid). Reuses the
   base .gallery-grid; the modifiers below just set per-category cell aspect
   so landscape/square/portrait sets aren't cropped against a single shape. */
.gallery-category + .gallery-category { margin-top: var(--sp-40); }
.gallery-category__label {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin: 0 0 var(--sp-10);
}
/* Group heading — matches the section eyebrow (accent text + tick line, on white). */
.gallery-category__grouptitle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-spoonbill-deep);
    margin: 0 0 var(--sp-20);
}
.gallery-category__grouptitle::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--c-spoonbill-deep);
    flex: 0 0 auto;
}
.gallery-grid--square .gallery-cell { aspect-ratio: 1 / 1; }
.gallery-grid--wide .gallery-cell   { aspect-ratio: 3 / 2; }

/* ---------- Admin-driven service content (video, social, blurbs) ---------- */
/* Description + credit sit BELOW the asset, so spacing goes on top. */
.gallery-category__desc { color: var(--c-muted); margin: var(--sp-15) auto 0; max-width: var(--content); }
.gallery-category__credit { font-size: var(--fs-sm); color: var(--c-muted); margin: var(--sp-10) auto 0; max-width: var(--content); }
.service-video { position: relative; aspect-ratio: 16/9; max-width: var(--content); margin: 0 auto var(--sp-10); border-radius: var(--radius-sm); overflow: hidden; background: var(--c-ink); }
.service-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Portrait videos (Shorts / vertical Vimeo) — 9:16 box, narrower, centered. */
.service-video--portrait { aspect-ratio: 9/16; max-width: 360px; }
.service-video__desc { color: var(--c-muted); max-width: var(--content); margin: 0 auto var(--sp-20); }
.social-card { display: inline-flex; flex-direction: column; gap: 6px; width: 240px; border: 1px solid var(--c-rule); border-radius: var(--radius-sm); overflow: hidden; }
.social-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.social-card span { padding: 8px 10px; font-size: var(--fs-sm); }
.social-provenance { display: grid; gap: 8px; max-width: var(--content); }
.social-provenance img { width: 100%; border-radius: var(--radius-sm); display: block; }

/* ---------- YouTube facade (click-to-load, privacy-first) ---------- */
/* Fills the same positioned containers the iframe used (.video-card__media,
   .service-video). No YouTube contact until clicked; the swapped-in iframe
   reuses .yt-facade__iframe to fill the same box. */
.yt-facade {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    padding: 0; border: 0; margin: 0;
    cursor: pointer; display: block;
    background: var(--c-ink);
    overflow: hidden;
}
.yt-facade__thumb {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity .2s ease;
}
.yt-facade:hover .yt-facade__thumb { opacity: .85; }
.yt-facade__play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 48px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .65);
    transition: background .2s ease;
}
.yt-facade:hover .yt-facade__play { background: var(--c-spoonbill); }
.yt-facade__play::after {
    content: ""; position: absolute;
    top: 50%; left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
}
.yt-facade:focus-visible { outline: 3px solid var(--c-spoonbill); outline-offset: 2px; }
.yt-facade__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Page Composer Feature 2 — gallery display options ---------- */
/* Container blocks sit in centered .container wrappers; keep their text and headings
   left-aligned for a tight look (per Marcos). Standalone image + video galleries stay
   centered; images inside prose (e.g. the About portrait) follow the text. */
.gallery-grid, .vid-cols { justify-content: center; }

/* Forced column counts for an image grid. */
.gallery-grid--c1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.gallery-grid--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-grid--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Masonry (CSS columns; cells keep natural height). */
.gallery-masonry { column-count: 3; column-gap: var(--sp-20); }
.gallery-masonry--c1 { column-count: 1; } .gallery-masonry--c2 { column-count: 2; }
.gallery-masonry--c3 { column-count: 3; } .gallery-masonry--c4 { column-count: 4; } .gallery-masonry--c5 { column-count: 5; }
.gallery-masonry .gallery-cell { aspect-ratio: auto; break-inside: avoid; margin-bottom: var(--sp-20); display: block; }
.gallery-masonry .gallery-cell img { height: auto; }

/* Single — one column of large, centered images at a chosen width. */
.gallery-single { display: flex; flex-direction: column; align-items: center; gap: var(--sp-20); }
.gallery-single .gallery-cell { aspect-ratio: auto; width: 100%; }
.gallery-single .gallery-cell img { height: auto; }
.gallery-single--s { max-width: 360px; } .gallery-single--m { max-width: 520px; }
.gallery-single--l { max-width: 760px; } .gallery-single--full { max-width: 100%; }
.gallery-single { margin-inline: auto; }

/* Carousel — horizontal scroll strip with manual prev/next (no autoplay). */
.carousel-wrap { position: relative; }
.gallery-carousel { display: flex; gap: var(--sp-15); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-10); -webkit-overflow-scrolling: touch; }
.gallery-carousel .gallery-cell { flex: 0 0 auto; width: min(78%, 380px); scroll-snap-align: center; aspect-ratio: 4/5; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-rule); background: var(--c-cream); color: var(--c-ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 2; }
.carousel-prev { left: -6px; } .carousel-next { right: -6px; }
.carousel-btn:focus-visible { outline: 3px solid var(--c-spoonbill); outline-offset: 2px; }

/* Video column tiling (1–5-up). */
.vid-cols { display: grid; gap: var(--sp-20); margin: 0 auto var(--sp-10); }
.vid-cols--c1 { grid-template-columns: minmax(0, 720px); }
.vid-cols--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vid-cols--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vid-cols--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vid-cols--c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Single-layout video(s): one centered, width-capped column by chosen size —
   mirrors .gallery-single--* for images. The container governs width, so the
   nested .service-video is allowed to fill it. */
.vid-single { grid-template-columns: minmax(0, 1fr); }
.vid-single--s { max-width: 360px; } .vid-single--m { max-width: 520px; }
.vid-single--l { max-width: 760px; } .vid-single--full { max-width: 100%; }
.vid-single .service-video { max-width: 100%; }

/* Responsive: 4–5 columns step down to 3 on tablets, all multi-col to 1 on phones. */
@media (max-width: 1024px) {
  .gallery-grid--c4, .gallery-grid--c5, .vid-cols--c4, .vid-cols--c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-masonry--c4, .gallery-masonry--c5 { column-count: 3; }
}
@media (max-width: 720px) {
  .gallery-grid--c2, .gallery-grid--c3, .gallery-grid--c4, .gallery-grid--c5,
  .vid-cols--c2, .vid-cols--c3, .vid-cols--c4, .vid-cols--c5 { grid-template-columns: 1fr; }
  .gallery-masonry { column-count: 1; }
}

/* ---------- Reviews (homepage, above intake) ---------- */
.review-grid { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: var(--sp-20); }
.review-card { margin: 0; padding: var(--sp-30); background: var(--c-cream); border: 1px solid var(--c-rule); border-radius: var(--radius-sm); text-align: center; }
.review-card__stars { display: block; color: var(--c-spoonbill-deep); font-size: var(--fs-lg); letter-spacing: 0.18em; }
.review-card__title { display: block; margin-top: var(--sp-10); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); }
.review-card__quote { margin: var(--sp-15) auto 0; max-width: 56ch; font-family: var(--font-serif); font-size: var(--fs-md); line-height: 1.55; color: var(--c-ink); }
.review-card__byline { margin-top: var(--sp-15); font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- Intake form (contact page) ---------- */
/* Honeypot: visually gone but present in the DOM for bots. Not display:none —
   some bots skip fields the browser wouldn't render. */
.intake-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intake-status:empty { display: none; }
.intake-status { color: var(--c-spoonbill-deep); }
.intake-thanks { padding: var(--sp-30); background: var(--c-cream); border: 1px solid var(--c-rule); border-radius: var(--radius-sm); }
.intake-thanks h3 { font-family: var(--font-serif); margin: 0 0 var(--sp-10); }
.intake-thanks p { margin: 0; }

/* ---------- Dual pricing table (photo or video / both) ---------- */
/* Personal Events uses a 4-column table: Coverage | Photo or video | Both |
   Details. On mobile the thead hides and rows stack, so the two price cells
   would lose their column context — restore it with data-label prefixes. */
@media (max-width: 700px) {
    .pricing-table--dual td[data-label]::before {
        content: attr(data-label) ": ";
        font-family: var(--font-sans);
        font-size: var(--fs-xs);
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--c-muted);
        margin-right: 0.4rem;
    }
}

}  /* end @layer components */
