/* ══════════════════════════════════════════════════════════════
   THEME VARIABLES
══════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
  --bg:           #080808;
  --bg-alt:       #0D0D0D;
  --bg-card:      #131313;
  --bg-hover:     #181818;
  --text:         #EDEAE5;
  --text-muted:   #7A7772;
  --text-dim:     #3D3A36;
  --border:       rgba(255,255,255,0.07);
  --border-mid:   rgba(255,255,255,0.11);
  --orange:       #FF6B2B;
  --orange-dim:   rgba(255,107,43,0.10);
  --orange-glow:  0 0 32px rgba(255,107,43,0.22);
  --grid-line:    rgba(255,107,43,0.04);
  --nav-bg:       rgba(8,8,8,0.88);
  --success:      #22c55e;
  --error:        #f87171;
  --radius:       10px;
  --font-head:    'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg:           #F5F2EE;
  --bg-alt:       #FFFDF9;
  --bg-card:      #FFFFFF;
  --bg-hover:     #F0EDE9;
  --text:         #1A1A18;
  --text-muted:   #6B6864;
  --text-dim:     #B8B5B0;
  --border:       rgba(0,0,0,0.08);
  --border-mid:   rgba(0,0,0,0.13);
  --orange:       #E8591A;
  --orange-dim:   rgba(232,89,26,0.08);
  --orange-glow:  0 0 32px rgba(232,89,26,0.16);
  --grid-line:    rgba(0,0,0,0.05);
  --nav-bg:       rgba(245,242,238,0.92);
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Color-only transitions so theme switching is smooth */
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

/* Interactive elements add motion transitions on top */
a, button {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
              fill 0.2s ease, stroke 0.2s ease, transform 0.18s ease, box-shadow 0.22s ease, opacity 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
/* Logo glyph — simplified diamond + center dot for small sizes */
.eyebrow::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--orange);
  flex-shrink: 0;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3L21 12L12 21L3 12Z' fill='none' stroke='black' stroke-width='2.4'/><circle cx='12' cy='12' r='2.6' fill='black'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3L21 12L12 21L3 12Z' fill='none' stroke='black' stroke-width='2.4'/><circle cx='12' cy='12' r='2.6' fill='black'/></svg>");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

/* Full logo mark divider sitting on each section's top border */
#services,
#methodology,
#work,
#team,
#contact { position: relative; }

#services::before,
#methodology::before,
#work::before,
#team::before,
#contact::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--orange);
  transform: translateX(-50%);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><path d='M8 14L14 8L20 14L14 20L8 14Z' fill='none' stroke='black' stroke-width='1.8'/><circle cx='14' cy='14' r='2.4' fill='black'/><line x1='8' y1='14' x2='4' y2='14' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='20' y1='14' x2='24' y2='14' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='14' y1='8' x2='14' y2='4' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='14' y1='20' x2='14' y2='24' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><path d='M8 14L14 8L20 14L14 20L8 14Z' fill='none' stroke='black' stroke-width='1.8'/><circle cx='14' cy='14' r='2.4' fill='black'/><line x1='8' y1='14' x2='4' y2='14' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='20' y1='14' x2='24' y2='14' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='14' y1='8' x2='14' y2='4' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/><line x1='14' y1='20' x2='14' y2='24' stroke='black' stroke-width='1.8' stroke-linecap='round' opacity='0.55'/></svg>");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  z-index: 2;
  /* Hidden by default — JS adds .section-activated when scrolled into view */
  opacity: 0;
  transform: translateX(-50%) scale(0.4) rotate(-30deg);
}

/* Entrance pulse — diamond fades in, overshoots, settles */
#services.section-activated::before,
#methodology.section-activated::before,
#work.section-activated::before,
#team.section-activated::before,
#contact.section-activated::before {
  animation: section-diamond-pulse 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Sonar ping ring expanding outward from the diamond */
#services.section-activated::after,
#methodology.section-activated::after,
#work.section-activated::after,
#team.section-activated::after,
#contact.section-activated::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: section-diamond-ping 1.2s ease-out forwards;
}

@keyframes section-diamond-pulse {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.4) rotate(-30deg); filter: drop-shadow(0 0 0 transparent); }
  50%  { opacity: 1; transform: translateX(-50%) scale(1.35) rotate(10deg);  filter: drop-shadow(0 0 10px var(--orange)); }
  80%  { opacity: 1; transform: translateX(-50%) scale(0.95) rotate(0deg);   filter: drop-shadow(0 0 4px var(--orange)); }
  100% { opacity: 1; transform: translateX(-50%) scale(1) rotate(0deg);      filter: drop-shadow(0 0 0 transparent); }
}

@keyframes section-diamond-ping {
  0%   { opacity: 0.55; transform: scale(0.5); }
  100% { opacity: 0;    transform: scale(4); }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  #services::before,
  #methodology::before,
  #work::before,
  #team::before,
  #contact::before {
    opacity: 1;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  #services.section-activated::before,
  #methodology.section-activated::before,
  #work.section-activated::before,
  #team.section-activated::before,
  #contact.section-activated::before { animation: none; }
  #services.section-activated::after,
  #methodology.section-activated::after,
  #work.section-activated::after,
  #team.section-activated::after,
  #contact.section-activated::after { display: none; }
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 440px;
  margin-top: 14px;
  line-height: 1.75;
}

/* Fade-in scroll animations */
.fi {
  opacity: 0;
  transform: translateY(22px);
  /* Include both animation AND color transitions */
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease,
              opacity 0.55s ease, transform 0.55s ease;
}
.fi.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 58px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s;
}
#navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme toggle */
#theme-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
#theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}
#theme-toggle .t-sun,
#theme-toggle .t-moon {
  position: absolute;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.38s ease !important;
}
/* Dark mode default: show sun icon (click to go light) */
#theme-toggle .t-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
#theme-toggle .t-moon { opacity: 0; transform: rotate(-80deg) scale(0.6); }
/* Light mode: show moon icon */
[data-theme="light"] #theme-toggle .t-sun  { opacity: 0; transform: rotate(80deg) scale(0.6); }
[data-theme="light"] #theme-toggle .t-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--orange);
  color: #fff !important;
  border: none;
  border-radius: 7px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.nav-cta:hover {
  background: #ff7c42;
  box-shadow: var(--orange-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease, background-color 0.3s ease !important;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 58px; left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px 28px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .nav-cta { margin-top: 14px; text-align: center; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 58px;
  overflow: hidden;
}

/* ── Particle canvas ── */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Hero logo watermark ── */
.hero-watermark {
  position: absolute;
  bottom: -160px;
  right: -160px;
  width: 560px;
  height: 560px;
  color: var(--orange);
  opacity: 0.045;
  z-index: 0;
  pointer-events: none;
}
.hero-watermark svg {
  width: 100%;
  height: 100%;
}
[data-theme="light"] .hero-watermark { opacity: 0.08; }

@media (max-width: 700px) {
  .hero-watermark {
    width: 340px;
    height: 340px;
    bottom: -90px;
    right: -90px;
    opacity: 0.06;
  }
}

/* stronger grid lines in light mode */
[data-theme="light"] #hero {
  --grid-line: rgba(255, 107, 43, 0.08);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 72% 58% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 72% 58% at 50% 50%, #000 20%, transparent 100%);
  opacity: 0.7;
  transition: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 60px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
  flex-shrink: 0;
  transition: background-color 0.3s ease !important;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--text);
  max-width: 960px;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--orange); }

/* Asymmetric staggered hero title */
.hero-title-asym {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.6rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--text);
  max-width: none;
  margin: 12px 0 48px;
  gap: 0.02em;
}
.hero-title-asym .ht-line { display: block; }
.hero-title-asym .ht-l1 { margin-left: 0; }
.hero-title-asym .ht-l2 { margin-left: 14%; }
.hero-title-asym .ht-l3 { margin-left: 30%; }
.hero-title-asym .accent { color: var(--orange); }

.hero-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.018em;
  max-width: 600px;
  margin: 0 0 38px;
  padding-left: 22px;
  border-left: 2px solid var(--orange);
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-primary:hover {
  background: #ff7c42;
  box-shadow: var(--orange-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Stats row */
.hero-stats {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.stat-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.045em;
}
.stat-val.g { color: var(--success); }
.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-head);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
#services {
  padding: 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}

/* Scroll-hijack horizontal services
   Outer is tall (drives scroll distance). Pin sticks to viewport while
   inner track translates horizontally based on scroll progress. */
.svc-outer {
  position: relative;
  height: 380vh;       /* desktop: ~3.8 viewports of scroll to traverse cards */
}

.svc-pin {
  position: sticky;
  top: 58px;           /* below the fixed navbar */
  height: calc(100vh - 58px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.svc-head .split-head { margin-bottom: 0; }
.svc-foot              { margin-top: 0; }

.svc-track-wrap {
  overflow: hidden;
  width: 100%;
  /* mask is set dynamically by JS to fade the active edge only */
}

.svc-track {
  display: flex;
  gap: 18px;
  padding: 6px 0 24px 28px;
  will-change: transform;
}

.svc-card {
  flex: 0 0 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  position: relative;
  cursor: default;
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease !important;
}
.svc-card:hover {
  border-color: rgba(255,107,43,0.30);
  transform: translateY(-3px);
}
.svc-card:hover .svc-num   { color: var(--orange); }
.svc-card:hover .svc-name  { color: var(--text); }

/* Active card — the one currently in the viewport "focus" during the hijack */
.svc-card.active {
  border-color: rgba(255,107,43,0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,107,43,0.20);
  transform: translateY(-3px);
}
.svc-card.active .svc-num  { color: var(--orange); }
.svc-card.active .svc-name { color: var(--text); }

.svc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.svc-num {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.18em;
}

.svc-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.svc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

/* Live progress indicator — title + counter above the dots */
.svc-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.svc-progress-info {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.svc-current-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.015em;
  transition: color 0.25s ease;
}
.svc-current-counter {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.18em;
}
.svc-current-counter #svc-current-num { color: var(--orange); }
.svc-current-counter .sep { opacity: 0.5; padding: 0 2px; }

/* Progress dots (clickable jump-links) */
.svc-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.svc-pagination .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-mid);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, width 0.3s ease !important;
}
.svc-pagination .dot:hover { border-color: var(--orange); }
.svc-pagination .dot.active {
  background: var(--orange);
  border-color: var(--orange);
  width: 22px;
  border-radius: 4px;
}

/* Mobile: drop the hijack, use native horizontal swipe-scroll */
@media (max-width: 700px) {
  .svc-outer { height: auto; }
  .svc-pin {
    position: relative;
    top: 0;
    height: auto;
    overflow: visible;
    padding: 80px 0;
  }
  .svc-track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 28px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .svc-track-wrap::-webkit-scrollbar { display: none; }
  .svc-track {
    transform: none !important;   /* override JS-applied translate */
    padding: 6px 32px 16px 28px;
  }
  .svc-card {
    flex: 0 0 86%;
    min-height: 280px;
    scroll-snap-align: start;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.tag::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--orange);
  transform: rotate(45deg);
  opacity: 0.75;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════
   METHODOLOGY — vertical scroll-hijack pattern (desktop)
══════════════════════════════════════════════════════════════ */
#methodology {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.method-outer {
  position: relative;
  height: 360vh;     /* desktop scroll distance to traverse steps */
}

.method-pin {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 60px 0 40px;
  gap: 28px;
}

.method-head { flex-shrink: 0; }
.method-head .split-head { margin-bottom: 0; }

.method-stage {
  flex: 1;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.method-list {
  position: relative;
  padding-left: 40px;
  will-change: transform;
}

/* Vertical spine connecting all steps — center-aligned with the node diamonds */
.method-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border-mid) 8%,
    var(--border-mid) 92%,
    transparent
  );
}

.method-step {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 40px;
  padding: 38px 0;
  position: relative;
  border-top: 1px dashed var(--border);
}
.method-step:first-child { border-top: none; }

/* Node on the spine */
.method-step::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--bg);
  border: 1.5px solid var(--orange);
  transition: background 0.35s ease, transform 0.35s ease;
}
.method-step:hover::before {
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg) scale(1.25);
}

.method-num {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  transition: color 0.4s ease, -webkit-text-stroke-width 0.4s ease;
  display: block;
}
.method-step:hover .method-num,
.method-step.active .method-num {
  color: var(--orange);
  -webkit-text-stroke-width: 0;
}
.method-step.active::before {
  background: var(--orange);
  transform: translateY(-50%) rotate(45deg) scale(1.3);
}
/* Non-active steps dim slightly so the active one reads as the focus.
   Scoped under #methodology so the ID beats .fi.in (.fi.in has 2 classes
   and would otherwise force opacity:1 once each step enters the viewport). */
#methodology .method-step {
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.55s ease;
}
#methodology .method-step.active { opacity: 1; }

.method-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.method-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 560px;
}

/* Mobile: drop the hijack, show methodology in natural flow */
@media (max-width: 700px) {
  .method-outer { height: auto; }
  .method-pin {
    position: relative;
    top: 0;
    height: auto;
    overflow: visible;
    padding: 80px 0;
    gap: 24px;
  }
  .method-stage {
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .method-list {
    transform: none !important;
    padding-left: 32px;
  }
  .method-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
    opacity: 1;  /* don't dim on mobile — all steps equally visible */
  }
  .method-step::before { left: -32px; }
  .method-num { font-size: 3.2rem; }
  .method-name { font-size: 1.2rem; }
}

/* ══════════════════════════════════════════════════════════════
   WORK
══════════════════════════════════════════════════════════════ */
#work {
  padding: 112px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Featured case */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
}
.case-card:hover {
  border-color: rgba(255,107,43,0.22);
  box-shadow: 0 0 64px rgba(255,107,43,0.04);
}
.case-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.case-visual {
  position: relative;
  min-height: 360px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,43,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,43,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  transition: none;
}
.case-vis-icon {
  position: relative;
  z-index: 1;
  width: 68px; height: 68px;
  border-radius: 15px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,43,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.case-cat {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.case-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.case-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,43,0.18);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  font-family: var(--font-head);
}
.case-status::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
  transition: background-color 0.3s ease !important;
}

.case-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 15px;
}
.case-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.78;
  margin-bottom: 26px;
  flex: 1;
}
.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  font-size: 0.7rem;
  padding: 4px 11px;
  border-radius: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 500;
}
.pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}

/* Coming soon cards */
.coming-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.coming-card {
  background: var(--bg-card);
  border: 1px dashed var(--border-mid);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 152px;
}
.coming-card:hover { border-color: rgba(255,107,43,0.22); }
.coming-ico {
  width: 24px; height: 24px;
  border: 1px dashed rgba(255,107,43,0.28);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.coming-lbl {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.coming-ttl {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════════════════ */
#team {
  padding: 112px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card:hover {
  border-color: rgba(255,107,43,0.18);
  transform: translateY(-3px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.22);
}

/* Geometric monogram */
.monogram {
  width: 80px; height: 80px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.monogram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange-dim);
  opacity: 0;
  transition: opacity 0.3s ease !important;
}
.monogram::after {
  content: '';
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
  opacity: 0.35;
  transition: opacity 0.3s ease, width 0.3s ease !important;
}
.team-card:hover .monogram { border-color: rgba(255,107,43,0.32); }
.team-card:hover .monogram::before { opacity: 1; }
.team-card:hover .monogram::after { opacity: 0.85; width: 28px; }

.monogram-letter {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  letter-spacing: -0.04em;
  line-height: 1;
}
.team-card:hover .monogram-letter { color: var(--orange); }

.team-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.team-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.45;
}
.team-links {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
}
.social-btn:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
#contact {
  padding: 112px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Asymmetric staggered contact title — same pattern as hero, smaller scale */
.contact-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--text);
  margin: 0 0 36px;
  gap: 0.02em;
}
.contact-title .ht-line { display: block; }
.contact-title .ht-l1 { margin-left: 0; }
.contact-title .ht-l2 { margin-left: 12%; }
.contact-title .ht-l3 { margin-left: 26%; }
.contact-title .accent { color: var(--orange); }

/* Quote — same family as hero-quote */
.contact-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 640px;
  margin: 0 0 56px;
  padding-left: 20px;
  border-left: 2px solid var(--orange);
}

/* Trust strip — timeline of response timings */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 0 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
  margin-bottom: 10px;
}
.trust-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.trust-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}

/* Stripped contact info — typographic, no icon boxes */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.info-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  word-break: break-word;
}
a.info-value:hover { color: var(--orange); }

/* Form panel — lighter (no bg-card fill, just the border) */
.form-wrap {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}

/* Floating label pattern */
.form-field {
  position: relative;
  margin-bottom: 18px;
}

.form-input,
.form-ta {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 16px 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease !important;
}
.form-ta {
  resize: vertical;
  min-height: 130px;
  padding-top: 22px;
}
.form-input:focus,
.form-ta:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}

.form-lbl {
  position: absolute;
  left: 16px; top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 500;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease !important;
}
/* Float label up when input is focused or has content */
.form-input:focus ~ .form-lbl,
.form-input:not(:placeholder-shown) ~ .form-lbl,
.form-ta:focus ~ .form-lbl,
.form-ta:not(:placeholder-shown) ~ .form-lbl {
  top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
}

.form-err {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 5px;
  display: none;
  padding-left: 2px;
}
.form-field.bad .form-input,
.form-field.bad .form-ta { border-color: var(--error); }
.form-field.bad .form-err { display: block; }

.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.form-submit:hover {
  background: #ff7c42;
  box-shadow: var(--orange-glow);
  transform: translateY(-1px);
}
.form-submit:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.net-err {
  display: none;
  background: rgba(248,113,113,0.07);
  border: 1px solid rgba(248,113,113,0.22);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--error);
  margin-top: 12px;
  text-align: center;
}
.net-err.show { display: block; }

.form-ok {
  display: none;
  text-align: center;
  padding: 28px 16px;
}
.form-ok.show { display: block; }
.ok-icon {
  width: 52px; height: 52px;
  background: rgba(34,197,94,0.09);
  border: 1px solid rgba(34,197,94,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--success);
}
.form-ok h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.form-ok p { color: var(--text-muted); font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

/* Faded diamond logo watermark bleeding off the bottom-right corner */
.footer-watermark {
  position: absolute;
  bottom: -110px;
  right: -110px;
  width: 360px;
  height: 360px;
  color: var(--orange);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.footer-watermark svg { width: 100%; height: 100%; }
[data-theme="light"] .footer-watermark { opacity: 0.07; }

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 10px;
  max-width: 240px;
  line-height: 1.55;
}

/* Quick-contact column */
.footer-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-quick .footer-label,
.footer-nav-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.footer-quick a,
.footer-quick span.line {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.55;
  transition: color 0.2s ease;
}
.footer-quick a:hover { color: var(--orange); }
.footer-quick .resp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-quick .resp::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse 2.4s infinite;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--orange); }

.footer-btm {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }
.footer-bld  { font-size: 0.72rem; color: var(--text-dim); opacity: 0.55; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .split-head { grid-template-columns: 1fr; }


  .case-inner { grid-template-columns: 1fr; }
  .case-visual { min-height: 210px; }
  .case-body { padding: 28px 32px; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .trust-strip { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; margin-bottom: 56px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.6rem, 10vw, 3.4rem); }
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .coming-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-btm { flex-direction: column; text-align: center; align-items: center; }
  .form-wrap { padding: 24px 18px; }
  .contact-grid { gap: 36px; }

  /* Hero — asymmetric title stacks flush-left on mobile */
  .hero-title-asym { font-size: clamp(2.8rem, 12vw, 4.2rem); margin-bottom: 32px; }
  .hero-title-asym .ht-l1,
  .hero-title-asym .ht-l2,
  .hero-title-asym .ht-l3 { margin-left: 0; }
  .hero-quote { font-size: 1.15rem; max-width: none; padding-left: 16px; }

  /* Contact — flatten the staggered title and tighten the quote, same as hero */
  .contact-title { font-size: clamp(2.4rem, 11vw, 3.8rem); margin-bottom: 28px; }
  .contact-title .ht-l1,
  .contact-title .ht-l2,
  .contact-title .ht-l3 { margin-left: 0; }
  .contact-quote { font-size: 1.05rem; max-width: none; padding-left: 16px; margin-bottom: 40px; }

  /* Footer watermark — scale down to not dominate the small viewport */
  .footer-watermark {
    width: 240px;
    height: 240px;
    bottom: -70px;
    right: -70px;
  }
}

/* Narrow-phone container padding — frees ~16px of horizontal room */
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}
