/* =====================================================
   DC RENOVATIONS — Stylesheet
   ===================================================== */

:root {
  --bg: #0B1628;
  --bg-2: #102036;
  --surface: #152A47;
  --surface-2: #1B3559;
  --line: rgba(165, 178, 186, 0.12);
  --line-2: rgba(165, 178, 186, 0.22);
  --text: #F4F6F8;
  --muted: #A5B2BA;
  --muted-2: #6F8291;
  --accent: #FFC807;
  --accent-2: #FFD54A;
  --accent-ink: #102036;
  --blue: #2E6E94;        /* darkened from the logo blue so white body text clears WCAG AA */
  --blue-2: #4A9AC8;
  --steel: #A5B2BA;
  --sky-1: #7FB3D5;
  --sky-2: #E3F1F8;

  --font-display: 'Syne', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brand: 'Cinzel', 'Times New Roman', serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.about .h2, .contact .h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.h2 em, .hero__title em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.2rem); max-width: 56ch; font-weight: 400; }
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 22px;
}
.overline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 200, 7, 0.18); }

.section__head {
  display: grid; gap: 28px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1.3fr 1fr; gap: 60px; }
  .section__head .lead { justify-self: end; margin-bottom: 8px; }
}
.section__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section__head--center .h2 { max-width: 20ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 200, 7, 0.55); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 200, 7, 0.65); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--dark { background: var(--accent-ink); color: var(--text); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--sm { padding: 12px 20px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.link-arrow { color: var(--muted); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; transition: color 0.3s; }
.link-arrow i { font-style: normal; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg); display: grid; place-items: center;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__logo { display: flex; align-items: center; justify-content: center; }
.preloader__logo img { width: clamp(140px, 22vw, 220px); height: auto; }
.preloader__count { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; line-height: 1; color: var(--text); letter-spacing: -0.04em; }
.preloader__bar { width: 200px; height: 2px; background: var(--line-2); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 8px; height: 8px; background: var(--accent); mix-blend-mode: difference; }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(255, 200, 7, 0.6); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(255, 200, 7, 0.12); border-color: rgba(255, 200, 7, 0.9); }
@media (pointer: coarse), (max-width: 900px) { .cursor, .cursor-ring { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: 18px 0;
  transition: transform 0.5s var(--ease), padding 0.4s, background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { padding: 10px 0; background: rgba(11, 22, 40, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-brand); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; line-height: 1; }
.logo img { width: 44px; height: auto; display: block; }
.logo small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.28em; color: var(--text); text-transform: uppercase; margin-bottom: 4px; }
.logo em { font-style: normal; color: var(--accent); }
@media (max-width: 480px) { .logo { font-size: 0.88rem; gap: 9px; } .logo img { width: 36px; } }
.nav__links { display: none; gap: 34px; }
.nav__links a { font-weight: 600; font-size: 0.92rem; color: var(--muted); position: relative; transition: color 0.3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; color: var(--text); }
.nav__phone svg { color: var(--accent); }
.nav .btn--primary { display: none; }
@media (min-width: 1024px) { .nav__links { display: flex; } .nav__phone { display: inline-flex; } .nav .btn--primary { display: inline-flex; } .burger { display: none; } }

.burger { width: 44px; height: 44px; display: grid; place-items: center; gap: 0; position: relative; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.burger span { position: absolute; width: 18px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger.is-open span:first-child { transform: rotate(45deg); }
.burger.is-open span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 96px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 42px) 40px);
  transition: clip-path 0.8s var(--ease-2);
  pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 42px) 40px); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.85rem, 7.4vw, 3.2rem); letter-spacing: -0.03em; padding: 4px 0; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.25s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.3s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.35s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.4s; }
.menu__links a:hover { color: var(--accent); }
.menu__foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--muted); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 36px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Canvas covers the fallback <img> once the first frame of the flight decodes. */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; }
.hero__canvas.is-ready { opacity: 1; }
.logo--stacked img { width: 200px; }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 22, 40, 0.55) 0%, rgba(11, 22, 40, 0.25) 35%, rgba(11, 22, 40, 0.75) 75%, var(--bg) 100%),
  linear-gradient(90deg, rgba(11, 22, 40, 0.6) 0%, rgba(11, 22, 40, 0) 60%); }
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(24px, 4vw, 44px); }
.hero__overline { color: rgba(244, 241, 236, 0.85); }
.hero__title {
  font-size: clamp(2.15rem, 6.4vw, 5.4rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  max-width: 1100px; margin-bottom: 28px;
}
.hero__title .line { display: block; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.hero__sub { color: rgba(244, 241, 236, 0.8); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 52ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--line-2);
}
@media (min-width: 760px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat strong small { font-size: 0.55em; color: var(--accent); margin-left: 2px; vertical-align: 0.25em; }
.stat > span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; z-index: 1; display: none; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.hero__scroll i { width: 1px; height: 48px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateY(-100%); animation: scrollLine 1.8s var(--ease-2) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@media (min-width: 1100px) { .hero__scroll { display: flex; } }
[data-hero] { opacity: 0; transform: translateY(24px); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg); position: relative; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--accent); font-size: 0.9rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Build (pinned scroll animation) ---------- */
.build { position: relative; padding-top: clamp(80px, 12vw, 160px); background: radial-gradient(60% 40% at 50% 0%, rgba(54, 130, 174, 0.18), transparent 70%); }
.build__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.build__head .h2 { max-width: 22ch; }
.build__head .lead { margin-top: 20px; }
.build__pin { min-height: 100vh; display: flex; align-items: center; }
.build__grid { display: grid; gap: 28px; align-items: center; width: min(100% - var(--gutter) * 2, var(--container)); }
@media (min-width: 960px) { .build__grid { grid-template-columns: 0.85fr 1.35fr; gap: 56px; } }

.build__captions { position: relative; padding-left: 28px; order: 2; }
@media (min-width: 960px) { .build__captions { order: 0; } }
.build__progress { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.build__progress span { display: block; width: 100%; height: 0%; background: var(--accent); }
.build__stages { position: relative; min-height: 220px; }
@media (min-width: 960px) { .build__stages { min-height: 300px; } }
.stage { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.stage.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage__num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--accent); letter-spacing: -0.04em; margin-bottom: 14px; }
.stage h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.stage p { color: var(--muted); font-size: clamp(0.98rem, 1.15vw, 1.1rem); max-width: 42ch; }
.build__dots { display: flex; gap: 8px; margin-top: 24px; }
.build__dots span { width: 26px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background 0.3s, width 0.4s var(--ease); }
.build__dots span.is-active { background: var(--accent); width: 40px; }

.build__stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
  aspect-ratio: 900 / 560;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.build__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.build__stars { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.build__stars i { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.service:hover { transform: translateY(-6px); border-color: rgba(255, 200, 7, 0.35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.service__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(22, 22, 26, 0.9)); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.6s; filter: saturate(0.85); }
.service:hover .service__img img { transform: scale(1.06); filter: saturate(1); }
.service__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.service__num { font-family: var(--font-display); font-weight: 800; color: var(--blue-2); font-size: 0.85rem; letter-spacing: 0.1em; }
.service h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.service p { color: var(--muted); font-size: 0.96rem; }
.service__link { margin-top: 8px; font-weight: 700; font-size: 0.9rem; color: var(--text); display: inline-flex; gap: 6px; }
.service__link i { font-style: normal; color: var(--accent); transition: transform 0.3s var(--ease); }
.service:hover .service__link i { transform: translateX(5px); }

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1fr 1.05fr; gap: 90px; } }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.about__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about__badge {
  position: absolute; right: -10px; bottom: 34px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 20px 50px -20px rgba(255, 200, 7, 0.6);
}
@media (min-width: 960px) { .about__badge { right: -40px; } }
.about__badge strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.about__badge > span { font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.about__content .lead { margin-bottom: 32px; }
.checks { display: grid; gap: 18px; margin-bottom: 36px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 200, 7, 0.14); border: 1px solid rgba(255, 200, 7, 0.5); position: relative; margin-top: 2px; }
.checks li i::after { content: ''; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks strong { display: block; font-weight: 700; font-size: 1.02rem; }
.checks span { color: var(--muted); font-size: 0.92rem; }
.about__cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.process__steps { display: grid; gap: 34px; position: relative; padding-top: 34px; }
@media (min-width: 900px) { .process__steps { grid-template-columns: repeat(5, 1fr); gap: 28px; } }
.process__line { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.process__line span { display: block; height: 100%; width: 0; background: var(--accent); }
.step { position: relative; padding-top: 10px; }
.step::before { content: ''; position: absolute; top: -40px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; color: var(--blue-2); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Projects (horizontal) ---------- */
.projects { background: var(--bg-2); overflow: hidden; }
.projects__pin { padding-block: clamp(60px, 8vw, 90px); display: flex; flex-direction: column; gap: 36px; min-height: 100vh; justify-content: center; }
.projects__head { display: flex; flex-wrap: wrap; align-items: end; gap: 20px 40px; }
.projects__head .overline { width: 100%; margin-bottom: 0; }
.projects__hint { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 8px; align-items: center; }
.projects__hint i { font-style: normal; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.projects__track { display: flex; gap: 22px; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: var(--gutter); width: max-content; will-change: transform; }
@media (max-width: 899px) {
  .projects__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; scrollbar-width: none; }
  .projects__track::-webkit-scrollbar { display: none; }
  .project { scroll-snap-align: start; }
}
.project {
  position: relative; flex: none; width: min(78vw, 440px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
}
.project--tall { aspect-ratio: 3 / 4; width: min(78vw, 400px); }
@media (min-width: 900px) {
  .project { height: min(56vh, 540px); width: auto; }
  .project--cta { width: min(56vh, 540px); }
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project:hover img { transform: scale(1.05); }
.project::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 22, 40, 0.85)); }
.project__info { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.project__info span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; }
.project__info h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.project--cta { background: var(--blue); color: #fff; display: grid; place-items: center; text-align: center; padding: 30px; }
.project--cta::after { display: none; }
.project--cta h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }
.testi__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .testi__grid { grid-template-columns: repeat(3, 1fr); } }
.testi { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform 0.5s var(--ease), border-color 0.3s; }
.testi:hover { transform: translateY(-6px); border-color: var(--line-2); }
.testi--accent { background: var(--blue); color: #fff; border-color: transparent; }
.testi__stars { color: var(--accent); letter-spacing: 3px; font-size: 1rem; }
.testi--accent .testi__stars { color: #FFEFB8; } /* pale gold: gold-on-blue would miss AA */
.testi blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; font-weight: 500; }
.testi figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.testi figcaption strong { font-family: var(--font-display); font-weight: 700; }
.testi figcaption span { font-size: 0.85rem; color: var(--muted); }
.testi--accent figcaption span { color: rgba(255, 255, 255, 0.88); }
.trust { margin-top: 60px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 22px; color: var(--muted); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 130, 174, 0.28), transparent 65%); top: -250px; right: -200px; pointer-events: none; }
.contact__grid { display: grid; gap: 50px; align-items: start; position: relative; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 90px; } }
.contact__info .lead { margin-bottom: 36px; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { color: var(--accent); flex: none; margin-top: 3px; }
.contact__list span { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact__list a, .contact__list p { font-weight: 600; font-size: 1.02rem; }
.contact__list a:hover { color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; position: relative; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--radius-sm); padding: 14px 16px; font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A19E97' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: var(--surface); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 200, 7, 0.12); }
.field.is-error input, .field.is-error select { border-color: #E5533D; }
.form__note { text-align: center; color: var(--muted-2); font-size: 0.82rem; }
.form__success { position: absolute; inset: 0; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity 0.5s; color: var(--accent); }
.form__success h3 { color: var(--text); font-size: 1.6rem; }
.form__success p { color: var(--muted); }
.form.is-sent .form__success { opacity: 1; pointer-events: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 50px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; } }
.footer__brand p { color: var(--muted); max-width: 38ch; margin: 20px 0 24px; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: all 0.3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h2, .footer__col h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; font-weight: 700; }
.footer__col a, .footer__col p { color: var(--muted); font-size: 0.95rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.85rem; }
.footer__bottom a:hover { color: var(--text); }
.footer__big { font-family: var(--font-brand); font-weight: 800; font-size: clamp(2.6rem, 9.4vw, 10.5rem); letter-spacing: -0.05em; line-height: 0.8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); user-select: none; padding-top: 20px; transform: translateY(18%); white-space: nowrap; }

.totop { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: opacity 0.4s, transform 0.4s var(--ease); box-shadow: 0 10px 30px -10px rgba(255, 200, 7, 0.6); }
.totop.is-visible { opacity: 1; transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); will-change: transform, opacity; }
.no-js [data-reveal], .no-js [data-hero], .no-js .hero__title .word > span,
html.no-anim [data-reveal], html.no-anim [data-hero], html.no-anim .hero__title .word > span,
html.no-anim .page-hero__title, html.no-anim .page-hero__sub,
html.no-anim .page-hero__meta, html.no-anim .page-hero__cta { opacity: 1 !important; transform: none !important; }
html.no-anim .hero__canvas { display: none; }
html.no-anim body { overflow: auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed; left: 12px; top: 0; z-index: 2000;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; border-radius: 0 0 12px 12px;
  font-weight: 700; font-size: 0.9rem;
  transform: translateY(-130%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); }

/* Visible keyboard focus everywhere, without a ring on mouse clicks */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .burger:focus-visible, .totop:focus-visible,
.socials a:focus-visible, .lightbox__close:focus-visible { outline-offset: 4px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.footer__h { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; font-weight: 700; font-family: var(--font-display); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
