/* Code La Mode — homepage theme (derived from the brand slide deck) */
:root {
  --bg: #020e11;
  --bg-2: #04161a;
  --surface: #071c21;
  --surface-2: #0b252c;
  --line: rgba(140, 220, 230, 0.12);
  --line-strong: rgba(140, 220, 230, 0.24);
  --text: #eef8f9;
  --text-soft: #a3bcc3;
  --muted: #7b98a0;
  --accent: #22d3dc;
  --accent-bright: #5ee3e8;
  --teal: #00d1b0;
  --steel: #3aa3cc;
  --violet: #2a1aa6;
  --lavender: #c9d2ff;
  --success: #43e0a5;
  --danger: #ff8a7a;
  --heading: #ffffff;
  --ink: 255, 255, 255;
  --bg-rgb: 2, 14, 17;
  --surface-rgb: 7, 28, 33;
  --on-accent: #021317;
  --grad-text: linear-gradient(90deg, #ffffff 0%, var(--lavender) 55%, var(--accent-bright) 100%);
  --grad-band: linear-gradient(135deg, #061b21 0%, #08112c 100%);
  --grad-feature: linear-gradient(160deg, #0d3a44 0%, #0a1a3a 100%);
  --grad-panel: linear-gradient(150deg, #062a33 0%, #050f2a 100%);
  --badge: #ffc76b;
  --art-bg: #031418;
  --footer-bg: #010a0c;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slide-duration: 4000ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--bg);
  padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* ---------- shared type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--text-soft); font-size: 1.05rem; max-width: 60ch; }
.tbd { border-bottom: 1px dashed rgba(255, 199, 107, 0.8); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 10px 30px rgba(34, 211, 220, 0.35); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(var(--ink), 0.28); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { color: var(--accent); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.link-arrow::after { content: " \2192"; display: inline-block; transition: transform 0.25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text-soft); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--heading); }
.nav-toggle {
  display: none; background: none; color: var(--heading); font: inherit; font-weight: 600; font-size: 0.88rem;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}

/* ---------- hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--bg); }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  min-height: clamp(620px, calc(100svh - 76px), 860px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease), visibility 0s; z-index: 1; }
.slide-inner {
  position: relative; z-index: 2; height: 100%;
  display: grid; align-items: center; gap: clamp(32px, 5vw, 72px);
  padding: 56px 0 128px;
}
.slide--split .slide-inner { grid-template-columns: 1.05fr 0.95fr; }
.slide--reverse .slide-inner { grid-template-columns: 0.95fr 1.05fr; }
.slide-copy { max-width: 640px; }
.slide--fiber .slide-copy { max-width: 760px; }

.display {
  font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.025em; color: var(--heading);
}
.display.upper { text-transform: uppercase; letter-spacing: -0.015em; }
.slide .lead { margin-top: 22px; }
.framed {
  margin-top: 28px; padding: 16px 22px;
  border: 1px solid; border-image: linear-gradient(90deg, rgba(201, 210, 255, 0.65), rgba(201, 210, 255, 0)) 1;
  color: var(--accent); text-transform: uppercase; font-size: 0.92rem; letter-spacing: 0.02em;
}
.punch { margin-top: 22px; color: var(--steel); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.accent-text { margin-top: 24px; color: var(--accent); font-size: 1.1rem; max-width: 52ch; }
.glass {
  margin-top: 26px; padding: 24px 26px; border-radius: 18px;
  background: rgba(var(--ink), 0.03); border: 1px solid rgba(var(--ink), 0.14);
}
.glass p { color: var(--text-soft); }
.glass .stacked { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1rem; line-height: 1.3; margin-bottom: 12px; }

/* staggered entrance */
.slide-copy > * { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: 0.08s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: 0.16s; }
.slide.is-active .slide-copy > :nth-child(4) { transition-delay: 0.24s; }
.slide.is-active .slide-copy > :nth-child(5) { transition-delay: 0.32s; }
.slide-media { position: relative; }
.slide-media img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  max-height: 58vh;
  opacity: 0; transform: scale(0.95);
  transition: opacity 1s var(--ease) 0.15s, transform 1.2s var(--ease) 0.15s;
}
.slide.is-active .slide-media img { opacity: 1; transform: none; }

/* slide 1: full-bleed fibre optics */
.slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.1); transition: transform 9s linear;
}
.slide.is-active .slide-bg { transform: scale(1); }
.slide--fiber::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.94) 0%, rgba(var(--bg-rgb), 0.72) 42%, rgba(var(--bg-rgb), 0.15) 100%),
    linear-gradient(0deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0) 35%);
}

/* decorative motifs from the deck */
.bracket { position: absolute; z-index: 3; width: 18px; height: 18px; border: 0 solid var(--heading); }
.bracket--tl { top: 32px; left: 40px; border-top-width: 3px; border-left-width: 3px; }
.bracket--tr { top: 32px; right: 40px; border-top-width: 3px; border-right-width: 3px; }
.bracket--media { top: -30px; left: -30px; border-top-width: 3px; border-right-width: 3px; }
.teal-block {
  position: absolute; z-index: 0; left: 0; top: -18%; width: 34%; height: 46%;
  background: linear-gradient(180deg, rgba(0, 209, 176, 0) 0%, var(--teal) 100%);
}
.arc {
  position: absolute; z-index: 0; right: -14%; top: -16%; width: 260px; height: 260px; border-radius: 50%;
  border: 36px solid transparent; border-top-color: rgba(90, 120, 140, 0.35); border-right-color: rgba(90, 120, 140, 0.35);
  transform: rotate(-20deg);
}
.arc--top { right: auto; left: -6%; top: -250px; width: 420px; height: 420px; transform: rotate(160deg); z-index: 1; }
.clip-octa { clip-path: polygon(5% 0, 95% 0, 100% 6%, 100% 84%, 86% 100%, 14% 100%, 0 84%, 0 6%); }
.clip-round { border-radius: 36px; }
.clip-slant { clip-path: polygon(0 0, 62% 10%, 100% 100%, 0 100%); border-radius: 28px; }
.dot { position: absolute; z-index: 2; border-radius: 50%; background: #0ee0ea; }
.dot--lg { width: 88px; height: 88px; top: -28px; right: -24px; }
.dot--sm { width: 18px; height: 18px; bottom: -36px; right: 18%; }
.glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.glow--violet { width: 720px; height: 720px; right: -220px; bottom: -320px; background: radial-gradient(circle, rgba(42, 26, 166, 0.55), transparent 65%); }
.glow--cyan { width: 520px; height: 520px; left: 24%; bottom: -300px; background: radial-gradient(circle, rgba(14, 224, 234, 0.55), transparent 65%); }

/* slider controls */
.slider-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  border-top: 1px solid rgba(var(--ink), 0.08);
  background: rgba(var(--bg-rgb), 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.controls-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 18px 0; }
.slide-tabs { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.slide-tabs button {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px;
  background: none; border: 0; padding: 6px 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--muted); transition: color 0.25s;
}
.slide-tabs button:hover, .slide-tabs button[aria-selected="true"] { color: var(--heading); }
.slide-tabs .num { font-size: 0.75rem; font-weight: 600; color: var(--accent); }
.slide-tabs .label { font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-tabs .bar { grid-column: 1 / -1; position: relative; height: 2px; background: rgba(var(--ink), 0.14); overflow: hidden; }
.slide-tabs .bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-slider:not(.is-stopped) [aria-selected="true"] .bar i { animation: slide-progress var(--slide-duration) linear forwards; }
.hero-slider.is-paused [aria-selected="true"] .bar i { animation-play-state: paused; }
.hero-slider.is-stopped [aria-selected="true"] .bar i { transform: scaleX(1); }
@keyframes slide-progress { to { transform: scaleX(1); } }

.slide-arrows { display: flex; gap: 10px; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--heading); border: 1px solid rgba(var(--ink), 0.22);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.arrow:hover { border-color: var(--accent); color: var(--accent); background: rgba(34, 211, 220, 0.08); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow .i-play { display: none; fill: currentColor; stroke: none; }
.hero-slider.is-stopped .arrow .i-pause { display: none; }
.hero-slider.is-stopped .arrow .i-play { display: block; }

/* ---------- pillars + stats ---------- */
.pillars { padding: 56px 0 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillar {
  display: block; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}
.pillar:hover { border-color: rgba(34, 211, 220, 0.45); transform: translateY(-3px); }
.pillar .kicker { margin-bottom: 14px; }
.pillar h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.25; color: var(--heading); margin-bottom: 8px; }
.pillar p { color: var(--text-soft); font-size: 0.94rem; }
.pillar--accent { background: linear-gradient(135deg, rgba(34, 211, 220, 0.16), rgba(42, 26, 166, 0.28)); border-color: rgba(34, 211, 220, 0.3); }

.stats { padding: 56px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.1; color: var(--heading); letter-spacing: -0.02em; margin-bottom: 8px; }
.stat > span { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 116px) 0; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section--alt { background: var(--bg-2); }
.section--band { background: var(--grad-band); }
.section h2 {
  font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--heading); max-width: 22ch; margin-bottom: 20px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: 0.8rem;
  border: 1px solid var(--line-strong); color: var(--text-soft); transition: border-color 0.2s, color 0.2s;
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service {
  display: block; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
a.service:hover { border-color: rgba(34, 211, 220, 0.45); background: var(--surface-2); transform: translateY(-3px); }
.service .icon {
  width: 52px; height: 52px; padding: 12px; border-radius: 14px; margin-bottom: 22px;
  background: rgba(34, 211, 220, 0.08); fill: none; stroke: var(--accent);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { font-size: 1.15rem; font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.service p { color: var(--text-soft); font-size: 0.94rem; }
.service--feature { background: var(--grad-feature); border-color: rgba(34, 211, 220, 0.35); }
.service--feature .chip { border-color: rgba(var(--ink), 0.3); color: var(--heading); }

/* products */
.product-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.badge {
  margin-left: 6px; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.08em; font-size: 0.66rem;
  background: rgba(255, 199, 107, 0.14); color: var(--badge);
}
.early-access { margin-top: 32px; max-width: 480px; }
.early-access label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.inline-field { display: flex; gap: 10px; }
.inline-field input { flex: 1; min-width: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature {
  padding: 24px; border-radius: 16px;
  background: rgba(var(--ink), 0.04); border: 1px solid rgba(var(--ink), 0.1);
}
.feature h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.feature p { color: var(--text-soft); font-size: 0.9rem; }

/* regions */
.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.region-card {
  position: relative; padding: 32px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
}
.region-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); }
.region-card:target { border-color: var(--accent); }
.tz { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.region-card h3 { font-size: 1.35rem; font-weight: 500; color: var(--heading); margin-bottom: 10px; }
.region-card p { color: var(--text-soft); font-size: 0.94rem; margin-bottom: 20px; }

/* industries */
.industry-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.industry {
  display: block; padding: 26px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s;
}
.industry:hover { border-color: rgba(34, 211, 220, 0.45); }
.industry h3 { font-size: 1.12rem; font-weight: 500; color: var(--heading); margin-bottom: 6px; transition: color 0.2s; }
.industry:hover h3 { color: var(--accent-bright); }
.industry p { color: var(--text-soft); font-size: 0.9rem; }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work {
  display: block; padding-bottom: 28px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.25s;
}
a.work:hover { border-color: rgba(34, 211, 220, 0.45); transform: translateY(-3px); }
.work-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--art-bg); }
.work-art::before, .work-art::after { content: ""; position: absolute; inset: 0; transition: transform 0.8s var(--ease); }
.work-art::after {
  background-image: linear-gradient(rgba(140, 220, 230, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 220, 230, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.work-art span { position: absolute; z-index: 1; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(var(--ink), 0.35); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.work-art--a::before { background: radial-gradient(circle at 30% 40%, rgba(34, 211, 220, 0.6), transparent 42%), radial-gradient(circle at 78% 72%, rgba(42, 26, 166, 0.7), transparent 48%); }
.work-art--b::before { background: radial-gradient(circle at 70% 30%, rgba(0, 209, 176, 0.55), transparent 42%), radial-gradient(circle at 20% 80%, rgba(58, 163, 204, 0.55), transparent 45%); }
.work-art--c::before { background: radial-gradient(circle at 50% 70%, rgba(94, 227, 232, 0.5), transparent 40%), radial-gradient(circle at 15% 20%, rgba(120, 80, 255, 0.55), transparent 45%); }
a.work:hover .work-art::before { transform: scale(1.08); }
.work .tag { display: block; margin: 24px 26px 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.work h3 { margin: 0 26px 10px; font-size: 1.22rem; font-weight: 500; line-height: 1.3; color: var(--heading); }
.work p { margin: 0 26px; color: var(--text-soft); font-size: 0.93rem; }

/* about + steps */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.step-num { font-size: 1.5rem; font-weight: 300; color: var(--accent); line-height: 1.2; }
.steps h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.steps p { color: var(--text-soft); font-size: 0.93rem; }

/* careers */
.careers { padding: clamp(56px, 7vw, 88px) 0; }
.careers-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 36px 40px; border-radius: 24px; border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(34, 211, 220, 0.12), rgba(34, 211, 220, 0) 70%);
}
.careers .careers-wrap h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; max-width: none; }
.careers-wrap p { color: var(--text-soft); }

/* contact */
#contact { padding-top: 0; }
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 60px); border-radius: 28px;
  background: var(--grad-panel);
  border: 1px solid rgba(34, 211, 220, 0.25);
}
.contact-panel .glow--cyan { left: -160px; bottom: -320px; opacity: 0.6; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-meta { list-style: none; padding: 0; margin: 28px 0 0; color: var(--heading); }
.contact-meta li + li { margin-top: 6px; }
.contact-meta a { border-bottom: 1px solid var(--line-strong); transition: color 0.2s, border-color 0.2s; }
.contact-meta a:hover { color: var(--accent); border-color: var(--accent); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-soft); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 0.95rem; color: var(--heading);
  background: rgba(var(--ink), 0.05); border: 1px solid rgba(var(--ink), 0.16);
  transition: border-color 0.2s, background 0.2s;
}
input::placeholder, textarea::placeholder { color: #6d8990; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: rgba(var(--ink), 0.07); }
select option { background: var(--surface); color: var(--heading); }
textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-status { margin-top: 10px; font-size: 0.9rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 64px; background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer-grid p { color: var(--text-soft); font-size: 0.92rem; max-width: 34ch; }
.footer-grid h3 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-grid nav a { display: block; color: var(--text-soft); font-size: 0.92rem; margin: 9px 0; transition: color 0.2s; }
.footer-grid nav a:hover { color: var(--heading); }
.footer-base { margin-top: 48px; padding: 22px 0 30px; border-top: 1px solid var(--line); }
.footer-base small { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .slide-tabs .label { display: none; }
  .slide-tabs { grid-template-columns: repeat(5, minmax(0, 64px)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .js .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 20px 24px; background: rgba(var(--bg-rgb), 0.97); border-bottom: 1px solid var(--line);
  }
  .js .nav-links a:not(.btn) { padding: 8px 0; font-size: 1rem; }
  .js .nav-links .btn { margin-top: 10px; }
  .js .nav-wrap.is-open .nav-links { display: flex; }
  .nav-links { flex-wrap: wrap; }

  .slide--split .slide-inner, .slide--reverse .slide-inner { grid-template-columns: 1fr; }
  .slide--split .slide-media { position: absolute; inset: 0; z-index: 0; }
  .slide--split .slide-media img {
    width: 100%; height: 100%; max-height: none; aspect-ratio: auto;
    clip-path: none; border-radius: 0; opacity: 0;
  }
  .slide--split.is-active .slide-media img { opacity: 0.22; }
  .slide--split .slide-media > span, .slide .arc { display: none; }
  .slide-inner { padding: 48px 0 112px; }
  .slide--split .slide-inner { position: static; }
  .slide--split .slide-copy { position: relative; z-index: 2; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-wrap, .industry-wrap, .about-wrap, .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .region-grid, .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bracket--tl, .bracket--tr { display: none; }
}

@media (max-width: 640px) {
  .service-grid, .feature-grid, .industry-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .careers-wrap { flex-direction: column; align-items: flex-start; padding: 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .inline-field { flex-direction: column; }
  .controls-wrap { gap: 16px; }
  .slide-tabs { gap: 10px; }
  .arrow[data-dir] { display: none; }
  .logo img { height: 46px; }
  .cta-row .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
  .slide-bg { transform: none !important; }
}

/* ======================================================================
   Inner pages (services, etc.) — shares the homepage theme
   ====================================================================== */
.nav-links a[aria-current="page"]:not(.btn) { color: var(--heading); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }

/* page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.page-hero .display { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.page-hero .lead { margin-top: 22px; }
.page-hero-media { position: relative; }
.page-hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.arc--hero { right: -120px; top: -140px; width: 380px; height: 380px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.jump-links a { font-size: 0.86rem; color: var(--text-soft); transition: color 0.2s; }
.jump-links a::before { content: "\2193"; color: var(--accent); margin-right: 8px; }
.jump-links a:hover { color: var(--heading); }

/* service cards (inner page variant) */
.service { display: flex; flex-direction: column; }
.service .service-sub { color: var(--accent); font-size: 0.86rem; font-weight: 500; margin: -4px 0 10px; }
.service .link-arrow { margin-top: auto; padding-top: 18px; }
.capabilities { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 32px; }
.capabilities > span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.capabilities .chip-row { margin-top: 0; }

/* dedicated teams */
.teams-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.roles { margin-top: 32px; }
.roles-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--heading); margin-bottom: 12px; }
.roles .chip-row { margin-top: 0; }
.chip--lg { padding: 9px 18px; font-size: 0.9rem; color: var(--heading); border-color: rgba(var(--ink), 0.28); }
.team-cards { display: grid; gap: 14px; }
.team-cards > .link-arrow { justify-self: start; margin-top: 8px; }
.team-card {
  position: relative; display: block; padding: 26px 70px 26px 28px; border-radius: 18px;
  background: rgba(var(--ink), 0.04); border: 1px solid rgba(var(--ink), 0.12);
  transition: border-color 0.25s, background 0.25s;
}
.team-card:hover { border-color: rgba(34, 211, 220, 0.5); background: rgba(34, 211, 220, 0.06); }
.team-card .tz { margin-bottom: 10px; }
.team-card h3 { font-size: 1.3rem; font-weight: 500; color: var(--heading); margin-bottom: 6px; }
.team-card p { color: var(--text-soft); font-size: 0.94rem; }
.team-arrow {
  position: absolute; right: 26px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s;
}
.team-card:hover .team-arrow { transform: translateX(4px); }

/* coming-soon promo */
.promo {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 60px); border-radius: 28px;
  background: var(--grad-panel);
  border: 1px solid rgba(34, 211, 220, 0.25);
}
.promo .glow--cyan { left: -160px; bottom: -320px; opacity: 0.6; }
.promo-copy, .promo-media { position: relative; z-index: 1; }
.promo-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.promo-media .dot--lg { width: 64px; height: 64px; top: -20px; right: -16px; }
.badge--lg { display: inline-block; margin: 0 0 18px; padding: 6px 14px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }

/* delivery steps (horizontal) */
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-grid li { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-grid .step-num { display: block; font-size: 2rem; margin-bottom: 14px; }
.step-grid h3 { font-size: 1.1rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.step-grid p { color: var(--text-soft); font-size: 0.93rem; }

@media (max-width: 980px) {
  .page-hero-grid, .teams-wrap, .promo { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 560px; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--accent); }
}
@media (max-width: 640px) {
  .step-grid { grid-template-columns: 1fr; }
  .arc--hero { display: none; }
  .page-hero-media .bracket--media { display: none; }
}

/* ======================================================================
   Services page (layout modelled on a classic service landing page)
   ====================================================================== */
.svc-hero { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(520px, 72vh, 720px); padding: 80px 0; }
.svc-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.svc-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0.75) 45%, rgba(var(--bg-rgb), 0.25) 100%),
    linear-gradient(0deg, rgba(var(--bg-rgb), 1) 0%, rgba(var(--bg-rgb), 0) 40%);
}
.svc-hero-inner { position: relative; z-index: 2; }
.svc-hero .display { max-width: 15ch; }
.svc-hero .lead { margin-top: 22px; }

/* inline enquiry form, pulled up over the hero */
.help-strip { position: relative; z-index: 3; margin-top: -110px; }
.help-card {
  display: grid; grid-template-columns: 0.75fr 2.25fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  padding: clamp(24px, 4vw, 44px); border-radius: 24px;
  background: rgba(var(--surface-rgb), 0.92); border: 1px solid rgba(34, 211, 220, 0.28);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.help-copy h2 { font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--heading); margin-bottom: 10px; }
.help-copy p { color: var(--text-soft); font-size: 0.95rem; }
.help-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.help-form .full { grid-column: 1 / -1; }
.help-form textarea { min-height: 84px; }
.help-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.help-submit .form-note { margin: 0; }

/* value proposition */
.value-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.value-media { position: relative; }
.value-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--text-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34, 211, 220, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3dc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list strong { color: var(--heading); font-weight: 600; }

/* offerings tabs */
.section-intro { color: var(--text-soft); max-width: 40ch; font-size: 0.95rem; }
.svc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.svc-tab {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; cursor: pointer;
  font: inherit; color: var(--text-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.svc-tab svg {
  flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: rgba(34, 211, 220, 0.08);
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.svc-tab strong { display: block; color: var(--heading); font-size: 1.02rem; font-weight: 600; }
.svc-tab small { font-size: 0.84rem; }
.svc-tab:hover { border-color: rgba(34, 211, 220, 0.4); }
.svc-tab[aria-selected="true"] { background: var(--grad-feature); border-color: var(--accent); }
.svc-tab[aria-selected="true"] svg { background: var(--accent); stroke: var(--on-accent); }

.svc-panel { padding: clamp(24px, 4vw, 48px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.svc-panel[hidden] { display: none; }
.svc-panel + .svc-panel { margin-top: 24px; }
.js .svc-panel + .svc-panel { margin-top: 0; }
.svc-panel:not([hidden]) .svc-panel-top > *, .svc-panel:not([hidden]) .offer { animation: panel-in 0.6s var(--ease) both; }
.svc-panel:not([hidden]) .svc-panel-media { animation-delay: 0.08s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.svc-panel-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel-title { font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--heading); margin-bottom: 18px; }
.outcomes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.outcomes li { position: relative; padding-left: 26px; color: var(--heading); font-size: 0.95rem; }
.outcomes li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 2px; background: var(--accent); }
.svc-panel .cta-row { align-items: center; gap: 22px; }
.svc-panel-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.offer { padding: 24px; border-radius: 16px; background: rgba(var(--ink), 0.025); border: 1px solid var(--line); transition: border-color 0.25s, transform 0.25s; }
.offer:hover { border-color: rgba(34, 211, 220, 0.45); transform: translateY(-3px); }
.offer:nth-child(2) { animation-delay: 0.05s; }
.offer:nth-child(3) { animation-delay: 0.1s; }
.offer:nth-child(4) { animation-delay: 0.15s; }
.offer-num { display: block; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.offer h4 { margin: 0 0 8px; font-size: 1.04rem; font-weight: 600; color: var(--heading); }
.offer p { color: var(--text-soft); font-size: 0.9rem; }

/* vertical timeline */
.process-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head .lead { margin-bottom: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(42, 26, 166, 0.8)); }
.timeline > li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 0 0 34px; }
.timeline > li:last-child { padding-bottom: 0; }
.tl-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font-weight: 600;
}
.timeline h3 { font-size: 1.3rem; font-weight: 500; color: var(--heading); margin: 12px 0 10px; }
.timeline ul { margin: 0; padding: 0 0 0 18px; color: var(--text-soft); font-size: 0.95rem; }
.timeline ul li + li { margin-top: 4px; }
.timeline ul li::marker { color: var(--accent); }

/* technology strip */
.tech-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.tech-wrap { display: flex; align-items: center; gap: 32px; padding: 30px 0; }
.tech-wrap > p { flex: none; max-width: 16ch; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tech-list { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.tech-list li { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--text-soft); letter-spacing: -0.01em; opacity: 0.85; }

.section--tight { padding-top: 0; }

@media (max-width: 1080px) {
  .help-card { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .value-wrap, .svc-panel-top, .process-wrap { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .svc-panel-media { max-width: 560px; }
  .tech-wrap { flex-direction: column; align-items: flex-start; }
  .tech-wrap > p { max-width: none; }
}
@media (max-width: 760px) {
  .svc-tabs { grid-template-columns: 1fr; }
  .help-form { grid-template-columns: 1fr 1fr; }
  .svc-hero .bracket { display: none; }
}
@media (max-width: 560px) {
  .help-form, .offer-grid { grid-template-columns: 1fr; }
  .help-submit { flex-direction: column; align-items: stretch; }
  .svc-tab { padding: 16px; }
  .tech-list { justify-content: flex-start; }
}

/* industries overview */
.industry-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.industry-cards .industry-cta { grid-column: 1 / -1; }
@media (max-width: 980px) { .industry-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .industry-cards { grid-template-columns: 1fr; } }

/* AI & cloud in practice (services) */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.practice { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.practice-media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; }
.practice-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.practice:hover .practice-media img { transform: scale(1.04); }
.practice-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, rgba(var(--surface-rgb), 0) 60%); }
.practice-body { position: relative; padding: 0 clamp(22px, 3vw, 36px) clamp(26px, 3vw, 36px); margin-top: -34px; }
.practice-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; color: var(--accent); line-height: 1.1; margin-bottom: 22px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.benefit-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.benefit-list svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit-list h4 { margin: 2px 0 4px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.benefit-list p { color: var(--text-soft); font-size: 0.93rem; }
@media (max-width: 980px) { .practice-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Light theme — same layout, light palette. Toggled via html[data-theme]
   (shared "codelamode-theme" preference with the rest of the site).
   ====================================================================== */
html[data-theme="light"] {
  --bg: #f4f8f9;
  --bg-2: #e9f1f3;
  --surface: #ffffff;
  --surface-2: #f2f8f9;
  --line: rgba(10, 60, 72, 0.12);
  --line-strong: rgba(10, 60, 72, 0.22);
  --text: #0c2229;
  --text-soft: #3f5961;
  --muted: #5f7a82;
  --heading: #071a20;
  --accent: #0a7f88;
  --accent-bright: #0c97a1;
  --steel: #1f6f93;
  --lavender: #3b2fc0;
  --success: #0f7a52;
  --danger: #b23a2c;
  --ink: 10, 40, 48;
  --bg-rgb: 244, 248, 249;
  --surface-rgb: 255, 255, 255;
  --on-accent: #ffffff;
  --grad-text: linear-gradient(90deg, #0b2a33 0%, #3b2fc0 55%, #0a7f88 100%);
  --grad-band: linear-gradient(135deg, #e3f4f6 0%, #e8e8fb 100%);
  --grad-feature: linear-gradient(160deg, #dff4f5 0%, #e6e7fb 100%);
  --grad-panel: linear-gradient(150deg, #dcf1f3 0%, #e7e6fa 100%);
  --badge: #8a5a00;
  --art-bg: #e2eef1;
  --footer-bg: #e6eff1;
  color-scheme: light;
}
html[data-theme="light"] .logo img,
html[data-theme="light"] .footer-logo { filter: brightness(0.62) saturate(1.6); }
html[data-theme="light"] .glow { opacity: 0.35; }
html[data-theme="light"] .badge { background: rgba(255, 179, 64, 0.22); }
html[data-theme="light"] .btn-primary:hover { background: var(--accent-bright); box-shadow: 0 10px 30px rgba(10, 127, 136, 0.25); }
html[data-theme="light"] .work-art span { border-color: rgba(10, 40, 48, 0.25); }
html[data-theme="light"] .arc { border-top-color: rgba(10, 60, 72, 0.14); border-right-color: rgba(10, 60, 72, 0.14); }
html[data-theme="light"] .dot { background: #19c6d1; }
html[data-theme="light"] .slider-controls { background: rgba(var(--bg-rgb), 0.82); }
html[data-theme="light"] .help-card { box-shadow: 0 30px 80px rgba(10, 40, 48, 0.14); }
/* keep photos readable: lighter washes over full-bleed images */
html[data-theme="light"] .slide--fiber::after {
  background:
    linear-gradient(90deg, rgba(244, 248, 249, 0.96) 0%, rgba(244, 248, 249, 0.82) 45%, rgba(244, 248, 249, 0.2) 100%),
    linear-gradient(0deg, rgba(244, 248, 249, 0.95) 0%, rgba(244, 248, 249, 0) 35%);
}
html[data-theme="light"] .svc-hero::after {
  background:
    linear-gradient(90deg, rgba(244, 248, 249, 0.97) 0%, rgba(244, 248, 249, 0.84) 45%, rgba(244, 248, 249, 0.2) 100%),
    linear-gradient(0deg, rgba(244, 248, 249, 1) 0%, rgba(244, 248, 249, 0) 40%);
}

/* theme switch: icon-only light bulb (button is injected by theme-toggle.js) */
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; cursor: pointer;
  border-radius: 50%; background: transparent; color: var(--text-soft); border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle:hover { color: var(--accent); border-color: var(--line-strong); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html[data-theme="light"] .theme-toggle { color: #e0a100; }
html[data-theme="light"] .theme-toggle .bulb-glass { fill: #ffd54a; }
html[data-theme="light"] .theme-toggle:hover { color: #c78f00; }
@media (max-width: 980px) {
  .js .nav-links .theme-toggle { margin-top: 10px; }
}

/* simple text pages (legal, 404) */
.page-hero--simple { border-bottom: 0; padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero--simple .page-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.section--tight-top { padding-top: 0; }
.legal-card { max-width: 760px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-card .check-list { margin: 0; }

/* ======================================================================
   Multi-page site (SEO): breadcrumbs, wider footer, extra grids
   ====================================================================== */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.82rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb a[aria-current="page"] { color: var(--text-soft); }

.page-hero .punch { margin-top: 18px; }
.page-hero .display { max-width: 20ch; }

.offer h3 { margin: 0 0 8px; font-size: 1.04rem; font-weight: 600; color: var(--heading); }
.offer-grid--flat { margin-top: 0; padding-top: 0; border-top: 0; }
.offer-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.value-wrap--reverse { grid-template-columns: 0.95fr 1.05fr; }
.value-wrap .accent-text { margin: 0 0 18px; }
.value-wrap .chip-row { margin-top: 22px; }

.section-head > .link-arrow { align-self: flex-end; }
.apply-card { max-width: 820px; }
.apply-card h2 { margin-bottom: 14px; }
.apply-card a { color: var(--accent); border-bottom: 1px solid currentColor; }
.apply-card .lead + .lead { margin-top: 12px; }

.footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-address { margin-top: 14px; font-size: 0.88rem; line-height: 1.7; }
.footer-address a { color: var(--accent); }

@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { font-size: 0.88rem; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .service-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .offer-grid--3 { grid-template-columns: 1fr 1fr; }
  .value-wrap--reverse { grid-template-columns: 1fr; }
  .value-wrap--reverse .value-media { order: 2; }
}
@media (max-width: 640px) {
  .offer-grid--3, .service-grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* FAQ (hire pages) */
.faq-list { max-width: 880px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 0.2s; }
.faq-item[open], .faq-item:hover { border-color: rgba(34, 211, 220, 0.45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--accent); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.faq-item p { padding: 0 22px 20px; color: var(--text-soft); }

/* Team (about page) */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.team-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.team-card--lead { grid-column: 1 / -1; max-width: 900px; }
.team-avatar { width: 160px; height: 160px; border-radius: 14px; object-fit: cover; border: 3px solid rgba(34, 211, 220, 0.45); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.team-card { gap: 32px; }
.team-role { margin-bottom: 10px; }
.team-email { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.92rem; color: var(--accent); }
.team-email svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.team-email:hover { color: var(--accent-bright); text-decoration: underline; }
.team-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--heading); }
.team-role { display: inline-block; margin: 4px 0 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.team-card p { color: var(--text-soft); }
.team-card p + p { margin-top: 12px; }
.team-card .chip-row { margin-top: 18px; }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .team-avatar { width: 128px; height: 128px; }
}
