/* ==========================================================================
   Anglia Hosting — site styles
   Single stylesheet, no framework. Tokens first, then base, layout,
   components, sections and pages.
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-2: #222222;
  --ink-3: #2a2a2a;
  --ink-line: rgba(255, 255, 255, .09);
  --ink-line-2: rgba(255, 255, 255, .16);
  --on-ink: #f5f5f5;
  --on-ink-muted: #a6a8ad;

  --paper: #f2f3f5;
  --paper-2: #e6e8ec;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5d64;
  --line: #dcdfe4;

  --brand: #ba311c;       /* original Anglia Hosting red */
  --brand-dark: #a12b18;
  --brand-hot: #e04a33;   /* brand red lifted for use on charcoal */
  --brand-ink: #ba311c;
  --brand-soft: #f7e1dd;
  --ok: #2fbf71;

  --font-display: "Kanit", system-ui, sans-serif;
  --font-body: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Kanit", system-ui, sans-serif;  /* labels */
  --font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 30, .06), 0 2px 8px rgba(15, 20, 30, .05);
  --shadow: 0 2px 6px rgba(15, 20, 30, .05), 0 18px 40px -12px rgba(15, 20, 30, .2);
  --shadow-lg: 0 40px 80px -24px rgba(0, 0, 0, .55);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
strong, b { font-weight: 500; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
ul, ol.process, ol.feature-list { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.i { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 11px; height: 12px; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.dark .eyebrow, .eyebrow.on-dark { color: var(--brand-hot); }
.display { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.015em; font-weight: 600; }
.h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.06; letter-spacing: -.01em; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.dark .lede { color: var(--on-ink-muted); }
.accent { color: var(--brand-ink); }
.dark .accent { color: var(--brand-hot); }
.serif-italic { font-style: italic; font-weight: 500; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.4em; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 1rem; line-height: 1.1; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { --bg: var(--brand); }
.btn-primary:hover { --bg: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(186, 49, 28, .8); }
.btn-dark:hover { --bg: #26262c; }
.btn-ghost { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--text); }
.btn-ghost-light { --bg: rgba(255,255,255,.04); --fg: var(--on-ink); --bd: var(--ink-line-2); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.1); --bd: rgba(255,255,255,.35); }
.btn-quiet { --bg: transparent; --fg: var(--on-ink); --bd: var(--ink-line-2); }
.btn-sm { padding: .65em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1.1em 1.7em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; color: var(--brand-ink); }
.dark .link-arrow { color: var(--brand-hot); }
.link-arrow .i { transition: transform .3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--on-ink);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(26, 26, 26, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--ink-line);
}
.site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { width: 34px; height: 36px; color: var(--brand-hot); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(60deg); }
.logo-word { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.lw-a { font-weight: 300; }
.lw-b { font-weight: 700; color: var(--brand-hot); margin-left: .28em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-size: 1rem; font-weight: 400; color: rgba(245, 245, 245, .8);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .95rem; color: rgba(245,245,245,.8); font-variant-numeric: tabular-nums; }
.header-phone:hover { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-line-2); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: #fff; border-radius: 2px; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s; }
.menu-bars { top: 50%; margin-top: -1px; }
.menu-bars::before { content: ""; top: -6px; }
.menu-bars::after { content: ""; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0; background: rgba(26,26,26,.98); backdrop-filter: blur(14px); overflow-y: auto; }
.mobile-nav ul { padding: 24px 0; }
.mobile-nav li { border-bottom: 1px solid var(--ink-line); }
.mobile-nav li a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; text-decoration: none; color: var(--on-ink); }
.mobile-nav-foot { display: grid; gap: 12px; padding-bottom: 40px; }

@media (max-width: 1060px) {
  .header-phone span { display: none; }
}
@media (max-width: 400px) { .logo-word { font-size: 1.35rem; } .logo-mark { width: 28px; height: 30px; } }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav, .header-phone, .header-actions > .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * .6); }
.dark { background: var(--ink); color: var(--on-ink); }
.dark-2 { background: var(--ink-2); }
.paper-2 { background: var(--paper-2); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.section-head .h2 { margin: 0; }
.section-head p { margin: 0; }

/* Grain + grid backdrop for dark heroes */
.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; }
.glow-a { width: 40vw; height: 40vw; max-width: 640px; max-height: 640px; right: -8vw; top: -12vw; background: radial-gradient(circle, rgba(186,49,28,.9), rgba(186,49,28,0) 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { display: none; }
/* Hexagon lattice watermark — echoes the logo mark */
.backdrop::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 520px; height: 520px; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 0 46 48'%3E%3Cg stroke='%23fff' stroke-width='1.2' fill='none'%3E%3Cpath d='M17 24 17 5.5M17 24 40 10M17 24 40 35.5M17 24 17 42.5M17 24 3.5 32'/%3E%3Cpath d='M17 15.8 24.1 19.9 24.1 28.1 17 32.2 9.9 28.1 9.9 19.9Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
@keyframes drift { to { transform: translate3d(-4vw, 3vw, 0) scale(1.08); } }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px)); padding-bottom: clamp(64px, 8vw, 112px); overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--brand-hot); }
.hero .lede { margin-bottom: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: .92rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof > li > .i { color: var(--ok); }
.stars { display: inline-flex; gap: 2px; color: #ffb547; }
.stars .i { width: 15px; height: 15px; }

/* Device composition */
.showcase { position: relative; min-height: 420px; perspective: 1600px; }
.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #1b1b20;
  border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #232329; border-bottom: 1px solid var(--ink-line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a42; }
.browser-dots i:first-child { background: #ff5f57; } .browser-dots i:nth-child(2) { background: #febc2e; } .browser-dots i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; max-width: 60%; margin-inline: auto; height: 20px; border-radius: 6px; background: rgba(255,255,255,.06); font: 400 11px/20px var(--font-body); color: var(--on-ink-muted); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 8px; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.browser-view img { width: 100%; }
.pan img { transition: transform var(--pan-dur, 6s) cubic-bezier(.45, .05, .35, 1); will-change: transform; }
.pan:hover img, .pan:focus-within img, .pan.is-panning img { transform: translateY(var(--pan, 0px)); }

.phone {
  position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px;
  background: linear-gradient(145deg, #3a3a42, #121216); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 30%; height: 18px; border-radius: 12px; background: #000; z-index: 1; }

.showcase .browser { width: 90%; transform: rotateY(-8deg) rotateX(4deg); transform-origin: left center; }
.showcase .phone { position: absolute; width: 30%; max-width: 200px; right: 0; bottom: -6%; transform: rotate(4deg); }
.status-card {
  position: absolute; left: -4%; bottom: -10%; z-index: 2; width: min(300px, 70%);
  padding: 16px 18px; border-radius: 16px; background: rgba(24, 24, 29, .88); backdrop-filter: blur(16px);
  border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg); color: var(--on-ink); font-size: .85rem;
}
.status-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 10px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47,191,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,191,113,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0); } }
.status-rows { display: grid; gap: 6px; font-family: var(--font-body); font-size: .8rem; color: var(--on-ink-muted); }
.status-rows div { display: flex; justify-content: space-between; gap: 12px; }
.status-rows b { color: var(--on-ink); font-weight: 500; }
.uptime-bars { display: flex; gap: 3px; margin-top: 10px; }
.uptime-bars i { flex: 1; height: 18px; border-radius: 2px; background: var(--ok); opacity: .85; }
.uptime-bars i:nth-child(7n) { opacity: .55; }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
@media (max-width: 1019px) { .showcase { max-width: 640px; margin-inline: auto; width: 100%; } }
@media (max-width: 560px) {
  .showcase { min-height: 0; padding-bottom: 28%; }
  .showcase .browser { width: 100%; transform: none; }
  .showcase .phone { width: 34%; bottom: 4%; right: -2%; }
  .status-card { left: 0; bottom: 0; width: 64%; padding: 12px 14px; }
  .status-rows div:nth-child(n+3) { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--ink-line); background: var(--ink-2); color: var(--on-ink-muted); padding: 20px 0; }
.marquee-track { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 10px; height: 11px; background: var(--brand-hot); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / services bento ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(186, 49, 28, .09), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.svc {
  grid-column: span 6; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6cfc2; }
.svc-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); }
.svc-icon .i { width: 26px; height: 26px; }
.svc h3 { margin: 6px 0 0; font-size: 1.5rem; font-weight: 500; }
.svc p { margin: 0; color: var(--muted); }
.svc ul { display: grid; gap: 8px; margin-top: auto; padding-top: 10px; font-size: .95rem; }
.svc li, .ticks li { display: flex; gap: 10px; align-items: flex-start; }
.svc li .i, .ticks li .i { color: var(--brand-ink); margin-top: .3em; width: 1em; height: 1em; }
.svc .link-arrow { margin-top: 8px; }
.svc-feature { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.svc-feature p { color: var(--on-ink-muted); }
.svc-feature .svc-icon { background: rgba(224,74,51,.16); color: var(--brand-hot); }
.svc-feature li .i { color: var(--brand-hot); }
.svc-feature .link-arrow { color: var(--brand-hot); }
.svc-feature:hover { border-color: #2a2a30; }
@media (min-width: 720px) { .svc { grid-column: span 3; } }
@media (min-width: 1080px) {
  .svc { grid-column: span 2; }
}

/* ---------- Work ---------- */
.work-feature {
  display: grid; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--ink-line);
}
.work-feature:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 980px) {
  .work-feature { grid-template-columns: 1.25fr 1fr; }
  .work-feature.flip .work-media { order: 2; }
}
.work-media { position: relative; padding-right: 9%; padding-bottom: 6%; }
.work-media .browser { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04); }
.work-media .phone { position: absolute; right: 0; bottom: 0; width: 24%; max-width: 170px; }
.work-media::before {
  content: ""; position: absolute; inset: 10% 12% 0 4%; border-radius: 50%; filter: blur(70px); opacity: .45; z-index: 0;
  background: var(--accent, var(--brand));
}
.work-media > * { position: relative; z-index: 1; }
.work-media .phone { position: absolute; z-index: 2; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 6px; font: 400 .76rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.dark .chip { border-color: var(--ink-line-2); color: var(--on-ink-muted); background: rgba(255,255,255,.03); }
.chip-accent { color: #fff !important; border-color: transparent !important; background: var(--accent, var(--brand)) !important; }
.work-copy h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: .35em; }
.work-copy .work-headline { font-size: 1.2rem; color: var(--on-ink); font-weight: 500; margin-bottom: .6em; }
.work-copy p { color: var(--on-ink-muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0; border-radius: 16px; overflow: hidden; background: var(--ink-line); border: 1px solid var(--ink-line); }
.stat-row div { padding: 16px; background: var(--ink); }
.stat-row b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; color: var(--on-ink); margin-bottom: 6px; }
.stat-row span { font-size: .8rem; line-height: 1.35; color: var(--on-ink-muted); display: block; }
.light .stat-row { background: var(--line); border-color: var(--line); }
.light .stat-row div { background: var(--surface); }
.light .stat-row b { color: var(--text); }
.light .stat-row span { color: var(--muted); }

.work-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .work-grid.three { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-card-media .chip { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); }
.work-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-card-body h3 { font-size: 1.35rem; margin: 0; }
.work-card-body p { color: var(--muted); margin: 0; font-size: .97rem; }
.work-card-body .link-arrow { margin-top: auto; padding-top: 14px; }
.dark .work-card { background: var(--ink-2); border-color: var(--ink-line); }
.dark .work-card-body p { color: var(--on-ink-muted); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { background: var(--surface); padding: clamp(24px, 3.4vw, 40px); }
.stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--brand-ink); line-height: 1; margin-bottom: 10px; }
.stats span { color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.process { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); counter-increment: step; overflow: hidden; }
.step::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 52px; margin-bottom: 26px; font: 600 1.25rem var(--font-display); color: #fff; background: var(--brand); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.step::after { content: ""; position: absolute; left: 82px; right: 26px; top: 54px; height: 1px; background: linear-gradient(90deg, var(--brand-hot), transparent); opacity: .5; }
.step h3 { font-size: 1.4rem; margin-bottom: .4em; }
.step p { color: var(--on-ink-muted); margin: 0; font-size: .97rem; }

/* ---------- Hosting band ---------- */
.hosting-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .hosting-grid { grid-template-columns: 1fr 1fr; } }
.ticks { display: grid; gap: 12px; margin: 24px 0 32px; }
@media (min-width: 560px) { .ticks.two { grid-template-columns: 1fr 1fr; } }
.dark .ticks .i { color: var(--brand-hot); }
.terminal { border-radius: 14px; background: #111; border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg); overflow: hidden; font: 400 .82rem/1.75 var(--font-code); }
.terminal-body { padding: 20px 22px; color: #c9c7cf; min-height: 300px; }
.terminal-body .p { color: var(--brand-hot); }
.terminal-body .ok { color: var(--ok); }
.terminal-body .dim { color: #6f6d78; }
.terminal-body .line { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; white-space: pre-wrap; word-break: break-word; }
.terminal.is-in .line { opacity: 1; transform: none; }
.cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--brand-hot); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; } .quotes .quote:first-child { grid-row: span 2; } }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); margin: 0; }
.quote .i-q { width: 34px; height: 34px; color: var(--brand); }
.quote blockquote p { margin: 0; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.quote:first-child blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.4; font-weight: 300; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 50px; display: grid; place-items: center; font-weight: 600; color: #fff; background: var(--brand); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.quote cite { font-style: normal; display: grid; line-height: 1.35; }
.quote cite b { font-weight: 600; }
.quote cite span { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #d3cbbd; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .35s var(--ease); color: var(--brand-ink); flex: none; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p { margin: 0; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 96px); color: #fff; background: linear-gradient(120deg, var(--brand) 0%, var(--brand) 55%, #8c2312 100%); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 50%; translate: 0 -50%; width: 460px; height: 480px; z-index: -1; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 0 46 48'%3E%3Cg stroke='%23fff' stroke-width='1.6' fill='none'%3E%3Cpath d='M17 24 17 5.5M17 24 40 10M17 24 40 35.5M17 24 17 42.5M17 24 3.5 32'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M17 15.8 24.1 19.9 24.1 28.1 17 32.2 9.9 28.1 9.9 19.9Z M17 1.4 20.55 3.45 20.55 7.55 17 9.6 13.45 7.55 13.45 3.45Z M40 5.9 43.55 7.95 43.55 12.05 40 14.1 36.45 12.05 36.45 7.95Z M40 31.4 43.55 33.45 43.55 37.55 40 39.6 36.45 37.55 36.45 33.45Z M17 38.4 20.55 40.45 20.55 44.55 17 46.6 13.45 44.55 13.45 40.45Z M3.5 27.9 7.05 29.95 7.05 34.05 3.5 36.1 -.05 34.05 -.05 29.95Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 15ch; }
.cta-band p { font-size: 1.15rem; max-width: 36em; opacity: .9; }
.cta-band .btn-row { margin-top: 28px; }
.cta-band .btn-white { --bg: #fff; --fg: var(--ink); }
.cta-band .btn-white:hover { --bg: var(--ink); --fg: #fff; }
.cta-band .btn-outline { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover { --bg: rgba(255,255,255,.12); --bd: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 17ch; }
.page-hero .lede { margin-top: 20px; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font: 400 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans.three { grid-template-columns: repeat(3, 1fr); } .plans.two { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan.featured { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 6px; background: var(--brand); color: #fff; font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 1.35rem; margin-bottom: .2em; }
.plan-blurb { color: var(--muted); font-size: .97rem; min-height: 3.2em; }
.plan.featured .plan-blurb { color: var(--on-ink-muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 22px; font-family: var(--font-display); }
.price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan.featured .price small { color: var(--on-ink-muted); }
.price b { font-size: clamp(2.6rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1; }
.plan .ticks { margin: 0 0 30px; gap: 10px; font-size: .97rem; }
.plan.featured .ticks .i { color: var(--brand-hot); }
.plan .btn { margin-top: auto; width: 100%; }
.plan:not(.featured) .btn { --bg: var(--ink); }
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 36px; color: var(--muted); font-size: .95rem; }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure .i { color: var(--ok); }

/* ---------- Services page detail ---------- */
.svc-detail { display: grid; gap: clamp(28px, 5vw, 80px); padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; }
@media (min-width: 960px) { .svc-detail { grid-template-columns: .9fr 1.1fr; } }
.svc-detail .svc-icon { margin-bottom: 20px; }
.svc-detail h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.svc-detail .lead { font-size: 1.2rem; color: var(--text); font-weight: 500; }
.svc-detail .body { color: var(--muted); }
.svc-points { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 560px) { .svc-points { grid-template-columns: 1fr 1fr; } }
.svc-points li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .97rem; }
.svc-points .i { color: var(--brand-ink); margin-top: .2em; }
.svc-proof { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .95rem; color: var(--muted); }
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech li { padding: 10px 16px; border-radius: 8px; border: 1px solid var(--ink-line-2); background: rgba(255,255,255,.03); font: 400 .95rem var(--font-body); color: var(--on-ink); }

/* ---------- Project page ---------- */
.project-hero { padding-bottom: 0; overflow: visible; z-index: 1; }
.project-hero .work-meta { margin-top: 24px; }
.project-showcase { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); margin-bottom: calc(-1 * clamp(80px, 12vw, 180px)); }
.project-showcase .work-media { max-width: 1080px; margin-inline: auto; padding-right: 7%; }
.project-showcase .browser-view { aspect-ratio: 16 / 9.4; }
.project-after { padding-top: calc(clamp(80px, 12vw, 180px) + var(--section) * .7); }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--surface); padding: 20px 22px; }
.facts dt { font: 400 .76rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--brand-ink); }
.story { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; } }
.story h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.story p { color: var(--muted); font-size: 1.08rem; }
.feature-list { display: grid; gap: 2px; counter-reset: f; }
.feature-list li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.feature-list li::before { content: counter(f, decimal-leading-zero); font: 600 .95rem/1.7 var(--font-display); color: var(--brand-ink); }
.next-project { display: block; padding: clamp(40px, 6vw, 80px) 0; text-decoration: none; color: inherit; border-top: 1px solid var(--ink-line); }
.next-project small { font: 400 .8rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); }
.next-project strong { display: flex; align-items: center; gap: .3em; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6.5vw, 5.4rem); line-height: 1.05; transition: color .3s; }
.next-project strong .i { width: .7em; height: .7em; transition: transform .4s var(--ease); }
.next-project:hover strong { color: var(--brand-hot); }
.next-project:hover strong .i { transform: translateX(10px); }

/* ---------- Portfolio filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; font-size: .93rem; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-card[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.3fr .7fr; gap: 48px; } }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(186,49,28,.14); }
.field .error { color: var(--brand-ink); font-size: .88rem; margin-top: 6px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .2s; }
.topic-chips button:hover, .topic-chips button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: var(--brand-soft); color: var(--brand-ink); }
.alert-success { background: #def5e8; color: #135c35; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); max-width: 32em; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .3s, transform .3s var(--ease); }
a.contact-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.contact-tile .svc-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-tile .svc-icon .i { width: 22px; height: 22px; }
.contact-tile b { display: block; }
.contact-tile span { color: var(--muted); font-size: .95rem; }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Prose (privacy etc) ---------- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand-ink); }

/* ---------- About ---------- */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value .svc-icon { margin-bottom: 18px; }
.value h3 { font-size: 1.3rem; }
.value p { color: var(--muted); margin: 0; }
.two-col { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }
.big-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.3; font-weight: 300; }

/* ---------- Local pages ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.area-list li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.dark .area-list li { background: rgba(255,255,255,.04); border-color: var(--ink-line-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: .95rem; padding-top: clamp(56px, 8vw, 96px); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--ink-line); }
.footer-cta-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; color: var(--on-ink); }
.footer-cta-link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--brand-hot); text-decoration: none; }
.footer-cta-link .i { transition: transform .35s var(--ease); }
.footer-cta-link:hover .i { transform: translateX(8px); }
.footer-grid { display: grid; gap: 40px 32px; padding-block: clamp(40px, 6vw, 64px); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr 1.4fr; } }
.footer-brand .logo { color: var(--on-ink); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-rating { display: flex; align-items: center; gap: 8px; color: var(--on-ink); }
.footer-h { font: 500 .82rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact .i { color: var(--brand-hot); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--ink-line); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom .link-button { text-decoration: none; color: inherit; font-size: inherit; }
.footer-bottom .link-button:hover { color: #fff; }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 440px;
  padding: 20px 22px; border-radius: 14px; background: rgba(26, 26, 26, .97); color: var(--on-ink);
  border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); font-size: .92rem;
  animation: rise .5s var(--ease);
}
.consent p { margin: 0 0 14px; color: var(--on-ink-muted); }
.consent strong { color: var(--on-ink); display: block; margin-bottom: 4px; }
.consent a { color: var(--on-ink); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Error pages ---------- */
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 700; line-height: .9; background: linear-gradient(180deg, #fff, rgba(255,255,255,.15)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ---------- AI: chat mock-up ---------- */
.ai-hero { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; position: relative; z-index: 1; }
@media (min-width: 1000px) { .ai-hero { grid-template-columns: 1.05fr .95fr; } }
.ai-band .ticks { margin-bottom: 28px; }
.section-divider { height: 1px; background: var(--ink-line); }
.ai-chat { margin: 0; border-radius: var(--radius-lg); background: #232323; border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--on-ink); max-width: 520px; width: 100%; justify-self: center; }
.ai-chat-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--ink-line); font-weight: 500; font-size: .92rem; }
.ai-chat-bar .i { color: var(--brand-hot); }
.ai-chat-body { padding: 20px 18px 8px; display: grid; gap: 14px; font-size: .95rem; }
.msg { margin: 0; max-width: 92%; }
.msg-user { justify-self: end; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--brand); color: #fff; }
.msg-ai { padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #2d2d2d; border: 1px solid var(--ink-line); }
.msg-ai > p { margin: 0 0 10px; color: var(--on-ink-muted); }
.ai-pick { position: relative; padding: 12px 14px; border-radius: 12px; background: rgba(224, 74, 51, .1); border: 1px solid rgba(224, 74, 51, .45); display: grid; gap: 4px; }
.ai-pick b { font-weight: 600; font-size: 1.02rem; }
.ai-pick .stars { position: absolute; top: 14px; right: 14px; }
.ai-pick .stars .i { width: 12px; height: 12px; }
.ai-pick p { margin: 0; font-size: .88rem; color: var(--on-ink-muted); line-height: 1.5; }
.ai-source { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--brand-hot); }
.ai-source .i { width: 12px; height: 12px; }
.ai-more { display: grid; gap: 6px; margin: 12px 0 0 !important; }
.ai-more span { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.ai-more span:nth-child(2) { width: 85%; } .ai-more span:nth-child(3) { width: 60%; }
.ai-typing { display: flex; gap: 4px; margin: 0; padding: 4px 6px 10px; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-ink-muted); animation: typing 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .15s; } .ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ai-chat figcaption { padding: 10px 18px 14px; font-size: .75rem; color: var(--on-ink-muted); border-top: 1px solid var(--ink-line); }
/* staged reveal of the conversation */
.js .ai-chat .msg, .js .ai-chat .ai-pick { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .ai-chat.is-in .msg-user { opacity: 1; transform: none; transition-delay: .3s; }
.js .ai-chat.is-in .msg-ai { opacity: 1; transform: none; transition-delay: 1.1s; }
.js .ai-chat.is-in .ai-pick { opacity: 1; transform: none; transition-delay: 1.6s; }
.js .ai-chat.is-in .ai-typing { animation: fadeOut .3s 1.1s forwards; }
@keyframes fadeOut { to { opacity: 0; height: 0; padding: 0; } }
@media (prefers-reduced-motion: reduce) { .js .ai-chat .msg, .js .ai-chat .ai-pick { opacity: 1; transform: none; } .ai-typing { display: none; } }

/* ---------- AI page ---------- */
.versus { display: grid; gap: 20px; }
@media (min-width: 860px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.versus-card h3 { font-size: 1.5rem; font-weight: 500; }
.versus-tag { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: var(--paper-2); color: var(--muted); font-weight: 500; }
.versus-now { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.versus-now .versus-tag { background: var(--brand); color: #fff; }
.versus-list { display: grid; gap: 12px; margin: 18px 0 22px; }
.versus-list li { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.versus-list span { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.versus-list span:first-child { width: 45%; background: #c9cdd4; } .versus-list span:last-child { width: 85%; }
.versus-answer { display: flex; gap: 12px; margin: 18px 0 22px; padding: 16px; border-radius: 12px; background: #2a2a2a; border: 1px solid var(--ink-line-2); }
.versus-answer .i { color: var(--brand-hot); margin-top: .25em; }
.versus-answer p { margin: 0; color: var(--on-ink-muted); }
.versus-answer b { color: var(--on-ink); }
.ai-steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) { .ai-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .ai-steps { grid-template-columns: repeat(3, 1fr); } }
.ai-step { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); }
.ai-step .svc-icon { background: rgba(224,74,51,.14); color: var(--brand-hot); margin-bottom: 18px; }
.ai-step h3 { font-size: 1.3rem; font-weight: 500; }
.ai-step p { margin: 0; color: var(--on-ink-muted); }
.ai-features { display: grid; gap: 16px; }
@media (min-width: 720px) { .ai-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .ai-features { grid-template-columns: repeat(3, 1fr); } }
.ticks a { color: inherit; }
.versus-now .muted { color: var(--on-ink-muted); }

/* ---------- Services bento v2 (home) ---------- */
.bento2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.svc2 {
  position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 420px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.svc2:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9ced6; }
.svc2-copy { position: relative; z-index: 1; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.svc2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.svc2-tag { padding: 4px 10px; border-radius: 6px; font-size: .78rem; font-weight: 500; letter-spacing: .04em; background: var(--paper); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.svc2 h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 500; }
.svc2 p { margin: 0; color: var(--muted); }
.svc2 .link-arrow { margin-top: 6px; }
.svc2-dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.svc2-dark:hover { border-color: #333; }
.svc2-dark p { color: var(--on-ink-muted); }
.svc2-dark .svc-icon { background: rgba(224,74,51,.16); color: var(--brand-hot); }
.svc2-dark .svc2-tag { background: rgba(255,255,255,.05); border-color: var(--ink-line-2); color: var(--on-ink-muted); }
.svc2-dark .link-arrow { color: var(--brand-hot); }

/* visual area */
.sv { position: relative; flex: 1; min-height: 190px; margin: 0 clamp(18px, 2.4vw, 28px); border-radius: 14px 14px 0 0; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-bottom: 0; }
.svc2-dark .sv { background: #232323; border-color: var(--ink-line); }
.sv .i { width: 1em; height: 1em; }

@media (min-width: 720px) {
  .bento2 { grid-template-columns: repeat(2, 1fr); }
  .svc2-website-design, .svc2-seo { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .bento2 { grid-template-columns: repeat(6, 1fr); }
  .svc2 { grid-column: span 2; }
  .svc2-website-design { grid-column: span 4; }
  .svc2-seo { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  /* wide cards: copy left, visual right */
  .svc2-website-design, .svc2-seo { flex-direction: row; min-height: 360px; }
  .svc2-website-design .svc2-copy, .svc2-seo .svc2-copy { flex: 0 0 44%; justify-content: center; }
  .svc2-website-design .sv, .svc2-seo .sv { margin: 28px 0 0 0; border-radius: 14px 0 0 0; border-right: 0; }
}

/* website design: fanned browser frames */
.sv-frame { position: absolute; width: 78%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -16px rgba(15,20,30,.35); border: 1px solid var(--line); transition: transform .7s var(--ease); }
.sv-frame img { width: 100%; display: block; }
.sv-bar { display: flex; gap: 4px; padding: 6px 8px; background: #eceef1; }
.sv-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c5c9d0; }
.sv-back { left: 22%; top: 12%; transform: rotate(3deg); }
.sv-front { left: 6%; top: 24%; transform: rotate(-2deg); }
.sv-host:hover .sv-back { transform: rotate(5deg) translate(12px, -8px); }
.sv-host:hover .sv-front { transform: rotate(-3deg) translate(-10px, 6px); }

/* web apps: mini dashboard */
.sv-dash { position: absolute; inset: 16px 0 0 16px; display: flex; gap: 10px; }
.sv-dash-side { width: 22%; display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 10px 0 0 0; background: rgba(255,255,255,.04); }
.sv-dash-side b { height: 10px; width: 70%; border-radius: 3px; background: var(--brand-hot); }
.sv-dash-side i { height: 7px; border-radius: 3px; background: rgba(255,255,255,.12); }
.sv-dash-main { flex: 1; display: grid; gap: 10px; align-content: start; padding-right: 14px; }
.sv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-tiles span { padding: 8px; border-radius: 8px; background: rgba(255,255,255,.05); display: grid; gap: 6px; }
.sv-tiles small { font-size: .62rem; color: var(--on-ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.sv-tiles em { height: 12px; width: 60%; border-radius: 3px; background: rgba(255,255,255,.8); }
.sv-chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.04); }
.sv-chart i { flex: 1; height: calc(var(--h) * 10%); border-radius: 3px 3px 0 0; background: linear-gradient(var(--brand-hot), rgba(224,74,51,.35)); transform-origin: bottom; transform: scaleY(.15); transition: transform .9s var(--ease); }
.sv-host.is-in .sv-chart i { transform: scaleY(1); }
.sv-host.is-in .sv-chart i:nth-child(odd) { transition-delay: .1s; }
.sv-host:hover .sv-chart i { filter: brightness(1.15); }

/* AI: mini chat */
.sv-chat { position: absolute; inset: 0; padding: 16px; display: grid; align-content: start; gap: 10px; font-size: .82rem; }
.sv-chat p { margin: 0; }
.sv-q { justify-self: end; max-width: 80%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--brand); color: #fff; }
.sv-a { display: flex; gap: 8px; max-width: 92%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #2e2e2e; border: 1px solid var(--ink-line); color: var(--on-ink); }
.sv-a .i { color: var(--brand-hot); margin-top: .25em; flex: none; }
.sv-chips { display: flex; gap: 6px; }
.sv-chips span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--ink-line-2); color: var(--on-ink-muted); font-size: .75rem; }
.js .sv-host .sv-q, .js .sv-host .sv-a, .js .sv-host .sv-chips { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .sv-host.is-in .sv-q { opacity: 1; transform: none; transition-delay: .4s; }
.js .sv-host.is-in .sv-a { opacity: 1; transform: none; transition-delay: 1s; }
.js .sv-host.is-in .sv-chips { opacity: 1; transform: none; transition-delay: 1.4s; }

/* mobile apps: phone + push */
.sv-mobile-apps { background: linear-gradient(160deg, var(--paper), var(--brand-soft)); }
.sv-phone { position: absolute; left: 50%; top: 18px; width: 46%; max-width: 170px; translate: -50% 0; padding: 6px; border-radius: 26px 26px 0 0; background: #1a1a1a; box-shadow: 0 20px 40px -18px rgba(15,20,30,.5); transition: translate .6s var(--ease); }
.sv-phone img { width: 100%; border-radius: 20px 20px 0 0; display: block; }
.sv-host:hover .sv-phone { translate: -50% -8px; }
.sv-push { position: absolute; left: 12px; right: 12px; top: 46%; display: flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); font-size: .78rem; backdrop-filter: blur(6px); }
.sv-push .i { color: #fff; background: var(--brand); border-radius: 6px; padding: 3px; width: 20px; height: 20px; flex: none; }
.sv-push b { font-weight: 600; margin-right: 4px; }
.js .sv-host .sv-push { opacity: 0; transform: translateY(-10px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .sv-host.is-in .sv-push { opacity: 1; transform: none; transition-delay: .7s; }

/* hosting: status panel */
.sv-hosting { background: #1f1f1f; border-color: #1f1f1f; }
.sv-status { position: absolute; inset: 16px; color: var(--on-ink); font-size: .82rem; display: grid; align-content: start; gap: 10px; }
.sv-status > div:first-child { display: flex; align-items: center; gap: 8px; }
.sv-status b { font-weight: 500; }
.sv-status ul { display: grid; gap: 6px; }
.sv-status li { display: flex; justify-content: space-between; color: var(--on-ink-muted); padding-bottom: 6px; border-bottom: 1px solid var(--ink-line); }
.sv-status em { font-style: normal; color: var(--on-ink); }
.sv-status .uptime-bars { margin-top: 4px; }

/* SEO & AI search: search + AI overview */
.sv-serp { position: absolute; inset: 20px 0 0 22px; display: grid; align-content: start; gap: 12px; font-size: .86rem; padding-right: 22px; }
.sv-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--text); }
.sv-search .i { color: var(--muted); }
.sv-overview { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(120deg, #fff, var(--brand-soft)); border: 1px solid #efc9c1; color: var(--text); }
.sv-overview .i { color: var(--brand); margin-top: .25em; flex: none; }
.sv-overview b { font-weight: 600; }
.sv-overview u { text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sv-result { display: grid; gap: 2px; padding: 4px 4px 0; }
.sv-result small { color: var(--muted); font-size: .76rem; }
.sv-result b { color: #1a0dab; font-weight: 500; font-size: 1.02rem; }
.sv-result span { color: var(--muted); font-size: .8rem; }
.js .sv-host .sv-overview { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .sv-host.is-in .sv-overview { opacity: 1; transform: none; transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  .js .sv-host .sv-q, .js .sv-host .sv-a, .js .sv-host .sv-chips, .js .sv-host .sv-push, .js .sv-host .sv-overview { opacity: 1; transform: none; }
  .sv-chart i { transform: none; }
}

/* ---------- Services page ---------- */
.svc-subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(242, 243, 245, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.svc-subnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.svc-subnav ul::-webkit-scrollbar { display: none; }
.svc-subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-size: .93rem; font-weight: 400; color: var(--muted); border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.svc-subnav a .i { color: var(--brand-ink); }
.svc-subnav a:hover { color: var(--text); background: var(--surface); border-color: var(--line); }
.svc-subnav a.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.svc-subnav a.is-active .i { color: var(--brand-hot); }
.svc-rows { padding-top: clamp(40px, 6vw, 72px); }
.svc-row { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .svc-row { grid-template-columns: 1fr 1fr; } .svc-row.flip .svc-panel { order: -1; } }
.svc-row-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-row-num { font-size: 3.2rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.svc-row h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .35em; }
.svc-row .lead { font-size: 1.2rem; font-weight: 400; color: var(--text); }
.svc-row .body { color: var(--muted); }
.svc-row .ticks { margin: 22px 0 30px; }
.svc-row .ticks .i { color: var(--brand-ink); margin-top: .3em; }
.svc-panel { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--surface), var(--paper-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.svc-panel.is-dark { background: radial-gradient(120% 90% at 100% 0%, #3a1c16 0%, var(--ink) 55%); border-color: var(--ink); }
.svc-panel .sv { position: absolute; inset: 15% 0 0 9%; margin: 0; border-radius: 16px 0 0 0; border-right: 0; border-bottom: 0; box-shadow: var(--shadow); }
.svc-panel.is-dark .sv { background: #232323; border-color: var(--ink-line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.svc-panel .sv-chat { font-size: .95rem; padding: 26px; gap: 14px; }
.svc-panel .sv-serp { font-size: .95rem; }
.svc-panel .sv-status { font-size: .92rem; inset: 26px; }
.svc-panel-icon { position: absolute; top: 22px; left: 22px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); z-index: 1; }
.svc-panel.is-dark .svc-panel-icon { background: rgba(224,74,51,.16); color: var(--brand-hot); }
.svc-panel-icon .i { width: 22px; height: 22px; }
.included { display: grid; gap: 14px; }
@media (min-width: 640px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .included { grid-template-columns: repeat(3, 1fr); } }
.included li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.included .i { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); }
.included b { font-weight: 500; font-size: 1.08rem; }
.included span { color: var(--muted); font-size: .95rem; }

/* ---------- Reviews page ---------- */
.rv-hero, .ab-hero { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; position: relative; z-index: 1; }
@media (min-width: 1000px) { .rv-hero { grid-template-columns: 1.3fr .7fr; } .ab-hero { grid-template-columns: 1fr 1fr; } }
.rating-card { justify-self: center; width: min(100%, 360px); padding: 34px 32px; border-radius: var(--radius-lg); text-align: center; background: linear-gradient(160deg, #2a2a2a, #1f1f1f); border: 1px solid var(--ink-line-2); box-shadow: var(--shadow-lg); }
.rating-score { margin: 0; font-size: clamp(5rem, 10vw, 7rem); font-weight: 600; line-height: .9; color: #fff; }
.rating-stars { justify-content: center; margin: 14px 0 6px; gap: 4px; }
.rating-stars .i { width: 26px; height: 26px; }
.rating-label { margin: 0 0 22px; color: var(--on-ink-muted); }
.rating-facts { display: grid; gap: 10px; text-align: left; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: .95rem; }
.rating-facts li { display: flex; gap: 10px; align-items: center; }
.rating-facts .i { color: var(--ok); }
.rv-story { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.rv-story:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 980px) { .rv-story { grid-template-columns: 1fr 1.1fr; } .rv-story.flip > :first-child { order: 2; } }
.rv-quote { margin: 0; display: grid; gap: 22px; }
.rv-mark { width: 52px; height: 52px; color: var(--brand); }
.rv-quote blockquote { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.4; font-weight: 300; }
.rv-quote blockquote p { margin: 0; }
.rv-quote mark { background: linear-gradient(transparent 58%, rgba(186, 49, 28, .22) 58%); color: inherit; font-weight: 500; padding: 0 .05em; }
.rv-quote figcaption { display: flex; align-items: center; gap: 14px; }
.rv-quote cite { font-style: normal; display: grid; line-height: 1.35; }
.rv-quote cite b { font-weight: 500; }
.rv-quote cite span { color: var(--muted); font-size: .92rem; }
.rv-quote figcaption .stars { margin-left: auto; }
.rv-outcomes { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-outcomes li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.rv-outcomes .i { color: var(--ok); }
.rv-themes { display: grid; gap: 16px; }
@media (min-width: 860px) { .rv-themes { grid-template-columns: repeat(3, 1fr); } }
.rv-theme { padding: 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); }
.rv-theme .svc-icon { background: rgba(224,74,51,.14); color: var(--brand-hot); margin-bottom: 18px; }
.rv-theme h3 { font-size: 1.35rem; font-weight: 500; }
.rv-theme-quote { font-size: 1.15rem; font-weight: 300; color: var(--on-ink); margin: 0 0 10px; }
.rv-theme-who { margin: 0; font-size: .9rem; color: var(--on-ink-muted); }
.rv-leave { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.rv-leave h2 { margin: 0 0 4px; }
.rv-leave p { margin: 0; }

/* ---------- About page ---------- */
.ab-collage { position: relative; aspect-ratio: 6 / 5; max-width: 600px; width: 100%; justify-self: center; }
.ab-shot { position: absolute; transition: transform .8s var(--ease); }
.ab-shot-1 { left: 0; top: 4%; width: 74%; transform: rotate(-3deg); z-index: 1; }
.ab-shot-3 { right: 0; top: 40%; width: 66%; transform: rotate(2.5deg); z-index: 2; }
.ab-shot-2 { left: 52%; top: 0; width: 23%; transform: rotate(6deg); z-index: 3; }
.ab-shot .browser { box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.ab-collage:hover .ab-shot-1 { transform: rotate(-5deg) translate(-8px, -6px); }
.ab-collage:hover .ab-shot-3 { transform: rotate(4deg) translate(8px, 6px); }
.ab-badge { position: absolute; left: 4%; bottom: 2%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3; }
.ab-badge .i { width: 22px; height: 22px; }
.ab-badge b { display: block; font-weight: 600; font-size: .98rem; }
.ab-story { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 980px) { .ab-story { grid-template-columns: 1fr 1fr; } .ab-story-copy { position: sticky; top: calc(var(--header-h) + 40px); } }
.growth { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: g; }
.growth::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--brand), var(--line)); }
.growth li { position: relative; padding: 0 0 34px 68px; counter-increment: g; }
.growth li:last-child { padding-bottom: 0; }
.growth li::before { content: counter(g); position: absolute; left: 0; top: -4px; width: 44px; height: 50px; display: grid; place-items: center; font-weight: 600; color: #fff; background: var(--brand); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.growth li:last-child::before { background: var(--ink); color: var(--brand-hot); }
.growth h3 { font-size: 1.3rem; font-weight: 500; margin: 0 0 6px; }
.growth p { margin: 0; color: var(--muted); }
.founder { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 820px) { .founder { grid-template-columns: 300px 1fr; } }
.founder-panel { position: relative; display: grid; align-content: space-between; gap: 28px; min-height: 300px; padding: 28px; border-radius: var(--radius); overflow: hidden; color: var(--on-ink); background: radial-gradient(120% 90% at 100% 0%, #3a1c16 0%, var(--ink) 60%); }
.founder-mark { width: 92px; height: 96px; color: var(--brand-hot); transition: transform .8s var(--ease); }
.founder:hover .founder-mark { transform: rotate(60deg); }
.founder-facts { display: grid; gap: 10px; font-size: .95rem; }
.founder-facts li { display: flex; gap: 10px; align-items: center; color: var(--on-ink-muted); }
.founder-facts .i { color: var(--brand-hot); }
.founder-copy h2 { margin: 0; }
.founder-role { color: var(--brand-ink); font-weight: 500; margin: 6px 0 16px; letter-spacing: .04em; }
.founder .btn-row { margin-top: 20px; }
.ab-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
@media (min-width: 860px) { .ab-stats { grid-template-columns: repeat(4, 1fr); } }
.ab-stats > div { padding-left: 20px; border-left: 2px solid var(--brand-hot); }
.ab-stats b { display: block; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; margin-bottom: 8px; color: #fff; }
.ab-stats span { color: var(--on-ink-muted); }
.ab-values { display: grid; gap: 16px; }
@media (min-width: 860px) { .ab-values { grid-template-columns: repeat(3, 1fr); } }
.ab-value { position: relative; overflow: hidden; padding: 32px 30px 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.ab-value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ab-value-num { position: absolute; right: 22px; top: 10px; font-size: 4.6rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.ab-value .svc-icon { margin-bottom: 22px; }
.ab-value h3 { font-size: 1.35rem; font-weight: 500; }
.ab-value p { margin: 0; color: var(--muted); }
.ab-areas { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .ab-areas { grid-template-columns: .9fr 1.1fr; } }
.ab-local { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 560px) { .ab-local { grid-template-columns: 1fr 1fr; } }
.ab-local a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 16px; border-radius: 12px; text-decoration: none; background: rgba(255,255,255,.04); border: 1px solid var(--ink-line-2); transition: border-color .25s, background .25s; }
.ab-local a:hover { border-color: var(--brand-hot); background: rgba(224,74,51,.08); }
.ab-local span { font-size: .82rem; color: var(--on-ink-muted); grid-column: 1; }
.ab-local b { font-weight: 500; grid-column: 1; }
.ab-local .i { grid-column: 2; grid-row: 1 / span 2; color: var(--brand-hot); }
.area-map { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: #202020; border: 1px solid var(--ink-line-2);
  background-image: radial-gradient(rgba(255,255,255,.1) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.area-sea { position: absolute; top: 0; bottom: 0; right: 0; width: 18%; background: linear-gradient(90deg, transparent, rgba(80, 120, 160, .22) 40%); border-left: 2px dashed rgba(120, 160, 200, .25); }
.area-sea span { position: absolute; right: 14px; top: 50%; writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(160, 190, 220, .55); translate: 0 -50%; }
.area-ring { position: absolute; left: 74%; top: 52%; border-radius: 50%; border: 1px solid rgba(224, 74, 51, .35); translate: -50% -50%; }
.area-ring.r1 { width: 26%; aspect-ratio: 1; }
.area-ring.r2 { width: 58%; aspect-ratio: 1; border-color: rgba(224, 74, 51, .22); }
.area-ring.r3 { width: 100%; aspect-ratio: 1; border-color: rgba(224, 74, 51, .12); }
.js .area-map.is-in .area-ring { animation: ringIn 1.2s var(--ease) both; }
.js .area-map.is-in .r2 { animation-delay: .15s; } .js .area-map.is-in .r3 { animation-delay: .3s; }
@keyframes ringIn { from { opacity: 0; scale: .6; } }
.area-pin { position: absolute; translate: -8px -50%; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--on-ink); white-space: nowrap; }
.area-pin i { width: 10px; height: 11px; background: var(--on-ink-muted); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.area-pin.is-home { font-weight: 600; font-size: 1rem; z-index: 1; }
.area-pin.is-home i { width: 18px; height: 20px; background: var(--brand-hot); box-shadow: 0 0 0 0 rgba(224,74,51,.6); }
.area-pin.is-home::after { content: "We're here"; position: absolute; left: 0; top: 130%; padding: 3px 8px; border-radius: 6px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.area-map figcaption { position: absolute; left: 16px; bottom: 12px; font-size: .75rem; color: var(--on-ink-muted); }
@media (max-width: 520px) { .area-pin { font-size: .72rem; } .area-pin.is-home { font-size: .85rem; } }
@media (max-width: 640px) { .area-pin.east { flex-direction: row-reverse; translate: calc(-100% + 8px) -50%; } }
