/* ==========================================================================
   Escarpment Sites — styles.css
   Palette: "Sandstone" — warm stone-black + sunrise gold + terracotta
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0E0C0A;
  --bg-2: #131110;
  --surface: #1A1714;
  --surface-2: #24201B;
  --surface-3: #2F2A23;
  --line: rgba(214, 196, 170, 0.14);
  --line-strong: rgba(214, 196, 170, 0.3);

  --text: #F6F1EA;
  --text-2: #D6CCBE;
  --muted: #A89D8E;

  --accent: #F2B544;
  --accent-2: #E0673A;
  --accent-soft: rgba(242, 181, 68, 0.14);
  --on-accent: #1A1206;
  --glow: rgba(242, 181, 68, 0.5);
  --gradient: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);

  --head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.35s;
  --dur: 0.7s;
  --dur-slow: 1.2s;

  --radius: 22px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(88px, 11vw, 160px);

  --nav-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--accent); color: var(--on-accent);
  border-radius: var(--radius-pill); font-weight: 600;
  transform: translateY(-200%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--wide { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }

/* Text utilities */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-title { font-size: clamp(34px, 5vw, 60px); margin-top: 18px; text-wrap: balance; }
.section-lede { margin-top: 18px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 58ch; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reveal defaults (JS turns these on; without JS everything is visible) */
html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 0; }
html.js.reveal-all [data-reveal], html.js.reveal-all [data-reveal-group] > * { opacity: 1; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 40px -12px var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -14px var(--glow); background: #F7C566; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(26, 23, 20, 0.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn svg.btn__lead, .btn:hover svg.btn__lead { transform: none; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
/* very small phones: long labels may wrap rather than push the page sideways */
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }

/* ---------- 4. Hero intro gate ----------
   No preloader (it cost ~2s of Largest Contentful Paint). The hero is held for
   the JS intro only; if the scripts never run, CSS shows it anyway. */
html.js:not(.hero-ready) .hero__copy, html.js:not(.hero-ready) .hero__visual { opacity: 0; animation: hero-failsafe 0.6s ease 2s forwards; }
@keyframes hero-failsafe { to { opacity: 1; } }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500; height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 12, 10, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand__mark { height: 32px; width: auto; aspect-ratio: 1; flex: none; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 0; transition: color var(--dur-fast) ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 450; background: var(--bg);
  display: grid; align-content: start; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
  visibility: hidden; /* closed: out of the tab order too, once the wipe has finished */
}
/* while the menu is open the header stays on top but loses its glass strip so nothing sits "in the way" */
.menu-open .nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
@media (max-height: 720px) {
  .mobile-menu { padding-top: calc(var(--nav-h) + 12px); }
  .mobile-menu a.mobile-menu__link { font-size: clamp(26px, 6.5vw, 34px); padding: 3px 0; line-height: 1.2; }
  .mobile-menu__foot { margin-top: 18px; gap: 4px; }
  .mobile-menu__foot .btn { margin-top: 8px; min-height: 48px; }
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.9s var(--ease-in-out), visibility 0s; }
.mobile-menu a.mobile-menu__link { display: block; font-family: var(--head); font-size: clamp(36px, 9vw, 56px); font-weight: 600; letter-spacing: -0.02em; padding: 8px 0; color: var(--text); }
.mobile-menu__foot { margin-top: 32px; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.mobile-menu__foot a:not(.btn) { display: inline-block; padding: 10px 0; margin: -6px 0; color: var(--text-2); transition: color var(--dur-fast) ease; }

/* Menu links light up in the brand gradient: a left-to-right sweep, a soft glow and a sliding arrow.
   `translate` (not `transform`) so it doesn't fight GSAP's inline transform on the open animation. */
.mobile-menu a.mobile-menu__link { display: flex; align-items: center; gap: 20px; }
.mobile-menu__link span {
  background: var(--gradient) left / 0% 100% no-repeat, linear-gradient(var(--text), var(--text));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-size 0.6s var(--ease-out), translate 0.6s var(--ease-out), filter 0.6s ease;
}
.mobile-menu__link::after {
  content: ""; flex: none; width: 28px; height: 28px; background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; translate: -14px 0; transition: opacity 0.4s ease, translate 0.6s var(--ease-out);
}
.mobile-menu__link:focus-visible span, .mobile-menu__link:active span { background-size: 100% 100%, 100% 100%; translate: 10px 0; filter: drop-shadow(0 0 18px rgba(242, 181, 68, 0.45)); }
.mobile-menu__link:focus-visible::after, .mobile-menu__link:active::after { opacity: 1; translate: 10px 0; }
.nav__toggle { transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.nav__toggle span { transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast), background-color var(--dur-fast) ease; }
@media (hover: hover) {
  .mobile-menu__link:hover span { background-size: 100% 100%, 100% 100%; translate: 10px 0; filter: drop-shadow(0 0 18px rgba(242, 181, 68, 0.45)); }
  .mobile-menu__link:hover::after { opacity: 1; translate: 10px 0; }
  .mobile-menu__foot a:not(.btn):hover { color: var(--accent); }
  .nav__toggle:hover { border-color: rgba(242, 181, 68, 0.55); background-color: var(--accent-soft); }
  .nav__toggle:hover span { background-color: var(--accent); }
}
@media (max-width: 1000px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (min-width: 1001px) { .mobile-menu { display: none; } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; will-change: transform; }
.orb--1 { width: 56vw; height: 56vw; max-width: 780px; max-height: 780px; right: -14vw; top: -22vw; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 62%); }
.orb--2 { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: -12vw; bottom: -14vw; background: radial-gradient(circle, var(--accent-2), transparent 62%); opacity: 0.4; }
.orb--3 { width: 22vw; height: 22vw; max-width: 320px; max-height: 320px; left: 40%; top: 55%; background: radial-gradient(circle, #7FB77E, transparent 62%); opacity: 0.18; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.streaks { position: absolute; inset: 0; overflow: hidden; }
.streak {
  position: absolute; height: 1px; width: 32vw; left: -40vw;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0; will-change: transform, opacity;
}
.streak:nth-child(1) { top: 24%; }
.streak:nth-child(2) { top: 41%; width: 22vw; }
.streak:nth-child(3) { top: 63%; width: 40vw; }
.streak:nth-child(4) { top: 78%; width: 18vw; }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: rgba(26, 23, 20, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.hero__badge i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero__badge i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
.hero__title { font-size: clamp(42px, 5.9vw, 86px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; margin-top: 26px; max-width: 14ch; text-wrap: balance; }
.hero__title .word { display: inline-block; }
.hero__sub { margin-top: 28px; font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 54ch; }
.hero__sub b { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--head); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat > span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Hero visual — stacked site cards */
.hero__visual { position: relative; perspective: 1400px; min-height: 420px; }
.stack { position: relative; width: 100%; aspect-ratio: 4 / 3.3; transform-style: preserve-3d; }
.site-card {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d; will-change: transform;
}
.site-card--back { transform: translate3d(-9%, 12%, -140px) rotateY(10deg) rotateX(4deg); opacity: 0.55; filter: blur(0.6px); }
.site-card--mid { transform: translate3d(-4%, 5%, -70px) rotateY(8deg) rotateX(3deg); opacity: 0.85; }
.site-card--front { transform: translate3d(0, 0, 0) rotateY(-6deg) rotateX(4deg); }
.mock-nav { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-nav i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }
.mock-nav i:first-child { background: var(--accent); }
.mock-nav b { margin-left: auto; width: 34%; height: 6px; border-radius: 3px; background: var(--surface-3); }
.mock-body { padding: 8% 7% 6%; display: grid; gap: 10px; }
.mock-line { height: 10px; border-radius: 5px; background: var(--surface-3); }
.mock-line--xl { height: 22px; width: 82%; background: var(--text); opacity: 0.9; }
.mock-line--lg { height: 22px; width: 58%; background: var(--gradient); }
.mock-line--sm { width: 64%; opacity: 0.6; }
.mock-btn { margin-top: 6px; width: 34%; height: 24px; border-radius: 999px; background: var(--accent); }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8%; }
.mock-grid i { aspect-ratio: 1.3; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); }
.site-card--front .mock-grid i:nth-child(2) { background: var(--accent-soft); border-color: rgba(242, 181, 68, 0.35); }
.float-badge {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(26, 23, 20, 0.85); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.float-badge--1 { right: -4%; top: 8%; }
.float-badge--2 { left: -6%; bottom: 10%; }
.float-badge i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-badge i svg { width: 15px; height: 15px; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 26px; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@media (max-height: 860px) { .scroll-cue { display: none; } }
@keyframes cue { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); transform-origin: top; } 41% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 12px; max-width: 520px; }
  .float-badge--1 { right: 0; }
  .float-badge--2 { left: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); min-height: 0; } .hide-sm { display: none; }
  .orb { filter: blur(50px); } /* cheaper blur for low-end phones */
  .orb--3 { display: none; }
  .hero__title { max-width: none; }
  .hero__stats { gap: 22px 32px; }
}

/* ---------- 7. Marquee ---------- */
.marquee { padding: 30px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee__label { text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee__track { display: flex; width: max-content; gap: 64px; animation: marquee 48s linear infinite; mask-image: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__inner { display: flex; gap: 64px; align-items: center; }
.marquee__item { font-family: var(--head); font-weight: 600; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em; color: var(--text-2); opacity: 0.75; white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; }
.marquee__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.marquee__fade { position: relative; }
.marquee__fade::before, .marquee__fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee__fade::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee__fade::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- 8. Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 32px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur-slow) var(--ease-out), border-color var(--dur) ease;
  --mx: 50%; --my: 50%;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(242, 181, 68, 0.13), transparent 45%);
  transition: opacity var(--dur) ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(242, 181, 68, 0.4); }
.card:hover::before { opacity: 1; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); margin-bottom: 26px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card__num { position: absolute; top: 28px; right: 28px; font-family: var(--head); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } .card { padding: 26px; } }

/* ---------- 9. Process ---------- */
.work, .hosting { background: var(--bg-2); border-block: 1px solid var(--line); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 8px; }
.process__line { position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.process__line i { display: block; height: 100%; width: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; }
.step { position: relative; padding-top: 64px; }
.step__dot { position: absolute; top: 22px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: border-color var(--dur) ease, box-shadow var(--dur) ease; }
.step.is-active .step__dot { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 24px var(--glow); }
.step__num { font-family: var(--head); font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, var(--text) 0%, rgba(246, 241, 234, 0.25) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 14px; font-size: 22px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 30ch; }
.step__meta { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) {
  .process__steps { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .process__line { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line i { transform: scaleY(0); transform-origin: top; width: 100%; height: 100%; }
  .step { padding: 24px 0 32px; }
  .step__dot { top: 30px; left: -34px; }
}

/* ---------- 10. Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 32px); }
.work__grid > .tile:first-child { grid-column: 1 / -1; }
.work__grid > .tile:first-child .tile__screen { aspect-ratio: 21 / 9; }

.tile { display: block; position: relative; }
.tile__screen {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  isolation: isolate;
}
.tile__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 12, 10, 0.55)); opacity: 0; transition: opacity var(--dur) ease; }
.tile:hover .tile__screen::after { opacity: 1; }
.screen-ui { position: absolute; inset: 0; transform: scale(1); transition: transform 1.6s var(--ease-out); --h: 22; }
.tile:hover .screen-ui { transform: scale(1.05); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1); transition: transform 1.6s var(--ease-out); }
.tile:hover .tile__img { transform: scale(1.05); }
.screen-ui__bg { position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 80% 10%, hsl(var(--h) 90% 55% / 0.35), transparent 60%),
  radial-gradient(50% 50% at 10% 90%, hsl(calc(var(--h) + 40) 90% 60% / 0.2), transparent 60%),
  linear-gradient(160deg, var(--surface-2), var(--bg)); }
.screen-ui__nav { position: absolute; top: 5%; left: 6%; right: 6%; display: flex; align-items: center; gap: 8px; }
.screen-ui__nav i { width: 22%; height: 8px; border-radius: 4px; background: rgba(246, 241, 234, 0.9); }
.screen-ui__nav b { margin-left: auto; width: 16%; height: 14px; border-radius: 999px; background: hsl(var(--h) 90% 58%); }
.screen-ui__title { position: absolute; top: 20%; left: 6%; width: 62%; display: grid; gap: 8px; }
.screen-ui__title i { height: 16px; border-radius: 6px; background: rgba(246, 241, 234, 0.92); }
.screen-ui__title i:nth-child(2) { width: 78%; }
.screen-ui__title i:nth-child(3) { width: 48%; height: 8px; margin-top: 6px; opacity: 0.55; }
.screen-ui__img { position: absolute; right: 6%; top: 18%; width: 28%; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg, hsl(var(--h) 85% 60%), hsl(calc(var(--h) + 30) 85% 55%)); box-shadow: 0 20px 40px -18px hsl(var(--h) 90% 50% / 0.7); }
.screen-ui__cards { position: absolute; left: 6%; right: 6%; bottom: 8%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen-ui__cards i { height: clamp(44px, 8vw, 78px); border-radius: 10px; background: rgba(246, 241, 234, 0.06); border: 1px solid rgba(246, 241, 234, 0.12); backdrop-filter: blur(4px); }
.screen-ui__cards i:first-child { background: hsl(var(--h) 90% 58% / 0.25); border-color: hsl(var(--h) 90% 58% / 0.5); }
.tile__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 18px; }
.tile__meta h3 { font-size: 22px; }
.tile__meta span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.tile__arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur) var(--ease-out); }
.tile__arrow svg { width: 16px; height: 16px; }
.tile:hover .tile__arrow { background: var(--accent); color: var(--on-accent); transform: rotate(-45deg); border-color: var(--accent); }
.tile__tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(14, 12, 10, 0.7); border: 1px solid var(--line); backdrop-filter: blur(6px); color: var(--text-2); }
.work__foot { margin-top: 56px; display: flex; justify-content: center; }
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- 11. Why / Stats ---------- */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.why__list { display: grid; gap: 6px; margin-top: 8px; }
.why__item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.why__item i svg { width: 22px; height: 22px; }
.why__item h3 { font-size: 20px; }
.why__item p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
.stat-card { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-card b { display: block; font-family: var(--head); font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat-card b small { font-size: 0.5em; color: var(--accent); letter-spacing: -0.02em; margin-left: 2px; }
.stat-card > span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.stat-card--accent { background: linear-gradient(160deg, rgba(242, 181, 68, 0.18), rgba(224, 103, 58, 0.08)); border-color: rgba(242, 181, 68, 0.35); }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } .stats-grid { position: static; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .stat-card { padding: 22px 18px; } }

/* ---------- 11b. Worldwide ---------- */
.global__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.global__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.global__item { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur) ease, transform var(--dur-slow) var(--ease-out); }
.global__item:hover { border-color: rgba(242, 181, 68, 0.4); transform: translateY(-4px); }
.global__item i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); margin-bottom: 18px; }
.global__item i svg { width: 20px; height: 20px; }
.global__item h3 { font-size: 18px; }
.global__item p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.clock-card {
  position: sticky; top: calc(var(--nav-h) + 24px); overflow: hidden; isolation: isolate;
  padding: 34px; border-radius: 28px; border: 1px solid var(--line-strong);
  background: radial-gradient(120% 90% at 100% 0%, rgba(242, 181, 68, 0.16), transparent 55%), var(--surface);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.clock-card::before { /* faint globe lines */
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -150px; bottom: -170px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 34px, var(--line) 34px 35px);
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%); mask-image: radial-gradient(circle, #000 40%, transparent 70%);
}
.clock-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.clock-card__status { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.02em; text-transform: none; font-weight: 500; font-size: 13px; color: var(--text-2); }
.clock-card__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.clock-card__status.is-open i { background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18); }
.clock-card__time { margin-top: 22px; font-family: var(--head); font-weight: 700; font-size: clamp(56px, 7vw, 88px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.clock-card__zone { margin-top: 10px; color: var(--muted); font-size: 14px; }
.clock-card__you { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(242, 181, 68, 0.3); font-size: 14px; color: var(--text); }
.clock-card__cities { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.clock-card__cities li { padding: 12px; border-radius: 12px; background: rgba(14, 12, 10, 0.45); border: 1px solid var(--line); }
.clock-card__cities span { display: block; font-size: 12px; color: var(--muted); }
.clock-card__cities b { display: block; margin-top: 2px; font-family: var(--head); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.clock-card__note { margin-top: 20px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .global__grid { grid-template-columns: minmax(0, 1fr); } .clock-card { position: relative; top: auto; max-width: 560px; } }
@media (max-width: 620px) { .global__list { grid-template-columns: 1fr; } .clock-card { padding: 26px; } }
@media (max-width: 380px) { .clock-card__cities { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11c. Hosting & care ---------- */
.hosting__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.hosting__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.hosting__list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.hosting__list i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(242, 181, 68, 0.28); color: var(--accent); }
.hosting__list i svg { width: 19px; height: 19px; }
.hosting__list h3 { font-size: 17px; }
.hosting__list p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.hosting__foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hosting__note { color: var(--muted); font-size: 14px; max-width: 38ch; }

.status-card {
  position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: 28px; border: 1px solid var(--line-strong);
  background: radial-gradient(120% 80% at 0% 0%, rgba(224, 103, 58, 0.16), transparent 55%), var(--surface);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.status-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.status-card__site { font-family: var(--head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.status-card__site small { display: block; margin-bottom: 2px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.35); }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; animation: live-dot 2s ease-out infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.net { margin: 22px 0 8px; border-radius: 18px; overflow: hidden; background: rgba(14, 12, 10, 0.6); border: 1px solid var(--line); }
.net svg { width: 100%; height: auto; }
.net__links path { stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 7; opacity: 0.85; animation: net-flow 2.6s linear infinite; }
.net__links path:nth-child(even) { animation-duration: 3.4s; }
@keyframes net-flow { to { stroke-dashoffset: -40; } }
.net .node { fill: var(--accent); }
.net .ring { fill: none; stroke: var(--accent); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: net-ring 2.8s var(--ease-out) infinite; }
.net .ring:nth-of-type(4n+3) { animation-delay: -0.9s; }
.net .ring:nth-of-type(4n+5) { animation-delay: -1.8s; }
@keyframes net-ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.8); opacity: 0; } }
.net__labels text { font-family: var(--body); font-size: 9px; fill: var(--muted); }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.status-list b { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); text-align: right; }
.status-list b svg { flex: none; width: 16px; height: 16px; color: var(--accent); }
.status-card__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1000px) { .hosting__grid { grid-template-columns: minmax(0, 1fr); } .status-card { position: relative; top: auto; max-width: 560px; } }
@media (max-width: 620px) { .hosting__list { grid-template-columns: minmax(0, 1fr); } .status-card { padding: 22px 18px; } .status-list li { font-size: 14px; } }

/* ---------- 12. Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform var(--dur-slow) var(--ease-out); }
.plan:hover { transform: translateY(-6px); }
.plan--featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; border: 1px solid transparent; box-shadow: 0 40px 80px -40px var(--glow); }
.plan__badge { position: absolute; top: -13px; left: 32px; padding: 6px 12px; border-radius: 999px; background: var(--gradient); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.plan h3 { font-size: 24px; }
.plan__desc { margin-top: 8px; color: var(--muted); font-size: 14px; min-height: 44px; }
.plan__price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.plan__price small { color: var(--muted); font-size: 13px; }
.plan__price b { font-family: var(--head); font-size: clamp(36px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan__note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; font-size: 15px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan ul + .btn { margin-top: 32px; }
.pricing__foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.pricing__foot a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
@media (max-width: 1000px) { .pricing__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan--featured { order: -1; } }

/* ---------- 13. Testimonials ---------- */
.testimonials { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi { position: relative; padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testi__mark { font-family: var(--head); font-size: 64px; line-height: 0.6; color: var(--accent); opacity: 0.9; height: 30px; }
.testi__stars { display: flex; gap: 3px; color: var(--accent-2); margin-top: 6px; }
.testi__stars svg { width: 15px; height: 15px; }
.testi blockquote { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--text); }
.testi figcaption { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.testi figcaption b { display: block; font-size: 15px; }
.testi figcaption span { display: block; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .testi__grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
  .testi__grid::-webkit-scrollbar { display: none; }
  .testi { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; }
}

/* ---------- 14. FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 0 26px; color: var(--muted); max-width: 60ch; font-size: 15.5px; }
.faq__body a, .form__foot small a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color var(--dur-fast) ease; }
.faq__body a:hover, .form__foot small a:hover { border-color: var(--accent); }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } }

/* ---------- 15. CTA band ---------- */
.cta-band { padding-block: clamp(40px, 6vw, 80px); }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.cta-card .orb { z-index: -1; }
.cta-card .orb--1 { right: -20%; top: -60%; opacity: 0.5; }
.cta-card .orb--2 { left: -16%; bottom: -60%; opacity: 0.35; }
.cta-card h2 { font-size: clamp(36px, 6vw, 76px); letter-spacing: -0.035em; max-width: 14ch; margin-inline: auto; }
.cta-card p { margin: 20px auto 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 48ch; }
.cta-card .hero__ctas { justify-content: center; }

/* ---------- 16. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 14px 16px; min-height: 52px; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A89D8E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgba(168, 157, 142, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field__error { display: none; font-size: 13px; color: #FF8080; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF8080; }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__foot small { color: var(--muted); font-size: 13px; }
.form__status { display: none; margin-top: 4px; padding: 16px 18px; border-radius: 14px; font-size: 15px; }
.form__status.is-success { display: block; background: rgba(61, 220, 132, 0.12); border: 1px solid rgba(61, 220, 132, 0.4); color: #B8F5CD; }
.form__status.is-error { display: block; background: rgba(255, 128, 128, 0.12); border: 1px solid rgba(255, 128, 128, 0.4); color: #FFD0BC; }

.contact-card { border-radius: var(--radius); padding: 34px; background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 24px); }
.contact-card h3 { font-size: 22px; }
.contact-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.contact-list { margin-top: 26px; display: grid; gap: 8px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px; margin: 0 -14px; border-radius: 14px; transition: background-color var(--dur-fast) ease; }
.contact-list a:hover { background: var(--surface-2); }
.contact-list i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.contact-list i svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list b { display: block; font-weight: 600; font-size: 15px; }

.contact-email { margin-top: 22px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.contact-email a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background-color var(--dur-fast) ease; }
.contact-email a:hover { background: var(--surface-2); }
.contact-email i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.contact-email i svg { width: 18px; height: 18px; }
.contact-email span { min-width: 0; }
.contact-email small { display: block; font-size: 12px; color: var(--muted); }
.contact-email b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--text-2); transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--text); color: var(--text); }
.copy-btn.is-copied { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.contact-card__sub { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.next-steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; font-size: 14px; color: var(--muted); }
.next-steps li::before { content: counter(step); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--accent); border: 1px solid rgba(242, 181, 68, 0.4); background: var(--accent-soft); }
.next-steps b { color: var(--text); font-weight: 600; font-size: 15px; }
.contact-card__note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.contact-card__note i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .contact-card { position: static; } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); } .contact-card { padding: 24px 20px; }
  .contact-email { flex-wrap: wrap; } .contact-email a { flex-basis: 100%; }
  .contact-email b { white-space: normal; overflow-wrap: anywhere; }
  .copy-btn { flex: 1; justify-content: center; }
}

/* ---------- 17. Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__tag { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 32ch; }
.footer h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer li a { display: inline-block; padding: 10px 0; margin: -6px 0; color: var(--text-2); font-size: 15px; transition: color var(--dur-fast) ease; } /* ≥44px tap target */
.footer li a:hover { color: var(--accent); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.footer__bottom a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 17b. Legal + 404 pages ---------- */
.page-head { padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.page-head .orb { z-index: -1; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; margin-top: 18px; }
.page-head p { margin-top: 16px; color: var(--muted); }
.nav--solid { background: rgba(14, 12, 10, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 48px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--text); border-bottom: 1px solid var(--accent); }
.legal strong { color: var(--text); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0; position: relative; overflow: hidden; isolation: isolate; }
.notfound .orb { z-index: -1; }
.notfound__code { font-family: var(--head); font-weight: 700; font-size: clamp(110px, 22vw, 240px); line-height: 0.9; letter-spacing: -0.06em; }
.notfound h1 { font-size: clamp(28px, 4vw, 44px); margin-top: 12px; }
.notfound p { margin: 16px auto 0; color: var(--muted); max-width: 44ch; }
.notfound .hero__ctas { justify-content: center; }

/* ---------- 17c. Landing pages (industries, redesign) ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); transition: color var(--dur-fast) ease; }
.crumbs a:hover { color: var(--accent); }
.page-head .lede { max-width: 62ch; font-size: clamp(16px, 1.4vw, 19px); }
.page-head .hero__ctas { margin-top: 32px; }
.ind-band { background: var(--bg-2); border-block: 1px solid var(--line); }
.ind-concept { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ind-concept__shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.ind-concept__shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 862; object-fit: cover; object-position: top; transition: transform var(--dur-slow) var(--ease-out); }
.ind-concept__shot:hover img { transform: scale(1.03); }
.ind-concept .section-title + p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 52ch; }
.ind-concept .btn { margin-top: 28px; }
.ind-needs .card h3 { padding-right: 40px; } /* long titles clear the card number */
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; max-width: 1000px; }
.ticks li { position: relative; padding-left: 36px; color: var(--text-2); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B544' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ind-more, .work__industries { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.ind-more { margin-top: 32px; }
.ind-more span, .work__industries span { color: var(--muted); font-size: 14px; }
.ind-more a, .work__industries a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: rgba(26, 23, 20, 0.5); color: var(--text-2); font-size: 14px; font-weight: 500; transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.ind-more a:hover, .work__industries a:hover { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.work__industries { margin-top: 48px; }
.work__industries + .work__foot { margin-top: 28px; }
.footer__bottom a:hover, .footer li a[aria-current="page"] { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
@media (max-width: 900px) { .ind-concept { grid-template-columns: minmax(0, 1fr); } .ticks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 18. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 1; }
  html.js .hero__copy, html.js .hero__visual { opacity: 1; animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__inner { flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
  .marquee__inner[aria-hidden="true"], .marquee__fade::before, .marquee__fade::after { display: none; }
  .process__line i { transform: none; }
}
/* ?nomotion (QA) mirrors the reduced-motion layout */
html.reduce-motion .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
html.reduce-motion .marquee__inner { flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
html.reduce-motion .marquee__inner[aria-hidden="true"], html.reduce-motion .marquee__fade::before, html.reduce-motion .marquee__fade::after { display: none; }
.footer__bottom--solo { margin-top: 0; padding-top: 0; border-top: 0; }
.notfound p.notfound__code { color: transparent; margin: 0 auto; max-width: none; }
.brand em { font-style: normal; font-weight: 500; color: var(--muted); }
