/* ==========================================================================
   Fairbourne Digital: site styles
   One stylesheet, no framework. Sections:
   1. Tokens  2. Base  3. Layout  4. Type  5. Buttons  6. Header/nav
   7. Hero + brand mark  8. Components  9. Inner pages  10. Footer
   11. Utilities  12. Motion
   ========================================================================== */

/* Inter, self-hosted (variable, Latin subset, SIL Open Font Licence) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

/* 1. Tokens ------------------------------------------------------------- */
:root {
  /* Brand palette (fixed) */
  --navy: #0B1F3A;
  --navy-deep: #081629;
  --navy-raised: #122A4B;
  --gold: #D8B44A;
  --gold-light: #E6C15A;
  --gold-dark: #B8962E;
  --off-white: #F5F7FA;
  --white: #FFFFFF;

  /* Supporting neutrals */
  --ink: var(--navy);
  --slate: #4A5A70;          /* body text on light backgrounds (7.2:1 on white) */
  --muted: #C9D4E3;          /* body text on navy (11:1) */
  --line-light: #DDE3EB;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h3: 1.25rem;
  --fs-lede: clamp(1.0625rem, 0.95rem + 0.55vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  /* Space + shape */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  /* Vertical rhythm (spacing pass 2). Each token scales fluidly from mobile to desktop,
     so most components need no breakpoint of their own. Approximate values at 390px / 1440px:
       --section            48 / 72   major section padding
       --section-head-gap   32 / 38   intro block to primary content
       --gap-component      24 / 32   between major components in a section
       --gap-related        12 / 20   between related items (cards, rows)
       --card-pad           20 / 26   card internal padding
     Larger gaps are kept for the hero and the closing CTA only. */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --section: clamp(3rem, 2rem + 3vw, 4.5rem);
  --section-head-gap: clamp(2rem, 1.5rem + 1vw, 2.5rem);
  --gap-component: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  --gap-related: clamp(0.75rem, 0.5rem + 0.75vw, 1.25rem);
  --card-pad: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --hero-pad-top: clamp(2rem, 1rem + 3.5vw, 4.25rem);
  --hero-pad-bottom: clamp(2rem, 0.75rem + 4.5vw, 4.75rem);
  --page-hero-pad: clamp(2rem, 1rem + 2.6vw, 3.5rem);
  --mobile-cta-h: 0px;
  --radius: 6px;             /* squarer than the old site, to echo the logo tiles */
  --wrap: 1200px;
  --header-h: 76px;

  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--navy);   /* navy on light backgrounds: gold alone is under 3:1 against white */
  outline-offset: 3px;
  border-radius: 2px;
}
/* Gold on dark backgrounds (8.3:1 against navy) */
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--navy :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .mobile-cta :focus-visible { outline-color: var(--gold); }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 0.75rem 1rem;
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* 3. Layout ------------------------------------------------------------- */
.wrap {
  width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.section { padding: var(--section) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--light { background: var(--off-white); }
.section--white { background: var(--white); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }

.section-head { max-width: 720px; margin-bottom: var(--section-head-gap); }
.section-head > :last-child, .section-head > div > :last-child, .approach-intro > :last-child { margin-bottom: 0; }
.section-head .lede { margin-bottom: 0; }
.section-head-link { margin: var(--gap-component) 0 0; }
.section-head--split {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gap-component) 2rem; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }

/* 4. Type --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 1.1rem;
  color: var(--navy);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; flex: none;
  background: var(--gold);
}
.section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.display { font-size: var(--fs-display); letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.25; font-weight: 600; }

.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--slate); margin-top: var(--space-2); }
.section--navy .lede, .page-hero .lede, .hero .lede, .cta-band .lede { color: var(--muted); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--navy); }
.section--navy .text-link:hover { border-bottom-color: var(--white); }

.arrow { display: inline-block; transition: transform 0.2s var(--ease); }
a:hover .arrow { transform: translateX(3px); }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  font: 600 1rem/1.2 var(--font);
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-gold:active { background: var(--gold-dark); transform: none; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-4); }

/* 6. Header + nav ------------------------------------------------------- */
.proto-bar {
  background: var(--gold); color: var(--navy);
  font-size: 0.8125rem; font-weight: 600; text-align: center; padding: 0.4rem 1rem;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand img { width: 176px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 0.6rem 0.85rem;
  font-size: 0.975rem; font-weight: 500; text-decoration: none; color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.15s ease;
}
.nav-item > a:hover { color: var(--white); }
.nav-item > a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.95rem; }

/* Services dropdown (desktop, CSS only) */
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 0.45rem; vertical-align: 0.2em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sub-nav {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
  background: var(--white); color: var(--navy); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.sub-nav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a {
  display: block; padding: 0.65rem 0.8rem; border-radius: 4px;
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.sub-nav a:hover { background: var(--off-white); }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--line-dark); color: var(--white);
  font: 600 0.95rem var(--font); padding: 0.55rem 0.85rem; border-radius: var(--radius); cursor: pointer; min-height: 44px;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 150px; }
  .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--navy); border-top: 1px solid var(--line-dark);
    padding: 1rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line-dark); }
  .nav-item > a { padding: 1rem 0; font-size: 1.125rem; color: var(--white); }
  .nav-item > a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .has-sub > a::after { display: none; }
  .sub-nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; color: var(--muted); box-shadow: none; min-width: 0; padding: 0 0 0.75rem 0.9rem;
    border-left: 2px solid var(--gold); margin-bottom: 0.75rem;
  }
  .sub-nav a { padding: 0.5rem 0; font-size: 1rem; }
  .sub-nav a:hover { background: none; color: var(--white); }
  .nav-cta { width: 100%; min-height: 52px; font-size: 1.05rem; }
}

/* 7. Hero + journey visual ---------------------------------------------- */
.hero {
  background: var(--navy); color: var(--white);
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  position: relative; overflow: hidden;
}
.hero::after { /* soft lift behind the visual */
  content: ""; position: absolute; right: -10%; top: 50%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(216, 180, 74, 0.10), rgba(216, 180, 74, 0));
  pointer-events: none;
}
/* Desktop: copy and actions stacked on the left, journey on the right spanning both rows */
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy visual" "actions visual";
  align-items: center; column-gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-actions { grid-area: actions; align-self: start; }
.hero-visual { grid-area: visual; position: relative; }
.hero .lede { max-width: 36rem; }
.hero-note { margin: 1.25rem 0 0; font-size: var(--fs-small); color: var(--muted); }

/* Hero visual: tangled paths converge into one gold route that passes beneath the four symbols.
   Static final state by default; the entrance animation is only added for
   visitors who have not asked for reduced motion (see 12. Motion). */
.journey { display: block; width: 100%; height: auto; overflow: visible; }
.journey--compact { display: none; }
.journey-tile { transform-box: fill-box; transform-origin: center; }

/* Tablet: single column, journey after the proposition, buttons kept */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "actions"; }
  .hero-visual { margin: var(--space-3) 0 var(--space-2); }
  .journey--wide { max-width: 560px; }
}
/* Phones: shallower journey straight after the proposition; the hero buttons give way
   to the persistent "Start a conversation" bar, leaving just the reassurance line */
@media (max-width: 600px) {
  .journey--wide { display: none; }
  .journey--compact { display: block; }
  .hero-copy .lede { margin-bottom: 0; }
  .hero-visual { margin: var(--space-3) 0 0; }
  .hero-actions .btn-row { display: none; }
  .hero-note { margin-top: var(--space-2); }
}

/* 8. Components --------------------------------------------------------- */

/* Situation cards (customer recognition) */
.situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-related); }
/* Recognition cards: deliberately not links, so no hover affordance */
.situation {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: var(--card-pad);
}
.situation h3 { margin-bottom: 0.5rem; }
.situation p { color: var(--slate); font-size: 1rem; margin: 0; }
.section-bridge { margin: var(--gap-component) 0 0; font-size: var(--fs-lede); }
.section-bridge .text-link { display: inline; line-height: 1.8; }

/* Service rows */
.service-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); column-gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.service-split .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.service-rows { border-top: 1px solid var(--line-light); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: start;
  padding: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem) 0; border-bottom: 1px solid var(--line-light); text-decoration: none;
}
.service-row h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.02em; margin-bottom: 0.45rem; }
.service-row p { color: var(--slate); margin: 0; max-width: 34rem; }
.service-row .arrow { font-size: 1.4rem; color: var(--navy); padding-top: 0.2rem; }
.service-row:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-component); }
.work-card { display: flex; flex-direction: column; text-decoration: none; color: var(--white); border-radius: var(--radius); overflow: hidden; background: var(--navy-raised); border: 1px solid var(--line-dark); transition: border-color 0.2s ease; }
.work-card:hover { border-color: rgba(216, 180, 74, 0.6); }
.work-body { padding: var(--card-pad); display: flex; flex-direction: column; flex: 1; }
.work-client { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.work-card h3, .work-card h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.75rem; line-height: 1.25; }
.work-card p { color: var(--muted); margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.tag { font-size: 0.8125rem; font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 3px; border: 1px solid var(--line-dark); color: var(--muted); }
.section--light .tag, .section--white .tag { border-color: var(--line-light); color: var(--slate); background: var(--white); }
.work-card .tag { border-color: var(--line-dark); color: var(--muted); background: transparent; } /* project cards are always navy, whatever section they sit in */

.work-media { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: center top; background: var(--navy-deep); border-bottom: 1px solid var(--line-dark); }

/* Deliberate placeholder for imagery not yet produced */
.media-placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 12px, transparent 12px 24px),
    var(--navy-deep);
  border-bottom: 1px solid var(--line-dark);
}
.section--light .media-placeholder, .section--white .media-placeholder {
  color: #8593A6; background: repeating-linear-gradient(135deg, #EDF0F4 0 12px, #F5F7FA 12px 24px); border: 1px dashed #C8D1DD;
}

/* Our approach: belief (intro) -> principles (four equal columns) -> credibility (shallow strip) */
.approach-intro { max-width: 44rem; margin-bottom: var(--section-head-gap); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4) clamp(1.5rem, 0.5rem + 2.5vw, 3rem); }
.principle img { width: 56px; height: 56px; margin-bottom: 1.1rem; }
.principle h3 { font-size: 1.2rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.principle p { color: var(--slate); font-size: 1rem; margin: 0; max-width: 17rem; }
.experience-strip {
  margin-top: var(--section-head-gap);
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; align-items: center; gap: var(--space-2) var(--space-4);
  background: var(--white); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.6rem;
}
.experience-strip h3 { font-size: 1.1rem; line-height: 1.3; }
.experience-strip p { color: var(--slate); font-size: 1rem; margin: 0; }
.experience-strip .text-link { white-space: nowrap; }
.experience-copy p + p { margin-top: 0.5rem; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-component); }
.insight-card { display: flex; flex-direction: column; text-decoration: none; padding: var(--card-pad) 0 0; border-top: 2px solid var(--navy); }
.insight-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.insight-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 0.75rem; }
.insight-card p { color: var(--slate); font-size: 1rem; }
.insight-card p:last-child, .work-card p:last-child, .contact-secondary p:last-child { margin-bottom: 0; }
.insight-read { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: 0.95rem; color: var(--navy); display: inline-flex; gap: 0.4rem; }
.insight-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.proto-chip {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 3px; background: #FFF4D1; color: #6B5310; white-space: nowrap;
}

/* Closing call to action */
.cta-band { background: var(--navy); color: var(--white); padding: clamp(3.25rem, 2.25rem + 3.2vw, 5rem) 0; position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: center; }
.cta-band .lede { max-width: 40rem; }
.cta-note { max-width: 40rem; margin: 0; color: var(--muted); font-size: var(--fs-small); }
.cta-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; font-size: var(--fs-small); color: var(--muted); }
.cta-points li { display: flex; align-items: center; gap: 0.5rem; }
.cta-points li::before { content: ""; width: 8px; height: 8px; background: var(--gold); flex: none; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 260px; }
.cta-actions .btn { width: 100%; }

/* 9. Inner pages -------------------------------------------------------- */
.page-hero { background: var(--navy); color: var(--white); padding: var(--page-hero-pad) 0 calc(var(--page-hero-pad) + 0.25rem); }
.page-hero .lede { max-width: 44rem; }
.page-hero h1 { max-width: 20ch; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0 0 var(--space-3); font-size: var(--fs-small); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.proto-note {
  border: 2px dashed #C8D1DD; border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--white); max-width: 56rem;
}
.proto-note h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.proto-note p { color: var(--slate); }
.proto-note ul { margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.proto-note li { position: relative; padding-left: 1.25rem; color: var(--slate); }
.proto-note li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--gold); }

.link-list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.link-list a { font-weight: 600; }

/* Service detail pages */
.service-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--section-head-gap) clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.prose p { font-size: var(--fs-lede); line-height: 1.6; color: var(--slate); max-width: 38rem; }
.prose p:first-child { color: var(--navy); }
.caps-card { background: var(--off-white); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.caps-title { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.caps-list { display: grid; gap: 0; }
.caps-list li { position: relative; padding: 0.7rem 0 0.7rem 1.4rem; border-bottom: 1px solid var(--line-light); font-size: 1rem; }
.caps-list li:last-child { border-bottom: 0; }
.caps-list li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 8px; height: 8px; background: var(--gold); }
.closing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-related); }
.closing-card { background: var(--white); border: 1px solid var(--line-light); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: var(--card-pad); }
.closing-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.closing-card p { color: var(--slate); margin: 0; }
.closing-card .closing-link { margin-top: 0.85rem; }
.prose h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 1.75rem 0 0.5rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.25rem; }

/* Services landing cards */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-related); }
.service-card {
  display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line-light); border-top: 3px solid var(--gold); border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem); transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); border-color: #C8D1DD; border-top-color: var(--gold); }
.service-card-lead { color: var(--slate); margin: 0 0 0.5rem; font-size: 1.05rem; }
.service-card-link { margin-top: auto; font-weight: 600; display: inline-flex; gap: 0.4rem; align-items: center; }

/* Contact */
.contact-form-card { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-intro { color: var(--slate); margin: 0.4rem 0 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 1rem; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--white);
  border: 1.5px solid #74839A; border-radius: 4px; padding: 0.7rem 0.8rem; min-height: 48px; /* 3.8:1 against white */
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #B42318; border-width: 2px; }
.field-error { color: #B42318; font-weight: 600; font-size: var(--fs-small); margin: 0.4rem 0 0; }
.form-note { color: var(--slate); font-size: var(--fs-small); margin: 1rem 0 0; }

/* Legal and information pages */
.legal > * { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.6rem; }
.legal p { color: var(--slate); }
.legal a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.draft-banner { background: #FFF4D1; color: #4D3B0A; border-left: 4px solid var(--gold-dark); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
.todo { background: var(--off-white); border: 1px dashed #C8D1DD; border-radius: 4px; padding: 0.75rem 1rem; font-size: var(--fs-small); }
.proto-note h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.proto-inline { color: var(--slate); font-size: var(--fs-small); margin-bottom: 1.5rem; }
.page-hero .hero-note a { color: var(--white); }

/* 10. Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy); border-top: 1px solid var(--line-dark); color: var(--muted); padding: clamp(2.25rem, 1.75rem + 1.5vw, 3.5rem) 0 var(--space-4); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) 2.5rem; }
.footer-brand img { width: 180px; margin: -12px 0 0.75rem; }
.footer-brand p { max-width: 22rem; }
.footer-brand p + p { margin-top: -0.5rem; }
.footer-col h2 { font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 0.35rem; }
.footer-col a { text-decoration: none; display: inline-block; padding: 0.2rem 0; overflow-wrap: anywhere; } /* 24px+ targets */
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); padding-top: var(--space-3); border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.footer-base p { margin: 0; }
.footer-statutory { font-size: 0.8125rem; line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-legal a { display: inline-block; padding: 0.2rem 0; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--white); }

/* Location */
.location-line {
  margin: var(--gap-component) 0 0; padding-top: var(--gap-related); border-top: 1px solid var(--line-dark);
  color: var(--muted); font-size: var(--fs-small); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem;
}
.location-line .text-link { color: var(--white); }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.location-grid .h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: var(--space-2); }
.page-hero .lede + .lede { margin-top: var(--space-1); }
@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* Contact: channel chooser + interaction panel ------------------------------ */
.page-hero--compact { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0 clamp(1.75rem, 1rem + 2vw, 3rem); }
.page-hero--compact .breadcrumb ol { margin-bottom: var(--space-2); }
.page-hero--compact .lede { margin-top: 0.75rem; }
.contact-section { padding-top: clamp(1.75rem, 1rem + 2vw, 3rem); }
.contact-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: start; }
.chooser-title { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.contact-options { display: grid; gap: 0.5rem; }
.contact-option {
  position: relative; display: grid; gap: 0.15rem; min-height: 64px;
  padding: 0.9rem 2.75rem 0.9rem 1.1rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line-light); border-left: 3px solid transparent; border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.contact-option:hover { border-color: #C8D1DD; border-left-color: var(--gold); box-shadow: var(--shadow); }
.contact-option-title { font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.contact-option-text { color: var(--slate); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-option-strong { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-option-state { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--navy); font-size: 1.1rem; transition: transform 0.15s ease; }
.contact-option--static { background: transparent; border-style: dashed; }
/* Selected: bar, background and weight change, plus aria-current for assistive tech */
.contact-option[aria-current="true"] { border-color: var(--navy); border-left: 6px solid var(--gold); background: #FFFCF2; }
.contact-option[aria-current="true"] .contact-option-state { transform: translateY(-50%) translateX(3px); font-weight: 700; }
.contact-quiet { margin: var(--space-2) 0 0; font-size: var(--fs-small); color: var(--slate); font-weight: 500; }

.contact-panel { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.contact-panel + .contact-panel { margin-top: var(--space-3); } /* no-JS: panels simply stack */
.contact-panel h2 { margin-bottom: 0.4rem; }
.contact-panel h2:focus { outline: none; }
.contact-panel p { color: var(--slate); }
.contact-panel--intro { border-left: 3px solid var(--gold); }
.contact-panel--intro p:last-child { margin-bottom: 0; }
.panel-lede { margin-bottom: var(--space-3); }
.contact-back {
  display: inline-flex; align-items: center; min-height: 44px; margin: -0.5rem 0 0.5rem;
  font-weight: 600; font-size: var(--fs-small); color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px;
}
.booking-frame iframe {
  display: block; width: 100%; border: 0; border-radius: 4px; background: var(--white); outline: 1px solid var(--line-light);
  /* Tall enough to feel like an application; fits the viewport so the page itself rarely needs to scroll */
  height: clamp(560px, calc(100vh - var(--header-h) - 9rem), 1000px);
  height: clamp(560px, calc(100svh - var(--header-h) - 9rem), 1000px);
}
.booking-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--slate); }
.booking-meta a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-panel--book { padding-bottom: 1rem; }

/* With JavaScript: show one panel at a time */
.contact-js .contact-panel { display: none; margin-top: 0; }
.contact-js[data-state="intro"] .contact-panel--intro,
.contact-js[data-state="book"] .contact-panel--book,
.contact-js[data-state="message"] .contact-panel--message { display: block; }
.contact-js[data-state="intro"] .contact-back { display: none; }
/* Focused states (all widths): the chooser steps aside and the chosen channel uses the full content width */
.contact-js:not([data-state="intro"]) { grid-template-columns: minmax(0, 1fr); }
.contact-js:not([data-state="intro"]) .contact-chooser { display: none; }
/* Message state: form (about 62%) with a quiet supporting column */
.message-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.message-main { max-width: 44rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.message-aside { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.5rem; margin-top: 4.75rem; }
.message-aside h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 0.6rem; }
.message-aside p { font-size: 1rem; }
.message-aside .contact-quiet { margin-top: var(--space-2); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { margin: 0.5rem 0 1.25rem; min-height: 65px; }
.turnstile-slot:empty { min-height: 0; margin: 0; }
.form-error {
  margin-bottom: 1.25rem; padding: 0.85rem 1rem; border-radius: 4px;
  background: #FDF0EF; border-left: 4px solid #B42318; color: #7A1A12; font-weight: 500;
}
.form-error:focus { outline: 3px solid var(--navy); outline-offset: 2px; }
.form-error a { color: inherit; font-weight: 600; }
.enquiry-form button[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-success { border-left: 4px solid var(--gold); background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; }
.form-success h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.form-success h3:focus { outline: none; }
.form-success p { margin: 0; }
.panel-hint { font-size: var(--fs-small); margin: -0.75rem 0 var(--space-3); }

.contact-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) clamp(2rem, 1rem + 4vw, 4.5rem); }
.contact-secondary h2 { margin-bottom: 0.5rem; }
.contact-secondary p { color: var(--slate); max-width: 34rem; }

@media (min-width: 861px) {
  .contact-chooser > .contact-quiet { display: none; } /* shown in the intro panel instead */
}
/* Tablet and mobile: choose a channel, then focus on it with an easy way back */
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-js[data-state="intro"] .contact-panel-area { display: none; }
  .contact-js .contact-panel { border: 0; padding: 0; background: transparent; }
  .booking-frame iframe { height: calc(100vh - var(--header-h) - 5.5rem); height: calc(100svh - var(--header-h) - 5.5rem); min-height: 520px; max-height: none; }
  .contact-secondary { grid-template-columns: 1fr; }
  .message-layout { grid-template-columns: 1fr; }
  .message-aside { display: none; } /* the same reassurance appears in the chooser and below the form */
}

/* Editorial rows (About, Our Work, case studies): heading left, copy right */
.story-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: var(--space-3) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.story-row + .story-row { margin-top: var(--section-head-gap); padding-top: var(--section-head-gap); border-top: 1px solid var(--line-light); }
.story-title { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.2; }
.story-row .prose p { font-size: 1.0625rem; }
.story-row .prose p:first-child { font-size: var(--fs-lede); }
.prose p:last-child { margin-bottom: 0; }
.principles-heading { margin-bottom: var(--space-4); }
.principles--compact .principle img { width: 44px; height: 44px; margin-bottom: 0.75rem; }
.principles--compact .principle h3 { font-size: 1.1rem; }
.inline-link { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.page-hero .inline-link:hover { color: var(--white); }

/* Case studies */
.case-media-section { padding-bottom: 0; }
.case-media { margin: 0; }
.case-media img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line-light); box-shadow: var(--shadow); }
.case-media--narrow { max-width: 525px; }
.case-media figcaption { margin-top: 0.6rem; font-size: var(--fs-small); color: var(--slate); }
.case-back { margin: var(--space-4) 0 0; }
/* Case-study capability summary: one client, grouped by Fairbourne service area (reusable on any case study) */
.case-capabilities { padding: calc(var(--section) * 0.8) 0; }
.case-capabilities .caps-title { margin-bottom: var(--gap-component); }
.case-capabilities .case-back { margin-top: var(--gap-component); }
.capability-groups { display: grid; gap: var(--gap-component); } /* one service area per row; tags flow across the full content width */
.capability-group h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; margin-bottom: 0.65rem; }
.capability-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.capability-tags li { background: transparent; color: var(--navy); border: 1px solid var(--navy); font-size: 0.875rem; font-weight: 400; line-height: 1.35; padding: 0.35rem 0.7rem; border-radius: 3px; }
@media (max-width: 400px) { .capability-tags li { font-size: 0.8125rem; padding: 0.35rem 0.6rem; } } /* keeps the longest tags on one line at 375px */
.tags--light .tag { border-color: var(--line-light); color: var(--slate); background: var(--white); }
.work-link { display: inline-flex; gap: 0.4rem; margin-top: var(--space-3); font-weight: 600; color: var(--white); }
.work-card .tags + .work-link { margin-top: var(--space-3); }
.work-card .work-body .tags { margin-top: auto; }

/* Legal and information pages */
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1em; color: var(--slate); }
.legal li { margin-bottom: 0.3rem; }
/* Cookie notice: technology table (stacks into labelled rows on small screens) and analytics control */
.legal > .tech-table { max-width: 64rem; }
.tech-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.25rem; font-size: 0.9375rem; line-height: 1.5; }
.tech-table th, .tech-table td { text-align: left; vertical-align: top; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line-light); color: var(--slate); }
.tech-table thead th { background: var(--off-white); color: var(--navy); font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; }
.tech-table tbody th { color: var(--navy); font-weight: 600; min-width: 11rem; }
.tech-table code { font-size: 0.9em; background: var(--off-white); border: 1px solid var(--line-light); padding: 0 0.3em; border-radius: 3px; overflow-wrap: anywhere; }
.tech-provider { display: block; font-weight: 400; color: var(--slate); font-size: 0.875rem; margin-top: 0.15rem; }
@media (max-width: 760px) {
  .tech-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tech-table, .tech-table tbody, .tech-table tr, .tech-table th, .tech-table td { display: block; width: 100%; }
  .tech-table tr { border: 1px solid var(--line-light); border-radius: var(--radius); margin-bottom: 0.75rem; }
  .tech-table tbody th { background: var(--off-white); }
  .tech-table td { border-bottom: 0; padding-top: 0.4rem; }
  .tech-table td::before { content: attr(data-label); display: block; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.15rem; }
}
.analytics-choice { margin: 0.5rem 0 1.25rem; padding: 1rem 1.25rem; background: var(--off-white); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.analytics-choice .analytics-status { color: var(--navy); margin: 0; }
.analytics-choice .btn { margin-top: 0.75rem; }
.legal-updated { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line-light); }
.launch-placeholder { background: #FFF4D1; color: #4D3B0A; outline: 1px dashed var(--gold-dark); padding: 0 0.25rem; border-radius: 2px; }

@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; }
}

/* Persistent mobile CTA -------------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  :root { --mobile-cta-h: calc(57px + env(safe-area-inset-bottom)); } /* 44px button + 2 x 6px padding + 1px border */
  .mobile-cta {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: var(--mobile-cta-offset, 0);
    padding: 6px max(var(--gutter), env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background: rgba(11, 31, 58, 0.97); border-top: 1px solid var(--line-dark);
  }
  .mobile-cta .btn { width: 100%; min-height: 44px; padding-block: 0.65rem; }
  .mobile-cta .btn:focus-visible { outline-color: var(--white); }
  /* Keep content and focused elements clear of the bar */
  body { padding-bottom: var(--mobile-cta-h); }
  html { scroll-padding-bottom: calc(var(--mobile-cta-h) + 16px); }
  /* Not needed on the Contact page itself, while the menu is open, or when a consent banner is showing */
  .page-contact .mobile-cta, .menu-open .mobile-cta, .has-consent-banner .mobile-cta { display: none; }
  .page-contact, .has-consent-banner { --mobile-cta-h: 0px; }
  /* Steps aside while a main "Start a conversation" button is on screen (site.js) */
  .mobile-cta { transition: transform 0.25s var(--ease), visibility 0s linear 0s; }
  .mobile-cta.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform 0.25s var(--ease), visibility 0s linear 0.25s; }
}

/* Insight articles: readable measure, quiet hierarchy */
.article { max-width: 44rem; }
.article-title { max-width: 24ch; }
.article > p, .article li { font-size: 1.0625rem; line-height: 1.7; color: var(--slate); }
.article > p:first-child { font-size: var(--fs-lede); line-height: 1.6; color: var(--navy); }
.article strong { color: var(--navy); font-weight: 600; }
.article h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.25; margin: 2.5rem 0 0.75rem; }
.article h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; margin: 1.75rem 0 0.5rem; }
.article ul, .article ol { padding-left: 1.25rem; margin: 0 0 1em; }
.article > ul { list-style: disc; }
.article > ol { list-style: decimal; }
.article li { margin-bottom: 0.35rem; }
.article li::marker { color: var(--gold-dark); }
.article p a:not(.text-link):not(.btn) { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article code { font-size: 0.9em; background: var(--off-white); border: 1px solid var(--line-light); padding: 0.05em 0.35em; border-radius: 3px; overflow-wrap: anywhere; }
.article-action { margin-top: 1.5rem; }
.article-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.article .article-related h2 { font-size: var(--fs-label); letter-spacing: 0.1em; line-height: 1.4; margin: 0 0 1rem; }
.article .article-related ul { display: grid; gap: 0.75rem; list-style: none; padding: 0; }
.article-related .text-link { display: inline; line-height: 1.8; color: var(--navy); }

/* 11. Utilities --------------------------------------------------------- */
.placeholder-inline { color: var(--slate); font-style: italic; }
.section--navy .placeholder-inline, .site-footer .placeholder-inline { color: #8A99AD; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Responsive grids */
@media (max-width: 1020px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
  .principle p { max-width: 24rem; }
  .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .service-split, .cta-inner, .service-detail { grid-template-columns: 1fr; }
  .experience-strip { grid-template-columns: 1fr; gap: 0.5rem; justify-items: start; padding: 1.1rem 1.25rem; }
  .closing-grid, .service-cards { grid-template-columns: 1fr; }
  .service-split .section-head { position: static; margin-bottom: 2.5rem; } /* a touch more than the head gap: separates "All services" from the ruled list */
  .work-grid { grid-template-columns: 1fr; }
  .cta-actions { min-width: 0; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .situations, .insight-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; gap: var(--gap-component); }
  .principle { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 1rem; }
  .principle img { width: 44px; height: 44px; grid-row: span 2; margin: 0; }
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-row .arrow { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* 12. Motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero journey: tangles fade in, the gold route draws once (about 2s), each symbol settles as the route reaches it */
  .journey { --draw: 1.6s; --start: 0.35s; }
  .journey-tangle { animation: journey-fade 0.9s ease-out both; }
  .journey-route { stroke-dasharray: 1; animation: journey-draw var(--draw) linear var(--start) both; }
  .journey-tile { animation: journey-tile 0.45s ease-out both; animation-delay: calc(var(--start) + var(--draw) * var(--at) - 0.12s); }
  @keyframes journey-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes journey-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes journey-tile { from { opacity: 0.25; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
