/* =============================================================================
   KT SECURE, Website
   Aesthetic: editorial gravitas · practitioner-led · refined, not loud
   Palette: ratified navy + gold (matches pitch deck and Case Study 01)
   Typography: Georgia display + Arial body (brand-standard pairing)
   ============================================================================= */

/* ---------- Fonts ----------
   Georgia and Arial are system-safe. Only IBM Plex Mono loads externally
   (for meta labels and eyebrows, adds technical grain on brand).
   ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Ink, deck navy */
  --ink: #0F1E3D;              /* deep navy, primary text and dark surfaces */
  --ink-soft: #1E3560;         /* mid navy, secondary text */
  --ink-mute: #5A6A82;         /* slate, tertiary text */
  --ink-whisper: #8A9AB5;      /* whisper, very muted */

  /* Paper, warm editorial */
  --paper: #FAFAF7;            /* warm off-white, primary background */
  --paper-cream: #F4F6FA;      /* deck panel-light, section alternation */
  --paper-stone: #E6EBF2;      /* deck panel-mid, sector and credentials */

  /* Lines */
  --line: rgba(15, 30, 61, 0.12);
  --line-strong: rgba(15, 30, 61, 0.24);
  --line-on-ink: rgba(250, 250, 247, 0.16);

  /* KT GOLD: the trust-anchor accent. Ratified deck palette. */
  --kt-gold: #C9A961;
  --kt-gold-dark: #A3874E;
  --kt-gold-soft: #E8D9A8;

  /* Signal blue (deck blue, secondary, subdued) */
  --signal: #2D4A7C;
  --signal-soft: #E6EBF2;

  /* Zone colours (trust chain): Hardware and Infra in navy family, Identity in gold */
  --zone-hardware: #1E3560;
  --zone-hardware-fill: #E6EBF2;
  --zone-infra: #2D4A7C;
  --zone-infra-fill: #E6EBF2;
  --zone-identity: #C9A961;
  --zone-identity-fill: #F5EFD9;

  /* Type */
  --f-display: Georgia, 'Times New Roman', 'Cambria', serif;
  --f-body: Arial, Helvetica, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, monospace;

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 8rem;
  --s9: 10rem;

  /* Widths */
  --w-max: 1280px;
  --w-prose: 68ch;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.18; }
h4 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1.25em; max-width: var(--w-prose); }
p.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

/* Eyebrow: uses the brand's gold square marker */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--kt-gold);
  flex-shrink: 0;
}
.eyebrow--accent { color: var(--kt-gold-dark); }
.eyebrow--accent::before { background: var(--kt-gold); }
.eyebrow--on-ink { color: var(--ink-whisper); }
.eyebrow--on-ink::before { background: var(--kt-gold); }

/* Italic emphasis inside headings. Georgia italic has real character */
em.ital-ser { font-family: var(--f-display); font-style: italic; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.wrap-narrow { max-width: 960px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--cream { background: var(--paper-cream); }
.section--stone { background: var(--paper-stone); }

.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.rule--strong { background: var(--line-strong); }
.rule--on-ink { background: var(--line-on-ink); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--ink);
}
.nav__mark { width: 28px; height: 28px; display: block; color: var(--ink); }
.nav__links {
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.25rem);
  align-items: center;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.nav__links a { position: relative; transition: color 0.15s ease; padding: 0.5rem 0; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--kt-gold);
}
.nav__cta {
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nav__cta:hover { background: var(--kt-gold); border-color: var(--kt-gold); color: var(--ink); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
  .nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav--open .nav__cta { display: inline-block; margin: 1rem clamp(1.25rem, 4vw, 3rem); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn--primary:hover { background: var(--kt-gold); border-color: var(--kt-gold); color: var(--ink); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn--on-ink {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}
.btn--on-ink:hover { background: var(--kt-gold); border-color: var(--kt-gold); color: var(--ink); }
.btn--ghost-on-ink {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-on-ink);
}
.btn--ghost-on-ink:hover { border-color: var(--kt-gold); color: var(--kt-gold); }
.btn__arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Hero (interior pages) ---------- */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.hero__eyebrow { margin-bottom: var(--s3); }
.hero__title { max-width: 18ch; margin-bottom: var(--s3); }
.hero__lede { margin-bottom: var(--s4); max-width: 58ch; font-size: 1.18rem; color: var(--ink-soft); line-height: 1.55; }
.hero__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Homepage hero (navy, commanding) ---------- */
.home-hero {
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4.5rem, 9vw, 7rem);
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.home-hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kt-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 1.75rem;
}
.home-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--kt-gold);
  flex-shrink: 0;
}
.home-hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
  max-width: 16ch;
}

/* ---------- Statement with video behind (homepage first scroll) ---------- */
/* To swap in video: replace the <svg> inside .statement-video__visual with  */
/* <video autoplay muted loop playsinline poster="..." src="..."/>           */
/* The paper-coloured scrim is translucent, so the video shows through while */
/* keeping dark text readable on top.                                        */
.statement-video {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.statement-video__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.statement-video__visual img,
.statement-video__visual video,
.statement-video__visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.statement-video__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Translucent paper wash. Video/image shows through but dark text stays readable. */
  background: linear-gradient(
    180deg,
    rgba(250, 250, 247, 0.86) 0%,
    rgba(250, 250, 247, 0.78) 50%,
    rgba(250, 250, 247, 0.88) 100%
  );
}
.statement-video__content {
  position: relative;
  z-index: 2;
}
.statement-video__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin: 0 0 1.75rem;
}
.statement-video__eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--kt-gold);
  flex-shrink: 0;
}
.statement-video__body {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 2.25rem;
  max-width: 28ch;
}
.statement-video__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .statement-video { padding: clamp(4rem, 10vw, 6rem) 0; }
}

/* ---------- Credentials marquee ---------- */
.marquee-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--paper);
  overflow: hidden;
}
.marquee-intro { margin-bottom: 2.5rem; }
.marquee-heading {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 1rem 0 0;
  max-width: 32ch;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.marquee:last-of-type { border-bottom: 1px solid var(--line); }
.marquee__label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 1.5rem 0 clamp(1.25rem, 4vw, 3rem);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  background: var(--paper);
  /* Soft fade on the right edge so the scrolling content eases behind the label */
  box-shadow: 12px 0 16px -8px var(--paper);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
  will-change: transform;
  padding-left: 220px;  /* clear the label area on the left */
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}
.marquee__item {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__dot {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--kt-gold);
  line-height: 1;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    padding-left: clamp(1.25rem, 4vw, 3rem);  /* reset the scroll clearance */
  }
  .marquee__row:nth-child(2) { display: none; }
  .marquee__row { flex-wrap: wrap; }
  .marquee__label {
    position: static;
    display: block;
    padding: 0 clamp(1.25rem, 4vw, 3rem) 0.75rem;
    background: transparent;
    box-shadow: none;
  }
}
@media (max-width: 700px) {
  .marquee {
    padding: 0.75rem 0 1.25rem;
  }
  .marquee__label {
    position: static;
    display: block;
    padding: 0 clamp(1.25rem, 4vw, 3rem) 0.75rem;
    background: transparent;
    box-shadow: none;
  }
  .marquee__track {
    padding-left: clamp(1.25rem, 4vw, 3rem);
    animation-duration: 30s;
  }
}

/* ---------- Inline text-link CTA ---------- */
.inline-cta {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--kt-gold);
  transition: color 0.15s ease, border-color 0.15s ease, padding 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.inline-cta:hover {
  color: var(--kt-gold-dark);
  border-bottom-color: var(--kt-gold-dark);
}
.inline-cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.inline-cta:hover span { transform: translateX(4px); }

/* Sector block CTA wrapper (sectors.html) */
.sector-block__cta {
  margin-top: 1.75rem;
  padding-top: 1rem;
}

/* ---------- Proof band ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: clamp(1rem, 3vw, 2rem) 0 0;
}
.proof__item {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  position: relative;
}
.proof__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 2vw, 1.75rem);
  width: 28px;
  height: 2px;
  background: var(--kt-gold);
}
.proof__num { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-whisper); letter-spacing: 0.14em; margin-bottom: 0.75rem; margin-top: 0.5rem; }
.proof__claim { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.22; margin-bottom: 0.5rem; }
.proof__note { font-size: 0.93rem; color: var(--ink-mute); margin: 0; }

/* ---------- Regulatory chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font-family: var(--f-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
}
.chip--on-ink { color: var(--paper); border-color: var(--line-on-ink); }

/* ---------- Pillar cards (service lines) ---------- */
/* The two side-by-side pillars on the homepage align internal rows      */
/* (label, title, lede, flagship, list) across both cards using CSS      */
/* subgrid, even when copy lengths differ. Older browsers without        */
/* subgrid support gracefully fall back to flex-column stacking (the     */
/* flagships simply won't horizontally align in those browsers).         */
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Subgrid enhancement: parent .grid-2 defines 6 row tracks, each       */
/* pillar child inherits via subgrid so both cards' rows align.         */
@supports (grid-template-rows: subgrid) {
  .grid-2:has(> .pillar) {
    grid-template-rows:
      auto    /* 1 label */
      auto    /* 2 title */
      auto    /* 3 lede */
      auto    /* 4 flagship */
      1fr     /* 5 list grows to fill */
      auto;   /* 6 cta / footer */
    align-items: stretch;
    row-gap: 1.5rem;
  }
  .grid-2 > .pillar {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    gap: 0;
    row-gap: 1.5rem;
  }
}

.pillar__label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.pillar__title { font-size: clamp(1.65rem, 2.4vw, 2.1rem); line-height: 1.12; }
.pillar__lede { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
.pillar__flagship {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 1.75rem 1.5rem 1.65rem;
  position: relative;
}
.pillar__flagship::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--kt-gold);
}
.pillar__flagship .eyebrow { color: var(--kt-gold); }
.pillar__flagship .eyebrow::before { background: var(--kt-gold); }
.pillar__flagship h4 { color: var(--paper); font-size: 1.3rem; margin: 0.4rem 0 0.55rem; font-family: var(--f-display); font-weight: 400; }
.pillar__flagship p { color: rgba(250, 250, 247, 0.82); margin: 0; font-size: 0.95rem; line-height: 1.55; }
.pillar__list { list-style: none; margin: 0; padding: 0; }
.pillar__list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
}
.pillar__list li:last-child { border-bottom: 1px solid var(--line); }
.pillar__list strong { font-weight: 700; }
.pillar__list span { font-size: 0.85rem; color: var(--ink-mute); font-family: var(--f-mono); }

/* ---------- Trust chain ---------- */
.chain {
  background: var(--paper-cream);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line);
}
.chain__zones {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.chain__zone-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-mute);
}
.chain__zone-label--gold { color: var(--kt-gold-dark); }
.chain__links {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  position: relative;
}
.chain__link {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem 0.75rem;
  text-align: center;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.chain__link:hover { border-color: var(--ink); transform: translateY(-2px); }
.chain__link--hw { border-top: 3px solid var(--zone-hardware); }
.chain__link--inf { border-top: 3px solid var(--zone-infra); }
.chain__link--id { border-top: 3px solid var(--zone-identity); }
.chain__link-num { font-family: var(--f-mono); font-size: 0.65rem; color: var(--ink-whisper); letter-spacing: 0.14em; margin-bottom: 0.5rem; }
.chain__link-name { font-family: var(--f-display); font-size: 1rem; line-height: 1.15; }

.chain__summary { font-size: 0.98rem; color: var(--ink-soft); max-width: 70ch; margin: 2rem auto 0; text-align: center; line-height: 1.55; }

@media (max-width: 800px) {
  .chain__zones { grid-template-columns: 1fr; gap: 0.25rem; }
  .chain__links { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sector list ---------- */
.sectors { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.sector {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.sector__tier {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  display: inline-block;
  border-radius: 999px;
  font-weight: 500;
}
.sector__tier--1 { background: var(--ink); color: var(--kt-gold); }
.sector__tier--2 { background: var(--paper-stone); color: var(--ink); }
.sector__tier--3 { background: transparent; color: var(--ink-mute); border: 1px solid var(--line-strong); }
.sector__name { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.22; margin: 0 0 0.35rem; }
.sector__note { color: var(--ink-mute); font-size: 0.93rem; margin: 0; }
.sector__meta { text-align: right; font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.04em; }

@media (max-width: 700px) {
  .sector { grid-template-columns: 1fr; gap: 0.75rem; }
  .sector__meta { text-align: left; }
}

/* ---------- Reference block ---------- */
.reference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.reference__quote {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.reference__quote::before {
  content: "";
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  left: 0;
  width: 4px;
  height: 40px;
  background: var(--kt-gold);
}
.reference__quote q {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.28;
  quotes: "\201C" "\201D";
  display: block;
}
.reference__attr {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--kt-gold);
  margin: 0;
}
.reference__visual {
  background: var(--paper-cream);
  padding: clamp(2rem, 4vw, 3rem);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.reference__visual-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  position: relative;
  z-index: 1;
}

@media (max-width: 800px) {
  .reference { grid-template-columns: 1fr; }
  .reference__visual { min-height: 220px; }
}

/* ---------- Team cards ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.principal {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
  position: relative;
}
.principal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--kt-gold);
}
.principal__photo {
  aspect-ratio: 4 / 5;
  background: var(--paper-cream);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.principal__photo-label { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-mute); letter-spacing: 0.08em; position: relative; z-index: 1; }
.principal__discipline { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--kt-gold-dark); margin-bottom: 0.4rem; text-transform: uppercase; font-weight: 500; }
.principal__name { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.22; margin: 0 0 0.5rem; }
.principal__body { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ---------- Steps (engagement model) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border: 1px solid var(--line); }
.step { padding: clamp(1.25rem, 2vw, 1.75rem); border-right: 1px solid var(--line); position: relative; background: var(--paper); }
.step:last-child { border-right: none; }
.step__num { font-family: var(--f-mono); font-size: 0.72rem; color: var(--kt-gold-dark); letter-spacing: 0.14em; margin-bottom: 0.6rem; font-weight: 500; }
.step__title { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.18; margin: 0 0 0.6rem; }
.step__note { font-size: 0.9rem; color: var(--ink-mute); margin: 0; line-height: 1.5; }

@media (max-width: 700px) {
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

/* ---------- CTA strip ---------- */
.cta-strip {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-strip h2 { max-width: 22ch; }
@media (max-width: 800px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kt-gold); font-weight: 500; margin: 0 0 1rem; }
.footer a { color: rgba(250, 250, 247, 0.75); font-size: 0.88rem; line-height: 2; transition: color 0.15s ease; }
.footer a:hover { color: var(--kt-gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer__brand-note { color: rgba(250, 250, 247, 0.72); font-size: 0.92rem; line-height: 1.55; max-width: 30ch; margin: 0.75rem 0 0; font-family: var(--f-display); font-style: italic; }
.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-ink);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--ink-whisper);
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; }
}

/* ---------- Form (contact) ---------- */
.form { display: grid; gap: 1.5rem; max-width: 560px; }
.form__row { display: grid; gap: 0.4rem; }
.form label { font-family: var(--f-mono); font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.form input, .form textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.22); }
.form textarea { min-height: 140px; font-family: var(--f-body); resize: vertical; line-height: 1.5; }
.form__submit { justify-self: start; }

/* ---------- Two-column editorial ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Link panel list (themes, insight) ---------- */
.panel-list { border-top: 1px solid var(--line); }
.panel {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.2s ease;
}
.panel:hover { padding-left: 0.5rem; }
.panel__num { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-whisper); letter-spacing: 0.14em; }
.panel__title { font-family: var(--f-display); font-size: 1.65rem; line-height: 1.18; margin: 0 0 0.35rem; }
.panel__note { color: var(--ink-mute); margin: 0; font-size: 0.93rem; max-width: 60ch; }
.panel__arrow { font-family: var(--f-mono); font-size: 1.25rem; color: var(--ink-whisper); transition: transform 0.2s ease, color 0.2s ease; }
.panel:hover .panel__arrow { transform: translateX(6px); color: var(--kt-gold); }

@media (max-width: 700px) {
  .panel { grid-template-columns: 1fr; gap: 0.5rem; }
  .panel__arrow { display: none; }
}

/* ---------- Principle list ---------- */
.principles { counter-reset: pr; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.principle__num { font-family: var(--f-mono); font-size: 0.82rem; color: var(--kt-gold-dark); letter-spacing: 0.12em; font-weight: 500; }
.principle__title { font-family: var(--f-display); font-size: 1.35rem; margin: 0 0 0.35rem; }
.principle__body { color: var(--ink-mute); margin: 0; font-size: 0.94rem; max-width: 60ch; line-height: 1.55; }

/* ---------- Utility: fade-in on load ---------- */
.fade-in { opacity: 0; transform: translateY(12px); animation: fadeIn 0.7s ease forwards; }
.fade-in.d1 { animation-delay: 0.1s; }
.fade-in.d2 { animation-delay: 0.2s; }
.fade-in.d3 { animation-delay: 0.3s; }
.fade-in.d4 { animation-delay: 0.4s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Editorial image placeholder ---------- */
.image-slot {
  background: var(--paper-cream);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.image-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.06) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(30, 53, 96, 0.05) 0, transparent 40%);
}
.image-slot__label {
  position: relative;
  z-index: 1;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* =============================================================================
   MOBILE OPTIMISATION
   Consolidated small-screen tuning: tap targets, type scale, layout edges.
   Placed last so it overrides earlier specificity.
   ============================================================================= */

/* Tap target guarantee. WCAG recommends 44x44px minimum */
@media (max-width: 900px) {
  .btn { min-height: 44px; padding: 0.9rem 1.35rem; }
  .nav__cta { min-height: 44px; padding: 0.7rem 1.1rem; }
  .nav__toggle { min-width: 44px; min-height: 44px; padding: 10px; align-items: center; justify-content: center; }
  .nav__links a { padding: 0.75rem 0; min-height: 44px; display: inline-flex; align-items: center; }
  .chain__link { min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
  .inline-cta { min-height: 44px; align-items: center; }
  .sector__meta { margin-top: 0; }
  .form input, .form textarea { font-size: 16px; }     /* Prevent iOS zoom on focus */
}

/* Prevent horizontal scroll on narrow screens */
@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .hero__title, .home-hero__title, .statement-video__body { word-break: break-word; hyphens: auto; }
  .hero { padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
  .home-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
  .section { padding: clamp(3rem, 7vw, 5rem) 0; }
  .wrap, .wrap-narrow { padding: 0 1.25rem; }
  .proof__item { padding: 1.5rem 1.25rem; }
  .pillar { padding: 1.5rem; }
  .footer__bottom { font-size: 0.7rem; }
  .reference__quote { padding: 2rem 1.5rem; }
  .reference__quote q { font-size: 1.35rem; }
}

/* Very narrow screens */
@media (max-width: 420px) {
  .chain__links { grid-template-columns: 1fr; }
  .chain__link { padding: 0.9rem 0.75rem; }
  .proof { grid-template-columns: 1fr; }
  .hero__ctas, .statement-video__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn, .statement-video__ctas .btn { justify-content: center; }
  .cta-strip__inner > div:last-child { flex-direction: column; align-items: stretch; }
  .cta-strip__inner .btn { justify-content: center; }
}
