/* ============================================================
   SPARK partners — site styles
   Source of truth for brand values: charte graphique.
   ============================================================ */

:root {
  /* --- SPARK Design System tokens (aligned to "SPARK Design System.dc.html", v1.0) --- */
  --gold: #FDC300;        /* SPARK Yellow — accent ONLY, never running text; the single loudest colour */
  --gold-strong: #FDC300; /* yellow never goes brighter than #FDC300 (client) */
  --black: #1D1D1B;       /* Black — default ink / bg */
  --grey: #666666;        /* Grey — captions */
  --bg: #141311;          /* page ground — richer near-black (whole ramp shifted down from the DS, keeping its contrast step) */
  --bg-alt: #141311;      /* uniform ground */
  --surface: #1D1D1B;     /* cards — a subtle +9 step above the bg, exactly the DS card-to-background contrast */
  --surface2: #262624;    /* raised tone (spark panel, insets, hovers) */
  --border: rgba(255, 255, 255, 0.09);        /* --line */
  --border-strong: rgba(255, 255, 255, 0.16); /* --line2 */
  --text: #F4F3EE;        /* warm off-white (not pure #FFF) */
  --muted: #9A988F;       /* --dim — captions / secondary text */
  --faint: rgba(253, 195, 0, 0.14);
  --container: 1200px;
  --radius: 10px;         /* cards */
  --btn-radius: 4px;      /* buttons */

  /* SPARK data-series palette — charts / dataviz (§02/§13). Yellow stays the single loudest hue. */
  --ds-1: #8E7FA3; --ds-2: #CBD1D6; --ds-3: #6F4E37; --ds-4: #7F8992;
  --ds-5: #9A4F5A; --ds-6: #BAB696; --ds-7: #4E555C;
  --ds-1-dk: #463B5E; --ds-2-dk: #6B747C; --ds-3-dk: #372414; --ds-4-dk: #434B52;
  --ds-5-dk: #54242D; --ds-6-dk: #6A6647; --ds-7-dk: #2E3439;
  --ds-positive: #5F9E6E; --ds-negative: #C0574A;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--black); }

h1, h2, h3 { color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--black); padding: 0.5rem 1rem; border-radius: 6px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .section { padding: 5rem 0; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--gold); margin: 0;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--gold); }
.hl { color: var(--gold); font-weight: 600; }
.muted { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.8rem 1.5rem; border-radius: var(--btn-radius); border: 1px solid transparent;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .28s ease, filter .28s ease;
}
.btn svg { width: 15px; height: 15px; }
/* primary — one yellow fill per view; hover = soft yellow halo (DS §05) */
.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover {
  box-shadow: 0 0 0 4px rgba(253,195,0,.16), 0 8px 26px rgba(253,195,0,.42);
}
/* secondary — neutral outline that glows yellow on hover */
.btn--outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--outline:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 0 4px rgba(253,195,0,.10), 0 6px 22px rgba(253,195,0,.20);
}
.btn--disabled { background: #3A3A37; border-color: transparent; color: #7D7B74; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color .2s, color .2s, border-color .2s; }
  .btn--primary:hover, .btn--outline:hover { box-shadow: none; filter: none; }
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 19, 17, 0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.45rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.brand-glyph { height: 1.5rem; width: auto; display: block; }
.brand-logo { height: 3.25rem; width: auto; display: block; }
.brand-mark { color: var(--gold); }
.brand-suffix { color: rgba(255,255,255,0.9); }
.nav-links { display: none; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
/* On small screens the language switch stays visible; the CTA + LinkedIn collapse into the hamburger menu. */
.nav-actions .btn, .nav-actions .nav-ln { display: none; }
.nav-ln { color: var(--muted); display: inline-flex; transition: color .2s; }
.nav-ln:hover { color: var(--gold); }
.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--text); cursor: pointer; padding: 0.25rem; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.5rem 1.5rem 1rem; display: flex; flex-direction: column; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--muted); text-decoration: none; }
.mobile-menu a:hover { color: var(--text); }

.lang-switch { display: flex; align-items: center; gap: .15rem; }
.lang-switch .lang { font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-decoration: none; padding: .25rem .4rem; border-radius: 5px; transition: color .2s, background-color .2s; }
.lang-switch .lang:hover { color: var(--text); }
.lang-switch .lang.active { color: var(--black); background: var(--gold); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions .btn, .nav-actions .nav-ln { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; padding: 7rem 0; }
.hero-eyebrow {
  border: 1px solid rgba(253,195,0,0.6); border-radius: 6px; padding: 0.4rem 1rem;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold);
}
.hero-title { display: flex; flex-direction: column; font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; line-height: 1.04; }
.hero-title .accent { color: var(--gold); }
.hero-title .white { color: var(--text); }
.hero-sub { max-width: 42rem; font-size: 1.125rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 768px) { .hero-inner { padding: 9rem 0; } }

/* ---------- stats: one bordered box with internal dividers, big yellow figures (DS §06) ---------- */
.stats { display: grid; grid-template-columns: 1fr; margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stat { padding: 26px; border-bottom: 1px solid var(--border); }
.stat:last-child { border-bottom: 0; }
.stat-value { display: block; font-size: clamp(2.5rem, 5vw, 52px); font-weight: 700; line-height: 1; color: var(--gold); }
.stat-label { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
/* a stat can link to its expansion (e.g. "3 levels of engagement" → the engagement model) */
.stat--link { text-decoration: none; color: inherit; cursor: pointer; transition: background-color .15s; }
.stat--link:hover { background: rgba(255,255,255,.03); }
.stat--link:hover .stat-label { color: var(--text); }
.stat--link .stat-label svg { width: 13px; height: 13px; vertical-align: -1px; opacity: .55; transition: transform .15s ease, opacity .15s ease; }
.stat--link:hover .stat-label svg { transform: translateY(2px); opacity: 1; color: var(--gold); }
.nutshell-statement { max-width: 56rem; margin: 1.5rem 0 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; line-height: 1.35; color: var(--text); }
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 34px 30px; border-bottom: 0; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
}

/* ---------- cards (approach) ---------- */
.grid-2 { display: grid; gap: 1.25rem; grid-auto-rows: 1fr; }  /* 1fr rows → all boxes equal height */
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
/* "How we work" feature blocks — 4 on one line, content-height cards (DS §06: border 1px, radius 10, pad 24/22) */
.approach-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .approach-grid { grid-template-columns: repeat(4, 1fr); } }
.approach-grid .card { padding: 24px 22px; border-radius: 10px; gap: 0; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 8px; background: rgba(253,195,0,0.1); color: var(--gold); }
.icon-tile svg { width: 22px; height: 22px; }
/* feature marker = a small 14px solid rounded-square from the data-series palette, categorical order (DS §06) */
.feat-marker { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--mk, var(--muted)); margin-bottom: 16px; }
.card-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.card-text { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- engagement table ---------- */
.quote { max-width: 48rem; margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--gold); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.table-wrap { margin-top: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.eng-table { width: 100%; border-collapse: collapse; text-align: left; }
.eng-table thead th { background: var(--surface); padding: 1rem 1.5rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); }
.eng-table tbody tr { border-top: 1px solid var(--border); }
.eng-table td { padding: 1.25rem 1.5rem; font-size: 0.9rem; color: var(--muted); vertical-align: top; }
.eng-table td.level { color: var(--text); font-weight: 700; }
.eng-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.eng-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.25rem; }
.eng-card h3 { font-size: 1rem; }
.eng-card dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-top: 0.75rem; }
.eng-card dd { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--muted); }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: block; } .show-mobile { display: none; } }

/* ---------- accordion (services + team) ---------- */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; }
.acc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.acc > summary { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; cursor: pointer; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc-titles { display: flex; flex-direction: column; flex: 1; gap: 0.15rem; }
.acc-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.acc-tagline { font-size: 0.9rem; color: var(--muted); }
.acc-chevron { color: var(--gold); transition: transform .25s ease; display: inline-flex; }
.acc[open] .acc-chevron { transform: rotate(180deg); }
.acc-body { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: 0.92rem; color: var(--muted); }
.acc-body .placeholder { font-style: italic; color: rgba(166,163,155,0.65); }

/* ---------- why-clients ghost cards ---------- */
.ghost-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 2rem; }
.ghost-num { position: absolute; top: -0.5rem; right: 0.5rem; font-size: clamp(4rem, 10vw, 6rem); font-weight: 700; line-height: 1; color: var(--faint); pointer-events: none; user-select: none; }
.ghost-text { position: relative; max-width: 28rem; font-size: 1.1rem; color: var(--text); margin: 0; }

/* ---------- promise ---------- */
.promise-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promise-grid { grid-template-columns: repeat(5, 1fr); } }
.promise-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.5rem; }
.promise-letter-bg { position: absolute; bottom: -1.5rem; right: -0.5rem; font-size: 6rem; font-weight: 700; line-height: 1; color: var(--faint); pointer-events: none; user-select: none; }
.promise-inner { position: relative; display: flex; flex-direction: column; gap: 0.75rem; }
.promise-letter { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.promise-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.promise-text { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- team ---------- */
.team-intro { max-width: 56rem; margin: 1.5rem 0 0; font-size: 1.125rem; color: rgba(253,195,0,0.9); }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.member-head { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.member-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.member-name { font-size: 18px; font-weight: 700; color: var(--text); }
.badge { border: 1px solid rgba(253,195,0,0.4); border-radius: 6px; padding: 0.1rem 0.5rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* expertise tags = outlined chips: transparent bg, neutral border, no yellowish fill (CLAUDE.md §42) */
.tag { border: 1px solid var(--border-strong); border-radius: 6px; padding: 3px 9px; font-size: 11px; color: var(--text); background: transparent; transition: border-color .2s, color .2s; }
.tag:hover { border-color: var(--muted); color: var(--text); }
/* Engage-for: yellow label + normal text over a divider — NO yellow background, NO icon (matches DS team card) */
.member-engage { margin: 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.member-engage strong { color: var(--gold); font-weight: 700; }
.member-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: auto; padding-top: 0.25rem; font-size: 0.9rem; }
.member-meta a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); text-decoration: none; }
.member-meta a:hover { color: var(--gold-strong); }
.member-meta svg { width: 16px; height: 16px; }

/* ---------- strategic network — SECONDARY: a modest, neutral list, never feature cards / never the yellow accent (project memory) ---------- */
/* Compact, capped, muted; tiles link straight out (no modal). Never larger/heavier than a team card. */
.network-wrap { max-width: none; }
.network-head { margin-bottom: 1.5rem; }
.eyebrow--dim { color: var(--muted); }              /* network eyebrow is dim/grey, NOT the yellow team treatment */
.eyebrow--dim::before { background: var(--muted); }
.network-heading { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }  /* ~22px h3, smaller than the team H2 */
.network-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .network-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .network-grid { grid-template-columns: repeat(3, 1fr); } }
.network-tile { display: flex; align-items: flex-start; gap: 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; transition: border-color .15s, background-color .15s, transform .12s; }
.network-tile.profile-trigger { cursor: pointer; }
.network-tile.profile-trigger:hover { border-color: var(--border-strong); background: var(--surface2); transform: translateY(-1px); }
.network-tile.profile-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.network-logo { flex-shrink: 0; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--surface2); }  /* +20%, tighter padding → photo sits closer to the card edges, card height unchanged */
.network-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.network-info { display: flex; flex-direction: column; min-width: 0; }
.network-name { font-weight: 700; color: var(--text); font-size: 15px; line-height: 1.25; }
.network-role { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.network-cue { display: inline-flex; align-items: center; gap: .3rem; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.network-cue svg { width: 13px; height: 13px; }
.network-tile.profile-trigger:hover .network-cue { color: var(--text); }
/* dialog detail (opened on click) — neutral, no yellow accent for the network */
.partner-role { font-style: italic; color: var(--muted); margin: 0.1rem 0 0; font-size: 0.85rem; }
.partner-lead { color: var(--text); font-weight: 600; margin: 0; font-size: 0.9rem; }
.partner-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.partner-tags li { font-size: .7rem; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: .15rem .55rem; }
.partner-text { font-size: 0.88rem; color: var(--muted); margin: 0; }
.partner-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-size: .8rem; }
.partner-more summary::-webkit-details-marker { display: none; }
.partner-more[open] summary svg { transform: rotate(180deg); }
.partner-more summary svg { transition: transform .2s; }
.partner-more > *:not(summary) { margin-top: .6rem; }
.partner-bullets { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.partner-bullets li { font-size: 0.85rem; color: var(--muted); }
.partner-bullets b { color: var(--text); }
.partner-cta { margin-top: auto; padding-top: .5rem; }

/* ---------- publications ---------- */
.pub-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .pub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }
.pub-card { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 26px 24px; height: 100%; }
.pub-body { display: flex; flex-direction: column; flex: 1; }
.pub-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0 0 6px; }
.pub-subtitle { font-size: 13px; font-weight: 700; color: var(--gold); margin: 0 0 12px; }         /* the yellow "what it is" line */
.pub-desc { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
/* footer: date (italic) left; colour-coded file-type doc-glyph + language boxes right (DS §11) */
.pub-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.pub-date { font-size: 12px; color: var(--muted); font-style: italic; }
.pub-dl { display: flex; align-items: center; gap: 10px; }
/* file-type = a little dog-eared document glyph, coloured by format; label in white at the foot */
.pub-filetype { position: relative; display: inline-flex; align-items: flex-end; justify-content: center; width: 28px; height: 34px; border-radius: 5px; padding-bottom: 5px; font-size: 8px; font-weight: 700; letter-spacing: 0.03em; color: #fff; }
.pub-filetype::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-top: 9px solid var(--surface); border-left: 9px solid transparent; }
.pub-langs { display: flex; gap: 6px; }
.pub-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 1.9rem; border: 1px solid var(--border-strong); border-radius: 6px; padding: 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.pub-lang:hover { border-color: var(--gold); color: var(--gold); }
.pub-lang--disabled { color: rgba(166,163,155,0.55); border-color: var(--border); cursor: not-allowed; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.contact-intro { display: flex; flex-direction: column; gap: 1rem; }
.contact-intro p { max-width: 28rem; font-size: 1.125rem; color: var(--muted); margin: 0; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.field input, .field textarea {
  border: 1px solid var(--border); background: var(--surface); border-radius: 8px;
  padding: 0.8rem 1rem; color: var(--text); font: inherit; font-size: 0.9rem;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(166,163,155,0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: 0.9rem; margin: 0; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #f87171; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-top { display: grid; gap: 2.5rem; padding: 3.5rem 0 0; }
.footer-address { display: flex; gap: 0.75rem; font-style: normal; color: var(--muted); line-height: 1.7; }
.footer-address .pin { color: var(--gold); margin-top: 0.2rem; }
.footer-address .entity { color: var(--text); margin-top: 0.5rem; }
.footer-note { max-width: 28rem; font-style: italic; color: var(--muted); margin: 0; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; padding: 1.5rem 0 3rem; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 0.45rem; font-size: 1rem; font-weight: 700; }
.footer-brand .brand-glyph { height: 1.35rem; }
.footer-brand .brand-logo { height: 2.75rem; }
.footer-meta { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-admin { display: inline-flex; align-items: center; color: var(--muted); opacity: .45; transition: opacity .15s, color .15s; }
.footer-admin:hover { opacity: 1; color: var(--gold); }
.footer-admin svg { width: 14px; height: 14px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-meta { flex-direction: row; align-items: center; gap: 1.5rem; }
}

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; inset: auto 0 0 0; z-index: 60; background: rgba(29,29,27,0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 0; }
.cookie-text { flex: 1; font-size: 0.9rem; color: var(--muted); margin: 0; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .cookie-inner { flex-direction: row; align-items: center; } }

/* ---------- simple page (privacy/legal) ---------- */
.page { padding: 5rem 0; }
.page .container { max-width: 48rem; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page h2 { font-size: 1.25rem; margin-top: 1.5rem; }
.page p { line-height: 1.7; }
.notice { border: 1px solid rgba(253,195,0,0.4); background: rgba(253,195,0,0.05); border-radius: 8px; padding: 1rem; color: var(--gold); font-size: 0.9rem; }
.back-link { display: inline-block; margin-top: 2.5rem; color: var(--gold); text-decoration: none; }
@media (min-width: 768px) { .page { padding: 7rem 0; } }

/* ============================================================
   Track 2 — redesign (trust, disclosure, CTAs, nav, motion)
   ============================================================ */

/* hero proof line + single spark-glyph accent */
.hero-proof { display: flex; align-items: center; gap: .6rem; max-width: 42rem; font-size: .95rem; color: var(--muted); }
.hero-proof-dot { flex-shrink: 0; width: .5rem; height: .5rem; border-radius: 3px; background: var(--gold); box-shadow: 0 0 0 4px rgba(253,195,0,.15); }
.hero-glyph { position: absolute; right: -4rem; top: 50%; transform: translateY(-50%); width: min(32vw, 400px); opacity: 1; pointer-events: none; }
.hero-glyph { display: none; } /* hidden 2026-07-03 (negative feedback) — delete this one line to restore the hero splatter */
.js .hero-glyph { opacity: 0; animation: heroGlyphIn 1.2s ease .15s forwards; }
@keyframes heroGlyphIn { to { opacity: 1; } }
@media (max-width: 640px) { .hero-glyph { display: none; } }

/* Brand spark — subtle gold ember on open actions (menu, profiles). JS-driven, self-removing. */
.spark-particle { position: fixed; width: 3px; height: 3px; border-radius: 1px; background: var(--gold);
  box-shadow: 0 0 6px 1px rgba(253,195,0,.6); pointer-events: none; z-index: 9999; opacity: 0; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .spark-particle { display: none; } }

/* TrustSignals band */
.trust { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.trust-label { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.trust-sectors { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.trust-sectors li { font-size: .8rem; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: .25rem .75rem; }
.trust-network { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); text-decoration: none; }
.trust-network:hover { color: var(--gold); }
.trust-network svg { width: 16px; height: 16px; color: var(--gold); }

/* Services grid (value prop visible; depth optional) */
.services-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; gap: .6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.5rem; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: rgba(253,195,0,.35); transform: translateY(-2px); }
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--gold); }
.service-tagline { margin: 0; font-size: 13px; color: var(--muted); }
.service-more summary, .member-bio summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-size: .8rem; margin-top: .25rem; }
.service-more summary::-webkit-details-marker, .member-bio summary::-webkit-details-marker { display: none; }
.service-more[open] summary svg, .member-bio[open] summary svg { transform: rotate(180deg); }
.service-more summary svg, .member-bio summary svg { transition: transform .2s; }
.service-more p, .member-bio p { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }

/* Team grid — the hero people cards (portrait + engage line + contact) */
.team-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; grid-template-columns: 1fr; grid-auto-rows: 1fr; }  /* equal-height cards regardless of tag wrapping */
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 22px 24px; }
.team-card:hover { border-color: var(--border-strong); }
.member-top { display: flex; align-items: flex-start; gap: 16px; }
.member-id { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.member-profile-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 6px; padding: .45rem 1rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.member-profile-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.member-profile-btn:hover { background: var(--gold); color: var(--black); }
.member-profile-btn:hover svg { transform: translateX(2px); }

/* avatar — 66px rounded square, 1px neutral border (DS §07); JS drifts the inner image on hover */
.avatar-wrap { display: block; flex-shrink: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 16px; width: 76px; height: 76px; transition: border-color .2s; }  /* +15% from the DS 66px */
.avatar-wrap > * { display: block; width: 100%; height: 100%; }
.avatar-wrap img, .avatar-wrap .avatar { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: center top; will-change: transform; }
.member-role { font-size: 12px; color: var(--muted); margin-top: 2px; }
/* "View profile" — the yellow CTA button that opens the profile (DS §07), pushed to the right of the name */
.member-cue { margin-left: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); white-space: nowrap; cursor: pointer; background: none; border: 0; padding: 0; transition: color .15s; }
.member-cue svg { width: 13px; height: 13px; transition: transform .15s; }
.member-cue:hover, .member-cue:focus-visible { color: var(--gold-strong); }
.member-cue:hover svg, .member-cue:focus-visible svg { transform: translateX(2px); }
.member-cue:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

/* Competency filter — click a pill to surface everyone who shares that skill */
.tag[role="button"] { cursor: pointer; }
.tag[aria-pressed="true"] { border-color: var(--muted); background: var(--surface2); color: var(--text); }
.team-card { transition: opacity .25s, filter .25s, border-color .2s; }
.team-card.is-dim { opacity: .32; filter: grayscale(.4); }
.team-card.is-match { border-color: var(--gold); }
.team-filterbar { display: none; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 -.25rem; font-size: .85rem; color: var(--muted); }
.team-filterbar.on { display: flex; }
.team-filterbar b { color: var(--gold); }
.team-filterbar button { background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 6px; padding: .22rem .75rem; font: inherit; font-size: .78rem; cursor: pointer; transition: color .15s, border-color .15s; }
.team-filterbar button:hover { border-color: var(--gold); color: var(--gold); }

/* Team profile dialog (replaces the inline expand) */
.profile-dialog { width: min(640px, calc(100% - 2rem)); max-height: 86vh; overflow: auto; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.profile-dialog::backdrop { background: rgba(18,18,17,.7); backdrop-filter: blur(6px); }
.profile-dismiss { position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 0; }
.profile-close { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; font-size: 1.5rem; line-height: 1; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.profile-close:hover { color: var(--gold); border-color: var(--gold); }
.profile-head { display: flex; align-items: center; gap: 1.25rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.profile-photo { width: 6rem; height: 6rem; aspect-ratio: 1; border-radius: 16px; object-fit: cover; object-position: center top; flex-shrink: 0; }
.profile-id { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.profile-name { font-size: 1.3rem; font-weight: 700; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.tbc-badge { background: var(--gold); color: var(--black); font-weight: 700; font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; padding: .15rem .5rem; border-radius: 6px; cursor: help; }
.profile-body { display: flex; flex-direction: column; gap: 1.25rem; }
.profile-sec h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0 0 .35rem; display: inline-flex; align-items: center; gap: .35rem; }
.profile-sec h4 svg { width: 15px; height: 15px; }
.profile-sec p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.profile-goal { padding: .1rem 0 .1rem 1rem; border-left: 2px solid var(--gold); }
.profile-goal p { color: var(--text); }
@media (min-width: 520px) { .profile-photo { width: 7rem; height: 7rem; } }
/* On phones the dialog becomes a full-height sheet — more room for the four sections. */
@media (max-width: 519px) {
  .profile-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; padding: 1.25rem; }
  .profile-head { flex-wrap: wrap; gap: 1rem; }
}
@media (prefers-reduced-motion: no-preference) { .profile-dialog[open] { transform-origin: center; animation: profile-flip .34s cubic-bezier(.2,.75,.25,1) both; } }
@keyframes profile-flip { from { opacity: 0; transform: perspective(1400px) rotateY(-16deg) scale(.93); } 60% { opacity: 1; } to { opacity: 1; transform: perspective(1400px) rotateY(0) scale(1); } }

/* Transitional CTA band */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 0; }
.cta-text { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--text); }

/* Footer quick-links */
.footer-quicklinks { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-quicklinks a { font-size: .85rem; color: var(--muted); text-decoration: none; }
.footer-quicklinks a:hover { color: var(--gold); }

/* Section-aware nav */
.nav-link.active { color: var(--gold); }

/* Back-to-top */
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 55; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--gold); cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: background-color .2s, color .2s, opacity .25s; }
.back-to-top[hidden] { display: none; }
.back-to-top svg { transform: rotate(180deg); }
.back-to-top:hover { background: var(--gold); color: var(--black); }

/* ---- Motion set (3): scroll-reveal · header hide-on-scroll · hero glyph ---- */
.site-header { transition: transform .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
main { overflow-x: clip; }  /* contain the diagonal reveal slide so it can't spawn a horizontal scrollbar */
.js main > section:not(.hero) { opacity: 0; transition: opacity .55s ease, transform .85s cubic-bezier(.2,.8,.2,1); }  /* start offset is set per-segment by JS (rotating direction) */
.js main > section.is-visible { opacity: 1; transform: none; }
/* failsafe: if main.js never loads, show everything */
.no-reveal main > section { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js main > section:not(.hero) { opacity: 1; transform: none; transition: none; }
  .hero-glyph { animation: none; opacity: 1; }
  .site-header, .service-card { transition: none; }
}

/* ---------- SPARK method widget (Design System §10) ----------
   Proportions mirror the DS: a contained surface panel (radius 16 / pad 34-36-30),
   46px letters acting as the tabs, 10px small-caps words, a 178px stage. */
.spark-model {
  position: relative; margin-top: 2.5rem; overflow: hidden;   /* full container width — the SPARK method is the signature element */
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface2); padding: 34px 36px 30px;
}
.spark-letters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.spark-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; padding: 0.5rem 0.35rem; border: 1px solid var(--border-strong); border-radius: 14px;
  background: var(--bg); cursor: pointer; text-align: center; color: inherit; overflow: hidden;
  box-shadow: inset 0 2px 7px rgba(0,0,0,.55);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.spark-letter { font-size: clamp(2rem, 6vw, 4.75rem); font-weight: 700; line-height: 1; color: var(--muted); transition: color .4s ease, transform .4s ease; }
.spark-word { margin-top: 6px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .4s ease; }
.spark-tile.is-on {
  background: var(--gold); border-color: transparent;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 30px rgba(253,195,0,.35), 0 0 0 4px rgba(253,195,0,.14);
}
.spark-tile.is-on .spark-letter { color: var(--black); transform: scale(1.06); }
.spark-tile.is-on .spark-word { color: rgba(29,29,27,.62); }
.spark-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.spark-progress { height: 3px; margin: 20px 0; background: var(--border); border-radius: 2px; overflow: hidden; }
.spark-progress-bar { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 2px; }

.spark-stage { position: relative; display: grid; min-height: 178px; }
.spark-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.spark-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.spark-panel-meta { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; }
.spark-panel-meta span:first-child { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.spark-panel-meta span:last-child { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.spark-panel-title { font-size: clamp(1.5rem, 3.5vw, 1.875rem); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; }
.spark-panel-body { font-size: 1rem; color: var(--muted); max-width: 62ch; margin: 0; }
.spark-more { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 18px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.spark-more svg { width: 14px; height: 14px; }
.spark-more:hover { color: var(--gold-strong); }

@media (max-width: 640px) {
  .spark-model { padding: 22px 18px 20px; }
  .spark-letters { gap: 6px; }
  .spark-tile { padding: 14px 4px 12px; border-radius: 10px; }
  .spark-word { font-size: 0.55rem; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
  .spark-tile, .spark-panel, .spark-letter, .avatar-wrap img { transition: none !important; }
  .spark-tile.is-on { transform: none; }
}

/* ---------- Contact §12 — topic → suggested partner → details ---------- */
.contact-form { gap: 2rem; }
.form-step { display: flex; flex-direction: column; gap: 0.85rem; }
.form-step-label { margin: 0; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 8px; padding: 0.85rem 2.5rem 0.85rem 1rem; font: inherit; font-size: 0.95rem; cursor: pointer;
}
.select-wrap select:focus { outline: none; border-color: var(--gold); }
.select-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.contact-suggest { margin: 0; font-size: 0.9rem; color: var(--muted); }
.contact-suggest b { color: var(--text); }

.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 640px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-btn {
  display: flex; flex-direction: column; gap: 0.2rem; text-align: left;
  border: 1px solid var(--border-strong); background: #1D1D1B; color: var(--text);
  border-radius: var(--radius); padding: 0.7rem 0.85rem; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.who-btn:hover { border-color: var(--gold); }
.who-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.who-name { font-weight: 700; font-size: 0.95rem; }
.who-tag { font-size: 0.72rem; color: var(--muted); }
.who-btn.is-on { background: var(--gold); border-color: transparent; color: var(--black); box-shadow: 0 6px 18px rgba(253,195,0,.28); transform: translateY(-1px); }
.who-btn.is-on .who-tag { color: rgba(29,29,27,.62); }

/* team-card "Talk to" deep-link + profile-dialog footer */
.member-talk {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: auto;
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 11px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text); text-decoration: none; transition: border-color .2s, color .2s, box-shadow .2s;
}
.member-talk svg { width: 14px; height: 14px; }
.member-talk:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(253,195,0,.10), 0 6px 18px rgba(253,195,0,.18); }
.profile-foot { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }

/* persistent CTA pill (fixed, site-wide) */
.talk-cta {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 56;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--black); text-decoration: none;
  border-radius: 6px; padding: 0.75rem 1.25rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);   /* plain drop shadow — no permanent yellow halo (fixes "stuck in hover" look) */
  transition: box-shadow .2s ease, opacity .25s ease, visibility .25s ease;
}
.talk-cta svg { width: 15px; height: 15px; }
/* yellow glow ONLY on a real hover (hover-capable devices), so touch taps don't leave it stuck */
@media (hover: hover) { .talk-cta:hover { box-shadow: 0 0 0 4px rgba(253,195,0,.2), 0 10px 32px rgba(253,195,0,.5); } }  /* yellow glow on hover, matching (a touch stronger than) the primary button */
.talk-cta.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
/* stack back-to-top above the pill */
.back-to-top { bottom: 5rem; }
@media (max-width: 480px) {
  .talk-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .talk-cta { padding: 0.85rem; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-cta { transition: opacity .25s ease, visibility .25s ease; }
  .talk-cta:hover, .who-btn.is-on { transform: none; }
}

/* ---------- §08 services — DS verb-tile grid ---------- */
.services-grid { gap: 14px; }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { gap: 8px; padding: 22px 20px; }
.service-card:hover { border-color: var(--gold); transform: none; }
.service-title { font-size: 18px; letter-spacing: 0.04em; margin-bottom: 8px; }
.service-card--note { align-items: center; justify-content: center; text-align: center; border-style: dashed; border-color: var(--border-strong); background: transparent; color: var(--muted); font-size: 0.85rem; }

/* ---------- §09 engagement — DS numbered cards ---------- */
.eng-levels { display: grid; gap: 16px; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .eng-levels { grid-template-columns: repeat(3, 1fr); } }
.eng-level { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 26px 24px; }
.eng-num { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; }
.eng-level-title { font-size: 20px; font-weight: 700; margin: 8px 0 18px; }
.eng-level-label { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.eng-level-val { margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: var(--text); }
.eng-level-val:last-child { margin-bottom: 0; }

/* ---------- §11 insights — colour-coded file-type badge is styled as .pub-filetype above ---------- */

/* ---------- service detail pages (/{Verb}Service) ---------- */
.service-hero { padding: 8rem 0 2rem; border-bottom: 1px solid var(--border); }
.service-back { color: var(--muted); text-decoration: none; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.service-back:hover { color: var(--gold); }
.service-name { font-size: clamp(2.6rem, 7vw, 4.75rem); font-weight: 800; letter-spacing: -.01em; color: var(--gold); line-height: 1; margin: .5rem 0 .75rem; }
.service-lead { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--text); max-width: 40rem; }
.service-detail-section { padding-top: 3rem; }
.service-cols { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .service-cols { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.service-col-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1.1rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.service-list li { position: relative; padding-left: 1.3rem; color: var(--text); font-size: .98rem; line-height: 1.5; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.service-partners { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.service-partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.service-partner-list li { color: var(--text); font-weight: 600; }
.service-partner-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.service-partner-list a:hover { color: var(--gold); }
.service-cta { margin-top: 3.5rem; }

/* service cards are now links to their detail page */
a.service-card { text-decoration: none; color: inherit; }
.service-card-go { margin-top: auto; color: var(--muted); display: inline-flex; opacity: .55; transition: color .2s, opacity .2s, transform .2s; }
a.service-card:hover .service-card-go { color: var(--gold); opacity: 1; transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .service-card-go { transition: none; } }

/* Members-only lock — designed threshold to SPARKompass (hub login) */
.members-lock { display: inline-flex; align-items: center; gap: .42rem; color: var(--gold); border: 1px solid rgba(253,195,0,.32); border-radius: var(--btn-radius); padding: .34rem .72rem; font-size: .78rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, box-shadow .2s; }
.members-lock:hover, .members-lock:focus-visible { border-color: var(--gold); background: rgba(253,195,0,.09); box-shadow: 0 0 0 3px rgba(253,195,0,.10); outline: none; }
.members-lock svg { width: 15px; height: 15px; display: block; overflow: visible; }
.members-lock .shackle { transition: transform .22s ease; }
.members-lock:hover .shackle, .members-lock:focus-visible .shackle { transform: translateY(-2px); }
.members-lock--mobile { margin-top: .5rem; align-self: flex-start; }
@media (max-width: 1040px) { .nav-actions .members-lock .label { display: none; } .nav-actions .members-lock { padding: .38rem; } }
@media (prefers-reduced-motion: reduce) { .members-lock, .members-lock .shackle { transition: none; } .members-lock:hover .shackle, .members-lock:focus-visible .shackle { transform: none; } }
