/* ==========================================================================
   Sushil Consulting — Pastel Editorial Design System Tokens
   Warm Ivory · Lavender · Soft Lilac · Powder Blue · Mint · Blush Pink
   ========================================================================== */

:root {
  /* Core Pastel Palette */
  --lavender: #dcd3fa;
  --soft-lilac: #eae4fc;
  --powder-blue: #d9eaf7;
  --mint: #d8efe5;
  --blush-pink: #f7dde8;
  --warm-ivory: #faf9f6;
  --deep-charcoal: #292936;
  --muted-grey: #777786;

  /* Supporting Tonal Steps (Derived for Contrast & Layering) */
  --surface-ivory: #faf9f6;
  --surface-white: #ffffff;
  --surface-lilac-tint: #f4f1fd;
  --surface-blue-tint: #eff6fc;
  --surface-mint-tint: #eef8f3;
  --surface-blush-tint: #fcf1f6;

  /* Accessible Ink & Accent Shades on Pastel Surfaces */
  --ink-primary: #292936;
  --ink-secondary: #4e4e5e;
  --ink-muted: #777786;
  --accent-violet: #5a46a8;
  --accent-violet-hover: #46348c;
  --accent-blue: #2f6599;
  --accent-mint: #216e54;
  --accent-blush: #8c3f61;

  /* Borders & Elevation */
  --border-subtle: rgba(41, 41, 54, 0.1);
  --border-strong: rgba(41, 41, 54, 0.18);
  --border-lavender: rgba(90, 70, 168, 0.24);

  --shadow-soft: 0 8px 28px rgba(41, 41, 54, 0.05);
  --shadow-card: 0 18px 46px rgba(41, 41, 54, 0.08);
  --shadow-lift: 0 24px 56px rgba(41, 41, 54, 0.12);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout & Spacing */
  --container-max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-pad: clamp(68px, 8vw, 116px);
  --header-height: 78px;

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms var(--ease-out);
  --t-med: 360ms var(--ease-out);
}

/* ==========================================================================
   Base Reset, Editorial Typography, Pastel Surfaces & Micro-Interactions
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--warm-ivory);
  color: var(--deep-charcoal);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--deep-charcoal);
  color: var(--warm-ivory);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.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;
}

.container {
  width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Editorial Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--deep-charcoal);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.display-xl {
  font-size: clamp(2.6rem, 5.4vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.display-lg {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.07;
  letter-spacing: -0.038em;
}

.display-md {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--accent-violet);
}

.lead {
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-secondary);
}

.mono-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Pastel Section Surfaces */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.surface-ivory {
  background-color: var(--warm-ivory);
  color: var(--deep-charcoal);
}

.surface-white {
  background-color: var(--surface-white);
  color: var(--deep-charcoal);
}

.surface-lilac {
  background-color: var(--surface-lilac-tint);
  color: var(--deep-charcoal);
}

.surface-blue {
  background-color: var(--surface-blue-tint);
  color: var(--deep-charcoal);
}

.surface-mint {
  background-color: var(--surface-mint-tint);
  color: var(--deep-charcoal);
}

.surface-blush {
  background-color: var(--surface-blush-tint);
  color: var(--deep-charcoal);
}

/* Charcoal contrast band for restrained emphasis */
.surface-charcoal {
  background-color: var(--deep-charcoal);
  color: var(--warm-ivory);
}

.surface-charcoal h1,
.surface-charcoal h2,
.surface-charcoal h3,
.surface-charcoal h4 {
  color: var(--warm-ivory);
}

.surface-charcoal .eyebrow {
  color: var(--lavender);
}

.surface-charcoal .lead {
  color: rgba(250, 249, 246, 0.78);
}

.surface-charcoal .serif-accent {
  color: var(--lavender);
}

.hairline-top {
  border-top: 1px solid var(--border-subtle);
}

/* Buttons & Animated Underline Links */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition:
    transform var(--t-fast),
    background-color var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast),
    box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform var(--t-fast);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--deep-charcoal);
  color: var(--warm-ivory);
  box-shadow: 0 10px 26px rgba(41, 41, 54, 0.14);
}

.btn-primary:hover {
  background: var(--accent-violet);
  color: var(--surface-white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(90, 70, 168, 0.24);
}

.surface-charcoal .btn-primary {
  background: var(--lavender);
  color: var(--deep-charcoal);
}

.surface-charcoal .btn-primary:hover {
  background: var(--warm-ivory);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--deep-charcoal);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--soft-lilac);
  border-color: var(--accent-violet);
  transform: translateY(-2px);
}

.surface-charcoal .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--warm-ivory);
  border-color: rgba(250, 249, 246, 0.26);
}

.surface-charcoal .btn-secondary:hover {
  background: rgba(220, 211, 250, 0.18);
  border-color: var(--lavender);
}

.btn-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-violet);
  padding-bottom: 4px;
  transition: color var(--t-fast);
}

.btn-inline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent-violet);
  transform-origin: left center;
  transform: scaleX(0.45);
  transition: transform var(--t-fast);
}

.btn-inline:hover {
  color: var(--accent-violet-hover);
}

.btn-inline:hover::after {
  transform: scaleX(1);
}

.btn-inline svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast);
}

.btn-inline:hover svg {
  transform: translate(2px, -2px);
}

/* Badges / Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  color: var(--ink-secondary);
}

.tag--lavender { background: var(--soft-lilac); border-color: rgba(90, 70, 168, 0.2); color: var(--accent-violet); }
.tag--blue { background: var(--powder-blue); border-color: rgba(47, 101, 153, 0.2); color: var(--accent-blue); }
.tag--mint { background: var(--mint); border-color: rgba(33, 110, 84, 0.2); color: var(--accent-mint); }
.tag--blush { background: var(--blush-pink); border-color: rgba(140, 63, 97, 0.2); color: var(--accent-blush); }

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Subtle Sticky Orientation Navigation, Reading Progress & Minimal Footer
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  background: rgba(250, 249, 246, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color var(--t-fast);
}

.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.96);
}

.scroll-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-blue), var(--accent-mint));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 80ms linear;
}

.nav-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-lavender);
  background: var(--soft-lilac);
  color: var(--deep-charcoal);
  transition: transform var(--t-fast), background-color var(--t-fast);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg);
  background: var(--lavender);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--deep-charcoal);
}

.brand-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-grey);
}

.nav-anchors {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-anchor-link {
  position: relative;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color var(--t-fast), background-color var(--t-fast);
}

.nav-anchor-link:hover {
  color: var(--deep-charcoal);
  background: rgba(234, 228, 252, 0.55);
}

.nav-anchor-link.is-current {
  color: var(--deep-charcoal);
  font-weight: 600;
  background: var(--soft-lilac);
}

.nav-step-badge {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-violet);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft-lilac);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  color: var(--deep-charcoal);
}

.mobile-nav-sheet {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(250, 249, 246, 0.98);
  border-bottom: 1px solid var(--border-strong);
  padding: 14px var(--gutter) 20px;
  box-shadow: var(--shadow-soft);
}

.mobile-nav-sheet.is-open {
  display: block;
}

.mobile-anchor-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-anchor-list a {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.mobile-anchor-list a.is-current {
  background: var(--soft-lilac);
  border-color: var(--accent-violet);
}

@media (max-width: 860px) {
  .nav-anchors {
    display: none;
  }

  .nav-step-badge {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* Section Headers */
.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 44px;
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-header-main {
  max-width: 720px;
}

.section-header-main h2 {
  margin-top: 12px;
}

.section-header-main .lead {
  margin-top: 14px;
}

@media (max-width: 820px) {
  .section-header {
    grid-template-columns: 1fr;
  }
}

/* Minimal Editorial Footer */
.site-footer {
  background: var(--deep-charcoal);
  color: rgba(250, 249, 246, 0.78);
  padding: 44px 0 32px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.14);
}

.footer-brand .brand-name {
  color: var(--warm-ivory);
}

.footer-brand .brand-sub {
  color: rgba(250, 249, 246, 0.56);
}

.footer-brand .brand-mark {
  background: rgba(220, 211, 250, 0.14);
  border-color: rgba(220, 211, 250, 0.3);
  color: var(--lavender);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-nav a {
  color: rgba(250, 249, 246, 0.78);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--lavender);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(250, 249, 246, 0.55);
}

/* ==========================================================================
   Sushil Consulting — Creative Experience & Interaction Overhaul
   ========================================================================== */

/* Shared Micro-interaction Helpers */
.btn[data-magnetic] {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   SECTION 01 — LIVING INTERACTIVE DATA ECOSYSTEM HERO
   -------------------------------------------------------------------------- */
.hero-opening {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 78px) 0 clamp(64px, 7.5vw, 98px);
  background:
    radial-gradient(ellipse 48% 60% at 88% 16%, rgba(220, 211, 250, 0.62), transparent 64%),
    radial-gradient(ellipse 40% 50% at 10% 88%, rgba(217, 234, 247, 0.5), transparent 64%),
    var(--warm-ivory);
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 16px;
}

.hero-copy .lead {
  margin-top: 18px;
  max-width: 540px;
}

.hero-copy-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 530px;
}

.hero-capabilities {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-capabilities li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.hero-capabilities li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-violet);
  flex-shrink: 0;
}

.hero-copy .btn-group {
  margin-top: 26px;
}

/* Living Interactive Node Canvas */
.hero-eco-shell {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 260ms var(--ease-out);
}

.eco-stage-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.eco-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--deep-charcoal);
}

.eco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 0 4px var(--mint);
}

.eco-graph-wrap {
  position: relative;
  margin-top: 14px;
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 16% 20%, rgba(234, 228, 252, 0.72), transparent 48%),
    radial-gradient(circle at 86% 82%, rgba(216, 239, 229, 0.72), transparent 48%),
    var(--warm-ivory);
  border: 1px solid var(--border-subtle);
}

.eco-graph-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.eco-wire {
  stroke: rgba(41, 41, 54, 0.24);
  stroke-width: 1.8;
  fill: none;
  transition: stroke 220ms var(--ease-out), stroke-width 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.eco-wire-flow {
  stroke: var(--accent-violet);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  fill: none;
  opacity: 0.55;
  animation: streamFlow 14s linear infinite;
  transition: opacity 220ms var(--ease-out), stroke 220ms var(--ease-out), stroke-width 220ms var(--ease-out);
}

.eco-wire.is-lit {
  stroke: var(--accent-violet);
  stroke-width: 2.6;
}

.eco-wire-flow.is-lit {
  opacity: 1;
  stroke-width: 2.6;
}

.eco-wire.is-dim,
.eco-wire-flow.is-dim {
  opacity: 0.42;
}

.eco-svg-node {
  cursor: pointer;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.eco-svg-node:focus-visible {
  outline: none;
}

.eco-svg-node rect.node-bg {
  transition: stroke 200ms var(--ease-out), stroke-width 200ms var(--ease-out), fill 200ms var(--ease-out);
}

.eco-svg-node.is-active rect.node-bg,
.eco-svg-node:hover rect.node-bg {
  stroke: var(--accent-violet);
  stroke-width: 2;
}

.eco-svg-node.is-dim {
  opacity: 0.52;
}

@keyframes streamFlow {
  to {
    stroke-dashoffset: -240;
  }
}

.eco-quick-pills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eco-pill-btn {
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-secondary);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.eco-pill-btn[aria-pressed="true"] {
  background: var(--deep-charcoal);
  border-color: var(--deep-charcoal);
  color: var(--warm-ivory);
}

.eco-inspector {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  align-items: center;
}

.eco-inspector small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.eco-inspector strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
}

.eco-inspector p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-secondary);
}

.eco-bars {
  display: grid;
  gap: 6px;
}

.eco-bar-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-grey);
}

.eco-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(41, 41, 54, 0.08);
  overflow: hidden;
}

.eco-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 360ms var(--ease-out);
}

@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .eco-inspector {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 02 — STICKY PROBLEM-TO-SOLUTION STORYTELLING
   -------------------------------------------------------------------------- */
.problem-section {
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--warm-ivory) 100%);
  border-top: 1px solid var(--border-subtle);
}

.problem-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 4.5vw, 58px);
  align-items: start;
}

.challenge-steps {
  border-top: 1px solid var(--border-subtle);
}

.challenge-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 12px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  transition: background-color var(--t-fast), padding-left var(--t-fast);
}

.challenge-btn:hover {
  background: rgba(247, 221, 232, 0.28);
}

.challenge-btn[aria-pressed="true"] {
  background: var(--surface-blush-tint);
  padding-left: 16px;
  border-left: 3px solid var(--accent-blush);
}

.challenge-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blush);
  padding-top: 3px;
}

.challenge-btn strong {
  display: block;
  font-size: 16px;
  color: var(--deep-charcoal);
}

.challenge-btn span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.problem-dossier {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.problem-canvas-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.state-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
}

.state-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-grey);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.state-toggle button[aria-pressed="true"] {
  background: var(--deep-charcoal);
  color: var(--warm-ivory);
}

.problem-svg-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
}

.problem-dimensions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.problem-dim-card {
  padding: 14px 15px;
  border-radius: var(--radius-sm);
  background: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
}

.problem-dim-card--help {
  background: var(--surface-mint-tint);
  border-color: rgba(33, 110, 84, 0.25);
}

.problem-dim-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.problem-dim-card--help small {
  color: var(--accent-mint);
}

.problem-dim-card p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--deep-charcoal);
}

@media (max-width: 960px) {
  .problem-split {
    grid-template-columns: 1fr;
  }

  .problem-dossier {
    position: static;
  }
}

@media (max-width: 580px) {
  .problem-dimensions {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 03 — INTERACTIVE PRODUCT-STYLE SERVICE EXPLORER
   -------------------------------------------------------------------------- */
.services-section {
  background: linear-gradient(180deg, var(--surface-lilac-tint) 0%, #f1effb 100%);
  border-top: 1px solid var(--border-subtle);
}

.service-studio {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.service-selector-rail {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}

.service-select-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 22px 14px;
  transition: background-color var(--t-fast), padding-left var(--t-fast);
}

.service-select-btn:hover {
  background: rgba(255, 255, 255, 0.55);
}

.service-select-btn[aria-selected="true"] {
  background: var(--surface-white);
  padding-left: 20px;
  border-left: 3px solid var(--accent-violet);
}

.service-select-btn .mono-index {
  color: var(--accent-violet);
}

.service-select-btn h3 {
  margin-top: 8px;
  font-size: 22px;
}

.service-select-btn p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.service-org-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-subtle);
}

.service-org-callout small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.service-org-callout p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--deep-charcoal);
}

.service-stage-board {
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.service-blueprint-visual {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-mint-tint);
  border: 1px solid var(--border-subtle);
  transition: background-color var(--t-med);
}

.service-blueprint-visual[data-tone="blue"] { background: var(--surface-blue-tint); }
.service-blueprint-visual[data-tone="blush"] { background: var(--surface-blush-tint); }

.service-ps-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.service-ps-grid h4,
.service-ad-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 8px;
}

.service-ps-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.service-ad-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-ad-col ul {
  margin: 0;
  padding-left: 17px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--deep-charcoal);
}

.service-stage-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.tech-context-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--deep-charcoal);
}

@media (max-width: 960px) {
  .service-studio {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-ps-grid,
  .service-ad-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 04 — FUNCTIONAL ILLUSTRATIVE ANALYTICS STUDIO
   -------------------------------------------------------------------------- */
.dashboard-section {
  background: linear-gradient(180deg, var(--surface-blue-tint) 0%, #eaf3fb 100%);
  border-top: 1px solid var(--border-subtle);
}

.studio-shell {
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}

.studio-controls-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-tabs,
.studio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.studio-tab-btn,
.studio-filter-btn {
  border: 1px solid var(--border-subtle);
  background: var(--warm-ivory);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.studio-tab-btn[aria-selected="true"] {
  background: var(--lavender);
  border-color: var(--accent-violet);
  color: var(--deep-charcoal);
}

.studio-filter-btn[aria-pressed="true"] {
  background: var(--powder-blue);
  border-color: var(--accent-blue);
  color: var(--deep-charcoal);
}

.studio-select {
  border: 1px solid var(--border-strong);
  background: var(--warm-ivory);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.studio-kpi-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.studio-kpi-btn {
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--warm-ivory);
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}

.studio-kpi-btn:hover {
  transform: translateY(-2px);
}

.studio-kpi-btn[aria-pressed="true"] {
  background: var(--soft-lilac);
  border-color: var(--accent-violet);
}

.studio-kpi-btn small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-grey);
}

.studio-kpi-btn strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.studio-kpi-btn span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-secondary);
}

.studio-workspace {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 18px;
}

.studio-chart-panel,
.studio-breakdown-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--warm-ivory);
  border: 1px solid var(--border-subtle);
}

.studio-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.studio-tooltip {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: var(--deep-charcoal);
  color: var(--warm-ivory);
  font-family: var(--font-mono);
  font-size: 11px;
}

.studio-svg-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.studio-point-btn {
  cursor: pointer;
  transition: r 160ms ease, fill 160ms ease;
}

.breakdown-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.breakdown-row {
  display: grid;
  gap: 5px;
}

.breakdown-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.breakdown-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(41, 41, 54, 0.08);
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent-violet);
  transition: width 380ms var(--ease-out);
}

.studio-relation-note {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--ink-secondary);
}

.demo-footnote {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-grey);
}

@media (max-width: 960px) {
  .studio-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-workspace {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 05 — PRACTICAL USE CASES & TECHNOLOGIES
   -------------------------------------------------------------------------- */
.usecases-section {
  background: var(--warm-ivory);
  border-top: 1px solid var(--border-subtle);
}

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

.usecase-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usecase-card--mint { background: linear-gradient(155deg, var(--surface-mint-tint), var(--surface-white)); }
.usecase-card--blue { background: linear-gradient(155deg, var(--surface-blue-tint), var(--surface-white)); }
.usecase-card--lilac { background: linear-gradient(155deg, var(--surface-lilac-tint), var(--surface-white)); }
.usecase-card--blush { background: linear-gradient(155deg, var(--surface-blush-tint), var(--surface-white)); }

.usecase-card h3 {
  font-size: 23px;
}

.usecase-examples {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--deep-charcoal);
}

.usecase-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.usecase-meta-item small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.usecase-meta-item p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

@media (max-width: 920px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .usecase-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* TECHNOLOGIES */
.tech-human-section {
  background: var(--surface-white);
  border-top: 1px solid var(--border-subtle);
}

.tech-interactive-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.tech-group-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-group-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--warm-ivory);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.tech-group-btn:hover {
  transform: translateX(3px);
}

.tech-group-btn[aria-selected="true"] {
  background: var(--soft-lilac);
  border-color: var(--accent-violet);
}

.tech-group-btn strong {
  display: block;
  font-size: 17px;
}

.tech-group-btn span {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-violet);
}

.tech-detail-stage {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--warm-ivory);
  border: 1px solid var(--border-strong);
}

.tech-tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tech-tool-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .tech-interactive-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 06 — CONNECTED 4-STAGE PROCESS THREAD & ENGAGEMENT MODELS
   -------------------------------------------------------------------------- */
.journey-section {
  background: linear-gradient(180deg, var(--surface-mint-tint) 0%, #e7f4ee 100%);
  border-top: 1px solid var(--border-subtle);
}

.process-thread-wrap {
  position: relative;
  margin-bottom: 24px;
}

.process-thread-line {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 28px;
  height: 2px;
  background: rgba(33, 110, 84, 0.22);
  z-index: 0;
}

.process-thread-fill {
  height: 100%;
  background: var(--accent-violet);
  width: 0%;
  transition: width 360ms var(--ease-out);
}

.process-4-nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thread-node-btn {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.78);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}

.thread-node-btn:hover {
  transform: translateY(-2px);
  background: var(--surface-white);
}

.thread-node-btn[aria-selected="true"] {
  background: var(--surface-white);
  border-color: var(--accent-violet);
  box-shadow: var(--shadow-card);
}

.thread-node-btn.is-passed .thread-badge {
  background: var(--mint);
  color: var(--accent-mint);
}

.thread-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-lilac);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-violet);
}

.thread-node-btn[aria-selected="true"] .thread-badge {
  background: var(--deep-charcoal);
  color: var(--warm-ivory);
}

.thread-node-btn strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.thread-node-btn small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.process-stage-view {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: start;
}

.process-stage-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.process-stage-visual {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--soft-lilac), var(--mint));
  border: 1px solid var(--border-subtle);
}

.prep-checklist-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--warm-ivory);
  border: 1px solid var(--border-strong);
}

.prep-checklist-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.models-strip {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(41, 41, 54, 0.12);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.models-rows {
  border-top: 1px solid var(--border-subtle);
}

.model-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 22px;
}

.model-row h4 {
  font-size: 17px;
}

.model-row p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

@media (max-width: 980px) {
  .process-thread-line {
    display: none;
  }

  .process-4-nodes {
    grid-template-columns: 1fr;
    padding-left: 14px;
    border-left: 2px solid var(--accent-mint);
  }

  .process-stage-view,
  .models-strip,
  .model-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 07 — EDITORIAL FOUNDER & CREDIBILITY NARRATIVE
   -------------------------------------------------------------------------- */
.credibility-section {
  background: var(--surface-white);
  border-top: 1px solid var(--border-subtle);
}

.founder-editorial-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.founder-portrait-frame {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--soft-lilac), var(--powder-blue));
  border: 1px solid var(--border-lavender);
}

.founder-monogram {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--deep-charcoal);
  color: var(--lavender);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 28px;
}

.founder-portrait-frame h3 {
  margin-top: 16px;
  font-size: 26px;
}

.founder-portrait-frame .mono-index {
  display: block;
  margin-top: 4px;
  color: var(--accent-violet);
}

.founder-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.founder-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-secondary);
}

.founder-philosophy {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.28;
  color: var(--deep-charcoal);
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.founder-ruled-list {
  margin-top: 6px;
}

.founder-ruled-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 24px;
  align-items: baseline;
}

.founder-ruled-row strong {
  font-size: 15px;
  color: var(--deep-charcoal);
}

.founder-ruled-row span {
  font-size: 14px;
  color: var(--ink-secondary);
}

@media (max-width: 920px) {
  .founder-editorial-grid,
  .founder-ruled-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SECTION 08 — THE DATA BRIEF (Editorial Publication & Substack Integration)
   -------------------------------------------------------------------------- */
.insights-section {
  background: linear-gradient(180deg, var(--warm-ivory) 0%, #f5f3fb 100%);
  border-top: 1px solid var(--border-subtle);
}

.brief-masthead {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 44px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-strong);
}

.brief-masthead-copy h2 {
  margin-top: 10px;
}

.brief-masthead-copy .lead {
  margin-top: 12px;
}

.brief-intro-box {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
}

.brief-intro-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.brief-masthead-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* 4 Editorial Category Pillars */
.brief-categories-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brief-cat-card {
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.brief-cat-card--lilac { background: var(--surface-lilac-tint); }
.brief-cat-card--blue { background: var(--surface-blue-tint); }
.brief-cat-card--blush { background: var(--surface-blush-tint); }
.brief-cat-card--mint { background: var(--surface-mint-tint); }

.brief-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-violet);
}

.brief-cat-card[aria-pressed="true"] {
  border-color: var(--deep-charcoal);
  box-shadow: var(--shadow-soft);
}

.brief-cat-card h3 {
  font-size: 16px;
  margin-top: 6px;
}

.brief-cat-topics {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.brief-cat-topics span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(41, 41, 54, 0.08);
  color: var(--ink-secondary);
}

/* Filter Bar */
.brief-filter-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brief-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface-white);
  color: var(--ink-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.brief-filter-btn:hover {
  border-color: var(--accent-violet);
  color: var(--deep-charcoal);
}

.brief-filter-btn[aria-pressed="true"] {
  background: var(--deep-charcoal);
  border-color: var(--deep-charcoal);
  color: var(--warm-ivory);
}

/* Featured Article / Featured Launch Issue */
.brief-featured {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.brief-featured.is-hidden,
.brief-article-item.is-hidden {
  display: none;
}

.brief-cover-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--soft-lilac), var(--powder-blue));
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
}

.brief-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-cover-fallback {
  padding: 24px;
  text-align: left;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brief-cover-fallback strong {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--deep-charcoal);
}

.brief-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-grey);
}

/* Varied Editorial Secondary Grid (Mix of Visual Feature & Ruled List) */
.brief-editorial-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.brief-article-item {
  border-radius: var(--radius-md);
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.brief-article-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-violet);
  box-shadow: var(--shadow-soft);
}

.brief-article-item--visual .brief-thumb {
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--surface-blue-tint), var(--surface-lilac-tint));
  overflow: hidden;
}

.brief-article-item--visual .brief-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-article-inner {
  padding: 20px 22px;
}

.brief-article-inner h3 {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.26;
}

.brief-article-inner p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.brief-article-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brief-outline-toggle {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brief-outline-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.brief-empty-state {
  margin-top: 20px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--surface-white);
  border: 1px dashed var(--border-strong);
  text-align: center;
}

/* Newsletter Subscription Invitation */
.brief-subscribe-box {
  margin-top: 28px;
  padding: clamp(22px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--soft-lilac), var(--powder-blue));
  border: 1px solid var(--border-lavender);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.brief-subscribe-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.brief-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-grey);
}

@media (max-width: 1020px) {
  .brief-masthead,
  .brief-featured,
  .brief-subscribe-box {
    grid-template-columns: 1fr;
  }

  .brief-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .brief-categories-grid,
  .brief-editorial-grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  background: var(--surface-white);
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  border-top: 1px solid var(--border-subtle);
  max-width: 920px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.faq-btn:hover {
  color: var(--accent-violet);
}

.faq-answer {
  padding: 0 6px 20px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 780px;
}

@media (max-width: 900px) {
  .insights-accordion {
    grid-template-columns: 1fr;
  }
}

.invitation-section {
  border-top: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 52% 72% at 15% 20%, rgba(247, 221, 232, 0.52), transparent 60%),
    radial-gradient(ellipse 52% 72% at 88% 82%, rgba(220, 211, 250, 0.62), transparent 60%),
    var(--warm-ivory);
}

.invitation-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.invitation-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-subtle);
}

.invitation-note small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.invitation-note p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.enquiry-panel {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--warm-ivory);
  color: var(--deep-charcoal);
  font-size: 15px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--surface-white);
  border-color: var(--accent-violet);
}

.form-field [aria-invalid="true"] {
  border-color: #a93228;
  background: #fff7f7;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--accent-violet);
  flex-shrink: 0;
}

.checkbox-field label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.field-error {
  min-height: 16px;
  font-size: 12px;
  color: #a93228;
}

.enquiry-handoff-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-violet);
  background: var(--surface-lilac-tint);
}

.enquiry-handoff-box pre {
  margin: 12px 0;
  padding: 12px;
  border-radius: var(--radius-xs);
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 900px) {
  .invitation-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
