/* JJ Websites - site styles. Tokens first; tweak the accent ramp here. */
/* Archivo is served from this site (fonts/), under the SIL Open Font License. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/archivo-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; }
:root {
  --color-bg: #06080c;
  --color-surface: #0c1422;
  --color-navy: #0a1120;
  --color-text: #eef1f6;
  --color-muted: #9aa4b5;
  --color-accent: #3d7bff;
  --color-accent-300: #9dbaff;
  --color-accent-400: #6f9bff;
  --color-accent-600: #2f67e6;
  --color-accent-700: #2553c4;
  --color-divider: color-mix(in srgb, #eef1f6 20%, transparent);
  --color-line: color-mix(in srgb, #eef1f6 10%, transparent);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --font: "Archivo", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--color-bg); color: var(--color-text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  text-wrap: pretty; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-300); text-underline-offset: 3px; }
a:hover { color: var(--color-text); }
img { display: block; max-width: 100%; height: auto; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.grayscale { filter: grayscale(1) contrast(1.08); }
.arrow { flex: none; fill: none; stroke: currentColor; stroke-width: 2; }

/* - layout - */
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-end { padding-bottom: clamp(72px, 9vw, 128px); }
.band { background: var(--color-navy); border-top: 2px solid var(--color-divider); }
.rule-top { border-top: 2px solid var(--color-divider); }
.rule-bottom { border-bottom: 2px solid var(--color-divider); }
main { flex: 1; outline: none; }

.eyebrow {
  margin: 0 0 20px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-accent-300);
}
.lede { color: var(--color-muted); font-size: clamp(17px, 1.4vw, 19px); }
.muted { color: var(--color-muted); }
.h-section { font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -0.04em; max-width: 14ch; }
.h-page { margin-left: -0.04em; font-size: clamp(44px, 7vw, 104px); line-height: .96; letter-spacing: -0.045em; }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px);
}
.page-head {
  padding-block: clamp(56px, 9vw, 128px) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 64px; align-items: end;
}
.page-head .eyebrow { margin-bottom: 24px; }
.page-head .lede { max-width: 42ch; }

/* - buttons & links - */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; text-decoration: none; font: inherit; font-weight: 800;
  font-size: 15px; line-height: 1.2; padding: 15px 20px;
  border: 1px solid transparent; border-radius: 0;
  transition: background .2s, transform .2s, color .2s;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.hero-actions .btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-divider); justify-content: flex-start; }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-wide { min-width: 200px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--color-text);
  text-decoration: none; font-weight: 600; font-size: 15px; padding-bottom: 4px;
  border-bottom: 2px solid var(--color-accent); transition: gap .25s, color .2s;
}
.link-arrow:hover { gap: 16px; color: var(--color-accent-300); }

/* - skip link - */
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px;
  background: var(--color-accent); color: var(--color-bg);
}
.skip:focus { left: 8px; color: var(--color-bg); }

/* - header - */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent; transition: background .3s ease, border-color .3s ease;
}
.site-header.is-solid { background: color-mix(in srgb, #06080c 78%, transparent); border-bottom-color: var(--color-line); }
.site-nav { height: 68px; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.brand {
  margin-right: auto; display: flex; align-items: center; gap: 10px; color: var(--color-text);
  text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.brand:hover { color: var(--color-text); }
.brand-mark {
  width: 22px; height: 22px; background: var(--color-accent); color: var(--color-bg);
  display: grid; place-items: center; font-size: 11px; letter-spacing: -0.04em;
}
.nav-links { display: flex; gap: clamp(20px, 2.8vw, 36px); align-self: stretch; }
.nav-links a {
  display: flex; align-items: center; color: var(--color-muted); text-decoration: none; font-size: 15px;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a[aria-current="page"] { color: var(--color-text); border-bottom-color: var(--color-accent); }
.nav-cta { padding: 11px 16px; font-size: 14px; gap: 14px; }
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; place-items: center; cursor: pointer;
  background: transparent; color: var(--color-text); border: 1px solid var(--color-divider);
}
.menu-btn:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
  position: absolute; top: calc(100% + 2px); left: 0; right: 0;
  max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 24px; display: flex; flex-direction: column;
  background: var(--color-bg); border-bottom: 2px solid var(--color-divider);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu.is-open { visibility: visible; clip-path: inset(0 0 -60px 0); transition: clip-path .4s var(--ease), visibility 0s; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--color-line); color: var(--color-text); text-decoration: none;
  font-weight: 800; font-size: 28px; letter-spacing: -0.03em;
}
.mobile-links a[aria-current="page"] { color: var(--color-accent-300); }
.mobile-links small { font-size: 13px; color: var(--color-muted); font-weight: 400; letter-spacing: .08em; }
.mobile-menu .btn { margin-top: 20px; padding: 16px 18px; font-size: 16px; }
.mobile-email { padding-top: 18px; color: var(--color-muted); font-size: 15px; text-decoration: none; }
/* options drop in one after another */
.mobile-menu > *, .mobile-links a { opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .35s var(--ease); }
.mobile-menu.is-open > *, .mobile-menu.is-open .mobile-links a { opacity: 1; transform: none; }
.mobile-menu > .mobile-links { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-links a:nth-child(1) { transition-delay: .06s; }
.mobile-menu.is-open .mobile-links a:nth-child(2) { transition-delay: .11s; }
.mobile-menu.is-open .mobile-links a:nth-child(3) { transition-delay: .16s; }
.mobile-menu.is-open > .btn { transition-delay: .21s; }
.mobile-menu.is-open > .mobile-email { transition-delay: .26s; }
.menu-scrim {
  position: fixed; inset: 0; z-index: 40; background: rgba(2, 4, 8, .6);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.menu-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.menu-btn svg { transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.is-open, .mobile-menu > *, .mobile-links a, .menu-scrim, .menu-btn svg { transition: none !important; }
}

@media (max-width: 899px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 900px) { .mobile-menu, .menu-scrim { display: none !important; } }

/* - image slots: swap the .slot span for an <img> when you have a screenshot - */
.slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 100%; height: 100%; aspect-ratio: 3 / 2; padding: 12px; text-align: center; overflow: hidden;
  font: 13px/1.3 system-ui, -apple-system, sans-serif; background: rgba(127, 127, 127, .08);
}
.slot::after { content: ""; position: absolute; inset: 0; border: 1.5px dashed currentColor; opacity: .35; pointer-events: none; }
.slot svg { flex: none; opacity: .45; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slot-cap { max-width: 90%; font-weight: 500; letter-spacing: .01em; opacity: .75; }
.media > img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* - hero - */
.hero { position: relative; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    linear-gradient(to right, var(--color-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-inner {
  position: relative; padding-block: clamp(48px, 9vw, 120px) clamp(56px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(48px, 6vw, 88px); align-items: center;
}
.hero-kicker { margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; background: var(--color-accent); }
.hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .98; letter-spacing: -0.045em; margin-left: -0.05em; }
.hero h1 span { color: var(--color-accent-400); }
.hero .lede { margin-top: clamp(24px, 3vw, 36px); max-width: 50ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }
.hero-points {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 2px solid var(--color-divider);
}
.hero-points li { padding: 16px 16px 0 0; font-size: 14px; line-height: 1.45; color: var(--color-muted); }
.hero-points strong { display: block; color: var(--color-text); font-weight: 600; }

/* hero mockup - sized in container units so it scales as one piece */
.mock { position: relative; width: 100%; aspect-ratio: 10 / 9; container-type: inline-size; }
.mock-browser {
  position: absolute; left: 0; top: 4%; width: 86%;
  background: var(--color-surface); border: 1px solid var(--color-divider); box-shadow: var(--shadow-lg);
}
.mock-bar { display: flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw 2.4cqw; border-bottom: 1px solid var(--color-line); }
.mock-bar > i { width: 1.4cqw; height: 1.4cqw; background: var(--color-divider); }
.mock-url {
  margin-left: 2cqw; flex: 1; padding: .6cqw 1.6cqw; background: var(--color-bg);
  font-size: max(9px, 1.8cqw); color: var(--color-muted); letter-spacing: .02em;
}
.mock-shot { display: block; width: 100%; height: auto; }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 30%;
  background: var(--color-bg); border: 5px solid #141c2c; box-shadow: var(--shadow-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.mock-toast {
  position: absolute; left: 5%; bottom: 6%; width: min(58%, 300px); padding: 14px 16px;
  background: color-mix(in srgb, var(--color-navy) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-divider); box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: flex-start;
}
.mock-toast-icon {
  flex: none; width: 32px; height: 32px; background: var(--color-accent); color: var(--color-bg);
  display: grid; place-items: center;
}
.mock-toast-icon svg { fill: none; stroke: currentColor; stroke-width: 2; }
.mock-toast-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock-toast-text strong { font-size: 14px; line-height: 1.3; font-weight: 600; }
.mock-toast-text span { font-size: 12px; line-height: 1.4; color: var(--color-muted); }

/* - home: work cards - */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.work-card {
  display: flex; flex-direction: column; color: var(--color-text); text-decoration: none;
  border-top: 2px solid var(--color-divider); padding-top: 20px; transition: border-color .3s;
}
.work-card:hover { color: var(--color-text); border-color: var(--color-accent); }
.work-card-meta {
  display: flex; justify-content: space-between; gap: 12px; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted);
}
.work-card-meta b { color: var(--color-accent-300); font-weight: 700; }
.work-card .media { display: block; margin-top: 16px; aspect-ratio: 16 / 10; background: var(--color-surface); border: 1px solid var(--color-divider); }
.work-card-name { margin-top: 20px; font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; }
.work-card-type { margin-top: 6px; font-size: 15px; color: var(--color-muted); }

/* - home: services grid - */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1px;
  background: var(--color-line); border-top: 2px solid var(--color-divider); border-bottom: 1px solid var(--color-line);
}
.svc {
  background: var(--color-navy); display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 44px);
}
@media (max-width: 899px) { .svc { padding-left: 0; } }
.svc-top { display: flex; justify-content: space-between; align-items: center; color: var(--color-accent-300); }
.svc-top span { font-size: 13px; letter-spacing: .08em; color: var(--color-muted); }
.svc-top svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin-top: clamp(24px, 4vw, 56px); font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; }
.svc p { font-size: 15.5px; color: var(--color-muted); }

/* - split two-column - */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.split h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.split p:not(.eyebrow) { max-width: 52ch; color: var(--color-muted); }
.split .link-arrow { margin-top: 28px; }

/* - tick lists - */
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-line); }
.ticks li {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--color-line); font-size: 15px;
}
.ticks li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--color-accent); }

/* - work page - */
.project {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); align-items: center;
  padding-block: clamp(40px, 6vw, 80px); border-bottom: 2px solid var(--color-divider);
}
.project:nth-child(even) { flex-direction: row-reverse; }
.project-shot {
  flex: 1 1 560px; min-width: 0; display: block; background: var(--color-surface);
  border: 1px solid var(--color-divider); color: inherit; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.project-shot:hover { transform: translateY(-6px); border-color: var(--color-accent); box-shadow: 0 30px 70px rgba(0,0,0,.5); color: inherit; }
.project-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--color-line); }
.project-bar i { width: 8px; height: 8px; background: var(--color-divider); }
.project-bar span { margin-left: 10px; font-size: 12px; color: var(--color-muted); }
.project-shot .media { display: block; aspect-ratio: 16 / 10; background: var(--color-navy); }
.project-body { flex: 1 1 320px; min-width: 0; max-width: 520px; }
.project-meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.num { font-weight: 800; font-size: 15px; color: var(--color-accent-300); }
.project-meta .type { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.project h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -0.035em; }
.project-body > p { margin-top: 18px; color: var(--color-muted); }
.project .ticks { margin-top: 24px; }
.project .link-arrow { margin-top: 28px; }

/* - services page - */
#services, #pricing, #plans { scroll-margin-top: 72px; }
.svc-hero { position: relative; overflow: hidden; }
.svc-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 1100px); }
.svc-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.svc-hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, var(--color-bg) 0%, color-mix(in srgb, var(--color-bg) 55%, transparent) 22%, transparent 48%),
    linear-gradient(to top, var(--color-bg) 0%, transparent 22%),
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 14%);
}
.svc-hero-label {
  display: none; position: absolute; z-index: 1; top: clamp(140px, 16vw, 200px); right: clamp(20px, 3vw, 56px);
  padding-bottom: 14px; border-bottom: 1px solid var(--color-accent);
  font-size: 11px; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted);
}
@media (min-width: 1400px) { .svc-hero-label { display: block; } }
.svc-hero-inner { position: relative; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.svc-hero .eyebrow { margin-bottom: 20px; }
.svc-hero h1 { max-width: 13ch; margin-left: -0.03em; font-size: clamp(40px, 4.8vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.svc-hero .lede { margin-top: clamp(20px, 2.4vw, 28px); max-width: 50ch; }
.svc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 36px); }
.svc-hero-actions .btn { min-width: 200px; }
.svc-hero-points { list-style: none; margin: clamp(36px, 4vw, 52px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 0; }
.svc-hero-points li { display: flex; align-items: center; gap: 12px; max-width: 170px; padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--color-line); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.svc-hero-points li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.svc-hero-points span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-divider); background: color-mix(in srgb, var(--color-bg) 60%, transparent); color: var(--color-accent); }
.svc-hero-points svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) {
  .svc-hero-art { display: none; }
  .svc-hero-inner { padding-block: 40px 44px; }
}
.svc-detail {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 clamp(32px, 5vw, 80px); border-bottom: 2px solid var(--color-divider);
}
.svc-detail-title {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr) auto;
  gap: 8px clamp(16px, 2.4vw, 32px); align-items: center; padding-block: clamp(22px, 2.6vw, 32px); cursor: pointer;
}
.svc-detail h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.035em; }
.svc-sum { color: var(--color-muted); font-size: 16px; }
.svc-detail-title:hover h2 { color: var(--color-accent-300); }
.svc-detail > p { color: var(--color-muted); }
.svc-detail > p, .svc-detail > .ticks, .svc-detail > .explainer { margin-bottom: clamp(24px, 3vw, 36px); }
.svc-detail.is-collapsed > :not(.svc-detail-title) { display: none; }

.process-head { margin-bottom: clamp(40px, 6vw, 80px); }
.steps {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: clamp(20px, 3vw, 40px);
}
.steps li { position: relative; padding: 36px 0 32px; border-top: 2px solid var(--color-divider); }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--color-accent); }
.step-num {
  display: block; font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: .9;
  letter-spacing: -0.05em; color: var(--color-accent-400); margin-left: -0.04em;
}
.steps h3 { margin: 24px 0 8px; font-size: 24px; letter-spacing: -0.025em; }
.steps p { font-size: 15.5px; color: var(--color-muted); max-width: 30ch; }

@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); column-gap: 32px; } }

/* dropdown explainer inside a service */
.explainer { grid-column: 1 / -1; border: 1px solid var(--color-divider); background: var(--color-surface); }
.explainer summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px;
  cursor: pointer; list-style: none; font-weight: 600;
}
.explainer summary::-webkit-details-marker { display: none; }
.explainer summary:hover { color: var(--color-accent-300); }
.explainer summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.explainer summary path { transform-origin: 12px 12px; transition: transform .3s var(--ease); }
.explainer[open] summary path { transform: rotate(45deg); }
.explainer[open] summary { border-bottom: 1px solid var(--color-line); }
.explainer-body { padding: 20px; }
.explainer-body > p { max-width: 70ch; color: var(--color-muted); }
.explainer ol {
  list-style: none; margin: 20px 0; padding: 0; counter-reset: seo;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px;
}
.explainer li { counter-increment: seo; padding: 16px; background: var(--color-bg); border: 1px solid var(--color-line); font-size: 15px; color: var(--color-muted); }
.explainer li::before { content: counter(seo, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--color-accent-300); }
.explainer li strong { display: block; margin-bottom: 4px; color: var(--color-text); font-weight: 600; line-height: 1.3; }
.explainer-note { padding-top: 16px; border-top: 1px solid var(--color-line); }
.explainer-note strong { color: var(--color-text); }

.cs-mobile.faq { align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list .explainer-body p { max-width: none; }
.faq-list .explainer-body p + p { margin-top: 12px; }
#faq { scroll-margin-top: 72px; }

/* legal / long-form text */
.legal { padding-block: clamp(56px, 9vw, 128px); }
.legal .eyebrow { margin-bottom: 24px; }
.legal-date { margin-top: 24px; font-size: 14px; color: var(--color-muted); }
.prose { max-width: 68ch; margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(24px, 4vw, 40px); border-top: 2px solid var(--color-divider); color: var(--color-muted); }
.prose h2 { margin: 40px 0 12px; font-size: 24px; letter-spacing: -0.025em; color: var(--color-text); }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.prose strong { color: var(--color-text); font-weight: 600; }

/* hosting plans */
.pricing:has([value="only"]:checked) .price-hosted, .pricing:not(:has([value="only"]:checked)) .price-only { display: none; }
.price-switch { border: 0; margin: 0; padding: 0; min-width: 0; }
.price-switch legend { padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--color-muted); }
.price-switch .seg { width: auto; }
.price-switch .seg-opt { padding-inline: 18px; font-weight: 600; }
.plan-price b { font-weight: inherit; }
.plan-terms { margin-top: 10px; font-size: 14px; color: var(--color-muted); }
.plan-terms strong { color: var(--color-accent-300); font-weight: 600; }
.plans-intro { max-width: 36ch; color: var(--color-muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-top: 2px solid var(--color-divider);
}
.plan-featured { border-color: var(--color-accent); border-top-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 28px; }
.plan h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.plan-badge { flex: none; padding: 4px 8px; background: var(--color-accent); color: var(--color-bg); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-price { margin-top: 24px; font-weight: 800; font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.plan-price small { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.plan-price span { margin-left: 4px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.plan-tag { margin-top: 14px; color: var(--color-muted); }
.plan-pre { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--color-accent-300); }
.plan .ticks { margin-top: 20px; margin-bottom: 28px; }
.plan-pre + .ticks { margin-top: 10px; }
.plan .link-arrow { margin-top: auto; align-self: flex-start; }
.plans-note { margin-top: 28px; font-size: 14px; color: var(--color-muted); }

/* - case study - */
.cs-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cs-hero .eyebrow { margin-bottom: 20px; }
.cs-hero .eyebrow a { color: inherit; }
.cs-hero .lede { margin-top: 24px; max-width: 46ch; }
.cs-facts { margin-top: 36px; }
.cs-shot { margin: 0; background: var(--color-surface); border: 1px solid var(--color-divider); box-shadow: var(--shadow-lg); }
.cs-shot img { width: 100%; }
.cs-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--color-line); border-inline: 1px solid var(--color-line); }
.cs-stats div { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); background: var(--color-bg); }
.cs-stats dt { font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -0.04em; color: var(--color-accent-400); }
.cs-stats dd { margin: 12px 0 0; font-size: 15px; color: var(--color-muted); }
.cs-gap { margin-top: 16px; }
.cs-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--color-line); }
.cs-flip { grid-template-columns: 1fr 1.35fr; }
.cs-flip .cs-shot { order: 2; }
.cs-feature h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.03em; }
.cs-feature p { margin-top: 16px; color: var(--color-muted); }
.cs-feature .ticks { margin-top: 22px; }
.cs-portal-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.cs-portal-shots figure { margin: 0; }
.cs-portal-shots .cs-shot { aspect-ratio: 4 / 5; overflow: hidden; }
.cs-portal-shots img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-portal-shots figcaption { display: flex; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--color-muted); }
.cs-portal-shots figcaption b { color: var(--color-accent-300); }
.cs-portal-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 80px); }
.cs-portal-grid h3 { margin-bottom: 20px; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; }
.cs-flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; gap: 0; border-top: 1px solid var(--color-line); }
.cs-flow li { counter-increment: flow; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--color-line); font-size: 15.5px; color: var(--color-muted); }
.cs-flow li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-size: 13px; font-weight: 800; color: var(--color-accent-300); }
.cs-flow strong { display: block; color: var(--color-text); font-weight: 600; }
.cs-pipeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); border-top: 2px solid var(--color-divider); }
.cs-pipeline li { counter-increment: step; padding: 22px 20px 26px; background: var(--color-navy); }
.cs-pipeline li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 13px; font-weight: 800; color: var(--color-accent-300); }
.cs-pipeline h3 { font-size: 20px; letter-spacing: -0.02em; }
.cs-pipeline p { margin-top: 6px; font-size: 15px; color: var(--color-muted); }
.cs-score { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cs-score h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.cs-score p { margin-top: 14px; max-width: 44ch; color: var(--color-muted); }
.cs-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cs-bars li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 15px; }
.cs-bars b { color: var(--color-accent-300); }
.cs-bars i { grid-column: 1 / -1; height: 6px; background: linear-gradient(to right, var(--color-accent) calc(var(--w) * 2.5%), var(--color-line) 0); }
.cs-hard { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cs-hard .plan h3 { margin-bottom: 4px; }
.cs-inline-shot { margin-top: 20px; box-shadow: none; }
.cs-mobile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cs-mobile-text { margin-top: 24px; max-width: 46ch; color: var(--color-muted); }
.cs-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 32px); }
.cs-phone { margin: 0; width: min(46%, 250px); border: 6px solid #141c2c; background: var(--color-bg); box-shadow: var(--shadow-lg); }
.cs-phone + .cs-phone { margin-top: 48px; }
.cs-phone img { width: 100%; }
.cs-security { align-items: start; }
.cs-stack { margin: 0; display: grid; }
.cs-stack div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.cs-stack dt { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.cs-stack dd { margin: 0; font-size: 15.5px; }
.cs-stack + .explainer-note { margin-top: 20px; border-top: 0; padding-top: 0; }
.plans-note strong { color: var(--color-text); font-weight: 600; }
.cs-second-link { margin-left: 24px; }
@media (max-width: 899px) {
  .cs-feature { grid-template-columns: 1fr; gap: 20px; }
  .cs-flip .cs-shot { order: 0; }
}

/* - about page - */
.about-intro {
  padding-block: clamp(56px, 9vw, 128px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.about-intro .eyebrow { margin-bottom: 24px; }
.about-intro h1 { margin-left: -0.04em; font-size: clamp(40px, 5.6vw, 80px); line-height: .98; letter-spacing: -0.045em; }
.about-intro .body { max-width: 56ch; color: var(--color-muted); margin-top: 16px; }
.about-intro h1 + .body { margin-top: 36px; }
.facts {
  margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 2px solid var(--color-divider);
}
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.portrait { margin: 0; max-width: 480px; width: 100%; justify-self: end; }
.portrait .media { aspect-ratio: 4 / 5; background: var(--color-surface); border: 1px solid var(--color-divider); }
.portrait img { object-position: 50% 20%; }
.portrait figcaption { margin-top: 12px; font-size: 13px; color: var(--color-muted); display: flex; justify-content: space-between; gap: 12px; }

.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.approach-head { align-self: start; position: sticky; top: 120px; }
.approach-head h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.approach-head h2 span { color: var(--color-muted); }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 40px; }
.reasons > div { padding: 28px 0 36px; border-top: 2px solid var(--color-divider); }
.reasons > div::before { content: ""; display: block; width: 10px; height: 10px; background: var(--color-accent); margin-bottom: 24px; }
.reasons h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.reasons p { font-size: 15.5px; color: var(--color-muted); }

/* - contact page - */
.contact {
  padding-block: clamp(56px, 9vw, 128px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(40px, 6vw, 96px);
}
.contact .eyebrow { margin-bottom: 24px; }
.contact h1 { margin-left: -0.04em; font-size: clamp(44px, 6.4vw, 96px); line-height: .96; letter-spacing: -0.045em; }
.contact .lede { margin-top: 28px; max-width: 40ch; }
.contact-alt { margin-top: 40px; border-top: 2px solid var(--color-divider); }
.contact-alt a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--color-line); color: var(--color-text); text-decoration: none; transition: color .2s;
}
.contact-alt a:hover { color: var(--color-accent-300); }
.contact-alt span span:first-child { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.contact-alt span span:last-child { font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); overflow-wrap: anywhere; }
.contact-alt > a > span { display: flex; flex-direction: column; }

.next-steps { margin-top: 40px; }
.next-steps h2 { margin-bottom: 16px; font-size: 22px; letter-spacing: -0.02em; }
.form-panel {
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-top: 2px solid var(--color-accent); padding: clamp(22px, 3.4vw, 44px);
}
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px 20px; }
.form .full { grid-column: 1 / -1; }
.field label, .form legend { display: block; font-size: 13px; color: var(--color-muted); margin-bottom: 5px; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px;
  color: var(--color-text); caret-color: var(--color-accent); background: var(--color-bg);
  border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 140px; padding-block: 12px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; width: 100%; border: 1px solid var(--color-divider); overflow: hidden; }
.seg-opt {
  flex: 1 1 auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 10px 14px; font-size: 14px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot span, .form-error { font-size: 13px; color: var(--color-muted); }
.form-error { color: #ff9a8a; }
.hp { position: absolute; left: -9999px; }

.sent { display: flex; flex-direction: column; gap: 16px; padding: 12px 0; }
.sent[hidden] { display: none; }
.sent-icon { width: 44px; height: 44px; background: var(--color-accent); color: var(--color-bg); display: grid; place-items: center; }
.sent-icon svg { fill: none; stroke: currentColor; stroke-width: 2.4; }
.sent h2 { margin-top: 8px; font-size: 30px; letter-spacing: -0.03em; }
.sent p { color: var(--color-muted); max-width: 40ch; }
.sent .btn { align-self: flex-start; padding: 12px 16px; margin-top: 8px; }

/* - CTA band - */
.cta { background: var(--color-accent); color: var(--color-bg); }
.cta-inner {
  padding-block: clamp(72px, 10vw, 136px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 64px; align-items: end;
}
.cta h2 {
  margin-left: -0.04em; grid-column: 1 / -1; font-size: clamp(40px, 6.6vw, 104px); line-height: .98;
  letter-spacing: -0.045em; max-width: 15ch; color: var(--color-bg);
}
.cta p { max-width: 44ch; font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.cta .btn { padding: 17px 22px; font-size: 16px; background: var(--color-bg); color: var(--color-text); min-width: 240px; }
.cta .btn:hover { background: #111827; color: var(--color-text); transform: translateY(-2px); }
.cta-actions > a:last-child { color: var(--color-bg); font-weight: 600; text-underline-offset: 4px; }
.cta-actions > a:last-child:hover { color: var(--color-bg); text-decoration-thickness: 2px; }

/* - footer - */
.site-footer { border-top: 2px solid var(--color-divider); }
.footer-inner {
  padding-block: 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center;
  justify-content: space-between; font-size: 14px; color: var(--color-muted);
}
.footer-inner .brand { margin: 0; font-size: 17px; }
.footer-inner .brand-mark { width: 18px; height: 18px; font-size: 9px; letter-spacing: inherit; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { color: var(--color-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--color-text); }

/* - rails & accordions: phone-only enhancements wired up in main.js - */
.rail-progress { display: none; }
.acc-btn {
  appearance: none; margin: 0; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; transition: color .2s;
}
.acc-icon svg {
  display: block; width: 34px; height: 34px; padding: 8px; border: 1px solid var(--color-divider);
  fill: none; stroke: currentColor; stroke-width: 2; transition: background .2s, border-color .2s, color .2s;
}
.acc-icon path { transform-origin: 12px 12px; transition: transform .3s var(--ease); }
.svc-detail:not(.is-collapsed) .acc-icon svg { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.svc-detail:not(.is-collapsed) .acc-icon path { transform: rotate(45deg); }

/* - phones: group content into rails, grids and accordions instead of one long stack - */
@media (max-width: 699px) {
  .section { padding-block: 56px; }
  .section-end { padding-bottom: 56px; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .page-head { padding-block: 40px 32px; gap: 20px; }
  .page-head .eyebrow, .about-intro .eyebrow, .contact .eyebrow { margin-bottom: 16px; }

  /* hero: proof points as a 3-up strip */
  .hero-inner { padding-block: 32px 48px; gap: 40px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; gap: 12px; padding-inline: 16px; }
  .svc-hero-actions .btn { min-width: 0; flex: 1 1 auto; }
  .svc-hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .svc-hero-points li { flex-direction: column; align-items: flex-start; gap: 10px; max-width: none; padding: 0; margin: 0; border: 0; font-size: 12.5px; }
  .hero-points { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
  .hero-points li { padding: 12px 10px 0 0; font-size: 12.5px; line-height: 1.4; }
  .hero-points strong { margin-bottom: 2px; font-size: 13.5px; line-height: 1.3; }

  /* horizontal, swipeable rails */
  [data-rail] {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none;
    gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y pinch-zoom;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  [data-rail]::-webkit-scrollbar { display: none; }
  [data-rail] > * { scroll-snap-align: start; }
  .js-reveal [data-rail] > [data-reveal].pending { transform: none; } /* fade only, so cards never shift vertically */
  .rail-progress { display: block; height: 2px; margin-top: 24px; background: var(--color-line); overflow: hidden; }
  .rail-progress span { display: block; height: 100%; background: var(--color-accent); }
  .work-card-name { font-size: 22px; }

  /* home services: 2 × 2 tiles */
  .svc-grid { grid-template-columns: repeat(2, 1fr); border: 1px solid var(--color-line); border-top: 2px solid var(--color-divider); }
  .svc { padding: 18px 14px 22px; gap: 10px; }
  .svc-top svg { width: 20px; height: 20px; }
  .svc h3 { margin-top: 14px; font-size: 18px; line-height: 1.2; }
  .svc p { font-size: 13.5px; line-height: 1.5; }

  .split { gap: 20px; }

  /* feature lists become a 2-column grid of tiles */
  .project .ticks, .svc-detail .ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border-top: 0; }
  .project .ticks li, .svc-detail .ticks li {
    align-items: flex-start; gap: 10px; padding: 10px 12px; font-size: 13.5px; line-height: 1.35;
    background: var(--color-surface); border: 1px solid var(--color-line);
  }
  .project .ticks li::before, .svc-detail .ticks li::before { margin-top: 5px; }

  /* work page */
  .project { padding-block: 32px; gap: 20px; }
  .project-meta { margin-bottom: 12px; }
  .project-body > p { margin-top: 12px; }
  .project .ticks { margin-top: 20px; }
  .project .link-arrow { margin-top: 20px; }

  /* services page: tap-to-expand services */
  .svc-detail-title { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; padding-block: 18px; }
  .svc-detail h2 { font-size: 22px; }
  .svc-sum { grid-column: 2 / 3; grid-row: 2; font-size: 14px; line-height: 1.45; }
  .acc-icon { grid-column: 3; grid-row: 1; }
  .svc-detail > p, .svc-detail > .ticks, .svc-detail > .explainer { margin-bottom: 20px; }
  .legal { padding-block: 40px 56px; }
  .process-head { margin-bottom: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 16px; }
  .steps li { padding: 24px 0; }
  .step-num { font-size: 40px; }
  .steps h3 { margin: 14px 0 6px; font-size: 19px; }
  .steps p { font-size: 14px; line-height: 1.5; }
  .steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .plan .ticks li { font-size: 14.5px; }
  .price-switch { width: 100%; }
  .price-switch .seg { width: 100%; }
  .price-switch .seg-opt { border-bottom: 0; }

  /* case study */
  .cs-hero { padding-block: 40px 40px; gap: 28px; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-stats div { padding: 20px 14px; }
  .cs-stats dt { font-size: 32px; }
  .cs-stats dd { font-size: 13.5px; line-height: 1.45; }
  .cs-feature { padding-block: 28px; }
  .cs-feature .ticks { display: grid; gap: 0; }
  .cs-portal-shots[data-rail] { grid-auto-columns: 72%; }
  .cs-pipeline { grid-template-columns: repeat(2, 1fr); }
  .cs-pipeline li { padding: 16px 14px 20px; }
  .cs-pipeline h3 { font-size: 18px; }
  .cs-pipeline p { font-size: 13.5px; line-height: 1.45; }
  .cs-phone + .cs-phone { margin-top: 28px; }
  .cs-stack div { grid-template-columns: 1fr; }
  .cs-second-link { display: flex; width: fit-content; margin: 16px 0 0; }

  /* about page */
  .about-intro { padding-block: 40px 56px; gap: 32px; }
  .about-intro h1 + .body { margin-top: 24px; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; border-top: 0; }
  .facts div { padding: 12px 14px; background: var(--color-surface); border: 1px solid var(--color-line); }
  .facts div:last-child { grid-column: 1 / -1; }
  .facts dt { font-size: 11.5px; }
  .portrait { justify-self: stretch; max-width: none; }
  .approach { gap: 28px; }
  .approach-head { position: static; }
  .reasons[data-rail] { grid-auto-columns: 78%; gap: 12px; }
  .reasons > div { padding: 24px 20px 28px; background: var(--color-bg); border: 1px solid var(--color-line); border-top: 2px solid var(--color-divider); }
  .reasons > div::before { margin-bottom: 20px; }

  /* contact page */
  .contact { padding-block: 40px 56px; gap: 0; }
  .contact > div:first-child { display: contents; }
  .contact .form-panel { order: 2; margin-top: 32px; }
  .contact .next-steps { order: 3; }
  .contact .lede { margin-top: 20px; }
  .contact-alt { margin-top: 28px; }
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .seg { display: grid; grid-template-columns: repeat(2, 1fr); }
  .seg-opt + .seg-opt { border-left: 0; }
  .seg-opt:nth-child(odd) { border-right: 1px solid var(--color-divider); }
  .seg-opt:nth-child(-n+2) { border-bottom: 1px solid var(--color-divider); }

  /* CTA + footer */
  .cta-inner { padding-block: 56px; gap: 24px; }
  .cta .btn { width: 100%; min-width: 0; }
  .footer-inner { display: grid; gap: 20px; padding-block: 32px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
}

/* - motion: main.js adds .js-reveal only when motion is allowed - */
.js-reveal [data-reveal].pending { opacity: 0; transform: translateY(22px); }
.js-reveal [data-reveal] {
  transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms);
}
