/* fonts.css */
/* Local Latin and Latin-ext subsets; OFL licenses accompany the fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/optimized/fonts/inter-normal-latin-ext-a9d11b3ffe7a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/optimized/fonts/inter-normal-latin-e3237528af75.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/optimized/fonts/jetbrains-mono-normal-latin-ext-b19c2080652a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/optimized/fonts/jetbrains-mono-normal-latin-cc27b3047125.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/optimized/fonts/source-serif-4-normal-latin-ext-d017819303fd.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/optimized/fonts/source-serif-4-normal-latin-326b4b869c59.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* styles.css */
/* ============================================================================
   GADIEL ANALYTICS  ·  styles.css  [v2 — Business Consulting Design Upgrade]
   ----------------------------------------------------------------------------
   DROP-IN REPLACEMENT for the existing styles.css.
   Zero HTML changes required. Same class names, same structure.

   WHAT CHANGED FROM v1:
     — Hero becomes dark-navy immersive (McKinsey/Apple effect)
     — Header: transparent glass over hero → frosted white on scroll
     — Shadow / elevation token system added
     — Expertise cards: elevated white cards on hover (depth vs. flat tint)
     — Work cards: shadow system, no border-only treatment
     — Consulting section: dark graphite breakout (strong visual anchor)
     — Reveal-on-scroll: very minimal, section-level only (applied by script.js)
     — Authority strip: stronger visual weight
     — Refined button sizing and hover transitions
     — Active nav state via JS
     — Minor proportion / spacing refinements throughout

   WHAT DID NOT CHANGE:
     — Brand colors (navy / blue / graphite)
     — Typography families (Source Serif 4 / Inter / JetBrains Mono)
     — Layout grid structure
     — Mobile behavior

   Sections:
     1.  Reset & base
     2.  Design tokens
     3.  Typography
     4.  Layout primitives
     5.  Buttons
     6.  Header & navigation
     7.  Hero  [DARK — major change]
     8.  Authority strip
     9.  About
    10.  Expertise
    11.  Work / Portfolio
    12.  Book
    13.  Labs
    14.  Consulting  [DARK — major change]
    15.  Wyckham House
    16.  Insights
    17.  Social
    18.  Contact
    19.  Footer
    20.  Reveal animation
    21.  Motion preferences
    22.  Responsive — breakpoints
============================================================================ */


/* 1. Reset & base ----------------------------------------------------------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-blue); }

ul, ol { list-style: none; padding: 0; margin: 0; }

button { font: inherit; cursor: pointer; background: none; border: 0; }

::selection { background: var(--brand-navy); color: #fff; }

.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--brand-navy); color: #fff;
  padding: 8px 14px; border-radius: 2px;
  font-size: 14px; z-index: 1000;
}
.skip-link:focus { top: 16px; outline: none; color: #fff; }


/* 2. Design tokens ---------------------------------------------------------- */

:root {
  /* Surfaces */
  --surface-base: #FFFFFF;
  --surface-warm: #F7F5F0;
  --surface-cool: #EEF1F4;
  --surface-dark: #111827;       /* NEW: deepest dark for hero */

  /* Text */
  --text-primary: #1F2328;
  --text-secondary: #3A3F46;
  --text-muted: #586474;

  /* Brand */
  --brand-navy: #1F3A5F;
  --brand-blue: #1F5E8C;

  /* Hero */
  --hero-bg: #0D1C2E;            /* NEW: deep editorial navy for hero */

  /* Structural */
  --graphite: #2B2F36;
  --space-gray: #3A3F46;
  --slate: #7A8594;
  --rule: rgba(31, 35, 40, 0.10);
  --rule-strong: rgba(31, 35, 40, 0.20);

  /* Shadows — NEW elevation system */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13), 0 6px 20px rgba(0,0,0,0.07);
  --shadow-xl: 0 32px 64px rgba(0,0,0,0.16), 0 12px 32px rgba(0,0,0,0.09);

  /* Type stack */
  --font-display: 'Source Serif 4', 'Source Serif Pro', 'Iowan Old Style',
                  Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Scale */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(72px, 10vw, 152px);
  --radius: 2px;
  --transition: cubic-bezier(.2, .6, .2, 1);
}


/* 3. Typography ------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.014em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }
strong { font-weight: 600; color: var(--text-primary); }

.display-lg {
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.display-md {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.016em;
}
.display-sm {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 18px;
}
.eyebrow.centered { text-align: center; }

.muted { color: var(--text-muted); }
.centered { text-align: center; }


/* 4. Layout primitives ------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main > section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

main > section + section {
  border-top: 1px solid var(--rule);
}

.alt-surface { background: var(--surface-warm); }

.section-head {
  max-width: 880px;
  margin: 0 auto 72px;
}
.section-head.centered { text-align: center; }

.section-lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 65ch;
  margin-top: 16px;
}
.section-head.centered .section-lede { margin-left: auto; margin-right: auto; }


/* 5. Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.012em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .22s var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.btn-primary:hover {
  background: var(--graphite);
  border-color: var(--graphite);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-text {
  padding: 8px 0;
  color: var(--brand-navy);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.btn-text:hover {
  color: var(--graphite);
  border-bottom-color: var(--graphite);
}


/* 6. Header & navigation ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Default: frosted white (scrolled state) */
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--rule);
  transition:
    background .28s ease,
    border-color .28s ease,
    backdrop-filter .28s ease;
}

/* Sticky header retains a light surface and dark text at every scroll position. */


/* Active nav link state (set by script.js) */
.nav-menu a.nav-active {
  color: var(--brand-navy);
  border-bottom-color: var(--brand-navy);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-primary);
  transition: color .28s ease;
}
.brand-suffix {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-navy);
  padding-top: 2px;
  transition: color .28s ease;
}
.brand-text--footer .brand-name { color: #fff; }
.brand-text--footer .brand-suffix { color: rgba(255,255,255,0.78); }
.brand-mark { height: 22px; width: auto; }

.site-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.005em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-menu a:hover {
  color: var(--brand-navy);
  border-bottom-color: var(--brand-navy);
}
.nav-menu .nav-cta {
  padding: 8px 18px;
  background: var(--text-primary);
  color: #fff;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-menu .nav-cta:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: transform .25s var(--transition), opacity .15s ease, background .28s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* 7. Hero [DARK] ----------------------------------------------------------- */

.hero {
  padding-top: clamp(80px, 16vh, 160px) !important;
  padding-bottom: clamp(80px, 16vh, 160px) !important;
  background: var(--hero-bg);
  border-top: 0 !important;
  border-bottom: 0 !important;
  overflow: hidden;
  position: relative;
}

/* Subtle radial light source — adds depth without pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 65% -10%, rgba(31, 94, 140, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(31, 58, 95, 0.20) 0%, transparent 60%);
  pointer-events: none;
}

/* Grain texture overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

/* Eyebrow on dark hero */
.hero .eyebrow { color: rgba(255, 255, 255, 0.48); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.024em;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 28px;
  max-width: 22ch;
  text-wrap: balance;
}

/* Italic emphasis — stays white but distinguishes via style */
.hero-emph {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 52ch;
  margin: 0 0 40px;
}

/* em inside hero-sub — slightly brighter */
.hero-sub em { color: rgba(255,255,255,0.8); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

/* Buttons on dark hero */
.hero .btn-primary {
  background: #ffffff;
  color: var(--hero-bg);
  border-color: #ffffff;
}
.hero .btn-primary:hover {
  background: var(--surface-cool);
  border-color: var(--surface-cool);
  color: var(--hero-bg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero .btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.36);
}
.hero-meta .dot { opacity: 0.5; }


/* 8. Authority -------------------------------------------------------------- */

.authority { text-align: center; }
.authority .display-md { max-width: 26ch; margin-left: auto; margin-right: auto; }
.authority-lede {
  max-width: 64ch;
  margin: 0 auto 64px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Upgraded authority strip — bolder, more architectural */
.authority-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: 24px 0;
  margin-top: 8px;
}
.authority-strip li {
  padding: 8px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brand-navy);
  position: relative;
}
.authority-strip li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 16px;
  background: var(--rule-strong);
}


/* 9. About ------------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

.about-figure { position: relative; }
.about-portrait {
  width: 100%;
  height: auto;
  background: var(--surface-warm);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);  /* portrait gets elevation */
}
.figure-caption {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 14px 0 0;
  text-align: center;
}

.about-body p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.72;
  color: var(--text-secondary);
}
.about-body p:first-of-type {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--text-primary);
  line-height: 1.55;
}

.credentials {
  margin: 40px 0 24px;
  display: grid;
  gap: 28px;
}
.credentials > div {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.credentials dt {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.credentials dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.about-actions { margin-top: 8px; }


/* 10. Expertise ------------------------------------------------------------- */

/* Upgraded: white floating cards with shadow, vs flat bordered grid */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--rule);         /* gap color = hairline rule */
  border: 1px solid var(--rule);
  overflow: hidden;
}

.expertise-card {
  padding: 44px 40px 48px;
  background: var(--surface-warm); /* slightly warm to separate from bg */
  transition: background .25s var(--transition), box-shadow .25s var(--transition), transform .25s var(--transition);
  position: relative;
}
.expertise-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.002);
  z-index: 2;
}

.card-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 20px;
}
.expertise-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.010em;
}
.expertise-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}


/* 11. Work ------------------------------------------------------------------ */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Upgraded: elevated card system */
.work-card {
  background: var(--surface-base);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-xs);
  transition:
    border-color .25s var(--transition),
    transform .3s var(--transition),
    box-shadow .3s var(--transition);
}
.work-card:hover {
  border-color: rgba(31, 35, 40, 0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work-card-inner {
  display: block;
  padding: 40px 36px;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.work-card--anchor {
  background: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: none;
}
.work-card--anchor .work-card-inner { color: #fff; }
.work-card--anchor h3 { color: #fff; }
.work-card--anchor p { color: rgba(255,255,255,0.72); }
.work-card--anchor .work-tag {
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.15);
}
.work-card--anchor .work-status { color: rgba(255,255,255,0.85); }
.work-card--anchor .work-cta { color: #fff; border-bottom-color: rgba(255,255,255,0.35); }
.work-card--anchor:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.work-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-navy);
  padding: 5px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.work-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
}
.work-status--soon { color: var(--text-muted); }

.work-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 12px;
  letter-spacing: -0.012em;
}
.work-card p {
  font-size: 15.5px;
  line-height: 1.68;
  margin-bottom: 24px;
}
.work-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule-strong);
  transition: color .2s ease, border-color .2s ease;
}
.work-card:hover .work-cta {
  color: var(--graphite);
  border-bottom-color: var(--graphite);
}

.work-footnote {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}


/* 12. Book ------------------------------------------------------------------ */

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

.book-figure { display: flex; justify-content: center; }
.book-cover {
  max-width: 360px;
  width: 100%;
  height: auto;
  /* Upgraded book shadow — more dramatic for editorial presence */
  box-shadow:
    0 2px 0 rgba(31, 35, 40, 0.06),
    0 40px 80px -24px rgba(31, 35, 40, 0.30),
    0 20px 40px -20px rgba(31, 35, 40, 0.20);
  transition: box-shadow .35s var(--transition), transform .35s var(--transition);
}
.book-figure:hover .book-cover {
  box-shadow:
    0 2px 0 rgba(31, 35, 40, 0.06),
    0 56px 96px -24px rgba(31, 35, 40, 0.36),
    0 28px 52px -20px rgba(31, 35, 40, 0.24);
  transform: translateY(-4px) rotate(-0.5deg);
}

.book-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  color: var(--text-secondary);
  margin: -10px 0 20px;
  max-width: 28ch;
}

.book-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 28px;
}

.book-toc {
  margin: 28px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.book-toc li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 15.5px;
  border-bottom: 1px solid var(--rule);
}
.book-toc li:last-child { border-bottom: 0; }
.book-toc li span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
  padding-top: 2px;
}

.book-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.book-imprint {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}


/* 13. Labs ------------------------------------------------------------------ */

.labs-list {
  border-top: 1px solid var(--rule);
}
.labs-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .2s ease;
}
.labs-id {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  padding-top: 6px;
}
.labs-row h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  margin-bottom: 6px;
  letter-spacing: -0.008em;
}
.labs-row p {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin: 0;
}
.labs-status {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 6px;
  white-space: nowrap;
}


/* 14. Consulting [DARK] ----------------------------------------------------- */

.consulting {
  background: var(--graphite);
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* All text resets for dark surface */
.consulting .eyebrow { color: rgba(255, 255, 255, 0.65); }
.consulting h2, .consulting h3 { color: #ffffff; }
.consulting .display-md { color: #ffffff; }
.consulting p { color: rgba(255, 255, 255, 0.65); }
.consulting .section-lede { color: rgba(255, 255, 255, 0.65); }

.consulting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.consulting-head .display-md {
  max-width: 22ch;
  letter-spacing: -0.014em;
}
.consulting-list {
  margin: 28px 0 36px;
  display: grid;
  gap: 22px;
}
.consulting-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}
.consulting-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.30);
  font-weight: 500;
}
.consulting-list strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* Keep keyboard focus visible against the graphite surface. */
.consulting :focus-visible { outline-color: #ffffff; }

/* Buttons on dark consulting section */
.consulting .btn-primary {
  background: #ffffff;
  color: var(--graphite);
  border-color: #ffffff;
}
.consulting .btn-primary:hover {
  background: var(--surface-cool);
  border-color: var(--surface-cool);
  color: var(--graphite);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.consulting .btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
}
.consulting .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.40);
  transform: translateY(-1px);
}


/* 15. Wyckham House --------------------------------------------------------- */

.wyckham {
  text-align: center;
}
.wyckham-inner {
  max-width: 720px;
  margin: 0 auto;
}
.wyckham-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
}
.wyckham-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  line-height: 1;
}
.wyckham-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: var(--rule-strong);
  margin-top: 6px;
}
.wyckham-suffix {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wyckham .display-sm { max-width: 28ch; margin-left: auto; margin-right: auto; }
.wyckham p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  margin: 0 auto 24px;
  max-width: 56ch;
}
.wyckham-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}


/* 16. Insights -------------------------------------------------------------- */

.insights-list {
  border-top: 1px solid var(--rule);
}
.insights-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .2s ease;
}
.insights-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  padding-top: 6px;
}
.insights-row h3 {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 8px;
  letter-spacing: -0.012em;
}
.insights-row p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}


/* 17. Social ---------------------------------------------------------------- */

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 40px;
}
.social-card {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border: 1px solid var(--rule);
  background: var(--surface-base);
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition:
    border-color .22s ease,
    transform .25s var(--transition),
    box-shadow .25s var(--transition);
}
.social-card:hover {
  border-color: rgba(31, 58, 95, 0.22);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.social-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-navy);
}
.social-handle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.social-note {
  font-size: 14px;
  color: var(--text-muted);
  text-align: right;
}


/* 18. Contact --------------------------------------------------------------- */

.contact-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.contact-inner .display-md { max-width: 24ch; margin-left: auto; margin-right: auto; }

.contact-lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-secondary);
  margin: 0 auto 36px;
  max-width: 54ch;
  line-height: 1.68;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.contact-footnote {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 56ch;
  margin: 0 auto;
}


/* 19. Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .brand-text { margin-bottom: 16px; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 32ch;
  margin: 0;
}
.footer-tag a {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color .2s ease, border-color .2s ease;
}
.footer-tag a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.footer-nav h2,
.footer-imprint h2 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
}
.footer-nav ul li { padding: 4px 0; }
.footer-nav a {
  color: rgba(255,255,255,0.58);
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer-nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.4);
}

.footer-imprint p { color: rgba(255,255,255,0.58); margin: 0 0 12px; font-size: 14px; line-height: 1.65; }
.footer-imprint .copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom {
  padding-top: 32px;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.68);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-bottom a:hover { color: #fff; border-bottom-color: #fff; }


/* 20. Reveal animation ------------------------------------------------------ */

/* Applied to elements via script.js — starts hidden, transitions to visible.
   If JS doesn't run, nothing is hidden (no .reveal class applied). */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.60s cubic-bezier(.2,.6,.2,1),
    transform 0.60s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delay variants for grid children */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }


/* 21. Motion preferences --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 2px;
}


/* 22. Responsive — breakpoints --------------------------------------------- */

/* === >= 640px ============================================================ */
@media (min-width: 640px) {
  body { font-size: 17px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
}

/* === >= 768px ============================================================ */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 72px;
  }
  .credentials { grid-template-columns: 1fr 1fr; gap: 32px; }
  .credentials > div:nth-child(3) { grid-column: 1 / -1; }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 56px;
  }
}

/* === >= 960px ============================================================ */
@media (min-width: 960px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .book-grid {
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 96px;
    align-items: start;
  }

  .consulting-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* === >= 1200px =========================================================== */
@media (min-width: 1200px) {
  main > section { padding-top: 152px; padding-bottom: 152px; }
}


/* === Mobile nav (< 768px) ================================================ */
@media (max-width: 767.98px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--surface-base);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px var(--gutter) 48px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s var(--transition);
    overflow-y: auto;
    border-top: 1px solid var(--rule);
  }
  .nav-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    font-family: var(--font-display);
    font-weight: 500;
    border-bottom: 1px solid var(--rule);
    /* override hero transparency in mobile menu */
    color: var(--text-primary) !important;
    border-color: var(--rule) !important;
  }
  .nav-menu .nav-cta {
    margin-top: 18px;
    background: var(--text-primary) !important;
    color: #fff !important;
    text-align: center;
    border-radius: var(--radius);
    border-bottom: 0 !important;
  }
  body.nav-open { overflow: hidden; }
}


/* === Social card / small screen tweaks =================================== */
@media (max-width: 639.98px) {
  .social-card { grid-template-columns: 1fr; gap: 6px; }
  .social-note { text-align: left; }
  .insights-row { grid-template-columns: 1fr; gap: 6px; }
  .labs-row { grid-template-columns: 60px 1fr; }
  .labs-status { grid-column: 1 / -1; padding-top: 0; }
  .work-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* === Print styles (light) ================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle,
  .hero-actions, .contact-actions { display: none; }
  body { font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .hero { background: #fff !important; }
  .hero-title, .hero-emph, .hero-sub, .hero-meta { color: #000 !important; }
  .consulting { background: #fff !important; }
  .consulting h2, .consulting p, .consulting .consulting-list li { color: #000 !important; }
}


/* ============================================================================
   CONSENT BANNER
   ----------------------------------------------------------------------------
   Fixed bottom bar. Visible until user accepts or declines.
   Matches the brand: graphite surface, Inter, mono details.
   z-index 200 — above header (50) and page-subnav (40).
============================================================================ */

#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--graphite);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px var(--gutter);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);

  /* Slide up on load */
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.2, .6, .2, 1);
}
#consent-banner.is-visible {
  transform: translateY(0);
}
#consent-banner.is-dismissed {
  transform: translateY(110%);
  pointer-events: none;
}

.consent-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.consent-text {
  flex: 1 1 320px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.consent-text strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.consent-text a {
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: inherit;
  transition: color .2s ease, border-color .2s ease;
}
.consent-text a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Accept — white fill, matches "primary on dark" pattern from consulting section */
.consent-accept {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #ffffff;
  color: var(--graphite);
  border: 1px solid #ffffff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  white-space: nowrap;
}
.consent-accept:hover {
  background: var(--surface-cool);
  border-color: var(--surface-cool);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Decline — ghost, matches btn-ghost on dark */
.consent-decline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
  white-space: nowrap;
}
.consent-decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

/* Region note — small mono detail below buttons on narrow screens */
.consent-region {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 4px;
  display: none;    /* shown only on mobile via media query */
}

@media (max-width: 639.98px) {
  .consent-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .consent-actions { width: 100%; }
  .consent-accept, .consent-decline { flex: 1; justify-content: center; }
  .consent-region { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  #consent-banner { transition: none; }
}

@media print {
  #consent-banner { display: none; }
}

/* ============================================================================
   CONSENT BANNER — compaction override  (appended update)
   Reduces banner height on desktop from ~84px to ~64px: tighter vertical
   padding, single-line text, slightly smaller buttons. Original rules above
   remain; these win by source order.
   ============================================================================ */
#consent-banner { padding-top: 14px; padding-bottom: 14px; }
.consent-inner { gap: 14px 32px; }
.consent-text { flex: 1 1 auto; font-size: 13px; line-height: 1.5; }
.consent-accept { padding: 9px 20px; font-size: 13px; }
.consent-decline { padding: 9px 16px; font-size: 12.5px; }

/* ---- BOOK COVER — 3D mockup modifier (transparent cutout) ----
   The mockup is a transparent-background PNG. box-shadow would paint the
   image's RECTANGLE (visible as a box); filter: drop-shadow follows the
   alpha silhouette instead. The render already carries its own shadow, so
   this is a light grounding shadow only. Hover lifts without rotation. */
.book-cover--mockup {
  box-shadow: none;
  filter: drop-shadow(0 18px 24px rgba(31, 35, 40, 0.18));
  max-width: 400px;
  transition: filter .35s var(--transition), transform .35s var(--transition);
}
.book-figure:hover .book-cover--mockup {
  filter: drop-shadow(0 26px 32px rgba(31, 35, 40, 0.24));
  transform: translateY(-4px);
}


/* Persistent analytics preferences and touch targets. */
.privacy-choices { font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; min-height: 44px; cursor: pointer; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.privacy-choices:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* pages.css */
/* ============================================================================
   GADIEL ANALYTICS  ·  pages.css  [Multi-page architecture components]
   ----------------------------------------------------------------------------
   Loaded AFTER styles.css on every page:
     <link rel="stylesheet" href="/styles.css">
     <link rel="stylesheet" href="/pages.css">

   Adds the connective tissue for a multi-page site without altering any
   existing component. Inherits all v2 design tokens (hero-bg, shadows, type).

   Components:
     A.  Page header  (dark band atop sub-pages — matches hero aesthetic)
     B.  Breadcrumb
     C.  Section sub-navigation  (Work · Writing · Labs)
     D.  Section foot  (homepage "View all →" link wrapper)
     E.  Page back     (return-to-home strip at bottom of sub-pages)
     F.  Empty / forthcoming note
     G.  Long-form article
============================================================================ */


/* A. Page header ------------------------------------------------------------ */

.page-header {
  background: var(--hero-bg);
  color: #ffffff;
  padding-top: clamp(124px, 19vh, 208px);
  padding-bottom: clamp(56px, 8vw, 92px);
  position: relative;
  overflow: hidden;
  border-top: 0 !important;
}

/* Radial light source — same language as the hero */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 70% -20%, rgba(31, 94, 140, 0.26) 0%, transparent 58%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(31, 58, 95, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.page-header .eyebrow { color: rgba(255, 255, 255, 0.48); }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 22px;
  max-width: 20ch;
  text-wrap: balance;
}

.page-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.64);
  max-width: 60ch;
  margin: 0;
}
.page-lede em { color: rgba(255, 255, 255, 0.82); }


/* B. Breadcrumb ------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 30px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.breadcrumb a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.85); }


/* C. Section sub-navigation ------------------------------------------------- */

.page-subnav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 59px;
  z-index: 40;
}
.page-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding-top: 0;
  padding-bottom: 0;
}
.page-subnav a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 20px 22px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.page-subnav a:hover { color: var(--brand-navy); }
.page-subnav a.is-active {
  color: var(--brand-navy);
  border-bottom-color: var(--brand-navy);
}


/* D. Section foot (homepage "View all →") ----------------------------------- */

.section-foot {
  margin-top: 48px;
  display: flex;
}
.section-foot.centered { justify-content: center; }

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule-strong);
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.view-all:hover {
  color: var(--graphite);
  border-bottom-color: var(--graphite);
  gap: 12px;
}


/* Text links on the homepage's dark advisory surface. */
.consulting .view-all {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}
.consulting .view-all:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}
@media print {
  .consulting .view-all,
  .consulting .view-all:hover {
    color: #000000;
    border-bottom-color: currentColor;
  }
}


/* E. Page back (return-to-home strip) --------------------------------------- */

.page-back {
  border-top: 1px solid var(--rule);
  background: var(--surface-base);
}
.page-back-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 56px;
  padding-bottom: 80px;
}
.page-back-inner p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.page-back .view-all { font-size: 16px; }


/* F. Forthcoming / empty note ----------------------------------------------- */

.page-note {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--surface-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.page-note strong { color: var(--text-secondary); font-weight: 600; }


/* G. Long-form article ------------------------------------------------------- */

.page-header--article {
  padding-bottom: clamp(64px, 9vw, 108px);
}

.article-shell {
  background: var(--surface-base);
  padding: clamp(64px, 8vw, 104px) 24px clamp(76px, 10vw, 128px);
}

.article-body {
  width: min(100%, 760px);
  margin: 0 auto;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.article-body p {
  font-size: clamp(18px, 1.65vw, 20px);
  line-height: 1.78;
  margin: 0 0 1.45em;
}

.article-body .article-deck {
  font-size: clamp(22px, 2.25vw, 28px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 2.2em;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand-navy);
  margin: 2.15em 0 0.75em;
}

.article-body strong {
  font-weight: 650;
  color: var(--graphite);
}

.article-body a {
  color: var(--brand-navy);
  border-bottom: 1px solid var(--rule-strong);
}
.article-body a:hover { border-bottom-color: var(--brand-navy); }

.article-book-note {
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(28px, 4vw, 42px);
  background: var(--surface-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.article-book-note .eyebrow {
  margin-bottom: 12px;
}

.article-book-note h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 2.5vw, 32px);
}

.article-book-note p:last-child { margin-bottom: 0; }


/* Responsive ---------------------------------------------------------------- */

@media (max-width: 639.98px) {
  .page-subnav { top: 57px; }
  .page-subnav a { padding: 16px 16px; letter-spacing: 0.12em; font-size: 12px; }
  .page-back-inner { flex-direction: column; align-items: flex-start; }
  .article-shell { padding-left: 20px; padding-right: 20px; }
}

@media print {
  .page-header { background: #fff !important; }
  .page-title, .page-lede, .breadcrumb { color: #000 !important; }
  .page-subnav, .page-back { display: none; }
  .article-shell { padding-top: 32px; }
}


.article-body h3 {font-size:clamp(23px,2.3vw,29px);line-height:1.3;margin:1.8em 0 .7em;}
.article-body ul {padding-left:1.3em;margin:0 0 2em;list-style:disc;}
.article-body li {font-size:clamp(18px,1.65vw,20px);line-height:1.7;margin-bottom:.65em;}

/* Live book editions: contextual sales within the professional practice. */
.book-purchase-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-block: 24px 12px; }
.book-purchase-actions .btn { min-height: 48px; min-width: 190px; text-align: center; }
.book-purchase-actions .btn-primary { color: #fff; border-color: var(--brand-navy); }
.btn-kindle { background: transparent; color: var(--brand-navy); border-color: var(--brand-navy); }
.btn-kindle:hover { background: var(--brand-navy); color: #fff; }
.book-purchase-note { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-block: 12px 24px; }
.book-purchase-note a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 3px; }
.book-editorial-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 20px 28px; }
.book-editorial-links a { font-size: 15px; font-weight: 500; color: var(--brand-navy); text-decoration: underline; text-underline-offset: 4px; }
.book-page-header .btn-kindle { border-color: #fff; color: #fff; }
.book-page-header .btn-kindle:hover { background: #fff; color: var(--brand-navy); }
.book-page-header .btn-primary { background: #fff; color: var(--brand-navy); border-color: #fff; }
.book-page-header .btn-primary:hover { background: var(--surface-cool); color: var(--brand-navy); }
.book-page-header .book-purchase-note, .book-page-header .book-purchase-note a { color: #fff; }
.book-detail { padding-block: clamp(48px, 7vw, 96px); }
.book-international { padding-block: clamp(48px, 7vw, 96px); }
.book-directory-lede { max-width: 66ch; margin-top: 24px; }
.book-market-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; border-block: 1px solid var(--rule-strong); padding-block: 24px; margin-top: 32px; }
.book-market-controls > div { flex: 1 1 220px; min-width: 0; }
.book-market-controls label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.book-market-controls select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--text-muted); border-radius: var(--radius); background: var(--surface-base); color: var(--text-primary); font: inherit; font-size: 15px; }
.book-market-controls button { min-height: 48px; cursor: pointer; }
.book-market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
.book-market-card { min-width: 0; padding: clamp(20px, 3vw, 36px); border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.book-market-card h3 { font-family: var(--font-display); font-size: 27px; line-height: 1.2; margin-bottom: 12px; }
.book-market-store, .book-market-note { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.book-market-card .book-purchase-actions .btn { min-width: 0; flex: 1 1 180px; }
.book-market-card .book-purchase-actions { margin-block: 20px 12px; }
.book-market-note { margin-bottom: 0; }
.book-market-empty { padding: 24px; border: 1px solid var(--rule-strong); }
.book-practice { padding-block: clamp(48px, 7vw, 96px); }
.book-practice .display-md { max-width: 25ch; }
.book-practice p:not(.eyebrow) { margin-top: 24px; max-width: 66ch; }
[hidden] { display: none !important; }
@media (max-width: 580px) {
  .book-market-grid { grid-template-columns: 1fr; }
  .book-purchase-actions .btn { width: 100%; }
  .book-market-controls button { width: 100%; }
}

/* showroom.css */
/* ============================================================================
   GADIEL ANALYTICS · showroom.css
   Dashboard-first product showroom. Loaded statically on Home and /work/.
============================================================================ */

.work-card--showcase .work-card-inner {
  display: flex;
  flex-direction: column;
}

.work-preview {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 6px 0 24px;
  background: var(--surface-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.work-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.work-preview.is-missing {
  display: none;
}

.work-card--anchor .work-preview {
  border-color: rgba(255,255,255,.16);
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: auto;
}

.work-actions .work-cta {
  margin: 0;
}

.work-cta--primary {
  font-weight: 600;
}

.work-cta--secondary {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom-color: transparent;
}

.work-card--anchor .work-cta--secondary {
  color: rgba(255,255,255,.62);
}

.work-card--anchor:hover .work-cta {
  color: #fff;
}

.work-note {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 639.98px) {
  .work-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
