/* ==========================================================================
   BUILT BY CHRIS — styles.css
   --------------------------------------------------------------------------
   1. Tokens          6. Work / case study      11. Contact & form
   2. Base            7. Services               12. Footer
   3. Utilities       8. Process                13. Motion
   4. Buttons         9. Why / About            14. Responsive
   5. Header & hero  10. Pricing
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --bg-3: #151518;
  --bg-4: #1c1c20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.26);
  --text: #f2f2f3;
  --muted: #a6a6ae;
  --dim: #85858d;
  --silver-1: #ffffff;
  --silver-2: #d6d6db;
  --silver-3: #9a9aa3;
  --silver: linear-gradient(180deg, #ffffff 0%, #e2e2e6 38%, #a2a2ab 100%);
  --silver-btn: linear-gradient(180deg, #fafafa 0%, #dcdce0 55%, #bcbcc3 100%);
  --danger: #f2a7a7;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4.5vw, 2.75rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 72px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Fine film grain — fixed and non-interactive so it never repaints on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: #e6e6ea; color: #0a0a0b; }

:focus-visible {
  outline: 2px solid var(--silver-1);
  outline-offset: 3px;
  border-radius: 6px;
}

address { font-style: normal; }

[hidden] { display: none !important; }

/* 3. UTILITIES ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.silver {
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Ensure the gradient covers descenders */
  padding-bottom: 0.06em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.section { position: relative; padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-head--split {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
.section-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2.35rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: var(--btn-h);
  padding: 0 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-arrow {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:hover .btn-arrow--diag { transform: translate(2px, -2px); }

.btn--primary {
  background: var(--silver-btn);
  color: #0b0b0c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 26px -12px rgba(255, 255, 255, 0.35);
}
/* Metallic sheen that sweeps across on hover */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.95) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 34px -14px rgba(255, 255, 255, 0.5); }

.btn--ghost {
  border-color: var(--line-3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

.btn--sm { --btn-h: 44px; padding: 0 1.2rem; font-size: 0.68rem; }
.btn--lg { --btn-h: 60px; padding: 0 2.1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
/* A backdrop-filter would trap the fixed mobile menu inside the header, so drop it while open */
.menu-open .site-header,
.menu-open .site-header.is-scrolled {
  background: var(--bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  border-radius: 999px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  /* The logo is a ring on black; clipping to the ring hides the square corners
     (the header is its own stacking context, so blend modes can't reach the page) */
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
.brand-word {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-thin { font-weight: 300; }
.brand-word strong { font-weight: 700; }

.primary-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 1px;
  background: var(--silver-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.is-active { color: var(--text); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-right: -6px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-lines { position: relative; display: block; width: 18px; height: 8px; margin: auto; }
.nav-toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav-toggle-lines span:first-child { top: 0; }
.nav-toggle-lines span:last-child { top: 6.5px; }
.menu-open .nav-toggle-lines span:first-child { top: 3.25px; transform: rotate(45deg); }
.menu-open .nav-toggle-lines span:last-child { top: 3.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  padding-top: var(--header-h);
  background: rgba(10, 10, 11, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Lock page scroll behind the open menu */
.menu-open body { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
  padding-top: 1.5rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}
.mobile-links { border-top: 1px solid var(--line); }
.mobile-links li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.menu-open .mobile-links li { opacity: 1; transform: none; }
.menu-open .mobile-links li:nth-child(2) { transition-delay: 0.04s; }
.menu-open .mobile-links li:nth-child(3) { transition-delay: 0.08s; }
.menu-open .mobile-links li:nth-child(4) { transition-delay: 0.12s; }
.menu-open .mobile-links li:nth-child(5) { transition-delay: 0.16s; }
.mobile-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.mobile-num { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; color: var(--dim); }
.mobile-contact {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 0.95rem;
  color: var(--muted);
}
.mobile-contact a { padding: 0.35rem 0; }

/* HERO ---------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  margin-top: 0;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}
.hero-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 255, 255, 0.035), transparent 70%);
}
/* Hairline grid, faded toward the edges */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 80%);
}
.hero-grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--silver-2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}
.hero-title {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; }
.hero-sub {
  max-width: 33rem;
  margin-top: 1.75rem;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero-mark {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
}
.mark-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  mix-blend-mode: lighten;
}
.mark-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent 75%);
}
.mark-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.mark-orbit--1 { inset: -6%; }
.mark-orbit--2 { inset: -18%; border-color: rgba(255, 255, 255, 0.04); }
/* A thin arc of light that travels slowly around the outer orbit */
.mark-sweep {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.55) 40deg, transparent 80deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
}

.hero-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-location svg { width: 16px; height: 16px; fill: none; stroke: var(--silver-2); stroke-width: 1.5; }
.hero-coords {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  position: relative;
  width: 56px;
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--silver-1);
  transform: translateX(-100%);
}

/* 6. WORK / CASE STUDY ----------------------------------------------------- */
.project {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.project::before {
  /* Hairline metallic top edge */
  content: "";
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}
.project-head {
  display: flex;
  align-items: flex-end;
  gap: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.project-index {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.32);
}
.project-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
.project-title {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.project-body {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(1.75rem, 4vw, 3rem);
}
.project-desc { color: var(--muted); font-size: 1.02rem; }
.project-meta { margin-top: 2rem; }
.project-meta dt {
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.project-link { margin-top: 2.25rem; }

.project-meta { display: grid; gap: 1.75rem; }
.project-points { display: grid; gap: 0.55rem; }
.project-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--silver-3);
}

/* Phone frames: two staggered mobile screenshots over faint radar rings */
.showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 4%, 2.25rem);
  padding: clamp(1rem, 3vw, 2rem) 0 2.75rem;
}
.showcase-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(118%, 680px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.showcase-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.showcase-rings i:nth-child(2) { inset: 17%; border-color: rgba(255, 255, 255, 0.06); }
.showcase-rings i:nth-child(3) {
  inset: 34%;
  border-color: transparent;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent);
}

.device { position: relative; z-index: 1; }
.device--phone {
  width: clamp(130px, 40%, 280px);
  padding: 6px;
  border-radius: 34px;
  background: linear-gradient(145deg, #4a4a51, #161618 38%, #0f0f11 62%, #3a3a40);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(0, 0, 0, 0.8),
    0 40px 70px -28px rgba(0, 0, 0, 0.95);
  transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease);
}
.device--back { margin-top: clamp(2.5rem, 12%, 5.5rem); }
.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fcf8f5;
}
.device-screen img { width: 100%; transition: transform 1.2s var(--ease); }
/* Recreates the status-bar strip so the island never covers the screenshot */
.phone-status { display: block; height: clamp(14px, 2.2vw, 24px); background: #fcf8f5; }
.phone-island {
  position: absolute;
  top: clamp(4px, 0.6vw, 7px);
  left: 50%;
  width: 30%;
  height: clamp(6px, 0.9vw, 10px);
  border-radius: 999px;
  background: #0a0a0b;
  transform: translateX(-50%);
}
.device-caption {
  position: absolute;
  left: 50%;
  top: calc(100% + 1.1rem);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--dim);
  transform: translateX(-50%);
}

@media (hover: hover) {
  .project:hover .device--front { transform: translateY(-8px) rotate(-1deg); }
  .project:hover .device--back { transform: translateY(-14px) rotate(1deg); }
  .device--phone:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34), inset 0 0 0 1px rgba(0, 0, 0, 0.8), 0 50px 80px -30px rgba(0, 0, 0, 1); }
  .device--phone:hover img { transform: scale(1.025); }
}

/* "Your business could be next" panel */
.next-project {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3.25rem);
  border: 1px dashed var(--line-2);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.next-copy { flex: 1; }
.next-title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.next-ring {
  position: absolute;
  right: -90px; top: 50%;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transform: translateY(-50%);
  pointer-events: none;
}

/* 7. SERVICES -------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}
/* Cursor-following silver light */
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service-num {
  position: absolute;
  top: clamp(1.75rem, 3vw, 2.5rem);
  right: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.service-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  fill: none;
  stroke: var(--silver-2);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.service:hover .service-icon { border-color: rgba(255, 255, 255, 0.55); transform: rotate(-8deg); }
.service h3 {
  margin-top: auto;
  padding-top: 2.75rem;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.service p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; max-width: 26rem; }

/* Full-width card for the booking capability; spans the row so 3- and 2-column grids stay even */
.service--feature {
  grid-column: 1 / -1;
  min-height: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, 0.045), transparent 70%);
}
.service-feature-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.service--feature p { max-width: 36rem; }
.service-feature-side { display: grid; gap: 1.1rem; justify-items: start; }
.service-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-2);
  transition: color 0.3s var(--ease);
}
.service-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.service-link:hover { color: var(--text); }
.service-link:hover svg { transform: translateY(-3px); }

/* 8. PROCESS --------------------------------------------------------------- */
.process { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.steps {
  --progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
/* Connecting line: base track + silver fill */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: 0;
  height: 1px;
  background: var(--line-2);
}
.steps::after {
  background: linear-gradient(90deg, var(--silver-1), var(--silver-3));
  transform: scaleX(var(--progress));
  transform-origin: left;
  transition: transform 1.6s var(--ease-in-out);
}
.steps.is-visible { --progress: 1; }
.step { position: relative; z-index: 1; }
.step-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  background: var(--bg-2);
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.step-node::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.step h3 {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.step p { margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.steps.is-visible .step-node { border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 0 28px -6px rgba(255, 255, 255, 0.25); }
.steps.is-visible .step:nth-child(2) .step-node { transition-delay: 0.4s; }
.steps.is-visible .step:nth-child(3) .step-node { transition-delay: 0.8s; }
.steps.is-visible .step:nth-child(4) .step-node { transition-delay: 1.2s; }

/* 9. WHY / ABOUT ----------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.why-head { position: sticky; top: calc(var(--header-h) + 3rem); }
.why-head .section-lede { margin-top: 1.5rem; }
.why-list { border-top: 1px solid var(--line); }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: clamp(1.4rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease);
}
.why-mark {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  transition: border-color 0.5s var(--ease);
}
.why-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--silver);
  transform: scale(0.5);
  opacity: 0.5;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.why-item h3 {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.why-item p { margin-top: 0.4rem; color: var(--muted); font-size: 0.97rem; }
@media (hover: hover) {
  .why-item:hover { padding-left: 0.5rem; }
  .why-item:hover .why-mark { border-color: rgba(255, 255, 255, 0.7); }
  .why-item:hover .why-mark::after { transform: scale(1); opacity: 1; }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: end;
}
.about-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}
.about-copy .section-title { margin-bottom: 0.6rem; }
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
}
.about-card > div {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
}
.about-card > div + div { border-top: 1px solid var(--line); }
.about-card dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}
.about-card dd { font-weight: 500; }

/* 10. PRICING -------------------------------------------------------------- */
.pricing { padding-block: clamp(3rem, 7vw, 5.5rem); }
.pricing-panel {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, 0.07), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}
.pricing-ring {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.012), 0 0 0 61px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.pricing-title {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.pricing-copy { position: relative; max-width: 38rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.pricing-panel .btn { margin-top: 0.75rem; }

/* 11. CONTACT & FORM ------------------------------------------------------- */
.contact { overflow: hidden; }
.contact-light {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1100px, 140vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact-head { text-align: center; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.contact-title {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.4rem, 7.8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.contact-title .silver { display: inline-block; }
.contact-sub {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
}
.contact-name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.contact-list { display: grid; }
.contact-list li { display: grid; gap: 0.15rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-value {
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}
a.contact-value {
  justify-self: start;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
  padding-block: 0.15rem;
}
a.contact-value:hover { background-size: 100% 1px; }
.social-btn { gap: 0.6rem; }
.social-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.contact-note { font-size: 0.88rem; color: var(--muted); }

.inquiry {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, #131316, #0d0d0f);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.inquiry::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}
.form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.form-title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  letter-spacing: -0.01em;
}
.form-hint { font-size: 0.78rem; color: var(--dim); }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.1rem;
}
.field { display: grid; gap: 0.5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.req { color: var(--silver-2); }
.opt { font-weight: 400; color: var(--dim); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  /* 16px prevents iOS from zooming into fields */
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6e6e76; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.07);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; font-size: 0.8rem; color: var(--danger); }
.field-error:empty { display: none; }
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--silver-2);
  border-bottom: 1.5px solid var(--silver-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 2.75rem; cursor: pointer; }
.field select option { background: #141417; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.form-status { font-size: 0.9rem; color: var(--muted); }
.form-status.is-error { color: var(--danger); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

.form-success {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2rem, 6vw, 4rem) 1rem;
  text-align: center;
  outline: none;
}
.form-success[hidden] { display: none; }
.success-ring {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.03), 0 0 40px -8px rgba(255, 255, 255, 0.3);
}
.success-ring svg { width: 30px; height: 30px; fill: none; stroke: var(--silver-1); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
}
.form-success p { max-width: 28rem; color: var(--muted); }
.success-alt { font-size: 0.9rem; }
.success-alt a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* 12. FOOTER --------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.footer-tag { margin-top: 0.2rem; font-size: 0.82rem; color: var(--muted); }
.footer-contact { display: grid; gap: 0.2rem; font-size: 0.92rem; color: var(--muted); }
.footer-contact a,
.footer-nav a { transition: color 0.3s var(--ease); }
.footer-contact a { padding-block: 0.2rem; overflow-wrap: anywhere; }
.footer-contact a:hover,
.footer-nav a:hover { color: var(--text); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--dim);
}
.to-top { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; color: var(--muted); transition: color 0.3s var(--ease); }
.to-top:hover { color: var(--text); }
.to-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }

/* Thank-you and 404 pages */
.simple-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-block: 4rem;
  overflow: hidden;
  text-align: center;
}
.simple-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 130vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.01), 0 0 0 91px rgba(255, 255, 255, 0.04);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.simple-inner { position: relative; display: grid; justify-items: center; gap: 1.25rem; }
.simple-brand { border-radius: 50%; }
.simple-brand img { width: 96px; height: 96px; border-radius: 50%; }
.simple-title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.simple-copy { max-width: 34rem; color: var(--muted); }
.simple-copy a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.simple-copy a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 1rem; }
@media (max-width: 640px) {
  .simple-actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* 13. MOTION --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance: logo resolves, ring light begins, headline rises line by line */
  .js .mark-logo { animation: logo-in 1.6s var(--ease) both; }
  .js .mark-halo { animation: fade-in 2s var(--ease) 0.3s both; }
  .js .mark-orbit { animation: orbit-in 1.6s var(--ease) 0.25s both; }
  .js .mark-orbit--2 { animation-delay: 0.45s; }
  .js .mark-sweep { animation: fade-in 1.4s var(--ease) 0.9s both, spin 14s linear 0.9s infinite; }
  .js .hero-title .line > span { animation: rise 1.1s var(--ease) both; }
  .js .hero-title .line:nth-child(1) > span { animation-delay: 0.15s; }
  .js .hero-title .line:nth-child(2) > span { animation-delay: 0.27s; }
  .js .hero-title .line:nth-child(3) > span { animation-delay: 0.39s; }
  .js .hero-eyebrow,
  .js .hero-sub,
  .js .hero-actions,
  .js .hero-foot { animation: fade-up 1s var(--ease) both; }
  .js .hero-eyebrow { animation-delay: 0.05s; }
  .js .hero-sub { animation-delay: 0.55s; }
  .js .hero-actions { animation-delay: 0.68s; }
  .js .hero-foot { animation-delay: 0.9s; }
  .hero-scroll-line::after { animation: scroll-line 2.6s var(--ease-in-out) 1.6s infinite; }

  /* Scroll reveals (class toggled by main.js) */
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .service-grid .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
  .js .service-grid .reveal:nth-child(3n + 3) { transition-delay: 0.16s; }

  .js .steps .step { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
  .js .steps.is-visible .step { opacity: 1; transform: none; }
  .js .steps.is-visible .step:nth-child(2) { transition-delay: 0.4s; }
  .js .steps.is-visible .step:nth-child(3) { transition-delay: 0.8s; }
  .js .steps.is-visible .step:nth-child(4) { transition-delay: 1.2s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .steps { --progress: 1; }
  .mark-sweep { display: none; }
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.94) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}
@keyframes orbit-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr minmax(0, 30rem); }
  .section-head--split .section-lede { justify-self: end; padding-bottom: 0.4rem; }
}

@media (max-width: 1080px) {
  .primary-nav a { padding-inline: 0.65rem; letter-spacing: 0.14em; }
  .primary-nav a::after { left: 0.65rem; right: 0.65rem; }
  .project-body { grid-template-columns: 1fr; }
  .project-info { max-width: 40rem; }
  .project-body .showcase { order: -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .primary-nav { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-menu { display: block; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-mark { order: -1; width: min(72vw, 320px); margin-top: 0.5rem; }
  .hero-title { font-size: clamp(2.6rem, 9.5vw, 5.5rem); }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .service-grid .reveal:nth-child(n) { transition-delay: 0s; }
  .js .service-grid .reveal:nth-child(2n) { transition-delay: 0.08s; }
  .service-feature-body { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .steps::before, .steps::after { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }

  .about-grid { grid-template-columns: 1fr; align-items: start; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-word { font-size: 0.72rem; letter-spacing: 0.22em; }

  .hero { padding-top: 1.5rem; }
  .hero-mark { width: min(64vw, 250px); }
  .hero-title { font-size: clamp(2.3rem, 11.6vw, 3.4rem); font-stretch: 112%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-foot { padding-top: 2.25rem; padding-bottom: 1.5rem; }
  .hero-coords, .hero-scroll { display: none; }

  .project { padding: 1.25rem; border-radius: var(--radius); }
  .project-head { padding-inline: 0.25rem; }
  .project-info { padding-inline: 0.25rem; }
  .showcase { gap: 0.85rem; padding-bottom: 2.25rem; }
  .device--phone { width: 46%; padding: 4px; border-radius: 24px; }
  .device-screen { border-radius: 20px; }
  .device--back { margin-top: 2.5rem; }
  .device-caption { top: calc(100% + 0.8rem); font-size: 0.58rem; letter-spacing: 0.22em; }
  .project-link { width: 100%; }

  .next-project { flex-direction: column; align-items: flex-start; }
  .next-project .project-index { display: none; }
  .next-project .btn { width: 100%; }

  .service-grid { grid-template-columns: 1fr; }
  .js .service-grid .reveal:nth-child(n) { transition-delay: 0s; }
  .service { min-height: 0; }
  .service h3 { padding-top: 1.75rem; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 1.25rem;
    padding-bottom: 2.25rem;
  }
  .step:last-child { padding-bottom: 0; }
  /* Vertical connector between nodes on phones */
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 52px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(var(--line-3), var(--line));
  }
  .step-node { grid-row: span 2; width: 52px; height: 52px; font-size: 0.85rem; }
  .step h3 { margin-top: 0.7rem; }
  .step p { margin-top: 0.4rem; }

  .why-item { gap: 1rem; }

  .pricing-panel .btn { width: 100%; }
  .pricing-ring { width: 300px; height: 300px; right: -140px; top: -140px; }

  .contact-title { font-size: clamp(2.1rem, 10.6vw, 3.4rem); font-stretch: 110%; }
  .inquiry { padding: 1.4rem 1.15rem; border-radius: var(--radius); }
  .field-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .form-foot .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (max-width: 370px) {
  .brand-word { display: none; }
  .hero-title { font-size: 2.3rem; }
}
