/* ==========================================================================
   Jeshureatech — Core Stylesheet
   Sections: 1 Tokens · 2 Reset · 3 Layout · 4 Typography · 5 Buttons
             6 Header/Nav · 7 Hero · 8 Sections · 9 Cards · 10 Media
             11 Process · 12 FAQ · 13 CTA · 14 Footer · 15 Utilities
   ========================================================================== */

/* 1 ── Design tokens ------------------------------------------------------ */
:root {
  /* Brand palette */
  --navy-900: #05101f;
  --navy-800: #08182c;
  --navy-700: #0d2440;
  --navy-600: #143154;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --teal-400: #2dd4bf;

  /* Semantic — light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-elev: #ffffff;
  --bg-invert: var(--navy-900);
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --border: #dbe4ef;
  --border-strong: #c3d1e2;
  --text: #0b1b2f;
  --text-muted: #4d6178;
  --text-invert: #eaf2fb;
  --accent: #0e63d6;
  --accent-hover: #0b52b3;
  --accent-soft: rgba(14, 99, 214, .10);
  --accent-2: #0891a8;
  --ring: rgba(14, 99, 214, .38);

  --grad-brand: linear-gradient(135deg, #0e63d6 0%, #0891a8 100%);
  --grad-hero: linear-gradient(140deg, #05101f 0%, #0d2440 45%, #072033 100%);
  --grad-glow: radial-gradient(60% 60% at 50% 0%, rgba(34, 211, 238, .22), transparent 70%);

  --shadow-sm: 0 1px 2px rgba(11, 27, 47, .06), 0 1px 3px rgba(11, 27, 47, .08);
  --shadow-md: 0 6px 16px rgba(11, 27, 47, .08), 0 2px 6px rgba(11, 27, 47, .06);
  --shadow-lg: 0 18px 44px rgba(11, 27, 47, .14), 0 6px 14px rgba(11, 27, 47, .08);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .35s;
}

/* Dark theme */
[data-theme="dark"] {
  --bg: #05101f;
  --bg-alt: #08182c;
  --bg-elev: #0b2038;
  --surface: #0b2038;
  --surface-2: #102a47;
  --border: #17324f;
  --border-strong: #22456a;
  --text: #e8f1fb;
  --text-muted: #9db3cc;
  --text-invert: #e8f1fb;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, .14);
  --accent-2: #2dd4bf;
  --ring: rgba(56, 189, 248, .45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, .45);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, .55);
  --grad-brand: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
}

/* 2 ── Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  /* clip (not hidden) so the off-canvas mobile menu never widens the page */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--accent); color: #fff; padding: .7rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 999;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* 3 ── Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--grad-hero);
  color: var(--text-invert);
}
.section--dark .section-head p,
.section--dark .muted { color: #a9c2dc; }

.grid { display: grid; gap: clamp(1.15rem, 2.4vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* 4 ── Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.075rem; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  padding: .4rem .85rem; border-radius: var(--radius-pill);
  margin-bottom: 1.15rem;
}
.section--dark .eyebrow {
  color: var(--cyan-300);
  background: rgba(34, 211, 238, .12);
  border-color: rgba(34, 211, 238, .3);
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.075rem; margin-top: 1rem; }

.muted { color: var(--text-muted); }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* 5 ── Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .975rem;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 32%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 42%, transparent); }
[data-theme="dark"] .btn-primary { color: #04121f; }

.btn-outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-ghost-light {
  border-color: rgba(255, 255, 255, .35); color: #fff;
  background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6 ── Header / Navigation ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }

/* Tagline sits under the wordmark, sized to the logo's width so the lock-up
   reads as one unit rather than two stacked labels. */
.brand-tagline {
  margin-top: .18rem;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.site-footer .brand-tagline { color: #7f9cba; }
/* Bird logo. Same 38px footprint the old "J" tile had; the glyph inherits
   its colour from `color`, so it follows the theme automatically. */
.brand-mark {
  height: 38px;
  width: auto;
  flex: none;
  color: var(--accent);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.04); }

/* The footer is dark in both themes, so pin a colour that reads on navy */
.site-footer .brand-mark { color: #38bdf8; }

/* Sprite holder — carries the symbol, renders nothing */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-name { font-size: 1.2rem; line-height: 1.05; }
.brand-name span { color: var(--accent); }

.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  position: relative; display: block;
  padding: .55rem .72rem; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 500; color: var(--text-muted);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.is-active { color: var(--accent); font-weight: 600; }
.nav-link.is-active::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .22rem;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
}

/* ── Dropdown menus ───────────────────────────────────────────────────────
   Two levels: Services → Digital Marketing → ad platforms.
   Desktop: hover or click to open, absolutely positioned panels.
   Mobile (see responsive.css): the same markup becomes an accordion.
   ---------------------------------------------------------------------- */
.nav-list .has-sub { position: relative; }

.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.nav-sub-toggle .caret { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.has-sub.is-open > .nav-sub-toggle .caret { transform: rotate(180deg); }
.has-sub.is-open > .nav-sub-toggle,
.nav-sub-toggle[aria-expanded="true"] { color: var(--accent); }

.sub-menu {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  z-index: 60;
  min-width: 296px;
  padding: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
/* Invisible bridge so the pointer can travel from the trigger to the panel */
.nav-list > .has-sub > .sub-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.sub-link {
  display: flex; align-items: center; gap: .65rem;
  width: 100%; padding: .62rem .75rem;
  border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: .93rem; font-weight: 500;
  text-align: left; color: var(--text-muted);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.sub-link:hover, .sub-link:focus-visible { color: var(--accent); background: var(--accent-soft); }
.sub-link.is-active { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

.sub-ic {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2); color: var(--accent);
  transition: background-color .2s var(--ease);
}
.sub-ic svg { width: 16px; height: 16px; }
.sub-link:hover .sub-ic { background: color-mix(in srgb, var(--accent) 18%, transparent); }

/* A submenu parent that is ALSO a link: the label navigates, the caret
   button expands. Keeps both behaviours without hijacking either. */
.has-sub--split { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; }
/* .sub-link sets width:100%; override it so the caret shares the row */
.has-sub--split > .sub-link { width: auto; flex: 1 1 auto; min-width: 0; }

.sub-expand {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; border-radius: 7px;
  background: none; cursor: pointer;
  color: var(--text-muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.sub-expand:hover { color: var(--accent); background: var(--accent-soft); }
.sub-expand.is-active { color: var(--accent); }
.sub-expand .caret--right { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.has-sub--split.is-open > .sub-expand .caret--right { transform: rotate(90deg); }

/* Nested panel opens to the right of its parent item */
.sub-menu .has-sub > .sub-sub-toggle .caret--right {
  width: 15px; height: 15px; margin-left: auto;
  transition: transform .25s var(--ease);
}
.sub-menu--nested {
  top: -.5rem; left: calc(100% + 6px);
  min-width: 248px;
}
.sub-menu--nested .sub-link { padding-left: .85rem; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

/* Click-to-call in the header */
.nav-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .35rem .75rem .35rem .35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              transform .25s var(--ease);
}
.nav-phone:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }

.nav-phone-ic {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand); color: #fff;
}
.nav-phone-ic svg { width: 17px; height: 17px; }
[data-theme="dark"] .nav-phone-ic { color: #04121f; }

.nav-phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-phone-text small {
  font-size: .68rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-muted);
}
.nav-phone-text strong {
  font-size: .9rem; font-weight: 700; color: var(--text);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.nav-phone:hover .nav-phone-text strong { color: var(--accent); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.1rem 0 0;
  border-radius: var(--radius-pill);
  background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38), var(--shadow-md);
  /* Collapsed to a circle until hover/focus */
  max-width: 56px; overflow: hidden;
  /* Attention ring, drawn as an expanding shadow so nothing can clip it */
  animation: wa-ping 3s ease-out infinite;
  transition: transform .28s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; flex: none; margin-left: 13px; }
.wa-label {
  font-weight: 700; font-size: .93rem; white-space: nowrap;
  opacity: 0; transition: opacity .2s var(--ease) .05s;
}
.wa-float:hover, .wa-float:focus-visible {
  max-width: 260px;
  transform: translateY(-3px);
  animation-play-state: paused;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .48), var(--shadow-lg);
  transition: max-width .34s var(--ease), transform .28s var(--ease);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; }

.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: transparent; cursor: pointer; color: var(--text-muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.icon-btn svg { width: 20px; height: 20px; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle .bar {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 16, 31, .55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* 7 ── Hero carousel ------------------------------------------------------ */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  /* Fill exactly what is left below the sticky header, never more — so the
     carousel controls stay above the fold on a laptop screen. */
  min-height: min(640px, calc(100svh - var(--nav-h)));
  display: grid;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--grad-glow); pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: -20%; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(120, 190, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 255, .09) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 35%, transparent 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; opacity: .5;
  pointer-events: none;
}
.hero-orb--a { width: 460px; height: 460px; top: -120px; right: -80px; background: rgba(37, 99, 235, .55); }
.hero-orb--b { width: 380px; height: 380px; bottom: -140px; left: -60px; background: rgba(34, 211, 238, .38); }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; align-items: center;
  padding-block: clamp(1.75rem, 4vh, 3.25rem);
}
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity .6s var(--ease), visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.hero-copy { max-width: 40rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .3);
  padding: .4rem .85rem; border-radius: var(--radius-pill);
  margin-bottom: clamp(.9rem, 2vh, 1.35rem);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .7);
  animation: pulse-dot 2.2s infinite;
}
.hero h1 { color: #fff; margin-bottom: clamp(.8rem, 1.6vh, 1.15rem); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #67e8f9, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #b9d0e6; font-size: clamp(1rem, .95rem + .35vw, 1.18rem); max-width: 34rem; margin-bottom: clamp(1.25rem, 2.6vh, 2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-visual { position: relative; }

/* The hero sits on a dark background, so the light-theme border token would
   read as a white outline. Use a soft light-on-dark edge instead, and keep the
   figure on its own GPU layer so the edge never shimmers while animating. */
.hero-visual .media {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 26px 60px rgba(3, 12, 24, .45);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-visual .media .ph-art { transform: translateZ(0); }

/* Carousel controls */
.hero-controls {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 1.15rem;
  margin-top: clamp(1.4rem, 3.2vh, 2.5rem);
  flex-wrap: wrap;
}
.hero-dots { display: flex; align-items: center; gap: .55rem; }
.hero-dot {
  width: 30px; height: 5px; border-radius: 3px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .26); cursor: pointer;
  transition: background-color .3s var(--ease), width .3s var(--ease);
  position: relative; overflow: hidden;
}
.hero-dot:hover { background: rgba(255, 255, 255, .45); }
.hero-dot[aria-selected="true"] { width: 56px; background: rgba(255, 255, 255, .28); }
.hero-dot .fill {
  position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan-400), #7dd3fc);
}
.hero-dot[aria-selected="true"] .fill { animation: dot-progress var(--slide-duration, 7s) linear forwards; }
.carousel.is-paused .hero-dot .fill { animation-play-state: paused; }

.hero-arrows { display: flex; gap: .5rem; }
.hero-arrow {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  transition: background-color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.hero-arrow:hover { background: rgba(255, 255, 255, .2); border-color: #fff; transform: scale(1.06); }
.hero-arrow svg { width: 19px; height: 19px; }
.hero-counter { font-variant-numeric: tabular-nums; font-size: .88rem; color: #a9c2dc; letter-spacing: .06em; }
.hero-counter b { color: #fff; }

/* 7b ── Page hero (inner pages) ------------------------------------------
   Same background treatment as the home hero, but sized to its content —
   inner pages should show their first section immediately.
   ---------------------------------------------------------------------- */
.page-hero {
  position: relative;
  margin-top: var(--nav-h);
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--grad-glow); pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(2.75rem, 7vh, 5rem);
  max-width: 900px;
}
.page-hero h1 { color: #fff; margin-bottom: 1.1rem; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #67e8f9, #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero-sub {
  color: #b9d0e6;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  max-width: 62ch;
  margin-bottom: 2rem;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.breadcrumb li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: #8fb2d0;
}
.breadcrumb li + li::before {
  content: "/"; color: #47688a;
}
.breadcrumb a { color: #b9d0e6; transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--cyan-300); }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* Value blocks — lighter than a card, used inside dark sections */
.value {
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  height: 100%;
}
.value h4 { color: #fff; margin-bottom: .45rem; }
.value p { font-size: .9rem; color: #a9c2dc; }

/* A card that closes a grid with a call to action.
   Compound selector so it beats the plain .card background further down. */
.card.card--cta {
  background: var(--grad-hero);
  border-color: transparent;
  color: #eaf2fb;
}
.card.card--cta h3 { color: #fff; }
.card.card--cta p { color: #a9c2dc; }

/* 7c ── Service-page components ------------------------------------------ */

/* Pages carrying a sticky jump nav need extra scroll offset so anchored
   headings are not hidden behind two stacked bars. */
:root:has(.jump-nav) { scroll-padding-top: calc(var(--nav-h) + 68px); }

/* Sticky in-page jump nav for long service pages */
.jump-nav {
  position: sticky; top: var(--nav-h); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.jump-nav-inner {
  display: flex; align-items: center; gap: 1rem;
  overflow-x: auto; scrollbar-width: none;
  padding-block: .7rem;
}
.jump-nav-inner::-webkit-scrollbar { display: none; }
.jump-label {
  flex: none; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.jump-nav ul { display: flex; gap: .3rem; }
.jump-nav a {
  display: block; white-space: nowrap;
  padding: .4rem .8rem; border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.jump-nav a:hover { color: var(--accent); background: var(--accent-soft); }

/* Track number badge on the three build-track cards */
.track-num {
  position: absolute; top: 1.15rem; right: 1.35rem;
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  letter-spacing: -.03em;
  color: var(--border-strong); opacity: .8;
  transition: color .3s var(--ease);
}
.card:hover .track-num { color: color-mix(in srgb, var(--accent) 45%, transparent); }
/* Keep the heading clear of the badge when there is no icon above it */
.track-num ~ h3,
.track-num ~ h4 { padding-right: 2.9rem; }

/* Technology chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  display: inline-block;
  padding: .32rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
}
.chip--sm { font-size: .72rem; padding: .25rem .6rem; }
.section--dark .chip {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #cfe4f7;
}

/* Platform badges (Meta Ads / Instagram Ads pages).
   The glyphs are ORIGINAL illustrative marks in each platform's colour, not
   the official brand logos — see README §3k before swapping them out. */
.plat-row {
  display: flex; flex-wrap: wrap; gap: .55rem;
  list-style: none; margin: 0; padding: 0;
}
.plat {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .34rem .85rem .34rem .34rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .87rem; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.plat-ic { width: 26px; height: 26px; flex: none; display: block; }
.plat.plat--dark {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #eaf2fb;
}
.plat-row--hero { margin: 1.6rem 0 .85rem; }

/* Compact labelled block — lighter than a card, used inside prose columns */
.mini h4 { margin-bottom: .3rem; }
.mini p { font-size: .9rem; color: var(--text-muted); }
.mini--boxed {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.mini--boxed:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }

/* Micro SaaS example cards. Compound selectors so these beat the plain
   .card rules defined further down the stylesheet. */
.card.saas-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.saas-for {
  font-size: .72rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--cyan-300);
  margin-bottom: .6rem;
}
.card.saas-card h4 { color: #fff; font-size: 1.12rem; margin-bottom: .55rem; }
.card.saas-card > p:not(.saas-for):not(.saas-stack) { color: #a9c2dc; font-size: .94rem; }
.saas-stack { margin-top: auto; padding-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .4rem; }

/* Process steps sitting on a dark section — compound for the same reason */
.step.step--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.step.step--dark h4 { color: #fff; }
.step.step--dark p { color: #a9c2dc; }
.step.step--dark .num { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.step.step--dark:hover { border-color: var(--cyan-400); }

/* Wide content scrolls inside its own container, never the page body */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Comparison table — scrolls inside .table-scroll on narrow screens */
.cmp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: .94rem;
}
.cmp-table th,
.cmp-table td {
  padding: .95rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.cmp-table thead th {
  background: var(--surface-2);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.cmp-table tbody th {
  font-weight: 700; color: var(--text);
  white-space: nowrap;
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
}
.cmp-table td { color: var(--text-muted); }
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr { transition: background-color .2s var(--ease); }
.cmp-table tbody tr:hover td,
.cmp-table tbody tr:hover th { background: var(--accent-soft); }

/* Horizontal process flow — arrow-connected steps */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.flow-step {
  position: relative;
  padding: 1.5rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.flow-step:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
/* Connector arrow between steps */
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2;
  right: -.72rem; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: translateY(-50%) rotate(45deg);
}
.flow-ic {
  width: 46px; height: 46px; margin: 0 auto .9rem;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.flow-ic svg { width: 22px; height: 22px; }
.flow-step h4 { font-size: .97rem; margin-bottom: .35rem; }
.flow-step p { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }

/* A four-across variant of the flow, used on the contact page */
.flow-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Flow steps sitting on a dark section. Without these the step inherits the
   dark section's light text colour onto a white card and the headings vanish. */
.section--dark .flow-step {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.section--dark .flow-step:hover { border-color: var(--cyan-400); }
.section--dark .flow-step h4 { color: #fff; }
.section--dark .flow-step p { color: #a9c2dc; }
.section--dark .flow-step:not(:last-child)::after { border-color: rgba(255, 255, 255, .38); }
.section--dark .flow-ic {
  background: rgba(34, 211, 238, .14);
  color: var(--cyan-300);
  border-color: rgba(34, 211, 238, .3);
}

/* 7d ── Contact page: form, map, contact cards -----------------------------
   The enquiry form is a plain HTML form validated in assets/js/contact.js.
   Errors are shown inline under each field and announced with aria-live. */

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

/* ── The form panel ─────────────────────────────────────────────────────── */
.form-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.15rem; }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field > label {
  font-size: .875rem; font-weight: 600; color: var(--text);
  display: flex; align-items: baseline; gap: .35rem;
}
.field .req { color: #dc2626; font-weight: 700; }
[data-theme="dark"] .field .req { color: #f87171; }
.field .opt { color: var(--text-muted); font-weight: 500; font-size: .78rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--text);
  font-size: .97rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
/* The chevron is painted on the select itself rather than on a pseudo-element
   of the wrapper, so it stays vertically centred no matter how tall the
   label or hint above it happens to be. */
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6178' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 15px 15px;
}
[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db3cc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .75; }

.field-hint { font-size: .78rem; color: var(--text-muted); }

/* Error state */
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #dc2626; }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .16); }
.field-error {
  display: none;
  align-items: flex-start; gap: .35rem;
  font-size: .8rem; font-weight: 600; color: #b91c1c;
}
.field.has-error .field-error,
.check-field.has-error .field-error { display: flex; }
.field-error svg { width: 14px; height: 14px; flex: none; margin-top: .18rem; }
[data-theme="dark"] .field-error { color: #f87171; }

/* Consent checkbox. Wraps so the error message sits on its own row,
   indented to line up under the label rather than beside the box. */
.check-field { display: flex; flex-wrap: wrap; gap: .65rem; align-items: flex-start; }
.check-field > label { flex: 1 1 0; min-width: 0; }
.check-field .field-error { flex: 0 0 100%; margin-left: 2.3rem; }
.check-field input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; margin-top: .18rem;
  accent-color: var(--accent); cursor: pointer;
}
.check-field label { font-size: .855rem; color: var(--text-muted); font-weight: 500; line-height: 1.55; }
.check-field label a { color: var(--accent); font-weight: 600; }
.check-field.has-error input[type="checkbox"] { outline: 2px solid #dc2626; outline-offset: 2px; }

/* Error summary above the submit button */
.form-alert {
  display: none;
  gap: .7rem; align-items: flex-start;
  padding: .9rem 1rem;
  border: 1px solid rgba(220, 38, 38, .35);
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, .08);
  color: #b91c1c; font-size: .875rem; font-weight: 600;
}
.form-alert.is-shown { display: flex; }
.form-alert svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
[data-theme="dark"] .form-alert { color: #fca5a5; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ── Thank-you panel, shown in place of the form after submit ───────────── */
.form-success { display: none; text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; }
.form-success.is-shown { display: block; }
.success-ic {
  width: 72px; height: 72px; margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  border: 1px solid rgba(22, 163, 74, .35);
  color: #16a34a;
}
.success-ic svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: .75rem; }
.form-success > p { color: var(--text-muted); max-width: 46ch; margin-inline: auto; }
.success-ref {
  display: inline-block; margin-top: 1.15rem;
  padding: .4rem .9rem;
  border: 1px dashed var(--border-strong); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: .82rem; color: var(--text-muted);
}
.success-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: 1.75rem;
}

/* ── Map ────────────────────────────────────────────────────────────────── */
.map-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-note { margin-top: .75rem; font-size: .82rem; color: var(--text-muted); }

/* ── Contact detail cards beside the form ───────────────────────────────── */
.contact-side { display: grid; gap: 1.15rem; }
.contact-card {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: .9rem; }
.contact-rows { display: grid; gap: .95rem; }
.contact-row { display: flex; gap: .8rem; align-items: flex-start; }
.contact-row .ci {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.contact-row .ci svg { width: 17px; height: 17px; }
.contact-row .cl { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.contact-row .cv { font-size: .95rem; font-weight: 600; color: var(--text); word-break: break-word; }
.contact-row .cv a:hover { color: var(--accent); }
.contact-row address { font-style: normal; font-size: .93rem; font-weight: 500; color: var(--text); line-height: 1.5; }

.hours-list { display: grid; gap: .45rem; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.hours-list dt { color: var(--text-muted); }
.hours-list dd { margin: 0; font-weight: 600; }

/* Callout notice — used for compliance and scope statements */
.notice {
  display: flex; gap: 1.1rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid rgba(251, 191, 36, .35);
  background: rgba(251, 191, 36, .08);
}
.notice-ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(251, 191, 36, .16); color: #fbbf24;
}
.notice-ic svg { width: 21px; height: 21px; }
.notice h4 { color: #fbbf24; margin-bottom: .5rem; }
.notice p { font-size: .93rem; color: #cfe4f7; }
.notice p + p { margin-top: .7rem; }

/* Same block on a light section */
.notice--light {
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  background: var(--accent-soft);
}
.notice--light .notice-ic {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
}
.notice--light h4 { color: var(--accent); }
.notice--light p { color: var(--text-muted); }

/* Compact block sitting on a dark section */
.mini--dark h4 { color: #fff; }
.mini--dark p { color: #a9c2dc; }

/* Status pill — used inside data tables */
.pill {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pill--ok   { color: #15803d; background: rgba(22, 163, 74, .12);  border-color: rgba(22, 163, 74, .3); }
.pill--warn { color: #a16207; background: rgba(251, 191, 36, .16); border-color: rgba(251, 191, 36, .38); }
.pill--bad  { color: #b91c1c; background: rgba(185, 28, 28, .1);   border-color: rgba(185, 28, 28, .28); }
[data-theme="dark"] .pill--ok   { color: #4ade80; }
[data-theme="dark"] .pill--warn { color: #fbbf24; }
[data-theme="dark"] .pill--bad  { color: #f87171; }

/* A tighter notice for use inside a column rather than full width */
.notice--tight { padding: 1rem 1.15rem; gap: .85rem; }
.notice--tight .notice-ic { width: 32px; height: 32px; border-radius: 9px; }
.notice--tight .notice-ic svg { width: 17px; height: 17px; }
.notice--tight p { font-size: .9rem; }

/* Pull-quote — a customer's words shown verbatim */
.quote {
  margin: 1.15rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-2);
}
.quote p { font-size: .96rem; font-style: italic; color: var(--text); }

/* A card for a discipline whose own page is not built yet. It keeps the
   explanation but is deliberately NOT a link — a card that looks clickable
   and goes nowhere is worse than one that says so. */
.card.card--soon { border-style: dashed; }
.card.card--soon:hover { transform: none; border-color: var(--border); box-shadow: none; }
.soon-tag {
  display: inline-block; margin-top: auto; padding-top: 1.15rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  color: var(--text-muted);
}

/* Highlighted statement band — a short, centred panel used for the guiding
   statement on the About page. Deliberately distinct from .card and .notice
   so it reads as a foundation rather than as another list item. */
.creed {
  position: relative;
  max-width: 62rem;
  margin-inline: auto;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 50% 0%, var(--accent-soft), transparent 62%),
    var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}
/* A thin brand rule across the top edge */
.creed::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-brand);
}
.creed-ic {
  width: 54px; height: 54px; margin: 0 auto 1.35rem;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.creed-ic svg { width: 26px; height: 26px; }
.creed h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: 1.1rem; }
.creed .lede-lg {
  font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  max-width: 46ch; margin-inline: auto;
}
.creed p + p { margin-top: 1rem; }
.creed .creed-body { color: var(--text-muted); max-width: 62ch; margin-inline: auto; }
.creed .creed-rule {
  width: 62px; height: 3px; margin: 1.6rem auto;
  border-radius: 999px; background: var(--grad-brand); opacity: .8;
}
.creed .creed-sig {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}

/* Structured summary — label/value rows */
.summary-card {
  margin-top: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.summary-card > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: .75rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.summary-card > div:last-child { border-bottom: 0; }
.summary-card > div:nth-child(odd) { background: var(--surface-2); }
.summary-card dt {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}
.summary-card dd { margin: 0; font-size: .95rem; font-weight: 600; color: var(--text); }

/* Whole-card link — the entire card is one click target */
a.link-card { text-decoration: none; color: inherit; }
a.link-card:hover { border-color: var(--accent); }
a.link-card .link-arrow { margin-top: auto; padding-top: 1.25rem; }
a.link-card:hover .link-arrow svg { transform: translateX(4px); }
a.link-card:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

/* Lead paragraph — the definition sentence under a heading */
.lede { font-size: 1.12rem; line-height: 1.6; color: var(--text); }
.section--dark .lede { color: #e8f1fb; }

/* Discovery-path cards with a numbered route */
.path-card .path-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .3rem;
}
.path-card h3 {
  font-size: 1.6rem; letter-spacing: -.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem;
}
.path-flow { counter-reset: pstep; margin: 0 0 1.15rem; display: grid; gap: .5rem; }
.path-flow li {
  counter-increment: pstep;
  position: relative;
  padding: .5rem .75rem .5rem 2.35rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: .93rem; color: var(--text);
}
.path-flow li::before {
  content: counter(pstep);
  position: absolute; left: .6rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem; font-weight: 800;
  background: var(--accent); color: #fff;
}
[data-theme="dark"] .path-flow li::before { color: #04121f; }
.path-flow li:last-child { background: var(--accent-soft); }

/* 8 ── Trust bar ---------------------------------------------------------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding-block: 2rem;
}
.trustbar-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.trust-item { display: flex; gap: .85rem; align-items: flex-start; }
.trust-item .ic {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.trust-item .ic svg { width: 20px; height: 20px; }
.trust-item h4 { font-size: .98rem; margin-bottom: .15rem; }
.trust-item p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }

/* 9 ── Cards -------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; opacity: 0;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.card-icon svg { width: 25px; height: 25px; }
.card:hover .card-icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
[data-theme="dark"] .card:hover .card-icon { color: #04121f; }

.card h3 { margin-bottom: .6rem; }
.card p { color: var(--text-muted); font-size: .965rem; }
.card .card-foot { margin-top: auto; padding-top: 1.25rem; }

.card-list { margin: 1rem 0 0; display: grid; gap: .5rem; }
.card-list li {
  position: relative; padding-left: 1.5rem;
  font-size: .93rem; color: var(--text-muted);
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-brand);
}

/* Service card with media */
.service-card .media { margin: -1px -1px 1.35rem; border-radius: var(--radius) var(--radius) 0 0; }

/* 10 ── Media placeholders ------------------------------------------------ */
.media {
  position: relative; margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  isolation: isolate;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media:hover img { transform: scale(1.045); }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 16, 31, .68) 100%);
}
.media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .9rem 1.1rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: #eaf2fb;
  display: flex; align-items: center; gap: .5rem;
}
.media figcaption::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-400); flex: none;
  box-shadow: 0 0 10px var(--cyan-400);
}
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 8; }

/* Inline SVG placeholder art */
.ph-art { width: 100%; height: 100%; display: block; }

/* 11 ── Stats / capability strip ----------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.stat {
  text-align: center; padding: 1.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.stat .val {
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, #67e8f9, #93c5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat .lbl { margin-top: .55rem; font-size: .86rem; color: #a9c2dc; letter-spacing: .04em; }

/* 12 ── Process ---------------------------------------------------------- */
.process { display: grid; gap: 1.15rem; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 1.6rem 1.35rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.step .num {
  counter-increment: step;
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: .9rem;
  font-weight: 800; font-size: .95rem;
  background: var(--accent-soft); color: var(--accent);
}
.step .num::before { content: "0" counter(step); }
.step h4 { margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--text-muted); }

/* 13 ── FAQ -------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .75rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.is-open { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; background: none; border: 0; cursor: pointer;
  text-align: left; font-weight: 600; font-size: 1.02rem;
}
.faq-q .chev {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--accent);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.35rem 1.3rem; color: var(--text-muted); font-size: .97rem; }

/* 14 ── CTA band --------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-glow);
}
.cta-band h2 { color: #fff; margin-bottom: .9rem; }
.cta-band p { color: #b9d0e6; max-width: 56ch; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* 15 ── Footer ----------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #c6d8ea;
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.75rem;
}
.site-footer .brand-name { color: #fff; }
.footer-about p { font-size: .93rem; color: #91a9c2; margin-top: 1.1rem; max-width: 34ch; }
.footer-col h4 {
  font-size: .82rem; letter-spacing: .13em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem;
}
.footer-col li + li { margin-top: .6rem; }
.footer-col a { font-size: .93rem; color: #a9c2dc; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-col a:hover { color: var(--cyan-300); padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: #a9c2dc; }
.footer-contact li + li { margin-top: .85rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--cyan-400); margin-top: 3px; }
.footer-contact a:hover { color: var(--cyan-300); }

.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; color: #a9c2dc;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  transition: all .25s var(--ease);
}
.social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .87rem; color: #7f97b1;
}

/* Back to top */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px; z-index: 80;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* Utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
