/* =========================================================
   NetAscend — Stylesheet
   Design language: quiet, technical, warm.
   Signature motif: "connection nodes" — small dots joined by
   thin lines, echoing fiber/network cabling, used sparingly
   as section dividers and background texture (never as noise).
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color — premium dark navy + electric cyan accent */
  --navy: #071018;
  --navy-soft: #0B1722;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --cyan: #00AEEF;
  --cyan-bright: #00C6FF;
  --bg: #F4F7F9;
  --white: #FFFFFF;
  --text: #172033;
  --text-muted: #4B5673;
  --line: #D9E1E7;
  --line-strong: #C2CDD4;
  --success-bg: #E8F7EE;
  --success-text: #146C43;
  --error-bg: #FDEDEC;
  --error-text: #B42318;
  --heading: var(--navy);

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

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 3.6rem);

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 54, 0.06), 0 1px 1px rgba(11, 23, 54, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 23, 54, 0.08);
  --header-h: 76px;
}

/* ---------- Dark mode ----------
   Toggled by JS via [data-theme="dark"] on <html>.
   Only the surface/text tokens flip — --navy stays fixed since it's also
   used as a deliberate dark background on sections (footer, CTA band,
   page heroes) that should stay dark in both themes. */
:root[data-theme="dark"] {
  --bg: #0B1722;
  --white: #111D2B;
  --text: #E7ECF2;
  --text-muted: #9AACBC;
  --line: #223140;
  --line-strong: #34465A;
  --heading: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
}
:root[data-theme="dark"] .site-header {
  background: rgba(11, 23, 34, 0.88);
  border-bottom-color: var(--line);
}
:root[data-theme="dark"] .card-icon,
:root[data-theme="dark"] .trust-item .card-icon {
  background: rgba(0, 174, 239, 0.16);
}
:root[data-theme="dark"] .note-box {
  background: rgba(0, 174, 239, 0.1);
  border-color: rgba(0, 174, 239, 0.3);
}
:root[data-theme="dark"] .arch-photo-wrap::after {
  border-color: rgba(0, 174, 239, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  :root { --transition: 180ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --transition: 0ms; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--step-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { color: var(--text-muted); }
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Visible focus ring everywhere */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  background: transparent;
  color: var(--heading);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--white); }
.btn-ghost-inverse {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-inverse:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
  flex-shrink: 0;
}
.brand img {
    width: 100px;
    height: 70px;
    object-fit: contain;
}
.brand .logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand .logo-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand .logo-mark svg { width: 18px; height: 18px; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.4rem 0.1rem;
}
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--cyan);
  transition: right var(--transition);
}
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn)[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn { display: none; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); transform: rotate(-8deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 99;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav ul {
  padding: 1.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav a[aria-current="page"] { color: var(--cyan); }
.mobile-nav .btn { margin-top: 1.5rem; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Connection-node motif ---------- */
.node-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.node-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--line-strong);
  margin: 0 auto;
  width: fit-content;
}
.node-divider .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.node-divider .seg { width: 48px; height: 1px; background: var(--line-strong); }

/* ---------- Hero (light, two-column, arch photo) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}

/* Pop/slide entrance on load — distinct from Nexa-Serve's static reveal:
   each hero element pops up with a slight overshoot, staggered in sequence. */
@keyframes heroPopIn {
  0%   { opacity: 0; transform: translateY(22px) scale(0.96); }
  70%  { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroPopInRight {
  0%   { opacity: 0; transform: translateX(28px) scale(0.94); }
  70%  { opacity: 1; transform: translateX(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-eyebrow,
.hero h1,
.hero .lead,
.hero-ctas,
.hero-coverage {
  animation: heroPopIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-eyebrow { animation-delay: 0ms; }
.hero h1 { animation-delay: 90ms; }
.hero .lead { animation-delay: 200ms; }
.hero-ctas { animation-delay: 320ms; }
.hero-coverage { animation-delay: 430ms; }
.hero-art { animation: heroPopInRight 750ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero .lead, .hero-ctas, .hero-coverage, .hero-art {
    animation: none;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.hero h1 { color: var(--heading); max-width: 15ch; }
.hero .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 48ch;
  margin-top: 1.15rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.hero-ctas .btn svg {
  width: 16px; height: 16px;
  margin-left: 0.35rem;
  transition: transform var(--transition);
  vertical-align: -3px;
}
.hero-ctas .btn:hover svg { transform: translateX(3px); }
.hero-coverage {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-coverage span { position: relative; padding-right: 1.1rem; }
.hero-coverage span::after {
  content: "\2022";
  position: absolute;
  right: 0.35rem;
  color: var(--cyan);
}
.hero-coverage span:last-child { padding-right: 0; }
.hero-coverage span:last-child::after { content: ""; }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.why-eyebrow {
    font-size: 1rem;
}

.why-heading {
    font-size: 2.5rem;
}
.hero-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}



/* ---------- Arch photo motif ----------
   Signature photo treatment used across every page: a portrait
   photo cropped into an arch (rounded top, flat sides/bottom).
   Reusable on the hero and on any page ("about", "services", etc). */
.arch-photo-wrap {
  position: relative;
  width: min(400px, 82%);
  aspect-ratio:  3 / 4;
}
.arch-photo-wrap img,
.arch-photo-wrap video,
.arch-photo-wrap .arch-photo-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  border-radius: 50% 50% 14px 14px / 38% 38% 10px 10px;
  display: block;
  box-shadow: var(--shadow-md);
}
.arch-photo-wrap::after {
  /* thin accent ring, echoes the fiber/network motif without an illustration */
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50% 50% 20px 20px / 40% 40% 12px 12px;
  border: 1px dashed rgba(34, 199, 214, 0.35);
  pointer-events: none;
}
.arch-photo-wrap .arch-badge {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 1.15rem;
  max-width: 190px;
  z-index: 3;
}
.arch-badge .arch-badge-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.arch-badge .arch-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
}
@media (max-width: 640px) {
    .arch-photo-wrap { width: min(400px, 94%); margin-inline: auto; aspect-ratio: 3 / 4; }
  .arch-photo-wrap .arch-badge { right: 0; bottom: -2.75rem; max-width: 150px; padding: 0.7rem 0.9rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head {
  max-width: 62ch;
  margin-bottom: 2.75rem;
}
.section-head.centered { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-head h2 { margin-bottom: 0.85rem; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-3px); }

/* ---------- Cursor-aware glow ----------
   JS (initCursorGlow) sets --mx/--my custom properties to the pointer
   position on hover. A soft radial highlight follows the cursor across
   the card surface, then fades on mouse-leave. Desktop-only (see JS). */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 174, 239, 0.14),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  z-index: 0;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
@media (hover: none) {
  .card::before { display: none; }
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EAF1FF;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.card p { font-size: 0.95rem; margin-bottom: 1rem; }
.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card-link:hover svg { transform: translateX(2px); }

/* Numbered service card (homepage "What we do" grid) */
.card--numbered { position: relative; overflow: hidden; }
.card--numbered:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.9rem;
}
.card--numbered .card-icon { background: rgba(0, 174, 239, 0.1); color: var(--cyan); }

/* ---------- Trust strip (qualitative, no invented stats) ---------- */
.trust-strip { background: var(--bg); color: var(--text); padding-block: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 780px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-item .card-icon { background: rgba(0, 174, 239, 0.12); color: var(--cyan); flex-shrink: 0; margin-bottom: 0; }
.trust-item h4 { color: var(--heading); font-size: 1.02rem; margin-bottom: 0.3rem; }
.trust-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Coverage chips ---------- */
.coverage-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.coverage-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
}
.coverage-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Why choose ---------- */
.reason {
  display: flex;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}
.reason:first-child { border-top: none; }
.reason-num {
  font-family: var(--font-display);
  color: var(--line-strong);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
  width: 2.5ch;
}
.reason h4 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.reason p { font-size: 0.93rem; }

/* ---------- About preview / split ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.photo-frame {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  gap: 0.5rem;
  flex-direction: column;
}
.photo-frame svg { width: 40px; height: 40px; color: var(--line-strong); margin-bottom: 0.5rem; }
.photo-frame.round { border-radius: 50%; aspect-ratio: 1/1; max-width: 260px; }

/* ---------- Process (horizontal timeline w/ connecting line) ---------- */
.process-list { display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 900px) {
  .process-list { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .process-list::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 11%;
    right: 11%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
}
.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.process-step .step-index {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  background: var(--cyan);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.93rem; }
.process-step:nth-child(1) { transition-delay: 0ms; }
.process-step:nth-child(2) { transition-delay: 90ms; }
.process-step:nth-child(3) { transition-delay: 180ms; }
.process-step:nth-child(4) { transition-delay: 270ms; }
.process-connector {
  display: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #142A5C 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 800px) {
  .cta-band { grid-template-columns: 1.3fr auto; }
}
.cta-band h2 { color: var(--white); font-size: var(--step-2); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 48ch; }
.cta-band-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.footer-grid p { font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero h1 { color: var(--white); max-width: 24ch; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 55ch; margin-top: 0.9rem; }
.breadcrumb { font-size: 0.82rem; color: var(--cyan-bright); margin-bottom: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* Photo variant: used on About / Services / Projects / How We Work / Contact */
.page-hero--photo .page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero--photo .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,16,24,0.94) 0%, rgba(7,16,24,0.82) 55%, rgba(7,16,24,0.72) 100%);
}
.page-hero--photo .container { position: relative; z-index: 2; }

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}
.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.project-card { overflow: hidden; padding: 0; }
.project-art {
  aspect-ratio: 16/10;
  background: linear-gradient(155deg, var(--navy), #1B2E5C);
  position: relative;
}
.project-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.project-tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.project-body { padding: 1.5rem; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.project-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.project-placeholder-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.form-row { display: grid; gap: 1.4rem; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}
.field .required { color: var(--error-text); }
.field .hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error-text);
}
.field-error {
  display: none;
  color: var(--error-text);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  font-weight: 600;
}
.field.has-error .field-error { display: block; }

/* Honeypot — hidden from real visitors, visible to bots that fill every field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.form-status.is-visible { display: block; }
.form-status.success { background: var(--success-bg); color: var(--success-text); }
.form-status.error { background: var(--error-bg); color: var(--error-text); }

.form-submit-row { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  animation: spin 0.7s linear infinite;
  display: none;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-item {
  display: flex;
  gap: 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.contact-item:first-child { border-top: none; }
.contact-item .card-icon { margin-bottom: 0; }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { font-size: 0.93rem; }
.placeholder-tag {
  display: inline-block;
  background: #FFF4E5;
  color: #92400E;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ---------- Misc content pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.25rem; margin-bottom: 0.75rem; font-size: 1.35rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; color: var(--text-muted); }

.note-box {
  background: #EAF1FF;
  border: 1px solid #CFE0FF;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--heading);
  margin-block: 1.5rem;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: #E4E9F5;
  font-size: 0.88rem;
  margin: 0;
  max-width: 60ch;
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.owner-photo {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.owner-title {
    font-weight: 600;
    color: var(--blue);
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
}
.who-we-are-photo {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    margin-inline: auto;
}

.who-we-are-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}
.who-we-are-project {
    width: 100%;
    max-width: 500px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    aspect-ratio: auto;
}

.who-we-are-project img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* ---------- Service Photos ---------- */

.service-photo {
    padding: 0;
    overflow: hidden;
    background: var(--white);
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms ease;
}
.service-photo:hover img { transform: scale(1.045); }

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}


/* =========================================
   PROJECT IMAGES - SHOW FULL IMAGE
   ========================================= */

.project-card .project-art {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    position: relative;
    padding: 0 !important;
}

.project-card .project-art img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}
.footer-brand,
.footer-col h4,
.footer-col a:hover,
.footer-bottom a:hover,
.cta-band,
.cta-band h2,
.page-hero,
.page-hero h1,
.btn-primary,
.btn-ghost-inverse,
.process-step .step-index,
.filter-btn[aria-pressed="true"] {
  color: #FFFFFF;
}
.btn-ghost-inverse:hover {
  border-color: #FFFFFF;
}
/* Services: side-by-side on laptops, stacked on tablets/phones */
/* =========================================
   SERVICES — RESPONSIVE LAYOUT
   Laptop: text + photo side by side
   Tablet/Phone: text above photo
   ========================================= */

/* Laptop / desktop */
@media (min-width: 901px) {
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .split.reverse {
    direction: rtl;
  }

  .split.reverse > * {
    direction: ltr;
  }
}

/* Tablet + phone */
@media (max-width: 900px) {
  .split,
  .split.reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    direction: ltr !important;
  }

  .split > *,
  .split.reverse > * {
    width: 100% !important;
    direction: ltr !important;
  }

  /* Text always comes first */
  .split > div:not(.service-photo),
  .split.reverse > div:not(.service-photo) {
    order: 1 !important;
  }

  /* Photo always comes second */
  .split > .service-photo,
  .split.reverse > .service-photo {
    order: 2 !important;
    margin-top: 0;
  }

  .service-photo {
    width: 100%;
  }

  .service-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}



