/* ==========================================================================
   Zahid Gulgee Thani — styles
   Design: "Evergreen". Deep evergreen + navy ink on cool mist surfaces.
   Evergreen marks actions (buttons, links); mint marks live / done states
   (checks, status dots, the "Live" pill); accent words use an
   evergreen-to-ocean gradient (mint-to-sky on dark panels).
   Type: Sora (display) · Manrope (text) · JetBrains Mono (technical labels)

   Contents
    1. Tokens (light, dark)            19. Page hero, breadcrumbs, glance
    2. Base                            20. Recipe cards
    3. Layout                          21. Calculator & range inputs
    4. Typography                      22. 3-2-1 rule tiles
    5. Section heads                   23. Report mock
    6. Buttons & links                 24. Before / after
    7. Header & navigation             25. FAQ
    8. Home hero                       26. CTA panel
    9. Workflow card                   27. Footer
   10. Marquee                         28. Forms
   11. Cards, bento, mini-flow         29. Contact aside
   12. Swap list                       30. Services hub rows
   13. Chips                           31. About
   14. Feature grid, grids, note       32. Ceramics
   15. More-ways grid                  33. 404
   16. Principles                      34. Utilities
   17. Steps                           35. Reveal, phones, motion, print
   18. Checklist
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* Surfaces */
  --bg: #F4F7F7;
  --bg-alt: #EAF0F0;
  --surface: #FFFFFF;
  --surface-2: #F7FAFA;

  /* Text */
  --ink: #0B1D26;
  --ink-2: #2C3F47;
  --muted: #52666D;

  /* Hairlines */
  --line: #DDE6E7;
  --line-strong: #C3D2D5;

  /* Evergreen: actions (buttons, links, focus) */
  --accent: #0A7461;
  --accent-hover: #075E4F;
  --accent-soft: #DCF3EB;
  --on-accent: #FFFFFF;

  /* Mint: live / done / status */
  --mint: #2BD4A4;
  --accent-bright: #2BD4A4;      /* mint used on dark panels */
  --status: #0E9A75;             /* ticks & status icons on page surfaces */
  --status-soft: #D9F5EA;
  --status-ink: #0A7461;         /* small status text, e.g. "Live" */
  --on-bright: #04211A;          /* text on mint fills */
  --danger: #B4233C;             /* form errors */

  /* Ocean / sky: gradient partner */
  --aqua: #0D6B8A;
  --aqua-bright: #6CCFF0;

  /* Dark panels (bands, CTA, feature card) */
  --band: #0B1F29;
  --band-2: #102A33;
  --band-ink: #EEF6F5;
  --band-muted: #A6BCC0;
  --band-line: rgba(214, 238, 236, .12);
  --band-grad: linear-gradient(155deg, #0F2934 0%, #0B1F29 46%, #0A2723 100%);
  --band-ring: rgba(214, 238, 236, .07);
  --band-highlight: rgba(95, 230, 192, .6);
  --cta-shadow: 0 44px 90px -46px rgba(10, 116, 97, .55), 0 20px 44px -28px rgba(11, 31, 41, .45);

  /* Gradients */
  --em-grad: linear-gradient(100deg, #0A7461 0%, #0E86AD 100%);
  --em-grad-band: linear-gradient(100deg, #3DDBB0 0%, #7AD3F0 100%);

  /* Buttons */
  --btn-primary-bg: #0A7461;
  --btn-primary-bg-hover: #075E4F;
  --btn-primary-fg: #FFFFFF;
  --btn-primary-glow: rgba(10, 116, 97, .55);

  /* Hero atmosphere */
  --grid-line: rgba(11, 29, 38, .055);
  --hero-glow-a: rgba(43, 212, 164, .2);
  --hero-glow-b: rgba(108, 207, 240, .11);

  /* Workflow card */
  --flow-glow: rgba(43, 212, 164, .95);
  --done-disc: linear-gradient(150deg, #1BBE92, #0A8A6E);
  --done-tick: #FFFFFF;

  /* Logo mark (favicon matches: #0B1D26 / #F4F7F7 / #2BD4A4) */
  --logo-bg: #0B1D26;
  --logo-z: #F4F7F7;
  --logo-dot: #2BD4A4;

  /* Component art */
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352666D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --vessels-bg: radial-gradient(60% 60% at 50% 35%, rgba(255, 255, 255, .95), transparent 70%), linear-gradient(180deg, #E5EDEF, #D2DEE2);
  --glaze-bg: linear-gradient(180deg, #EEF3F4, #DCE6E9);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 29, 38, .05), 0 1px 1px rgba(11, 29, 38, .03);
  --shadow-md: 0 14px 30px -16px rgba(11, 36, 48, .24), 0 2px 6px rgba(11, 29, 38, .05);
  --shadow-lg: 0 34px 70px -34px rgba(9, 48, 62, .34), 0 12px 26px -16px rgba(11, 29, 38, .14);

  /* Footer wash; also the page canvas so overscroll matches the footer */
  --footer-end: color-mix(in srgb, var(--accent-soft) 45%, var(--bg));

  /* Form control outlines: >= 3:1 against the card in both themes (WCAG 1.4.11) */
  --control-border: color-mix(in srgb, var(--muted) 60%, var(--line-strong));

  /* Shape, type, rhythm */
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 28px;
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

/* Dark: system preference (unless the visitor picked light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071219;
    --bg-alt: #0A1820;
    --surface: #0E1E26;
    --surface-2: #12252E;
    --ink: #E8F2F2;
    --ink-2: #B7C7CB;
    --muted: #8699A0;
    --line: #1A2E37;
    --line-strong: #29424D;
    --accent: #3DDBB0;
    --accent-hover: #63E6C2;
    --accent-soft: #0D2E2A;
    --on-accent: #03241C;
    --mint: #3DDBB0;
    --accent-bright: #5FE6C0;
    --status: #3DDBB0;
    --status-soft: #0D2E2A;
    --status-ink: #5FE6C0;
    --aqua: #6CCFF0;
    --band: #0C2029;
    --band-2: #112A33;
    --band-muted: #A3B8BD;
    --band-line: rgba(214, 238, 236, .11);
    --band-grad: linear-gradient(155deg, #10283A 0%, #0C1F29 48%, #0B2522 100%);
    --band-ring: rgba(95, 230, 192, .16);
    --band-highlight: rgba(95, 230, 192, .5);
    --cta-shadow: 0 40px 100px -42px rgba(43, 212, 164, .3), 0 18px 40px -20px rgba(0, 0, 0, .6);
    --em-grad: linear-gradient(100deg, #3DDBB0 0%, #7AD3F0 100%);
    --btn-primary-bg: #3DDBB0;
    --btn-primary-bg-hover: #63E6C2;
    --btn-primary-fg: #03241C;
    --btn-primary-glow: rgba(61, 219, 176, .45);
    --grid-line: rgba(190, 235, 235, .045);
    --hero-glow-a: rgba(61, 219, 176, .14);
    --hero-glow-b: rgba(108, 207, 240, .08);
    --flow-glow: rgba(61, 219, 176, .9);
    --done-disc: linear-gradient(150deg, #2BD4A4, #0C9A76);
    --logo-bg: #E8F2F2;
    --logo-z: #071219;
    --logo-dot: #17B98D;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238699A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --vessels-bg: radial-gradient(60% 60% at 50% 35%, rgba(120, 220, 210, .1), transparent 70%), linear-gradient(180deg, #11242D, #0A171D);
    --glaze-bg: linear-gradient(180deg, #11242D, #0A171D);
    --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, .025), 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 14px 30px -14px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg: 0 34px 80px -30px rgba(0, 0, 0, .8), 0 10px 26px -14px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

/* Dark: explicit toggle */
:root[data-theme="dark"] {
  --bg: #071219;
  --bg-alt: #0A1820;
  --surface: #0E1E26;
  --surface-2: #12252E;
  --ink: #E8F2F2;
  --ink-2: #B7C7CB;
  --muted: #8699A0;
  --line: #1A2E37;
  --line-strong: #29424D;
  --accent: #3DDBB0;
  --accent-hover: #63E6C2;
  --accent-soft: #0D2E2A;
  --on-accent: #03241C;
  --mint: #3DDBB0;
  --accent-bright: #5FE6C0;
  --status: #3DDBB0;
  --status-soft: #0D2E2A;
  --status-ink: #5FE6C0;
  --aqua: #6CCFF0;
  --band: #0C2029;
  --band-2: #112A33;
  --band-muted: #A3B8BD;
  --band-line: rgba(214, 238, 236, .11);
  --band-grad: linear-gradient(155deg, #10283A 0%, #0C1F29 48%, #0B2522 100%);
  --band-ring: rgba(95, 230, 192, .16);
  --band-highlight: rgba(95, 230, 192, .5);
  --cta-shadow: 0 40px 100px -42px rgba(43, 212, 164, .3), 0 18px 40px -20px rgba(0, 0, 0, .6);
  --em-grad: linear-gradient(100deg, #3DDBB0 0%, #7AD3F0 100%);
  --btn-primary-bg: #3DDBB0;
  --btn-primary-bg-hover: #63E6C2;
  --btn-primary-fg: #03241C;
  --btn-primary-glow: rgba(61, 219, 176, .45);
  --grid-line: rgba(190, 235, 235, .045);
  --hero-glow-a: rgba(61, 219, 176, .14);
  --hero-glow-b: rgba(108, 207, 240, .08);
  --flow-glow: rgba(61, 219, 176, .9);
  --done-disc: linear-gradient(150deg, #2BD4A4, #0C9A76);
  --logo-bg: #E8F2F2;
  --logo-z: #071219;
  --logo-dot: #17B98D;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238699A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --vessels-bg: radial-gradient(60% 60% at 50% 35%, rgba(120, 220, 210, .1), transparent 70%), linear-gradient(180deg, #11242D, #0A171D);
  --glaze-bg: linear-gradient(180deg, #11242D, #0A171D);
  --shadow-sm: inset 0 1px 0 rgba(255, 255, 255, .025), 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 30px -14px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 34px 80px -30px rgba(0, 0, 0, .8), 0 10px 26px -14px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }   /* components that set display must still hide */
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; }
/* Typographic defaults (zero specificity, components can override): headings
   break into even lines, body copy avoids a lone word on its last line */
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p, li, dd, figcaption, blockquote) { text-wrap: pretty; }
/* Zero specificity, so component classes can set their own list padding */
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { position: relative; padding-block: clamp(80px, 10vw, 144px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.section--tint {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

/* Dark feature band: navy-to-spruce panel, mint highlight on the top edge */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(8px, 1.4vw, 20px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, transparent 6%, var(--band-highlight) 50%, transparent 94%) top center / 100% 1px no-repeat,
    var(--band-grad);
  background-color: var(--band);
  box-shadow: inset 0 0 0 1px var(--band-ring);
  color: var(--band-muted);
}
.band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% -18% auto auto;
  width: 70%;
  height: 95%;
  background: radial-gradient(closest-side, rgba(43, 212, 164, .2), rgba(43, 212, 164, .05) 55%, transparent);
  pointer-events: none;
}
.band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto auto -45% -15%;
  width: 60%;
  height: 85%;
  background: radial-gradient(closest-side, rgba(108, 207, 240, .13), transparent);
  pointer-events: none;
}
.band h2, .band h3, .band strong, .band b { color: var(--band-ink); }
.band .lead { color: var(--band-muted); }
/* A band next to a full-bleed tinted section floats as its own panel instead of
   butting its rounded corners against the tint's edge */
.section--tint + .band { margin-top: clamp(24px, 3vw, 40px); }
.band + .section--tint { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 639px) {
  /* Phones: the band lines up with the cards and the closing CTA panel (edges on
     the page gutter, content inset like the CTA) instead of jutting 8px past them */
  .band { margin-inline: var(--gutter); }
  .band > .container { padding-inline: clamp(24px, 6vw, 96px); }
  /* The inset band's content is ~10% narrower, so its tool chips step down a
     size to keep the same number per line */
  .band .chip { font-size: .82rem; }
}

/* Two-column splits: top-aligned by default; media splits opt into centring */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--center { align-items: center; }
  /* Heading column + text column: the text starts on the headline's first line */
  .split > :first-child:has(> .eyebrow:first-child) + :is(.prose, .lead, .checklist, :has(> .lead:first-child)) { padding-top: 34px; }
}

/* ==========================================================================
   4. Typography
   ========================================================================== */
.display {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 1rem + 4.6vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 1.2rem + 3.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* Accent words: upright gradient text. The solid colour is declared first and
   the transparent fill only applies where background-clip:text is supported,
   so the words can never disappear. */
.display em, .h1 em, .h2 em, .lesson h3 em, .cta__title em, .quote em {
  font-style: normal;
  color: var(--accent);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.band .h1 em, .band .h2 em, .band .quote em, .cta__title em { color: var(--accent-bright); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .display em, .h1 em, .h2 em, .lesson h3 em, .cta__title em, .quote em {
    background-image: var(--em-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .band .h1 em, .band .h2 em, .band .quote em, .cta__title em { background-image: var(--em-grad-band); }
}

.lead {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}
.muted { color: var(--muted); }

/* Eyebrows: Manrope small caps in evergreen, led by a short gradient rule */
/* Block-level flex (not inline-flex) so no line-box strut pushes the label down:
   its top edge is the column's top edge, which keeps two-column rows aligned. */
.eyebrow {
  display: flex;
  width: fit-content;
  align-items: flex-start;
  gap: .75em;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.125rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 18px;
  height: 2px;
  margin-top: 8px;           /* centred on the first line, also when a label wraps */
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
}
.band .eyebrow, .eyebrow--light { color: var(--accent-bright); }
.band .eyebrow::before, .eyebrow--light::before { background: linear-gradient(90deg, var(--accent-bright), var(--aqua-bright)); }

/* Pill eyebrow: hero and closing CTA */
.hero__title .eyebrow,
.cta .eyebrow {
  justify-self: start;
  gap: .7em;
  padding: 7px 15px 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 75%, transparent);
  font-size: .72rem;
  letter-spacing: .11em;
}
.hero__title .eyebrow::before,
.cta .eyebrow::before {
  width: 7px;
  height: 7px;
  margin-top: 5.5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent);
}
.section-head--center .eyebrow { margin-inline: auto; }
.cta .eyebrow {
  margin-inline: auto;
  border-color: rgba(95, 230, 192, .28);
  background: rgba(95, 230, 192, .08);
}
.cta .eyebrow::before { background: var(--accent-bright); }
@media (max-width: 419px) {
  /* Keep the hero pill on one line on small phones */
  .hero__title .eyebrow { font-size: clamp(.58rem, 2.9vw, .72rem); letter-spacing: .07em; }
}

.prose p { text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose a:not(.btn) { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.band .prose a:not(.btn) { color: var(--accent-bright); }

/* ==========================================================================
   5. Section heads
   ========================================================================== */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
/* One eyebrow-to-headline gap everywhere: section heads, split columns, bands */
.eyebrow + .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: grid; gap: 20px; }
.section-head--split .lead { margin-top: 0; }
@media (min-width: 960px) {
  /* Lead starts on the headline's first line (eyebrow 18px + 16px gap) */
  .section-head--split { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 64px; }
  .section-head--split > .lead { padding-top: 34px; }
}

/* ==========================================================================
   6. Buttons & links
   ========================================================================== */
.btn {
  --btn-bg: var(--btn-primary-bg);
  --btn-fg: var(--btn-primary-fg);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.4em;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary,
.btn--accent {
  --btn-bg: var(--btn-primary-bg);
  --btn-fg: var(--btn-primary-fg);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(11, 29, 38, .12), 0 10px 22px -12px var(--btn-primary-glow);
}
.btn--primary:hover,
.btn--accent:hover {
  --btn-bg: var(--btn-primary-bg-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 2px 4px rgba(11, 29, 38, .12), 0 16px 30px -14px var(--btn-primary-glow);
}

.btn--ghost {
  --btn-bg: color-mix(in srgb, var(--surface) 72%, transparent);
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--surface);
  --btn-border: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
  box-shadow: var(--shadow-sm);
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, .04);
  --btn-fg: var(--band-ink);
  --btn-border: rgba(214, 238, 236, .24);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .09); --btn-border: rgba(214, 238, 236, .42); }

/* On dark panels the action button turns mint; every panel button states its text colour */
.band .btn--accent, .band .btn--primary,
.cta .btn--accent, .cta .btn--primary {
  --btn-bg: var(--accent-bright);
  --btn-fg: var(--on-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 28px -12px rgba(43, 212, 164, .55);
}
.band .btn--accent:hover, .band .btn--primary:hover,
.cta .btn--accent:hover, .cta .btn--primary:hover { --btn-bg: #7BEDCD; }
.band .btn, .cta .btn, .prose a.btn { color: var(--btn-fg); text-decoration: none; }

.btn--sm { padding: .66em 1.05em; font-size: .88rem; }
.btn--lg { padding: .98em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding-bottom: 3px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line-strong));
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.text-link:hover { color: var(--accent); border-color: var(--accent); gap: .7em; }
.text-link .icon { width: 1em; height: 1em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   7. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled,
.nav-open .site-header {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 29, 38, .35);
}
.nav-open .site-header { background: var(--bg); box-shadow: none; }

.site-header__inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { display: block; width: 34px; height: 34px; }
.logo-mark { width: 100%; height: 100%; }
.logo-mark__bg { fill: var(--logo-bg); }
.logo-mark__z { stroke: var(--logo-z); }
.logo-mark__dot { fill: var(--logo-dot); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
@media (max-width: 380px) { .brand__name { font-size: 1rem; } }
@media (max-width: 359px) {
  .site-header__inner { gap: 10px; }
  .brand { gap: 9px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: .94rem; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
}

.nav { display: none; margin-left: auto; }
@media (min-width: 1040px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s, background-color .25s;
}
.nav__link:hover,
.nav__link[aria-current="page"],
.nav__trigger[data-active],
.nav__trigger[aria-expanded="true"] { color: var(--ink); background: var(--bg-alt); }
.nav__link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Services mega menu */
.mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(820px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mega::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}
.nav__item--dropdown.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s;
}
.mega__item:hover, .mega__item[aria-current="page"] { background: var(--bg-alt); }
.mega__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color .2s, color .2s;
}
.mega__item:hover .mega__icon { background: var(--accent); color: var(--on-accent); }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__item b { display: block; font-size: .95rem; font-weight: 650; line-height: 1.3; }
.mega__item small { display: block; margin-top: 2px; color: var(--muted); font-size: .83rem; line-height: 1.35; }
.mega__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-alt);
}
.mega__aside-text { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.mega__all {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.mega__all:hover { color: var(--accent); }
.mega__all .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.mega__all:hover .icon { transform: translateX(3px); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1040px) { .header-actions { margin-left: 8px; } }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); }
.icon-btn .icon { width: 19px; height: 19px; }

.theme-toggle .icon { grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
}

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.nav-toggle { display: grid; }
@media (min-width: 1040px) { .nav-toggle { display: none; } }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: rotate(-45deg); }

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 0 48px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s;
}
.nav-open { overflow: hidden; }
@media (min-width: 1040px) { .mobile-nav { display: none; } }
.mobile-nav__inner { display: grid; gap: 22px; }
.mobile-nav__services { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mobile-nav__services a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav__services .icon {
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-nav__main { display: grid; gap: 2px; }
.mobile-nav__main a {
  display: block;
  padding: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.mobile-nav__main a:hover { color: var(--accent); }

/* ==========================================================================
   8. Home hero
   The hero (and inner .page-hero) slides up under the transparent sticky
   header, so the grid and glows run to the top of the window with no seam.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(44% 56% at 80% 32%, var(--hero-glow-a), transparent 72%),
    radial-gradient(32% 40% at 0% 34%, var(--hero-glow-b), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
@media (max-width: 1039px) {
  /* Stacked hero: glows tuck into the corners, away from the copy */
  .hero::before {
    background:
      radial-gradient(90% 26% at 100% 0%, var(--hero-glow-a), transparent 72%),
      radial-gradient(80% 20% at 0% 58%, var(--hero-glow-b), transparent 70%);
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(80% 75% at 62% 30%, #000 15%, transparent 78%);
  mask-image: radial-gradient(80% 75% at 62% 30%, #000 15%, transparent 78%);
}
.hero__grid { display: grid; gap: clamp(56px, 7vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hero__grid { grid-template-columns: 1.12fr .88fr; } }
.hero__copy { container: hero-copy / inline-size; }
.hero__title { display: grid; gap: 24px; }
.hero__lead { margin-top: 26px; max-width: 56ch; }
.hero__actions { margin-top: 36px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 17px; height: 17px; color: var(--status); stroke-width: 2; }
/* When the three facts can't share one line, list them instead of wrapping raggedly */
@container hero-copy (max-width: 629px) {
  .hero__meta { flex-direction: column; gap: 10px; }
}

/* Visual column: workflow card with two equal status pills beneath */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  container: hero-visual / inline-size;
}
@media (min-width: 1040px) { .hero__visual { justify-self: end; } }
.hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -8% 14% 10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mint) 26%, transparent), transparent);
  filter: blur(24px);
  pointer-events: none;
}
.hero__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.float-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.float-badge .icon { width: 16px; height: 16px; color: var(--status); }
@container hero-visual (max-width: 499px) {
  /* Narrow: two equal tiles with balanced two-line labels */
  .float-badge {
    justify-content: flex-start;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: .84rem;
    white-space: normal;
    text-wrap: balance;
  }
}
@container hero-visual (max-width: 319px) {
  .hero__badges { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. Workflow card
   ========================================================================== */
.flow {
  --flow-pad-x: 6px;       /* list side padding: icons line up with the bar dots (19px) */
  --flow-pad-top: 10px;
  --flow-pad-bottom: 10px;
  --flow-step-pad: 12px;   /* step inner padding (x); 10px (y) */
  --flow-icon: 44px;
  --flow-ring: var(--surface);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 22px;
  /* Gradient border: the top edge glows mint and fades into the hairline */
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    radial-gradient(70% 110px at 50% 0%, var(--flow-glow), transparent) border-box,
    linear-gradient(var(--line), var(--line)) border-box;
  box-shadow: 0 -10px 30px -22px var(--flow-glow), var(--shadow-lg);
}
.flow__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px calc(var(--flow-pad-x) + 1px + var(--flow-step-pad));
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--mint) 22%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .74rem;
}
.flow__dots { display: inline-flex; gap: 6px; }
.flow__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.flow__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.flow__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--status-soft);
  color: var(--status-ink);
  font-weight: 600;
  white-space: nowrap;
}
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }

.flow__steps {
  position: relative;
  display: grid;
  gap: 6px;
  padding: var(--flow-pad-top) var(--flow-pad-x) var(--flow-pad-bottom);
}
/* Connector track, centred under the icon column. It paints above the row
   backgrounds and below the icon tiles (which carry a ring in the row colour). */
.flow__steps::before,
.flow__steps::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(var(--flow-pad-x) + 1px + var(--flow-step-pad) + var(--flow-icon) / 2 - 1px);
  top: calc(var(--flow-pad-top) + 1px + 10px + var(--flow-icon) / 2);
  bottom: calc(var(--flow-pad-bottom) + 1px + 10px + var(--flow-icon) / 2);
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.flow__steps::after {
  background: linear-gradient(var(--mint), var(--aqua-bright));
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
  transition: transform .7s var(--ease);
}
.flow__step {
  display: grid;
  grid-template-columns: var(--flow-icon) 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px var(--flow-step-pad);
  border: 1px solid transparent;
  border-radius: 15px;
  transition: background-color .45s var(--ease), border-color .45s;
}
.flow__icon {
  position: relative;
  z-index: 1;
  align-self: start;
  display: grid;
  place-items: center;
  width: var(--flow-icon);
  height: var(--flow-icon);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 5px var(--flow-ring);
  transition: box-shadow .45s var(--ease);
}
.flow__icon .icon { width: 20px; height: 20px; }
@container hero-visual (max-width: 420px) {
  /* Phones: a little tighter so each step title stays on one line */
  .flow { --flow-step-pad: 10px; }
  .flow__step { gap: 12px; }
  .flow .flow__text b { font-size: .92rem; }
}
@container hero-visual (max-width: 340px) {
  .flow { --flow-icon: 40px; }
  .flow__icon { border-radius: 11px; }
  .flow__step { gap: 10px; }
  .flow .flow__text b { font-size: .86rem; }
  .flow .flow__check { margin-top: 8px; }
}
.flow__text b { display: block; color: var(--ink); font-size: .97rem; font-weight: 650; line-height: 1.3; }
.flow__text small { display: block; margin-top: 2px; color: var(--muted); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; }

/* Status disc: an outlined mint ring until the step completes, then a filled disc with a tick */
.flow__check {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 10px;          /* centred on the 44px icon tile, even if a title wraps */
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid color-mix(in srgb, var(--mint) 75%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--done-tick);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.flow__check .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s, transform .45s var(--spring);
}
.flow__step.is-active {
  --flow-ring: var(--surface-2);
  background: var(--surface-2);
  border-color: var(--line);
}
.flow__step.is-active .flow__icon { box-shadow: 0 0 0 5px var(--flow-ring), 0 0 0 6px color-mix(in srgb, var(--mint) 45%, transparent); }
.flow__step.is-active .flow__check { border-color: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 18%, transparent); }
.flow__step.is-done .flow__check,
html:not(.js) .flow__check {
  border-color: transparent;
  background: var(--done-disc);
}
.flow__step.is-done .flow__check .icon,
html:not(.js) .flow__check .icon { opacity: 1; transform: none; }
html:not(.js) .flow__steps::after { transform: none; }

.flow__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px calc(var(--flow-pad-x) + 1px + var(--flow-step-pad)) 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
}
.flow__foot strong { color: var(--status-ink); font-weight: 600; }

/* ==========================================================================
   10. Marquee
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span {
  padding-inline: 24px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(1rem, .92rem + .3vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__group i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 18%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   11. Cards, bento, mini-flow
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color .3s, color .3s;
}
a.card:hover .card__icon { background: var(--accent); color: var(--on-accent); }
.card__icon .icon { width: 24px; height: 24px; }
.card__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.card__text { color: var(--ink-2); font-size: .98rem; line-height: 1.6; text-wrap: pretty; }
.card__link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: .92rem;
  font-weight: 650;
}
.card__link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a.card:hover .card__link .icon { transform: translateX(4px); }

/* Flagship dark card */
.card--ink {
  overflow: hidden;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--accent-bright) 14%, transparent);
  background:
    linear-gradient(90deg, transparent 8%, var(--band-highlight) 50%, transparent 92%) top center / 100% 1px no-repeat,
    var(--band-grad);
  background-color: var(--band);
  box-shadow: var(--shadow-md);
  color: var(--band-muted);
}
.card--ink::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -25% -55% auto;
  width: 90%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(43, 212, 164, .26), rgba(43, 212, 164, .06) 60%, transparent);
  transition: transform .8s var(--ease);
}
.card--ink::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(108, 207, 240, .12), transparent);
  pointer-events: none;
}
a.card--ink:hover { border-color: rgba(95, 230, 192, .3); }
a.card--ink:hover::before { transform: translate(-6%, -6%) scale(1.1); }
.card--ink .card__title { color: var(--band-ink); }
.card--ink .card__text { color: var(--band-muted); }
.card--ink .card__link { color: var(--accent-bright); }
.card--ink .card__icon {
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(214, 238, 236, .1);
  color: var(--accent-bright);
}
a.card--ink:hover .card__icon { background: var(--accent-bright); color: var(--on-bright); }
.card--ink .card__title--xl {
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.card__tag {
  align-self: flex-start;
  padding: 5px 11px;
  border: 1px solid rgba(95, 230, 192, .28);
  border-radius: 999px;
  background: rgba(43, 212, 164, .12);
  color: var(--accent-bright);
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card__checks { margin-top: 10px; gap: 12px 24px; }
@media (min-width: 520px) { .card__checks { grid-template-columns: 1fr 1fr; } }
.card--ink .checklist li { color: var(--band-ink); font-size: .95rem; }

.card--accent {
  border-color: color-mix(in srgb, var(--accent) 16%, transparent);
  background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 45%, var(--surface)));
}
.card--accent .card__icon { background: var(--surface); }

/* Bento grid */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.bento > * { grid-column: span 12; }
@media (min-width: 700px) {
  .bento > * { grid-column: span 6; }
  .bento > .bento__feature { grid-column: span 12; }
}
@media (min-width: 1040px) {
  .bento > * { grid-column: span 4; }
  .bento > .bento__feature { grid-column: span 7; grid-row: span 2; }
  .bento > .bento__side { grid-column: span 5; }
}
.bento__feature { container: feature / inline-size; }

/* Mini flow inside the feature card: one row of chips with dashed connectors */
.mini-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-block: 18px 8px;
}
.mini-flow__node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--band-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--band-ink);
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.2;
  white-space: nowrap;
}
.mini-flow__node .icon { width: 14px; height: 14px; color: var(--accent-bright); }
.mini-flow__line {
  flex: none;
  width: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-bright) 0 4px, transparent 4px 8px);
  background-size: 16px 2px;
  opacity: .8;
  animation: dash 1.2s linear infinite;
}
@keyframes dash { to { background-position: 16px 0; } }
/* Narrow card: the chips would wrap and leave connectors dangling, so the flow
   becomes a single-row stepper (icon tile over label, connectors between tiles). */
@container feature (max-width: 560px) {
  .mini-flow {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: start;
    gap: 0;
  }
  .mini-flow__node {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-size: .7rem;
  }
  .mini-flow__node .icon {
    width: 36px;
    height: 36px;
    padding: 10px;
    border: 1px solid var(--band-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, .05);
  }
  .mini-flow__line { width: auto; min-width: 8px; margin: 17px 6px 0; }
}

/* ==========================================================================
   12. Swap list (before -> after)
   ========================================================================== */
.swap-list { display: grid; }
.swap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-block: 22px;
  border-top: 1px solid var(--band-line);
}
.swap:last-child { border-bottom: 1px solid var(--band-line); }
@media (min-width: 720px) {
  .swap { grid-template-columns: 1fr 44px 1.15fr; align-items: center; gap: 18px; }
}
.swap__from {
  color: var(--band-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(166, 188, 192, .55);
  text-decoration-thickness: 1.5px;
}
.swap__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(43, 212, 164, .13);
  box-shadow: inset 0 0 0 1px rgba(95, 230, 192, .22);
  color: var(--accent-bright);
}
.swap__arrow .icon { width: 16px; height: 16px; }
@media (max-width: 719px) { .swap__arrow { width: 28px; height: 28px; transform: rotate(90deg); } }
.swap__to { color: var(--band-ink); font-weight: 600; }
/* Even two-line items: no lone struck-through word on the second line */
.swap__from, .swap__to { text-wrap: balance; }

/* ==========================================================================
   13. Chips
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .5em .95em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
}
.chip .icon { width: 15px; height: 15px; color: var(--accent); }
.band .chip { border-color: var(--band-line); background: rgba(255, 255, 255, .04); color: var(--band-ink); }
/* A chip list given its own column becomes an aligned grid rather than a ragged cloud */
.split > .chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.split > .chips .chip { padding: .72em .9em; border-radius: 14px; font-size: .86rem; }
@media (min-width: 560px) { .split > .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band .chip .icon { color: var(--accent-bright); }
/* Tool lists on wide screens: an even grid of equal chips (--cols divides the
   item count, so every row is full) instead of a cloud with a lone last chip */
@media (min-width: 1040px) {
  .chips--grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
  .chips--grid .chip { justify-content: center; padding-inline: .7em; text-align: center; }
}

/* Small caps labels share one voice */
.chips-label,
.footer-title,
.glance__title,
.aside-card h2,
.lesson__kicker,
.recipe__label {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.chips-label { display: block; margin-bottom: 16px; color: var(--muted); }
.band .chips-label { color: var(--band-muted); }

/* ==========================================================================
   14. Feature grid (hairline), card grids, note
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--surface);
  transition: background-color .3s;
}
.feature:hover { background: var(--surface-2); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.feature p { font-size: .98rem; line-height: 1.6; text-wrap: pretty; }

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

.note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 60%, var(--surface)), var(--surface) 60%);
  color: var(--ink-2);
  font-size: .98rem;
}
.note > .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--accent); }
.note strong { color: var(--ink); }
.note p { text-wrap: pretty; }

/* ==========================================================================
   15. More-ways grid
   ========================================================================== */
.more-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
}
/* No column gap: each row's hairlines meet in one unbroken rule, like the top
   rule; the 40px gutter between items comes from their end padding instead */
@media (min-width: 680px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); column-gap: 0; }
  .more-item { padding-inline-end: 40px; }
}
@media (min-width: 1040px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-item {
  display: flex;
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.more-item__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color .3s, color .3s;
}
.more-item:hover .more-item__icon { background: var(--accent); color: var(--on-accent); }
.more-item__icon .icon { width: 19px; height: 19px; }
.more-item h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.more-item p { margin-top: 4px; color: var(--ink-2); font-size: .95rem; line-height: 1.55; text-wrap: pretty; }

/* ==========================================================================
   16. Principles
   ========================================================================== */
.principles { display: grid; gap: 14px; }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.principle > .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.principle h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* Balanced rather than pretty: short card copy in narrow columns otherwise
   strands a long last word ("condescension.") that pretty leaves alone */
.principle p { font-size: .95rem; line-height: 1.55; text-wrap: balance; }

/* ==========================================================================
   17. Steps — four identical columns: gradient numeral, tick on the top rule
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 30px 28px 34px 0;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 1040px) { .step + .step { padding-left: 28px; border-left: 1px solid var(--line); } }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  width: max-content;
  margin-bottom: 18px;
  padding-right: .06em;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 1.3vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .step::before {
    background-image: var(--em-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .band .step::before { background-image: var(--em-grad-band); }
}
.step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: var(--em-grad);
}
@media (min-width: 1040px) { .step + .step::after { left: 28px; } }
.step h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.step p { font-size: .98rem; line-height: 1.6; text-wrap: pretty; }
.band .step { border-top-color: var(--band-line); }
.band .step + .step { border-left-color: var(--band-line); }
.band .step::before { color: var(--accent-bright); }
.band .step::after { background: var(--em-grad-band); }
.band .step h3 { color: var(--band-ink); }
.band .step p { color: var(--band-muted); }

/* ==========================================================================
   18. Checklist — mint ticks mean "done"
   ========================================================================== */
.checklist { display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 32px; line-height: 1.5; text-wrap: balance; }   /* short items: even lines, no stranded "improvements" */
.checklist li::before,
.checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: .1em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
}
.checklist li::before { background: var(--status-soft); }
.checklist li::after {
  background: var(--status);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.band .checklist li, .card--ink .checklist li { color: var(--band-ink); }
.band .checklist li::before, .card--ink .checklist li::before { background: rgba(43, 212, 164, .16); }
.band .checklist li::after, .card--ink .checklist li::after { background: var(--accent-bright); }

/* ==========================================================================
   19. Page hero (inner pages), breadcrumbs, glance card
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
  padding-bottom: clamp(64px, 8vw, 112px);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10% -10% auto auto;
  width: 60%;
  height: 110%;
  background: radial-gradient(closest-side, var(--hero-glow-a), transparent);
  pointer-events: none;
}
@media (max-width: 999px) {
  /* Narrow: the glow tucks into the top corner instead of streaking behind the title */
  .page-hero::before { inset: -140px -45% auto auto; width: 130%; height: 420px; }
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 10%, #000 10%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 85% 10%, #000 10%, transparent 75%);
  pointer-events: none;
}
.page-hero__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.3fr .7fr; } }
.page-hero__title { display: grid; gap: 22px; }
.page-hero .lead { margin-top: 26px; }
.page-hero .actions { margin-top: 36px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--ink); }

.glance {
  position: relative;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    radial-gradient(70% 90px at 50% 0%, var(--flow-glow), transparent) border-box,
    linear-gradient(var(--line), var(--line)) border-box;
  box-shadow: var(--shadow-lg);
}
.glance__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--accent);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 24px -12px var(--btn-primary-glow);
  color: var(--on-accent);
}
.glance__icon .icon { width: 26px; height: 26px; }
.glance__title { margin-bottom: 18px; color: var(--muted); }
.glance .checklist li { color: var(--ink); font-size: .98rem; }

/* ==========================================================================
   20. Recipe cards (inside a band)
   ========================================================================== */
.recipe {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.recipe__label { color: var(--accent-bright); }
.recipe h3 {
  color: var(--band-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.recipe__steps { display: grid; counter-reset: r; }
.recipe__steps li {
  position: relative;
  padding: 10px 0 10px 40px;
  color: var(--band-ink);
  font-size: .95rem;
  line-height: 1.45;
  text-wrap: balance;
}
.recipe__steps li::before {
  counter-increment: r;
  content: counter(r);
  position: absolute;
  left: 0;
  top: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--band-line);
  border-radius: 50%;
  background: var(--band-2);
  color: var(--band-muted);
  font-family: var(--font-mono);
  font-size: .72rem;
}
.recipe__steps li:first-child::before { border-color: var(--accent-bright); background: var(--accent-bright); color: var(--on-bright); }
.recipe__steps li + li::after {
  content: "";
  position: absolute;
  left: 12.5px;
  top: -10px;
  width: 1px;
  height: 18px;
  background: var(--band-line);
}

/* ==========================================================================
   21. Calculator & range inputs
   ========================================================================== */
.calc {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .calc { grid-template-columns: 1.15fr .85fr; } }
.calc__inputs { display: grid; gap: 28px; padding: clamp(26px, 4vw, 48px); }
.calc__field { display: grid; gap: 12px; }
.calc__label { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-size: .98rem; font-weight: 600; }
.calc__label output {
  flex: none;
  align-self: start;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
}
.calc__money { display: flex; align-items: center; gap: 8px; }
.calc__money span { color: var(--muted); font-family: var(--font-mono); }
.calc__money input { max-width: 160px; }
.calc__result {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: clamp(26px, 4vw, 48px);
  background: var(--band-grad);
  background-color: var(--band);
  color: var(--band-muted);
}
.calc__result::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -30% -40% auto;
  width: 100%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(43, 212, 164, .26), transparent);
}
.calc__result p { font-size: .95rem; }
.calc__big {
  display: block;
  margin-bottom: 18px;
  color: var(--band-ink);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.calc__big--accent { color: var(--accent-bright); }
.calc__fine { margin-top: 8px; font-size: .82rem !important; opacity: .85; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 8px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--line) var(--fill, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow-md);
  transition: transform .2s var(--spring);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--surface);
}

/* ==========================================================================
   22. 3-2-1 rule tiles (inside a band)
   ========================================================================== */
.rule { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rule { grid-template-columns: repeat(3, 1fr); } }
.rule__tile {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.rule__num {
  display: block;
  width: max-content;
  padding-right: .06em;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: clamp(4rem, 3.2rem + 3vw, 6.25rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.06em;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .rule__num {
    background-image: var(--em-grad-band);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.rule__tile h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.rule__tile p { margin-top: 6px; font-size: .97rem; text-wrap: pretty; }
.rule__plus {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px dashed rgba(95, 230, 192, .38);
  border-radius: var(--radius);
  color: var(--band-ink);
}
.rule__plus > .icon { width: 22px; height: 22px; color: var(--accent-bright); }

/* ==========================================================================
   23. Report mock (financials)
   ========================================================================== */
.report {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.report__head b { color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.report__head span { color: var(--muted); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.report__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.report__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));   /* lifts off the card in both themes */
  transform-origin: bottom;
}
.report__bars i:nth-last-child(-n+3) { background: color-mix(in srgb, var(--mint) 34%, var(--surface)); }
.report__bars i:last-child { background: linear-gradient(180deg, var(--mint), var(--accent)); }
.js .report.is-visible .report__bars i { animation: grow 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes grow { from { transform: scaleY(0); } }
.report__rows { display: grid; margin-top: 8px; }
.report__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .95rem;
}
.report__rows li:last-child { border-bottom: 0; }
.report__rows .meter {
  flex: none;
  width: 38%;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 9%, var(--surface));
}
.report__rows .meter::after { content: ""; display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--accent); }
.report__rows .meter--accent::after { background: var(--aqua); }

/* ==========================================================================
   24. Before / after
   ========================================================================== */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
}
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__before .ba__img { filter: brightness(.76) contrast(.84) saturate(.4); }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(7, 18, 25, .1);
  pointer-events: none;
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7461' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 4px rgba(43, 212, 164, .35), 0 8px 24px rgba(7, 18, 25, .3);
}
.ba__range:focus-visible ~ .ba__handle::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba__label {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 18, 25, .72);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ba__label--before { left: 18px; }
.ba__label--after { right: 18px; background: rgba(10, 116, 97, .85); }
.ba-caption { margin-top: 16px; color: var(--muted); font-size: .9rem; text-align: center; }

/* ==========================================================================
   25. FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--ink);
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* Two even lines rather than a lone last word beside the +/- button */
.faq__item summary > span:first-child { text-wrap: balance; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item summary:hover .faq__icon { border-color: var(--accent); color: var(--accent); }
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.faq__a { max-width: 72ch; padding: 0 60px 26px 0; color: var(--ink-2); line-height: 1.7; }
.faq__a a { color: var(--accent); }

/* ==========================================================================
   26. CTA panel
   ========================================================================== */
.section--cta { padding-top: 0; }
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 96px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, transparent 6%, var(--band-highlight) 50%, transparent 94%) top center / 100% 1px no-repeat,
    var(--band-grad);
  background-color: var(--band);
  box-shadow: inset 0 0 0 1px var(--band-ring), var(--cta-shadow);
  color: var(--band-muted);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(214, 238, 236, .05) 1px, transparent 1px) 50% 0 / 48px 48px,
    linear-gradient(90deg, rgba(214, 238, 236, .05) 1px, transparent 1px) 50% 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 10%, transparent 75%);
}
.cta__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -75%;
  width: 120%;
  height: 130%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(43, 212, 164, .34), rgba(108, 207, 240, .08) 60%, transparent);
  animation: glow 9s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; } 50% { transform: translateX(-50%) scale(1.08); opacity: 1; } }
.cta__title {
  max-width: 19ch;
  margin: 22px auto 0;
  color: var(--band-ink);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.9rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.cta__text { max-width: 58ch; margin: 24px auto 0; font-size: 1.06rem; font-weight: 500; text-wrap: pretty; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ==========================================================================
   27. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, transparent 40%, var(--footer-end) 100%);
}
.footer-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr .8fr 1fr; } }
.footer-brand { display: grid; gap: 22px; justify-items: start; align-content: start; max-width: 380px; }
.footer-brand p { font-size: .98rem; }
.footer-title { margin-bottom: 18px; color: var(--muted); }
.footer-col ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--ink-2); font-size: .97rem; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
/* Icon facts: a self-contained list (also used in the contact aside card) */
.footer-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-facts li { display: flex; align-items: center; gap: 10px; font-size: .97rem; }
/* In the footer the fact rows share the link columns' 40px pitch (29px row + 11px gap) */
.footer-col .footer-facts { gap: 11px; }
.footer-col .footer-facts li { min-height: 29px; }
.footer-facts .icon { width: 18px; height: 18px; color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 64px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.footer-made { color: var(--muted); font-size: .88rem; font-weight: 600; }
.footer-top { color: var(--ink); font-weight: 650; text-decoration: none; }
.footer-top:hover { color: var(--accent); }
/* Wide screens: three tracks with equal side columns, so the tagline sits on
   the page axis above the centred wordmark (space-between pushed it ~108px
   right). Narrower widths keep the wrapping row / phone stack. */
@media (min-width: 1000px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
  }
  .footer-made { justify-self: center; text-align: center; }
  .footer-top { justify-self: end; }
}
/* Watermark: Sora 700, sized to the viewport; the bottom padding keeps the
   descender of the "g" whole inside the clipped background. */
.footer-wordmark {
  margin-top: 16px;
  padding-bottom: .24em;
  color: transparent;
  font-family: var(--font-display);
  /* Spans the content column (gutter to gutter) at every width: the
     wordmark is ~8.9em wide, capped at the 1240px container */
  font-size: min(calc((100vw - 2 * var(--gutter)) / 8.95), 138px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, var(--line-strong)) 10%, color-mix(in srgb, var(--accent) 10%, transparent) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   28. Forms
   ========================================================================== */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field__label, .fieldset__legend { color: var(--ink); font-size: .95rem; font-weight: 650; }
.fieldset__legend { margin-bottom: 8px; padding: 0; }   /* a rendered legend skips the fieldset's grid gap; match .field's 8px */
.field__label .opt, .fieldset__legend .opt { color: var(--muted); font-weight: 500; }
.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--control-border);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
textarea.input { min-height: 170px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .choices { column-gap: 22px; } }   /* chip columns line up with the .form__row inputs above */
.choice { position: relative; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice span::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--control-border);
  border-radius: 5px;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.choice input:checked + span::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__privacy { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.form__privacy .icon { width: 16px; height: 16px; color: var(--accent); }
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 13px;
  font-size: .95rem;
}
.form-status.is-error {
  display: block;
  border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
  color: var(--ink);
}
.form-success {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid color-mix(in srgb, var(--status) 25%, transparent);
  border-radius: var(--radius-lg);
  background: var(--status-soft);
}
.form-success[hidden] { display: none; }
.contact-card .form-success { padding: 0; border: 0; background: none; }   /* the card is the frame */
.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--done-disc);
  color: var(--done-tick);
}
.form-success__icon .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.form-success h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.contact-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   29. Contact aside
   ========================================================================== */
.contact-aside { display: grid; gap: 22px; }
.next-steps { display: grid; counter-reset: ns; }
.next-steps li { position: relative; padding: 0 0 26px 50px; }
.next-steps li::before {
  counter-increment: ns;
  content: counter(ns);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
}
.next-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 36px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.next-steps b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 650; }
.next-steps p { font-size: .95rem; text-wrap: pretty; }
.aside-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.aside-card h2 { margin-bottom: 18px; color: var(--muted); }

/* ==========================================================================
   30. Services hub rows
   ========================================================================== */
.service-rows { border-top: 1px solid var(--line-strong); }
.service-row {
  display: grid;
  gap: 18px;
  padding-block: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
@media (max-width: 899px) {
  /* Stacked: number and arrow share the first line, content spans below */
  .service-row { grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; }
  .service-row > div, .service-row > .chips { grid-column: 1 / -1; }
  .service-row__go { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
}
@media (min-width: 900px) {
  .service-row { grid-template-columns: 80px 1.1fr 1fr 56px; align-items: start; gap: 36px; }
}
.service-row__num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 2.2;
}
.service-row h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  transition: color .3s;
}
.service-row p { margin-top: 12px; text-wrap: pretty; }
/* Four tags as a fixed 2 x 2 grid, so every row's tag block has the same shape */
.service-row .chips { display: grid; grid-template-columns: repeat(2, minmax(max-content, 1fr)); gap: 8px; margin-top: 4px; }
.service-row .chip { justify-content: center; }
.service-row__go {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.service-row__go .icon { width: 20px; height: 20px; }
.service-row:hover h2 { color: var(--accent); }
.service-row:hover .service-row__go { border-color: var(--accent); background: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }

/* ==========================================================================
   31. About
   ========================================================================== */
.portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 55% at 30% 22%, rgba(43, 212, 164, .45), transparent 70%),
    radial-gradient(60% 50% at 82% 86%, rgba(108, 207, 240, .35), transparent 70%),
    #0B1F29;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--band-ring);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(238, 246, 245, .94);
  font-family: var(--font-display);
  font-size: clamp(6rem, 4rem + 6vw, 10rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
}
.portrait__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(214, 238, 236, .1);
  border-radius: 14px;
  background: rgba(7, 18, 25, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #EEF6F5;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 479px) {
  .portrait__caption { left: 14px; right: 14px; bottom: 14px; gap: 8px; padding: 11px 12px; font-size: .66rem; letter-spacing: .04em; }
}
@media (max-width: 359px) { .portrait__caption { flex-direction: column; gap: 2px; } }

.toolkit { display: grid; gap: 16px; }
@media (min-width: 720px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .toolkit { grid-template-columns: repeat(3, 1fr); } }
.toolkit__group {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.toolkit__group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.toolkit__group h3 .icon { width: 20px; height: 20px; color: var(--accent); }
.toolkit__group .chip { background: var(--bg); font-size: .84rem; }

.quote {
  color: var(--band-ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.band .quote { margin-top: 16px; }

/* ==========================================================================
   32. Ceramics
   ========================================================================== */
.vessels {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--vessels-bg);
  box-shadow: var(--shadow-lg);
}
.vessels img { width: 100%; height: auto; }
.glazes { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .glazes { grid-template-columns: repeat(4, 1fr); } }
.glaze {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.glaze__img {
  display: grid;
  place-items: end center;
  aspect-ratio: 5 / 6;
  background: var(--glaze-bg);
}
.glaze__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.glaze:hover .glaze__img img { transform: translateY(-6px) scale(1.03); }
.glaze__body { padding: 20px 22px 24px; }
.glaze__body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.glaze__body p { margin-top: 6px; font-size: .92rem; line-height: 1.55; }
@media (max-width: 559px) {
  /* Phones: one glaze per row, thumbnail beside the text instead of two cramped columns */
  .glazes { grid-template-columns: 1fr; gap: 12px; }
  .glaze { display: grid; grid-template-columns: 112px 1fr; }
  .glaze__img { aspect-ratio: auto; min-height: 136px; place-items: end center; }
  .glaze__body { align-self: center; padding: 18px 18px 18px 16px; }
}
.lessons { display: grid; gap: 16px; }
@media (min-width: 900px) { .lessons { grid-template-columns: repeat(3, 1fr); } }
.lesson {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.lesson__kicker { color: var(--muted); }
.lesson h3 {
  margin-block: 14px 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

/* ==========================================================================
   33. 404
   ========================================================================== */
.notfound { min-height: 62vh; display: grid; align-items: center; text-align: center; }
.notfound .display {
  width: max-content;
  margin-inline: auto;
  padding-right: .04em;
  color: var(--accent);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .notfound .display {
    background-image: var(--em-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.notfound .h2 { margin-top: 12px; }
.notfound .lead { margin: 22px auto 0; }
.notfound .actions { justify-content: center; margin-top: 36px; }

/* ==========================================================================
   34. Utilities
   ========================================================================== */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 22px; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.mt-md { margin-top: 32px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }   /* keeps a hyphenated compound (off-site, pop-ups) on one line */
.divider { height: 1px; margin: 0; border: 0; background: var(--line); }
.kicker-list { display: grid; gap: 14px; }

/* ==========================================================================
   35. Reveal on scroll, phones, reduced motion, print
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Phones: stacked, full-width, equal-height buttons; tidy single-column lists */
@media (max-width: 639px) {
  .actions,
  .cta__actions { flex-direction: column; align-items: stretch; }
  .actions > .btn,
  .cta__actions > .btn,
  .prose .btn,
  .form__foot .btn,
  .form-success .btn { width: 100%; }
  .btn { white-space: normal; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .form__privacy { justify-content: center; }
  .faq__a { padding-right: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  /* The workflow card renders straight into its finished state (main.js marks every step done) */
  .flow__step, .flow__icon, .flow__check, .flow__check .icon, .flow__steps::after { transition: none !important; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .section--cta { display: none !important; }
  html, body { background: #FFFFFF; color: #000000; }
}
