/* ==========================================================================
   Simpllous Digital Agency (SDA) - V4 design system
   Vanilla CSS. 11 themes (data-theme), 9 font pairs (data-font), one switcher.
   Dark/light section rhythm via .section--invert token remap.
   UK English. No build step.
   --------------------------------------------------------------------------
   Sections in this file
   1.  Reset + base
   2.  Non-theme tokens (space, type scale, radius, motion, z, container)
   3.  Themes (11) -> colour tokens
   4.  Fonts (9)   -> --font-display / --font-body
   5.  Typography
   6.  Layout primitives (container, section, grid, eyebrow, kicker)
   7.  Buttons + links
   8.  Header / pill-morph nav + mobile drawer
   9.  Hero (word reveal, system cards, live chart, lighthouse beam)
   10. Marquee
   11. Bento service cards + animated icons
   12. Steps / process
   13. Device-frame portfolio
   14. Feature / why cards
   15. Stats
   16. Reviews bento
   17. Pricing
   18. Sadaqah strip
   19. FAQ (Alpine)
   20. CTA band
   21. Footer
   22. Misc (badges, prose, page-hero, contact form)
   23. Theme + font switcher panel
   24. Motion pre-hide + reduced motion
   25. Responsive
   ========================================================================== */

/* 1. Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, picture, svg, video, canvas { display: block; max-width: 100%; }
svg { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.no-scroll { overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 2. Non-theme tokens ------------------------------------------------------ */
:root {
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  /* spacing (4px grid in rem) */
  --space-1: .25rem; --space-2: .5rem;  --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem;   --space-7: 3rem;   --space-8: 4rem;
  --space-9: 5rem;   --space-10: 6.5rem;--space-11: 8rem;

  /* fluid type scale (display cap < 96px) */
  --text-xs: .78rem; --text-sm: .875rem; --text-base: 1.02rem; --text-lg: 1.15rem;
  --text-xl: clamp(1.2rem, 1.6vw, 1.4rem);
  --h6: 1.05rem;
  --h5: 1.3rem;
  --h4: clamp(1.45rem, 2.4vw, 1.9rem);
  --h3: clamp(1.7rem, 3vw, 2.4rem);
  --h2: clamp(2rem, 4.2vw, 3.2rem);
  --h1: clamp(2.5rem, 6vw, 4.4rem);
  --display: clamp(2.9rem, 8.2vw, 5.7rem);

  --lh-tight: 1.04;
  --lh-snug: 1.15;
  --tracking-display: -.028em;
  --tracking-tight: -.02em;
  --tracking-wide: .14em;

  --r-xs: 6px; --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-2xl: 40px; --r-pill: 999px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);     /* quint-ish, no overshoot */
  --ease-in-out: cubic-bezier(.66, 0, .34, 1);
  --dur-1: .16s; --dur-2: .28s; --dur-3: .45s; --dur-4: .7s;

  --z-base: 1; --z-raised: 10; --z-nav: 90; --z-drawer: 100;
  --z-switcher: 120; --z-modal: 140; --z-toast: 160;

  --shadow-sm: 0 1px 2px rgba(8,12,20,.18);
  --shadow: 0 10px 30px -16px rgba(8,12,20,.5);
  --shadow-lg: 0 30px 70px -34px rgba(8,12,20,.62);
  --shadow-glow: 0 24px 60px -28px var(--accent-soft);

  --maxread: 68ch;
}

/* 3. Themes ---------------------------------------------------------------- */
/* Token contract each theme sets:
   --bg --surface --surface-2 --ink --muted --faint --line
   --accent --accent-2 --accent-ink --accent-soft --on-accent --border --border-strong
   --band --band-ink --glass --shadow-tint
   invert pack: --inv-bg --inv-surface --inv-surface-2 --inv-ink --inv-muted
                --inv-faint --inv-border --inv-border-strong --inv-accent --inv-soft  */

/* default if no data-theme yet */
:root,
[data-theme="harbour"] {
  --bg:#0f1620; --surface:#161f2b; --surface-2:#1d2a3a; --ink:#f4f6f9;
  --muted:#a4b5c8; --faint:#73869c; --line:#243246;
  --accent:#e8a13a; --accent-2:#5aa2e8; --accent-ink:#f0b561;
  --accent-soft:rgba(232,161,58,.16); --on-accent:#16100a;
  --border:#243246; --border-strong:#33455e;
  --band:#131c28; --band-ink:#f4f6f9; --glass:rgba(15,22,32,.72);
  --inv-bg:#f6f1e8; --inv-surface:#fffdf9; --inv-surface-2:#f1e9da; --inv-ink:#1a1512;
  --inv-muted:#5f5446; --inv-faint:#8c8170; --inv-border:#e6ddcb; --inv-border-strong:#d6c9ad;
  --inv-accent:#a8690f; --inv-soft:rgba(168,105,15,.12);
}
[data-theme="midnight"] {
  --bg:#0f2b4a; --surface:#163a5f; --surface-2:#1d4671; --ink:#ffffff;
  --muted:#a6c0da; --faint:#728faf; --line:#27496e;
  --accent:#5aa2e8; --accent-2:#7fe0d4; --accent-ink:#7ab8f0;
  --accent-soft:rgba(90,162,232,.16); --on-accent:#06182b;
  --border:#27496e; --border-strong:#365f88;
  --band:#0d2742; --band-ink:#ffffff; --glass:rgba(15,43,74,.74);
  --inv-bg:#eef4fb; --inv-surface:#ffffff; --inv-surface-2:#e3edf8; --inv-ink:#0f2b4a;
  --inv-muted:#43617f; --inv-faint:#7491ad; --inv-border:#d4e2f0; --inv-border-strong:#bcd2e8;
  --inv-accent:#1f5fa6; --inv-soft:rgba(31,95,166,.10);
}
[data-theme="obsidian"] {
  --bg:#0a0a0b; --surface:#141417; --surface-2:#1d1d22; --ink:#f5f5f3;
  --muted:#a3a3a0; --faint:#6f6f6c; --line:#26262b;
  --accent:#ff6a3d; --accent-2:#ffb03a; --accent-ink:#ff8159;
  --accent-soft:rgba(255,106,61,.15); --on-accent:#150603;
  --border:#26262b; --border-strong:#383840;
  --band:#0f0f11; --band-ink:#f5f5f3; --glass:rgba(10,10,11,.74);
  --inv-bg:#f4f1ec; --inv-surface:#ffffff; --inv-surface-2:#ece7df; --inv-ink:#161412;
  --inv-muted:#5c574e; --inv-faint:#8a8479; --inv-border:#e4ded3; --inv-border-strong:#d3cabb;
  --inv-accent:#c8431b; --inv-soft:rgba(200,67,27,.12);
}
[data-theme="forest"] {
  --bg:#0c1410; --surface:#12201a; --surface-2:#192c22; --ink:#f1f6f2;
  --muted:#9db5a6; --faint:#6c8576; --line:#21372b;
  --accent:#84cc16; --accent-2:#34d399; --accent-ink:#9ee03a;
  --accent-soft:rgba(132,204,22,.16); --on-accent:#0a1404;
  --border:#21372b; --border-strong:#2f4d3b;
  --band:#0e1813; --band-ink:#f1f6f2; --glass:rgba(12,20,16,.74);
  --inv-bg:#eef3ec; --inv-surface:#ffffff; --inv-surface-2:#e3ebe0; --inv-ink:#13201a;
  --inv-muted:#4c5e53; --inv-faint:#7d9184; --inv-border:#d8e2d4; --inv-border-strong:#c2d2bd;
  --inv-accent:#4a7c12; --inv-soft:rgba(74,124,18,.12);
}
[data-theme="bordeaux"] {
  --bg:#1a0f14; --surface:#26161c; --surface-2:#321d25; --ink:#f7eef0;
  --muted:#c7a7af; --faint:#9a7c84; --line:#3a232b;
  --accent:#e0b15a; --accent-2:#d98a8a; --accent-ink:#ecc173;
  --accent-soft:rgba(224,177,90,.16); --on-accent:#1c0e07;
  --border:#3a232b; --border-strong:#50333d;
  --band:#160c11; --band-ink:#f7eef0; --glass:rgba(26,15,20,.76);
  --inv-bg:#f6efe9; --inv-surface:#fffaf4; --inv-surface-2:#efe3d8; --inv-ink:#231319;
  --inv-muted:#6e5258; --inv-faint:#9b8086; --inv-border:#e7d8cd; --inv-border-strong:#d8c2b4;
  --inv-accent:#9a6a1d; --inv-soft:rgba(154,106,29,.12);
}
[data-theme="bone"] {
  --bg:#f6f1e8; --surface:#fffdf9; --surface-2:#f0e8d9; --ink:#1a1512;
  --muted:#5f5446; --faint:#8c8170; --line:#e6ddcb;
  --accent:#b7791f; --accent-2:#3f6f8f; --accent-ink:#9a650f;
  --accent-soft:rgba(183,121,31,.13); --on-accent:#fffdf9;
  --border:#e6ddcb; --border-strong:#d6c9ad;
  --band:#efe7d8; --band-ink:#1a1512; --glass:rgba(246,241,232,.82);
  --inv-bg:#171310; --inv-surface:#211b16; --inv-surface-2:#2b231c; --inv-ink:#f7f1e8;
  --inv-muted:#b6a994; --inv-faint:#8a7f6e; --inv-border:#322822; --inv-border-strong:#46392f;
  --inv-accent:#e0a03a; --inv-soft:rgba(224,160,58,.14);
}
[data-theme="bordeaux-bone"] {
  --bg:#241219; --surface:#311923; --surface-2:#3d212e; --ink:#fff7ed;
  --muted:#d9c6b8; --faint:#a98c83; --line:#4b2b38;
  --accent:#f0dfc8; --accent-2:#b86f73; --accent-ink:#fff1db;
  --accent-soft:rgba(240,223,200,.16); --on-accent:#241219;
  --border:#4b2b38; --border-strong:#684050;
  --band:#1b0d13; --band-ink:#fff7ed; --glass:rgba(36,18,25,.78);
  --inv-bg:#f4eadc; --inv-surface:#fffaf2; --inv-surface-2:#eadac6; --inv-ink:#29131b;
  --inv-muted:#6d4f48; --inv-faint:#9a7f74; --inv-border:#e3d3bf; --inv-border-strong:#cfb79f;
  --inv-accent:#812640; --inv-soft:rgba(129,38,64,.12);
}
[data-theme="bordeaux-bone-bg"] {
  --bg:#1a0f14; --surface:#26161c; --surface-2:#321d25; --ink:#f7eef0;
  --muted:#c7a7af; --faint:#9a7c84; --line:#3a232b;
  --accent:#e0b15a; --accent-2:#d98a8a; --accent-ink:#ecc173;
  --accent-soft:rgba(224,177,90,.16); --on-accent:#1c0e07;
  --border:#3a232b; --border-strong:#50333d;
  --band:#160c11; --band-ink:#f7eef0; --glass:rgba(26,15,20,.76);
  --inv-bg:#f6f1e8; --inv-surface:#fffdf9; --inv-surface-2:#f0e8d9; --inv-ink:#231319;
  --inv-muted:#6e5258; --inv-faint:#9b8086; --inv-border:#e6ddcb; --inv-border-strong:#d6c9ad;
  --inv-accent:#9a6a1d; --inv-soft:rgba(154,106,29,.12);
}
[data-theme="bordeaux-bone-bg"] .section:not(.section--band) {
  --bg: var(--inv-bg); --surface: var(--inv-surface); --surface-2: var(--inv-surface-2);
  --ink: var(--inv-ink); --muted: var(--inv-muted); --faint: var(--inv-faint);
  --border: var(--inv-border); --border-strong: var(--inv-border-strong); --line: var(--inv-border);
  --accent-ink: var(--inv-accent); --accent-soft: var(--inv-soft);
  background: var(--bg); color: var(--ink);
}
[data-theme="daylight"] {
  --bg:#f4f7fb; --surface:#ffffff; --surface-2:#e9f0f8; --ink:#0f2b4a;
  --muted:#4f627a; --faint:#7c8ea4; --line:#dde6f1;
  --accent:#2563eb; --accent-2:#0ea5e9; --accent-ink:#1d4ed8;
  --accent-soft:rgba(37,99,235,.10); --on-accent:#ffffff;
  --border:#dde6f1; --border-strong:#c5d4e6;
  --band:#e9f0f8; --band-ink:#0f2b4a; --glass:rgba(244,247,251,.82);
  --inv-bg:#0c1c30; --inv-surface:#12243c; --inv-surface-2:#1a3253; --inv-ink:#f4f7fb;
  --inv-muted:#9db4cf; --inv-faint:#6e89a8; --inv-border:#1f3a5c; --inv-border-strong:#2c4d76;
  --inv-accent:#6aa8f0; --inv-soft:rgba(106,168,240,.14);
}
[data-theme="paper"] {
  --bg:#faf7f2; --surface:#ffffff; --surface-2:#f1ece2; --ink:#0b0b0a;
  --muted:#5c574e; --faint:#8a8479; --line:#e7e0d4;
  --accent:#b5482e; --accent-2:#1f4e46; --accent-ink:#a23d25;
  --accent-soft:rgba(181,72,46,.10); --on-accent:#fffaf4;
  --border:#e7e0d4; --border-strong:#d6ccba;
  --band:#f1ece2; --band-ink:#0b0b0a; --glass:rgba(250,247,242,.82);
  --inv-bg:#14130f; --inv-surface:#1d1b16; --inv-surface-2:#27241d; --inv-ink:#faf7f2;
  --inv-muted:#b3aa99; --inv-faint:#8a8276; --inv-border:#2c2820; --inv-border-strong:#3e392e;
  --inv-accent:#e07a5e; --inv-soft:rgba(224,122,94,.14);
}
[data-theme="sage"] {
  --bg:#e9ebe6; --surface:#f5f6f2; --surface-2:#dfe2da; --ink:#222a24;
  --muted:#54604f; --faint:#7d8878; --line:#d3d8cc;
  --accent:#5d7a5a; --accent-2:#a08a5b; --accent-ink:#4a6647;
  --accent-soft:rgba(93,122,90,.12); --on-accent:#f5f6f2;
  --border:#d3d8cc; --border-strong:#bfc6b6;
  --band:#dfe2da; --band-ink:#222a24; --glass:rgba(233,235,230,.82);
  --inv-bg:#191d18; --inv-surface:#222820; --inv-surface-2:#2c332a; --inv-ink:#eef1ea;
  --inv-muted:#a7b3a1; --inv-faint:#7d8878; --inv-border:#2e352b; --inv-border-strong:#414a3c;
  --inv-accent:#9bbf8f; --inv-soft:rgba(155,191,143,.14);
}

/* 4. Fonts ----------------------------------------------------------------- */
:root, [data-font="instrument"] { --font-display:"Instrument Serif", Georgia, serif; --font-body:"Inter", system-ui, sans-serif; --display-weight:400; --display-style:normal; }
[data-font="fraunces"]  { --font-display:"Fraunces", Georgia, serif; --font-body:"Inter", system-ui, sans-serif; --display-weight:600; }
[data-font="bricolage"] { --font-display:"Bricolage Grotesque", system-ui, sans-serif; --font-body:"Inter", system-ui, sans-serif; --display-weight:700; }
[data-font="playfair"]  { --font-display:"Playfair Display", Georgia, serif; --font-body:"Inter", system-ui, sans-serif; --display-weight:700; }
[data-font="dmserif"]   { --font-display:"DM Serif Display", Georgia, serif; --font-body:"DM Sans", system-ui, sans-serif; --display-weight:400; }
[data-font="spectral"]  { --font-display:"Spectral", Georgia, serif; --font-body:"Hanken Grotesk", system-ui, sans-serif; --display-weight:600; }
[data-font="sora"]      { --font-display:"Sora", system-ui, sans-serif; --font-body:"Sora", system-ui, sans-serif; --display-weight:700; }
[data-font="caslon"]    { --font-display:"Libre Caslon Display", Georgia, serif; --font-body:"Outfit", system-ui, sans-serif; --display-weight:400; }
[data-font="syne"]      { --font-display:"Syne", system-ui, sans-serif; --font-body:"Inter", system-ui, sans-serif; --display-weight:700; }

/* 5. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.display, h1 { line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }
.hl { color: var(--accent-ink); }
.hl-italic { font-style: italic; color: var(--accent-ink); }
.lead { font-size: var(--text-xl); color: var(--muted); line-height: 1.5; max-width: var(--maxread); }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  color: var(--accent-ink); letter-spacing: .01em;
}
.eyebrow::before,
.eyebrow::after {
  content: ""; width: 1.6rem; height: 1px; background: var(--accent);
  display: inline-block;
}
.kicker {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--faint);
}

/* 6. Layout primitives ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--band { background: var(--band); color: var(--band-ink); }
.section--surface { background: var(--surface); }
.section--invert {
  --bg: var(--inv-bg); --surface: var(--inv-surface); --surface-2: var(--inv-surface-2);
  --ink: var(--inv-ink); --muted: var(--inv-muted); --faint: var(--inv-faint);
  --border: var(--inv-border); --border-strong: var(--inv-border-strong); --line: var(--inv-border);
  --accent-ink: var(--inv-accent); --accent-soft: var(--inv-soft);
  background: var(--bg); color: var(--ink);
}
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { font-size: var(--h2); margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: var(--text-lg); max-width: 60ch; }
.section-head--center p { margin-inline: auto; }
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.flow > * + * { margin-top: 1.1em; }
.divider { height: 1px; background: var(--border); border: 0; }

/* 7. Buttons --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent); --btn-ink: var(--on-accent);
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.05rem .92rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--text-base); line-height: 1;
  background: var(--btn-bg); color: var(--btn-ink);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, var(--shadow);
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0%, color-mix(in srgb, var(--btn-ink) 22%, transparent) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform var(--dur-4) var(--ease-out);
  z-index: -1;
}
.btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.95rem; height: 1.95rem; border-radius: 50%;
  background: color-mix(in srgb, var(--btn-ink) 16%, transparent);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease);
}
.btn__icon svg { width: 1rem; height: 1rem; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, var(--shadow-lg); }
.btn:hover::before { transform: translateX(120%); }
.btn:hover .btn__icon { transform: translate(2px, -1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:active .btn__icon { transform: scale(.88); }
.btn--ghost {
  --btn-bg: transparent; --btn-ink: var(--ink);
  border: 1px solid var(--border-strong); box-shadow: none;
  padding: .92rem 1.4rem;
}
.btn--ghost .btn__icon { background: var(--accent-soft); color: var(--accent-ink); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; background: var(--accent-soft); }
.btn--on-dark { --btn-ink: var(--ink); }
.btn--lg { padding: 1.05rem 1.15rem 1.05rem 1.7rem; font-size: var(--text-lg); }
.btn--block { width: 100%; justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600;
  color: var(--accent-ink); transition: gap var(--dur-2) var(--ease-out);
}
.link-arrow svg { width: 1.05rem; height: 1.05rem; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover { gap: .7rem; }
.link-arrow:hover svg { transform: translateX(3px); }
.text-link { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }

/* 8. Header / nav ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  padding: clamp(.6rem, 1.5vw, 1.1rem) var(--gutter);
  transition: padding var(--dur-3) var(--ease);
}
.nav {
  max-width: var(--container-wide); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .65rem .55rem 1.1rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  transition: background-color var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
              box-shadow var(--dur-3) var(--ease), max-width var(--dur-3) var(--ease-out),
              backdrop-filter var(--dur-3) var(--ease);
}
.site-header.scrolled .nav {
  max-width: 940px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.brand { position: relative; display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: var(--display-weight); letter-spacing: -.01em; overflow: visible; }
.brand::after {
  content: ""; position: absolute; left: 1.45rem; top: .35rem;
  width: 3.4rem; height: .55rem; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transform: translateX(-.4rem) scaleX(.35); transform-origin: left center;
  pointer-events: none; filter: blur(.2px);
}
.site-header.nav-lit .brand::after { animation: brandBeam .8s var(--ease-out); }
.brand__mark { width: 2rem; height: 2rem; flex: none; }
.brand__logo { display: block; height: clamp(3.3rem, 5.2vw, 4.5rem); width: auto; max-width: min(22rem, 64vw); object-fit: contain; }
.brand__logo--footer { height: clamp(3.9rem, 6.5vw, 5.5rem); max-width: min(26rem, 76vw); }
.brand b { font-weight: inherit; }
.brand span { color: var(--accent-ink); }
@keyframes brandBeam {
  0% { opacity: 0; transform: translateX(-.4rem) scaleX(.2); }
  35% { opacity: .8; transform: translateX(.15rem) scaleX(1); }
  100% { opacity: 0; transform: translateX(1.3rem) scaleX(.15); }
}
.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .32rem;
  padding: .55rem .85rem; border-radius: var(--r-pill);
  font-size: var(--text-sm); font-weight: 500; color: var(--muted);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.nav__link svg { width: .95rem; height: .95rem; transition: transform var(--dur-2) var(--ease-out); }
.nav__item--dropdown:hover .nav__link--dropdown svg,
.nav__item--dropdown:focus-within .nav__link--dropdown svg { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + .45rem); left: 0; min-width: 14.5rem;
  display: grid; gap: .2rem; padding: .55rem; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2),
              transform var(--dur-2) var(--ease-out);
}
.nav__dropdown::before {
  content: ''; position: absolute; top: -.55rem; left: 0; right: 0; height: .55rem;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.nav__dropdown-link {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .68rem .75rem; border-radius: var(--r-sm);
  color: var(--muted); font-size: var(--text-sm); font-weight: 600;
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible,
.nav__dropdown-link[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.nav__dropdown-link span { display: block; color: var(--faint); font-size: var(--text-xs); font-weight: 500; line-height: 1.35; margin-top: .1rem; }
.nav__dropdown-link:hover span,
.nav__dropdown-link:focus-visible span,
.nav__dropdown-link[aria-current="page"] span { color: var(--muted); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__cta { padding: .7rem .85rem .7rem 1.2rem; font-size: var(--text-sm); }
.nav-toggle {
  display: none; width: 2.7rem; height: 2.7rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); align-items: center; justify-content: center;
  color: var(--ink); background: var(--surface);
}
.nav-toggle svg { width: 1.3rem; height: 1.3rem; }

/* mobile drawer */
.nav-backdrop { position: fixed; inset: 0; z-index: var(--z-drawer); background: rgba(5,8,12,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.nav-drawer {
  position: fixed; inset: .8rem .8rem auto .8rem; z-index: calc(var(--z-drawer) + 1);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--shadow-lg); max-height: calc(100dvh - 1.6rem); overflow-y: auto;
}
.nav-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.nav-drawer a.nav__link { display: block; font-size: var(--text-lg); padding: .85rem .9rem; color: var(--ink); }
.nav-drawer .btn { margin-top: 1rem; }
.nav-drawer__links { display: grid; gap: .15rem; }

/* 9. Hero ------------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(7rem, 14vw, 10.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy > .avail-pill { display: flex; width: fit-content; margin-bottom: 1.1rem; }
.hero__copy > .eyebrow { display: flex; width: fit-content; }
.hero__title { font-size: clamp(3.2rem, 5.8vw, 5.4rem); margin: 1.2rem 0 1.4rem; }
.hero__title .word { display: inline-block; }
.hero__sub { font-size: var(--text-xl); color: var(--muted); max-width: 46ch; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__note { margin-top: 1.4rem; font-size: var(--text-sm); color: var(--faint); display: flex; align-items: center; gap: .55rem; }
.hero__note svg { width: 1.05rem; height: 1.05rem; color: var(--accent-ink); }
.hero__rotate {
  display: inline-block;
  position: relative;
  width: var(--rotate-width, 9ch);
  height: 1.32em;
  line-height: 1.08;
  color: var(--accent-ink);
  white-space: nowrap;
  vertical-align: -.2em;
  overflow: hidden;
}
.hero__rotate [data-rotate-word] {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  color: inherit;
  white-space: nowrap;
  opacity: 0;
}
.hero__rotate [data-rotate-word]:first-child { opacity: 1; }

/* atmosphere: lighthouse beam + grain */
.hero__beam {
  position: absolute; top: -10%; right: -6%; width: 60vw; height: 120%;
  background: radial-gradient(45% 55% at 70% 30%, var(--accent-soft), transparent 70%);
  filter: blur(8px); pointer-events: none; z-index: 0;
  animation: beamPulse 9s var(--ease-in-out) infinite;
}
.hero__grid, .hero .container { position: relative; z-index: 1; }
@keyframes beamPulse { 0%,100%{opacity:.85; transform:scale(1)} 50%{opacity:.5; transform:scale(1.08)} }
.bg-grain::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero system cards (the floating "business system" proof) */
.hero__cards { position: relative; min-height: 380px; }
.hero__cards-caption { position: absolute; left: .2rem; bottom: .2rem; z-index: 6; font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); opacity: .6; }
.sys-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(2px);
}
.sys-card__panel { animation: floatY 6s var(--ease-in-out) infinite; }
.sys-card--a { top: 0; right: 2%; width: 70%; z-index: 3; }
.sys-card--b { top: 38%; left: 0; width: 56%; z-index: 4; }
.sys-card--b .sys-card__panel { animation-delay: -2s; }
.sys-card--c { bottom: 0; right: 6%; width: 60%; z-index: 2; }
.sys-card--c .sys-card__panel { animation-delay: -4s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.sys-card__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.sys-card__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); position: relative; }
.sys-card__dot::after { content:""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); opacity: .5; animation: ringPulse 2.4s ease-out infinite; }
@keyframes ringPulse { 0%{transform:scale(.7); opacity:.6} 100%{transform:scale(1.5); opacity:0} }
.sys-card__label { font-size: var(--text-xs); color: var(--faint); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.sys-card__value { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.sys-card__value small { font-size: .9rem; color: var(--accent-ink); font-family: var(--font-body); font-weight: 600; }
.sys-card__row { display: flex; align-items: center; gap: .55rem; font-size: var(--text-sm); color: var(--muted); }
.sys-card__row svg { width: 1.1rem; height: 1.1rem; color: var(--accent-ink); }
.sys-card__avatar { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.sys-chart { width: 100%; height: 54px; margin-top: .3rem; }
.sys-chart__line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; }
.motion-ready .sys-chart__line { animation: drawLine 2s var(--ease-out) .4s forwards; }
.sys-chart__area { fill: var(--accent-soft); opacity: 0; }
.motion-ready .sys-chart__area { animation: areaFade 1s ease-out 1.4s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes areaFade { to { opacity: 1; } }

/* 10. Marquee -------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; animation: marqueeScroll 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-weight: 600; font-size: var(--text-base); white-space: nowrap; }
.marquee__item svg { width: 1.2rem; height: 1.2rem; color: var(--accent-ink); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
.trust-line { text-align: center; color: var(--faint); font-size: var(--text-sm); margin-bottom: 1.6rem; }

/* 11. Bento service cards -------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.sb-card {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 2rem); overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease-out);
}
.sb-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 80% 0%, var(--accent-soft), transparent 70%);
  transition: opacity var(--dur-3) var(--ease);
}
.sb-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.sb-card:hover::before { opacity: 1; }
.sb-card--wide { grid-column: span 3; }
.sb-card--lead { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; }
.sb-card--third { grid-column: span 2; }
.sb-card__icon { width: 76px; height: 76px; margin-bottom: .3rem; }
.sb-card h3 { font-size: var(--h4); }
.sb-card p { color: var(--muted); font-size: var(--text-base); }
.sb-card__cta { margin-top: auto; padding-top: .4rem; }
.sb-card__media { position: relative; min-height: 180px; display: grid; place-items: center; }

/* animated icon system (CSS only, inline SVG hooks) */
.ai-icon { width: 76px; height: 76px; }
.ai-icon .stroke { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ai-icon .stroke-2 { fill: none; stroke: var(--accent-2); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ai-icon .fillsoft { fill: var(--accent-soft); }
.ai-float { animation: floatY 6s var(--ease-in-out) infinite; transform-origin: center; }
.ai-dot { fill: var(--accent-2); animation: dotDrift 4s var(--ease-in-out) infinite; }
.ai-pulse { transform-origin: center; animation: iconPulse 3s var(--ease-in-out) infinite; }
.ai-ring { fill: none; stroke: var(--accent); stroke-width: 3; transform-origin: center; animation: ringExpand 3s ease-out infinite; }
.ai-spark { fill: var(--accent-2); transform-origin: center; animation: sparkTwinkle 3s var(--ease-in-out) infinite; }
.ai-cursor { animation: cursorMove 4s var(--ease-in-out) infinite; }
.ai-draw { stroke-dasharray: 90; stroke-dashoffset: 90; animation: iconDraw 2.6s var(--ease-out) infinite alternate; }
@keyframes dotDrift { 0%,100%{transform:translate(0,0); opacity:.6} 25%{transform:translate(3px,-4px); opacity:1} 50%{transform:translate(-2px,-6px); opacity:.5} 75%{transform:translate(4px,-2px); opacity:.85} }
@keyframes iconPulse { 0%,100%{opacity:.55} 50%{opacity:1} }
@keyframes ringExpand { 0%{transform:scale(.7); opacity:.5} 100%{transform:scale(1.35); opacity:0} }
@keyframes sparkTwinkle { 0%,100%{transform:scale(1) rotate(0); opacity:.4} 50%{transform:scale(1.4) rotate(18deg); opacity:1} }
@keyframes cursorMove { 0%,100%{transform:translate(0,0)} 30%{transform:translate(-7px,4px)} 60%{transform:translate(5px,-6px)} }
@keyframes iconDraw { to { stroke-dashoffset: 0; } }

/* 12. Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); counter-reset: step; }
.step {
  position: relative;
  padding: 3.75rem clamp(1.2rem, 2vw, 1.55rem) clamp(1.15rem, 2vw, 1.45rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease-out);
}
.step > * { position: relative; z-index: 1; }
.step__num {
  position: absolute; top: .8rem; left: clamp(1.2rem, 2vw, 1.55rem); font-family: var(--font-display);
  font-size: 2.6rem; line-height: 1; color: var(--accent-ink); opacity: .9;
}
.step__num::before { counter-increment: step; content: "0" counter(step); }
.step h3 { font-size: var(--h5); margin-bottom: .5rem; }
.step p { color: var(--muted); }
.step::after {
  content: ""; position: absolute; top: 2.05rem; left: 4.55rem; right: -1rem; height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.steps .step:last-child::after { display: none; }

/* 13. Device-frame portfolio ---------------------------------------------- */
.work-stage { position: relative; }
.work-cluster {
  position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.4rem; align-items: end;
}
.device { position: relative; border-radius: 14px; }
/* browser / laptop screen */
.device--browser {
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.device__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.device__dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--faint); opacity: .6; }
.device__url { margin-left: .6rem; flex: 1; height: 1.1rem; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); font-size: .6rem; color: var(--faint); display: flex; align-items: center; padding: 0 .6rem; }
.device__screen { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.device--laptop { padding-bottom: 1.4rem; }
.device--laptop .device__base {
  position: absolute; left: -7%; right: -7%; bottom: 0; height: 1.1rem;
  background: linear-gradient(var(--surface), var(--surface-2)); border: 1px solid var(--border-strong);
  border-radius: 0 0 14px 14px;
}
.device--laptop .device__base::after { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:18%; height:.35rem; background:var(--bg); border-radius:0 0 8px 8px; }
.device--phone {
  position: absolute; right: -4%; bottom: -3%; width: 27%; z-index: 5;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 22px; padding: .5rem .4rem; box-shadow: var(--shadow-lg);
}
.device--phone .device__notch { width: 32%; height: .5rem; background: var(--bg); border-radius: var(--r-pill); margin: 0 auto .35rem; }
.device--phone .device__screen { aspect-ratio: 9/18; border-radius: 16px; }
.device--tablet {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px;
  padding: .7rem; box-shadow: var(--shadow-lg);
}
.device--tablet .device__screen { aspect-ratio: 3/4; border-radius: 12px; }

/* mini website rendered inside frames (no external images needed) */
.mini { position: absolute; inset: 0; padding: .7rem; display: flex; flex-direction: column; gap: .5rem; font-size: 6px; }
.mini--a { background: linear-gradient(160deg, #102338, #0c1a2b); color: #eaf2fb; }
.mini--b { background: linear-gradient(160deg, #f7f2ea, #efe6d6); color: #1c1712; }
.mini--c { background: linear-gradient(160deg, #14241c, #0e1a14); color: #eaf6ee; }
.mini--d { background: linear-gradient(160deg, #241218, #170b10); color: #f6eaef; }
.mini__nav { display: flex; align-items: center; justify-content: space-between; }
.mini__logo { font-weight: 800; font-size: 7px; letter-spacing: .02em; }
.mini__links { display: flex; gap: 5px; opacity: .7; }
.mini__links span { width: 14px; height: 3px; border-radius: 2px; background: currentColor; opacity: .35; }
.mini__hero { margin: 6px 0; }
.mini__h { height: 8px; width: 78%; border-radius: 3px; background: currentColor; opacity: .85; margin-bottom: 4px; }
.mini__h.short { width: 52%; }
.mini__p { height: 3px; width: 90%; border-radius: 2px; background: currentColor; opacity: .35; margin-bottom: 3px; }
.mini__btn { display: inline-block; height: 9px; width: 36px; border-radius: 5px; margin-top: 4px; }
.mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; }
.mini__card { aspect-ratio: 1; border-radius: 4px; background: currentColor; opacity: .14; }
.mini__accent-a { background: #e8a13a; color: #16100a; }
.mini__accent-b { background: #b7791f; color: #fff; }
.mini__accent-c { background: #84cc16; color: #0a1404; }
.mini__accent-d { background: #e0b15a; color: #1c0e07; }
.work-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.work-caption h3 { font-size: var(--h5); }
.work-tag { font-size: var(--text-sm); color: var(--faint); }

.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.55rem);
}
.portfolio-preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15.5rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease-out);
}
.portfolio-preview-card:hover,
.portfolio-preview-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.portfolio-preview-card__info {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1.05rem 1.2rem;
  background: color-mix(in srgb, var(--surface) 84%, var(--bg));
  border-top: 1px solid var(--border);
}
.portfolio-preview-card__info b { font-size: var(--text-base); }
.portfolio-preview-card__info span { color: var(--faint); font-size: var(--text-sm); white-space: nowrap; }
.portfolio-mockup {
  position: relative;
  min-height: 13rem;
  padding: 2.1rem 1.5rem 1.45rem;
  background:
    radial-gradient(70% 80% at 50% 0%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, white), var(--surface));
  overflow: hidden;
  pointer-events: none;
}
.portfolio-mockup::before {
  content: "";
  position: absolute;
  display: none;
  right: 7%;
  bottom: 1.6rem;
  z-index: 4;
  width: 34%;
  aspect-ratio: 16/10;
  border: 4px solid #111820;
  border-radius: 7px 7px 3px 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72) 0 36%, transparent 36% 100%) 12% 22% / 70% 5px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.38) 0 64%, transparent 64% 100%) 12% 33% / 78% 4px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.16) 0 28%, transparent 28% 32%, rgba(255,255,255,.16) 32% 62%, transparent 62% 66%, rgba(255,255,255,.16) 66% 100%) 12% 68% / 78% 34% no-repeat,
    linear-gradient(160deg, #102338, #0c1a2b);
  box-shadow: 0 18px 40px -24px rgba(8,12,20,.65);
}
.portfolio-mockup::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 13%;
  right: 10%;
  bottom: 1.2rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(8,12,20,.18);
  filter: blur(12px);
}
.portfolio-device {
  position: absolute;
  overflow: hidden;
  background: #111820;
  border: 4px solid #111820;
  box-shadow: 0 18px 40px -24px rgba(8,12,20,.65);
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.portfolio-device .mini { font-size: 5px; }
.portfolio-device__shot,
.portfolio-device > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.portfolio-device--desktop {
  left: 16%;
  top: 1.45rem;
  z-index: 2;
  width: 50%;
  aspect-ratio: 16/10;
  border-radius: 8px 8px 3px 3px;
}
.portfolio-device--desktop::after {
  content: "";
  position: absolute;
  left: 39%;
  right: 39%;
  bottom: -10px;
  height: 10px;
  background: #111820;
}
.portfolio-device--tablet {
  left: 7%;
  bottom: 1.9rem;
  width: 20%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  z-index: 4;
}
.portfolio-device--phone {
  left: 24%;
  bottom: 1.55rem;
  width: 10%;
  aspect-ratio: 9/18;
  border-radius: 9px;
  z-index: 5;
}
.portfolio-device--laptop {
  right: 6%;
  bottom: 1.7rem;
  width: 36%;
  aspect-ratio: 16/10;
  border-radius: 7px 7px 3px 3px;
  z-index: 3;
}
.portfolio-device--laptop::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -8px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  background: #111820;
}
.portfolio-preview-card:hover .portfolio-device--desktop,
.portfolio-preview-card:focus-visible .portfolio-device--desktop,
.work-card:hover .portfolio-device--desktop,
.work-card:focus-within .portfolio-device--desktop { transform: translateY(-4px) scale(1.04); }
.portfolio-preview-card:hover .portfolio-device--tablet,
.portfolio-preview-card:focus-visible .portfolio-device--tablet,
.work-card:hover .portfolio-device--tablet,
.work-card:focus-within .portfolio-device--tablet { transform: translate(-4px, 3px) rotate(-1deg); }
.portfolio-preview-card:hover .portfolio-device--phone,
.portfolio-preview-card:focus-visible .portfolio-device--phone,
.work-card:hover .portfolio-device--phone,
.work-card:focus-within .portfolio-device--phone { transform: translate(4px, -2px) rotate(1deg); }
.portfolio-preview-card:hover .portfolio-device--laptop,
.portfolio-preview-card:focus-visible .portfolio-device--laptop,
.work-card:hover .portfolio-device--laptop,
.work-card:focus-within .portfolio-device--laptop { transform: translate(6px, 3px) scale(1.03); }
.work-preview-cta { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* portfolio list cards (work page) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  isolation: isolate;
  overflow: visible;
}
.work-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 7rem;
  transform-origin: center center;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-4) var(--ease-out), filter var(--dur-3) var(--ease), z-index 0s;
}
.work-card::before {
  content: "";
  position: absolute;
  inset: -.9rem;
  z-index: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease);
}
.work-card > * {
  position: relative;
  z-index: 1;
}
.work-card:hover,
.work-card:focus-within {
  z-index: 30;
  transform: translateY(8px) scale(1.22);
  filter: drop-shadow(0 34px 64px rgba(8,12,20,.22));
}
.work-card:hover::before,
.work-card:focus-within::before {
  opacity: 1;
  border-color: var(--border-strong);
}
.work-card:nth-child(3n + 1) { transform-origin: left center; }
.work-card:nth-child(3n) { transform-origin: right center; }
.work-grid:hover .work-card:not(:hover):not(:focus-within) { opacity: .42; transform: scale(.955); }
.work-card__frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.work-card__frame .device__screen { aspect-ratio: 16/10; }
.work-card__frame .device__bar { background: var(--surface-2); }
.work-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--bg) 12%, transparent);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}
.work-card:hover .work-card__overlay,
.work-card:focus .work-card__overlay,
.work-card:focus-within .work-card__overlay { opacity: 1; }
.work-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; transform: translateY(10px); transition: transform var(--dur-3) var(--ease-out); }
.work-card:hover .work-card__actions,
.work-card:focus .work-card__actions,
.work-card:focus-within .work-card__actions { transform: translateY(0); }
.work-card__visit {
  position: relative;
  z-index: 9;
  background: var(--accent);
  color: var(--on-accent);
  padding: .65rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  box-shadow: var(--shadow);
}
.work-card__visit--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.work-card__visit svg { width: 1rem; height: 1rem; }
.work-card__meta { display: flex; align-items: center; justify-content: space-between; }
.work-card__meta h3 { font-size: var(--h5); }
.work-card__meta span { font-size: var(--text-sm); color: var(--faint); }
.portfolio-mockup--work { min-height: 14rem; }
.work-lightbox[hidden] { display: none; }
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.work-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,8,12,.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.work-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  width: min(1060px, 100%);
  max-height: min(86dvh, 760px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
}
.work-lightbox__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.work-lightbox__close svg { width: 1.1rem; height: 1.1rem; }
.work-lightbox__media .portfolio-mockup { min-height: clamp(18rem, 42vw, 31rem); border-radius: var(--r); border: 1px solid var(--border); }
.work-lightbox__media .portfolio-device--desktop { left: 17%; top: 2.5rem; width: 55%; }
.work-lightbox__media .portfolio-device--tablet { left: 7%; bottom: 2.8rem; width: 24%; }
.work-lightbox__media .portfolio-device--phone { left: 27%; bottom: 2.45rem; width: 11%; }
.work-lightbox__media .portfolio-device--laptop { right: 6%; bottom: 3rem; width: 37%; }
.work-lightbox__copy { align-self: center; padding: clamp(.5rem, 2vw, 1rem); }
.work-lightbox__copy h2 { font-size: var(--h3); margin: .45rem 0 .7rem; }
.work-lightbox__copy .btn { margin-top: 1.2rem; }

/* 14. Feature / why cards -------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.why-card {
  position: relative; overflow: hidden; padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.why-card::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px;
  border-radius: 50%; background: var(--accent-soft); filter: blur(20px);
  animation: floatBlob 12s var(--ease-in-out) infinite;
}
@keyframes floatBlob { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-12px,12px) scale(1.1)} }
.why-card > * { position: relative; }
.why-card__icon { width: 2.8rem; height: 2.8rem; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 1.1rem; }
.why-card__icon svg { width: 1.5rem; height: 1.5rem; }
.why-card h3 { font-size: var(--h5); margin-bottom: .5rem; }
.why-card p { color: var(--muted); }

.feature-list { display: grid; gap: 1.1rem; }
.feature-item { display: flex; gap: .9rem; align-items: flex-start; }
.feature-item__check { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-top: .1rem; }
.feature-item__check svg { width: 1rem; height: 1rem; }

.trust-pack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.trust-pack__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 2.2vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease-out);
}
.trust-pack__card > * { position: relative; z-index: 1; }
.trust-pack__card h3 { font-size: var(--h5); margin: .9rem 0 .55rem; }
.trust-pack__card p { color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.feature-item h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); margin-bottom: .15rem; }
.feature-item p { color: var(--muted); font-size: var(--text-sm); }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.media-frame { border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); }

/* 15. Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.stat { padding-block: .5rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--ink); }
.stat__num span { color: var(--accent-ink); }
.stat__label { color: var(--muted); margin-top: .4rem; font-size: var(--text-sm); }
.stats--bordered .stat { border-left: 1px solid var(--border); padding-left: 1.4rem; }

/* 16. Reviews bento -------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; gap: 1rem;
}
.review--feature { grid-row: span 2; background: var(--accent-soft); border-color: transparent; }
.review__stars { color: var(--accent); letter-spacing: .1em; font-size: .9rem; }
.review__label {
  align-self: flex-start;
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .32rem .62rem;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.review blockquote { font-size: var(--text-lg); line-height: 1.5; }
.review--feature blockquote { font-family: var(--font-display); font-size: var(--h4); line-height: 1.25; }
.review__author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.review__avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; }
.review__name { font-weight: 600; }
.review__role { font-size: var(--text-sm); color: var(--faint); }

.credential-note {
  margin: 1.35rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  display: grid;
  gap: .35rem;
}
.credential-note strong { color: var(--ink); }
.credential-note span { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }

/* 17. Pricing -------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.2vw, 1.6rem); align-items: start; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.price-card__tag { position: absolute; top: -.8rem; right: 1.4rem; background: var(--accent); color: var(--on-accent); font-size: var(--text-xs); font-weight: 700; padding: .3rem .8rem; border-radius: var(--r-pill); }
.price-card h3 { font-size: var(--h5); }
.price-card__price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.price-card__price small { font-family: var(--font-body); font-size: var(--text-sm); color: var(--muted); font-weight: 500; }
.price-card__sub { color: var(--muted); font-size: var(--text-sm); }
.price-card ul { display: grid; gap: .7rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--text-sm); }
.price-card li svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--accent-ink); margin-top: .15rem; }
.price-card .btn { margin-top: auto; }

/* 18. Sadaqah strip -------------------------------------------------------- */
.sadaqah { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem); }
.sadaqah__icon { width: 3rem; height: 3rem; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.sadaqah__icon svg { width: 1.6rem; height: 1.6rem; }
.sadaqah h3 { font-size: var(--h5); margin-bottom: .25rem; }
.sadaqah p { color: var(--muted); font-size: var(--text-sm); max-width: 60ch; }

/* 19. FAQ ------------------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color var(--dur-2) var(--ease); }
.faq__item[data-open="true"] { border-color: var(--border-strong); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; text-align: left; font-weight: 600; font-size: var(--text-lg); }
.faq__icon { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease); }
.faq__icon svg { width: .9rem; height: .9rem; }
.faq__item[data-open="true"] .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* 20. CTA band ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: clamp(2.2rem, 4.5vw, 3.8rem); text-align: center; background: var(--surface); border: 1px solid var(--border); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% 0%, var(--accent-soft), transparent 70%); pointer-events:none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: var(--h1); margin-bottom: .85rem; }
.cta-band p { color: var(--muted); font-size: var(--text-lg); max-width: 66ch; margin: 0 auto 1.45rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band .scarcity { margin-bottom: 1rem; }
.cta-band--home { padding: clamp(1.7rem, 3.2vw, 2.8rem); }
.cta-band--home h2 { font-size: clamp(2.35rem, 4vw, 3.5rem); margin-bottom: .65rem; }
.cta-band--home p { max-width: 76ch; margin-bottom: 1.1rem; }
.cta-band--home .scarcity { margin-bottom: .75rem; }
.cta-particle { position: absolute; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); opacity: .4; }
.cta-particle:nth-child(1){ left:12%; top:30%; animation: particleFloat 7s ease-in-out infinite; }
.cta-particle:nth-child(2){ left:84%; top:24%; animation: particleFloat 8s ease-in-out infinite .6s; }
.cta-particle:nth-child(3){ left:24%; top:70%; animation: particleFloat 6.4s ease-in-out infinite 1.1s; }
.cta-particle:nth-child(4){ left:72%; top:66%; animation: particleFloat 7.6s ease-in-out infinite .3s; }
@keyframes particleFloat { 0%,100%{transform:translate(0,0); opacity:.3} 50%{transform:translate(10px,-22px); opacity:.7} }

/* 21. Footer --------------------------------------------------------------- */
.footer { background: var(--band); color: var(--band-ink); border-top: 1px solid var(--border); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: var(--text-sm); }
.footer__preferred {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 34ch;
  font-size: var(--text-sm);
}
.footer__preferred a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.footer__preferred a:hover { text-decoration: underline; }
.footer__col h4 { font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { color: var(--muted); font-size: var(--text-sm); transition: color var(--dur-1) var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer__contact svg { width: 1rem; height: 1rem; color: var(--accent-ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); color: var(--faint); font-size: var(--text-sm); }
.footer__social { display: flex; gap: .5rem; }
.footer__social a { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.footer__social a:hover { border-color: var(--accent); color: var(--accent-ink); }
.footer__social svg { width: 1.05rem; height: 1.05rem; }

/* 22. Misc: page-hero, prose, badges, contact form ------------------------- */
.page-hero { padding-top: clamp(7rem, 13vw, 9.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: clip; }
.page-hero__beam { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 80vw; height: 90%; background: radial-gradient(40% 50% at 50% 30%, var(--accent-soft), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: var(--h1); margin: 1rem 0 1.1rem; }
.page-hero p { font-size: var(--text-xl); color: var(--muted); max-width: 56ch; }
.breadcrumb { font-size: var(--text-sm); color: var(--faint); display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--accent-ink); }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--text-xs); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); font-size: var(--text-sm); color: var(--muted); }
.pill svg { width: 1rem; height: 1rem; color: var(--accent-ink); }

.prose { max-width: var(--maxread); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--h3); margin-top: 1.8em; }
.prose h3 { font-size: var(--h4); margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { display: grid; gap: .6rem; padding-left: 1.2rem; list-style: none; }
.prose ul li { position: relative; padding-left: 1.2rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* forms */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field label .req { color: var(--accent-ink); }
.field .hint { font-size: var(--text-xs); color: var(--faint); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--bg); border: 1px solid var(--border-strong); color: var(--ink);
  font-size: var(--text-base); transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* progressive inline validation: only flags after the user has interacted */
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #e0736b; box-shadow: 0 0 0 3px rgba(224,115,107,.18); }
.field input:user-invalid:focus, .field textarea:user-invalid:focus { box-shadow: 0 0 0 3px rgba(224,115,107,.28); }
.field textarea { min-height: 150px; resize: vertical; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-aside { display: grid; gap: 1.4rem; align-content: start; }
.form-aside__item { display: flex; gap: .9rem; align-items: flex-start; }
.form-aside__item .feature-item__check { background: var(--accent-soft); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--text-sm); color: var(--muted); }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--accent); }

.map-panel {
  position: relative;
  display: block;
  min-height: 22.5rem;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 24%, rgba(43, 85, 70, .45) 0 12%, transparent 13%),
    radial-gradient(circle at 78% 70%, rgba(31, 83, 67, .42) 0 14%, transparent 15%),
    linear-gradient(90deg, rgba(91, 107, 125, .22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(91, 107, 125, .2) 1px, transparent 1px),
    #111820;
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
  color: #e8eaed;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease);
}
.map-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(28deg, transparent 0 41%, #263746 41% 45%, #536b80 45% 47%, #263746 47% 51%, transparent 51%),
    linear-gradient(152deg, transparent 0 44%, #243341 44% 48%, #536b80 48% 50%, #243341 50% 54%, transparent 54%),
    linear-gradient(82deg, transparent 0 58%, #263746 58% 61%, transparent 61%),
    linear-gradient(4deg, transparent 0 49%, #243341 49% 51%, transparent 51%);
  opacity: .92;
  z-index: 0;
}
.map-panel:hover { transform: translateY(-2px); border-color: rgba(96, 165, 250, .4); box-shadow: 0 24px 52px rgba(0, 0, 0, .32); }
.map-panel:focus-visible { outline: 3px solid rgba(96, 165, 250, .46); outline-offset: 4px; }
.map-panel__place {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: .85rem;
  width: min(19rem, calc(100% - 4.8rem));
  min-height: 7rem;
  padding: .85rem .9rem;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 4px;
  background: #1f252c;
  color: #f8fafc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
  font-family: Arial, sans-serif;
}
.map-panel__place-copy { display: grid; gap: .18rem; }
.map-panel__place strong { color: #f8fafc; font-size: 1rem; font-weight: 500; line-height: 1.25; }
.map-panel__place span { color: #c9d1d9; font-size: .75rem; line-height: 1.25; }
.map-panel__view { color: #8ab4f8 !important; font-weight: 700; margin-top: .25rem; }
.map-panel__place-actions {
  display: flex;
  flex: none;
  gap: .55rem;
  align-items: flex-start;
}
.map-panel__place-actions span {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: #8ab4f8;
  background: #26313d;
  border-radius: 50%;
}
.map-panel__place-actions svg { width: 1rem; height: 1rem; }
.map-panel__fullscreen,
.map-panel__thumb,
.map-panel__google,
.map-panel__terms {
  position: absolute;
  z-index: 8;
  font-family: Arial, sans-serif;
  pointer-events: none;
}
.map-panel__fullscreen {
  right: .85rem;
  bottom: 2.65rem;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  color: #c9d1d9;
  background: #1f252c;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
}
.map-panel__fullscreen svg { width: 1.05rem; height: 1.05rem; }
.map-panel__thumb {
  left: .75rem;
  bottom: .75rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(24, 70, 54, .95), rgba(89, 113, 78, .95)),
    linear-gradient(45deg, transparent 0 45%, rgba(225, 230, 215, .75) 45% 55%, transparent 55%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .28);
}
.map-panel__google {
  left: 50%;
  bottom: .95rem;
  display: flex;
  transform: translateX(-50%);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.04em;
}
.map-panel__google span:nth-child(1),
.map-panel__google span:nth-child(4) { color: #8ab4f8; }
.map-panel__google span:nth-child(2),
.map-panel__google span:nth-child(6) { color: #ea4335; }
.map-panel__google span:nth-child(3) { color: #fbbc04; }
.map-panel__google span:nth-child(5) { color: #34a853; }
.map-panel__terms {
  right: .5rem;
  bottom: .2rem;
  padding: .05rem .25rem;
  color: #c1c7d0;
  background: rgba(17, 24, 32, .72);
  font-size: .57rem;
  line-height: 1.2;
}
.map-road,
.map-park,
.map-label,
.map-panel__pin {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.map-road {
  height: .5rem;
  border-radius: var(--r-pill);
  background: #263746;
  box-shadow: 0 0 0 2px #536b80;
}
.map-road--main { left: 8%; top: 49%; width: 90%; transform: rotate(-13deg); background: #314962; box-shadow: 0 0 0 2px #6d8498; }
.map-road--high { left: 17%; top: 63%; width: 72%; transform: rotate(22deg); }
.map-road--bypass { left: 38%; top: 21%; width: 72%; transform: rotate(63deg); }
.map-road--north { left: -4%; top: 27%; width: 54%; transform: rotate(-34deg); }
.map-road--south { left: 43%; top: 77%; width: 65%; transform: rotate(-7deg); }
.map-park {
  border-radius: 42% 58% 47% 53%;
  background: rgba(23, 82, 62, .72);
  border: 1px solid rgba(74, 222, 128, .22);
  opacity: .95;
}
.map-park--castle { left: 11%; top: 13%; width: 31%; height: 30%; transform: rotate(-12deg); }
.map-park--priory { right: 8%; bottom: 14%; width: 28%; height: 24%; transform: rotate(10deg); }
.map-label {
  z-index: 4;
  color: #bdc7d2;
  font-family: Arial, sans-serif;
  font-size: .67rem;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .72);
  white-space: nowrap;
}
.map-label--town { left: 52%; top: 45%; max-width: 8rem; color: #ff6b6b; font-size: .78rem; font-weight: 700; line-height: 1.05; white-space: normal; }
.map-label--castle { left: 13%; top: 37%; color: #9bd4b5; }
.map-label--station { left: 58%; top: 57%; color: #8ab4f8; }
.map-label--poi { left: 28%; top: 57%; color: #ff7b72; }
.map-label--food { right: 29%; bottom: 41%; color: #f59e0b; }
.map-label--road { left: 28%; top: 60%; transform: rotate(20deg); color: #8ea0b4; }
.map-label--road2 { left: 57%; top: 32%; transform: rotate(62deg); color: #8ea0b4; }
.map-panel__pin {
  left: 51%;
  top: 48%;
  z-index: 7;
  transform: translate(-50%, -100%);
  color: #ea4335;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .42));
}
.map-panel__pin svg { width: 2.55rem; height: 2.55rem; fill: #ea4335; stroke: #3b0d0a; stroke-width: 1.2; }

.preferred-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.preferred-source__copy { max-width: 52rem; }
.preferred-source__copy strong { display: block; margin-bottom: .25rem; }
.preferred-source__copy span { display: block; color: var(--muted); font-size: var(--text-sm); }
.preferred-source .btn { flex: none; }

/* 23. Theme + font switcher panel ----------------------------------------- */
.theme-fab {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: var(--z-switcher);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--accent-ink);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease);
}
.theme-fab:hover { transform: translateY(-3px) rotate(-8deg); border-color: var(--accent); }
.theme-fab svg { width: 1.4rem; height: 1.4rem; }
.theme-fab__ring { position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ringPulse 3s ease-out infinite; }

.theme-panel {
  position: fixed; left: 1.2rem; bottom: 5rem; z-index: var(--z-switcher);
  width: min(360px, calc(100vw - 2.4rem)); max-height: min(78vh, 640px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 1.3rem;
  transform-origin: bottom left;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
}
.theme-panel[hidden] { display: block; opacity: 0; visibility: hidden; transform: scale(.94) translateY(8px); pointer-events: none; }
.theme-panel:not([hidden]) { opacity: 1; visibility: visible; transform: none; }
.theme-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; }
.theme-panel__head h2 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; }
.theme-panel__close { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.theme-panel__close:hover { color: var(--ink); border-color: var(--border-strong); }
.theme-panel__sub { font-size: var(--text-xs); color: var(--faint); margin-bottom: 1.1rem; }
.theme-panel__label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 1.2rem 0 .7rem; }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.swatch {
  display: flex; flex-direction: column; gap: .45rem; padding: .55rem; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--bg); cursor: pointer; text-align: left;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease-out);
}
.swatch:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.swatch[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.swatch__chips { display: flex; height: 1.7rem; border-radius: 5px; overflow: hidden; border: 1px solid rgba(125,125,125,.2); }
.swatch__chips i { flex: 1; }
.swatch__name { font-size: .68rem; font-weight: 600; color: var(--muted); }
.swatch[aria-pressed="true"] .swatch__name { color: var(--ink); }
.font-list { display: grid; gap: .45rem; }
.font-opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem;
  padding: .65rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--bg); cursor: pointer; text-align: left;
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.font-opt:hover { border-color: var(--border-strong); }
.font-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.font-opt__specimen { font-size: 1.2rem; line-height: 1; }
.font-opt__name { font-size: var(--text-xs); color: var(--faint); white-space: nowrap; }
.theme-panel__reset { margin-top: 1.2rem; width: 100%; padding: .7rem; border-radius: var(--r-sm); border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: var(--text-sm); }
.theme-panel__reset:hover { border-color: var(--border-strong); color: var(--ink); }

/* 24. Conversion float + tactile interactions ----------------------------- */
.wa-float {
  position: fixed; right: 1.15rem; top: 50%; z-index: calc(var(--z-switcher) - 1);
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  min-width: 3.3rem; height: 3.3rem; padding: .55rem;
  border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, #25d366 55%, var(--border));
  background: color-mix(in srgb, #25d366 92%, var(--surface));
  color: #06150b; box-shadow: 0 18px 42px -22px #25d366;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(18px, -50%) scale(.92);
  transition: opacity var(--dur-3) var(--ease), visibility var(--dur-3),
              transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.wa-float.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}
.wa-float::before {
  content: ""; position: absolute; inset: -8px; border-radius: inherit;
  border: 1px solid #25d366; opacity: .36; animation: waPulse 3.2s ease-out infinite;
}
.wa-float:hover, .wa-float:focus-visible {
  gap: .6rem;
  transform: translate(-4px, -50%) scale(1.03);
  box-shadow: 0 24px 54px -24px #25d366;
}
.wa-float svg { width: 1.45rem; height: 1.45rem; flex: none; position: relative; }
.wa-float__label {
  position: relative; max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: var(--text-sm); font-weight: 700; opacity: 0;
  transition: max-width var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease);
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 9rem; opacity: 1; }
@keyframes waPulse {
  0% { transform: scale(.82); opacity: .42; }
  80%, 100% { transform: scale(1.45); opacity: 0; }
}

/* Availability pill + scarcity banner ------------------------------------- */
.avail-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--border);
  font-size: var(--text-sm); font-weight: 600; color: var(--ink);
  line-height: 1;
}
.avail-pill__dot {
  width: .6rem; height: .6rem; border-radius: 50%; flex: none;
  background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .55);
  animation: availPulse 2.2s ease-out infinite;
}
@keyframes availPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); }
  70% { box-shadow: 0 0 0 .5rem rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.footer__brand .avail-pill { margin-top: 1.1rem; }

.scarcity {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 auto 1.4rem; padding: .55rem 1.05rem; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink); font-size: var(--text-sm); font-weight: 600; line-height: 1.2;
}
.scarcity i, .scarcity svg { width: 1rem; height: 1rem; flex: none; }
@media (prefers-reduced-motion: reduce) { .avail-pill__dot { animation: none; } }

.sb-card, .work-card, .portfolio-preview-card, .price-card, .why-card, .step, .trust-pack__card {
  --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
}
.sb-card.is-tactile, .work-card.is-tactile, .portfolio-preview-card.is-tactile, .price-card.is-tactile, .why-card.is-tactile, .step.is-tactile, .trust-pack__card.is-tactile {
  transform-style: preserve-3d;
}
.sb-card.is-tactile::after,
.work-card.is-tactile::after,
.portfolio-preview-card.is-tactile::after,
.price-card.is-tactile::after,
.why-card.is-tactile::after,
.trust-pack__card.is-tactile::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-3) var(--ease);
}
.step.is-tactile::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-3) var(--ease);
}
.sb-card.is-tactile:hover,
.portfolio-preview-card.is-tactile:hover,
.price-card.is-tactile:hover,
.why-card.is-tactile:hover,
.step.is-tactile:hover,
.trust-pack__card.is-tactile:hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
}
.sb-card.is-tactile:hover::after,
.work-card.is-tactile:hover::after,
.portfolio-preview-card.is-tactile:hover::after,
.price-card.is-tactile:hover::after,
.why-card.is-tactile:hover::after,
.trust-pack__card.is-tactile:hover::after,
.step.is-tactile:hover::before { opacity: 1; }
.ai-icon, .why-card__icon, .price-card li svg {
  transition: transform var(--dur-3) var(--ease-out), color var(--dur-2) var(--ease);
}
.sb-card:hover .ai-icon,
.why-card:hover .why-card__icon,
.price-card:hover li svg,
.trust-pack__card:hover .why-card__icon { transform: translateZ(18px) scale(1.04); }
.sb-card:hover .ai-draw,
.work-card:hover .mini__h,
.work-card:hover .mini__p,
.work-card:hover .mini__card {
  animation: microDraw .72s var(--ease-out) both;
}
.work-card { position: relative; }
.work-card__frame { transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease); }
.work-card:hover .work-card__frame,
.work-card:focus .work-card__frame,
.work-card:focus-within .work-card__frame {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  border-color: var(--border-strong); box-shadow: var(--shadow-lg);
}
.work-card .device__screen { transition: transform var(--dur-3) var(--ease-out); }
.work-card:hover .device__screen { transform: translateY(-3px) scale(1.015); }
.why-card { transition: transform var(--dur-3) var(--ease-out), border-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease-out); }
.why-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.step:hover,
.trust-pack__card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.faq__item:hover { border-color: var(--border-strong); }
@keyframes microDraw {
  0% { opacity: .28; transform: translateY(3px) scaleX(.88); transform-origin: left center; }
  100% { opacity: 1; transform: translateY(0) scaleX(1); }
}

@media (min-width: 901px) {
  .work-grid .work-card:hover,
  .work-grid .work-card:focus-within {
    transform: translateY(8px) scale(1.22);
  }
  .work-grid .work-card:nth-child(3n + 1) { transform-origin: left center; }
  .work-grid .work-card:nth-child(3n) { transform-origin: right center; }
}

/* 25. Motion pre-hide + reduced motion ------------------------------------ */
html.motion [data-anim] { opacity: 0; }
html.motion [data-anim="hero-title"] { opacity: 1; }
html.motion [data-anim="hero-title"] .word { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html.motion [data-anim], html.motion [data-anim] .word { opacity: 1 !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .wa-float::before { animation: none; }
  .sb-card.is-tactile:hover,
  .portfolio-preview-card.is-tactile:hover,
  .work-grid .work-card:hover,
  .work-grid .work-card:focus-within,
  .work-card:hover .work-card__frame,
  .price-card.is-tactile:hover,
  .why-card.is-tactile:hover,
  .step.is-tactile:hover,
  .trust-pack__card.is-tactile:hover { transform: translateY(-3px); }
  .portfolio-preview-card:hover .portfolio-device,
  .work-card:hover .portfolio-device,
  .work-grid:hover .work-card:not(:hover):not(:focus-within) { transform: none; opacity: 1; }
}

/* 26. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cards { min-height: 340px; max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .preferred-source { align-items: flex-start; flex-direction: column; }
  .preferred-source .btn { width: 100%; justify-content: center; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sb-card--wide, .sb-card--third { grid-column: span 1; }
  .sb-card--lead { grid-column: span 2; grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .step { padding: 3.55rem 1.2rem 1.25rem; }
  .step::after { display: none; }
  .portfolio-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-cluster { grid-template-columns: 1fr; }
  .device--tablet { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-pack { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .review--feature { grid-row: auto; }
  .pricing { grid-template-columns: 1fr; }
  .sadaqah { grid-template-columns: 1fr; text-align: left; }
  .form__row { grid-template-columns: 1fr; }
  .work-card:hover,
  .work-card:focus-within {
    transform: translateY(-4px) scale(1.01);
  }
  .work-grid:hover .work-card:not(:hover):not(:focus-within) {
    opacity: 1;
    transform: none;
  }
  .work-lightbox__panel { grid-template-columns: 1fr; max-height: 88dvh; }
  .work-lightbox__copy { padding-top: 0; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .sb-card--lead { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .portfolio-preview-grid { grid-template-columns: 1fr; }
  .portfolio-preview-card { min-height: 14rem; }
  .map-panel { min-height: 17rem; }
  .map-panel__place {
    width: min(15rem, calc(100% - 3.8rem));
    min-height: auto;
    padding: .7rem;
  }
  .map-panel__place-actions span { width: 1.9rem; height: 1.9rem; }
  .map-panel__terms,
  .map-label--castle,
  .map-label--station,
  .map-label--road2 { display: none; }
  .portfolio-mockup { min-height: 11.5rem; }
  .work-caption { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .theme-fab { left: 1rem; bottom: 1rem; }
  .wa-float {
    top: auto; right: 1rem; bottom: 5.1rem;
    transform: translateY(12px) scale(.92);
  }
  .wa-float.is-visible { transform: translateY(0) scale(1); }
  .wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px) scale(1.03); }
}
