/* =====================================================================
   NAVYA — Brand Redesign / Design System v2
   Deep Navy · Warm Gold · Coral  ·  Manrope (display) + Inter (body)
   Standalone approval build — not wired to Wagtail.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ---- Core palette (refined) ------------------------------------- */
  --navy-950: #050B1A;
  --navy-900: #0A1730;
  --navy-800: #0F2242;
  --navy-700: #16305C;
  --navy-600: #1E3E74;
  --navy-500: #2B4E8C;

  --gold-300: #EBD6A8;
  --gold-400: #DCBC80;
  --gold-500: #C9A15C;
  --gold-600: #B48A45;

  --coral-300: #F3B29E;
  --coral-400: #EA8468;
  --coral-500: #E2694A;
  --coral-600: #C8502F;

  --cream-50:  #FBF9F5;
  --cream-100: #F6F2EA;
  --cream-200: #EFE8DA;

  --gray-100: #F2F3F6;
  --gray-200: #E7E9EE;
  --gray-300: #D6DAE2;

  --ink:      #0A1730;
  --slate-500: #576079;
  --slate-400: #838BA0;
  --slate-300: #AEB4C4;
  --white: #ffffff;

  --line:   rgba(10, 23, 48, 0.08);
  --line-2: rgba(10, 23, 48, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.10);

  --gold-tint:  rgba(201, 161, 92, 0.14);
  --coral-tint: rgba(226, 105, 74, 0.12);
  --navy-tint:  rgba(10, 23, 48, 0.05);

  /* ---- Radii / shadows ---------------------------------------------- */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-full: 999px;

  --shadow-xs: 0 2px 8px rgba(10, 23, 48, .05);
  --shadow-sm: 0 8px 20px rgba(10, 23, 48, .06);
  --shadow-md: 0 20px 44px rgba(10, 23, 48, .10);
  --shadow-lg: 0 36px 90px rgba(10, 23, 48, .18);
  --shadow-gold: 0 20px 50px rgba(201, 161, 92, .28);
  --shadow-coral: 0 20px 50px rgba(226, 105, 74, .25);

  /* ---- Type / layout -------------------------------------------------- */
  --ff-display: 'Manrope', 'Inter', sans-serif;
  --ff-body: 'Hanken Grotesk', sans-serif;
  --maxw: 1280px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
}

/* ============================ Reset / base =========================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--ff-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) {
  .container { padding: 0 22px; }
}

section { position: relative; }

/* Noise texture overlay, used inside dark sections */
.noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* ============================ Eyebrow / heads ========================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral-500); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-500);
  box-shadow: 0 0 0 4px var(--coral-tint);
}
.eyebrow.on-dark { color: var(--gold-400); }
.eyebrow.on-dark::before { background: var(--gold-400); box-shadow: 0 0 0 4px rgba(220,188,128,.18); }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem); color: var(--ink); margin: 0 0 18px; }
.section-head p { color: var(--slate-500); font-size: 17px; line-height: 1.7; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: var(--slate-300); }
.section-head.left { margin: 0 0 56px; text-align: left; }
.section-head.split { max-width: none; text-align: left; margin: 0 0 56px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============================ Buttons ================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-full); font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; padding: 15px 28px;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .3s var(--ease-spring); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-navy:active { transform: translateY(-1px); }

.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }

.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy-900); transform: translateY(-2px); }

.btn-ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* Ripple */
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: ripple .6s var(--ease-out); pointer-events: none; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* ============================ Logo ===================================== */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 32px; width: auto; display: block; }
.footer-brand .logo-img { height: 38px; }
/* Dark sections: the mark keeps its true brand colors — set on a small light
   card so the navy wordmark still has the contrast to read, rather than
   flattening the logo to a white silhouette. */
.footer .logo,
.mobile-nav .logo {
  background: var(--cream-50); border-radius: var(--r-md);
  padding: 12px 18px; box-shadow: var(--shadow-sm);
}

/* ============================ Header =================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(251, 249, 245, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: var(--r-full); font-size: 14.5px; font-weight: 600;
  color: var(--slate-500); transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--navy-tint); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--r-full); border: 1px solid var(--line-2); background: #fff;
    flex-direction: column; gap: 4px; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
  .header-actions .btn-navy { padding: 11px 18px; font-size: 13.5px; }
}

/* ============================ Hero ===================================== */
.hero {
  position: relative;
  padding: 150px 0 140px;
  background: var(--cream-50);
  overflow: hidden;
  isolation: isolate;
}
/* Floating gradient orbs — soft, low-contrast atmosphere rather than a color statement */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.orb-1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(201,161,92,.18), transparent 70%); animation: float-slow 14s var(--ease) infinite; }
@keyframes float-slow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-28px, 34px) scale(1.08); } }

/* Cursor spotlight — a soft darkening pool rather than a glow, since the hero is light */
.spotlight {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(10,23,48,.045), transparent 70%);
}
.hero:hover .spotlight { opacity: 1; }

.hero-content { position: relative; z-index: 3; text-align: center; max-width: 900px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
  border-radius: var(--r-full); background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 34px; box-shadow: var(--shadow-xs);
}
.hero-badge .pill { background: var(--gold-500); color: var(--navy-950); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .04em; }

.hero h1 {
  color: var(--ink); font-size: clamp(2.6rem, 1.9rem + 3.6vw, 5.5rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero h1 .grad { color: var(--coral-600); }
.hero-sub { color: var(--slate-500); font-size: 19px; line-height: 1.7; max-width: 620px; margin: 28px auto 42px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 90px; }

/* Floating dashboard mockup */
.hero-stage { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; perspective: 1400px; }
.dash {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, #0E1D3B, #0A1730);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 60px 140px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: rotateX(6deg) scale(1);
  transition: transform .6s var(--ease-out);
}
.hero-stage:hover .dash { transform: rotateX(2deg) scale(1.01); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dash-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
.dash-bar .url { margin-left: 14px; font-size: 12px; color: var(--slate-300); background: rgba(255,255,255,.05); padding: 5px 14px; border-radius: var(--r-full); }
.dash-body { display: grid; grid-template-columns: 220px 1fr; min-height: 380px; }
.dash-side { border-right: 1px solid rgba(255,255,255,.08); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; }
.dash-side .d-item { padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--slate-300); }
.dash-side .d-item.active { background: rgba(201,161,92,.14); color: var(--gold-300); font-weight: 600; }
.dash-main { padding: 26px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.dash-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 18px; }
.dash-card .label { font-size: 11.5px; color: var(--slate-300); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.dash-card .num { font-family: var(--ff-display); font-size: 26px; color: #fff; font-weight: 800; }
.dash-card .up { color: #7CD9A8; font-size: 12px; font-weight: 700; margin-left: 6px; }
.dash-chart { grid-column: 1 / -1; height: 140px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 18px; display: flex; align-items: flex-end; gap: 10px; }
.dash-chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--gold-400), rgba(201,161,92,.15)); animation: bar-grow 1.4s var(--ease-out) both; }
.dash-chart i:nth-child(1) { height: 38%; }
.dash-chart i:nth-child(2) { height: 62%; }
.dash-chart i:nth-child(3) { height: 48%; }
.dash-chart i:nth-child(4) { height: 80%; }
.dash-chart i:nth-child(5) { height: 54%; }
.dash-chart i:nth-child(6) { height: 92%; }
.dash-chart i:nth-child(7) { height: 70%; }
.dash-chart i:nth-child(8) { height: 86%; }
.dash-chart i:nth-child(9) { height: 60%; }
.dash-chart i:nth-child(10) { height: 100%; }

@keyframes bar-grow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

/* Floating UI cards around dashboard */
.float-card {
  position: absolute; background: #fff; backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 4;
  animation: float-card 6s var(--ease) infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.float-card .ic.gold { background: var(--gold-tint); color: var(--gold-600); }
.float-card .ic.coral { background: var(--coral-tint); color: var(--coral-600); }
.float-card .t1 { font-size: 12px; color: var(--slate-500); font-weight: 600; }
.float-card .t2 { font-size: 15px; font-weight: 800; color: var(--ink); font-family: var(--ff-display); }
.fc-a { top: -6%; left: -6%; animation-delay: 0s; }
.fc-b { bottom: -8%; right: -4%; animation-delay: 1.2s; }
.fc-c { top: 38%; right: -9%; animation-delay: 2.4s; }
@keyframes float-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 900px) {
  .float-card { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-main { grid-template-columns: repeat(2, 1fr); }
}

/* Trusted clients strip — a real feature, not a faded afterthought: full-opacity
   marks in a bordered bar so the social proof actually reads as social proof. */
.trusted { position: relative; z-index: 2; margin-top: 70px; text-align: center; }
.trusted p { color: var(--slate-500); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 30px; }
.trusted-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0;
}
.trusted-row .tlogo {
  display: flex; align-items: center; gap: 10px; padding: 6px 34px;
  border-left: 1px solid var(--line); font-family: var(--ff-display); font-weight: 800;
  font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; transition: color .3s var(--ease);
}
.trusted-row .tlogo:first-child { border-left: none; }
.trusted-row .tlogo svg { width: 22px; height: 22px; color: var(--coral-500); flex-shrink: 0; }
.trusted-row .tlogo:hover { color: var(--coral-600); }

@media (max-width: 700px) {
  .trusted-row .tlogo { padding: 8px 18px; font-size: 14.5px; border-left: none; }
}

/* Hero on-load entrance — the hero ships pre-revealed (class="reveal in", no
   IntersectionObserver: it's above the fold, so it must be visible with no
   scroll trigger, avoiding a flash of invisible content). Orchestrated here as
   a staggered @keyframes sequence instead, so it still arrives with motion. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-rise-scale { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.hero-badge.reveal.in { animation: hero-rise .8s var(--ease-out) both; }
.hero h1.reveal.in { animation: hero-rise .8s var(--ease-out) .09s both; }
.hero-sub.reveal.in { animation: hero-rise .8s var(--ease-out) .18s both; }
.hero-cta.reveal.in { animation: hero-rise .8s var(--ease-out) .27s both; }
.hero-stage.reveal-scale.in { animation: hero-rise-scale 1s var(--ease-out) .38s both; }
.trusted.reveal.in { animation: hero-rise .8s var(--ease-out) .58s both; }

/* ============================ Reveal animation ========================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger .reveal { transition-delay: calc(var(--i, 0) * .07s + .05s); }

/* ============================ Services ================================= */
.services { padding: 150px 0; background: var(--cream-100); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; padding: 34px 30px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); overflow: hidden; cursor: pointer;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(120% 100% at 0% 0%, rgba(201,161,92,.10), transparent 60%);
}
.svc-card:hover::after { opacity: 1; }
.svc-ic {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--gold-400); font-size: 22px; margin-bottom: 26px;
  transition: transform .45s var(--ease-spring), background .3s var(--ease);
}
.svc-card:hover .svc-ic { transform: rotate(-6deg) scale(1.06); background: var(--navy-950); }
.svc-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.svc-card p { color: var(--slate-500); font-size: 14.5px; line-height: 1.65; margin-bottom: 18px; }


@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================ Why Navya / Stats ======================== */
.why { padding: 150px 0; background: var(--navy-950); color: #fff; overflow: hidden; }
.why-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.why-top .section-head { margin: 0; text-align: left; }
.why-top p.lead { color: var(--slate-300); font-size: 16.5px; line-height: 1.75; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #0B1830; padding: 40px 28px; }
.stat .num { font-family: var(--ff-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.4rem); font-weight: 800; color: #fff; }
.stat .lbl { color: var(--slate-300); font-size: 13.5px; margin-top: 10px; font-weight: 600; }

@media (max-width: 900px) { .why-top { grid-template-columns: 1fr; gap: 24px; } .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================ Products ================================= */
.products { padding: 150px 0; background: var(--cream-50); }
.prod-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }
.prod-tab {
  padding: 11px 22px; border-radius: var(--r-full); font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1px solid var(--line-2); color: var(--slate-500); background: #fff; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.prod-tab.active, .prod-tab:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ── Product Slider ── */
.prod-slider-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r-xl);
}
.prod-track {
  display: flex;
  gap: 24px;
  transition: transform .6s var(--ease-out);
  justify-content: center;
}
.prod-slide {
  flex: 0 0 calc(50% - 12px);
  min-width: 0;
  max-width: calc(50% - 12px);
}
.prod-slide.is-hidden {
  display: none;
}
.prod-card {
  border-radius: var(--r-xl); background: linear-gradient(165deg, #101F3D, #0A1730); color: #fff; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-height: 30rem;
}
.prod-card .prod-head { padding: 28px 28px 0; flex-shrink: 0; }
.prod-card .tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); background: rgba(201,161,92,.14); padding: 4px 10px; border-radius: var(--r-full); margin-bottom: 12px; }
.prod-card h3 { font-size: 20px; margin-bottom: 8px; }
.prod-card p { color: var(--slate-300); font-size: 13.5px; line-height: 1.6; padding-bottom: 10px; }
.prod-image-wrap {
  margin: auto 20px 20px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  flex: 1;
  min-height: 0;
}
.prod-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-preview {
  padding: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  width: 100%;
  height: 100%;
  align-content: center;
}
.prod-preview .pv-card { background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px; }
.prod-preview .pv-card .pv-bar { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), var(--coral-400)); margin-bottom: 8px; }
.prod-preview .pv-card .pv-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin-bottom: 6px; }
.prod-preview .pv-card .pv-line:last-child { width: 60%; }

.prod-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.prod-arrow:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.prod-arrow--prev { left: 16px; }
.prod-arrow--next { right: 16px; }
.prod-arrow.is-hidden { display: none; }

.prod-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.prod-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line-2);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.prod-dots button.is-active {
  background: var(--gold-500);
  transform: scale(1.35);
}

@media (max-width: 760px) {
  .prod-slide { flex: 0 0 100%; }
  .prod-arrow--prev { left: 12px; }
  .prod-arrow--next { right: 12px; }
  .prod-card .prod-head { padding: 20px 20px 0; }
  .prod-card h3 { font-size: 18px; }
  .prod-image-wrap { margin: auto 14px 14px; }
}

/* ============================ Workflow ================================= */
.workflow { padding: 150px 0; background: var(--cream-100); overflow: hidden; }
.wf-track { position: relative; margin-top: 40px; }
.wf-line-svg { position: absolute; top: 34px; left: 0; width: 100%; height: 4px; }
.wf-line-svg path { fill: none; stroke: var(--line-2); stroke-width: 2; }
.wf-line-svg path.draw { stroke: var(--gold-500); stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.6s var(--ease-out); }
.wf-line-svg path.draw.in { stroke-dashoffset: 0; }

.wf-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; z-index: 1; }
.wf-step { text-align: center; }
.wf-dot {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 800; font-size: 18px; color: var(--slate-400);
  transition: background .4s var(--ease-spring), border-color .4s var(--ease-spring), color .4s var(--ease-spring), transform .4s var(--ease-spring);
  transition-delay: calc(var(--i, 0) * .12s);
}
.wf-step.in .wf-dot { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); transform: scale(1.08); }
.wf-step h4 { font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }
.wf-step p { font-size: 12.5px; color: var(--slate-500); line-height: 1.5; }

@media (max-width: 900px) { .wf-row { grid-template-columns: repeat(4, 1fr); row-gap: 40px; } .wf-line-svg { display: none; } }
@media (max-width: 560px) { .wf-row { grid-template-columns: repeat(2, 1fr); } }

/* ============================ Case Studies ============================= */
.cases { padding: 150px 0; background: var(--cream-50); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border-radius: var(--r-xl); overflow: hidden; position: relative; aspect-ratio: 4/5; cursor: pointer; }
.case-card .cs-bg {
  position: absolute; inset: 0; background: linear-gradient(150deg, var(--navy-600), var(--navy-900));
  transition: transform .7s var(--ease-out);
}
.case-card--mfg .cs-bg { background: linear-gradient(150deg, var(--navy-600), var(--navy-900)); }
.case-card--edu .cs-bg { background: linear-gradient(150deg, var(--gold-600), var(--navy-900)); }
.case-card--retail .cs-bg { background: linear-gradient(150deg, var(--coral-600), var(--navy-900)); }
.case-card:hover .cs-bg { transform: scale(1.08); }
.case-card .cs-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,26,.92) 5%, rgba(5,11,26,.15) 55%, transparent 80%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
}
.case-card .cs-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 10px; }
.case-card h3 { font-size: 21px; margin-bottom: 12px; }
.case-card .cs-metrics { display: flex; gap: 18px; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease-out); }
.case-card:hover .cs-metrics { opacity: 1; transform: translateY(0); }
.case-card .cs-metrics div { font-size: 12px; color: var(--slate-300); }
.case-card .cs-metrics b { display: block; font-family: var(--ff-display); font-size: 17px; color: #fff; }

@media (max-width: 980px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============================ Tech stack ================================ */
.techstack { padding: 150px 0; background: var(--navy-800); color: #fff; }

.ts-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 72px; flex-wrap: wrap; }
.ts-title { font-size: clamp(2.4rem, 1.9rem + 2.4vw, 4.5rem); letter-spacing: -.03em; color: #fff; text-transform: uppercase; }
.ts-label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-300); white-space: nowrap; }

.ts-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }

/* ---- Rail ---- */
.ts-rail { display: flex; flex-direction: column; }
.ts-row {
  position: relative; display: flex; align-items: center; gap: 20px;
  width: 100%; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,.14);
  padding: 22px 0; cursor: pointer; text-align: left; font-family: inherit;
  transition: padding .5s var(--ease-out);
}
.ts-row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.ts-row.is-active { padding-left: 18px; }
.ts-row.is-active::after { transform: scaleX(1); }

.ts-idx { font-family: var(--ff-display); font-weight: 800; font-size: 13px; color: var(--slate-400); transition: color .4s var(--ease); }
.ts-row.is-active .ts-idx { color: var(--gold-400); }

.ts-name {
  font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
  text-transform: uppercase; letter-spacing: -.01em; color: var(--slate-400);
  transition: color .35s var(--ease);
}
@supports (-webkit-text-stroke: 1px red) {
  .ts-name { color: transparent; -webkit-text-stroke: 1.2px #4a4a4a; transition: -webkit-text-stroke-color .35s var(--ease), color .35s var(--ease); }
}
/* Active row: text fills in solid instead of staying an outline — the outline
   reads as "selected but hollow"; a real selection should feel solid/lit. */
.ts-row.is-active .ts-name { color: #fff; -webkit-text-stroke-width: 0; }

.ts-count { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--slate-400); font-variant-numeric: tabular-nums; }

/* ---- Stage ---- */
.ts-stage { position: relative; min-height: 220px; }
.ts-panel { display: none; }
.ts-panel.is-active { display: flex; }
.ts-icons { display: flex; flex-wrap: wrap; gap: 38px; align-content: center; }

.ts-icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; }
.ts-icon i, .ts-icon svg {
  transition: transform .45s var(--ease-spring);
}
.ts-icon i { font-size: 62px; line-height: 1; }
.ts-icon svg { width: 62px; height: 62px; }
.ts-icon:hover i, .ts-icon:hover svg { transform: translateY(-10px) scale(1.2); }

/* The three marks whose real logo IS a colored container + lettering
   (TypeScript, Next.js, Django) keep that container instead of floating bare. */
.ts-badge {
  width: 62px; height: 62px; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 800; color: #fff; flex-shrink: 0;
  transition: transform .45s var(--ease-spring);
}
.ts-badge.is-square { border-radius: 14px; font-size: 20px; letter-spacing: -.02em; }
.ts-badge.is-circle { border-radius: 50%; font-size: 26px; }
.ts-icon:hover .ts-badge { transform: translateY(-10px) scale(1.2); }

@media (max-width: 900px) {
  .ts-grid { grid-template-columns: 1fr; gap: 40px; }
  .ts-stage { min-height: 0; }
}

/* ============================ Testimonials ============================== */
.testi { padding: 150px 0; background: var(--cream-100); }

.testi-spot {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 64px 60px;
}
.testi-mark { width: 34px; height: 26px; margin: 0 auto 30px; color: var(--coral-300); display: block; }

.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: testi-in .6s var(--ease-out) both; }
@keyframes testi-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.testi-slide .quote {
  font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.45; letter-spacing: -.01em; color: var(--ink); margin: 0 0 40px;
}
.testi-avatar {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--coral-tint); color: var(--coral-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 800; font-size: 19px;
}
.testi-slide .name { font-weight: 700; font-size: 15px; color: var(--ink); }
.testi-slide .role { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-500); margin-top: 5px; }

.testi-rule { width: 64px; height: 1px; background: var(--line-2); margin: 40px auto 0; }

.testi-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 22px; }
.testi-dots button {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: var(--gray-300);
  cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease);
}
.testi-dots button.is-active { background: var(--coral-500); transform: scale(1.3); }

@media (max-width: 640px) { .testi-spot { padding: 48px 26px; } }

/* ============================ CTA ======================================= */
.cta {
  padding: 130px 0; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--navy-700), var(--navy-800));
}
.cta .orb-1 { top: -180px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 1.7rem + 2vw, 3.6rem); max-width: 760px; margin: 0 auto 24px; position: relative; z-index: 2; }
.cta p { color: var(--slate-300); font-size: 17px; max-width: 520px; margin: 0 auto 42px; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ============================ Footer ==================================== */
.footer { background: var(--navy-900); color: var(--slate-300); padding: 90px 0 0; position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand p { font-size: 14px; line-height: 1.75; margin: 20px 0 24px; max-width: 280px; color: var(--slate-400); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); transform: translateY(-3px); }
.footer-col h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14px; color: var(--slate-400); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-400); }
.footer-news p { font-size: 13.5px; color: var(--slate-400); margin: 0; }
.footer-news .field { display: flex; margin-top: 16px; border-radius: var(--r-full); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 5px; }
.footer-news input { flex: 1; background: transparent; border: none; padding: 10px 14px; color: #fff; font-size: 13.5px; }
.footer-news input::placeholder { color: var(--slate-400); }
.footer-news button { background: var(--gold-500); color: var(--navy-950); border: none; border-radius: var(--r-full); padding: 10px 16px; font-weight: 700; font-size: 13px; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.footer-news button:hover { background: var(--gold-400); transform: translateY(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 13px; color: var(--slate-400); flex-wrap: wrap; gap: 14px; }
.footer-legal { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-legal a { color: var(--slate-400); transition: color .25s var(--ease); }
.footer-legal a:hover { color: var(--gold-400); }

@media (max-width: 980px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================ Mobile nav drawer ========================= */
.mobile-nav {
  position: fixed; inset: 0; z-index: 300; background: var(--navy-950); color: #fff;
  display: flex; flex-direction: column; padding: 26px 26px 40px;
  transform: translateX(100%); transition: transform .5s var(--ease-out); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .mn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.mobile-nav .mn-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
  .mobile-nav a { display: block; font-family: var(--ff-display); font-size: 26px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* =====================================================================
   Wagtail CMS page components (interior pages)
   ===================================================================== */

/* Page header (cream bg matching home hero) */
.page-header {
  position: relative; overflow: hidden;
  background: var(--cream-50);
  padding: 150px 0 140px;
}
.page-header-media { position: absolute; inset: 0; z-index: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-header .container { position: relative; z-index: 1; }
.page-header .page-header-rule { width: 44px; height: 3px; background: var(--gold-500); margin-bottom: 22px; }
.page-header h1 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.6rem); color: var(--ink); margin: 0 0 16px; letter-spacing: -0.02em; line-height: 1.08; }
.page-header p { font-size: 17px; color: var(--slate-500); max-width: 560px; margin: 0; line-height: 1.7; }
.page-header .btn-gold,
.page-header .btn-ghost { margin-top: 28px; }
.breadcrumbs { font-size: 13px; color: var(--slate-400); margin-top: 18px; }
.breadcrumbs a { color: var(--gold-400); font-weight: 700; }

/* Generic section */
.section { padding: 72px 0 72px; }
.section-cream { background: var(--cream-100); }
.section-white { background: var(--cream-50); }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card .thumb { width: 100%; height: 210px; object-fit: cover; background: var(--cream-200); transition: transform .5s var(--ease-out); }
.blog-card:hover .thumb { transform: scale(1.05); }
.blog-card .body { padding: 28px 24px; }
.badge-cat { display: inline-block; padding: 5px 13px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 700; background: var(--coral-tint); color: var(--coral-500); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.blog-card h3 { font-family: var(--ff-display); font-weight: 800; font-size: 19px; color: var(--ink); margin: 0 0 10px; line-height: 1.3; transition: color .25s var(--ease); }
.blog-card:hover h3 { color: var(--coral-500); }
.blog-card p { font-size: 14px; color: var(--slate-500); margin: 0 0 14px; line-height: 1.6; }
.blog-card .meta { font-size: 12.5px; color: var(--slate-400); }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-card .photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--r-sm); object-fit: cover; background: var(--cream-200); margin-bottom: 18px; transition: transform .45s var(--ease-spring); }
.team-card:hover .photo { transform: scale(1.04); }
.team-card h5 { font-family: var(--ff-display); font-weight: 800; font-size: 17px; color: var(--ink); margin: 0 0 4px; }
.team-card .role { font-size: 13px; color: var(--slate-500); }
.team-social { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.team-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-tint); display: flex; align-items: center; justify-content: center; color: var(--navy-600); font-size: 13px; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.team-social a:hover { background: var(--navy-900); color: #fff; transform: translateY(-3px); }

/* Portfolio / case studies (same as cases in brand design) */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { border-radius: var(--r-xl); overflow: hidden; position: relative; aspect-ratio: 4/5; cursor: pointer; }
.portfolio-card .portfolio-bg { position: absolute; inset: 0; background: linear-gradient(150deg, var(--navy-600), var(--navy-900)); transition: transform .7s var(--ease-out); }
.portfolio-card:hover .portfolio-bg { transform: scale(1.08); }
.portfolio-card .portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,11,26,.92) 5%, rgba(5,11,26,.15) 55%, transparent 80%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; }
.portfolio-card .portfolio-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 8px; }
.portfolio-card h3 { font-family: var(--ff-display); font-weight: 800; font-size: 20px; margin: 0; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .7s var(--ease-out); }
.portfolio-card:hover img { transform: scale(1.08); }

/* Contact form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 48px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--cream-50); font-family: var(--ff-body); font-size: 15px; color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral-500); box-shadow: 0 0 0 3px var(--coral-tint); }
.field textarea { min-height: 130px; resize: vertical; }
.alert-success { background: rgba(124,217,168,.12); border: 1px solid rgba(124,217,168,.3); color: #2a8a5e; padding: 16px 20px; border-radius: var(--r-sm); margin-bottom: 24px; font-size: 14px; font-weight: 600; }

/* Career / job list */
.job-list { display: grid; gap: 16px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 32px; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease); }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.job-card h4 { font-family: var(--ff-display); font-weight: 800; font-size: 19px; color: var(--ink); margin: 0 0 8px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag { font-size: 11.5px; font-weight: 700; padding: 5px 13px; border-radius: var(--r-full); background: var(--navy-tint); color: var(--slate-500); text-transform: uppercase; letter-spacing: .06em; }
.job-tag.gold { background: var(--gold-tint); color: var(--gold-600); }

/* Media placeholder */
.media-placeholder { position: relative; overflow: hidden; background-image: linear-gradient(90deg, rgba(10,23,48,.05) 25%, rgba(10,23,48,.11) 37%, rgba(10,23,48,.05) 63%); background-size: 800px 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

/* Center button */
.center-btn { display: flex; justify-content: center; margin-top: 44px; }

/* Value list (contact details) */
.value-list { display: grid; gap: 22px; }
.value-item { display: flex; gap: 16px; }
.value-item .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy-600); }
.value-item.coral .ic { background: var(--coral-tint); color: var(--coral-500); }
.value-item.gold .ic { background: var(--gold-tint); color: var(--gold-600); }
.value-item h4 { font-family: var(--ff-display); font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.value-item p { margin: 0; font-size: 14px; color: var(--slate-500); }

/* Button outline (text link style) */
.btn-outline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--coral-500); padding-bottom: 3px; transition: gap .25s var(--ease-spring), color .2s var(--ease); }
.btn-outline:hover { gap: 12px; color: var(--coral-600); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* Blog detail */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article-body { font-size: 16px; color: #3a465e; line-height: 1.8; }
.article-body h2, .article-body h3 { font-family: var(--ff-display); font-weight: 800; color: var(--ink); margin: 32px 0 14px; }
.article-body img { border-radius: var(--r-md); margin: 20px 0; }
.article-hero { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r-xl); margin-bottom: 36px; background: var(--cream-200); }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.sidebar-card h5 { font-family: var(--ff-display); font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 0 16px; }
.author-box { text-align: center; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }

/* Career single page */
.job-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.job-overview .cell { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.job-overview .cell .k { font-size: 11.5px; color: var(--slate-400); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.job-overview .cell .v { font-family: var(--ff-display); font-size: 17px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.prose h3 { font-family: var(--ff-display); font-weight: 800; color: var(--ink); margin: 28px 0 12px; font-size: 20px; }
.prose ul { padding-left: 1.1rem; color: var(--slate-500); }
.prose li { margin-bottom: .5rem; }

/* CTA section (interior pages) */
.cta-section { padding: 130px 0; text-align: center; position: relative; overflow: hidden; background: linear-gradient(165deg, var(--navy-700), var(--navy-800)); }
.cta-section h2 { font-family: var(--ff-display); font-weight: 800; color: #fff; font-size: clamp(2.1rem, 1.7rem + 2vw, 3.6rem); max-width: 760px; margin: 0 auto 24px; position: relative; z-index: 2; }
.cta-section p { color: var(--slate-300); font-size: 17px; max-width: 520px; margin: 0 auto 42px; position: relative; z-index: 2; }
.cta-section .btn-gold { position: relative; z-index: 2; }

/* Article body rich text */
.rich-text p:last-child { margin-bottom: 0; }
.rich-text a { color: var(--coral-500); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rich-text ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.rich-text ul li { margin-bottom: .4rem; color: var(--slate-500); }

/* Responsive overrides for template components */
@media (max-width: 980px) {
  .team-grid, .portfolio-grid, .blog-grid, .job-overview { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .team-grid, .portfolio-grid, .blog-grid, .form-grid, .job-overview { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 28px 22px; }
  .page-header { padding: 150px 0 70px; }
}
