/* Mustapha B. Mugisa - Mr. Strategy
   Design tokens, base styles, layout and components. */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  color-scheme: light;
  /* Color */
  --color-primary: #0f172a;
  --color-primary-soft: #1e293b;
  --color-accent: #0369a1;
  --color-accent-soft: #e0f2fe;
  --color-gold: #e41013;
  --color-gold-soft: #fde2e2;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-ink: #0b1120;
  --color-muted: #3c4753;
  --color-muted-2: #5c6773;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale - small, tight gaps throughout */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;

  --section-gap: 40px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px -10px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  --shadow-glow: 0 0 0 1px rgba(3, 105, 161, 0.08), 0 20px 40px -16px rgba(3, 105, 161, 0.25);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle film-grain texture over the whole page: the single detail that
   separates a flat template from something that feels manufactured. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 60;
  transition: width 80ms linear;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding-block: var(--section-gap); }
/* Alternate light "surface" sections (matched by their own inline
   background style, no markup changes needed) get a faint texture too,
   for variety against the plain page background. */
section[style*="var(--color-surface)"] { position: relative; overflow: hidden; }
section[style*="var(--color-surface)"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/mini-waves.png');
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
}
section[style*="var(--color-surface)"] > * { position: relative; z-index: 1; }
.section-tight { padding-block: var(--sp-6); }

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

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-4);
}

.text-muted { color: var(--color-muted); }
.lede { font-size: 1.1rem; color: var(--color-muted); max-width: 640px; line-height: 1.65; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  min-height: 44px;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.btn-primary { background: var(--color-gold); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--color-gold) 82%, black); }
.btn-outline { background: var(--color-surface); border-color: var(--color-border-strong); color: var(--color-ink); }
.btn-outline:hover { border-color: var(--color-ink); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-gold { background: var(--color-gold); color: #fff; }
.btn-gold:hover { background: color-mix(in srgb, var(--color-gold) 82%, black); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; min-height: 36px; }
.btn-block { width: 100%; }
.btn svg { transition: transform 200ms ease; }
.btn:hover svg { transform: translateX(2px); }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
/* The blur lives on a pseudo-element rather than .site-header itself,
   because backdrop-filter on an element makes IT the containing block for
   any position:fixed descendant (a real, if obscure, part of the spec) -
   that was silently confining the fixed mobile nav panel to the header's
   own small box instead of letting it cover the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px);
}
.site-header.scrolled { border-color: var(--color-border); box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), var(--shadow-sm); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-ink);
}
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--sp-6); }
.main-nav ul { display: flex; gap: var(--sp-1); align-items: center; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 150ms ease, background-color 150ms ease;
}
.main-nav a:hover { color: var(--color-ink); background: var(--color-surface); }
.main-nav a[aria-current="page"] { color: var(--color-ink); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.chevron { flex-shrink: 0; transition: transform 200ms ease; }
.has-submenu.open .chevron { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.mobile-nav-extra { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle .bar { width: 20px; height: 2px; border-radius: 2px; background: var(--color-ink); display: block; flex-shrink: 0; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.has-submenu { position: relative; }
.submenu {
  /* top:100% with no margin means the panel's own hoverable box touches
     the trigger directly - there is no dead gap for the pointer to cross
     while moving down into it, so hover can never drop unexpectedly. */
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  min-width: 250px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-surface);
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding-inline: var(--sp-2);
  padding-bottom: var(--sp-2);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.has-submenu.open .submenu, .has-submenu:focus-within .submenu { display: flex; }
.submenu a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--color-ink); font-size: 0.88rem; }
.submenu a:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.submenu-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted-2); padding: 8px 12px 2px; }

/* Hero - full-bleed editorial photo. Subject sits in the left third of the
   source photo, so the text panel lives on the right, over a frosted-glass
   blur of that part of the image rather than a flat overlay box. */
.hero-full {
  /* .hero-full is a <section>, and the generic `section { padding-block }`
     rule was eating 40px off the top and bottom - that gap was exactly
     why the panel and its blur never reached the hero's real edges. */
  padding-block: 0;
  position: relative;
  min-height: min(68vh, 620px);
  display: flex;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-speaking.jpg');
  background-size: cover;
  background-position: center center;
}
.hero-panel {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 52%;
  max-width: 780px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-9) var(--sp-7);
}
/* The blur/tint lives on its own layer with a feathered left edge, so the
   glass effect fades in softly instead of a hard vertical seam; the text
   sits in a separate, fully-opaque layer on top so it is never faded.
   inset:0 (not just a percentage height) is what makes it reach the hero's
   own top and bottom edges regardless of how the flex row sizes itself. */
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(28px) saturate(120%);
  background: rgba(6, 11, 24, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel h1 { color: #fff; margin-bottom: var(--sp-4); font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.hero-panel .lede { color: #cbd5e1; max-width: 460px; }
.hero-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); flex-wrap: wrap; }
.hero-byline { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,0.16); }
.hero-byline strong { display: block; color: #fff; font-size: 0.95rem; }
.hero-byline span { font-size: 0.8rem; color: #d6dee7; }

/* Section heading */
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); margin-bottom: var(--sp-6); flex-wrap: wrap; }

/* Cards / grids */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* No border, no hover-lift: definition comes from a shadow that deepens
   on hover, not from a gray outline and a bounce. */
.card {
  background: var(--color-surface);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 220ms ease;
}
.card:hover { box-shadow: var(--shadow-md); }

/* One consistent dark treatment for every service card, not a mixed
   pastel/dark cycle. */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--color-primary);
  box-shadow: none;
}
.service-card h3 { color: #fff; }
.service-card p { color: #d6dee7; }
.service-card:hover { box-shadow: none; }
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { font-size: 0.93rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-9); align-items: center; }
.about-media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: auto; display: block; }

/* Video section - dark, text left / video right */
/* True black, not navy - a section that reads as a hard stop against the
   surrounding white, the way adobe.com alternates white/black bands
   instead of only ever shifting between shades of one tint. */
.video-section { background: #000; }
.video-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-9); align-items: center; }
.video-grid h2 { color: #fff; }
.video-grid .lede { color: #d6dee7; margin-top: var(--sp-4); }
.video-embed { position: relative; width: 100%; height: 0; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@supports (aspect-ratio: 16/9) {
  .video-embed { aspect-ratio: 16/9; height: auto; padding-top: 0; }
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--color-ink);
  border-left: 3px solid var(--color-gold);
  padding-left: var(--sp-5);
  margin-block: var(--sp-6);
}
.byline { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.byline strong { display: block; font-size: 0.95rem; }
.byline span { font-size: 0.8rem; color: var(--color-muted); }

/* CTA banner */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/dark-embroidery.png');
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #cbd5e1; }

/* Book promo - a real two-column layout (cover + details), not the
   generic icon+heading+button banner forced to also fit a tall cover
   image and format badges. */
.book-promo {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-5);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.book-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/dark-embroidery.png');
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}
.book-promo > * { position: relative; z-index: 1; }
/* This is a 3D render with its own baked-in shadow and a transparent
   background - no rounded-corner frame or added box-shadow, which would
   just crop/flatten it back into a plain rectangle. */
.book-promo .cover { display: flex; justify-content: center; }
.book-promo .cover img { width: 100%; max-width: 720px; }
.book-promo h2 { color: #fff; margin-bottom: var(--sp-3); }
.book-promo p { color: #d6dee7; max-width: 480px; }
.book-promo .badges { display: flex; gap: var(--sp-3); align-items: center; margin-top: var(--sp-4); }
.book-promo .badges img { height: 22px; width: auto; }
.book-promo .price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; margin-top: var(--sp-5); }
.book-promo .actions { margin-top: var(--sp-3); display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat-box { text-align: center; padding: var(--sp-6) var(--sp-4); background: var(--color-surface); border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow 220ms ease; }
.stat-box:hover { box-shadow: var(--shadow-md); }
.stat-box strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--color-accent); display: block; }
.stat-box span { font-size: 0.82rem; color: var(--color-muted); }

/* Assessment cards (quiz/survey promo) */
.assess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.assess-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.assess-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/dark-embroidery.png');
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}
.assess-card > * { position: relative; z-index: 1; }
.assess-card .text-muted { color: #d6dee7; }
.assess-card h3 { color: #fff; margin-bottom: var(--sp-2); }

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; gap: var(--sp-4); position: relative; }
.testimonial-card .quote-mark { color: var(--color-accent-soft); width: 34px; height: 34px; }
.testimonial-card p.quote { font-size: 0.98rem; color: var(--color-ink); }
.testimonial-person { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--color-accent-soft); }
.testimonial-avatar-fallback {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.testimonial-person strong { font-size: 0.9rem; display: block; }
.testimonial-person span { font-size: 0.78rem; color: var(--color-muted); }
.carousel-track > .testimonial-card { flex: 0 0 360px; scroll-snap-align: start; }

/* Article cards */
.article-card { display: flex; flex-direction: column; padding: var(--sp-4); }
.article-card .thumb { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; margin-bottom: var(--sp-3); background: var(--color-border); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-meta { display: flex; gap: var(--sp-3); align-items: center; font-size: 0.76rem; color: var(--color-muted-2); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-2); }
.article-meta .tag-pill { background: none; color: var(--color-accent); padding: 0; border-radius: 0; font-weight: 700; font-size: 0.72rem; }
.tag-pill { background: var(--color-accent-soft); color: var(--color-accent); padding: 3px 11px; border-radius: 4px; font-weight: 700; font-size: 0.72rem; }
.article-card h3 { font-size: 1.08rem; margin-bottom: var(--sp-2); font-weight: 700; }
.article-card p { color: var(--color-muted); font-size: 0.9rem; }
.article-card .more { margin-top: var(--sp-4); font-size: 0.85rem; font-weight: 600; color: var(--color-accent); display: inline-flex; align-items: center; gap: 4px; }

/* Horizontal article carousel (homepage) - one line, scroll/swipe/arrows */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 8px;
  margin: -2px -2px -6px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .article-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.carousel-arrows { display: flex; gap: var(--sp-2); }
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-border-strong); background: var(--color-surface);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
}
.carousel-arrow:hover { border-color: var(--color-accent); color: var(--color-accent); }
.carousel-arrow:disabled { opacity: 0.35; pointer-events: none; }
@media (max-width: 640px) {
  .carousel-track > .article-card, .carousel-track > .testimonial-card { flex-basis: 84vw; }
  .carousel-arrows { display: none; }
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: #cbd5e1;
  padding-block: var(--sp-7) var(--sp-5);
  margin-top: var(--sp-7);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/dark-embroidery.png');
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(255,255,255,0.1); }
.logo-chip { display: inline-flex; width: fit-content; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: var(--sp-3); }
.footer-brand img { height: 32px; width: auto; max-width: none; object-fit: contain; }
.footer-brand p { font-size: 0.86rem; color: #d6dee7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-4); font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: 0.88rem; color: #d6dee7; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: rgba(255,255,255,0.1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-5); font-size: 0.82rem; color: #b8c2ce; flex-wrap: wrap; gap: var(--sp-3); }
.footer-form { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer-form input {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.85rem;
}
.footer-form input::placeholder { color: #b8c2ce; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: var(--sp-2); font-size: 0.82rem; color: var(--color-muted); margin-bottom: var(--sp-5); flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* Page header (non-home pages) */
.page-header {
  padding-block: var(--sp-6) var(--sp-5);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/sayagata.png');
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: var(--sp-3); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: inherit;
  font-size: 0.94rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--color-accent-soft); border-color: var(--color-accent); }
.form-note { font-size: 0.8rem; color: var(--color-muted-2); margin-top: var(--sp-2); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.gallery-grid a { display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Pricing / shop */
.shop-card { display: flex; flex-direction: column; }
.shop-card .thumb { aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--sp-4); background: var(--color-border); }
.shop-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .price { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--color-accent); margin: var(--sp-2) 0; }

/* Quiz component */
.quiz-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--sp-7); box-shadow: var(--shadow-md); }
.quiz-progress { height: 6px; border-radius: 3px; background: var(--color-border); overflow: hidden; margin-bottom: var(--sp-6); }
.quiz-progress span { display: block; height: 100%; background: var(--color-accent); transition: width 250ms ease; }
.quiz-question { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--sp-5); font-family: var(--font-display); }
.quiz-options { display: flex; flex-direction: column; gap: var(--sp-2); }
.quiz-option {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong); cursor: pointer;
  background: var(--color-surface); font-size: 0.94rem; text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.quiz-option:hover { border-color: var(--color-accent); background: var(--color-accent-soft); transform: translateX(2px); }
.quiz-option.selected { border-color: var(--color-accent); background: var(--color-accent-soft); color: var(--color-accent); font-weight: 600; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: var(--sp-6); }
.quiz-result { text-align: center; }
.quiz-result strong { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--color-accent); display: block; margin-bottom: var(--sp-2); }
[hidden] { display: none !important; }

/* Article page */
.article-hero-img { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: var(--sp-7); aspect-ratio: 16/8; background: var(--color-border); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.04rem; }
.article-body p { margin-bottom: var(--sp-5); color: var(--color-ink); }
.article-body h2 { margin-top: var(--sp-8); margin-bottom: var(--sp-4); font-size: 1.5rem; }
.article-body h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.article-body ul, .article-body ol { margin-bottom: var(--sp-5); padding-left: 1.3em; color: var(--color-ink); }
.article-body li { margin-bottom: var(--sp-2); }
.article-body img { border-radius: var(--radius-md); margin-block: var(--sp-6); }
.article-body blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--sp-5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin: var(--sp-6) 0;
  color: var(--color-primary-soft);
}
.article-header { max-width: 720px; margin: 0 auto var(--sp-7); text-align: center; }
.article-header h1 { margin-bottom: var(--sp-4); }
.article-tags { display: flex; gap: var(--sp-2); justify-content: center; flex-wrap: wrap; margin-top: var(--sp-5); }
.share-row { display: flex; gap: var(--sp-2); align-items: center; margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--color-border); max-width: 720px; margin-inline: auto; }
.share-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border-strong); display: flex; align-items: center; justify-content: center; }
.share-row a:hover { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-8); }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border); font-size: 0.88rem;
  transition: transform 150ms ease, border-color 150ms ease;
}
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Filters (article index, inline / mobile) */
.filter-row { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-7); flex-wrap: wrap; }
.filter-pill {
  padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--color-border-strong);
  font-size: 0.84rem; font-weight: 600; color: var(--color-muted);
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}
.filter-pill:hover, .filter-pill.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Articles layout with sidebar */
.articles-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
.articles-sidebar {
  /* A grid item's automatic minimum size is its content's min-content by
     default, so a long unbreakable category name (e.g. "#summitSTRATEGY &
     execution") can force this whole column wider than the 1fr track asks
     for - min-width:0 lets it actually shrink and wrap instead. */
  min-width: 0;
  position: sticky;
  top: 88px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.articles-main { min-width: 0; }
.articles-sidebar h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted-2); margin-bottom: var(--sp-3); }
.sidebar-cats { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow-y: auto; }
.sidebar-cat-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--color-muted);
  transition: background-color 150ms ease, color 150ms ease;
}
/* First span (category name) must be allowed to shrink/wrap in this flex
   row - without min-width:0 a long name like "#summitSTRATEGY & execution"
   cannot wrap and forces the whole sidebar wider than the viewport. */
.sidebar-cat-link span:first-child { min-width: 0; overflow-wrap: break-word; }
.sidebar-cat-link:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.sidebar-cat-link.active { background: var(--color-primary); color: #fff; font-weight: 600; }
.sidebar-cat-link .count { font-size: 0.76rem; color: var(--color-muted-2); flex-shrink: 0; }
.sidebar-cat-link.active .count { color: #cbd5e1; }

/* Logo marquee - infinite scrolling strip of real client logos */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--sp-9);
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 28px; width: auto; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity 200ms ease, filter 200ms ease; flex-shrink: 0; }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Methodology - large numbered blocks (Assess. Change. Transform.) */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.method-item { position: relative; padding-top: var(--sp-6); border-top: 1px solid var(--color-border); }
.method-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: var(--sp-4);
  display: block;
}
.method-item h3 { margin-bottom: var(--sp-3); }
.method-item p { color: var(--color-muted); font-size: 0.95rem; }

/* Full-bleed statement */
.statement {
  padding-block: var(--sp-7);
  text-align: center;
  position: relative;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/seigaiha.png');
  background-repeat: repeat;
  opacity: 0.5;
  pointer-events: none;
}
.statement > * { position: relative; z-index: 1; }
.statement p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-inline: auto;
}
.statement p .accent-text { color: var(--color-accent); }
.statement cite { display: block; margin-top: var(--sp-6); font-style: normal; font-size: 0.88rem; color: var(--color-muted); font-weight: 600; }

/* Dramatic dark stats banner */
.stats-banner {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-7) var(--sp-6);
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/patterns/dark-embroidery.png');
  background-repeat: repeat;
  opacity: 0.1;
  pointer-events: none;
}
.stats-banner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); position: relative; z-index: 1; }
.stats-banner-item { text-align: center; }
.stats-banner-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: #fff;
}
.stats-banner-item > span { font-size: 0.82rem; color: #d6dee7; margin-top: var(--sp-2); display: block; }

/* Big closing statement CTA before the footer. No padding-block of its
   own - the parent .section-tight already sets that; adding more here
   just doubled up the gap above it. */
.closing-cta {
  text-align: center;
}
.closing-cta h2 { max-width: 780px; margin-inline: auto; }
.closing-cta p { margin: var(--sp-5) auto 0; max-width: 520px; }
.closing-cta .hero-actions { justify-content: center; margin-top: var(--sp-7); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease;
  z-index: 40; cursor: pointer; border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.center-col { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .articles-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .articles-main .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 64px 0 0 0; background: var(--color-bg); flex-direction: column; align-items: stretch; justify-content: space-between; padding: var(--sp-6); gap: var(--sp-5); overflow-y: auto; display: none; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav ul > li { border-bottom: 1px solid var(--color-border); }
  .main-nav ul > li:last-child { border-bottom: none; }
  .main-nav ul > li > a { padding: 16px 4px; font-size: 1.02rem; border-radius: 0; justify-content: space-between; }
  .main-nav ul > li > a:hover, .main-nav ul > li > a[aria-current="page"] { background: transparent; box-shadow: none; color: var(--color-accent); }
  .has-submenu .submenu {
    position: static;
    box-shadow: none;
    display: none;
    border: none;
    border-radius: 0;
    background: transparent;
    min-width: 0;
    max-height: none;
    padding: 0 0 var(--sp-3) var(--sp-3);
    margin-left: 2px;
    border-left: 2px solid var(--color-border);
  }
  .has-submenu.open .submenu { display: flex; }
  .has-submenu .submenu a { padding: 10px 12px; font-size: 0.9rem; color: var(--color-muted); }
  .has-submenu .submenu a:hover { color: var(--color-accent); background: var(--color-accent-soft); }
  .mobile-nav-extra { display: flex; flex-direction: column; gap: var(--sp-4); padding-top: var(--sp-6); margin-top: var(--sp-2); border-top: 1px solid var(--color-border); }
  .mobile-nav-extra .btn-primary { color: #fff; padding: 13px 20px; }
  .mobile-nav-social { display: flex; gap: var(--sp-3); }
  .mobile-nav-social a { width: 40px; height: 40px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-muted); }
  .mobile-nav-social a:hover { color: var(--color-accent); border-color: var(--color-accent); }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .about-grid, .video-grid { grid-template-columns: 1fr; }
  .hero-full { min-height: auto; }
  .hero-panel { width: 100%; margin-left: 0; padding: var(--sp-8) var(--sp-6); text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-panel::before { mask-image: none; -webkit-mask-image: none; background: rgba(6, 11, 24, 0.62); }
  .hero-panel .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-byline { justify-content: center; text-align: left; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  /* Must match (not just equal) the specificity of the 1024px breakpoint's
     ".articles-main .grid-3" 2-column rule above, or that rule wins here
     too despite coming first, and 2 columns don't fit a 375px screen. */
  .articles-main .grid-3 { grid-template-columns: 1fr; }
  .assess-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .book-promo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .book-promo .badges, .book-promo .actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .articles-layout { grid-template-columns: minmax(0, 1fr); }
  .articles-sidebar { position: static; }
  /* Long category names (e.g. "#summitSTRATEGY & execution") can't shrink
     in a non-wrapping horizontal row without overflowing narrow screens,
     so mobile keeps the simple, always-safe vertical list instead. */
  .sidebar-cats { max-height: 50vh; }
  .method-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7); }
}

@media (max-width: 480px) {
  section { padding-block: var(--sp-6); }
  .hero { padding-block: var(--sp-6); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
}
