/* ════════════════════════════════════════════════
   SELF-HOSTED FONTS  (generated — do not hand-edit)
   Inter · JetBrains Mono · Space Grotesk — latin + latin-ext
   Replaces the render-blocking Google Fonts request. Browsers fetch
   only the weights/subsets a page needs, via unicode-range.
   Regenerate: re-download woff2 from Google Fonts and rebuild this block.
   ════════════════════════════════════════════════ */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════════════════════════════════════════════════
   DOWER DIGITAL — Custom Websites & Managed SEO
   Dark / electric-blue design system
   ════════════════════════════════════════════════ */

:root {
  --bg: #0A0A0A;
  --bg-soft: #111827;
  --card: #111827;
  --card-2: #1F2937;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-hover: rgba(255, 255, 255, 0.14);
  --text: #F8FAFC;
  --muted: #D1D5DB;
  --faint: #8A93A3;          /* 6.4:1 on --bg, 5.7:1 on --card */
  --grey-900: #111827;
  --grey-800: #1F2937;
  --grey-700: #374151;
  --grey-500: #6B7280;
  --grey-300: #D1D5DB;
  --accent: #2563EB;
  --accent-dim: #1E3A8A;
  --accent-soft: rgba(37, 99, 235, 0.16);
  --accent-text: #60A5FA;     /* blue for small text: #2563EB is only 3.8:1 */
  --star: #FBBF24;            /* review stars; the rating is also given as text */
  --field-border: #6B7280;    /* form boundaries need 3:1 against --card */
  --error: #FCA5A5;
  --error-border: #F87171;
  --lime: var(--accent);
  --lime-dim: var(--accent-dim);
  --lime-soft: var(--accent-soft);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --serif: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* keep anchor targets and focused elements clear of the fixed nav */
html { scroll-behavior: smooth; scroll-padding-top: 124px; }


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

body.is-locked { overflow: hidden; }

::selection { background: var(--accent); color: #F8FAFC; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2A2E; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3A3A3F; }

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

/* One focus ring for everything that doesn't define its own */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
em.serif, .serif { font-family: var(--heading); font-style: normal; font-weight: 600; }

.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.container--narrow { width: min(900px, calc(100% - 80px)); }
.section { position: relative; padding: 140px 0; }
.mono { font-family: var(--mono); }

/* ── Headings ─────────────────────────────── */
.h2 {
  font-size: clamp(42px, 5.4vw, 76px);
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.h2 .serif { color: var(--accent); font-weight: 700; letter-spacing: -0.02em; }

/* ── Micro label ──────────────────────────── */
.microlabel {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.microlabel__rule { width: 36px; height: 1px; background: #3A3A3F; flex: none; }

/* ── Buttons ──────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #101012;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-out);
}
.btn:hover { border-color: var(--line-hover); transform: translateY(-1px); }
.btn__arrow { display: inline-block; transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:focus-visible,
.menu__link:focus-visible,
.rail__btn:focus-visible,
.mobile-cta__link:focus-visible,
.footer__col a:focus-visible,
.contact__chip:focus-visible,
.cs__close:focus-visible,
.cs__actions .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--shine {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn--shine::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60%;
  left: -80%;
  background: linear-gradient(100deg, transparent, rgba(37, 99, 235, 0.22), transparent);
  animation: shine 3.4s var(--ease-out) infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 180%; } }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,0.05); }
.btn .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  flex: none;
  animation: blink 2.2s ease infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.dot { display: inline-block; width: 6px; height: 6px; }
.dot--lime { background: var(--lime); }
.dot--dim { background: #3F4433; }

/* ── Chips ────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.chip:hover { border-color: #3A3A3F; color: var(--text); }
.chip--lime { color: var(--accent-text); border-color: rgba(37, 99, 235, 0.35); background: var(--accent-soft); }

/* ════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.55s var(--ease-out), visibility 0.55s var(--ease-out);
}
.preloader::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.18), transparent 34%),
    radial-gradient(circle at 50% 55%, rgba(248, 250, 252, 0.08), transparent 22%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.preloader.is-video-running::before,
.preloader.is-logo-flight::before { opacity: 1; }
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader.is-gone { display: none; }
.preloader__inner {
  position: relative;
  z-index: 2;
  width: min(420px, 80vw);
  transition: opacity 0.3s var(--ease-out), translate 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}
.preloader.is-loading-complete .preloader__inner {
  opacity: 0;
  translate: 0 -10px;
  filter: blur(4px);
  pointer-events: none;
}
.preloader__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--heading);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 36px;
}
.preloader__markImg {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.preloader__mark { color: var(--text); }
.preloader__reg { color: var(--accent); font-size: 18px; vertical-align: super; }
.preloader__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.preloader__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.preloader__count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lime);
}
.preloader__bar { height: 2px; background: #1C1C20; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }
.preloader__videoShell {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  scale: 0.985;
  transition: opacity 0.45s var(--ease-out), scale 0.7s var(--ease-expo), filter 0.35s var(--ease-out);
}
.preloader.is-video-running .preloader__videoShell {
  opacity: 1;
  scale: 1;
}
.preloader.is-logo-flight .preloader__videoShell {
  opacity: 0;
  filter: blur(10px);
}
.preloader__video {
  width: 100vw;
  height: 100svh;
  object-fit: contain;
  object-position: center;
  background: transparent;
  pointer-events: none;
}
.preloader__handoffFrame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100svh;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out), filter 0.45s var(--ease-out), scale 0.7s var(--ease-expo);
}
.preloader.is-handoff-ready .preloader__handoffFrame {
  opacity: 1;
}
.preloader.is-logo-flight .preloader__handoffFrame {
  opacity: 0.24;
  filter: blur(8px);
  scale: 1.015;
}
.preloader__flightLogo {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform, opacity;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.32));
}
.preloader.is-logo-docked .preloader__flightLogo {
  opacity: 0 !important;
  transition: opacity 0.18s var(--ease-out);
}
.preloader__skip {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 4;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(248, 250, 252, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 10, 0.48);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s var(--ease-out), border-color 0.3s, color 0.3s, background 0.3s;
}
.preloader.is-video-running .preloader__skip {
  opacity: 1;
  pointer-events: auto;
}
.preloader__skip:hover,
.preloader__skip:focus-visible {
  color: var(--text);
  border-color: rgba(37, 99, 235, 0.46);
  background: rgba(37, 99, 235, 0.14);
  outline: none;
}
body.is-intro-nav-target .nav {
  z-index: 215;
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.55s var(--ease-out), translate 0.55s var(--ease-out), box-shadow 0.4s, background 0.4s;
}
.nav__mark.is-intro-hidden { opacity: 0; }

/* ════════════════════════════════════════════
   GRAIN
   ════════════════════════════════════════════ */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 120;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 12px 12px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.4s, background 0.4s, top 0.4s var(--ease-out);
}
.js .nav { opacity: 0; translate: 0 -16px; }
.js body.is-ready .nav { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease-out) .15s, translate .8s var(--ease-out) .15s, box-shadow 0.4s, background 0.4s; }
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  color: var(--text);
}
.nav__mark {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 10px;
}
.nav__cta { padding: 11px 20px; font-size: 13px; }
.nav__links { display: none; }
@media (min-width: 1081px) {
  .nav__links { display: flex; align-items: center; gap: 2px; }
  .nav__links a {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.3s, background 0.3s;
  }
  .nav__links a:hover,
  .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
}
.nav__burger {
  width: 42px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  transition: border-color 0.3s;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--text);
  transition: transform 0.4s var(--ease-out), translate 0.4s var(--ease-out);
}
.nav__burger:hover { border-color: var(--line-hover); }
body.menu-open .nav__burger span:nth-child(1) { transform: rotate(45deg); translate: 0 3.8px; }
body.menu-open .nav__burger span:nth-child(2) { transform: rotate(-45deg); translate: 0 -3.8px; }

/* ════════════════════════════════════════════
   FULLSCREEN MENU
   ════════════════════════════════════════════ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(8, 8, 9, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-expo);
  display: flex;
  align-items: safe center;
  padding: 124px 0 48px;
  overflow-y: auto;
}
body.menu-open .menu { clip-path: inset(0 0 0% 0); }
.menu__inner { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.menu__links { display: flex; flex-direction: column; margin-bottom: 64px; }
.menu__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 10px 0;
  font-size: clamp(40px, 6vw, 72px);
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  translate: 0 30px;
  transition: opacity 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}
body.menu-open .menu__link { opacity: 1; translate: 0 0; }
body.menu-open .menu__link:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .menu__link:nth-child(2) { transition-delay: 0.21s; }
body.menu-open .menu__link:nth-child(3) { transition-delay: 0.27s; }
body.menu-open .menu__link:nth-child(4) { transition-delay: 0.33s; }
body.menu-open .menu__link:nth-child(5) { transition-delay: 0.39s; }
body.menu-open .menu__link:nth-child(6) { transition-delay: 0.45s; }
.menu__num { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--faint); }
.menu__link:hover .menu__num { color: var(--accent-text); }
.menu__meta { display: flex; gap: 80px; flex-wrap: wrap; }
.menu__col { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
.menu__col .microlabel { margin-bottom: 6px; }
.menu__col a:hover { color: var(--accent-text); }

/* flip text (hover letters slide up) */
.flip { display: inline-block; overflow: hidden; height: 1.1em; }
.flip > span { display: block; transition: translate 0.45s var(--ease-expo); }
[data-flip]:hover .flip > span { translate: 0 -100%; }
.flip > span:nth-child(2) { color: var(--lime); }

/* ════════════════════════════════════════════
   FLOATING RAIL
   ════════════════════════════════════════════ */
.rail {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rail__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(16, 16, 18, 0.85);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  backdrop-filter: blur(10px);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.rail__btn svg { width: 19px; height: 19px; }
.rail__btn:hover { color: var(--accent); border-color: rgba(37, 99, 235, 0.4); transform: translateY(-2px); }

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 120;
  display: none;
  gap: 8px;
  padding: 8px;
  background: rgba(10, 10, 10, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.mobile-cta__link {
  min-height: 48px;
  flex: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mobile-cta__link--primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
body.is-mobile-cta-visible .mobile-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}


/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
  background-image: url("assets/images/dower-hero-bg.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 10, 0.96) 0%,
      rgba(4, 6, 10, 0.88) 38%,
      rgba(4, 6, 10, 0.55) 68%,
      rgba(4, 6, 10, 0.25) 100%
    );
  pointer-events: none;
  z-index: 1;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.08);
  transform-origin: center center;
  pointer-events: none;
  background: #04060A;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 18%;
  top: 18%;
  background: radial-gradient(
    circle,
    rgba(70, 100, 255, 0.12) 0%,
    rgba(70, 100, 255, 0.04) 35%,
    transparent 70%
  );
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}
.hero__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}
.hero__glow--lime,
.hero__glow--accent {
  position: absolute;
  top: -28%;
  left: -18%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22), transparent 65%);
  filter: blur(20px);
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 90% at 72% 45%, transparent 30%, rgba(10, 10, 10, 0.58) 75%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.35), transparent 28%, transparent 70%, var(--bg) 98%);
}
.hero__stars { position: absolute; inset: 0; }
.hero__stars i {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.35;
  animation: twinkle 4s ease infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.6; } }

.hero__orbit {
  position: absolute;
  top: 12%;
  right: -8%;
  width: 62vw;
  max-width: 980px;
  opacity: 0.9;
  z-index: 2;
}
.orbit-dot { animation: orbitPulse 3s ease infinite; }
@keyframes orbitPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.monolith {
  position: absolute;
  right: 13%;
  top: 8%;
  width: 320px;
  height: 78%;
  z-index: 1;
}
.monolith__slab {
  position: absolute;
  inset: 0 60px 18% 60px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028) 35%, rgba(0, 0, 0, 0.35) 80%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transform: perspective(900px) rotateY(-14deg);
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6);
}
.monolith__rock {
  position: absolute;
  top: 18%;
  left: -42%;
  width: 185%;
  aspect-ratio: 1.25;
  background:
    radial-gradient(ellipse at 32% 26%, #3c3c40 0%, #232326 38%, #101012 72%, #0a0a0b 100%);
  clip-path: polygon(28% 6%, 58% 0%, 82% 14%, 96% 38%, 90% 64%, 70% 84%, 44% 92%, 18% 80%, 5% 56%, 9% 28%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7));
  animation: rockFloat 9s ease-in-out infinite;
}
@keyframes rockFloat {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -16px; rotate: -1.2deg; }
}
.monolith__pedestal {
  position: absolute;
  bottom: 0;
  left: -30%;
  width: 160%;
  height: 17%;
  background: linear-gradient(to bottom, #161618, #0a0a0b);
  clip-path: polygon(8% 0, 92% 0, 100% 45%, 100% 100%, 0 100%, 0 45%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.hero__arch {
  position: absolute;
  right: -40px;
  top: 22%;
  width: 150px;
  height: 56%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 90px 90px 0 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.035), transparent);
}

.hero__content { position: relative; z-index: 5; }
.hero__title {
  font-family: var(--heading);
  font-size: clamp(52px, 6.4vw, 92px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 34px;
}
.hero__title .serif { color: var(--accent); font-weight: 700; }
.hero__title .rotate {
  min-width: 3.4em;
  white-space: nowrap;
}
.hero-highlight {
  position: relative;
  color: #4664ff;
  text-shadow: 0 0 32px rgba(70, 100, 255, 0.28);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner { display: inline-block; translate: 0 110%; transition: translate 1s var(--ease-expo); }
body.is-ready .line:nth-child(1) .line__inner { translate: 0 0; transition-delay: 0.12s; }
body.is-ready .line:nth-child(2) .line__inner { translate: 0 0; transition-delay: 0.22s; }
body.is-ready .line:nth-child(3) .line__inner { translate: 0 0; transition-delay: 0.32s; }
body.is-ready .line:nth-child(4) .line__inner { translate: 0 0; transition-delay: 0.42s; }

.u-underline { position: relative; display: inline-block; }
.scribble {
  position: absolute;
  left: 2%;
  bottom: -0.13em;
  width: 96%;
  height: 0.16em;
  color: var(--lime);
  overflow: visible;
}
.scribble path {
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  transition: stroke-dashoffset 1.1s var(--ease-out) 0.9s;
}
body.is-ready .scribble path { stroke-dashoffset: 0; }

.hero__sub { color: var(--muted); font-size: 16.5px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 70px; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.stat { display: flex; align-items: center; gap: 10px; }
.stat__icon { width: 17px; height: 17px; color: var(--lime); flex: none; }
.stat b { font-family: var(--heading); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.stat__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat__sep { color: #303034; font-size: 11px; }

/* load reveals */
.reveal-load { opacity: 0; translate: 0 26px; transition: opacity 0.9s var(--ease-out) var(--d, 0s), translate 0.9s var(--ease-out) var(--d, 0s); }
body.is-ready .reveal-load { opacity: 1; translate: 0 0; }

/* ════════════════════════════════════════════
   SCROLL REVEALS
   ════════════════════════════════════════════ */
.js [data-reveal] {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), translate 0.9s var(--ease-out) var(--d, 0s);
}
.js [data-reveal].in-view { opacity: 1; translate: 0 0; }
/* focus never waits for the fade — the focused control must be visible now */
.js [data-reveal]:focus-within { opacity: 1; translate: 0 0; transition: none; }

/* ════════════════════════════════════════════
   WORK
   ════════════════════════════════════════════ */
/* reviews come straight after the hero, so they start close under it */
.reviews-band { padding-top: 60px; }
.work { padding-top: 60px; }
.worklist { margin-top: 30px; border-top: 1px solid var(--line-soft); }
.workrow { border-bottom: 1px solid var(--line-soft); }
.workrow a {
  display: grid;
  grid-template-columns: 70px 1fr auto auto 40px;
  align-items: center;
  gap: 26px;
  padding: 30px 6px;
  transition: padding 0.4s var(--ease-out), background 0.4s;
}
.workrow a:hover { padding-left: 22px; background: rgba(255, 255, 255, 0.012); }
.workrow a:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.workrow__num { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.workrow__name { font-family: var(--heading); font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.workrow__meta, .workrow__year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.workrow__arrow {
  justify-self: end;
  color: var(--faint);
  font-size: 18px;
  transition: transform 0.35s var(--ease-out), color 0.35s;
}
.workrow a:hover .workrow__arrow { transform: translate(4px, -4px); color: var(--lime); }
.workrow a:hover .workrow__meta { color: var(--muted); }

/* ════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════ */
.services { background: var(--bg-soft); overflow: hidden; }
.services__beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 32%, rgba(37, 99, 235, 0.12) 44%, transparent 52%),
    linear-gradient(118deg, transparent 58%, rgba(37, 99, 235, 0.07) 70%, transparent 80%);
  filter: blur(6px);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}
.services__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-system { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; padding: 30px 0; margin-top: 18px; border-bottom: 1px solid var(--line); }
.work-system__label { grid-column: 1 / -1; color: var(--accent-text); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.work-system__body { display: grid; gap: 10px; }
.work-system__body b { font-family: var(--heading); font-size: clamp(22px, 3vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.work-system__body > span { color: var(--muted); font-size: 14.5px; max-width: 60ch; }
.work-system__arrow { align-self: center; color: var(--accent-text); font-size: 28px; transition: transform .3s var(--ease-out); }
.work-system:hover .work-system__arrow { transform: translateX(6px); }
.svc {
  position: relative;
  padding: 40px 42px 34px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, transform 0.45s var(--ease-out);
}
.svc:hover { border-color: var(--line-hover); background: var(--card-2); transform: translateY(-4px); }
.svc__ghost {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  transition: -webkit-text-stroke-color 0.4s;
}
.svc:hover .svc__ghost { -webkit-text-stroke-color: rgba(37, 99, 235, 0.22); }
.svc__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--lime-soft);
  border: 1px solid rgba(37, 99, 235, 0.28);
  color: var(--accent);
  margin-bottom: 56px;
  transition: background 0.4s, transform 0.4s var(--ease-out);
}
.svc:hover .svc__icon { transform: translateY(-3px) rotate(-4deg); }
.svc__icon svg { width: 23px; height: 23px; }
.svc h3 { font-family: var(--heading); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 14.5px; max-width: 40ch; margin-bottom: 26px; }
.svc__arrow {
  position: absolute;
  right: 30px;
  bottom: 26px;
  font-size: 22px;
  color: var(--faint);
  transition: transform 0.4s var(--ease-out), color 0.4s;
}
.svc:hover .svc__arrow { transform: translateX(8px); color: var(--lime); }
/* whole-card link (stretched over the card; hover FX stay on .svc) */
.svc__link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.svc__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }


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



































































.phototag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 6vw, 110px);
  align-items: start;
}
.contact .h2 { font-size: clamp(2.4rem, 4.2vw, 3.7rem); }
.contact__sub { color: var(--muted); font-size: 15.5px; max-width: 46ch; margin-bottom: 30px; }
/* "What happens next": three steps after someone sends the form. Layout
   grounded in 21st "How It Works Timeline" by olewandowski1. */
.contact__next { padding: 24px 24px 4px; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); }
.contact__nextTitle { margin-bottom: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }
.contact__steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding-bottom: 22px; }
.contact__steps li:not(:last-child)::before {
  content: ''; position: absolute; left: 15.5px; top: 36px; bottom: 4px; width: 1px;
  background: linear-gradient(rgba(37, 99, 235, 0.6), var(--line));
}
.contact__n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; color: var(--accent-text);
  background: var(--bg-soft); border: 1px solid rgba(37, 99, 235, 0.55);
}
.contact__steps b { display: block; margin: 5px 0 4px; font-family: var(--heading); font-size: 16.5px; font-weight: 600; color: var(--text); }
.contact__steps div span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.contact__reach { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.contact__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  transition: border-color 0.3s, background 0.3s;
}
.contact__chip:hover { border-color: var(--line-hover); background: rgba(255, 255, 255, 0.04); }
.contact__chip svg { flex: none; width: 16px; height: 16px; color: var(--accent-text); }
.contact__studio { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

.brief {
  padding: clamp(30px, 3.4vw, 52px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-hp { display: none; }
.brief__kicker { display: block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.brief__title { font-family: var(--heading); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.brief__required { font-size: 13.5px; color: var(--muted); margin-bottom: 30px; }
.brief__star, .consent__star { font-style: normal; color: var(--accent-text); }
.brief__title .serif { color: var(--accent); font-weight: 700; }
.brief__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  margin-bottom: 26px;
}
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > .mono {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.field > .mono i { font-style: normal; color: var(--accent-text); }
.field > .mono em { font-family: var(--serif); text-transform: none; letter-spacing: 0.04em; font-size: 12px; color: var(--faint); }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  min-height: 56px;
  padding: 15px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.field textarea { min-height: 132px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D1D5DB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.field select option { background: var(--card); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background-color: rgba(255, 255, 255, 0.05); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.consent input:focus-visible + .consent__box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 26px;
  cursor: pointer;
}
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: #141417;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}
.consent input:checked + .consent__box { background: var(--lime); border-color: var(--lime); }
.consent input:checked + .consent__box::after {
  content: '';
  position: absolute;
  inset: 3px 4px 5px;
  border-left: 2px solid #0A0A0B;
  border-bottom: 2px solid #0A0A0B;
  transform: rotate(-45deg);
}
/* per-field errors (script.js creates these and links them with aria-describedby) */
.field__error { font-size: 13px; line-height: 1.45; color: var(--error); }
.consent + .field__error { margin: -14px 0 22px 28px; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.consent input[aria-invalid="true"] + .consent__box { border-color: var(--error-border); }
.brief__status {
  min-height: 20px;
  margin: -8px 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.brief__status[data-state="success"] { color: var(--accent-text); }
.brief__status[data-state="error"] { color: var(--error); }
.btn--submit { width: 100%; justify-content: center; padding: 17px; font-size: 14.5px; background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--submit:hover { background: #fff; border-color: #fff; }
.btn--submit .btn__done,
.btn--submit .btn__loading { display: none; color: var(--accent); }
.btn--submit.is-loading { pointer-events: none; opacity: 0.78; }
.btn--submit.is-loading .btn__idle { display: none; }
.btn--submit.is-loading .btn__loading { display: inline; color: var(--bg); }
.btn--submit.is-sent .btn__idle { display: none; }
.btn--submit.is-sent .btn__done { display: inline; }
.btn--submit.is-sent { border-color: rgba(37, 99, 235, 0.5); }

/* ════════════════════════════════════════════
   PROFILE
   ════════════════════════════════════════════ */
.profile__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(44px, 5vw, 90px);
  align-items: center;
  margin-top: 40px;
}
.profile__img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  aspect-ratio: 0.88;
}
.profile__img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.profile__name { font-size: clamp(48px, 5.6vw, 84px); line-height: 0.95; margin-bottom: 26px; }
.chip--icon { gap: 8px; }
.profile__bio { color: var(--muted); font-size: 16px; max-width: 44ch; margin: 28px 0 44px; }
.profile__bio .serif { color: var(--lime); font-size: 1.15em; }
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tile {
  position: relative;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.tile b { display: block; font-family: var(--heading); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.tile sup { font-size: 0.55em; color: var(--lime); }
.tile .mono { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.tile i {
  position: absolute;
  top: 14px;
  right: 14px;
  font-style: normal;
  font-size: 13px;
  color: #3C3C42;
}


/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq__sub { color: var(--muted); font-size: 15px; max-width: 52ch; margin-bottom: 32px; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  align-items: center;
  gap: 16px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  transition: padding 0.3s var(--ease-out);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { padding-left: 14px; }
.acc__num { font-size: 12px; color: var(--faint); }
.acc__q { font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.01em; }
.acc__icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.acc__icon::before, .acc__icon::after {
  content: '';
  position: absolute;
  background: var(--muted);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.acc__icon::before { left: 0; right: 0; top: 7px; height: 1.6px; }
.acc__icon::after { top: 0; bottom: 0; left: 7px; width: 1.6px; }
.acc[open] .acc__icon::after { transform: scaleY(0); }
.acc[open] .acc__icon::before { background: var(--lime); }
.acc__a { overflow: hidden; }
.acc__a p {
  padding: 0 4px 28px 66px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
}

/* Homepage FAQ: the intro and a direct line to Shaun on the left, the
   questions on the right. Layout grounded in 21st "Two-Column FAQ" by
   ln-dev7. Other pages keep the plain .accordion. */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.faq__ask {
  padding: 24px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), var(--card) 60%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-lg);
}
.faq__who { display: flex; align-items: center; gap: 14px; }
.faq__av {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 14px/1 var(--heading); letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(140deg, #2563EB, #1E3A8A);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}
.faq__askTitle { font-family: var(--heading); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.faq__askLine { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.faq__askBtn { width: 100%; justify-content: center; margin-top: 20px; }
.faq__alt { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 14px; font-size: 13px; color: var(--faint); }
.faq__alt a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-hover); text-underline-offset: 3px; transition: color 0.3s, text-decoration-color 0.3s; }
.faq__alt a:hover { color: var(--text); text-decoration-color: var(--accent-text); }
.faq__more { display: inline-flex; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--text); }
.faq__more span { color: var(--accent-text); transition: transform 0.35s var(--ease-out); }
.faq__more:hover span { transform: translateX(4px); }
.faq__list .acc summary { grid-template-columns: 40px 1fr 24px; padding: 24px 4px; }
.faq__list .acc summary:hover { padding-left: 14px; }
.faq__list .acc__a p { padding: 0 4px 26px 56px; }
.faq__list .acc[open] { background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent 70%); }
@media (max-width: 1080px) {
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__ask { max-width: 560px; }
}
@media (max-width: 640px) {
  .faq__list .acc summary { grid-template-columns: 30px 1fr 20px; gap: 10px; padding: 20px 2px; }
  .faq__list .acc summary:hover { padding-left: 2px; }
  .faq__list .acc__a p { padding: 0 2px 22px 40px; }
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 80px 0 70px;
}
.footer__mark {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.footer__tagline { font-family: var(--heading); font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.footer__tagline .serif { color: var(--accent); font-weight: 700; }
.footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; color: var(--muted); }
.footer__head {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--accent-text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line-soft);
}
.footer__bottom .mono {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════ */
.pricing { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.pricing__sub { color: var(--muted); font-size: 15.5px; max-width: 56ch; margin-bottom: 56px; }

/* Homepage services → location page. Sits under the services grid. */
.services__local { color: var(--muted); font-size: 15.5px; max-width: 62ch; margin-top: 48px; }
.services__local a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.services__local a:hover { color: var(--text); }

/* ── Homepage Services: bento with mini demos ──
   21st.dev references: "Feature Section with Bento Grid" (tommyjepsen) and
   "Bento Grid Features" (shadcnspace). Rows go wide + narrow, then narrow +
   wide; two columns on tablets, one on phones. The demos are decorative
   illustrations (aria-hidden), not real data. svcCard and .services__grid
   stay for the service pages' related-services strips. */
.svb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.svb__tile {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: 28px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  transition: border-color 0.4s, background 0.4s, transform 0.45s var(--ease-out);
}
.svb__tile:hover { border-color: var(--line-hover); background: var(--card-2); transform: translateY(-4px); }
.svb__tile--build, .svb__tile--seo { grid-column: span 2; }
.svb__link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.svb__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.svb__demo { flex: 1; display: grid; place-items: center; min-height: 190px; }
.svb__tile--build .svb__demo, .svb__tile--seo .svb__demo { padding: 0 6%; }
.svb__text { display: grid; gap: 10px; }
.svb__name {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--heading); font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
}
.svb__icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.svb__icon svg { width: 19px; height: 19px; }
.svb__desc { max-width: 50ch; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svb__more { font-size: 13.5px; font-weight: 600; color: var(--accent-text); }
.svb__arrow { display: inline-block; transition: transform 0.35s var(--ease-out); }
.svb__tile:hover .svb__arrow { transform: translateX(5px); }

/* mini demos */
.svdemo { width: 100%; color: #E5E7EB; }
.svdemo p { margin: 0; }
.svdemo--browser { position: relative; max-width: 680px; container-type: inline-size; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.svdemo--browser svg { display: block; width: 100%; height: auto; }
.svdemo--browser img {   /* the Safari frame's screen area, as in the hero */
  position: absolute; left: 0.083%; top: 6.906%; width: 99.751%; height: 92.961%;
  object-fit: cover; object-position: top; background: #111;
  border-radius: 0 0 0.917% 0.917% / 0 0 1.571% 1.571%;
}
.svdemo__url {
  position: absolute; left: 23.77%; top: 1.46%; width: 55.36%; height: 3.98%;
  display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap;
  font: 500 8px/1 var(--sans); font-size: 1.42cqw; color: #A3A3A3;
}
.svdemo--panel {
  max-width: 320px; padding: 14px;
  background: #0D111B; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.svdemo--search { max-width: 560px; }
.svdemo__k { font: 500 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.svdemo__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.svdemo__days span { padding: 6px 0; border-radius: 8px; background: #151B29; color: #8A93A3; font-size: 10px; line-height: 1.3; text-align: center; }
.svdemo__days b { display: block; font: 700 14px/1.1 var(--heading); color: #F8FAFC; }
.svdemo__days .is-on { background: var(--accent); color: #DBEAFE; }
.svdemo__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.svdemo__slots span { padding: 8px 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #CBD2DC; font: 500 11px/1 var(--mono); text-align: center; }
.svdemo__slots .is-on { border-color: var(--accent); background: rgba(37, 99, 235, 0.14); color: #93C5FD; }
.svdemo__slots .is-off { color: #4B5563; text-decoration: line-through; }
.svdemo__go { margin-top: 8px !important; padding: 9px 0; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 11.5px; font-weight: 600; text-align: center; }
.svdemo__health { display: grid; gap: 8px; margin-top: 10px; }
.svdemo__health li { display: flex; justify-content: space-between; gap: 10px; color: #CBD2DC; font-size: 12.5px; }
.svdemo__health b { color: #86EFAC; font: 500 11px/1.6 var(--mono); }
.svdemo__health b::before { content: "● "; color: #22C55E; }
.svdemo__query {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-pill); background: #151B29;
  color: #CBD2DC; font-size: 12px;
}
.svdemo__query svg { flex: none; width: 13px; height: 13px; color: #8A93A3; }
.svdemo__result { margin-top: 12px; }
.svdemo__result--dim { opacity: 0.4; }
.svdemo__site { color: #8A93A3; font: 500 10.5px/1.4 var(--mono); }
.svdemo__title { margin-top: 2px !important; color: #93C5FD; font-size: 13.5px; font-weight: 600; }
.svdemo__snippet { margin-top: 2px !important; color: #9AA3B2; font-size: 11.5px; line-height: 1.45; }

@media (max-width: 1080px) {
  .svb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .svb { grid-template-columns: 1fr; margin-top: 36px; }
  .svb__tile--build, .svb__tile--seo { grid-column: auto; }
  .svb__tile--build .svb__demo, .svb__tile--seo .svb__demo { padding: 0; }
  .svb__demo { min-height: 0; }
  .svb__tile { padding: 22px; }
}
.ptier {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 34px 34px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s, transform 0.45s var(--ease-out);
}
.ptier:hover { border-color: var(--line-hover); transform: translateY(-4px); }
.ptier--featured {
  border-color: rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.10), var(--card) 42%);
}
.ptier__badge {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  padding: 5px 12px;
  background: var(--accent);
  color: #F8FAFC;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ptier__name { font-family: var(--heading); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; }
.ptier__desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 26px; min-height: 42px; }
.ptier__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.ptier__from { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.ptier__price b { font-family: var(--heading); font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.ptier__price--quote b { font-size: 32px; line-height: 1.2; max-width: 14ch; }
.ptier__per { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.ptier__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 34px; flex: 1; }
.ptier__list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--muted); }
.ptier__list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
}
.ptier__cta { width: 100%; justify-content: center; margin-top: auto; white-space: normal; text-align: center; }
.pricing__note { margin-top: 30px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* Pricing path (pricingPath macro: homepage and Stevenage page): the one-off
   projects first, then the monthly plans as slim rows, joined by a small
   "then, if you want" marker. Every price stays visible without clicking.
   Layout grounded in 21st "Two-Plan Pricing Cards" by ln-dev7. */
.pplan__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.pplan__label b { color: var(--accent-text); font-weight: 600; }
.pplan__label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pplan__projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pplan__join { display: flex; flex-direction: column; align-items: center; padding: 8px 0 26px; }
.pplan__join i { width: 1px; height: 26px; background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(37, 99, 235, 0.7)); }
.pplan__join i:last-child { background: linear-gradient(rgba(37, 99, 235, 0.7), rgba(255, 255, 255, 0.04)); }
.pplan__join span {
  padding: 7px 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.38);
  border-radius: var(--radius-pill);
}
.pplan__monthly { display: grid; gap: 14px; }
/* Stevenage page: room below the note that sits above the pricing */
.svc-related__after + .pplan { margin-top: 48px; }

.ptier--wide { padding: 38px 32px 30px; }
.ptier--wide .ptier__badge { right: auto; left: 30px; }
.ptier--wide .ptier__desc { min-height: 0; margin-bottom: 24px; }
.ptier--wide .ptier__price { padding-top: 22px; padding-bottom: 22px; margin-bottom: 26px; border-top: 1px solid var(--line-soft); }
/* the quote keeps the price row as tall as "From £1,000", so both lists line up */
.ptier--wide .ptier__price--quote b { max-width: none; font-size: 30px; line-height: 46px; }
.ptier--wide .ptier__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 13px 20px; margin-bottom: 30px; }
.ptier--wide .ptier__list li { font-size: 13.5px; line-height: 1.45; }

.prow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1.45fr) 230px;
  align-items: center;
  gap: 30px;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s;
}
.prow:hover { border-color: var(--line-hover); }
.prow__name { font-family: var(--heading); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.prow__desc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.prow__price { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.prow__price b { font-family: var(--heading); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.prow__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prow__chips li {
  padding: 6px 11px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.prow__cta { justify-content: center; white-space: nowrap; }

@media (max-width: 1080px) {
  .pplan__projects { grid-template-columns: 1fr; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; }
  .prow__chips, .prow__cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pplan__label { letter-spacing: 0.12em; }
  .pplan__label::after { display: none; }
  .ptier--wide { padding: 34px 22px 24px; }
  .ptier--wide .ptier__price:not(.ptier__price--quote) b { font-size: 40px; }
  .ptier--wide .ptier__price--quote b { line-height: 1.2; }
  .ptier--wide .ptier__list { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
}
@media (max-width: 360px) {
  /* keep "From £1,000 one-off" on one line on the narrowest phones */
  .ptier--wide .ptier__price { flex-wrap: wrap; row-gap: 6px; }
  .ptier--wide .ptier__price:not(.ptier__price--quote) b { font-size: 34px; }
  .ptier--wide .ptier__per { white-space: nowrap; }
}

/* ════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.cta__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  width: 720px;
  height: 720px;
  max-width: 92vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14), transparent 60%);
  filter: blur(34px);
  pointer-events: none;
}
.cta__stars { position: absolute; inset: 0; pointer-events: none; }
.cta__stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.3;
  animation: twinkle 4s ease infinite;
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta__label { justify-content: center; margin-bottom: 30px; }
.cta__title {
  font-family: var(--heading);
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta__title .serif { color: var(--accent); font-weight: 700; }
.cta__sub { color: var(--muted); font-size: 16.5px; max-width: 52ch; margin-bottom: 40px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ════════════════════════════════════════════
   HERO ROTATING WORD
   ════════════════════════════════════════════ */
.rotate {
  display: inline-block;
  transition: opacity 0.34s var(--ease-out), filter 0.34s var(--ease-out), transform 0.34s var(--ease-out);
}

/* ════════════════════════════════════════════
   COOKIE CONSENT
   ════════════════════════════════════════════ */
.cookie {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 130;
  width: min(440px, calc(100vw - 44px));
  transform: translateY(150%);
  transition: transform 0.7s var(--ease-expo);
}
.cookie.is-in { transform: translateY(0); }
.cookie__inner {
  padding: 22px 24px;
  background: rgba(14, 14, 16, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.cookie__text { font-size: 13px; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.cookie__text b { color: var(--text); }
.cookie__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--line-hover);
  transition: text-decoration-color 0.2s var(--ease-out);
}
.cookie__text a:hover { text-decoration-color: var(--text); }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { flex: 1; justify-content: center; padding: 11px; font-size: 12.5px; }

/* ════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px 14px 14px;
  background: rgba(14, 14, 16, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translate(-50%, 200%);
  opacity: 0;
  transition: transform 0.6s var(--ease-expo), opacity 0.4s;
}
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.toast__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #F8FAFC;
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
.toast__body { display: flex; flex-direction: column; gap: 1px; }
.toast__body b { font-size: 13.5px; }
.toast__body span { font-size: 12px; color: var(--muted); }

/* ════════════════════════════════════════════
   CASE STUDY MODAL
   ════════════════════════════════════════════ */
.cs {
  position: fixed;
  inset: 0;
  z-index: 185;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.cs.is-open { opacity: 1; pointer-events: auto; }
.cs__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 7, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cs__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(0.98);
  transition: transform 0.5s var(--ease-expo);
}
.cs.is-open .cs__panel { transform: none; }
.cs__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 11, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  transition: color 0.3s, border-color 0.3s;
}
.cs__close:hover { color: var(--accent); border-color: rgba(37, 99, 235, 0.4); }
.cs__close:focus-visible, .cs__actions .btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.cs__art {
  position: relative;
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cs-bg, linear-gradient(135deg, #20241a, #0c0c0d));
}
.cs__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0;
  transition: opacity 0.3s;
}
.cs__art.has-image { height: clamp(220px, 40vw, 320px); }
.cs__art.has-image .cs__image { opacity: 1; }
.cs__art.has-image .cs__initial,
.cs__art.has-image .cs__tag { opacity: 0; }
.cs__initial { font-size: 96px; color: rgba(255, 255, 255, 0.92); line-height: 1; }
.cs__tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.cs__content { padding: clamp(28px, 4vw, 44px); }
.cs__num { font-size: 12px; color: var(--faint); }
.cs__name { font-family: var(--heading); font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 8px; }
.cs__meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 30px; }
.cs__blocks { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.cs__block {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.cs__block:last-child { border-bottom: 0; padding-bottom: 0; }
.cs__block > .mono { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.cs__block p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.cs__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.cs__metric { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.cs__metric b { display: block; font-family: var(--heading); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin-bottom: 5px; }
.cs__metric span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.cs__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cs__actions .btn { flex: 1 1 220px; justify-content: center; }

/* ════════════════════════════════════════════
   P3 — scroll progress, back-to-top, section accent
   ════════════════════════════════════════════ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 160;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.rail__top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out), opacity 0.35s, visibility 0s linear 0.35s;
}
.rail__top.is-in { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }

/* subtle dot-grid depth behind the contact section */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000, transparent 78%);
}
.contact__grid { position: relative; z-index: 1; }
.contact__grid > * { min-width: 0; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .container, .container--narrow, .menu__inner { width: calc(100% - 48px); }
  .services__grid { grid-template-columns: 1fr; }
  
  
  
  
  
  
  
  .contact__grid, .profile__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .monolith { right: -4%; opacity: 0.55; }
  .hero__orbit { right: -28%; opacity: 0.55; }
}
@media (max-width: 768px) {
  .hero { background-position: 72% center; }
  .hero__video { object-position: 72% center; }
  .hero::before { background: rgba(4, 6, 10, 0.88); }
}
@media (max-width: 640px) {
  /* the sticky Call/Email bar must not cover a focused field */
  html { scroll-padding-bottom: 96px; }
  body { padding-bottom: 72px; }
  .menu__links { margin-bottom: 40px; }
  .menu__link { font-size: 34px; }
  .menu__meta { gap: 28px 48px; }
  .section { padding: 90px 0; }
  .container, .container--narrow, .menu__inner { width: calc(100% - 32px); }
  .workrow a { grid-template-columns: 40px 1fr 36px; }
  .workrow__meta, .workrow__year { display: none; }
  .brief__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; }
  .hero__title {
    font-size: clamp(44px, 12vw, 52px);
    line-height: 1.08;
    margin-bottom: 28px;
  }
  .hero__content { padding-bottom: 116px; }
  .stat__sep { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .nav__cta { display: none; }
  .rail { display: none; }
  .mobile-cta {
    display: flex;
    bottom: 8px;
    padding: 6px;
    border-radius: 20px;
  }
  .mobile-cta__link { min-height: 42px; }
  .cs__block { grid-template-columns: 1fr; gap: 5px; }
  .cookie { left: 16px; right: 16px; bottom: 78px; width: auto; }
  .toast { left: 16px; right: 16px; bottom: 78px; transform: translateY(200%); }
  .toast.is-in { transform: translateY(0); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .process { padding: 90px 0; }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero__video { display: none !important; }
  
  
}

/* ════════════════════════════════════════════
   SERVICE PAGES  (web-design · website-care · seo)
   ════════════════════════════════════════════ */
.svc-page__header { padding: 168px 0 4px; }
.svc-page__block  { padding: 52px 0; }

/* breadcrumb */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.crumbs a { color: var(--faint); text-decoration: none; transition: color 0.2s var(--ease-out); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--muted); }
.crumbs span[aria-hidden="true"] { color: var(--grey-700); }

/* intro lead */
.svc-lead {
  max-width: 60ch;
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

/* body copy */
.svc-page__block p { max-width: 62ch; color: var(--muted); line-height: 1.75; }
.svc-page__block h2 + p { margin-top: 14px; }
.svc-page__block p + p { margin-top: 16px; }
.svc-page__block strong { color: var(--text); font-weight: 600; }
.svc-page__block p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-hover);
  transition: text-decoration-color 0.2s var(--ease-out);
}
.svc-page__block p a:hover { text-decoration-color: var(--text); }

/* Sub-headings inside a service/location block — used for the numbered
   process steps on the Stevenage page. Sits below .h2 in the scale. */
.svc-page__block h3 {
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 34px;
}
.svc-page__block h3 + p { margin-top: 10px; }

/* button row + chips spacing */
.svc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.svc-page .chips { margin-top: 24px; }

@media (max-width: 768px) {
  .svc-page__header { padding: 128px 0 4px; }
  .svc-page__block { padding: 40px 0; }
}

/* ════════════════════════════════════════════
   SERVICE PAGES — layout v2  (web-design · website-care · seo ·
   web-design-stevenage). Scoped to .svc-page--service so /faq/ and
   /privacy/, which share .svc-page, keep their current layout.
   ════════════════════════════════════════════ */

/* ── Hero: copy beside the service's film frame, facts strip below ── */
.svc-hero { padding: 150px 0 8px; }
.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.svc-hero__title {
  font-family: var(--heading);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.svc-hero__art {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(37, 99, 235, 0.16);
}
.svc-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--art-x, 50%) 50%;
  display: block;
}
/* soft inner vignette so the frame sits in the dark page */
.svc-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.svc-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-facts > div { padding: 20px 24px 22px 0; }
.svc-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.svc-facts dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.svc-facts dd { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--text); }

/* ── Sections: sticky heading column + content column ── */
.svc-section { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.svc-hero + .svc-section { border-top: 0; }
/* a figure that belongs to the section above it */
.svc-section--flush { border-top: 0; padding-top: 0; }
.svc-section__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.svc-section__head { position: sticky; top: 132px; }
.svc-section__intro { max-width: 760px; margin-bottom: 40px; }
.svc-h2 {
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.svc-section__head p,
.svc-section__intro p,
.svc-section__body > p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 68ch;
}
.svc-section__head p { margin-top: 16px; font-size: 15.5px; }
.svc-section__intro p { margin-top: 16px; }
.svc-section__body > p + p,
.svc-section__body > * + p { margin-top: 18px; }
.svc-page--service strong { color: var(--text); font-weight: 600; }

/* inline links in running text */
.svc-page--service :is(.svc-section, .svc-hero) :is(p, li) a:not(.btn):not(.build__link):not(.compare__link) {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-hover);
  transition: text-decoration-color 0.2s var(--ease-out);
}
.svc-page--service :is(.svc-section, .svc-hero) :is(p, li) a:not(.btn):hover { text-decoration-color: var(--text); }

/* ── Feature cards ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature {
  padding: 26px 26px 28px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s;
}
.feature:hover { border-color: var(--line-hover); }
.feature--wide { grid-column: 1 / -1; }
.feature h3 { font-family: var(--heading); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 16px 0 10px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.feature p + p { margin-top: 12px; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.28);
  color: var(--accent-text);
  flex: none;
}
.feature__icon svg { width: 22px; height: 22px; }

/* ── Recent builds (real client work) ── */
.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.build {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* the frame is fixed at 16:10 — images are positioned inside it, so they can't stretch it */
.build__shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0d12; border-bottom: 1px solid var(--line-soft); }
.build__desktop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.build__mobile {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 21%;
  height: auto;
  border: 3px solid #1F2937;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.build__text { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.build__sector { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.build__name { font-family: var(--heading); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 8px 0 10px; }
.build__text p:not(.build__sector) { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.build__link {
  margin-top: auto;
  padding-top: 18px;
  align-self: flex-start;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-hover);
}
.build__link:hover { text-decoration-color: var(--text); }

/* ── Process steps inside a content column ── */
.psteps--compact { margin-top: 0; }
.psteps--compact .pstep { grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; }
.psteps--compact .pstep__num { font-size: 2rem; }
.psteps--compact .pstep__body h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.svc-section__body .psteps--compact + p { margin-top: 28px; }

/* ── Comparison ── */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare__col {
  padding: 26px 26px 28px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.compare__col--accent {
  border-color: rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.10), var(--card) 55%);
}
.compare__col h3 { font-family: var(--heading); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.compare__col p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.compare__col p + p { margin-top: 12px; }
.compare__list, .ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.compare__list li, .ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.compare__list li::before, .ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(45deg);
}
.compare__link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-hover); }
.compare__link:hover { text-decoration-color: var(--text); }
.ticks { margin: 20px 0 22px; }

/* ── Callout ── */
.callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}
.callout__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.callout p:not(.callout__label) { color: var(--muted); line-height: 1.75; }

/* ── Diagrams (inline SVG; the figcaption carries the meaning) ── */
.diagram { margin: 0; }
.svc-section__body .diagram { margin: 6px 0 28px; }
.diagram__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; margin-inline: auto; }
.dg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.diagram__panel {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.diagram__panel img { display: block; width: 100%; height: auto; }
/* label in its own band above the illustration, so it never covers it */
.diagram__label {
  padding: 16px 16px 4px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.diagram figcaption { margin: 16px auto 0; max-width: 880px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.diagram--map .dg { max-width: 560px; }
.diagram--map figcaption { margin-left: 0; }
.dg-title { fill: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.dg-text { fill: var(--text); font-family: var(--sans); font-size: 12px; font-weight: 600; }
.dg-text--strong { font-size: 16px; font-weight: 700; }
.dg-tag { fill: var(--accent-text); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.dg-q { fill: var(--accent-text); font-family: var(--heading); font-size: 15px; font-weight: 700; }
.dg-box { fill: var(--card-2); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.dg-box--accent { fill: rgba(37, 99, 235, 0.18); stroke: var(--accent); }
.dg-box--you { fill: transparent; stroke: var(--text); stroke-width: 1.4; }
.dg-line { fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linecap: round; }
.dg-line--dash { stroke-dasharray: 5 5; }
.dg-bar { fill: rgba(255, 255, 255, 0.14); }
.dg-bar--head { fill: rgba(96, 165, 250, 0.38); }
.dg-bar--you { fill: var(--accent-text); }
.dg-ring { fill: none; stroke: rgba(96, 165, 250, 0.35); stroke-width: 1.2; stroke-dasharray: 4 6; }
.dg-road { fill: none; stroke: #4B5563; stroke-width: 6; stroke-linecap: round; }
.dg-roadlabel { fill: var(--faint); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.dg-town { fill: var(--muted); }
.dg-home { fill: var(--accent); stroke: rgba(96, 165, 250, 0.35); stroke-width: 8; }

/* ── SEO monthly cycle (vertical, connected) ── */
.cycle { display: flex; flex-direction: column; }
.cycle__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 20px;
  padding-bottom: 30px;
}
.cycle__step > .feature__icon { grid-row: 1 / span 2; }
.cycle__step h3 { font-family: var(--heading); font-size: 20px; font-weight: 700; margin: 8px 0 8px; }
.cycle__step p { grid-column: 2; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.cycle__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21.5px;
  top: 52px;
  bottom: 8px;
  width: 1px;
  background: var(--line-hover);
}
.cycle__repeat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); padding-left: 64px; }

/* ── Founder card (Stevenage) ── */
.founder {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 14px 22px 14px 14px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.founder__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.founder__name { font-family: var(--heading); font-size: 18px; font-weight: 700; color: var(--text); }
.founder__role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 2px; }

/* ── Google review cards (homepage work section + Stevenage) ── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.review {
  margin: 0;
  padding: 26px 26px 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s;
}
.review:hover { border-color: var(--line-hover); }
.review__stars { color: var(--star); font-size: 17px; letter-spacing: 0.12em; line-height: 1; }
.review__quote { margin: 16px 0 0; }
.review__quote p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.review__quote p + p { margin-top: 12px; }
.review__by { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.review__name { font-family: var(--heading); font-size: 17px; font-weight: 700; color: var(--text); }
.review__biz { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.reviews__source { margin-top: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.reviews__source a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.reviews__source a:hover { color: var(--text); }

/* ── Pricing: the page's own plan beside its explanation ── */
.svc-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.svc-pricing__text p { color: var(--muted); line-height: 1.75; max-width: 60ch; margin-top: 16px; }
.svc-pricing__note { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-pricing .ptier { max-width: 460px; width: 100%; justify-self: end; }

/* ── In-page enquiry prompt ── */
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 44px; }
.svc-section__grid > .svc-cta { grid-column: 2; margin-top: 12px; }
@media (max-width: 1080px) { .svc-section__grid > .svc-cta { grid-column: auto; } }
.svc-cta p { color: var(--muted); font-size: 14.5px; }
.svc-cta p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-hover); }
.svc-cta p a:hover { text-decoration-color: var(--text); }

/* ── Related services ── */
.svc-related { background: var(--bg-soft); }
.svc-related .svc-h2 { margin-bottom: 8px; }
.services__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-related .services__grid { margin-top: 32px; }
.svc-related__after { margin-top: 36px; max-width: 72ch; color: var(--muted); line-height: 1.75; }

@media (max-width: 1080px) {
  .svc-hero { padding-top: 132px; }
  .svc-hero__grid, .svc-section__grid, .svc-pricing { grid-template-columns: 1fr; }
  .svc-hero__art { aspect-ratio: 16 / 9; }
  .svc-section__head { position: static; }
  .svc-pricing .ptier { justify-self: start; }
  .services__grid--two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .builds, .compare, .diagram__pair { grid-template-columns: 1fr; }
  .svc-section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .svc-hero { padding-top: 118px; }
  .svc-facts { grid-template-columns: 1fr; }
  .svc-facts > div, .svc-facts > div + div { padding: 14px 0; border-left: 0; }
  .svc-facts > div + div { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .compare__col { padding: 22px 20px 24px; }
  .build__text { padding: 20px 20px 24px; }
  .cycle__repeat { padding-left: 0; }
  /* the map scales down more than the other diagrams: keep labels ≥12px */
  .dg--map .dg-text { font-size: 14px; }
  .dg--map .dg-text--strong { font-size: 17px; }
  .dg--map .dg-tag, .dg--map .dg-roadlabel { font-size: 13.5px; }
}

/* ════════════════════════════════════════════
   LEGAL PAGES  (privacy)
   Long-form prose: lists, a cookie table and a
   summary card. Scoped to .legal so nothing here
   leaks into the service pages.
   ════════════════════════════════════════════ */
.legal [id] { scroll-margin-top: 120px; }
.legal__stamp { margin-top: 18px; font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }

/* "short version" card up top */
.legal__summary {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.legal__summaryTitle {
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

/* sub-headings inside a block */
.legal .legal__h3 {
  margin-top: 34px;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.legal .legal__h3 + p { margin-top: 12px; }
.legal .legal__h2Spaced { margin-top: 52px; }

/* prose lists */
.legal__list {
  max-width: 62ch;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.75;
}
.legal .legal__list + p { margin-top: 16px; }
.legal__list li { position: relative; padding-left: 20px; }
.legal__list li + li { margin-top: 10px; }
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.legal__list .mono {
  display: inline-block;
  min-width: 74px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.legal__list a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-hover);
  transition: text-decoration-color 0.2s var(--ease-out);
}
.legal__list a:hover { text-decoration-color: var(--text); }

/* cookie table — scrolls on its own rather than stretching the page */
.legal__tableWrap { margin-top: 20px; overflow-x: auto; }
.legal__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.legal__table th {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line-hover);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal__table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  vertical-align: top;
}
.legal__table td:last-child, .legal__table th:last-child { padding-right: 0; }
.legal__table td .mono { font-size: 12px; color: var(--text); }
.legal__table strong { color: var(--text); }

.legal__note { margin-top: 14px; font-size: 12px; letter-spacing: 0.04em; color: var(--accent-text); min-height: 1em; }

@media (max-width: 768px) {
  .legal__summary { padding: 24px 22px; }
}

/* ════════════════════════════════════════════
   HOME HERO — headline beside real client websites
   Replaced the scroll film (Nov 2026): one screen, and the first thing
   a visitor sees is work Dower Digital has actually built.
   The showcase is a still of the first site by default, which is what
   visitors get with JS off or reduced motion requested. script.js §7g
   rotates the sites; the active progress bar's fill animation is its
   clock, so pausing that animation pauses everything.
   ════════════════════════════════════════════ */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;              /* the glow and the fanned phones bleed */
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px 0 88px;
}
.home-hero__glow {
  position: absolute; z-index: -1;
  right: -12%; top: 4%;
  width: min(1100px, 78vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.09) 52%, transparent 74%);
  pointer-events: none;
}
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.home-hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-text);
}
.home-hero__kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.home-hero__title {
  font-family: var(--heading); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem); color: #fff;
}
.home-hero__sub {
  margin-top: 20px; max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, 0.74);
}
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint);
}
.home-hero__proof a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-underline-offset: 4px; transition: color 0.3s; }
.home-hero__proof a:hover { color: var(--text); text-decoration: underline; }
.home-hero__proof a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.home-hero__stars { color: var(--star); font-size: 13px; letter-spacing: 0.08em; }

/* showcase — 21st.dev device frames (Magic UI "Safari" and designali-in
   "iPhone 16 Pro", drawn once as SVG symbols in macros.njk). Each frame
   sets its device's size; the screenshots and the address-bar text are
   HTML laid over the frame's screen area, placed in % of its viewBox.
   Two browsers and a phone; three fanned phones when narrow. */
.showcase { position: relative; }
.showcase__symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.showcase__stage { position: relative; aspect-ratio: 16 / 11.2; }
.showcase__device { position: absolute; margin: 0; }
.showcase__frame { display: block; width: 100%; height: auto; }
.showcase__browser {
  container-type: inline-size;   /* the address text scales with the window */
  border-radius: 1% / 1.6%;      /* the frame's corners, for the shadow */
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}
.showcase__browser--back { top: 0; right: 0; width: 70%; opacity: 0.5; filter: saturate(0.85); }
.showcase__browser--front { top: 10%; left: 0; width: 84%; z-index: 1; }
/* over the frame's address pill: x 286–952, y 11–41 of 1203 × 753 */
.showcase__address {
  position: absolute; left: 23.77%; top: 1.46%; width: 55.36%; height: 3.98%;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; gap: 0.6cqw; padding: 0 8px; padding: 0 2cqw; overflow: hidden;
  font: 500 clamp(6px, 0.75vw, 10px)/1 var(--sans); font-size: 1.42cqw; color: #A3A3A3;
}
.showcase__lock { flex: none; width: 6px; width: 0.74cqw; height: auto; fill: currentColor; }
.showcase__url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.showcase__phone { filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.75)); }
.showcase__phone--main { right: 1%; bottom: 0; width: 23%; z-index: 2; }
.showcase__phone--prev, .showcase__phone--next { display: none; }
.showcase__island { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.showcase__screen { position: absolute; overflow: hidden; background: #111; }
/* the frames' screen areas, in % of each viewBox */
.showcase__screen--desktop {   /* x 1, y 52, 1200 × 700 of 1203 × 753; bottom corners r 11 */
  left: 0.083%; top: 6.906%; width: 99.751%; height: 92.961%;
  border-radius: 0 0 0.917% 0.917% / 0 0 1.571% 1.571%;
}
.showcase__screen--mobile {    /* x 14.08, y 12.81, 171.98 × 374.37 of 200 × 400; r 24.62 */
  left: 7.04%; top: 3.2025%; width: 85.99%; height: 93.5925%;
  border-radius: 14.316% / 6.576%;
}
.showcase__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transition: opacity 0.9s var(--ease-out);
}
.showcase__screen img.is-on { opacity: 1; }

.showcase__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 22px; }
.showcase__caption {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-pill); background: rgba(8, 9, 12, 0.82);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #E5E7EB;
}
.showcase__live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 10px #22C55E; }
.showcase__controls { display: flex; align-items: center; gap: 12px; }
.showcase__controls[hidden] { display: none; }
.showcase__bars { display: flex; gap: 6px; }
.showcase__bar { position: relative; width: 22px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.showcase__fill { position: absolute; inset: 0; background: var(--accent-text); transform: scaleX(0); transform-origin: left; }
.showcase__bar.is-on .showcase__fill { transform: scaleX(1); }
.showcase__toggle {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--line-hover); border-radius: 50%; background: rgba(255, 255, 255, 0.04); color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.showcase__toggle:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.showcase__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.showcase__toggle svg { width: 12px; height: 12px; fill: currentColor; }
.showcase__play, .showcase.is-paused .showcase__pause { display: none; }
.showcase.is-paused .showcase__play { display: block; }

/* the rotation's clock (script.js §7g moves on when it ends). It only
   exists when motion is welcome, so under reduced motion nothing rotates
   even if the preference changes mid-visit */
@media (prefers-reduced-motion: no-preference) {
  .showcase__bar.is-on .showcase__fill { animation: showcaseFill 5.5s linear both; }
  .showcase.is-paused .showcase__fill,
  .showcase.is-offscreen .showcase__fill { animation-play-state: paused; }
}
/* hold still while a mouse is over the screens (not the controls, so the
   play button always responds at once) */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .showcase:has(.showcase__stage:hover) .showcase__fill { animation-play-state: paused; }
}
@keyframes showcaseFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1080px) {
  .home-hero { min-height: 0; padding-top: 132px; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .showcase { max-width: 700px; }
}
@media (max-width: 640px) {
  .home-hero { padding: 118px 0 72px; }
  .home-hero__proof { gap: 10px 22px; font-size: 11px; }
}
@media (max-width: 400px) {
  .home-hero__kicker { font-size: 11px; letter-spacing: 0.16em; }
}
/* the kicker lists the services; keep it on one line on 320px screens */
@media (max-width: 360px) {
  .home-hero__kicker { letter-spacing: 0.08em; }
}
@media (max-width: 600px) {
  .showcase__stage { display: flex; justify-content: center; align-items: center; aspect-ratio: auto; padding: 6px 0; }
  .showcase__browser { display: none; }
  .showcase__device { position: relative; }
  .showcase__phone { flex: none; width: 44%; }
  .showcase__phone--main { right: auto; bottom: auto; }
  .showcase__phone--prev, .showcase__phone--next { display: block; opacity: 0.75; }
  .showcase__phone--prev { transform: translateX(30%) rotate(-8deg) scale(0.86); }
  .showcase__phone--next { transform: translateX(-30%) rotate(8deg) scale(0.86); }
  .showcase__meta { flex-direction: column; }
}

/* ════════════════════════════════════════════
   PROCESS
   Homepage: the four stages at a glance (.pflow) and "Built into every
   website" in a strip (.pinc). The service pages keep the editorial
   .psteps--compact rows below.
   ════════════════════════════════════════════ */
.process__intro { max-width: 62ch; margin-top: 18px; color: var(--muted); line-height: 1.7; }

.psteps { margin-top: 64px; border-top: 1px solid var(--line); }
.pstep {
  display: grid; grid-template-columns: minmax(72px, 96px) 1fr; gap: 32px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease-out);
}
.pstep:hover { background: rgba(255,255,255,.015); }
.pstep__num {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--grey-700);
  transition: -webkit-text-stroke-color .4s var(--ease-out);
}
.pstep:hover .pstep__num { -webkit-text-stroke-color: var(--accent); }
.pstep__body { max-width: 68ch; }
.pstep__body h3 {
  font-family: var(--heading); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600; letter-spacing: -.01em; color: var(--text); margin-bottom: 12px;
}
.pstep__body p { color: var(--muted); line-height: 1.7; }
.pstep__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pstep__tags li {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 7px 13px; transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.pstep:hover .pstep__tags li { border-color: var(--line-hover); color: var(--muted); }

/* Four cards in a row joined by a line through the numbers. Layout grounded
   in 21st "How It Works Steps" by ln-dev7. */
.pflow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.pflow::before {
  content: ''; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .75), rgba(37, 99, 235, .25) 70%, var(--line));
}
.pflow__step { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pflow__num {
  position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--accent-text);
  background: var(--bg); border: 1px solid rgba(37, 99, 235, .55);
}
.pflow__card {
  flex: 1; padding: 26px 24px; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); transition: border-color .3s, transform .4s var(--ease-out);
}
.pflow__step:hover .pflow__card { border-color: var(--line-hover); transform: translateY(-3px); }
.pflow__card h3 { font-family: var(--heading); font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.pflow__card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.pflow__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pflow__tags li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 5px 9px;
}
.pinc {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start;
  margin-top: 24px; padding: 26px 28px; background: rgba(255, 255, 255, .015);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
}
.pinc__title { font-family: var(--heading); font-size: 18px; font-weight: 600; line-height: 1.3; }
.pinc__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pinc__list li { position: relative; padding-left: 32px; font-size: 14px; line-height: 1.5; }
.pinc__list li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(37, 99, 235, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pinc__list b { display: block; font-weight: 600; }
.pinc__list span { color: var(--faint); font-size: 13px; }

@media (max-width: 1080px) {
  .pflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pflow::before { display: none; }
  /* no joining line in the 2×2 grid, so each number sits beside its card */
  .pflow__step { flex-direction: row; gap: 14px; }
  .pinc { grid-template-columns: 1fr; }
  .pinc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pflow { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .pflow::before {
    display: block; left: 20px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto;
    background: linear-gradient(rgba(37, 99, 235, .7), var(--line));
  }
  .pflow__num { width: 40px; height: 40px; font-size: 12px; }
  .pflow__card { padding: 22px 20px; }
  .pinc { padding: 22px 20px; }
  .pinc__list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .psteps { margin-top: 44px; }
  .pstep { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .pstep__num { font-size: 1.6rem; }
}

/* ════════════════════════════════════════════
   CONTACT RAIL — hover labels
   The icons were unlabelled, so the phone number was invisible unless
   you clicked. Each button now slides out a pill on hover/focus.
   ════════════════════════════════════════════ */
.rail__btn { position: relative; }
.rail__btn[data-rail-label]::after {
  content: attr(data-rail-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  translate: 6px -50%;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 18, 0.94);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), translate 0.28s var(--ease-out);
}
.rail__btn[data-rail-label]:hover::after,
.rail__btn[data-rail-label]:focus-visible::after {
  opacity: 1;
  translate: 0 -50%;
}

/* Touch devices can't hover — a tooltip would only ever flash on tap,
   so suppress it and let the aria-label carry the meaning. */
@media (hover: none) {
  .rail__btn[data-rail-label]::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rail__btn[data-rail-label]::after { transition: opacity 0.01s; translate: 0 -50%; }
}
