/* =====================================================================
   FC EXHIBITS — 2026 Redesign
   Brand: #3050A0 blue + #F07020 orange (extracted from real logo)
   Type: Big Shoulders Display + Fraunces (italic accents) + Manrope
   Inspired by: FAB 50 leaders (MC², Sparks, Czarnowski, Pink Sparrow)
   ===================================================================== */

/* ---------------------------------------------------------------------
   BRAND TOKENS — single source of truth for the entire site
   --------------------------------------------------------------------- */
:root {
  /* Real brand colors — pulled from logo */
  --blue:        #3050A0;
  --blue-deep:   #1F3870;
  --blue-soft:   #6B82C2;
  --blue-tint:   #EAEEF8;

  --orange:      #F07020;
  --orange-deep: #C8550F;
  --orange-soft: #FF9050;
  --orange-tint: #FFEFE0;

  /* Neutrals */
  --ink:         #0E1428;     /* deep navy near-black */
  --ink-2:       #2A3148;     /* secondary text */
  --muted:       #6B7280;
  --line:        #E5E1D5;

  --white:       #FFFFFF;
  --bg:          #FAF8F3;     /* warm cream as base */
  --bg-2:        #FFFFFF;     /* clean white for sections */
  --bg-dark:     #0E1428;     /* dark sections */

  /* Type families */
  --display: 'Big Shoulders Display', 'Arial Black', sans-serif;
  --serif:   'Instrument Serif', Georgia, serif;
  --body:    'Manrope', -apple-system, system-ui, sans-serif;

  /* Layout */
  --container: 1440px;
  --gutter:    32px;
  --gutter-mobile: 20px;

  /* Curves */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------------------------------------------------------------------
   RESET
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
img, svg { max-width: 100%; display: block; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------------------------------------------------------------------
   NAV — transparent over hero with logo glow, cream after scroll
   --------------------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease),
              background 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
#nav.scrolled {
  padding: 12px var(--gutter);
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(14, 20, 40, 0.1);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}
/* Glow behind logo while in dark hero */
#nav .logo::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 240px; height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(48, 80, 160, 0.6) 0%,
    rgba(48, 80, 160, 0.3) 30%,
    rgba(48, 80, 160, 0.08) 55%,
    transparent 75%);
  filter: blur(18px);
  z-index: -1;
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
#nav.scrolled .logo::before {
  opacity: 0;
}
#nav .logo img {
  height: 38px;
  width: auto;
  position: relative;
  z-index: 1;
  /* Invert to white at top (over dark hero), back to color when scrolled */
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease);
}
#nav.scrolled .logo img {
  height: 32px;
  filter: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.005em;
  position: relative;
  transition: color 0.35s var(--ease);
  text-shadow: 0 1px 12px rgba(14, 20, 40, 0.5);
}
#nav.scrolled .nav-links a {
  color: var(--ink);
  text-shadow: none;
}
.nav-links a:not(.nav-cta):hover { color: var(--orange); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  text-shadow: none !important;
  box-shadow: 0 8px 24px -6px rgba(240, 112, 32, 0.55);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--orange-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -6px rgba(240, 112, 32, 0.7);
}
.nav-cta::after { display: none !important; }

/* Phone icon button — direct call line */
.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white) !important;
  text-shadow: none !important;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease),
              transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  position: relative;
  flex-shrink: 0;
}
.nav-phone:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px) rotate(-10deg);
  box-shadow: 0 10px 28px -6px rgba(48, 80, 160, 0.6);
}
.nav-phone::after { display: none !important; }
#nav.scrolled .nav-phone {
  background: var(--blue-tint);
  border-color: var(--blue);
  color: var(--blue) !important;
}
#nav.scrolled .nav-phone:hover {
  background: var(--blue);
  color: var(--white) !important;
}

.menu-btn {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin-left: auto;
  transition: background 0.35s;
}
#nav.scrolled .menu-btn span { background: var(--ink); }
.menu-btn span:nth-child(2) { width: 16px; }

/* ---------------------------------------------------------------------
   HERO — Featured Ubisoft photo as backdrop with overlay
   --------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding: 140px var(--gutter) 60px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,20,40,0.55) 0%, rgba(14,20,40,0.7) 60%, rgba(14,20,40,0.95) 100%),
    linear-gradient(90deg, rgba(14,20,40,0.7) 0%, rgba(14,20,40,0.2) 50%, rgba(14,20,40,0.4) 100%);
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 50px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

.hero-headline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 11vw, 188px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 70px;
  text-transform: uppercase;
  padding-bottom: 0.1em; /* room for italic descenders like 'g' */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s 0.25s var(--ease) forwards;
}
.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 1.05em;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}
.hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-self: end;
  flex-wrap: wrap;
}

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

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.005em;
  padding: 14px 24px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--orange);
  color: var(--white) !important;
}
.btn-primary:hover { background: var(--orange-deep); padding-right: 32px; }
.btn-large {
  padding: 18px 30px;
  font-size: 15px;
}
.btn-block { width: 100%; justify-content: center; }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white) !important;
}
.btn-ghost:hover {
  border-color: var(--orange);
  background: rgba(240,112,32,0.1);
}
.btn-line {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 0 0 4px;
  color: var(--ink);
  display: inline-flex;
}
.btn-line:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------------------------------------------------------------------
   CLIENT BAR — under hero
   --------------------------------------------------------------------- */
.clients-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 32px 0 22px;
  overflow: hidden;
}
.clients-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cb-track-wrap {
  width: 100%;
  overflow: hidden;
  /* fade out at edges so items vanish gracefully instead of cutting hard */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.cb-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  align-self: center;
}
.cb-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: scrollClients 35s linear infinite;
}
.cb-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.cb-item:hover { opacity: 1; color: var(--blue); }
@keyframes scrollClients {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   SHARED — section heads
   --------------------------------------------------------------------- */
.section-head {
  margin-bottom: 80px;
  max-width: 900px;
}
.section-head.center { text-align: center; margin: 0 auto 80px; }
.section-head.center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
}
.eyebrow .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--orange);
  letter-spacing: 0;
}
.eyebrow-light { color: rgba(255,255,255,0.85); }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-transform: uppercase;
}
.section-title.light { color: var(--white); }
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 1.08em;
  display: inline-block;
  padding-bottom: 0.05em;
}
.section-title.light em { color: var(--orange-soft); }

.section-sub {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------------------------------
   INTRO / Stats
   --------------------------------------------------------------------- */
.intro {
  padding: 130px 0;
  background: var(--bg);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
}
.intro-text .section-title { margin-bottom: 36px; }
.intro-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 32px;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-self: center;
}
.stat {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 5.5vw, 90px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-num em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  font-size: 0.55em;
  margin-left: 4px;
}
.stat-label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   SERVICES — 4 pillars
   --------------------------------------------------------------------- */
.services {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: radial-gradient(ellipse at top, rgba(48, 80, 160, 0.5) 0%, rgba(48, 80, 160, 0.15) 40%, transparent 70%);
  opacity: 0;
  filter: blur(24px);
  z-index: -1;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow:
    0 0 0 1px rgba(48, 80, 160, 0.2),
    0 30px 70px -16px rgba(48, 80, 160, 0.45),
    0 12px 30px -8px rgba(48, 80, 160, 0.3);
}
.service-card:hover::before {
  opacity: 1;
}
.service-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--blue-tint);
}
.service-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-visual img { transform: scale(1.04); }
.service-num {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  background: var(--orange);
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.service-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.service-tags li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  text-transform: uppercase;
}
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  transition: color 0.2s, gap 0.25s;
}
.service-link:hover { color: var(--orange); gap: 14px; }
.service-link span { transition: transform 0.25s; }

/* ---------------------------------------------------------------------
   OUR WORKS
   --------------------------------------------------------------------- */
.work {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

/* Featured project */
.featured-project {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  margin-bottom: 80px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  color: var(--white);
  transition: transform 0.5s var(--ease);
}
.featured-project:hover { transform: translateY(-6px); }
.fp-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.fp-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.featured-project:hover .fp-image img { transform: scale(1.04); }
.fp-meta {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.fp-tag {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.fp-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.fp-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 8px;
  transition: gap 0.25s;
}
.featured-project:hover .fp-cta { gap: 18px; }

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.work-card {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  grid-column: span 2;
  background: var(--bg-2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  isolation: isolate;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow:
    0 0 0 1px rgba(48, 80, 160, 0.25),
    0 30px 70px -16px rgba(48, 80, 160, 0.5),
    0 12px 30px -8px rgba(48, 80, 160, 0.32);
}
.work-card.work-card-wide {
  grid-column: span 3;
  aspect-ratio: 3/2;
}
.work-img {
  position: absolute;
  inset: 0;
}
.work-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-img img { transform: scale(1.05); }
.work-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(to top, rgba(14,20,40,0.92) 0%, rgba(14,20,40,0.4) 70%, transparent 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
  color: var(--white);
}
.work-cat {
  grid-column: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
  display: block;
}
.work-name {
  grid-column: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: block;
}
.work-arrow {
  grid-row: span 2;
  align-self: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.work-card:hover .work-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-12deg);
}
.work-cta-row {
  margin-top: 80px;
  text-align: center;
}

/* ---------------------------------------------------------------------
   APPROACH — dark section
   --------------------------------------------------------------------- */
.approach {
  background: var(--bg-dark);
  color: var(--white);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(48,80,160,0.25) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.approach::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,112,32,0.18) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.approach .container { position: relative; z-index: 2; }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.phase {
  border-top: 2px solid rgba(255,255,255,0.15);
  padding-top: 24px;
}
.phase-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 50px;
}
.phase-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}
.phase-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 30ch;
}

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.testimonials {
  padding: 140px 0;
  background: var(--bg);
}
.testimonial-stage {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.t-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 140px;
  line-height: 0.4;
  color: var(--orange);
  margin-bottom: 30px;
}
.t-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
  transition: opacity 0.4s;
}
.t-quote em {
  font-style: italic;
  color: var(--orange);
}
.t-attr {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  transition: opacity 0.4s;
}
.t-attr strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.t-attr span {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.t-controls {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.t-arrow {
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.t-arrow:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.t-dots { display: flex; gap: 10px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

/* ---------------------------------------------------------------------
   CONTACT — with brief upload form
   --------------------------------------------------------------------- */
.contact {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-title { margin-bottom: 28px; }
.contact-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
  margin-bottom: 36px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 24px;
}
.ch-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: baseline;
  transition: color 0.2s;
}
a.ch-item:hover .ch-value { color: var(--orange); }
.ch-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ch-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.2s;
}
.contact-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.contact-meta .dot-sep { opacity: 0.5; }

/* Contact form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
}
.form-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-sub {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--body);
  line-height: 1.5;
}

.field-file .file-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg-2);
  transition: border-color 0.2s;
}
.field-file .file-wrap:hover { border-color: var(--blue); }
.field-file input[type="file"] {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--ink-2);
}
.field-file input[type="file"]::file-selector-button {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  border-radius: 6px;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.2s, color 0.2s;
}
.field-file input[type="file"]::file-selector-button:hover {
  background: var(--blue);
  color: var(--white);
}
.file-help {
  font-size: 12px;
  color: var(--muted);
}

.contact-form .btn { margin-top: 12px; }
.form-foot {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 80px 0 32px;
  border-top: 1px solid var(--bg-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { margin-bottom: 24px; }
.footer-brand .logo img { height: 42px; filter: brightness(0) invert(1); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.3;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.01em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.footer-rule { font-style: italic; }

/* ---------------------------------------------------------------------
   REVEAL ANIMATIONS
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .featured-project { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card { grid-column: span 1; }
  .work-card.work-card-wide { grid-column: span 2; aspect-ratio: 3/2; }
  .intro-grid { grid-template-columns: 1fr; gap: 60px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 50px; }
  .service-grid { gap: 24px; }
}

@media (max-width: 720px) {
  :root { --gutter: var(--gutter-mobile); }

  nav { padding: 12px var(--gutter-mobile); }
  #nav.scrolled { padding: 10px var(--gutter-mobile); }
  .nav-inner { gap: 12px; }
  .logo img { height: 32px; }
  #nav .logo img { height: 32px; }
  nav.scrolled .logo img { height: 28px; }
  .menu-btn { display: flex; }

  /* Phone icon stays visible on mobile (outside hamburger) */
  .nav-phone {
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--gutter-mobile);
    gap: 8px;
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -8px rgba(14, 20, 40, 0.2);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 14px 4px;
    font-size: 16px;
    color: var(--ink) !important;
    text-shadow: none !important;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  /* Inside hamburger — phone icon as full-width row */
  .nav-links .nav-phone {
    width: auto;
    height: auto;
    border-radius: 12px;
    padding: 14px;
    gap: 10px;
    background: var(--blue-tint);
    border-color: var(--blue);
    color: var(--blue) !important;
    margin-left: 0;
  }
  .nav-links .nav-phone::before {
    content: 'Call now';
    font-weight: 600;
    font-size: 14px;
  }
  .nav-links .nav-phone:hover { transform: none; }
  .nav-links .nav-cta {
    margin-top: 6px;
    text-align: center;
    justify-content: center;
  }

  .hero { padding: 100px var(--gutter-mobile) 60px; min-height: auto; }
  .hero-eyebrow {
    padding: 7px 12px;
    font-size: 9px;
    gap: 8px;
    margin-bottom: 32px;
    letter-spacing: 0.14em;
  }
  .hero-headline {
    font-size: clamp(44px, 12.5vw, 96px);
    margin-bottom: 32px;
    line-height: 0.96;
    padding-bottom: 0.12em;
  }
  .hero-headline em {
    font-size: 1.02em;
    letter-spacing: -0.01em;
  }
  .hero-meta { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero-cta-row {
    justify-self: stretch;
    gap: 10px;
  }
  .hero-cta-row .btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: 13px; }
  .hero-sub { font-size: 14px; }

  .clients-bar { padding: 24px 0 16px; }
  .clients-bar .container { gap: 14px; }
  .cb-label { font-size: 10px; }

  .intro, .services, .work, .approach, .testimonials, .contact { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title {
    font-size: clamp(34px, 8vw, 60px);
    line-height: 0.96;
  }
  .section-title em { font-size: 1.04em; }
  .section-sub { font-size: 15px; margin-top: 20px; }

  .intro-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat-num { font-size: 48px; }
  .stat-label { font-size: 10px; }

  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { border-radius: 10px; }
  .service-body { padding: 22px; }
  .service-name { font-size: 26px; }
  .service-desc { font-size: 14px; }
  .service-tags li { font-size: 10px; padding: 5px 10px; }

  .work-grid { grid-template-columns: 1fr; gap: 14px; }
  .work-card, .work-card.work-card-wide { grid-column: span 1; aspect-ratio: 4/3; }
  .work-name { font-size: 17px; }

  .featured-project { border-radius: 12px; margin-bottom: 50px; }
  .fp-meta { padding: 28px 22px; gap: 14px; }
  .fp-name { font-size: 32px; }
  .fp-desc { font-size: 14px; }

  .approach-grid { grid-template-columns: 1fr; gap: 24px; }
  .phase { padding-top: 18px; }
  .phase-num { margin-bottom: 18px; font-size: 18px; }
  .phase-name { font-size: 24px; }
  .phase-desc { font-size: 13px; }

  .testimonial-stage { margin-top: 30px; }
  .t-mark { font-size: 80px; margin-bottom: 16px; }
  .t-quote { font-size: clamp(22px, 6.5vw, 30px); }
  .t-attr { margin-top: 30px; }
  .t-controls { margin-top: 36px; gap: 18px; }

  .ch-item { grid-template-columns: 1fr; gap: 4px; }
  .ch-value { font-size: 17px; }

  .contact-form { padding: 24px 18px; border-radius: 10px; }
  .form-title { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { padding: 13px 14px; font-size: 16px; }
  /* font-size: 16px on inputs prevents iOS zoom on focus */

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: 11px; }
  .footer-tag { font-size: 16px; }

  .cb-track { gap: 28px; }
  .cb-item { font-size: 16px; }
}

/* Extra-small phones (< 380px) */
@media (max-width: 380px) {
  .hero-headline { font-size: 40px; }
  .section-title { font-size: 30px; }
  .stat-num { font-size: 42px; }
  .fp-name { font-size: 28px; }
  .service-name { font-size: 22px; }
}

/* =====================================================================
   SHINE-TEXT — cursor-following orange spotlight on text
   Placed at end of file so it overrides element color rules above.
   Configurable via --shine-base CSS var so the same effect works
   for headlines, paragraphs, labels, and small muted text.
   ===================================================================== */
.shine-text {
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
}

/* Dark backgrounds: white base, orange spotlight (smaller spotlight for body text) */
.shine-text.shine-on-dark {
  --shine-base: #FFFFFF;
  --shine-radius: 180px;
  background-image:
    radial-gradient(circle var(--shine-radius) at var(--mx, -400px) var(--my, -400px),
      #F07020 0%,
      #F07020 18%,
      rgba(240, 112, 32, 0.65) 38%,
      rgba(0, 0, 0, 0) 65%),
    linear-gradient(var(--shine-base), var(--shine-base));
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Light backgrounds: ink base, orange spotlight */
.shine-text.shine-on-light {
  --shine-base: #0E1428;
  --shine-radius: 180px;
  background-image:
    radial-gradient(circle var(--shine-radius) at var(--mx, -400px) var(--my, -400px),
      #F07020 0%,
      #F07020 18%,
      rgba(240, 112, 32, 0.6) 38%,
      rgba(0, 0, 0, 0) 65%),
    linear-gradient(var(--shine-base), var(--shine-base));
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Modifier: muted text (gray-base) for small captions, eyebrow labels */
.shine-text.shine-muted { --shine-base: #6B7280; }
.shine-text.shine-ink2  { --shine-base: #2A3148; }
.shine-text.shine-soft-on-dark { --shine-base: rgba(255, 255, 255, 0.75); }
.shine-text.shine-soft-on-dark.shine-on-dark {
  background-image:
    radial-gradient(circle var(--shine-radius) at var(--mx, -400px) var(--my, -400px),
      #F07020 0%,
      #F07020 18%,
      rgba(240, 112, 32, 0.65) 38%,
      rgba(0, 0, 0, 0) 65%),
    linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75));
}

/* Smaller spotlight on body text so the effect is more contained */
.shine-text.shine-small {
  --shine-radius: 120px;
}

/* Keep <em> (italic accents) in their own orange always — they shouldn't shine */
.shine-text em {
  color: var(--orange) !important;
  -webkit-text-fill-color: var(--orange) !important;
  background: none;
}

/* =====================================================================
   TOUCH DEVICE OVERRIDE — critical
   On iOS Safari, Android Chrome, and any device without a mouse cursor,
   the cursor-following spotlight effect makes no sense (no cursor) and
   the background-clip:text + transparent fill technique causes the
   text to render as completely invisible white space because the
   --mx/--my CSS vars never get set by mousemove. Disable the entire
   spotlight effect on touch devices and fall back to solid base colors.

   Two activation paths (belt-and-suspenders):
   1. CSS @media (hover: none), (pointer: coarse) — fires on iOS/Android
   2. html.is-touch — set by script.js as a JS-side fallback in case
      a browser quirk skips the media query
   ===================================================================== */
@media (hover: none), (pointer: coarse) {
  .shine-text,
  .shine-text.shine-on-dark,
  .shine-text.shine-on-light,
  .shine-text.shine-soft-on-dark,
  .shine-text.shine-soft-on-dark.shine-on-dark,
  .shine-text.shine-muted,
  .shine-text.shine-ink2,
  .shine-text.shine-small {
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
  }
  .shine-text.shine-on-dark { color: #FFFFFF !important; }
  .shine-text.shine-on-light { color: #0E1428 !important; }
  .shine-text.shine-muted { color: #6B7280 !important; }
  .shine-text.shine-ink2 { color: #2A3148 !important; }
  .shine-text.shine-soft-on-dark { color: rgba(255, 255, 255, 0.78) !important; }
  .shine-text em {
    color: var(--orange) !important;
    -webkit-text-fill-color: var(--orange) !important;
  }
}

/* JS-detected touch class — duplicate of the above. Triggers in any
   browser that doesn't honor the (hover: none) media query but does
   have touch support. */
html.is-touch .shine-text,
html.is-touch .shine-text.shine-on-dark,
html.is-touch .shine-text.shine-on-light,
html.is-touch .shine-text.shine-soft-on-dark,
html.is-touch .shine-text.shine-soft-on-dark.shine-on-dark,
html.is-touch .shine-text.shine-muted,
html.is-touch .shine-text.shine-ink2,
html.is-touch .shine-text.shine-small {
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}
html.is-touch .shine-text.shine-on-dark { color: #FFFFFF !important; }
html.is-touch .shine-text.shine-on-light { color: #0E1428 !important; }
html.is-touch .shine-text.shine-muted { color: #6B7280 !important; }
html.is-touch .shine-text.shine-ink2 { color: #2A3148 !important; }
html.is-touch .shine-text.shine-soft-on-dark { color: rgba(255, 255, 255, 0.78) !important; }
html.is-touch .shine-text em {
  color: var(--orange) !important;
  -webkit-text-fill-color: var(--orange) !important;
}

/* =====================================================================
   HOVER COLOR TRANSITIONS
   ===================================================================== */

/* Orange italic <em> text inverts on hover:
   white on dark sections, ink (dark navy) on light sections.
   We can't literally use white on light backgrounds (invisible),
   so smart-invert by surrounding context. */
.shine-text em,
.fp-name em,
.section-title em,
.hero-headline em {
  transition: color 0.3s var(--ease),
              -webkit-text-fill-color 0.3s var(--ease);
  cursor: default;
}
.shine-on-dark em:hover,
.shine-text.shine-on-dark em:hover,
.fp-name em:hover {
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white) !important;
}
.shine-on-light em:hover,
.shine-text.shine-on-light em:hover {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

/* Eyebrow num gets a small bump on hover */
.eyebrow .num {
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
.eyebrow:hover .num {
  transform: translateX(-2px) scale(1.1);
}

/* =====================================================================
   MOBILE STICKY CTA — call + quote bar, fixed bottom, mobile only
   ===================================================================== */
.mobile-cta {
  display: none;
}
@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 95;
    gap: 8px;
    padding: 8px;
    background: rgba(14, 20, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35),
                0 4px 12px rgba(0, 0, 0, 0.2);
    animation: mobileCtaIn 0.6s 0.5s var(--ease) backwards;
  }
  @keyframes mobileCtaIn {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .mc-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 999px;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  }
  .mc-call {
    background: var(--blue);
  }
  .mc-call:active { background: var(--blue-deep); transform: scale(0.97); }
  .mc-quote {
    background: var(--orange);
  }
  .mc-quote:active { background: var(--orange-deep); transform: scale(0.97); }

  /* Lift footer/contact form so it isn't covered by the sticky bar */
  footer { padding-bottom: 110px; }
}

/* =====================================================================
   CHATBOT — collects briefs, sends as email
   ===================================================================== */
.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  font-family: var(--body);
}

/* Toggle button (the floating chat bubble) */
.cb-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 14px 36px -10px rgba(48, 80, 160, 0.65),
              0 6px 18px -6px rgba(48, 80, 160, 0.45);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  border: none;
}
.cb-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--blue-deep);
}
.cb-toggle .cb-icon-close { display: none; }
.cb-toggle.active .cb-icon-chat { display: none; }
.cb-toggle.active .cb-icon-close { display: block; }
.cb-toggle.active { background: var(--ink); }

/* Pulse ring around the toggle to draw attention initially */
.cb-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  pointer-events: none;
  animation: cbPulse 2.4s ease-out infinite;
}
.cb-toggle.active .cb-pulse { display: none; }
@keyframes cbPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.4);  opacity: 0; }
  100% { transform: scale(1.4);  opacity: 0; }
}

/* Panel */
.cb-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: var(--bg-2);
  border-radius: 18px;
  box-shadow: 0 28px 60px -16px rgba(14, 20, 40, 0.4),
              0 12px 28px -8px rgba(14, 20, 40, 0.2);
  border: 1px solid rgba(14, 20, 40, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.cb-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Head */
.cb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  position: relative;
}
.cb-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(240, 112, 32, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cb-head-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cb-head-text {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.cb-head-text strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cb-head-text span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 2px;
}
.cb-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}
.cb-head-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background 0.2s;
}
.cb-head-close:hover { background: rgba(255, 255, 255, 0.22); }

/* Messages */
.cb-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  scroll-behavior: smooth;
}
.cb-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  word-wrap: break-word;
  animation: cbMsgIn 0.4s var(--ease) backwards;
}
@keyframes cbMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cb-msg.bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.cb-msg.user {
  align-self: flex-end;
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 6px;
}
.cb-msg.system {
  align-self: center;
  max-width: 90%;
  text-align: center;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  padding: 10px 14px;
}
.cb-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.cb-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: cbType 1.2s infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.18s; }
.cb-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes cbType {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1); }
}

/* Input */
.cb-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.cb-input {
  flex-grow: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.cb-input:focus { border-color: var(--blue); }
.cb-input:disabled { opacity: 0.5; }
.cb-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.cb-send:hover { background: var(--orange-deep); transform: scale(1.05); }
.cb-send:disabled { background: var(--muted); cursor: not-allowed; transform: none; }

/* Quick reply chips */
.cb-quickreply {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
  background: var(--bg-2);
}
.cb-quickreply:empty { padding: 0; }
.cb-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cb-chip:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

/* Foot */
.cb-foot {
  padding: 8px 16px;
  background: var(--bg-2);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .chatbot {
    bottom: 80px;          /* clear of the sticky CTA bar */
    right: 14px;
  }
  .cb-toggle {
    width: 54px;
    height: 54px;
  }
  .cb-panel {
    width: calc(100vw - 28px);
    height: 70vh;
    max-height: 540px;
    bottom: 68px;
    right: 0;
  }
}

/* =====================================================================
   FAQ — accordion section, SEO-friendly with FAQPage schema
   ===================================================================== */
.faq {
  padding: 130px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.faq .section-head { margin-bottom: 60px; }
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: none;
  transition: color 0.25s var(--ease);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-item summary > span:first-child {
  flex: 1;
  line-height: 1.3;
}
.faq-plus {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 1px solid var(--blue);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  font-family: var(--body);
  transition: transform 0.35s var(--ease),
              background 0.25s var(--ease),
              color 0.25s var(--ease);
  line-height: 1;
}
.faq-item[open] .faq-plus {
  transform: rotate(135deg);
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.faq-item summary:hover .faq-plus {
  background: var(--blue);
  color: var(--white);
}
.faq-body {
  padding: 0 8px 28px;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 70ch;
  animation: faqSlide 0.3s var(--ease);
}
.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--ink); font-weight: 600; }
.faq-body a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  transition: color 0.25s, border-color 0.25s;
}
.faq-body a:hover { color: var(--orange); border-bottom-color: var(--orange); }
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .faq { padding: 70px 0; }
  .faq .section-head { margin-bottom: 36px; }
  .faq-item summary {
    padding: 22px 4px;
    gap: 16px;
    font-size: 16px;
  }
  .faq-plus {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .faq-body {
    padding: 0 4px 24px;
    font-size: 14px;
  }
}

/* =====================================================================
   INTERIOR PAGES — service, location, case study, blog
   Compact hero, breadcrumb, prose body, pricing tables, related cards
   ===================================================================== */

/* Compact dark hero for interior pages (much shorter than homepage) */
.page-hero {
  min-height: 56vh;
  padding: 140px var(--gutter) 70px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--bg-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(48, 80, 160, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, rgba(14, 20, 40, 0.6) 0%, rgba(14, 20, 40, 0.85) 70%, rgba(14, 20, 40, 0.95) 100%);
  z-index: 1;
}
.page-hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s var(--ease);
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep {
  opacity: 0.5;
  margin: 0 4px;
}
.breadcrumb .current {
  color: var(--white);
}

.page-h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--white);
  text-transform: uppercase;
  padding-bottom: 0.08em;
  margin-bottom: 28px;
}
.page-h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
  letter-spacing: -0.005em;
  font-size: 1.05em;
}
.page-intro {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin-bottom: 36px;
}
.page-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Prose / content body */
.prose {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.prose-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.prose-aside {
  position: sticky;
  top: 100px;
  font-family: var(--body);
}
.prose-aside .eyebrow {
  margin-bottom: 16px;
}
.prose-aside-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.prose-aside-list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.prose-aside-list a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.prose-body {
  max-width: 70ch;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-transform: uppercase;
  margin-top: 56px;
  margin-bottom: 20px;
}
.prose-body h2:first-child { margin-top: 0; }
.prose-body h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
}
.prose-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  margin-top: 36px;
  margin-bottom: 12px;
}
.prose-body p {
  margin-bottom: 18px;
}
.prose-body strong {
  color: var(--ink);
  font-weight: 600;
}
.prose-body a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  transition: color 0.2s, border-color 0.2s;
}
.prose-body a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.prose-body ul {
  list-style: none;
  margin-bottom: 18px;
  padding-left: 0;
}
.prose-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.prose-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Pricing/feature table */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 36px 0 18px;
}
.feature-card {
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 20px 50px -16px rgba(48, 80, 160, 0.3);
}
.feature-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 0 !important;
}
.feature-card .price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}

/* Quick fact list (for location pages) */
.fact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 28px 0 32px;
  padding: 24px;
  background: var(--bg-2);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
}
.fact-list .fact-item {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.fact-list .fact-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.fact-list .fact-value {
  font-weight: 500;
  color: var(--ink);
}

/* Related / Internal Linking section */
.related {
  padding: 90px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.related-card {
  display: block;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease);
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 24px 50px -16px rgba(48, 80, 160, 0.32);
}
.related-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}
.related-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.related-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.related-card-arrow {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.25s var(--ease);
}
.related-card:hover .related-card-arrow { gap: 12px; }

/* Mid-page CTA strip */
.cta-strip {
  padding: 80px var(--gutter);
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(48, 80, 160, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(240, 112, 32, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 2; }
.cta-strip h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--white);
  text-transform: uppercase;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.cta-strip h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
}
.cta-strip p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  margin: 0 auto 30px;
}

/* Case study specific */
.cs-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 36px 0;
}
.cs-meta-item .cs-meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.cs-meta-item .cs-meta-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.cs-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  border-left: 4px solid var(--orange);
  padding-left: 28px;
  margin: 36px 0;
  letter-spacing: -0.005em;
}
.cs-quote-attr {
  display: block;
  margin-top: 16px;
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Blog index */
.blog-empty {
  text-align: center;
  padding: 100px 20px;
  color: var(--ink-2);
}
.blog-empty h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.blog-empty h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  text-transform: none;
}
.blog-empty p {
  font-size: 16px;
  max-width: 50ch;
  margin: 0 auto;
}

/* NAV DROPDOWNS */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > .nav-dropdown-trigger::after {
  content: '▾';
  font-size: 9px;
  margin-left: 2px;
  margin-top: 2px;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown:hover > .nav-dropdown-trigger::after,
.nav-dropdown.open > .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  padding: 12px;
  background: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(14, 20, 40, 0.25);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  display: grid;
  gap: 2px;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  text-shadow: none !important;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s !important;
  text-align: left !important;
  display: block !important;
}
.nav-dropdown-menu a:hover {
  background: var(--blue-tint);
  color: var(--blue) !important;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu .dropdown-section-label {
  display: block;
  padding: 10px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.nav-dropdown-menu .dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 8px;
}

/* RESPONSIVE — interior pages */
@media (max-width: 1100px) {
  .prose-grid { grid-template-columns: 1fr; gap: 30px; }
  .prose-aside {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .prose-aside-list {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    padding-left: 0;
    gap: 6px 14px;
  }
}
@media (max-width: 720px) {
  .page-hero {
    padding: 110px var(--gutter-mobile) 50px;
    min-height: auto;
    align-items: flex-start;
  }
  .page-h1 { font-size: clamp(34px, 9vw, 56px); }
  .page-intro { font-size: 14px; }
  .breadcrumb { font-size: 11px; margin-bottom: 18px; flex-wrap: wrap; }
  .prose { padding: 60px 0; }
  .prose-body { font-size: 15px; }
  .prose-body h2 { font-size: 26px; margin-top: 36px; }
  .prose-body h3 { font-size: 18px; margin-top: 24px; }
  .related { padding: 60px 0; }
  .cs-meta { grid-template-columns: 1fr 1fr; padding: 24px 0; gap: 16px; }
  .cs-quote { padding-left: 18px; font-size: 18px; }
  .cta-strip { padding: 60px var(--gutter-mobile); }

  /* Mobile: dropdowns become stacked sub-lists */
  .nav-dropdown > .nav-dropdown-trigger::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 16px;
    min-width: 0;
  }
  .nav-dropdown-menu .dropdown-section-label {
    padding: 6px 0 2px;
    font-size: 9px;
  }
  .nav-dropdown-menu a {
    padding: 6px 0 !important;
    font-size: 14px !important;
    color: var(--ink-2) !important;
    border-bottom: none !important;
  }
}

