/* ============================================================
   OK WebStart — style.css
   Single shared stylesheet for all pages
   ============================================================ */

/* ── 1. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overscroll-behavior: none;
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-body-bg);
  color: var(--color-text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── 2. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colours */
  --color-main:        #010d5b;
  --color-accent:      #ffb000;
  --color-secondary:   #1e3a8a;
  --color-dark:        #1f2937;
  --color-light:       #f3f4f6;
  --color-success:     #10b981;
  --color-white:       #ffffff;
  --color-body-bg:     #030d3e;
  --color-card-bg:     rgba(30, 58, 138, 0.22);
  --color-card-border: rgba(255, 176, 0, 0.14);
  --color-text:        #c9d1e9;
  --color-text-muted:  #7680a8;
  --color-accent-glow: rgba(255, 176, 0, 0.45);

  /* Font scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  3.75rem;
  --fs-5xl:  5rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;

  /* Border radius */
  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --radius-full: 100vw;

  /* Shadows */
  --shadow-card:    0 4px 32px rgba(1,13,91,0.5), 0 1px 4px rgba(0,0,0,0.4);
  --shadow-glow:    0 0 24px rgba(255,176,0,0.45);
  --shadow-glow-sm: 0 0 12px rgba(255,176,0,0.3);

  /* Z-index */
  --z-base:     1;
  --z-fab:      80;
  --z-backdrop: 88;
  --z-drawer:   90;
  --z-header:   100;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: var(--fs-lg); font-weight: 600; }

p { max-width: 65ch; }
p + p { margin-top: var(--space-sm); }

/* ── Word-break prevention ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

p, span, a, li {
  overflow-wrap: break-word;
  hyphens: none;
}

/* Text gradient utilities */
.text-gradient {
  background: linear-gradient(135deg, #ffb000, #ff8c00, #ffb000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-light {
  background: linear-gradient(135deg, #ffb000, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-green {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow label */
.eyebrow {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* Section header block */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 { max-width: none; }
.section-header p { max-width: 560px; margin-inline: auto; }
.section-header .eyebrow { justify-content: center; }

/* ── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.section { padding-block: var(--space-3xl); }

.text-centre { text-align: center; }

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.5rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-main);
  border: 2px solid var(--color-accent);
}
.btn-accent:hover, .btn-accent:focus-visible {
  background-color: #ffc230;
  border-color: #ffc230;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-sm  { font-size: var(--fs-xs); padding: 0.5rem 1.1rem; }
.btn-lg  { font-size: var(--fs-base); padding: 0.85rem 2rem; }
.btn-xl  { font-size: var(--fs-md); padding: 1rem 2.5rem; }

/* ── 6. GLASS CARD ────────────────────────────────────────── */
.glass-card {
  position: relative;
  background: var(--color-card-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(255,176,0,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.glass-card > * { position: relative; z-index: 1; }
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,176,0,0.3);
  box-shadow: 0 12px 48px rgba(1,13,91,0.6);
}

/* ── 7. TAG / PILL ────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255,176,0,0.1);
  color: var(--color-accent);
  border: 1px solid rgba(255,176,0,0.2);
  font-family: 'DM Sans', system-ui, sans-serif;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--space-sm); }

.pill {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.1);
}
.stack-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }

/* ── 8. SVG RINGS ─────────────────────────────────────────── */
.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 6;
}

/* Green ring (hero satisfaction card) — r=32, circumference=201.06 */
.ring-fill-green {
  fill: none;
  stroke: var(--color-success);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 201.06;
  stroke-dashoffset: calc(201.06 * (1 - var(--pct, 0)));
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* Gold ring — r=40, circumference=251.33 */
.ring-fill-gold {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 251.33;
  stroke-dashoffset: calc(251.33 * (1 - var(--pct, 0)));
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* Alt ring — r=50, circumference=314.16 */
.alt-ring .ring-fill-gold {
  stroke-dasharray: 314.16;
  stroke-dashoffset: calc(314.16 * (1 - var(--pct, 0)));
}

/* ── 12. BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-fab);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #ffc230; transform: translateY(-3px); }

/* ── 13. CURSOR GLOW ──────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  pointer-events: none;
  z-index: 0;
  transform: translate(calc(var(--x, -250px) - 250px), calc(var(--y, -250px) - 250px));
  background: radial-gradient(circle, rgba(255,176,0,0.055) 0%, transparent 65%);
  border-radius: 50%;
  will-change: transform;
}

/* ── 14. HERO SECTION ─────────────────────────────────────── */
.hero {
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4.5rem;
  padding-bottom: 5rem; /* clears the absolute-positioned marquee */
  padding-inline: clamp(1.25rem, 5vw, 1.5rem);
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Animated grid */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,176,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,176,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
}
@keyframes gridPan {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(1,13,91,0.85), transparent 70%);
  top: -10%; left: -5%;
  animation-duration: 14s;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,176,0,0.07), transparent 70%);
  top: 30%; right: 5%;
  animation-duration: 12s;
  animation-delay: -4s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.06), transparent 70%);
  bottom: 0; left: 40%;
  animation-duration: 15s;
  animation-delay: -8s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(20px, -30px); }
  66%       { transform: translate(-15px, 20px); }
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: var(--space-sm);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  text-wrap: balance;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  max-width: min(58ch, 100%);
  margin-inline: auto;
  text-align: center;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-ctas .btn {
  flex: 1 1 0;
  max-width: 14rem;
}

/* Hero stats strip */
.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 4; /* above .marquee-wrap (z-index: 3) */
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--color-card-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-full);
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

/* Pulse dot */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ── 15. STAT RING (services + about alt) ───────────────────── */
/* (hero floating cards removed — replaced by .hero-stats-strip) */
.stat-ring-wrap {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto var(--space-sm);
}
.stat-ring { width: 100%; height: 100%; }
.stat-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-white);
}
.stat-ring-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: none;
}

/* ── 16. MARQUEE ──────────────────────────────────────────── */
.marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(255,176,0,0.1);
  border-bottom: 1px solid rgba(255,176,0,0.1);
  background: rgba(1,13,91,0.45);
  padding-block: 0.85rem;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-track .sep {
  color: var(--color-accent);
  font-size: 0.6rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 17. SERVICES SECTION ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card { display: flex; flex-direction: column; }
.service-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
  color: var(--color-accent);
}
.service-card h3 { margin-bottom: 0.5rem; font-size: var(--fs-lg); }
.service-card p { font-size: var(--fs-sm); color: var(--color-text); flex: 1; max-width: none; }
.service-card .tag-list { margin-top: auto; padding-top: var(--space-sm); }

/* Stat card variant (Lighthouse) */
.service-card--stat {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── 18. PROOF / STATS ────────────────────────────────────── */
.section--proof .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-text {
  max-width: 560px;
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.proof-text h2 { max-width: none; }
.proof-cta-wrap { margin-top: var(--space-lg); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  width: 100%;
  margin-bottom: var(--space-2xl);
}
.stats-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}
.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: none;
  margin: 0;
}

/* Logo strip */
.logo-strip-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-strip-track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  width: max-content;
  animation: logoScroll 22s linear infinite;
}
.logo-strip-track:hover { animation-play-state: paused; }
.logo-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity var(--transition-base), filter var(--transition-base);
}
.logo-strip-item:hover { opacity: 1; filter: grayscale(0); }
.logo-strip-item span {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: none;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 19. PROCESS SECTION ──────────────────────────────────── */
.process-steps {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: rgba(255,176,0,0.18);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}
.process-step h3 { margin-bottom: 0.5rem; font-size: var(--fs-md); }
.process-step p { font-size: var(--fs-sm); color: var(--color-text); max-width: none; }

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  color: var(--color-accent);
  opacity: 0.5;
  flex-shrink: 0;
  align-self: center;
  padding-top: 1rem;
}

/* ── 20. PORTFOLIO GRID ───────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .btn { min-height: 44px; }
}

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(1,13,91,0.6);
  border-color: rgba(255,176,0,0.3);
}

.card-info { padding: var(--space-md); }
.card-info h3 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.card-info p { font-size: var(--fs-sm); color: var(--color-text); max-width: none; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.6rem; }

.portfolio-more { margin-top: var(--space-2xl); }

.portfolio-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.04); }

@media (max-width: 640px) {
  .portfolio-img { height: 200px; }
}

/* ── 21. IMAGE PLACEHOLDERS ──────────────────────────────────*/
.image-placeholder {
  background: linear-gradient(135deg, rgba(30,58,138,0.4), rgba(1,13,91,0.55));
  border: 1.5px dashed rgba(255,176,0,0.28);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.ph-large  { min-height: 340px; }
.ph-medium { min-height: 240px; }

.ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: var(--space-md);
  text-align: center;
}
.ph-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.ph-inner strong {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.ph-inner span {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  max-width: 22ch;
}
.ph-size {
  font-size: var(--fs-xs);
  color: rgba(255,176,0,0.5);
}

/* ── 23. CTA BANNER ───────────────────────────────────────── */
.cta-banner .cta-inner {
  text-align: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(1,13,91,0.7) 0%, rgba(30,58,138,0.5) 50%, rgba(1,13,91,0.7) 100%), var(--color-card-bg);
  max-width: none;
}
.cta-inner .eyebrow { justify-content: center; }
.cta-inner h2 { margin-bottom: var(--space-lg); max-width: none; }

/* ── 25. INNER PAGE HERO ──────────────────────────────────── */
.hero--inner {
  min-height: 65vh;
  align-items: stretch; /* let container stretch to full width */
  padding-bottom: 2rem; /* no marquee on inner pages — override base 5rem */
}
.hero-inner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* prevent flex shrink-to-content-width */
  margin-inline: auto;
}
.hero-sub--centred { text-align: center; max-width: 55ch; margin-inline: auto; }
.hero-ctas--centred { justify-content: center; }
.hero-hint {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  max-width: none;
}

/* ── 26. ABOUT — OUR STORY ────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.story-text p { color: var(--color-text); margin-bottom: 0; }
.story-text p + p { margin-top: var(--space-sm); }
.story-text h2 { margin-bottom: var(--space-md); }
.story-stats { position: sticky; top: 7rem; }

/* ── 27. BENTO GRID ───────────────────────────────────────── */
.bento-grid { display: grid; gap: var(--space-md); }
.bento-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bento-grid--2 { grid-template-columns: repeat(2, 1fr); }

.bento-card { display: flex; flex-direction: column; }
.bento-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.bento-card h3 { margin-bottom: 0.5rem; }
.bento-card p { font-size: var(--fs-sm); color: var(--color-text); max-width: none; flex: 1; }

/* ── 28. SECTION DARK ALT ─────────────────────────────────── */
.section--dark-alt { background: rgba(1,13,91,0.2); }

/* ── 29. ALTERNATING LAYOUT (About / Why us) ──────────────── */
.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.alt-block:last-child { border-bottom: none; }
.alt-block--even .alt-visual { order: -1; }

.alt-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: rgba(255,176,0,0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.alt-text h3 { margin-bottom: var(--space-sm); }
.alt-text p { color: var(--color-text); font-size: var(--fs-md); max-width: 55ch; }
.alt-text p + p { margin-top: var(--space-sm); }

.alt-visual-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}
.alt-visual-inner--ring {
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.alt-ring-container {
  position: relative;
  width: 160px; height: 160px;
}
.alt-ring { width: 100%; height: 100%; }
.alt-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.alt-ring-num {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.alt-ring-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alt-stat-row { display: flex; flex-direction: column; }
.alt-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1;
}
.alt-stat-row p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: 28ch;
  margin: 0;
}

.alt-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.alt-checklist span {
  font-size: var(--fs-sm);
  color: var(--color-text);
}

/* ── 30. SERVICES DETAIL ──────────────────────────────────── */
.services-detail { display: flex; flex-direction: column; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-block: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-block:last-child { border-bottom: none; }
.service-block--even .service-block-visual { order: -1; }

.service-block-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.service-block-icon {
  font-size: 2rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.service-block-header h3 { margin: 0; }

.service-block-text p { color: var(--color-text); max-width: 55ch; }
.service-block-text p + p { margin-top: var(--space-sm); }

.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.deliverables-list li {
  font-size: var(--fs-sm);
  color: var(--color-text);
  padding-left: 1.4rem;
  position: relative;
}
.deliverables-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: var(--fs-xs);
}

.service-tech-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--space-sm); }

.service-block-visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

/* Code snippet */
.code-snippet {
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-family: 'Courier New', monospace;
  font-size: var(--fs-xs);
  line-height: 1.8;
}
.code-line { display: block; }
.code-indent { padding-left: 1.2em; }
.code-kw  { color: #c792ea; }
.code-var { color: #82aaff; }
.code-fn  { color: #82d9f7; }
.code-prop{ color: #f07178; }
.code-str { color: #c3e88d; }
.code-num { color: var(--color-accent); }
.code-bool{ color: #ff5370; }

.service-metric {
  text-align: center;
  padding-top: var(--space-sm);
}
.service-metric--inline {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  text-align: left;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-sm);
}
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.metric-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: none;
}

/* Design preview mockup */
.service-visual-inner--design { align-items: center; }
.design-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.preview-bar {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  width: 60%;
}
.preview-bar--accent { background: rgba(255,176,0,0.3); width: 80%; }
.preview-grid { display: flex; gap: 0.5rem; height: 100px; }
.preview-block {
  flex: 1;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
}
.preview-block--tall { flex: 1.5; }
.preview-block--accent { background: rgba(255,176,0,0.15); }
.preview-block-group { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

/* SEO bars */
.service-visual-inner--seo { gap: var(--space-sm); }
.seo-bars { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
.seo-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.seo-bar-row span { min-width: 60px; flex-shrink: 0; }
.seo-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.seo-bar-fill {
  height: 100%;
  width: var(--w, 50%);
  background: rgba(255,176,0,0.4);
  border-radius: var(--radius-full);
}
.seo-bar-fill--accent { background: var(--color-accent); }
.seo-chart-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  max-width: none;
}

/* E-commerce stats */
.service-visual-inner--ecom { align-items: center; }
.ecom-stats { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.ecom-stat { text-align: center; }
.ecom-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1;
}
.ecom-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  display: block;
  max-width: none;
}
.ecom-label-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  max-width: none;
}

/* Brand preview */
.service-visual-inner--brand { align-items: center; gap: var(--space-lg); }
.brand-swatch-row { display: flex; gap: 0.5rem; }
.brand-swatch {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--sw);
  border: 1px solid rgba(255,255,255,0.1);
}
.brand-type-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.brand-type-lg {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.brand-type-sm {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Maintenance ring */
.maint-ring-wrap { position: relative; width: 110px; height: 110px; margin: 0 auto var(--space-sm); }

/* ── 31. PRICING ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.pricing-card { display: flex; flex-direction: column; position: relative; }
.pricing-card--featured {
  border-color: rgba(255,176,0,0.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(1,13,91,0.7), var(--shadow-glow-sm);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-main);
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--space-sm);
}
.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}
.pricing-amount { display: flex; align-items: baseline; gap: 0.35rem; }
.pricing-from { font-size: var(--fs-xs); color: var(--color-text-muted); }
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-white);
}
.pricing-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: none;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  flex: 1;
}
.pricing-features li {
  font-size: var(--fs-sm);
  color: var(--color-text);
}
.pricing-features li span { color: var(--color-success); margin-right: 0.35rem; }

.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── 32. CONTACT CHANNELS ─────────────────────────────────── */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.contact-channel-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.contact-channel-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,176,0,0.35);
}

.channel-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255,176,0,0.12);
  border: 1px solid rgba(255,176,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.channel-icon-wrap--green {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: var(--color-success);
}
.channel-icon-wrap--blue {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
  color: #60a5fa;
}
.channel-icon-wrap--pink {
  background: rgba(236,72,153,0.1);
  border-color: rgba(236,72,153,0.2);
  color: #f472b6;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.channel-label {
  font-family: 'Syne', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.channel-value {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white);
}
.channel-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: none;
}
.channel-arrow {
  font-size: var(--fs-lg);
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.contact-channel-card:hover .channel-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 33. CONTACT FORM ─────────────────────────────────────── */
.contact-form-wrap { max-width: 860px; margin-inline: auto; }
.contact-form-header {
  margin-bottom: var(--space-lg);
  text-align: center;
}
.contact-form-header h2 { max-width: none; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.req { color: var(--color-accent); }

input, textarea, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--color-white);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--color-text-muted); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,176,0,0.15);
}

select option { background: var(--color-main); color: var(--color-white); }
textarea { resize: vertical; min-height: 140px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.form-note {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: none;
}
.form-note span { color: var(--color-accent); }

/* ── 34. TRUST CARDS ──────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.trust-card { display: flex; flex-direction: column; gap: var(--space-sm); }
.trust-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.trust-card h3 { margin-bottom: 0.25rem; }
.trust-card p { font-size: var(--fs-sm); color: var(--color-text); max-width: none; }

/* ── 35. SECTION CONTACT CHANNELS SPACING ─────────────────── */
.section--contact-channels { padding-top: 0; }

/* ── 36. ANIMATIONS & SCROLL REVEAL ──────────────────────────*/
[class*="reveal-"] {
  transition-delay: var(--delay, 0s);
}

/* ── 37. MEDIA QUERIES ────────────────────────────────────── */

/* Large desktop ≥1280px — hero breathing room */
@media (min-width: 1280px) {
  .hero { padding-top: 5.5rem; padding-bottom: 6rem; }
  .hero-grid { max-width: 1100px; gap: var(--space-xl); }
  .hero-sub { font-size: var(--fs-xl); }
  .hero-stats-strip { gap: 1.25rem; margin-top: var(--space-2xl); }
  .stat-pill { padding: 0.75rem 1.75rem; font-size: var(--fs-md); }
}

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .bento-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: none; }

  .process-steps { flex-wrap: wrap; gap: var(--space-md); }
  .process-step { flex: 1 1 calc(50% - var(--space-md)); min-width: 200px; }
  .process-arrow { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-channels-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-grid .footer-brand { padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .footer-grid .footer-nav-wrap { padding-top: 0; }

  .alt-block { gap: var(--space-xl); }
  .service-block { gap: var(--space-xl); }
}

/* Nav collapse ≤900px */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mid-tablet ≤768px */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-channels-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-sub { font-size: var(--fs-base); }
}


/* Mobile ≤640px */
@media (max-width: 640px) {
  :root {
    --space-xl:  2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
  }

  /* Header: hide outline button on small screens */
  .header-right .btn-outline { display: none; }

  /* Hero: mobile overrides */
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    justify-content: center;
  }
  .hero--inner {
    min-height: 55vh;
    padding-bottom: 1.5rem;
  }
  .hero-inner-content h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.1;
  }
  .hero-sub--centred { max-width: 100%; }

  .hero-text h1 {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
    line-height: 1.1;
  }

  .hero-sub {
    font-size: var(--fs-sm);
    line-height: 1.65;
    max-width: 100%;
  }

  .hero-stats-strip {
    gap: 0.5rem;
    margin-top: var(--space-sm);
  }

  .stat-pill {
    font-size: var(--fs-xs);
    padding: 0.4rem 0.85rem;
  }

  .scroll-indicator { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .bento-grid--3 { grid-template-columns: 1fr; }
  .bento-grid--2 { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid--2col { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .contact-channels-grid { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }

  .story-grid { grid-template-columns: 1fr; }
  .story-stats { position: static; }

  .alt-block { grid-template-columns: 1fr; gap: var(--space-lg); }
  .alt-block--even .alt-visual { order: 0; }

  .service-block { grid-template-columns: 1fr; gap: var(--space-lg); }
  .service-block--even .service-block-visual { order: 0; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }

  .process-step { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { text-align: center; align-items: center; }
  .footer-tagline { text-align: center; max-width: none; }
  .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .back-to-top { width: 44px; height: 44px; bottom: 1.25rem; right: 1.25rem; }

  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: var(--space-md); }

  .cta-inner { padding: var(--space-xl) var(--space-md); }
  .cta-inner h2 { font-size: clamp(1.5rem, 5vw, 3rem); }

  .image-placeholder { max-height: 200px; }
  .ph-large  { min-height: 160px; max-height: 200px; }
  .ph-medium { min-height: 140px; max-height: 200px; }
}

/* Very small ≤480px */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Very small ≤380px */
@media (max-width: 380px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-stats-strip { flex-direction: column; align-items: center; }
}
