/* ==========================================================================
   Raavora Technologies — website styles
   Geometric look that follows the logo, in a light theme (the default) and a
   dark theme. The visitor can switch with the header toggle; the choice is
   stored as data-theme on <html>.
   ========================================================================== */

/* ---------- Theme tokens ---------- */

/* light palette: the default */
:root {
  color-scheme: light;

  --bg: #faf8f5;
  --bg-rgb: 250, 248, 245;
  --bg-2: #f1eee9;
  --surface: #ffffff;
  --tint: 23, 22, 20;             /* colour used for borders / hover washes */
  --line: rgba(var(--tint), 0.1);
  --line-strong: rgba(var(--tint), 0.2);

  --text: #171614;
  --muted: #6a655e;
  --dim: rgba(23, 22, 20, 0.18);

  --blue: #2457e6;
  --violet: #6a4ae6;
  --mint: #0b8f72;
  --amber: #bf6f0a;
  --c-blue: 36, 87, 230;
  --c-violet: 106, 74, 230;
  --c-mint: 11, 143, 114;
  --c-amber: 214, 128, 22;
  --c-rose: 226, 80, 106;
  --glow: 0.75;                    /* strength of the background glows */
  --btn-hover: #000000;
  --logo-filter: invert(1);
  --show-sun: none;                /* theme toggle shows the icon of the theme it switches to */
  --show-moon: block;
  --hero-bg: #efebe5;
  --hero-glow: 0;

  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --container: 1240px;
  --header-h: 76px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* dark palette: chosen with the header toggle */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-rgb: 10, 10, 11;
  --bg-2: #101012;
  --surface: #141417;
  --tint: 255, 255, 255;
  --line: rgba(var(--tint), 0.09);
  --line-strong: rgba(var(--tint), 0.18);

  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: rgba(244, 244, 245, 0.2);

  --blue: #6ea8ff;
  --violet: #9b8cff;
  --mint: #4fe3c1;
  --amber: #ffb86b;
  --c-blue: 110, 168, 255;
  --c-violet: 155, 140, 255;
  --c-mint: 79, 227, 193;
  --c-amber: 255, 184, 107;
  --c-rose: 255, 122, 144;
  --glow: 1;
  --btn-hover: #ffffff;
  --logo-filter: none;
  --show-sun: block;
  --show-moon: none;
  --hero-bg: #0a0a0b;
  --hero-glow: 1;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-lock { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, dl, dd { margin: 0; }

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

::selection { background: rgba(var(--c-blue), 0.35); color: var(--text); }

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

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

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

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.eyebrow-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--line-strong);
}
/* section labels: a vertical gradient bar and bold gradient text (the centred hero label stays plain text) */
.eyebrow:not(.hero-eyebrow) {
  width: fit-content;
  max-width: 100%;
  gap: clamp(12px, 1.6vw, 18px);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.25;
  color: var(--blue);
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow:not(.hero-eyebrow) .eyebrow-line {
  flex: none;
  align-self: stretch;
  width: 4px;
  height: auto;
  min-height: 1.3em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}
.btn .arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover .arrow-down { transform: translateY(4px); }

/* primary button: inverse of the page colours (white on dark, black on light) */
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(var(--tint), 0.1); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); background: rgba(var(--tint), 0.06); transform: translateY(-2px); }

.btn-lg { padding: 16px 30px; font-size: 0.84rem; }

.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

/* scroll reveal (only when JS is available) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s, border-color 0.35s, height 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would turn it into the
   containing block of the fixed full-screen menu and squeeze the menu into the header box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(var(--bg-rgb), 0.72);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled::before { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 28px; width: auto; filter: var(--logo-filter); }
@media (min-width: 960px) { .brand img { height: 32px; } }

/* Navigation: a full-screen menu that opens with the hamburger. The background grows as a
   circle from the button, the links slide up one after another, and it plays backwards when
   closing. On wide screens, once the page is scrolled, it turns into plain inline links. */
.primary-nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(55% 45% at 85% 92%, rgba(var(--c-violet), calc(0.16 * var(--glow))), transparent 70%),
    radial-gradient(50% 45% at 8% 8%, rgba(var(--c-blue), calc(0.12 * var(--glow))), transparent 70%),
    var(--bg);
  clip-path: circle(0 at var(--ox, calc(100% - 40px)) var(--oy, 38px));
  visibility: hidden;
}
.primary-nav.is-open {
  clip-path: circle(160vmax at var(--ox, calc(100% - 40px)) var(--oy, 38px));
  visibility: visible;
}
/* animate only when the visitor opens/closes the menu — not when the header switches
   between the full-screen menu and inline links while scrolling */
.primary-nav.is-animating { transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.9s; }
.primary-nav.is-open.is-animating { transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s; }

.primary-nav a:not(.btn) {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 24px);
  padding: 2px 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, min(9.5vw, 9vh), 5.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: opacity 0.3s, color 0.2s;
}
/* centre the links when there is room, but let them scroll (from below the header) when there is not */
.primary-nav > :first-child { margin-top: auto; }
.nav-foot { margin-bottom: auto; }
@media (max-height: 560px) {
  .primary-nav { padding-top: calc(var(--header-h) + 6px); padding-bottom: 24px; }
  .primary-nav a:not(.btn) { font-size: clamp(1.6rem, 8vh, 2.6rem); padding: 1px 0; }
  .nav-foot { margin-top: 14px; }
  .nav-deco { display: none; }
}

.nl-num {
  margin-top: 0.9em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.25s;
}
.nl-text { display: block; overflow: hidden; padding: 0 0.04em 0.12em 0; transition: padding-left 0.45s var(--ease); }
.nl-text > span { display: block; transform: translateY(112%); transition: transform 0.3s var(--ease); }

.primary-nav.is-open .nl-num { opacity: 1; transition: opacity 0.7s ease calc(0.5s + var(--i, 0) * 0.07s); }
.primary-nav.is-open .nl-text > span { transform: none; transition: transform 0.95s var(--ease) calc(0.34s + var(--i, 0) * 0.07s); }

/* hover: nudge the link and dim its neighbours */
.primary-nav.is-open a:not(.btn):hover .nl-text { padding-left: 0.28em; }
.primary-nav.is-open:has(a:not(.btn):hover) a:not(.btn):not(:hover) { opacity: 0.3; }

.nav-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: clamp(24px, 5vh, 48px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s, transform 0.25s;
}
.nav-foot p { color: var(--muted); font-size: 0.92rem; }
.primary-nav.is-open .nav-foot { opacity: 1; transform: none; transition: opacity 0.7s ease 0.95s, transform 0.9s var(--ease) 0.95s; }

/* Services drill-down: tapping "Services" in the full-screen menu slides in the list of services,
   with a back button, contact details on the right and a faint oversized word behind it all. */
.nav-sub {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3.4vh, 36px);
  padding: calc(var(--header-h) + clamp(14px, 4vh, 40px)) var(--gutter) 40px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition: opacity 0.3s, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.primary-nav.is-open.is-sub .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease 0.18s, transform 0.75s var(--ease) 0.1s, visibility 0s; }

/* while the list is open the main links step aside */
.primary-nav.is-open.is-sub > a,
.primary-nav.is-open.is-sub .nav-item > a,
.primary-nav.is-open.is-sub .nav-foot { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.primary-nav.is-open.is-sub .nav-deco { opacity: 0; }

.nav-sub-head { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); }
.nav-back {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(38px, 5.4vh, 48px);
  height: clamp(38px, 5.4vh, 48px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.nav-back:hover { transform: translateX(-3px); }
.nav-back svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-sub-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 6vh, 3.6rem); line-height: 1; letter-spacing: -0.04em; }

.nav-sub-list { display: grid; justify-items: start; gap: clamp(2px, 1vh, 12px); }
.primary-nav .nav-sub-list a:not(.btn) {
  display: inline-block;
  padding: 2px 0;
  font-size: clamp(1.35rem, min(4.7vh, 7vw), 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  transition: opacity 0.3s, color 0.2s, translate 0.35s var(--ease);
}
.primary-nav .nav-sub-list a:not(.btn):hover { translate: 6px 0; }
.primary-nav .nav-sub-list a[aria-current="page"] { color: var(--blue); }
.primary-nav .nav-sub-list a.nav-sub-all:not(.btn) { color: var(--muted); }
.nav-sub-all::after { content: " \2192"; }
@keyframes nav-rise { from { opacity: 0; translate: 0 16px; } }
.primary-nav.is-open.is-sub .nav-sub-list a { animation: nav-rise 0.7s var(--ease) backwards calc(var(--k, 0) * 45ms + 220ms); }

.nav-sub-info { display: grid; gap: clamp(22px, 4vh, 44px); margin-top: 6px; }
.nsi-group h3 { margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--blue); }
.nsi-group p { margin-bottom: 4px; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.primary-nav .nsi-group a:not(.btn) {
  display: block;
  width: fit-content;
  padding: 2px 0;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
  transition: opacity 0.3s, color 0.2s;
}
.primary-nav .nsi-group a:not(.btn):hover { color: var(--text); }
.nsi-links { display: flex; flex-wrap: wrap; gap: 0 20px; }

.nav-ghost {
  position: absolute;
  left: -1vw;
  bottom: 2vh;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 17vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow: hidden;   /* keeps the glyph box inside the line box, so it adds no scroll */
  color: rgba(var(--tint), 0.045);
  pointer-events: none;
  user-select: none;
}

@media (min-width: 900px) {
  .nav-sub {
    display: grid;
    grid-template-columns: calc(60.5vw - var(--gutter)) minmax(0, 340px);   /* contact column starts about 60% across */
    grid-template-rows: auto 1fr;
    column-gap: 0;
    row-gap: clamp(16px, 3.4vh, 36px);
    align-content: start;
  }
  .nav-sub-head { grid-column: 1; grid-row: 1; }
  .nav-sub-list { grid-column: 1; grid-row: 2; align-content: start; }
  .nav-sub-info { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; }
}

/* main menu: contact column on the right (wide screens) and a faint "Menu" behind the links */
.nav-info { display: none; }
@media (min-width: 1100px) {
  .nav-info {
    position: absolute;
    left: 60.5vw;
    top: 50%;
    display: block;
    width: min(340px, calc(39.5vw - var(--gutter)));
    translate: 0 -50%;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.25s, transform 0.25s;
  }
  .primary-nav.is-open .nav-info { opacity: 1; transform: none; transition: opacity 0.7s ease 0.95s, transform 0.9s var(--ease) 0.95s; }
  .primary-nav.is-open.is-sub .nav-info { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
}
.nav-ghost-main { opacity: 0; transition: opacity 0.25s; }
.primary-nav.is-open:not(.is-sub) .nav-ghost-main { opacity: 1; transition: opacity 1.2s ease 0.5s; }

/* the </> symbol from the banner, drifting in behind the links */
.nav-deco {
  position: absolute;
  z-index: -1;   /* behind the links, so text always stays on top */
  right: clamp(12px, 4vw, 64px);
  bottom: clamp(12px, 5vh, 56px);
  width: clamp(120px, 18vw, 260px);
  aspect-ratio: 1.476;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7) rotate(-12deg);
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
@media (max-width: 599px) { .nav-deco { width: 96px; right: 14px; bottom: 14px; } }
.nav-deco svg { position: absolute; display: block; height: auto; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.12; }
.nav-deco .d1 { left: 0; top: 0; width: 100%; }
.nav-deco .back { transform: translate(0.07px, 0.05px); } /* softer copy sits slightly behind, offset by 0.07 x 0.05 symbol units */
.nav-deco .d1 .front { stroke: rgba(var(--c-violet), 0.5); }
.nav-deco .d1 .back { stroke: rgba(var(--c-blue), 0.3); }
.primary-nav.is-open .nav-deco { opacity: 1; transform: none; transition: opacity 1s ease 0.4s, transform 1.5s var(--ease) 0.3s; }

@media (min-width: 1180px) {
  .site-header.is-scrolled .primary-nav {
    position: static;
    z-index: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 0;
    overflow: visible;
    background: none;
    clip-path: none;
    visibility: visible;
    transition: none;
  }
  .site-header.is-scrolled .primary-nav a:not(.btn) {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.65;
    text-transform: none;
    color: var(--muted);
    opacity: 1 !important;
  }
  .site-header.is-scrolled .primary-nav > :first-child { margin-top: 0; }
  .site-header.is-scrolled .nl-num,
  .site-header.is-scrolled .nav-foot,
  .site-header.is-scrolled .nav-deco { display: none; }
  .site-header.is-scrolled .nl-text { display: inline; overflow: visible; padding: 0 !important; }
  .site-header.is-scrolled .nl-text > span { display: inline; transform: none; transition: none; }
  .site-header.is-scrolled .primary-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .site-header.is-scrolled .primary-nav a:not(.btn):hover { color: var(--text); }
  .site-header.is-scrolled .primary-nav a:not(.btn):hover::after { transform: scaleX(1); }
  /* ...and the service list becomes a dropdown under Services */
  .site-header.is-scrolled .nav-item { position: relative; }
  .site-header.is-scrolled .nav-sub {
    position: absolute;
    inset: auto;
    top: 100%; left: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 2px;
    min-width: 300px;
    max-width: none;
    margin: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(var(--bg-rgb), 0.97);
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s linear 0.25s;
  }
  .site-header.is-scrolled .nav-sub-head,
  .site-header.is-scrolled .nav-sub-info,
  .site-header.is-scrolled .nav-info,
  .site-header.is-scrolled .nav-ghost { display: none; }
  .site-header.is-scrolled .nav-sub-list { grid-column: auto; grid-row: auto; columns: 1; }
  .site-header.is-scrolled .nav-grp { margin: 0; gap: 2px; justify-items: stretch; }
  .site-header.is-scrolled .nav-grp-title { padding: 12px 14px 4px; margin: 0; }
  .site-header.is-scrolled .nav-sub-all { margin: 0; display: block; }
  .site-header.is-scrolled .nav-item:hover .nav-sub,
  .site-header.is-scrolled .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-header.is-scrolled .primary-nav .nav-sub a:not(.btn) {
    display: block;
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .site-header.is-scrolled .primary-nav .nav-sub a:not(.btn)::after { display: none; }
  .site-header.is-scrolled .primary-nav .nav-sub a:not(.btn):hover,
  .site-header.is-scrolled .primary-nav .nav-sub a[aria-current="page"] { translate: none; background: rgba(var(--tint), 0.08); color: var(--text); }
  .site-header.is-scrolled .menu-toggle { display: none; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.header-cta {
  display: none;
  padding: 11px 20px;
  font-size: 0.72rem;
  box-shadow: 0 4px 14px rgba(var(--tint), 0.12);
}
@media (min-width: 520px) { .header-cta { display: inline-flex; } }

.theme-toggle,
.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s, transform 0.5s var(--ease);
}
.theme-toggle:hover,
.menu-toggle:hover { background: rgba(var(--tint), 0.08); }
.theme-toggle:hover { transform: rotate(15deg); }

.theme-toggle svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .icon-sun { display: var(--show-sun); }
.theme-toggle .icon-moon { display: var(--show-moon); }

.menu-toggle span {
  position: absolute;
  left: 7px; right: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero banner ---------- */
/* Quiet, centred banner: small label, one huge headline with a rotating coloured
   word, and soft translucent petals drifting around it. */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(var(--c-blue), calc(0.13 * var(--hero-glow))), transparent 70%),
    radial-gradient(40% 40% at 85% 85%, rgba(var(--c-violet), calc(0.12 * var(--hero-glow))), transparent 70%),
    radial-gradient(35% 35% at 10% 80%, rgba(var(--c-mint), calc(0.08 * var(--hero-glow))), transparent 70%),
    var(--hero-bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero-inner { position: relative; }

.hero-eyebrow {
  justify-content: center;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding-left: 0.34em; /* balances the trailing letter-spacing so the text is truly centred */
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.26em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6.4vw, 7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.js .hero-eyebrow { animation: rise 1s var(--ease) 0.15s both; }
.js .hero-title { animation: rise 1.1s var(--ease) 0.3s both; }

/* ---------- Services ---------- */
/* Header (title, intro, count) followed by an icon / title / description grid. */

.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }


.services-head { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 84px); }
@media (min-width: 900px) {
  .services-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; }
}
.services-head .eyebrow { margin-bottom: 22px; }
.services-head .section-lead { margin-top: 0; }
.services-head-side { display: grid; gap: 26px; }
.services-head-side .link-arrow { justify-self: start; }
@media (min-width: 900px) {
  .services-head-side .link-arrow { justify-self: end; }
}

/* --- services: bento grid --- */
/* Tiles of different sizes, each with a small live scene that shows what the service is:
   a cursor clicking a site, bars moving, code being typed, a heartbeat of uptime bars… The tile
   tints with its own accent colour; on hover it lifts and its scene speeds up. */

.acc-blue   { --acc: var(--c-blue); }
.acc-mint   { --acc: var(--c-mint); }
.acc-violet { --acc: var(--c-violet); }
.acc-rose   { --acc: var(--c-rose); }
.acc-amber  { --acc: var(--c-amber); }

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(268px, auto);
  gap: 16px;
}
.bt-web { min-height: 520px; }
.bt-mob { min-height: 480px; }
@media (max-width: 359px) { .bt-web { min-height: 570px; } }
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); }
  .bt-web { grid-column: 1 / -1; grid-row: span 2; min-height: 0; }
  .bt-mob { grid-row: span 2; min-height: 0; }
}
@media (min-width: 1100px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "web web cs  mob"
      "web web ux  mob"
      "eco ai  biz ind"
      "mkt mkt ask ask";
  }
  .bt-web { grid-area: web; } .bt-cs { grid-area: cs; } .bt-mob { grid-area: mob; } .bt-ux { grid-area: ux; }
  .bt-eco { grid-area: eco; } .bt-ai { grid-area: ai; } .bt-biz { grid-area: biz; } .bt-ind { grid-area: ind; }
  .bt-mkt { grid-area: mkt; } .bt-ask { grid-area: ask; }
}

.bt {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--acc), calc(0.2 * var(--glow))), transparent 62%),
    var(--surface);
  transition: translate 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.js .bt.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), translate 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.bt:hover {
  translate: 0 -5px;
  border-color: rgba(var(--acc), 0.55);
  box-shadow: 0 26px 50px -26px rgba(var(--acc), 0.6);
}

.bt-num {
  position: absolute;
  left: 26px; top: 22px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.bt-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding-top: 22px;
}
/* the two tall tiles keep their art pinned to the top, above the text */
.bt-web .bt-art, .bt-mob .bt-art { position: absolute; left: 0; right: 0; top: 0; flex: none; min-height: 0; margin: 0; }
.bt-text { position: relative; z-index: 2; }
.bt h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.bt p { max-width: 34ch; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.bt-web .bt-art { bottom: 160px; padding-top: 38px; }
.bt-web h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.bt-web p { max-width: 46ch; font-size: 1rem; }
.bt-mob .bt-art {
  bottom: 146px;
  place-items: start center;
  padding-top: 32px;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}

/* ---- 01 · website: a page being built, a cursor clicking its button ---- */
.bw-wrap { position: relative; width: min(450px, 90%); }
.bw {
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.45);
  translate: 0 10px;
  rotate: -1.5deg;
  transition: translate 0.6s var(--ease), rotate 0.6s var(--ease);
}
.bt:hover .bw { translate: 0 0; rotate: 0deg; }
.bw-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.bw-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--tint), 0.25); }
.bw-bar i:nth-child(1) { background: rgb(var(--c-rose)); } .bw-bar i:nth-child(2) { background: rgb(var(--c-amber)); } .bw-bar i:nth-child(3) { background: rgb(var(--c-mint)); }
.bw-bar span { flex: 1; height: 14px; margin-left: 10px; border-radius: 7px; background: rgba(var(--tint), 0.08); }
.bw-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 16px; }
.bw-copy b { display: block; height: 12px; margin-bottom: 8px; border-radius: 6px; background: var(--text); opacity: 0.85; transform-origin: left; animation: grow 6s ease-in-out infinite; }
.bw-copy .l1 { width: 92%; } .bw-copy .l2 { width: 64%; animation-delay: 0.3s; }
.bw-copy em { display: block; width: 80%; height: 7px; margin: 12px 0 5px; border-radius: 4px; background: rgba(var(--tint), 0.2); }
.bw-copy em.s { width: 56%; margin: 0; }
.bw-btn { position: relative; display: block; width: 78px; height: 26px; margin-top: 12px; overflow: hidden; border-radius: 13px; background: rgb(var(--acc)); }
.bw-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); translate: -100% 0; animation: shimmer 3.2s ease-in-out infinite; }
.bw-img { position: relative; height: 112px; overflow: hidden; border-radius: 14px; background: linear-gradient(150deg, rgba(var(--c-blue), 0.95), rgba(var(--c-violet), 0.95) 60%, rgba(var(--c-rose), 0.85)); }
.bw-img .sun { position: absolute; right: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 24px rgba(255, 230, 170, 0.9); }
.bw-img .hill { position: absolute; left: -20px; right: -20px; bottom: -42px; height: 72px; border-radius: 50%; background: rgba(20, 10, 70, 0.35); }
.bw-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bw-cards i { height: 34px; border-radius: 10px; background: rgba(var(--tint), 0.07); }
.bw-cursor {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 18px; height: 22px;
  background: var(--text);
  clip-path: polygon(0 0, 0 100%, 28% 78%, 50% 100%, 66% 91%, 46% 68%, 92% 64%);
  pointer-events: none;
  animation: bw-move 7s var(--ease) infinite;
}
.bw-ripple { position: absolute; left: 55px; top: 135px; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid rgb(var(--acc)); border-radius: 50%; opacity: 0; animation: bw-rip 7s infinite; }
.bw-live {
  position: absolute; right: -6px; top: -16px; z-index: 3;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgb(var(--c-mint)); color: #06281f;
  font: 700 11px/1 var(--font-display);
  box-shadow: 0 10px 24px -8px rgba(var(--c-mint), 0.8);
  scale: 0;
  animation: bw-pop 7s infinite;
}
.bw-live i { width: 7px; height: 7px; border-radius: 50%; background: #06281f; }

/* ---- 02 · web app: bars that keep moving ---- */
.a-bars { display: flex; align-items: flex-end; gap: 10px; height: 74px; }
.a-bars i { display: block; width: 18px; height: var(--a); border-radius: 7px; background: rgba(var(--acc), 0.38); animation: bar 3.4s ease-in-out infinite; }
.a-bars i.hot { background: rgb(var(--acc)); }
.a-bars i:nth-child(2) { animation-delay: -0.6s; } .a-bars i:nth-child(3) { animation-delay: -1.2s; }
.a-bars i:nth-child(4) { animation-delay: -1.8s; } .a-bars i:nth-child(5) { animation-delay: -2.4s; } .a-bars i:nth-child(6) { animation-delay: -3s; }
.bt:hover .a-bars i { animation-duration: 1.7s; }

/* ---- 03 · mobile: a phone with a ring and a list ---- */
.ph {
  position: relative;
  width: min(172px, 64%);
  aspect-ratio: 9 / 18.6;
  padding: 7px;
  border-radius: 30px;
  background: #0f1013;
  box-shadow: 0 0 0 1.5px #3b3d46, 0 40px 60px -24px rgba(0, 0, 0, 0.55);
  rotate: -6deg;
  translate: 0 4px;
  transition: rotate 0.6s var(--ease), translate 0.6s var(--ease);
}
.bt:hover .ph { rotate: 0deg; translate: 0 -6px; }
.ph-isl { position: absolute; z-index: 2; left: 50%; top: 14px; width: 42px; height: 12px; margin-left: -21px; border-radius: 8px; background: #000; }
.ph-scr { position: relative; height: 100%; padding: 36px 12px 0; overflow: hidden; border-radius: 24px; background: var(--bg-2); }
.ph-head { display: flex; align-items: center; justify-content: space-between; }
.ph-head b { width: 48px; height: 8px; border-radius: 4px; background: var(--text); opacity: 0.8; }
.ph-head i { width: 16px; height: 16px; border-radius: 50%; background: rgb(var(--acc)); }
.ph-ring { display: block; width: 84px; height: 84px; margin: 14px auto 12px; }
.ph-ring .r-bg { fill: none; stroke: rgba(var(--acc), 0.22); stroke-width: 10; }
.ph-ring .r-fg { fill: none; stroke: rgb(var(--acc)); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 62 100; transform: rotate(-90deg); transform-origin: center; animation: ring 4.5s ease-in-out infinite; }
.ph-row { position: relative; height: 30px; margin-bottom: 8px; border-radius: 12px; background: rgba(var(--tint), 0.07); animation: row 4.5s ease-in-out infinite; }
.ph-row::before { content: ""; position: absolute; left: 8px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: rgba(var(--acc), 0.7); }
.ph-row::after { content: ""; position: absolute; left: 30px; top: 11px; width: 52%; height: 8px; border-radius: 4px; background: rgba(var(--tint), 0.2); }
.ph-row:nth-child(4) { animation-delay: 0.25s; } .ph-row:nth-child(5) { animation-delay: 0.5s; }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 12px; height: 34px; background: rgba(var(--tint), 0.05); }
.ph-tabs i { width: 7px; height: 7px; border-radius: 50%; background: rgba(var(--tint), 0.25); }
.ph-tabs i.on { background: rgb(var(--acc)); }

/* ---- 04 · design: a curve being drawn, anchor points, swatches ---- */
.a-pen { position: relative; width: 180px; height: 90px; }
.a-pen svg { display: block; width: 100%; height: 100%; overflow: visible; }
.a-pen .ghost { fill: none; stroke: rgba(var(--tint), 0.16); stroke-width: 2; stroke-dasharray: 3 5; }
.a-pen .curve { fill: none; stroke: rgb(var(--acc)); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 5s ease-in-out infinite; }
.a-pen .anc rect { fill: var(--surface); stroke: rgb(var(--acc)); stroke-width: 2; }
.a-pen .anc { animation: anc 5s infinite; }
.a-pen-cur {
  position: absolute; left: 0; top: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgb(var(--acc));
  box-shadow: 0 0 0 4px rgba(var(--acc), 0.25);
  offset-path: path("M14 72C50 72 54 18 96 28S150 72 168 16");
  offset-rotate: 0deg;
  animation: travel 5s ease-in-out infinite;
}
.a-sw { position: absolute; display: flex; gap: 6px; }
.a-sw i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--surface); }
.a-sw i:nth-child(1) { background: rgb(var(--c-blue)); } .a-sw i:nth-child(2) { background: rgb(var(--c-violet)); } .a-sw i:nth-child(3) { background: rgb(var(--c-amber)); }

/* ---- 05 · e-commerce: a bag, a counter that ticks up ---- */
.a-cart { position: relative; display: grid; place-items: center; width: 100px; height: 88px; }
.a-cart .bag { width: 64px; height: 64px; color: rgb(var(--acc)); animation: hop 4.5s infinite; }
.a-cart .bag .f { fill: currentColor; }
.a-cart .bag .s { fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: round; }
.badge { position: absolute; right: 8px; top: 0; width: 24px; height: 24px; overflow: hidden; border-radius: 50%; background: var(--text); color: var(--bg); font: 700 12px/24px var(--font-display); text-align: center; }
.badge .roll { display: block; animation: tick 4.5s steps(1, end) infinite; }
.badge b { display: block; height: 24px; }
.tagp { position: absolute; left: -22px; bottom: 0; padding: 4px 10px; border: 1px solid rgba(var(--acc), 0.5); border-radius: 99px; background: rgba(var(--acc), 0.2); font: 700 12px var(--font-display); animation: float 4s ease-in-out infinite; }

/* ---- 06 · support: a status pill and a row of health bars ---- */
.a-up { display: grid; justify-items: center; gap: 14px; }
.a-up .ok { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid rgba(var(--acc), 0.5); border-radius: 99px; background: rgba(var(--acc), 0.16); font: 700 11px var(--font-display); }
.a-up .ok i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--acc)); animation: pulse 1.6s infinite; }
.a-up .bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.a-up .bars i { width: 8px; height: 100%; border-radius: 4px; background: rgb(var(--acc)); opacity: 0.35; transform-origin: bottom; animation: blip 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * 0.12s); }

/* ---- keyframes ---- */
@keyframes grow { 0%, 100% { scale: 1 1; } 50% { scale: 0.82 1; } }
@keyframes shimmer { 0%, 40% { translate: -100% 0; } 80%, 100% { translate: 100% 0; } }
@keyframes bw-move {
  0% { transform: translate(330px, 220px); }
  28% { transform: translate(60px, 138px); }
  34% { transform: translate(60px, 138px) scale(0.82); }
  40% { transform: translate(60px, 138px); }
  72% { transform: translate(60px, 138px); }
  100% { transform: translate(330px, 220px); }
}
@keyframes bw-rip { 0%, 32% { opacity: 0; scale: 0.4; } 34% { opacity: 0.9; scale: 0.4; } 46%, 100% { opacity: 0; scale: 3.2; } }
@keyframes bw-pop { 0%, 38% { scale: 0; } 44% { scale: 1.12; } 48%, 92% { scale: 1; } 100% { scale: 0; } }
@keyframes bar { 0%, 100% { height: var(--a); } 50% { height: var(--b); } }
@keyframes ring { 0%, 100% { stroke-dasharray: 30 100; } 50% { stroke-dasharray: 84 100; } }
@keyframes row { 0%, 100% { translate: 0 0; opacity: 1; } 50% { translate: 6px 0; opacity: 0.75; } }
@keyframes draw { 0% { stroke-dashoffset: 100; } 50%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes anc { 0%, 18% { opacity: 0; } 30%, 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes travel { 0% { offset-distance: 0%; opacity: 1; } 50%, 86% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes hop { 0% { translate: 0 0; } 3% { translate: 0 -9px; } 7%, 33% { translate: 0 0; } 36% { translate: 0 -9px; } 40%, 66% { translate: 0 0; } 69% { translate: 0 -9px; } 73%, 100% { translate: 0 0; } }
@keyframes tick { 0% { translate: 0 0; } 33% { translate: 0 -24px; } 66% { translate: 0 -48px; } 100% { translate: 0 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes dots { 0%, 60%, 100% { translate: 0 0; opacity: 0.4; } 30% { translate: 0 -4px; opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--acc), 0.5); } 60% { box-shadow: 0 0 0 6px rgba(var(--acc), 0); } }
@keyframes blip { 0%, 100% { opacity: 0.3; scale: 1 0.55; } 12% { opacity: 1; scale: 1 1; } 30% { opacity: 0.5; scale: 1 0.8; } }

/* ---- 02 · custom software: code lines typing out ---- */
.a-code { display: grid; gap: 10px; width: 150px; }
.a-code .ln { display: flex; align-items: center; gap: 6px; height: 9px; animation: typeln 6s steps(12, end) infinite; animation-delay: var(--d); }
.a-code .ln i { display: block; height: 9px; border-radius: 5px; background: rgba(var(--tint), 0.22); }
.a-code .ln .c1 { background: rgb(var(--acc)); } .a-code .ln .c2 { background: rgb(var(--c-violet)); }
.a-code .ln .c3 { background: rgb(var(--c-mint)); } .a-code .ln .c4 { background: rgb(var(--c-amber)); }
.a-code .caret { display: block; width: 2px; height: 14px; background: var(--text); animation: blink 1s steps(2, jump-none) infinite; }

/* ---- 06 · AI: a breathing orb, an orbiting dot, a typing bubble ---- */
.a-ai { position: relative; display: grid; place-items: center; width: 110px; height: 100px; }
.a-ai .orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0, rgba(var(--acc), 0.55) 28%, rgb(var(--acc)) 60%, rgba(var(--c-blue), 0.9) 100%); box-shadow: 0 0 36px rgba(var(--acc), 0.6); animation: breathe 3.6s ease-in-out infinite; }
.a-ai .orbit { position: absolute; inset: 0; width: 92px; height: 92px; margin: auto; border: 1px dashed rgba(var(--acc), 0.5); border-radius: 50%; animation: spin 9s linear infinite; }
.a-ai .orbit i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: rgb(var(--c-mint)); box-shadow: 0 0 10px rgb(var(--c-mint)); }
.a-ai .typing { position: absolute; right: -30px; top: 2px; display: flex; gap: 4px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.a-ai .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dots 1.2s infinite; }
.a-ai .typing i:nth-child(2) { animation-delay: 0.15s; } .a-ai .typing i:nth-child(3) { animation-delay: 0.3s; }

/* ---- 08 · industrial: a scanning beam over a crate, with a "passed" tag ---- */
.a-scan { position: relative; display: grid; place-items: center; width: 150px; height: 96px; border: 1px dashed rgba(var(--acc), 0.5); border-radius: 14px; }
.a-scan .box { width: 52px; height: 42px; border: 1px solid rgba(var(--acc), 0.7); border-radius: 8px; background: rgba(var(--acc), 0.22); }
.a-scan .beam { position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; border-radius: 2px; background: rgb(var(--acc)); box-shadow: 0 0 14px rgb(var(--acc)); animation: scan 3.2s ease-in-out infinite; }
.a-scan .ok { position: absolute; right: -14px; bottom: -10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(var(--acc), 0.5); border-radius: 99px; background: var(--surface); font: 700 10px var(--font-display); }
.a-scan .ok i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--acc)); animation: pulse 1.6s infinite; }

/* ---- 09 · marketing: a search chip and a rising line ---- */
.a-grow { position: relative; width: 160px; height: 90px; }
.a-grow svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 80px; overflow: visible; }
.a-grow .ghost { fill: none; stroke: rgba(var(--tint), 0.16); stroke-width: 2; stroke-dasharray: 3 5; }
.a-grow .curve { fill: none; stroke: rgb(var(--acc)); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 5s ease-in-out infinite; }
.a-grow .dot { fill: var(--surface); stroke: rgb(var(--acc)); stroke-width: 2.5; animation: anc 5s infinite; }
.a-grow .q { position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); font: 700 11px var(--font-display); }
.a-grow .q i { width: 8px; height: 8px; border: 2px solid var(--muted); border-radius: 50%; }

@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.1; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes typeln { 0% { clip-path: inset(0 100% 0 0); } 14%, 86% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scan { 0%, 100% { top: 8px; } 50% { top: 84px; } }

/* ---- the "not sure yet" tile ---- */
.bt-ask { justify-content: center; background: radial-gradient(120% 140% at 100% 0%, rgba(var(--acc), calc(0.24 * var(--glow))), transparent 62%), var(--surface); }
.bt-ask::after { content: "{ }"; position: absolute; right: 24px; bottom: 6px; font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -0.06em; color: rgba(var(--acc), 0.14); pointer-events: none; }
.bt-ask .bt-text { max-width: 34ch; }
.bt-kicker { margin-bottom: 10px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.bt-ask h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.bt-cta { margin-top: 14px; font-size: 0.95rem; font-weight: 600; }

/* ---------- Why ---------- */

.why-layout { display: grid; gap: clamp(40px, 7vw, 80px); }
@media (min-width: 960px) {
  .why-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.why-intro .eyebrow { margin-bottom: 22px; }
.why-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }

.pillars { border-top: 1px solid var(--line); }
.pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}
.pillar-num {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  padding-top: 6px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.pillar p { color: var(--muted); max-width: 52ch; }

/* ---------- Process ---------- */

.process { background: var(--bg-2); }

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.5s var(--ease), opacity 0.8s var(--ease);
}
.step:hover { border-color: var(--line-strong); }
.step-num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: color 0.3s;
}
.step:hover .step-num { color: var(--blue); }
.step-kicker {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--blue);
  margin-bottom: 10px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p:last-child { color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact { padding-top: 0; }

.contact-card {
  position: relative;
  display: grid;
  gap: 40px;
  padding: clamp(32px, 6vw, 80px);
  border: 1px solid var(--line-strong);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(var(--c-violet), calc(0.2 * var(--glow))), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(var(--c-blue), calc(0.16 * var(--glow))), transparent 60%),
    var(--surface);
  overflow: hidden;
}
@media (min-width: 960px) { .contact-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

.contact-copy .eyebrow { margin-bottom: 22px; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.contact-copy .btn { margin-top: 32px; }

.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.contact-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line-strong);
}
.contact-list dt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.contact-list dd { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-top: clamp(52px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: rgba(var(--tint), 0.025);
}

/* brand, services, company, contact: stacked on phones, rows on tablets, four columns on wide screens */
.footer-main {
  display: grid;
  gap: 44px clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(44px, 5vw, 64px);
  grid-template-areas: "brand" "services" "company" "reach";
}
.footer-brand { grid-area: brand; }
.footer-services { grid-area: services; }
.footer-company { grid-area: company; }
.footer-reach { grid-area: reach; }

.footer-logo { display: inline-block; }
.footer-logo img { display: block; height: 36px; width: auto; margin-bottom: 20px; filter: var(--logo-filter); }
.footer-tagline {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
}
.footer-tagline span { display: block; text-wrap: balance; }
.footer-tagline span + span { color: var(--muted); }

/* column titles: solid text in the main text colour (black in light, white in dark) */
.footer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.footer-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.footer-all {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.72;
  transition: opacity 0.2s;
}
.footer-all span { display: inline-block; transition: transform 0.35s var(--ease); }
.footer-all:hover, .footer-all:focus-visible { opacity: 1; }
.footer-all:hover span, .footer-all:focus-visible span { transform: translateX(3px); }

.footer-links { columns: 2 230px; column-gap: 32px; }
.footer-company .footer-links { columns: 1; }
.footer-links a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.72;
  break-inside: avoid;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 5px) / 0 1px no-repeat;
  transition: opacity 0.2s, background-size 0.35s var(--ease);
}
.footer-links a:hover, .footer-links a:focus-visible, .footer-links a[aria-current="page"] { opacity: 1; background-size: 100% 1px; }

/* contact details */
.footer-details { display: grid; gap: 16px 28px; }
.footer-details div { min-width: 0; }
.footer-details dt { margin-bottom: 2px; font-size: 0.8rem; color: var(--muted); }
.footer-details dd { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; text-wrap: balance; }
.footer-details a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.footer-details a:hover { background-size: 100% 1px; }

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand brand" "services services" "company reach";
  }
}
@media (min-width: 800px) {
  .footer-links { columns: 3 230px; }
  .footer-company .footer-links { columns: 1; }
}
@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "brand brand brand" "services services services" "company reach reach";
  }
  .footer-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-details > div:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .footer-main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.1fr);
    grid-template-areas: "brand services company reach";
  }
  .footer-links { columns: 1; }
  .footer-details { grid-template-columns: minmax(0, 1fr); }
}

.footer-bottom-wrap { border-top: 1px solid var(--line); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-block: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom p { margin-right: auto; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-legal a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  transition: opacity 0.2s;
}
.footer-legal a:hover, .footer-legal a:focus-visible { opacity: 0.6; }
.back-top {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.back-top svg { transition: transform 0.35s var(--ease); }
.back-top:hover, .back-top:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(var(--tint), 0.22); }
.back-top:hover svg { transform: translateY(-2px); }
@media (min-width: 640px) {
  .back-top { margin-left: 0; }
}

/* oversized wordmark along the bottom edge, cropped and faded */
.footer-mark { pointer-events: none; }
.footer-mark > div {
  overflow: hidden;
  aspect-ratio: 1308 / 130;
  -webkit-mask-image: linear-gradient(#000 25%, transparent 96%);
  mask-image: linear-gradient(#000 25%, transparent 96%);
}
.footer-mark img { display: block; width: 100%; height: auto; opacity: 0.09; filter: var(--logo-filter); }

/* ---------- Links from the home page tiles ---------- */

.bt-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.bt-link:focus-visible { outline-offset: -4px; }
.bt-go {
  position: absolute;
  right: 20px; top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  opacity: 0;
  translate: -6px 6px;
  transition: opacity 0.3s, translate 0.45s var(--ease);
}
.bt-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bt:hover .bt-go, .bt:focus-within .bt-go { opacity: 1; translate: 0 0; }
.a-sw { right: 24px; top: 72px; }   /* keeps the colour dots clear of the arrow */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 600;
  transition: border-color 0.25s, gap 0.35s var(--ease);
}
.link-arrow:hover { border-color: var(--text); gap: 14px; }
.section-head:not(.sd-more-head) .link-arrow { margin-top: 26px; }

/* the page you are on, inside the inline header links */
@media (min-width: 1180px) {
  .site-header.is-scrolled .primary-nav a[aria-current="page"] { color: var(--text); }
}

/* ---------- Services page ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(44px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(var(--c-violet), calc(0.15 * var(--glow))), transparent 70%),
    radial-gradient(45% 50% at 4% 92%, rgba(var(--c-blue), calc(0.11 * var(--glow))), transparent 70%),
    var(--bg);
}
.crumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.crumbs a { padding: 8px 4px; margin: -8px -4px; }   /* bigger tap area, same look */
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }

.page-title {
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.page-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-lead { max-width: 52ch; margin-top: 26px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* sticky service bar with scroll-spy */
.page-services, .page-service { --bar-h: 60px; }
.sv-bar {
  position: sticky;
  top: 66px;
  z-index: 90;
  background: rgba(var(--bg-rgb), 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-block: 1px solid var(--line);
}
.sv-bar-inner {
  display: flex;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.sv-bar-inner::-webkit-scrollbar { display: none; }
.sv-bar a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.sv-bar a i { font-family: var(--font-body); font-style: normal; font-size: 0.68rem; color: var(--muted); transition: color 0.25s; }
.sv-bar a:hover { border-color: var(--text); }
.sv-bar a.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
.sv-bar a.is-active i { color: inherit; opacity: 0.7; }

/* one block per service */
.page-services, .page-service { --sv-pad: clamp(56px, 8vw, 112px); }
.sv {
  padding: var(--sv-pad) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(66px + var(--bar-h) - var(--sv-pad) + 24px);
}
.sv.band { background: linear-gradient(180deg, rgba(var(--tint), 0.035), rgba(var(--tint), 0.012)); }
.sv-inner { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (min-width: 900px) {
  .sv-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .sv.flip .sv-visual { order: 2; }
}
.sv-visual {
  position: relative;
  aspect-ratio: 1440 / 1140;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(var(--acc), calc(0.3 * var(--glow))), transparent 65%),
    radial-gradient(circle at 1px 1px, rgba(var(--tint), 0.13) 1px, transparent 1.6px) 0 0 / 22px 22px,
    var(--surface);
}
.sv-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; transition: scale 0.9s var(--ease); }
.sv-visual:hover img { scale: 1.04; }

.sv-num { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--muted); }
.sv-num b { color: var(--text); font-weight: 500; }
.sv h2 { margin: 14px 0 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -0.035em; }
.sv-lead { max-width: 52ch; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.14rem); }
.sv-list { display: grid; gap: 13px; margin: 28px 0; }
.sv-list li { display: flex; align-items: flex-start; gap: 14px; font-weight: 500; line-height: 1.45; }
.sv-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(var(--acc), 0.3);
  font-size: 0.7rem;
  font-weight: 700;
}
/* checklist items arrive one after the other */
.js .sv-list li { opacity: 0; translate: 0 10px; transition: opacity 0.6s, translate 0.7s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + 250ms); }
.js .sv-copy.is-visible .sv-list li, .js .phase-body.is-visible .sv-list li { opacity: 1; translate: 0 0; }
.sv-list li:nth-child(2) { --k: 1; } .sv-list li:nth-child(3) { --k: 2; } .sv-list li:nth-child(4) { --k: 3; }

.sv-good {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0 0 22px;
  padding: 13px 18px;
  border-left: 2px solid rgb(var(--acc));
  border-radius: 0 14px 14px 0;
  background: rgba(var(--acc), 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sv-good span { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.sv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.sv-tags li { padding: 5px 13px; border: 1px solid var(--line-strong); border-radius: 99px; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.faq-inner { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .faq-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq-intro { position: sticky; top: 140px; }
}
.faq-intro .eyebrow { margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.45s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.faq-item summary:hover::after { border-color: var(--text); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--bg); background-color: var(--text); border-color: var(--text); }
.faq-item summary:focus-visible { outline-offset: 4px; border-radius: 10px; }
.faq-item p { max-width: 60ch; padding: 0 56px 24px 0; color: var(--muted); }
.faq-item[open] p { animation: faq-in 0.5s var(--ease); }
@keyframes faq-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

.page-services .contact, .page-service .contact { padding-top: clamp(56px, 8vw, 112px); }

.sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Service detail pages ---------- */

.page-service .page-title { max-width: 18ch; font-size: clamp(2.5rem, 6.4vw, 5.4rem); }
.page-service .sv { scroll-margin-top: calc(66px - var(--sv-pad) + 24px); }
.sv-copy .eyebrow { margin-bottom: 18px; }

.sd-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sd-grid { grid-template-columns: repeat(3, 1fr); } }
.sd-card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, translate 0.45s var(--ease);
}
.sd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 100% 0%, rgba(var(--acc), 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.sd-card:hover { translate: 0 -4px; border-color: rgba(var(--acc), 0.5); }
.sd-card:hover::before { opacity: 1; }
.js .sd-card.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), translate 0.45s var(--ease), border-color 0.3s; }
.sd-card-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(var(--acc), 0.22);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.sd-card h3 { margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.02em; }
.sd-card p { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 1000px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }

.sd-more-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.sd-more-head .eyebrow { margin-bottom: 22px; }
.more-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-grid > li { display: flex; }
.more-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 210px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, translate 0.45s var(--ease), box-shadow 0.4s;
}
.more-card:hover, .more-card:focus-visible { translate: 0 -4px; border-color: rgba(var(--acc), 0.55); box-shadow: 0 26px 50px -26px rgba(var(--acc), 0.6); }
.more-num { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--muted); }
.more-card h3 { margin: 26px 0 8px; padding-right: 48px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; }
.more-card p { padding-right: 48px; color: var(--muted); font-size: 0.95rem; }
.more-go {
  position: absolute;
  right: 22px; bottom: 22px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.more-card:hover .more-go, .more-card:focus-visible .more-go { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Process page ---------- */

.phase {
  padding: var(--sv-pad) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(66px + var(--bar-h) - var(--sv-pad) + 24px);
}
.phase.band { background: linear-gradient(180deg, rgba(var(--tint), 0.035), rgba(var(--tint), 0.012)); }
.phase-inner { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) {
  .phase-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
  .phase-head { position: sticky; top: calc(66px + var(--bar-h) + 32px); }
}
.phase-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color 0.4s;
}
.phase:hover .phase-num { -webkit-text-stroke-color: rgb(var(--acc)); }
.phase-kicker { margin-bottom: 12px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.phase h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -0.035em; }
.phase-lead { max-width: 40ch; margin-top: 16px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.14rem); }
.phase-cols { display: grid; gap: 32px; }
@media (min-width: 640px) { .phase-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.phase-col h3 { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.phase-col .sv-list { margin: 0; }
.phase-get li::before { content: "→"; background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--acc), 0.7); }
.phase-body .sv-good { margin: 32px 0 0; }

/* ---------- Contact page ---------- */

.cf-wrap { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) {
  .cf-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: clamp(40px, 5vw, 80px); }
  .cf-side { position: sticky; top: calc(66px + 32px); }
}
.cf-main .eyebrow, .cf-side .eyebrow { margin-bottom: 22px; }
.cf-main .section-title { margin-bottom: clamp(28px, 4vw, 44px); }
.cf-side .contact-list { margin-bottom: clamp(32px, 5vw, 52px); }

.cf { display: grid; gap: 22px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line-strong); border-radius: 28px; background: var(--surface); }
.cf-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .cf-row-2 { grid-template-columns: 1fr 1fr; } }
.cf-field { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cf label, .cf legend { padding: 0; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cf .req { color: rgb(var(--c-rose)); }
.cf input[type="text"], .cf input[type="email"], .cf input[type="tel"], .cf select, .cf textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf textarea { min-height: 150px; resize: vertical; }
.cf select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' stroke='%238a8a90' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.cf input:hover, .cf select:hover, .cf textarea:hover { border-color: var(--muted); }
.cf input:focus-visible, .cf select:focus-visible, .cf textarea:focus-visible { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(var(--c-blue), 0.3); }
.cf ::placeholder { color: var(--muted); opacity: 0.8; }

.cf-services { gap: 12px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; display: inline-flex; }
.cf-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cf-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.cf-chip:hover span { border-color: var(--text); }
.cf-chip input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.cf-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.cf-actions { margin-top: 6px; }
/* The Send button matches the fields above it: same width, height, corners and focus ring. */
.cf-actions .btn { width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 14px; }
.cf-actions .btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--c-blue), 0.3); }
.cf-status { min-height: 1.4em; margin-top: -6px; color: var(--muted); font-size: 0.92rem; }
.cf-status.is-ok { color: var(--mint); }
.cf-status.is-error { color: var(--text); }
.cf-status a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.cf .btn:disabled { opacity: 0.6; cursor: not-allowed; }

.nx-title { margin-bottom: 18px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.nx-list { display: grid; gap: 22px; }
.nx-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.nx-num { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.06em; }
.nx-list h3 { margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
.nx-list p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 404 page ---------- */

.nf {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(var(--c-violet), calc(0.15 * var(--glow))), transparent 70%),
    radial-gradient(45% 50% at 4% 92%, rgba(var(--c-blue), calc(0.11 * var(--glow))), transparent 70%),
    var(--bg);
}
.nf .container { width: 100%; }
.nf-grid { display: grid; gap: 0; }
.nf-head { margin-bottom: clamp(14px, 3vw, 28px); }
.nf-code {
  margin-bottom: clamp(10px, 2vw, 24px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 27vw, 21rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(90deg, rgba(var(--c-blue), 0.3), rgba(var(--c-violet), 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
/* wide screens: the message on the left, the big numerals filling the right */
@media (min-width: 900px) {
  .nf-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "head code" "copy code";
    grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 4vw, 56px);
    align-items: start;
  }
  .nf-head { grid-area: head; }
  .nf-copy { grid-area: copy; }
  .nf-code { grid-area: code; align-self: center; justify-self: end; margin: 0; font-size: clamp(7rem, 20vw, 18rem); }
}
.nf .page-title { max-width: 16ch; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(36px, 5vw, 56px); }
.nf-label { flex-basis: 100%; margin: 0 0 4px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.nf-links a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.nf-links a:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Legal pages ---------- */

.legal-updated { margin-top: 22px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.legal { padding-top: clamp(40px, 6vw, 80px); }
.legal-wrap { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) {
  .legal-wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); align-items: start; }
  .legal-toc { position: sticky; top: calc(66px + 32px); }
}
.legal-toc-title { margin-bottom: 16px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.legal-toc ol { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 12px; padding: 7px 0; font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font-family: var(--font-body); font-size: 0.72rem; padding-top: 3px; opacity: 0.7; }
.legal-toc a:hover { color: var(--text); }
.legal-body { max-width: 760px; }
.legal-sec { padding-block: clamp(26px, 4vw, 40px); border-top: 1px solid var(--line); scroll-margin-top: calc(66px + 24px); }
.legal-sec:first-child { border-top: 0; padding-top: 0; }
.legal-sec h2 { margin-bottom: 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; letter-spacing: -0.025em; }
.legal-sec p { color: var(--muted); }
.legal-sec p + p, .legal-sec p + ul, .legal-sec ul + p { margin-top: 14px; }
.legal-sec ul { display: grid; gap: 12px; padding-left: 1.2em; color: var(--muted); list-style: disc; }
.legal-sec li::marker { color: var(--line-strong); }
.legal-sec strong { color: var(--text); font-weight: 600; }
.legal-sec a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

/* ==========================================================================
   Pages built from the content document
   ========================================================================== */

/* ---------- Home hero (headline, sub-text, buttons) ---------- */

.hero-title {
  display: block;
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 1.06;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { max-width: 54ch; margin: clamp(20px, 2.6vw, 30px) auto 0; color: var(--muted); font-size: clamp(1.02rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(28px, 4vw, 42px); }
.hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--c-mint)); }
.js .hero-sub, .js .hero-actions, .js .hero-note { animation: rise 1s var(--ease) 0.5s both; }
.js .hero-note { animation-delay: 0.65s; }

/* ---------- Home: "Sound familiar?" ---------- */

.familiar-list { display: grid; border-top: 1px solid var(--line-strong); }
.familiar-list li { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .familiar-list li { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 48px; align-items: center; } }
.fq { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -0.02em; }
.fto { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
.fto a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.fto a:hover { text-decoration-color: var(--text); }

/* ---------- Home: proof cards, people, commitments ---------- */

.proof-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof-card { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.proof-shot { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 8px; border: 1px dashed var(--line-strong); border-radius: 16px; background: radial-gradient(90% 90% at 100% 0%, rgba(var(--c-violet), calc(0.18 * var(--glow))), transparent 65%), var(--bg-2); }
.proof-shot span { width: 34%; height: 58%; border: 2px solid var(--line-strong); border-radius: 10px; }
.proof-client { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.proof-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; }
.proof-result { font-weight: 600; }
.proof-link { margin-top: 6px; color: var(--muted); cursor: default; border-bottom-color: var(--line); }
.work-card[hidden] { display: none; }

.steps.steps-4 { margin-top: 0; }

/* ---------- Document sections ---------- */

.ds { --acc: var(--c-blue); }
.ds.band, .section.band { background: linear-gradient(180deg, rgba(var(--tint), 0.035), rgba(var(--tint), 0.012)); }
.ds-head { max-width: 800px; margin-bottom: clamp(30px, 4.6vw, 54px); }
.ds-head .eyebrow { margin-bottom: 20px; }
.ds-head .section-lead { margin-top: 18px; }
.ds-copy { max-width: 66ch; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.14rem); }
.ds-copy + .ds-copy { margin-top: 14px; }
.ds-head + .ds-copy, .why-intro .ds-copy { margin-top: 18px; }
.ds-link { margin-top: clamp(24px, 3vw, 36px); }
.ds-body .sv-list, .ds-check { margin: 0; }
.js .ds-body.is-visible .sv-list li, .js .signs-panel.is-visible .sv-list li { opacity: 1; translate: 0 0; }
.page-title.t-m { font-size: clamp(2.1rem, 4.8vw, 4.2rem); max-width: 24ch; }
.page-title.t-l { font-size: clamp(1.95rem, 4.1vw, 3.5rem); max-width: 28ch; }
.page-title { text-wrap: balance; }

.best-for {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  max-width: 740px; margin-top: clamp(28px, 4vw, 44px); padding: 16px 20px;
  border-left: 2px solid rgb(var(--c-blue)); border-radius: 0 14px 14px 0;
  background: rgba(var(--c-blue), 0.08); font-size: 0.98rem; line-height: 1.55;
}
.best-for span { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.best-for a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.best-for a:hover { text-decoration-color: var(--text); }

.dtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.dtable { width: 100%; border-collapse: collapse; }
.dtable th, .dtable td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 0.98rem; line-height: 1.5; }
.dtable thead th { border-top: 0; background: rgba(var(--tint), 0.035); font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.dtable tbody th { font-family: var(--font-display); font-weight: 600; }
.dtable td { color: var(--muted); }
.dtable td a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 719px) {
  .dtable thead { display: none; }
  .dtable tr { display: block; padding: 14px 18px 16px; border-top: 1px solid var(--line); }
  .dtable tbody tr:first-child { border-top: 0; }
  .dtable th, .dtable td { display: block; padding: 4px 0; border: 0; }
  .dtable td::before { content: attr(data-label); display: block; margin-top: 8px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); opacity: 0.8; }
}

.ba-grid, .signs-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .ba-grid, .signs-grid { grid-template-columns: 1fr 1fr; } }
.ba { padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.ba-label { margin-bottom: 14px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; }
.ba.before .ba-label { color: rgb(var(--c-rose)); }
.ba.after { border-color: rgba(var(--c-mint), 0.55); background: radial-gradient(100% 100% at 100% 0%, rgba(var(--c-mint), calc(0.14 * var(--glow))), transparent 60%), var(--surface); }
.ba.after .ba-label { color: rgb(var(--c-mint)); }
.ba p:last-child { font-size: 1.04rem; line-height: 1.6; }
.signs-panel { padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.signs-panel.yes { --acc: var(--c-mint); border-color: rgba(var(--c-mint), 0.45); }
.signs-panel.no { --acc: var(--c-rose); }
.signs-panel h3 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
.ds-never li::before { content: "\2715"; background: rgba(var(--c-rose), 0.22); }

.example { max-width: 940px; padding: clamp(26px, 5vw, 56px); border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(80% 100% at 100% 0%, rgba(var(--c-violet), calc(0.16 * var(--glow))), transparent 62%), var(--surface); }
.example .eyebrow { margin-bottom: 18px; }
.example-title { margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; }
.example p { max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.example p + p { margin-top: 12px; }

.start-grid { display: grid; border-top: 1px solid var(--line-strong); }
.start-row { display: grid; gap: 10px; padding: clamp(18px, 2.6vw, 26px) 4px; border-bottom: 1px solid var(--line); transition: padding 0.35s var(--ease); }
@media (min-width: 760px) { .start-row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 32px; } }
.start-q { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.3; letter-spacing: -0.02em; }
.start-to { display: flex; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--muted); transition: color 0.25s; }
.start-row:hover { padding-left: 14px; }
.start-row:hover .start-to { color: var(--text); }

.svc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, translate 0.45s var(--ease), box-shadow 0.4s; }
.js .svc-card.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), translate 0.45s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.svc-card:hover, .svc-card:focus-within { translate: 0 -4px; border-color: rgba(var(--acc), 0.55); box-shadow: 0 26px 50px -26px rgba(var(--acc), 0.6); }
.svc-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.svc-card h3 { padding-right: 44px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; }
.svc-card .sd-card-num { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 99px; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.03em; color: var(--muted); }
.svc-go { display: grid; place-items: center; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.svc-go { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; }
.svc-card:hover .svc-go { background: var(--text); border-color: var(--text); color: var(--bg); }

.stack { display: grid; border-top: 1px solid var(--line-strong); }
.stack-row { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stack-row { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px; align-items: start; } }
.stack-row h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.stack-row p { color: var(--muted); }
.qlist { display: grid; border-top: 1px solid var(--line-strong); }
.qlist li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.35; letter-spacing: -0.02em; }
.q-num { padding-top: 6px; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--blue); }

.stage-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .stage-cards { grid-template-columns: 1fr 1fr; } }
.stage-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.stage-card h3 { margin-bottom: 14px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.stage-card p { font-size: 1.06rem; font-weight: 500; line-height: 1.5; }
.stage-decision { border-color: rgba(var(--acc), 0.5); background: rgba(var(--acc), 0.07); }

.founder { max-width: 64ch; }
.founder p { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.7; }
.founder p + p { margin-top: 20px; }

.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3.4vw, 36px); }
.chip { height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 99px; background: transparent; color: var(--text); font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.work-empty { margin-top: 24px; color: var(--muted); }

/* ---------- Menu: services grouped under their headings ---------- */

.nav-sub-list { display: block; }
.nav-sub-all { display: inline-block; margin-bottom: clamp(6px, 1.4vh, 14px); }
.nav-grp { display: grid; justify-items: start; gap: clamp(1px, 0.5vh, 6px); break-inside: avoid; margin-bottom: clamp(8px, 1.8vh, 20px); }
.nav-grp-title { margin: 0 0 2px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.primary-nav .nav-sub-list a:not(.btn) { font-size: clamp(1.15rem, min(3.2vh, 5.8vw), 1.75rem); }
.primary-nav .nav-sub-list a.nav-sub-all:not(.btn) { font-size: clamp(1.2rem, min(3.6vh, 6vw), 1.9rem); }
@media (min-width: 900px) { .nav-sub-list { columns: 2; column-gap: clamp(28px, 4vw, 64px); } }

/* long closing buttons wrap instead of running out of the box on narrow phones */
.contact-card > *, .contact-copy { min-width: 0; }
.contact-copy .btn { max-width: 100%; white-space: normal; text-align: center; }
.more-card h3 { padding-right: 0; }

@media (max-width: 420px) { .btn-lg { max-width: 100%; padding-inline: 22px; white-space: normal; text-align: center; line-height: 1.3; } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-eyebrow, .js .hero-title { animation: none; }
  .primary-nav { clip-path: none; opacity: 0; }
  .primary-nav.is-open { opacity: 1; }
  .primary-nav.is-animating, .primary-nav.is-open.is-animating { transition: opacity 0.01ms, visibility 0s; }
  .primary-nav .nl-text > span, .primary-nav .nl-num, .primary-nav .nav-foot, .primary-nav .nav-deco { transform: none !important; opacity: 1 !important; transition: none !important; }
  .nav-sub, .primary-nav.is-open.is-sub .nav-sub, .primary-nav .nav-sub a:not(.btn), .nav-back { transition: none !important; transform: none !important; }
  .primary-nav.is-open.is-sub .nav-sub-list a { animation: none; }
  .nav-info, .primary-nav.is-open .nav-info, .nav-ghost-main { transition: none !important; transform: none !important; }
  .btn, .step { transition-duration: 0.01ms; }
  .bt, .bt .bw, .bt .ph { transition-duration: 0.01ms; }
  .bt *, .bt *::before, .bt *::after { animation: none !important; }
  .bt .bw-live { scale: 1; }
  .bt-go { transition: none; }
  .bt .bw-ripple, .bt .a-pen-cur { display: none; }
  .bt .bw-cursor { transform: translate(60px, 138px); }
  .bt .a-pen .curve { stroke-dashoffset: 0; }
  .js .sv-list li { opacity: 1; translate: none; transition: none; }
  .sv-visual img, .sv-bar a { transition: none; }
  .faq-item[open] p { animation: none; }
  .faq-item summary::after { transition: none; }
  .sd-card, .more-card, .more-go { transition: none; }
  .cf input, .cf select, .cf textarea, .cf-chip span { transition: none; }
  .nf-links a { transition: none; }
  .js .hero-sub, .js .hero-actions, .js .hero-note { animation: none; }
  .a-ai *, .a-code *, .a-scan *, .a-grow * { animation: none !important; }
  .a-grow .curve { stroke-dashoffset: 0; }
  .svc-card, .svc-go, .start-row, .chip { transition: none; }
  .svc-card:hover { translate: none; }
  .sd-card:hover, .more-card:hover, .more-card:focus-visible { translate: none; }
}

/* small numbered labels keep even digit widths now that they are set in Inter */
.sv-num, .more-num, .nx-num, .q-num, .sv-bar a i, .legal-toc a::before, .sd-card-num, .phase-num { font-variant-numeric: tabular-nums; }


/* ---------- Blog ---------- */

.post-tag { margin-bottom: 14px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.post-tag a { color: inherit; border-bottom: 1px solid var(--line-strong); transition: color 0.2s, border-color 0.2s; }
.post-tag a:hover { color: var(--text); border-color: var(--text); }
.post-hero .page-title { max-width: 26ch; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.post-hero .page-lead { max-width: 60ch; }
.post-meta { margin-top: 24px; font-size: 0.9rem; color: var(--muted); }

/* the article: a contents box beside it on wide screens, above it on small ones */
.post { padding-top: clamp(24px, 4vw, 48px); }
.post-layout { display: grid; gap: 32px; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: 230px minmax(0, 720px); gap: 64px; align-items: start; }
  .toc { position: sticky; top: calc(var(--header-h, 72px) + 24px); }
}
.toc { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 0.92rem; }
.toc-title { margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; }
.toc ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.toc a { color: var(--muted); transition: color 0.2s; }
.toc a:hover, .toc a:focus-visible { color: var(--text); }
.toc a.is-active, .legal-toc a.is-active { color: var(--text); font-weight: 600; }
.toc a, .legal-toc a { transition: color 0.2s; }

.post-body { min-width: 0; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); line-height: 1.75; color: color-mix(in srgb, var(--text) 86%, transparent); }
.post-body > * + * { margin-top: 1.2em; }
.post-body h2 {
  margin-top: 2.4em;
  scroll-margin-top: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}
.post-body h3 { margin-top: 1.9em; scroll-margin-top: 100px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.post-body h2 + *, .post-body h3 + * { margin-top: 0.8em; }
.post-body strong { font-weight: 600; color: var(--text); }
.post-body a { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; }
.post-body a:hover { border-color: var(--text); }
.post-body ul, .post-body ol { display: grid; gap: 0.55em; padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li::marker { color: var(--muted); }
.post-body code { padding: 0.1em 0.35em; border-radius: 6px; background: rgba(var(--tint), 0.07); font-family: inherit; font-size: 0.95em; }
.callout { padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--text); border-radius: 14px; background: rgba(var(--tint), 0.04); }
.callout p + p { margin-top: 0.6em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.post-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.post-body th, .post-body td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body th { font-weight: 600; color: var(--text); background: rgba(var(--tint), 0.04); }
.post-body tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
  .post-body table { min-width: 0; font-size: 0.86rem; }
  .post-body th, .post-body td { padding: 10px; }
}
.help-card { display: grid; justify-items: start; gap: 10px; margin-top: 3em; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); }
.post-body .help-card { margin-top: 3em; }
.help-kicker { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.post-body .help-card h2 { margin-top: 0; font-size: 1.6rem; }
.post-body .help-card .btn { margin-top: 8px; color: var(--bg); border-bottom: 0; font-weight: 600; }

/* the blog sections sit close together instead of using the full page-section padding */
.blog-list { padding-block: clamp(40px, 6vw, 72px); }
.blog-list + .blog-list { padding-top: 0; }
.blog-list .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.post { padding-bottom: clamp(40px, 6vw, 72px); }
.post + .blog-list { padding-top: 0; }

/* case study facts under the title, and the Work page list */
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; max-width: 880px; margin: 32px 0 0; padding: 0; }
.case-meta > div { padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.case-meta dt { margin-bottom: 2px; font-size: 0.8rem; color: var(--muted); }
.case-meta dd { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.work-section { padding-top: clamp(24px, 4vw, 48px); }

/* pictures: on a Work card, and on the case study page under its title */
.post-card-img { display: block; aspect-ratio: 16 / 10; margin-bottom: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(var(--tint), 0.05); }
.post-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-img img, .post-card:focus-visible .post-card-img img { transform: scale(1.03); }
.case-shot { padding-block: clamp(8px, 2vw, 24px) 0; }
.case-shot figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.case-shot img { display: block; width: 100%; height: auto; }
/* an empty picture box: dashed, with the size to use written in it */
.img-slot { display: grid; place-items: center; border-style: dashed; border-color: var(--line-strong); background: rgba(var(--tint), 0.04); color: var(--muted); text-align: center; font-size: 0.95rem; line-height: 1.5; }
.img-slot > span { display: block; padding: 12px; }
.case-shot figure.img-slot { aspect-ratio: 16 / 10; border: 1px dashed var(--line-strong); background: rgba(var(--tint), 0.04); }
.post-card-img.img-slot { border: 1px dashed var(--line-strong); }
.case-shot + .post { padding-top: clamp(32px, 5vw, 64px); }
@media (prefers-reduced-motion: reduce) { .post-card:hover .post-card-img img { transform: none; } }

/* the cards on the blog page and under each article */
.post-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(var(--acc), calc(0.12 * var(--glow))), transparent 60%), var(--surface);
  transition: translate 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.post-card:hover, .post-card:focus-visible { translate: 0 -4px; border-color: var(--line-strong); box-shadow: 0 10px 24px rgba(var(--tint), 0.05); }
.post-card .post-tag { margin: 0; }
.post-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.22; letter-spacing: -0.02em; }
.post-card p { color: var(--muted); font-size: 0.98rem; }
.post-card-big { padding: 30px; }
.post-card-big h3 { font-size: 1.5rem; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; font-size: 0.85rem; color: var(--muted); }
.post-go { transition: transform 0.35s var(--ease); }
.post-card:hover .post-go, .post-card:focus-visible .post-go { transform: translateX(4px); }
.post-go-text { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.post-go-text > span { display: inline-block; transition: transform 0.35s var(--ease); }
.post-card:hover .post-go-text, .post-card:focus-visible .post-go-text { transform: none; }
.post-card:hover .post-go-text > span, .post-card:focus-visible .post-go-text > span { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .post-card:hover, .post-card:focus-visible { translate: none; } }
