/* ==========================================================================
   Koningen Highways Consultancy
   Core stylesheet - no external dependencies
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ink:        #1F1F1F;
  --ink-soft:   #37372F;
  --ink-mute:   #6E6D66;   /* 5.2:1 on white       */
  --ink-faint:  #6F6E68;   /* 4.6:1 on tinted bg   */

  --gold:       #C9A44C;   /* 7.0:1 with ink text  */
  --gold-deep:  #856623;   /* 4.8:1 on tinted bg   */
  --gold-pale:  #DEC585;
  --gold-wash:  #FBF6E9;

  --paper:      #FFFFFF;
  --paper-warm: #FAF9F6;
  --paper-tint: #F4F2ED;
  --line:       #E5E2DA;
  --line-soft:  #EFEDE7;

  --dark:       #1F1F1F;
  --dark-2:     #292927;
  --dark-3:     #34342F;
  --on-dark:    #EFEDE7;
  --on-dark-mu: #A9A79E;

  --font: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont,
          "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gut: 1.5rem;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(31,31,31,.05), 0 2px 8px rgba(31,31,31,.04);
  --shadow-md: 0 2px 4px rgba(31,31,31,.06), 0 12px 28px rgba(31,31,31,.08);
  --shadow-lg: 0 4px 8px rgba(31,31,31,.07), 0 24px 56px rgba(31,31,31,.11);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.14rem, 1.7vw, 1.32rem); letter-spacing: -.018em; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 650; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
::selection { background: var(--gold-pale); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* --- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 830px; }
.section { padding-block: clamp(3.75rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.section--warm { background: var(--paper-warm); }
.section--tint { background: var(--paper-tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.section--dark a { color: var(--gold-pale); }
.section--dark a:hover { color: #fff; }

.section + .section--warm, .section--warm + .section,
.section + .section--tint, .section--tint + .section { border-top: 1px solid var(--line-soft); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.25rem;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: .75rem; top: .75rem; color: #fff; }

/* --- Type helpers ------------------------------------------------------- */
.eyebrow {
  display: block; font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-pale); }
.rule { width: 54px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.rule--center { margin-inline: auto; }
.lede { font-size: clamp(1.09rem, 1.9vw, 1.28rem); line-height: 1.62; color: var(--ink-soft); }
.section--dark .lede { color: var(--on-dark); }
.muted { color: var(--ink-mute); }
.small { font-size: .9rem; line-height: 1.6; }
.center { text-align: center; }
.head { max-width: 700px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .rule { margin-inline: auto; }
.head p:last-child { margin-bottom: 0; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .84rem 1.6rem; border-radius: var(--radius);
  font-size: .96rem; font-weight: 650; letter-spacing: .005em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
  font-family: inherit; line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--ink); box-shadow: var(--shadow-md); }

.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ink:hover { background: #000; color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-warm); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(239,237,231,.34); }
.btn--ghost-light:hover { border-color: var(--gold-pale); color: var(--gold-pale); background: rgba(201,164,76,.09); }

/* Buttons sit inside dark sections, where the generic `.section--dark a`
   colour would otherwise beat `.btn--*` on specificity and wash them out. */
.section--dark a.btn--gold,  .hero a.btn--gold  { color: var(--ink); }
.section--dark a.btn--gold:hover,  .hero a.btn--gold:hover  { color: var(--ink); }
.section--dark a.btn--ink,   .hero a.btn--ink   { color: #fff; }
.section--dark a.btn--ghost-light, .hero a.btn--ghost-light { color: #fff; }
.section--dark a.btn--ghost-light:hover, .hero a.btn--ghost-light:hover { color: var(--gold-pale); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-size: .95rem; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.arrow-link:hover { gap: .75rem; color: var(--gold-deep); }
.arrow-link svg { width: .85em; height: .85em; }
.section--dark .arrow-link { color: #fff; }
.section--dark .arrow-link:hover { color: var(--gold-pale); }

/* --- Header ------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 78px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: block; padding: .55rem .66rem; border-radius: var(--radius);
  font-size: .91rem; font-weight: 550; color: var(--ink-soft); text-decoration: none;
  transition: color .16s var(--ease), background .16s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--paper-warm); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.head-cta { margin-left: .6rem; }

/* Home appears in the top bar and in the collapsed menu. */
.nav a.nav__home { display: block; }

.burger {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line);
  background: var(--paper); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .18s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .site-head__in { min-height: 68px; }
  .brand img { height: 42px; }
  .nav {
    position: fixed; inset: 68px 0 auto; background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem var(--gut) 1.4rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 68px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a { padding: .85rem .25rem; font-size: 1.02rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold-deep); }
  /* Home page: the collapsed panel stays dark to match its header */
  .site-head--home .nav { background: var(--dark-2); border-bottom-color: rgba(239,237,231,.14); }
  .site-head--home .nav > a:not(.btn) { border-bottom-color: rgba(239,237,231,.12); }
  .site-head--home .nav > a:not(.btn)[aria-current="page"] { color: var(--gold-pale); box-shadow: none; }
  .head-cta { margin: 1rem 0 0; justify-content: center; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative; background: var(--dark); color: var(--on-dark);
  padding-block: clamp(3.5rem, 8.5vw, 7rem); overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 520px at 78% 14%, rgba(201,164,76,.16), transparent 62%),
    radial-gradient(760px 420px at 8% 92%, rgba(201,164,76,.075), transparent 60%);
}
.hero__art {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(680px, 56%); z-index: -1; opacity: .5; pointer-events: none;
}
.hero h1 { color: #fff; }
.hero .lede { color: var(--on-dark); max-width: 40ch; }
.hero__in { max-width: 660px; position: relative; }
.hero--page { padding-block: clamp(3rem, 6vw, 4.75rem); }
.hero--page h1 { margin-bottom: .5rem; }
.hero--page .lede { max-width: 56ch; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem; margin-top: 2.1rem;
  list-style: none; padding: 0;
}
.hero__meta li {
  margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .045em;
  text-transform: uppercase; color: var(--on-dark-mu);
  border: 1px solid rgba(239,237,231,.2); border-radius: 100px; padding: .38rem .82rem;
}

@media (max-width: 860px) {
  .hero__art { display: none; }
  .hero .lede, .hero__in { max-width: none; }
}

/* --- Breadcrumb --------------------------------------------------------- */
.crumb { font-size: .82rem; color: var(--on-dark-mu); margin-bottom: 1.35rem; letter-spacing: .01em; }
.crumb a { color: var(--on-dark-mu); text-decoration: none; }
.crumb a:hover { color: var(--gold-pale); text-decoration: underline; }
.crumb span { margin-inline: .45rem; opacity: .5; }

/* --- Grid --------------------------------------------------------------- */
/* Grid and flex children default to min-width:auto, so an element with an
   intrinsic minimum (form controls, long words) can force a track wider than
   its container. Allowing them to shrink prevents that overflow. */
.grid > *, .split > *, .form__row > *, .cta__in > *, .site-foot__grid > * { min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.35fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.35fr; }
@media (max-width: 880px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__media--first { order: -1; }
}

/* --- Cards -------------------------------------------------------------- */
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.75rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: -1px -1px auto; height: 3px;
  background: var(--gold); border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; color: var(--ink-mute); }
.card .arrow-link { margin-top: auto; padding-top: 1.35rem; align-self: flex-start; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card--flat::before { display: none; }
.card--warm { background: var(--paper-warm); }

.card .eyebrow { margin-bottom: .6rem; font-size: .7rem; }
.card__ico {
  width: 46px; height: 46px; margin-bottom: 1.25rem; color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold); border-radius: 50%; flex: none;
  background: var(--gold-wash);
}
.card__ico svg { width: 23px; height: 23px; }

.card-dark {
  background: var(--dark-2); border: 1px solid rgba(239,237,231,.13);
  border-radius: var(--radius); padding: 1.75rem 1.65rem;
}
.card-dark h3 { color: #fff; margin-bottom: .5rem; }
.card-dark p { color: var(--on-dark-mu); font-size: .97rem; }

/* --- Numbered process --------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step; margin: 0;
  padding: 1.75rem 0 1.75rem 4.6rem; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.75rem;
  font-size: .95rem; font-weight: 700; color: var(--gold-deep);
  letter-spacing: .05em;
  width: 3rem; padding-top: .12rem;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { font-size: .98rem; color: var(--ink-mute); margin-bottom: 0; }
@media (max-width: 560px) {
  .steps li { padding-left: 3.2rem; }
  .steps li::before { width: 2.4rem; }
}
.section--dark .steps li { border-color: rgba(239,237,231,.15); }
.section--dark .steps li::before { color: var(--gold-pale); }
.section--dark .steps p { color: var(--on-dark-mu); }

/* --- Line-art diagram --------------------------------------------------- */
.diagram {
  margin: 0; background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem);
}
.diagram svg { width: 100%; height: auto; }
.diagram figcaption {
  font-size: .87rem; line-height: 1.6; color: var(--ink-faint);
  margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line);
}
.section--warm .diagram, .section--tint .diagram { background: var(--paper); }

/* --- Journey (horizontal stage rail) ------------------------------------ */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1rem; }
.journey__item { position: relative; padding: 2.6rem 1.4rem 0 0; }
.journey__item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.journey__item::after {
  content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
}
.journey__item:last-child::before { background: linear-gradient(90deg, var(--line) 55%, transparent); }
.journey__n { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .55rem; }
.journey__item h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.journey__item p { font-size: .93rem; color: var(--ink-mute); margin: 0; }
.section--dark .journey__item::before { background: rgba(239,237,231,.2); }
.section--dark .journey__item::after { background: var(--dark); border-color: var(--gold); }
.section--dark .journey__n { color: var(--gold-pale); }
.section--dark .journey__item p { color: var(--on-dark-mu); }
@media (max-width: 860px) { .journey { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; } }
@media (max-width: 500px) { .journey { grid-template-columns: 1fr; } .journey__item { padding-right: 0; } }

/* --- Sequence rail (gated steps) ---------------------------------------- */
.seq { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.seq li {
  position: relative; margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.45rem 1.4rem;
}
.seq__n {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .55rem;
}
.seq strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: .35rem; letter-spacing: -.015em; }
.seq__d { font-size: .93rem; color: var(--ink-mute); line-height: 1.55; }
.seq li + li::before {
  content: ""; position: absolute; left: -1.28rem; top: 50%;
  margin-top: -5px; width: 9px; height: 9px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}
.seq li + li::after {
  content: ""; position: absolute; left: -1.6rem; top: 50%;
  width: 1rem; height: 2px; background: var(--gold);
}
@media (max-width: 780px) {
  .seq { grid-template-columns: 1fr; gap: 1.75rem; }
  .seq li + li::before { left: 50%; top: -1.12rem; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .seq li + li::after { left: 50%; top: -1.35rem; width: 2px; height: 1rem; margin-left: -1px; }
}

/* --- Tick list ---------------------------------------------------------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem 2rem; }
@media (max-width: 700px) { .ticks--2 { grid-template-columns: 1fr; } }
.ticks li { position: relative; padding-left: 1.95rem; margin: 0; font-size: .99rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .46em;
  width: 11px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}
.section--dark .ticks li::before { border-color: var(--gold); }

.deliverables { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.deliverables li {
  margin: 0; padding: .95rem 0 .95rem 1.6rem; border-bottom: 1px solid var(--line-soft);
  font-size: .97rem; position: relative;
}
.deliverables li::before {
  content: ""; position: absolute; left: 0; top: 1.5em; width: 7px; height: 1.5px; background: var(--gold);
}
.deliverables li:first-child { border-top: 1px solid var(--line-soft); }
.section--dark .deliverables li { border-color: rgba(239,237,231,.14); color: var(--on-dark); }

/* --- Career history ----------------------------------------------------- */
.roles { list-style: none; padding: 0; margin: 0; }
.roles > li {
  margin: 0; padding: 1.7rem 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; align-items: baseline;
}
.roles > li:last-child { border-bottom: 1px solid var(--line); }
.role__t { font-weight: 700; color: var(--ink); font-size: 1.08rem; letter-spacing: -.015em; }
.role__d { color: var(--gold-deep); font-weight: 650; font-size: .84rem; letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; }
.role__o { grid-column: 1 / -1; color: var(--ink-mute); font-size: .95rem; margin: .15rem 0 0; }
.roles .ticks { grid-column: 1 / -1; margin-top: 1rem; }
.roles .ticks li { font-size: .95rem; }
@media (max-width: 560px) {
  .roles > li { grid-template-columns: 1fr; }
  .role__d { margin-top: .35rem; }
}

/* --- Fact strip / stats ------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }
.fact__n {
  display: block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700;
  color: var(--ink); letter-spacing: -.035em; line-height: 1.05; margin-bottom: .3rem;
}
.section--dark .fact__n { color: var(--gold-pale); }
.fact__l { font-size: .88rem; color: var(--ink-mute); line-height: 1.45; }
.section--dark .fact__l { color: var(--on-dark-mu); }

/* --- Credential bar ----------------------------------------------------- */
.creds { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.creds li {
  margin: 0; font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .42rem .95rem; letter-spacing: .005em;
}
.creds--center { justify-content: center; }

/* --- Client logo band --------------------------------------------------- */
.logos {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem 1rem; align-items: center; margin-top: 2.5rem;
  list-style: none; padding: 0;
}
.logos li { margin: 0; display: flex; align-items: center; justify-content: center; padding: .6rem; min-height: 84px; }
.logos img {
  width: auto; max-width: 100%; object-fit: contain;
  opacity: .52; filter: grayscale(1) contrast(1.05);
  transition: opacity .22s var(--ease);
}
.logos li:hover img { opacity: .95; }

/* Source logos range from square to nearly 9:1, so cap each band of aspect
   ratios separately - this keeps their optical weight roughly equal. */
.logos img          { max-height: 48px; }  /* fallback */
.logos img.lg-sq    { max-height: 66px; }  /* up to  1.3:1 */
.logos img.lg-wide1 { max-height: 58px; }  /* 1.3 - 1.9:1  */
.logos img.lg-wide2 { max-height: 50px; }  /* 1.9 - 2.6:1  */
.logos img.lg-wide3 { max-height: 44px; }  /* 2.6 - 3.6:1  */
.logos img.lg-wide4 { max-height: 32px; }  /* over 3.6:1   */

@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) {
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { min-height: 70px; }
  .logos img.lg-sq    { max-height: 54px; }
  .logos img.lg-wide1 { max-height: 48px; }
  .logos img.lg-wide2 { max-height: 42px; }
  .logos img.lg-wide3 { max-height: 38px; }
  .logos img.lg-wide4 { max-height: 28px; }
}

/* --- Callouts ----------------------------------------------------------- */
.callout {
  border-left: 3px solid var(--gold); background: var(--gold-wash);
  padding: 1.5rem 1.75rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p { margin-bottom: .7rem; }
.callout p:last-child { margin-bottom: 0; }
.section--dark .callout { background: rgba(201,164,76,.09); border-left-color: var(--gold); }

.note {
  font-size: .92rem; color: var(--ink-mute); background: var(--paper-warm);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem;
}

/* --- Media -------------------------------------------------------------- */
.media { position: relative; }
.media img { border-radius: var(--radius); width: 100%; }
.media--frame { isolation: isolate; }
.media--frame::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
@media (max-width: 880px) { .media--frame::after { inset: 10px -10px -10px 10px; } }

.portrait { max-width: 380px; }
.portrait img { border-radius: 50%; }

/* Scheme photography slot - swap the placeholder for a real image */
.shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; background: var(--paper-tint); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__ph { color: var(--gold-deep); opacity: .5; width: 64%; max-width: 240px; }

/* --- Project cards ------------------------------------------------------ */
.project { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project__body { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.project__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; }
.project h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.project__sub { font-size: .87rem; color: var(--ink-faint); margin-bottom: .9rem; font-weight: 550; }
.project p { font-size: .95rem; color: var(--ink-mute); margin-bottom: 0; }

/* --- Accordion ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.35rem 2.75rem 1.35rem 0;
  font-weight: 650; color: var(--ink); position: relative; font-size: 1.04rem;
  line-height: 1.45; transition: color .16s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.75rem;
  width: 10px; height: 10px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.95rem; }
.faq__a { padding: 0 1.5rem 1.6rem 0; color: var(--ink-mute); font-size: .99rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* --- Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
/* align-content:start stops a field with no hint text from stretching its
   input to match a taller neighbour in the same row. */
.field { display: grid; gap: .42rem; align-content: start; }
.field label { font-size: .89rem; font-weight: 650; color: var(--ink); letter-spacing: .005em; }
.field label .opt { font-weight: 500; color: var(--ink-faint); }
.field .hint { font-size: .83rem; color: var(--ink-faint); line-height: 1.5; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.65; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #CFCBC1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,76,.18);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.err { font-size: .84rem; color: #B3261E; font-weight: 600; }
.err:empty { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .35rem; }
.form__consent { font-size: .85rem; color: var(--ink-faint); line-height: 1.55; }

.alert { padding: 1.15rem 1.35rem; border-radius: var(--radius); font-size: .97rem; border: 1px solid; }
.alert p:last-child { margin-bottom: 0; }
.alert--ok  { background: #F1F7F0; border-color: #C4DDBE; color: #23491C; }
.alert--bad { background: #FCF0EF; border-color: #EBC8C5; color: #7A211B; }
.alert strong { color: inherit; }
.alert a { color: inherit; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.contact-list li { margin: 0; display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-wash); border: 1.5px solid var(--gold); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.contact-list__ico svg { width: 18px; height: 18px; }
.contact-list dl { margin: 0; }
.contact-list dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .18rem; }
.contact-list dd { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-list dd a { color: var(--ink); text-decoration: none; }
.contact-list dd a:hover { color: var(--gold-deep); text-decoration: underline; }
.contact-list .small { font-weight: 400; color: var(--ink-mute); }

/* --- CTA band ----------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 380px at 82% 20%, rgba(201,164,76,.15), transparent 62%);
}
.cta__in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center; }
.cta__in h2 { margin-bottom: .55rem; }
.cta__in p { color: var(--on-dark-mu); margin-bottom: 0; max-width: 52ch; }
.cta .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 820px) {
  .cta__in { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta .btn-row { justify-content: flex-start; }
}

/* --- Footer ------------------------------------------------------------- */
.site-foot { background: var(--dark); color: var(--on-dark-mu); padding-top: clamp(3rem, 5vw, 4.25rem); font-size: .94rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 2.5rem 2rem; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-foot img.foot-logo { height: 62px; width: auto; margin-bottom: 1.25rem; }
.site-foot h2 { color: #fff; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .6rem; }
.site-foot a { color: var(--on-dark-mu); text-decoration: none; transition: color .16s var(--ease); }
.site-foot a:hover { color: var(--gold-pale); }
.site-foot p { margin-bottom: .8rem; line-height: 1.65; }
.foot-note { max-width: 34ch; }
.site-foot__base {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid rgba(239,237,231,.13);
  padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center; font-size: .85rem; color: var(--on-dark-mu);
}
.site-foot__base p { margin: 0; }
.site-foot__base a { color: var(--on-dark-mu); }
.site-foot__base a:hover { color: var(--gold-pale); }
.foot-ins { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.foot-ins li {
  margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .03em;
  border: 1px solid rgba(239,237,231,.2); border-radius: 100px; padding: .3rem .75rem; color: var(--on-dark-mu);
}

/* --- Reveal on scroll --------------------------------------------------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
.no-js .rv { opacity: 1; transform: none; }

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-head, .site-foot, .cta, .btn, .burger { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  .hero { background: none; color: #000; }
  .hero h1, .hero .lede { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* --- Illustrated service card ------------------------------------------- */
.card--art { padding: 0; overflow: hidden; }
.card--art .card__art {
  aspect-ratio: 16 / 10; background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 1.15rem 1.35rem;
}
.card--art .card__art svg { width: 100%; height: 100%; }
.card--art .card__body {
  padding: 1.55rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1;
}
.card--art .card__body h3 { margin-bottom: .5rem; }
.card--art .card__body p { margin-bottom: 0; }
.card--art:hover .card__art { background: var(--gold-wash); }
.card--art .card__art { transition: background .22s var(--ease); }

/* --- Hero refinements ---------------------------------------------------- */
.hero__cta-note {
  margin-top: 1.35rem; font-size: .89rem; color: var(--on-dark-mu);
}
.hero__cta-note a { color: var(--gold-pale); text-decoration: none; font-weight: 650; }
.hero__cta-note a:hover { color: #fff; text-decoration: underline; }

/* --- Big closing call to action ------------------------------------------ */
.cta--major { text-align: center; }
.cta--major .wrap { max-width: 760px; }
.cta--major h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); margin-bottom: .75rem; }
.cta--major p { margin-inline: auto; max-width: 52ch; }
.cta--major .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta--major .hero__cta-note { text-align: center; }

/* --- Home "why me" portrait --------------------------------------------- */
.portrait--inline { max-width: 300px; }
@media (max-width: 880px) { .portrait--inline { max-width: 230px; } }

/* ==========================================================================
   HOME PAGE HERO TREATMENT
   The logo leaves the top bar on the home page and becomes the first thing
   you see, sitting over a full-bleed technical drawing.
   ========================================================================== */

/* --- Home header: merges into the dark hero, reappears on scroll --------- */
.site-head--home {
  background: var(--dark);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-head--home .brand {
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.site-head--home .nav > a:not(.btn) { color: var(--on-dark); }
.site-head--home .nav > a:not(.btn):hover { color: #fff; background: rgba(239,237,231,.08); }
.site-head--home .nav > a:not(.btn)[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.site-head--home .burger { background: transparent; border-color: rgba(239,237,231,.3); }
.site-head--home .burger span,
.site-head--home .burger span::before,
.site-head--home .burger span::after { background: #fff; }
.site-head--home .burger[aria-expanded="true"] span { background: transparent; }

.site-head--home.is-stuck {
  background: rgba(31,31,31,.95);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: rgba(239,237,231,.14);
}
.site-head--home.is-stuck .brand { opacity: 1; visibility: visible; }
/* Without JS the header simply stays dark, which still reads correctly. */
.no-js .site-head--home .brand { opacity: 1; visibility: visible; }
.no-js .site-head--home { background: rgba(31,31,31,.95); }

/* --- Hero brand lockup --------------------------------------------------- */
.hero__brand { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(1.4rem, 2.8vw, 1.9rem); }
.hero__brand img {
  width: clamp(150px, 19vw, 224px); height: auto;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.62)) drop-shadow(0 4px 12px rgba(0,0,0,.45));
}
.hero__brand-sub {
  margin-top: clamp(.85rem, 2vw, 1.25rem);
  display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.1rem);
  font-size: clamp(.6rem, 1.5vw, .8rem); font-weight: 700;
  letter-spacing: .3em; text-indent: .3em; text-transform: uppercase;
  color: var(--gold-pale); white-space: nowrap;
}
.hero__brand-sub::before, .hero__brand-sub::after {
  content: ""; height: 1px; width: clamp(18px, 7vw, 72px); flex: none;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero__brand-sub::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* --- Centred home hero --------------------------------------------------- */
.hero--home { text-align: center; padding-block: clamp(1.25rem, 2.5vw, 1.9rem) clamp(2.5rem, 5vw, 4rem); }
.hero--home .hero__in { max-width: 880px; margin-inline: auto; }
.hero--home h1 { max-width: 26ch; margin-inline: auto; margin-bottom: .5em; font-size: clamp(1.82rem, 4.4vw, 3.05rem); }
.hero--home .lede { max-width: 58ch; margin-inline: auto; }
.hero--home .btn-row { justify-content: center; margin-top: 1.5rem; }
.hero--home .hero__meta { justify-content: center; }
.hero--home .hero__cta-note { text-align: center; }
.hero__hl { color: var(--gold-pale); }

/* Scrim keeps the drawing readable behind the text */
.hero--home::after {
  background:
    radial-gradient(farthest-corner at 50% 42%, rgba(31,31,31,.94) 0%, rgba(31,31,31,.82) 42%, rgba(31,31,31,.6) 72%, rgba(31,31,31,.42) 100%),
    radial-gradient(900px 440px at 80% 10%, rgba(201,164,76,.15), transparent 62%);
}

/* --- Hero background artwork -------------------------------------------- */
.hero__art { z-index: -2; }
.hero__art--bg {
  position: absolute; inset: 0; right: auto; top: auto;
  width: 100%; height: 100%; transform: none;
  opacity: .38; z-index: -2;
}
@media (max-width: 860px) {
  .hero__art--bg { display: block; opacity: .26; }
}

/* Page heroes carry a smaller motif on the right */
.hero--page .hero__art { width: min(500px, 44%); height: 84%; opacity: .42; }
@media (max-width: 900px) { .hero--page .hero__art { opacity: .16; width: min(380px, 58%); height: 78%; display: block; } }

.hero__art text { font-family: var(--font); font-weight: 600; }

/* ==========================================================================
   PROJECT PHOTOGRAPHY
   Thumbnails are rendered as brass-toned "drawings" so they sit inside the
   site's design language. Clicking one opens the true photograph.
   ========================================================================== */
.shot--photo {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--dark);
  text-decoration: none; color: var(--gold-pale); cursor: zoom-in; isolation: isolate;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease);
}
.shot--photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.shot--photo:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* The brass duotone. A single filter chain keeps this reliable across
   browsers, rather than stacked blend-mode layers. */
.shot__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) sepia(.92) hue-rotate(-8deg) saturate(1.5) brightness(.9) contrast(1.08);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.shot--photo:hover .shot__img {
  filter: grayscale(1) sepia(.8) hue-rotate(-8deg) saturate(1.55) brightness(1.02) contrast(1.06);
  transform: scale(1.02);
}

/* Vignette, so the overlay linework and the cue stay readable */
.shot__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(31,31,31,.72) 0%, rgba(31,31,31,.12) 38%, rgba(31,31,31,.28) 100%);
}

/* Technical linework: survey grid, crop marks, scale bar */
.shot__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.shot__label {
  position: absolute; left: 1rem; bottom: .85rem; pointer-events: none;
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-pale); opacity: .9;
}
.shot__cue {
  position: absolute; right: .9rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); border-radius: 100px;
  padding: .42rem .85rem; pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  transition: background .22s var(--ease);
}
.shot__cue svg { width: 13px; height: 13px; }
.shot--photo:hover .shot__cue { background: var(--gold-pale); }
@media (max-width: 520px) {
  .shot__cue { font-size: .68rem; padding: .36rem .7rem; }
  .shot__label { font-size: .6rem; left: .8rem; }
}

/* --- Lightbox ------------------------------------------------------------ */
.lb {
  border: 0; padding: 0; background: transparent; color: var(--on-dark);
  max-width: min(1500px, 94vw); max-height: 94dvh; width: auto;
  overflow: visible;
}
.lb::backdrop { background: rgba(16,16,15,.93); backdrop-filter: blur(3px); }
.lb__fig { margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.lb__img {
  display: block; max-width: 100%; max-height: 78dvh; width: auto; height: auto;
  border-radius: var(--radius); border: 1px solid rgba(201,164,76,.4);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  margin-inline: auto;
}
.lb__cap {
  color: var(--on-dark); font-size: .95rem; line-height: 1.55;
  text-align: center; max-width: 70ch; margin-inline: auto;
}
.lb__cap strong { color: var(--gold-pale); display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.lb__close {
  position: absolute; top: -3.1rem; right: 0;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1.5px solid rgba(239,237,231,.35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.lb__close:hover { background: rgba(201,164,76,.16); border-color: var(--gold); transform: rotate(90deg); }
.lb__close svg { width: 17px; height: 17px; }
@media (max-width: 700px) {
  .lb__close { top: -2.9rem; width: 38px; height: 38px; }
  .lb__img { max-height: 66dvh; }
  .lb__cap { font-size: .88rem; }
}

/* ==========================================================================
   SECTION MARKS
   Small linework glyphs opening a section. Drawn from a shared library and
   reused wherever the same meaning recurs, so they read as a vocabulary
   rather than decoration.
   ========================================================================== */
.mark {
  display: block; width: 66px; height: 66px; flex: none;
  color: var(--gold-deep); margin-bottom: 1.05rem;
}
.mark svg { width: 100%; height: 100%; display: block; }
.mark .m-2 { stroke: var(--ink); opacity: .2; }

.head--center .mark { margin-inline: auto; }
.section--dark .mark, .hero .mark { color: var(--gold); }
.section--dark .mark .m-2, .hero .mark .m-2 { stroke: var(--on-dark); opacity: .32; }

@media (max-width: 620px) { .mark { width: 54px; height: 54px; margin-bottom: .85rem; } }

/* ==========================================================================
   SECTION WATERMARK
   A full-bleed drawing behind a section, used sparingly: at most one per
   page, on a dark band, where it has room to read.
   ========================================================================== */
.section--art { isolation: isolate; overflow: hidden; }
.section__art {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; pointer-events: none;
  opacity: .3;
}
.section--art::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(farthest-side at 50% 45%, rgba(31,31,31,.86), rgba(31,31,31,.55) 65%, rgba(31,31,31,.3));
}
@media (max-width: 860px) { .section__art { opacity: .18; } }

/* --- Comparison table ---------------------------------------------------- */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; border-collapse: collapse; min-width: 620px;
  font-size: .97rem; text-align: left;
}
.cmp th, .cmp td { padding: 1.05rem 1.2rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); border-bottom: 2px solid var(--gold); padding-bottom: .8rem;
}
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { font-weight: 700; color: var(--ink); width: 12.5rem; }
.cmp tbody th span {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem;
}
.cmp td { color: var(--ink-mute); }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: var(--gold-wash); }
.cmp-note { display: none; font-size: .84rem; color: var(--ink-faint); margin-top: .9rem; }
@media (max-width: 700px) { .cmp-note { display: block; } }
