/* ==========================================================================
   QuietLoop Design System
   Tokens mirrored from the reference UI in /NEW UI  (Outseta, Webflow export)
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Layout
   5.  Buttons
   6.  Badges & pills
   7.  Navbar
   8.  Marquee
   9.  Cards & showcase
   10. Callouts
   11. Bento grid
   12. Before / after
   13. Accordion
   14. Filter bar & tabs
   15. Blog
   16. Team
   17. Testimonials
   18. Stats
   19. Dark sections
   20. Forms
   21. Footer
   22. Motion
   23. Responsive
   ========================================================================== */

/* ------------------------------------------------------------------ 1. Tokens */
:root {
  /* brand */
  --ink:            #020617;
  --paper:          #ffffff;
  --accent:           #047857;
  --accent-dark:      #065f46;
  --accent-light:     #6ee7b7;
  --accent-x-light:   #ecfdf5;
  --lemon:          #ffcc11;
  --lemon-light:    #ffd45e;
  --lemon-x-light:  #fffbeb;
  --purple:         #9333ea;
  --success:        #22c55e;
  --success-bg:     #dcfce7;
  --danger:         #ef4444;

  /* ink alpha ramp */
  --ink-50:   rgba(2, 6, 23, .02);
  --ink-100:  rgba(2, 6, 23, .05);
  --ink-200:  rgba(2, 6, 23, .11);
  --ink-300:  rgba(2, 6, 23, .20);
  --ink-400:  rgba(2, 6, 23, .32);
  --ink-500:  rgba(2, 6, 23, .50);
  --ink-600:  rgba(2, 6, 23, .68);
  --ink-700:  rgba(2, 6, 23, .80);
  --ink-800:  rgba(2, 6, 23, .89);
  --ink-900:  rgba(2, 6, 23, .95);

  /* paper alpha ramp */
  --paper-100: rgba(255, 255, 255, .05);
  --paper-200: rgba(255, 255, 255, .11);
  --paper-300: rgba(255, 255, 255, .20);
  --paper-400: rgba(255, 255, 255, .32);
  --paper-500: rgba(255, 255, 255, .50);
  --paper-600: rgba(255, 255, 255, .68);
  --paper-700: rgba(255, 255, 255, .80);

  /* surfaces */
  --surface:        #ffffff;
  --surface-tint:   #fafaf9;
  --surface-dark:   #0b0b0f;
  --border:         var(--ink-200);

  /* type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif:   "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-hand:    "Permanent Marker", "Comic Sans MS", cursive;

  --fs-h1:   clamp(2.75rem, 1.35rem + 6.2vw, 5rem);
  --fs-h2:   clamp(2rem,    1.28rem + 3.2vw, 3.5rem);
  --fs-h3:   clamp(1.5rem,  1.28rem + 1vw,   2rem);
  --fs-h4:   1.25rem;
  --fs-lead: clamp(1.0625rem, .95rem + .55vw, 1.5rem);
  --fs-base: 1rem;
  --fs-sm:   .875rem;
  --fs-xs:   .75rem;

  /* radii */
  --r-sm:   .375rem;
  --r-md:   .5rem;
  --r-lg:   .625rem;
  --r-xl:   .875rem;
  --r-2xl:  1.375rem;
  --r-3xl:  2rem;
  --r-full: 999px;

  /* shadows — same recipe as the reference */
  --sh-hue: 165deg 80% 5%;
  --sh-sm:  0 0 0 1px hsl(var(--sh-hue) / .11);
  --sh-md:  0 0 0 1px hsl(var(--sh-hue) / .11), 0 2px 2px 0 hsl(var(--sh-hue) / .05);
  --sh-card: 0 0 0 1px var(--ink-200), 0 2px 2px 0 hsl(var(--sh-hue) / .05);
  --sh-card-hover: 0 0 0 1px var(--ink-400), 0 2px 2px 0 hsl(var(--sh-hue) / .05);
  --sh-btn: 0 1px 2px hsl(var(--sh-hue) / .05), inset 0 10px 24px -10px rgba(255,255,255,.4);
  --sh-overlay:
    0 0 0 1px hsl(var(--sh-hue) / .11),
    0 1px 1.5px 0 hsl(var(--sh-hue) / .01),
    0 2px 3px 0 hsl(var(--sh-hue) / .02),
    0 4px 6px 0 hsl(var(--sh-hue) / .03),
    0 8px 12px 0 hsl(var(--sh-hue) / .04),
    0 16px 24px 0 hsl(var(--sh-hue) / .05),
    0 24px 36px 0 hsl(var(--sh-hue) / .06),
    0 36px 54px 0 hsl(var(--sh-hue) / .07),
    0 54px 81px 0 hsl(var(--sh-hue) / .08);
  --sh-lift:
    0 0 0 1px hsl(var(--sh-hue) / .11),
    0 2px 4px 0 hsl(var(--sh-hue) / .03),
    0 12px 20px 0 hsl(var(--sh-hue) / .06),
    0 28px 44px 0 hsl(var(--sh-hue) / .08);

  /* layout */
  --container:     84rem;
  --container-sm:  67.2rem;
  --container-xs:  50.4rem;
  --gutter:        6%;
  --gap:           2rem;
  --section-y:     clamp(4rem, 2.2rem + 6vw, 8rem);
  --section-y-sm:  clamp(2.5rem, 1.6rem + 3vw, 4rem);
  --nav-h:         4.5rem;

  --ease:      cubic-bezier(.4, 0, .2, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --t-fast:    .15s;
  --t:         .25s;
  --t-slow:    .5s;
}

/* ------------------------------------------------------- 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

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

hr { border: 0; border-top: 1px solid var(--border); margin: 0; }

::selection { background: var(--lemon); color: var(--ink); }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--r-md);
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------- 3. Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 .25em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: .98; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: .5em; }

h4, h5, h6 {
  font-family: var(--font-body);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--ink-700);
}

.lead u, .lead .mark {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: var(--ink-400);
  color: var(--ink);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: 0;
}

.muted   { color: var(--ink-600); }
.subtle  { color: var(--ink-500); }
.text-center { text-align: center; }
.text-accent   { color: var(--accent); }

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { color: var(--ink-600); font-size: 1.0625rem; }

/* ------------------------------------------------------------ 4. Layout */
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin-inline: auto;
}
.container--sm { max-width: var(--container-sm); }
.container--xs { max-width: var(--container-xs); }

.section { padding-block: var(--section-y); position: relative; }
.section--compact { padding-block: var(--section-y-sm); }
.section--tint { background: var(--surface-tint); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack   { display: flex; flex-direction: column; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cluster--center { justify-content: center; }

/* decorative backdrops */
.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.backdrop__lemon,
.backdrop__accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .85;
}
.backdrop__lemon {
  width: 46vw; height: 42vw; min-width: 320px; min-height: 320px;
  top: -16vw; left: -12vw;
  background: radial-gradient(circle, var(--lemon) 0%, rgba(255, 204, 17, 0) 68%);
}
.backdrop__accent {
  width: 52vw; height: 46vw; min-width: 340px; min-height: 320px;
  top: -6vw; right: -16vw;
  background: radial-gradient(circle, rgba(16, 185, 129, .42) 0%, rgba(16, 185, 129, 0) 68%);
}

.backdrop__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--ink-300) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 25%, transparent 75%);
  opacity: .5;
}

.above { position: relative; z-index: 1; }

/* ----------------------------------------------------------- 5. Buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.5;
  border-radius: var(--r-md);
  box-shadow: var(--sh-btn);
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease),
              filter var(--t) var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(100% 100% at 100% 0%, rgba(255,255,255,.37) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.btn:hover  { filter: brightness(.94); transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(.9); }

.btn .icon { transition: transform var(--t) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .05);
}
.btn--ghost:hover { filter: none; background: var(--ink-50); box-shadow: inset 0 0 0 1px var(--ink-300), 0 1px 2px hsl(var(--sh-hue) / .05); }

.btn--ink   { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--lemon { --btn-bg: var(--lemon); --btn-fg: var(--ink); }

.btn--lg { padding: .9375rem 1.875rem; font-size: 1.0625rem; border-radius: var(--r-lg); }
.btn--sm { padding: .4375rem 1rem; font-size: .875rem; }

.btn--icon {
  width: 2.25rem; height: 2.25rem; padding: 0;
  --btn-bg: #fff; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .05);
}
.btn--icon:hover { filter: none; background: var(--ink-50); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--ink-300);
  padding-bottom: 1px;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.link-arrow .icon { transition: transform var(--t) var(--ease); }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }

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

/* --------------------------------------------------- 6. Badges & pills */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3125rem .625rem;
  background: var(--paper-700);
  box-shadow: inset 0 0 0 1px var(--ink-200);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-700);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.badge--plain   { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-200); }
.badge--solid   { background: var(--ink); color: #fff; box-shadow: none; }
.badge--lemon   { background: var(--lemon-x-light); box-shadow: inset 0 0 0 1px rgba(255,204,17,.6); color: #7a5c00; }
.badge--success { background: var(--success-bg); box-shadow: inset 0 0 0 1px rgba(34,197,94,.35); color: #15803d; }
.badge--accent    { background: var(--accent-x-light); box-shadow: inset 0 0 0 1px rgba(4,120,87,.25); color: var(--accent-dark); }

.badge .dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--success); flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--r-full);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .04);
  font-size: .9375rem; font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink-400), 0 1px 2px hsl(var(--sh-hue) / .05); color: var(--ink); }
.chip[aria-selected="true"], .chip.is-active {
  background: var(--ink); color: #fff; box-shadow: none;
}
.chip__num {
  display: inline-grid; place-items: center;
  width: 1.375rem; height: 1.375rem;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 600;
}

/* ----------------------------------------------------------- 7. Navbar */
.nav-shell {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: 1.25rem;
  transition: padding-top var(--t) var(--ease);
}
.nav-shell.is-stuck { padding-top: .5rem; }

.navbar {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .625rem .625rem .625rem 1.25rem;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav-shell.is-stuck .navbar {
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--sh-lift);
}

.nav-brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.1875rem; font-weight: 800; letter-spacing: -.04em;
  flex: none;
}
.nav-brand svg { display: none; }
.nav-brand img { flex: none; width: 1.625rem; height: 1.625rem; object-fit: contain; }

.nav-menu {
  display: flex; align-items: center; gap: .25rem;
  margin-left: auto;
}

.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .75rem;
  border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 500;
  color: var(--ink-700);
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--ink-50); }
.nav-link.is-current { color: var(--ink); font-weight: 600; }

.nav-link .chev { width: .7rem; height: .7rem; transition: transform var(--t) var(--ease); opacity: .55; }

.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex: none; }
.nav-menu + .nav-actions { margin-left: 1.5rem; }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop__panel {
  position: absolute; top: calc(100% + .75rem); left: 50%;
  transform: translate(-50%, .5rem);
  min-width: 30rem;
  padding: .75rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-overlay);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out), visibility var(--t);
}
.nav-drop:hover .nav-drop__panel,
.nav-drop.is-open .nav-drop__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-drop:hover .chev, .nav-drop.is-open .chev { transform: rotate(180deg); }

.nav-drop__link {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .625rem .75rem;
  border-radius: var(--r-md);
  transition: background-color var(--t) var(--ease);
}
.nav-drop__link:hover { background: var(--ink-50); }
.nav-drop__icon {
  display: grid; place-items: center;
  width: 2rem; height: 2rem; flex: none;
  border-radius: var(--r-md);
  background: var(--ink-100);
  font-size: .95rem;
}
.nav-drop__title { font-size: .9375rem; font-weight: 600; letter-spacing: -.015em; }
.nav-drop__desc  { font-size: .8125rem; color: var(--ink-500); line-height: 1.35; }

/* mobile */
.nav-toggle {
  display: none;
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--ink-200);
  border-radius: 50%;
  background: transparent;
}
.nav-toggle:hover { background: var(--ink-50); }
.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.05rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, calc(-50% - .3rem));
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav-toggle span + span { margin-top: 0; }
.nav-toggle span:nth-child(2) { transform: translate(-50%, -50%); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + .3rem)); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translate(-50%, -50%) scaleX(.5); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-mobile {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin: .5rem auto 0;
  padding: .5rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-overlay);
  display: none;
  overflow: hidden;
}
.nav-mobile.is-open { display: block; animation: drop-in .28s var(--ease-out); }
.nav-mobile a {
  display: block; padding: .8125rem 1rem;
  border-radius: var(--r-md);
  font-weight: 500;
}
.nav-mobile a:hover { background: var(--ink-50); }
.nav-mobile .btn { display: flex; margin-top: .5rem; }

@keyframes drop-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }

/* announcement pill under the nav */
.nav-note {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin: .5rem auto 0;
  display: flex; justify-content: flex-end;
}
.nav-note__inner {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .875rem;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  font-size: .8125rem; color: var(--ink-600);
  overflow: hidden;
  height: 2.25rem;
}
.nav-note__rotator { position: relative; height: 1.25rem; overflow: hidden; }
.nav-note__rotator span {
  display: block; height: 1.25rem; line-height: 1.25rem;
  font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-note__track { transition: transform .6s var(--ease-out); }

/* --------------------------------------------------------- 8. Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: .625rem; padding-right: .625rem; flex: none; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------ 9. Cards & showcase */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-overlay);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.card:hover { transform: translateY(-4px); }

.card__media {
  position: relative;
  padding: 1.25rem 1.25rem 0;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--ink-200);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 -1px 0 0 var(--ink-200), 0 0 0 1px var(--ink-100);
  transition: transform .6s var(--ease-out);
}
.card__media--live {
  padding: .75rem .75rem 0;
  background: linear-gradient(145deg, var(--surface-tint), #fff 68%);
}
.card__media--live img {
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 0 0 1px rgba(2, 6, 23, .08), 0 12px 28px rgba(2, 6, 23, .12);
}
.card:hover .card__media img { transform: scale(1.035) rotate(-.5deg); }

.card__corner {
  position: absolute; top: .875rem; right: .875rem;
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translate(-.35rem, .35rem);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.card:hover .card__corner { opacity: 1; transform: translate(0, 0); }

.card__body { padding: 1.125rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .875rem; }

.card__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.card__brand { display: inline-flex; align-items: center; gap: .5rem; }
.card__brand img { height: 1.375rem; width: auto; max-width: 8.5rem; object-fit: contain; }
.card__brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.03em; }
.card__brand.is-wordmark .card__brand-name { display: none; }

.card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-500);
  padding-top: .875rem;
  border-top: 1px solid var(--ink-200);
}
.card__meta strong { color: var(--ink); font-weight: 600; }

.card__link { position: absolute; inset: 0; z-index: 2; }

/* avatar stack */
.avatars { display: flex; }
.avatars img {
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff;
  transition: transform var(--t) var(--ease);
}
.avatars img + img { margin-left: -.5rem; }
.avatars img:hover { transform: translateY(-2px) scale(1.08); z-index: 1; }

/* tooltip */
.tip { position: relative; display: inline-flex; }
.tip__bubble {
  position: absolute; bottom: calc(100% + .5rem); left: 50%;
  transform: translate(-50%, .25rem);
  padding: .3125rem .5rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-sm);
  font-size: .75rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.tip__bubble::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: var(--ink);
}
.tip:hover .tip__bubble { opacity: 1; transform: translate(-50%, 0); }

/* showcase row under the hero */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.showcase__col {
  position: relative;
  isolation: isolate;
}
.showcase__col:nth-child(1) { --card-accent: #b56f21; }
.showcase__col:nth-child(2) { --card-accent: #2f5fd7; }
.showcase__col:nth-child(3) { --card-accent: #a56b16; }
.showcase__col::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.5rem;
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: calc(var(--r-2xl) + .5rem);
  background: rgba(2, 6, 23, .025);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: var(--sh-sm);
  pointer-events: none;
}
.showcase .card {
  overflow: visible;
  transition: box-shadow .2s ease-in-out, border-color .2s ease-in-out;
}
.showcase .card:hover,
.showcase .card:focus-within {
  transform: none;
  box-shadow: var(--sh-overlay);
}
.showcase .card__media {
  overflow: visible;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.showcase .card__body {
  position: relative;
  z-index: 0;
  min-height: 7.5rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.showcase .card__brand { min-width: 0; }
.showcase .card__brand img {
  height: 2.25rem;
  max-width: 12rem;
}
.showcase .card .card__corner {
  z-index: 3;
  width: 1.75rem;
  height: 1.75rem;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: opacity .4s cubic-bezier(.165, .84, .44, 1),
              transform .4s cubic-bezier(.165, .84, .44, 1);
}
.showcase .card:hover .card__corner,
.showcase .card:focus-within .card__corner {
  opacity: 1;
  transform: translate(.5rem, -.5rem);
}
.showcase .card__media--live { padding: 1rem 1rem .75rem; }
.showcase .pshots { display: flex; justify-content: center; }
.showcase .pshots__nav { display: none; }
.showcase .pshots__stage {
  z-index: 1;
  width: 90%;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgba(2, 6, 23, .08), 0 14px 28px rgba(2, 6, 23, .14);
  transform: rotate(0deg) scale(1);
  transform-origin: center;
  will-change: transform;
  transition: transform .4s cubic-bezier(.165, .84, .44, 1);
}
.showcase .card:hover .pshots__stage,
.showcase .card:focus-within .pshots__stage {
  transform: rotate(5deg) scale(1.15);
}
.showcase .card__meta { min-height: 2.25rem; }

/* ------------------------------------------------------- 10. Callouts */
.callout {
  position: absolute; top: -6rem; z-index: 2;
  display: flex; align-items: flex-end; gap: .25rem;
  color: var(--card-accent, var(--accent));
  pointer-events: none;
}
.callout--left  { left: -1rem; }
.callout--right { right: -1rem; flex-direction: row-reverse; }

.callout__text {
  font-family: var(--font-hand);
  font-size: clamp(1rem, .9rem + .3vw, 1.1875rem);
  line-height: 1.08;
  letter-spacing: .015em;
  color: inherit;
  text-align: center;
  max-width: 12rem;
  text-wrap: balance;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9));
}
.callout--left  .callout__text { transform: rotate(-7deg); }
.callout--right .callout__text { transform: rotate(6deg); }

.callout__arrow { width: 2.1rem; height: 3.25rem; color: inherit; flex: none; }
.callout--right .callout__arrow { transform: scaleX(-1); }

.squiggle { position: absolute; color: var(--accent); pointer-events: none; opacity: .9; }

/* ----------------------------------------------------- 11. Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bento__cell {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.bento__cell:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.bento__cell--wide { grid-column: span 2; }

.bento__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.bento__title { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.bento__arrow { color: var(--ink-400); transition: transform var(--t) var(--ease), color var(--t) var(--ease); flex: none; }
.bento__cell:hover .bento__arrow { transform: translate(2px, -2px); color: var(--ink); }
.bento__copy { font-size: .9375rem; color: var(--ink-600); line-height: 1.55; margin: 0; }
.bento__mock { margin-top: auto; }

/* mini UI mocks inside bento cells */
.mock { display: flex; flex-direction: column; gap: .375rem; }
.mock__row {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .625rem;
  background: var(--surface-tint);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  font-size: .8125rem;
}
.mock__row .grow { flex: 1; min-width: 0; }
.mock__label { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__sub { font-size: .75rem; color: var(--ink-500); }
.mock__ico { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: var(--r-sm); background: var(--ink-100); flex: none; font-size: .75rem; }

.meter { height: .375rem; border-radius: var(--r-full); background: var(--ink-100); overflow: hidden; }
.meter__fill { height: 100%; border-radius: inherit; background: var(--ink); width: 0; transition: width 1.2s var(--ease-out); }
.meter__fill--accent  { background: var(--accent); }
.meter__fill--lemon { background: var(--lemon); }

.spark { width: 100%; height: 3rem; }
.spark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-revealed .spark path { animation: draw 1.4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* -------------------------------------------------- 12. Before / after */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.compare__panel { display: flex; flex-direction: column; gap: 1.25rem; }
.compare__frame {
  display: grid; place-items: center;
  min-height: 9.5rem;
  background: var(--surface-tint);
  border-radius: var(--r-xl);
  padding: 1.5rem;
}
.compare__tag {
  padding: .3125rem .875rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-sm);
  font-size: .8125rem; font-weight: 500;
}
.compare__list { display: flex; flex-direction: column; gap: .625rem; }
.compare__list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; }
.compare__list .icon { margin-top: .25rem; width: 1rem; height: 1rem; }
.compare__list u { text-decoration-color: var(--ink-300); text-underline-offset: .15em; }

.tile-row { display: flex; gap: .5rem; align-items: center; }
.tile {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  background: #fff;
  box-shadow: var(--sh-md);
  font-size: 1.1rem;
}
.tile--lemon { background: var(--lemon); box-shadow: var(--sh-md), inset 0 6px 12px rgba(255,255,255,.35); }
.tile--lg { width: 3.5rem; height: 3.5rem; border-radius: var(--r-xl); font-size: 1.5rem; }

/* -------------------------------------------- 12b. Product foundation diagram */
.foundation-diagram {
  position: relative;
  min-height: 28rem;
  margin-top: clamp(2rem, 1.25rem + 2vw, 3rem);
  margin-inline: 0;
  padding: clamp(1rem, .5rem + 2vw, 2rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(16,24,40,.055) 0 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(circle at 50% 50%, rgba(80,210,190,.12), transparent 22rem),
    #fff;
  border: 1px solid var(--ink-150);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.foundation-diagram__links {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.foundation-diagram__links path {
  stroke: var(--ink-200);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
}
.foundation-diagram__links path:nth-of-type(2),
.foundation-diagram__links path:nth-of-type(7) { stroke: url(#foundation-link-gradient); stroke-width: 2; }
.foundation-diagram__signal-dots circle { fill: var(--accent); opacity: .7; }
.foundation-diagram__orbit {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 30rem;
  height: 14rem;
  border: 1px solid rgba(21,133,121,.12);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.foundation-diagram__orbit--tilt { width: 25rem; height: 18rem; border-color: rgba(37,99,235,.09); transform: translate(-50%, -50%) rotate(28deg); }
.foundation-diagram__spark { position: absolute; z-index: 1; color: var(--lemon); font-size: 1.25rem; line-height: 1; text-shadow: 0 0 18px rgba(255,204,17,.6); }
.foundation-diagram__spark--one { top: 18%; left: 41%; }
.foundation-diagram__spark--two { right: 13%; bottom: 22%; color: #80d7c8; font-size: .8rem; text-shadow: 0 0 14px rgba(128,215,200,.8); }
.foundation-diagram__core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 12rem;
  min-height: 6rem;
  padding: 1rem;
  color: #fff;
  text-align: center;
  background: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 0 0 0 7px rgba(255,255,255,.9), var(--sh-lift);
  transform: translate(-50%, -50%);
}
.foundation-diagram__core::before,
.foundation-diagram__core::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(21,133,121,.2);
  border-radius: 2rem;
  pointer-events: none;
}
.foundation-diagram__core::before { inset: -.9rem; }
.foundation-diagram__core::after { inset: -1.7rem; border-color: rgba(21,133,121,.1); }
.foundation-diagram__core-dot {
  position: absolute;
  top: .75rem;
  right: .875rem;
  width: .45rem;
  height: .45rem;
  background: var(--lemon);
  border-radius: 50%;
}
.foundation-diagram__core-label { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.foundation-diagram__core-note { margin-top: .25rem; color: var(--ink-300); font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; }
.foundation-diagram__nodes {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 26rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  gap: .75rem;
}
.foundation-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: .7rem .8rem;
  color: var(--ink-700);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  box-shadow: 0 5px 18px rgba(16,24,40,.06);
  overflow: hidden;
  transform: translateY(0);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.foundation-node::before { position: absolute; top: 0; left: 1rem; width: 1.75rem; height: 2px; content: ''; background: var(--node-color, var(--accent)); opacity: .75; }
.foundation-node:hover { border-color: var(--node-color, var(--accent)); box-shadow: 0 10px 24px rgba(16,24,40,.1); transform: translateY(-3px); }
.foundation-node > span:last-child { min-width: 0; overflow-wrap: normal; word-break: normal; }
.foundation-node__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  color: var(--ink-500);
  background: var(--ink-50);
  border-radius: 50%;
}
.foundation-node__icon svg { width: .9rem; height: .9rem; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.foundation-node--strategy { grid-column: 1 / 4; grid-row: 1; }
.foundation-node--ux { grid-column: 5 / 9; grid-row: 1; }
.foundation-node--web { grid-column: 10 / 13; grid-row: 1; }
.foundation-node--mobile { grid-column: 1 / 4; grid-row: 2; }
.foundation-node--backend { grid-column: 10 / 13; grid-row: 2; }
.foundation-node--supabase { grid-column: 2 / 5; grid-row: 3; }
.foundation-node--ai { grid-column: 5 / 9; grid-row: 3; }
.foundation-node--infra { grid-column: 9 / 13; grid-row: 3; }
.foundation-node--strategy { --node-color: #0f756d; transform: rotate(-1deg); }
.foundation-node--ux { --node-color: #7252d8; transform: translateY(2px); }
.foundation-node--web { --node-color: #2563eb; transform: rotate(1deg); }
.foundation-node--mobile { --node-color: #c39a00; transform: translateY(-2px); }
.foundation-node--backend { --node-color: #b76743; transform: rotate(-1deg); }
.foundation-node--supabase { --node-color: #0f756d; transform: translateY(2px); }
.foundation-node--ai { --node-color: #c39a00; transform: rotate(-1deg); }
.foundation-node--infra { --node-color: #b76743; transform: translateY(-2px); }
.foundation-node--strategy .foundation-node__icon,
.foundation-node--supabase .foundation-node__icon { color: #0f756d; background: #e6faf6; }
.foundation-node--ux .foundation-node__icon,
.foundation-node--web .foundation-node__icon { color: #2563eb; background: #edf3ff; }
.foundation-node--mobile .foundation-node__icon,
.foundation-node--ai .foundation-node__icon { color: #9a6a00; background: #fff6cf; }
.foundation-node--backend .foundation-node__icon,
.foundation-node--infra .foundation-node__icon { color: #a95335; background: #fff0e9; }

/* ---------------------------------------------- 12c. Idea-to-production journey */
.journey-diagram {
  position: relative;
  margin-top: clamp(2rem, 1.25rem + 2vw, 3rem);
  padding: clamp(1.25rem, .75rem + 2vw, 2rem);
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,204,17,.12), transparent 18rem),
    radial-gradient(circle at 88% 78%, rgba(37,99,235,.16), transparent 20rem),
    linear-gradient(135deg, #0b0a12, #111827 55%, #0b0a12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  box-shadow: 0 18px 48px rgba(11,10,18,.16);
  overflow: hidden;
}
.journey-diagram__label { position: absolute; top: 1.25rem; right: 1.5rem; color: rgba(255,255,255,.42); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; }
.journey-diagram__path {
  position: absolute;
  top: 3.1rem;
  left: 0;
  width: 100%;
  height: 5rem;
  pointer-events: none;
}
.journey-diagram__path path {
  fill: none;
  stroke-linecap: round;
}
.journey-diagram__path-glow { stroke: #5eead4; stroke-width: 12; opacity: .12; filter: blur(5px); }
.journey-diagram__path-line { stroke: url(#journey-line-gradient); stroke-width: 2.5; stroke-dasharray: 2 8; }
.journey-diagram__path-line { animation: route-drift 7s linear infinite; }
@keyframes route-drift { to { stroke-dashoffset: -80; } }
.journey-diagram .journey-steps { z-index: 1; }
.journey-step {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.075);
  box-shadow: 0 14px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.journey-step::before { position: absolute; top: -3.5rem; right: -2rem; width: 8rem; height: 8rem; content: ''; background: var(--journey-accent); border-radius: 50%; opacity: .09; filter: blur(16px); }
.journey-step::after { background: #0f111c; border-color: rgba(255,255,255,.16); }
.journey-step__copy { color: rgba(255,255,255,.7); }
.journey-step__proof { color: rgba(255,255,255,.42); }
.journey-step--run .journey-step__number { color: var(--ink); background: #fff; }
.journey-step:hover { border-color: var(--journey-accent); box-shadow: 0 18px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1); transform: translateY(-4px); }
.journey-step:hover .journey-step__art { transform: rotate(-8deg) scale(1.08); }
.journey-step__art { transition: transform var(--t) var(--ease); }
.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  padding: 1rem;
  border-top: 3px solid var(--journey-accent, var(--ink-200));
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  box-shadow: 0 5px 18px rgba(16,24,40,.05);
}
.journey-step--idea { --journey-accent: var(--lemon); }
.journey-step--shape { --journey-accent: #80d7c8; }
.journey-step--build { --journey-accent: #2563eb; }
.journey-step--run { --journey-accent: var(--ink); }
.journey-step::after {
  position: absolute;
  top: 3.05rem;
  right: -.68rem;
  z-index: 2;
  width: .75rem;
  height: .75rem;
  content: '';
  background: var(--surface-tint);
  border-top: 1px solid var(--ink-200);
  border-right: 1px solid var(--ink-200);
  transform: rotate(45deg);
}
.journey-step:last-child::after { display: none; }
.journey-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.25rem;
  margin-bottom: 1rem;
}
.journey-step__number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  background: var(--lemon);
  border-radius: 50%;
}
.journey-step__art { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--journey-accent); opacity: .85; }
.journey-step__art svg { width: 1.75rem; height: 1.75rem; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.journey-step--shape .journey-step__number { background: #dff7f1; }
.journey-step--build .journey-step__number { color: #fff; background: #2563eb; }
.journey-step--run .journey-step__number { color: #fff; background: var(--ink); }
.journey-step__title { margin-bottom: .35rem; font-size: 1.1rem; font-weight: 700; letter-spacing: -.025em; }
.journey-step__copy { color: var(--ink-600); font-size: .875rem; line-height: 1.45; }
.journey-step__proof { margin-top: auto; padding-top: 1rem; color: var(--ink-400); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .05em; line-height: 1.35; text-transform: uppercase; }
.journey-diagram .journey-step {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.075);
  box-shadow: 0 14px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.journey-diagram .journey-step::after { background: #0f111c; border-color: rgba(255,255,255,.16); }
.journey-diagram .journey-step__copy { color: rgba(255,255,255,.7); }
.journey-diagram .journey-step__proof { color: rgba(255,255,255,.42); }
.journey-diagram .journey-step--run .journey-step__number { color: var(--ink); background: #fff; }
.journey-diagram .journey-step:hover { border-color: var(--journey-accent); box-shadow: 0 18px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1); transform: translateY(-4px); }

/* ------------------------------------------------------ 13. Accordion */
.accordion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accordion--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.acc {
  padding: 2rem 2rem 2rem 0;
  border-top: 1px solid var(--border);
}
.accordion > .acc:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--border); }
.accordion--2 > .acc:not(:nth-child(2n+1)) { padding-left: 2rem; border-left: 1px solid var(--border); }

.acc__toggle {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  background: #fff;
  margin-bottom: 1.25rem;
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.acc__toggle:hover { background: var(--ink-50); }
.acc__toggle .bar { position: absolute; width: .75rem; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--t) var(--ease); }
.acc__toggle .bar--v { transform: rotate(90deg); }
.acc.is-open .acc__toggle .bar--v { transform: rotate(0deg); }
.acc__toggle-wrap { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }

.acc__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .5rem; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease-out); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { font-size: .9375rem; color: var(--ink-600); line-height: 1.6; }

/* FAQ variant — single column rows */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; padding: 1.375rem 0;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em;
  text-align: left;
}
.faq__q .sign { position: relative; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; }
.faq__q .sign .bar { position: absolute; width: 1rem; height: 1.5px; background: var(--ink-500); border-radius: 2px; transition: transform var(--t) var(--ease); }
.faq__q .sign .bar--v { transform: rotate(90deg); }
.faq__item.is-open .sign .bar--v { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.375rem; color: var(--ink-600); max-width: 48rem; }

/* ------------------------------------------------ 14. Filter bar & tabs */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.filter-bar__group { display: flex; flex-wrap: wrap; gap: .5rem; }

.search {
  position: relative;
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .875rem;
  min-width: 15rem;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .05);
  transition: box-shadow var(--t) var(--ease);
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(4,120,87,.14); }
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: .9375rem; }
.search .icon { color: var(--ink-400); width: 1rem; height: 1rem; }

.tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .3125rem; background: var(--ink-100); border-radius: var(--r-lg); }
.tab {
  padding: .5rem .875rem;
  border-radius: var(--r-md);
  font-size: .875rem; font-weight: 500;
  color: var(--ink-600);
  transition: all var(--t) var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-md); }

.is-filtered-out { display: none !important; }

/* ----------------------------------------------------------- 15. Blog */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: center;
}
.featured__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-tint);
  box-shadow: var(--sh-card);
}
.featured__media img { width: 100%; transition: transform .7s var(--ease-out); }
.featured:hover .featured__media img { transform: scale(1.03); }
.featured__meta {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 1rem;
}
.featured h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); margin-bottom: .5rem; }
.featured p { color: var(--ink-600); margin-bottom: 1.5rem; }
.featured__by { display: flex; align-items: center; gap: .625rem; font-size: .875rem; }
.featured__by img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; }

/* editorial field note */
.story-hero-visual {
  position: relative;
  min-height: 25rem;
  padding: clamp(1.25rem, 1rem + 2vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 204, 17, .9), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(110, 231, 183, .65), transparent 38%),
    #f5f5f0;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
}
.story-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(2, 6, 23, .18) 1px, transparent 1px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,.8), transparent 70%);
          mask-image: linear-gradient(135deg, rgba(0,0,0,.8), transparent 70%);
  opacity: .22;
  pointer-events: none;
}
.story-hero-visual__label,
.story-hero-visual__footer,
.story-hero-visual__stack { position: relative; z-index: 1; }
.story-hero-visual__label {
  align-self: flex-start;
  padding: .45rem .65rem;
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .64);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.story-hero-visual__stack {
  display: grid;
  gap: .55rem;
  width: min(100%, 22rem);
  margin: 2rem auto .5rem;
  transform: rotate(-4deg);
}
.story-hero-visual__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(2, 6, 23, .12);
  border-radius: var(--r-md);
  box-shadow: 0 8px 18px rgba(2, 6, 23, .08);
  font-size: .8rem;
}
.story-hero-visual__row:nth-child(2) { transform: translateX(1.25rem); }
.story-hero-visual__row:nth-child(3) { transform: translateX(.35rem); }
.story-hero-visual__row:nth-child(4) { transform: translateX(1.75rem); }
.story-hero-visual__row span:last-child,
.story-hero-visual__footer {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-hero-visual__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-600);
}
.story-network {
  position: relative;
  min-height: 19rem;
  margin-top: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 50%, rgba(110, 231, 183, .2), transparent 34%),
    var(--surface-tint);
}
.story-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--ink-300) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
}
.story-network svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-network path { stroke: var(--ink-300); stroke-width: 1.5; stroke-dasharray: 4 6; }
.story-network circle { fill: var(--paper); stroke: var(--accent); stroke-width: 2; }
.story-network__center,
.story-network__node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-network__center {
  top: 50%; left: 50%;
  width: 6.5rem; height: 6.5rem;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: #fff;
}
.story-network__node { width: 5.6rem; height: 2.4rem; background: #fff; color: var(--ink-700); }
.story-network__node--people { top: 13%; left: 10%; }
.story-network__node--craft { top: 13%; right: 10%; }
.story-network__node--systems { bottom: 13%; left: 10%; }
.story-network__node--story { right: 10%; bottom: 13%; }
.story-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.story-journey__step {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}
.story-journey__n {
  display: block;
  margin-bottom: .65rem;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.story-journey__step h4 { margin: 0 0 .4rem; font-size: 1rem; }
.story-journey__step p { margin: 0; color: var(--ink-600); font-size: .875rem; line-height: 1.6; }
.story-article { padding-top: clamp(4.5rem, 3rem + 4vw, 7rem); }
.story-article__intro { max-width: 48rem; margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.story-article__intro h2 { max-width: 42rem; margin-top: .75rem; }
.story-article__lead {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: var(--ink-600);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.story-chapter {
  display: grid;
  grid-template-columns: minmax(8rem, .45fr) minmax(0, 1.55fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--border);
}
.story-chapter__index {
  padding-top: .35rem;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.story-chapter__copy { max-width: 47rem; }
.story-chapter__copy h3 { margin-bottom: .75rem; }
.story-chapter__copy > p { color: var(--ink-600); line-height: 1.7; }
.story-core-grid,
.story-contrast,
.story-principles { display: grid; gap: 1rem; margin-top: 1.75rem; }
.story-core-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-core-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  min-height: 15rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
}
.story-core-card h4 { margin: 0; font-size: 1rem; }
.story-core-card p { margin: 0; color: var(--ink-600); font-size: .875rem; line-height: 1.6; }
.story-core-card__tag {
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-mini-list { display: grid; gap: .45rem; margin-top: auto; }
.story-mini-list__row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .5rem .6rem;
  background: var(--surface-tint);
  border-radius: var(--r-md);
  font-size: .75rem;
}
.story-mini-list__row span:last-child {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: .625rem;
  text-transform: uppercase;
}
.story-pullquote {
  margin: clamp(2rem, 1rem + 3vw, 4rem) 0 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-left: 3px solid var(--lemon);
  background: var(--lemon-x-light);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.story-contrast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-contrast__panel {
  padding: 1.25rem;
  border-radius: var(--r-xl);
  background: var(--surface-tint);
  box-shadow: inset 0 0 0 1px var(--ink-100);
}
.story-contrast__panel--after { background: var(--accent-x-light); }
.story-contrast__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.story-contrast__head span {
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-contrast__panel--after .story-contrast__head span { color: var(--accent-dark); }
.story-contrast__list { display: grid; gap: .7rem; margin-top: 1rem; }
.story-contrast__list li { display: flex; gap: .6rem; color: var(--ink-700); font-size: .875rem; }
.story-contrast__list li::before {
  content: "";
  width: .45rem;
  height: .45rem;
  flex: none;
  margin-top: .4rem;
  border-radius: 50%;
  background: var(--ink-300);
}
.story-contrast__panel--after .story-contrast__list li::before { background: var(--success); }
.story-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.story-principle { padding-top: 1rem; border-top: 2px solid var(--ink); }
.story-principle h4 { margin: 0 0 .4rem; font-size: 1rem; }
.story-principle p { margin: 0; color: var(--ink-600); font-size: .875rem; line-height: 1.6; }
.story-article__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* full field-note pages */
.blog-post__hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 204, 17, .34), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(110, 231, 183, .22), transparent 30%);
}
.blog-post__back { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-post__hero h1 { max-width: 52rem; }
.blog-post__hero .lead { max-width: 43rem; margin-top: 1.25rem; color: var(--ink-600); }
.blog-post__body { padding-top: 0; }
.blog-post__chapter {
  display: grid;
  grid-template-columns: minmax(5rem, .3fr) minmax(0, 1.7fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--border);
}
.blog-post__chapter-no {
  padding-top: .35rem;
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
}
.blog-post__chapter-copy { max-width: 47rem; }
.blog-post__chapter-copy h2 { font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 1rem; }
.blog-post__chapter-copy p { max-width: 43rem; color: var(--ink-700); line-height: 1.8; }
.blog-post__takeaway {
  max-width: 47rem;
  margin: 1rem 0 clamp(2.5rem, 2rem + 3vw, 4rem) 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-left: 3px solid var(--lemon);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  background: var(--lemon-x-light);
}
.blog-post__takeaway .eyebrow { display: block; margin-bottom: .75rem; }
.blog-post__takeaway p { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem); font-weight: 700; line-height: 1.25; }
.blog-post__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* flat post index */
.post-index { border-top: 1px solid var(--border); }
.post-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.125rem .25rem;
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.post-row:hover { background: var(--ink-50); padding-left: .75rem; }
.post-row__title { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.02em; }
.post-row:hover .post-row__title { color: var(--accent); }
.post-row__date {
  font-family: var(--font-mono); font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-500); white-space: nowrap;
  min-width: 7.5rem; text-align: right;
}
.post-row__link { position: absolute; inset: 0; }

/* newsletter */
.subscribe {
  display: flex; gap: .5rem; flex-wrap: wrap;
  max-width: 28rem; margin-inline: auto;
}
.subscribe input {
  flex: 1; min-width: 12rem;
  padding: .75rem 1rem;
  border: 0; outline: 0;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .05);
  transition: box-shadow var(--t) var(--ease);
}
.subscribe input:focus { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(4,120,87,.14); }

/* ----------------------------------------------------------- 16. Team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.team__card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.team__card:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.team__head { display: flex; align-items: center; gap: .875rem; }
.team__head img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--ink-200); }
.team__identity { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: .25rem; }
.team__name { font-weight: 600; letter-spacing: -.02em; }
.team__role { display: inline-flex; max-width: 100%; padding: .2rem .5rem; border-radius: 999px; background: var(--accent-x-light); color: var(--accent-dark); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.team__card p { font-size: .9375rem; color: var(--ink-600); line-height: 1.55; }

/* --------------------------------------------------- 17. Testimonials */
.quote-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4rem);
  text-wrap: balance;
}

.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.quote:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.quote p { font-size: .9375rem; line-height: 1.6; color: var(--ink-700); }
.quote__by { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote__by img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.quote__name { font-size: .875rem; font-weight: 600; }
.quote__org  { font-size: .8125rem; color: var(--ink-500); }

/* ---------------------------------------------------------- 18. Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.stat__label {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-500); margin-top: .5rem;
}
.section--dark .stat__label { color: var(--paper-500); }

.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.logo-strip img { height: 1.75rem; width: auto; opacity: .45; filter: grayscale(1); transition: opacity var(--t) var(--ease), filter var(--t) var(--ease); }
.logo-strip a:hover img { opacity: 1; filter: none; }

.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .875rem; }
.step {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .75rem 1.5rem .75rem .75rem;
  background: #fff;
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
  font-size: 1.0625rem; font-weight: 500;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.step:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.step__n {
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem; flex: none;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .8125rem; font-weight: 600;
}

/* -------------------------------------------------- 19. Dark sections */
.section--dark {
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--r-3xl);
  overflow: hidden;
  position: relative;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead,
.section--dark .muted { color: var(--paper-600); }
.section--dark .eyebrow { color: var(--paper-500); }
.section--dark hr { border-color: var(--paper-200); }

.dark-wrap { padding-inline: var(--gutter); }
.dark-wrap > .section--dark { max-width: var(--container); margin-inline: auto; }

.section--dark .bento__cell,
.section--dark .quote,
.section--dark .team__card {
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px var(--paper-200);
  color: #fff;
}
.section--dark .bento__copy,
.section--dark .quote p { color: var(--paper-600); }
.section--dark .mock__row { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--paper-100); }
.section--dark .mock__sub { color: var(--paper-500); }
.section--dark .btn--ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; box-shadow: inset 0 0 0 1px var(--paper-300); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.14); }

/* ---------------------------------------------------------- 20. Forms */
.field { display: flex; flex-direction: column; gap: .4375rem; }
.field label { font-size: .875rem; font-weight: 500; }
.field .hint { font-size: .8125rem; color: var(--ink-500); }

.input, .field input, .field select, .field textarea {
  width: 100%;
  padding: .75rem .875rem;
  border: 0; outline: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--ink-200), 0 1px 2px hsl(var(--sh-hue) / .05);
  transition: box-shadow var(--t) var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px rgba(4,120,87,.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23020617' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1rem;
  padding-right: 2.25rem;
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-overlay);
  display: flex; flex-direction: column; gap: 1.125rem;
}

.contact-list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__ico {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-md);
}
.contact-item__label { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.contact-item__value { font-weight: 600; letter-spacing: -.02em; }

/* --------------------------------------------------------- 21. Footer */
.footer { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding-bottom: 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.footer__brand p { font-size: .9375rem; color: var(--ink-600); max-width: 22rem; }
.footer__col h3 {
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  margin: 0 0 1rem;
}
.footer__col li + li { margin-top: .625rem; }
.footer__col a { font-size: .9375rem; color: var(--ink-600); transition: color var(--t) var(--ease); }
.footer__col a:hover { color: var(--accent); }

.social { display: flex; gap: .5rem; }
.social a {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--ink-200);
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.social a:hover { background: var(--ink-50); transform: translateY(-2px); }

.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: .875rem; color: var(--ink-500);
}
.footer__trust { display: flex; flex-wrap: wrap; gap: .5rem; }

/* --------------------------------------------------------- 22. Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ----------------------------------------------------- 23. Responsive */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .nav-drop__panel { min-width: 26rem; }
}

@media (max-width: 960px) {
  :root { --gutter: 5%; --gap: 1.25rem; }
  .nav-menu { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-menu + .nav-actions { margin-left: auto; }
  .nav-actions .btn--text-hide { display: none; }

  .showcase { grid-template-columns: 1fr; gap: 3.5rem; }
  .callout { display: none; }
  .bento, .team, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__cell--wide { grid-column: span 2; }
  .story-core-grid, .story-principles, .story-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .accordion, .accordion--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accordion > .acc:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .accordion > .acc:not(:nth-child(2n+1)),
  .accordion--2 > .acc:not(:nth-child(2n+1)) { padding-left: 1.5rem; border-left: 1px solid var(--border); }

  .journey-diagram__path { display: none; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step::after { display: none; }
}

@media (max-width: 720px) {
  :root { --nav-h: 4rem; --gutter: 1rem; }
  .nav-shell { padding-top: .75rem; }
  .navbar {
    width: calc(100% - 2rem);
    gap: .5rem;
    padding: .5rem .5rem .5rem .75rem;
    border-radius: 1rem;
  }
  .nav-brand { gap: .4rem; font-size: 1.05rem; }
  .nav-brand img { width: 1.5rem; height: 1.5rem; }
  .nav-actions { gap: .25rem; }
  .nav-actions .btn { display: none; }
  .nav-note { display: none; }
  .bento, .team, .quotes, .stats, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .foundation-diagram { min-height: 0; padding: 1rem; }
  .foundation-diagram__links { display: none; }
  .foundation-diagram__core {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 14rem);
    min-height: 5.5rem;
    margin: 0 auto 1rem;
    transform: none;
  }
  .foundation-diagram__nodes {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .foundation-node,
  .foundation-node--strategy,
  .foundation-node--ux,
  .foundation-node--web,
  .foundation-node--mobile,
  .foundation-node--backend,
  .foundation-node--supabase,
  .foundation-node--ai,
  .foundation-node--infra { grid-column: auto; grid-row: auto; }
  .foundation-node,
  .foundation-node--strategy,
  .foundation-node--ux,
  .foundation-node--web,
  .foundation-node--mobile,
  .foundation-node--backend,
  .foundation-node--supabase,
  .foundation-node--ai,
  .foundation-node--infra { transform: none; }
  .foundation-diagram__orbit { width: 17rem; height: 8rem; }
  .foundation-diagram__orbit--tilt { width: 15rem; height: 10rem; }
  .foundation-diagram__spark--one { top: 15%; left: 20%; }
  .foundation-diagram__spark--two { right: 11%; bottom: 8%; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-step { min-height: 0; }
  .journey-step__top { margin-bottom: .75rem; }
  .story-chapter { grid-template-columns: 1fr; gap: .75rem; }
  .story-core-grid, .story-principles, .story-contrast, .story-journey { grid-template-columns: 1fr; }
  .story-hero-visual { min-height: 21rem; }
  .blog-post__chapter { grid-template-columns: 1fr; gap: .75rem; }
  .story-network { min-height: 17rem; }
  .story-network__node--people { left: 3%; }
  .story-network__node--craft { right: 3%; }
  .story-network__node--systems { left: 3%; }
  .story-network__node--story { right: 3%; }
  .compare { grid-template-columns: 1fr; }
  .accordion, .accordion--2 { grid-template-columns: 1fr; }
  .accordion > .acc, .accordion--2 > .acc { padding: 1.5rem 0 !important; border-left: 0 !important; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-row { grid-template-columns: 1fr; gap: .5rem; padding-block: 1rem; }
  .post-row__date { text-align: left; min-width: 0; }
  .post-row__meta { display: flex; align-items: center; gap: .75rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .quote-hero { text-align: left; }
  .featured__media { order: -1; }
  .btn--lg { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .backdrop__dots { background-size: 18px 18px; }
}

/* ------------------------------------------------- 24. Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }

.product-card { scroll-margin-top: calc(var(--nav-h) + 2rem); }
.product-card .card__body { gap: 1rem; flex: 1; }

.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card__id  { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.product-card__id img { height: 1.75rem; width: auto; flex: none; }
.product-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; }

.product-card__problem {
  padding-left: .875rem;
  border-left: 2px solid var(--accent);
  font-size: .875rem;
  color: var(--ink-600);
  line-height: 1.5;
}
.product-card__problem b {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .25rem;
  font-weight: 500;
}
.product-card__copy { font-size: .9375rem; color: var(--ink-700); line-height: 1.6; margin: 0; }

.product-card__stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
}
.product-card__stat .n {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
}
.product-card__stat .l {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-500); margin-top: .375rem; display: block;
}

.product-card__features { display: flex; flex-wrap: wrap; gap: .375rem; }
.product-card__cta { margin-top: auto; padding-top: .25rem; }

/* flagship card spans the row and splits horizontally */
.product-card--feature { grid-column: 1 / -1; }
.product-card--feature .card__media {
  border-bottom: 0;
  border-right: 1px solid var(--ink-200);
  display: flex; align-items: center;
  padding: 1.75rem;
}
.product-card--feature .card__media img { border-radius: var(--r-lg); }
.product-card--feature .card__media--live img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.product-card--feature .card__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.product-card--feature .card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.product-card--feature .product-card__name { font-size: 1.75rem; }
.product-card--feature:hover .card__media img { transform: scale(1.02) rotate(-.4deg); }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card--feature .card__inner { grid-template-columns: 1fr; }
  .product-card--feature .card__media { border-right: 0; border-bottom: 1px solid var(--ink-200); }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- 25. Gradient band */
.goals {
  border-radius: var(--r-3xl);
  background: linear-gradient(125deg, #bfead6 0%, #e9f2c9 44%, #ffd45e 100%);
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
}
.goal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.goal + .goal { border-top: 1px solid rgba(2, 6, 23, .14); }
.goal__title { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; margin: 0; }
.goal__title b { font-weight: 800; }
.goal__body { color: var(--ink-700); font-size: .9375rem; line-height: 1.65; }

@media (max-width: 720px) { .goal { grid-template-columns: 1fr; gap: .875rem; } }

/* ------------------------------------------------- 26. Fixes & overrides */
/* [hidden] must beat layout classes like .grid / .card that set display */
[hidden] { display: none !important; }

/* tabs sitting on a dark panel */
.section--dark .tabs { background: rgba(255, 255, 255, .06); }
.section--dark .tab { color: var(--paper-600); }
.section--dark .tab:hover { color: #fff; }
.section--dark .tab[aria-selected="true"] {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--paper-300);
}

/* chips and search on a dark panel */
.section--dark .chip { background: rgba(255,255,255,.06); color: var(--paper-600); box-shadow: inset 0 0 0 1px var(--paper-200); }
.section--dark .chip[aria-selected="true"] { background: #fff; color: var(--ink); }
.section--dark .badge { background: rgba(255,255,255,.06); color: var(--paper-700); box-shadow: inset 0 0 0 1px var(--paper-200); }
.section--dark .link-arrow { color: #fff; border-color: var(--paper-300); }
.section--dark .link-arrow:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* --------------------------------------------- 27. Product story pages */
.story-id { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem .75rem; margin-bottom: 1.25rem; }
.story-id__logo {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 10rem;
  padding: .5rem .75rem;
  border-radius: .7rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.16), inset 0 0 0 1px rgba(2,6,23,.08);
}
.story-id img { height: 1.65rem; max-width: 8.5rem; width: auto; object-fit: contain; }
.story-id__name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em;
}

.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.stat-band > div { padding-left: 1.25rem; border-left: 2px solid var(--accent); }

.chapter {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
}
.chapter + .chapter { border-top: 1px solid var(--border); }
.chapter__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.15;
  margin: 0;
}
.chapter__heading { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.chapter__n {
  display: block;
  margin-bottom: .75rem;
  color: var(--story-strong, var(--p, var(--accent)));
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.chapter__body p { color: var(--ink-700); line-height: 1.7; font-size: 1.0625rem; }
.chapter__body p + p { margin-top: 1em; }

.timeline { display: grid; gap: 0; }
.timeline__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: clamp(1rem, .5rem + 2vw, 2.5rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.timeline__row:last-child { border-bottom: 1px solid var(--border); }
.timeline__phase {
  font-family: var(--font-mono); font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark);
}
.timeline__text { color: var(--ink-700); font-size: .9375rem; line-height: 1.6; }

.pull-quote {
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background: #fff;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-overlay);
  text-align: center;
}
.pull-quote p {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}
.pull-quote__by { display: inline-flex; align-items: center; gap: .75rem; }
.pull-quote__by img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related__card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.related__card:hover { box-shadow: var(--sh-lift); transform: translateY(-2px); }
.related__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.related__name { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -.03em; }
.related__card p { font-size: .875rem; color: var(--ink-600); line-height: 1.5; margin: 0; }
.related__card .bento__arrow { color: var(--ink-400); }
.related__card:hover .bento__arrow { transform: translate(2px, -2px); color: var(--ink); }

@media (max-width: 960px) {
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter { grid-template-columns: 1fr; gap: 1rem; }
  .chapter__heading { position: static; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .stat-band { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 1fr; gap: .375rem; }
  .related { grid-template-columns: 1fr; }
}

/* card-level hover drives the decorative inner arrow link */
.product-card:hover .link-arrow { border-color: var(--accent); color: var(--accent); }
.product-card:hover .link-arrow .icon { transform: translateX(3px); }

/* long product names should push the sector badge down, not squeeze the name */
.product-card__top { flex-wrap: wrap; }

/* ---------------------------------------------- 28. Line icon sizing */
.i { width: 1.15em; height: 1.15em; flex: none; }

.nav-drop__icon   { color: var(--ink-600); }
.nav-drop__icon .i     { width: 1.05rem; height: 1.05rem; }
.mock__ico        { color: var(--ink-600); }
.mock__ico .i          { width: .85rem;  height: .85rem; }
.contact-item__ico { color: var(--accent); }
.contact-item__ico .i  { width: 1.15rem; height: 1.15rem; }
.tile             { color: var(--ink-600); }
.tile .i               { width: 1.2rem;  height: 1.2rem; }
.tile--lg .i           { width: 1.7rem;  height: 1.7rem; }
.tile--lemon      { color: var(--ink); }

/* ------------------------------------ 29. Before / after tag on a rule */
.compare__divider {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: .25rem;
}
.compare__divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid var(--border);
}
.compare__tag {
  position: relative;
  z-index: 1;
  margin-top: 0;
  align-self: center;
}
.tile-row { flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------- 30. Partners */
.partners-block { text-align: center; }

/* --- the clasp: two marks gripping each other --- */
.clasp {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  margin: 0 auto;
  width: max-content; max-width: 100%;
}
.clasp__mark {
  display: grid; place-items: center;
  width: 9.5rem; height: 6.75rem;
  border-radius: var(--r-xl);
  flex: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.clasp__mark--us {
  background: var(--lemon);
  color: var(--ink);
  box-shadow: var(--sh-lift), inset 0 8px 16px rgba(255,255,255,.4);
  transform: rotate(-5deg) translateX(.4rem);
}
.clasp__mark--them {
  background: #000;
  box-shadow: var(--sh-lift), inset 0 0 0 1px rgba(255,255,255,.14);
  transform: rotate(5deg) translateX(-.4rem);
}
.clasp__mark--us img { width: 3rem; height: 3rem; display: block; object-fit: contain; }
.clasp__mark--them img { width: 6rem; height: auto; display: block; margin-left: .6rem; }
.clasp--compact .clasp__mark {
  width: 7.5rem;
  height: 4.5rem;
  border-radius: var(--r-lg);
}
.clasp--compact .clasp__mark--us img { width: 2rem; height: 2rem; }
.clasp--compact .clasp__mark--them img { width: 4.5rem; margin-left: .25rem; }
.clasp--compact .clasp__grip { width: 5.75rem; margin-inline: -.7rem; }
.clasp--compact .clasp__note { bottom: -1.25rem; font-size: .7rem; }
.clasp--compact + .partner-intro { margin-top: 2.4rem; }
.clasp__label {
  display: block;
  font-family: var(--font-mono); font-size: .5rem;
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: .375rem; opacity: .6;
}

.clasp__grip {
  position: relative; z-index: 2;
  width: 8rem; flex: none;
  margin: 0 -1rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
  transition: transform .45s var(--ease);
}
.clasp__grip svg { width: 100%; height: auto; display: block; }

.clasp:hover .clasp__mark--us   { transform: rotate(-1deg) translateX(1rem); }
.clasp:hover .clasp__mark--them { transform: rotate(1deg) translateX(-1rem); }
.clasp:hover .clasp__grip       { transform: rotate(-8deg) scale(1.06); }

.clasp__note {
  position: absolute; z-index: 3;
  left: 50%; bottom: -2rem;
  transform: translateX(-50%) rotate(-5deg);
  margin: 0;
  font-family: var(--font-hand);
  font-size: .875rem; line-height: 1.15;
  color: var(--lemon);
  white-space: nowrap;
  pointer-events: none;
}

/* --- partner copy --- */
.partner-intro {
  max-width: 34rem;
  margin: 4rem auto 0;
}
.partner-name {
  font-family: var(--font-display);
  font-weight: 800; font-size: var(--fs-h4);
  letter-spacing: -.03em;
  margin: 0 0 .625rem;
}
.partner-intro > p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.partner-intro > p + p { margin-top: 1rem; }

.partner-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem;
  margin: 1.5rem auto 0;
  max-width: 48rem;
}
.partner-fact {
  display: grid; gap: .25rem;
  padding: .5rem .875rem;
  text-align: left;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px var(--paper-200);
}
.partner-fact dt {
  font-family: var(--font-mono); font-size: .5625rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper-500);
}
.partner-fact dd { margin: 0; font-size: .8125rem; font-weight: 600; color: #fff; }
.partner-fact a { color: var(--lemon); border-bottom: 1px solid rgba(255,204,17,.4); }
.partner-fact a:hover { border-color: var(--lemon); }

@media (max-width: 640px) {
  .clasp { flex-direction: column; gap: 0; width: 100%; }
  .clasp__mark { width: 9rem; height: 6.5rem; }
  .clasp__mark--us   { transform: rotate(-5deg) translateX(-1.5rem); }
  .clasp__mark--them { transform: rotate(5deg) translateX(1.5rem); }
  .clasp__mark--them img { width: 5.75rem; margin-left: 0; }
  .clasp__grip { width: 6rem; margin: -1.25rem 0; }
  .clasp:hover .clasp__mark--us   { transform: rotate(-2deg) translateX(-1.75rem); }
  .clasp:hover .clasp__mark--them { transform: rotate(2deg) translateX(1.75rem); }
  .clasp:hover .clasp__grip { transform: rotate(-8deg) scale(1.06); }
  .clasp__note { bottom: -2.75rem; }
  .partner-intro { margin-top: 4.75rem; }
  .partner-fact { width: 100%; }
  .clasp--compact .clasp__grip { width: 4.75rem; }
  .clasp--compact .clasp__note { bottom: -2.25rem; }
  .clasp--compact + .partner-intro { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .clasp__mark, .clasp__grip { transition: none; }
}

/* ============================================================================
   26. Product identity — brand rule, stacked screens, story gallery
   Every product scopes two brand colours as --p / --p2 on its own container,
   so one set of rules paints eight different identities.
   ========================================================================== */

/* the whole card leans into its product colour on hover */
.product-card { position: relative; }
.product-card:hover,
.product-card:focus-within {
  box-shadow: var(--sh-lift), 0 0 0 1px color-mix(in srgb, var(--p, var(--accent)) 34%, transparent);
}
.product-card:hover .product-card__problem,
.product-card:focus-within .product-card__problem { border-left-color: var(--p, var(--accent)); }
.product-card__problem { transition: border-color .45s var(--ease-out); }
.product-card:hover .link-arrow,
.product-card:focus-within .link-arrow { color: var(--p, var(--accent)); border-color: currentColor; }

.product-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card__shots {
  font-size: .625rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-400); white-space: nowrap;
}

/* ------------------------------------------------------- stacked screenshots */
.pshots { position: relative; width: 100%; }
.pshots__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-tint);
}
.pshot {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out);
}
.pshot.is-active { opacity: 1; visibility: visible; }
.pshot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* dots sit above the card-wide link so they stay clickable */
.pshots__nav {
  position: absolute; z-index: 4;
  left: .75rem; bottom: .75rem;
  display: flex; align-items: center; gap: .3125rem;
  padding: .3125rem .4375rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-sm);
}
.pshots__dot {
  width: .5rem; height: .5rem; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink-300);
  transition: background .3s var(--ease), width .3s var(--ease-out);
}
.pshots__dot:hover { background: var(--ink-500); }
.pshots__dot.is-active { width: 1.125rem; border-radius: var(--r-full); background: var(--p, var(--accent)); }
.pshots__dot:focus-visible { outline: 2px solid var(--p, var(--accent)); outline-offset: 2px; }

.pshots__count {
  position: absolute; z-index: 4;
  right: .75rem; bottom: .75rem;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em;
  padding: .25rem .5rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
  box-shadow: var(--sh-sm);
  color: var(--ink-800);
}
.pshots__count span { color: var(--ink-400); }

/* the media frame no longer needs its own zoom — the stage owns the crop */
.card__media--live .pshots__stage { border-radius: 0; }
.card:hover .pshot.is-active img { transform: none; }

/* the flagship card pads its media, so the stage keeps its own corners there */
.product-card--feature .card__media--live .pshots__stage {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

/* --------------------------------------------------------- story gallery */
.gallery__head {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem 2rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.gallery__lead { margin: 0; font-size: .9375rem; color: var(--ink-500); }

.gallery { display: grid; gap: 1.25rem; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 .gshot:first-child { grid-column: 1 / -1; }

.gshot { margin: 0; display: flex; flex-direction: column; gap: .875rem; }
.gshot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-tint);
  box-shadow: var(--sh-card);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.gshot__frame::after {
  content: ""; position: absolute; inset: 0 auto auto 0;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--p, var(--accent)), var(--p2, var(--accent-light)));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease-out);
}
.gshot:hover .gshot__frame { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.gshot:hover .gshot__frame::after { transform: scaleX(1); }
.gshot__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gshot__cap {
  display: flex; gap: .75rem; align-items: baseline;
  font-size: .875rem; line-height: 1.55; color: var(--ink-600);
  padding-inline: .125rem;
}
.gshot__n {
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em;
  color: var(--story-strong, var(--p, var(--accent))); flex: none; padding-top: .0625rem;
}

/* ----------------------------------------------- story hero & stat band */
/* the story hero drops the house colours and wears the product's instead */
.story-hero .backdrop__lemon,
.story-hero .backdrop__accent { display: none; }

.story-hero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(52rem 30rem at 82% -10%, color-mix(in srgb, var(--p2, var(--accent-light)) 80%, transparent), transparent 66%),
    radial-gradient(38rem 26rem at 0% 4%, color-mix(in srgb, var(--p, var(--accent)) 30%, transparent), transparent 62%);
  opacity: .5;
  pointer-events: none;
}

.story-hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2.6vw, 3.25rem);
  color: #fff;
  border-radius: clamp(1.4rem, 1rem + 1.4vw, 2.35rem);
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--p) 27%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--story-bg) 90%, #000), var(--story-bg));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 28px 72px rgba(2,6,23,.22);
}
.story-hero-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.24) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 94% 5%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 72% 78% at 94% 5%, #000 0%, transparent 72%);
  opacity: .36;
}
.story-hero-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8rem;
  bottom: -10rem;
  width: 15rem;
  height: 15rem;
  border: 2px solid color-mix(in srgb, var(--p) 65%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem color-mix(in srgb, var(--p) 9%, transparent), 0 0 0 4rem color-mix(in srgb, var(--p) 5%, transparent);
}
.story-hero-card h1 { color: #fff; }
.story-hero-card .lead { color: rgba(255,255,255,.76); }
.story-hero-card .story-id__name { color: #fff; }
.story-hero-card .story-id .badge {
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.story-hero-card .btn:not(.btn--ghost) { --btn-bg: var(--story-cta); --btn-fg: var(--story-cta-ink); }
.story-hero-card .btn--ghost {
  --btn-bg: rgba(255,255,255,.08);
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.story-hero-card .btn--ghost:hover { background: rgba(255,255,255,.14); }

/* primary actions on a story page carry that product's colour */
.story-hero .btn:not(.btn--ghost) { --btn-bg: var(--story-cta, var(--p, var(--accent))); }
.story-hero .link-arrow:hover { color: var(--p, var(--accent)); border-color: currentColor; }
.story-id .badge {
  background: color-mix(in srgb, var(--p, var(--accent)) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p, var(--accent)) 28%, transparent);
}
/* two-column story hero: the headline and its signature screen, side by side */
.story-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.hero-shot {
  position: relative;
  margin: 0;
  padding-top: 3.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.story-shot__note {
  position: absolute;
  top: -.1rem;
  left: .5rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--p2);
  font-family: var(--font-hand);
  font-size: clamp(.875rem, .78rem + .35vw, 1.05rem);
  line-height: 1.12;
  transform: rotate(-2deg);
}
.story-shot__note::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 4.25rem;
  height: 3px;
  border-radius: var(--r-full);
  background: var(--p);
}
.story-shot__note svg { width: 3.75rem; height: 2.25rem; margin-top: .15rem; overflow: visible; }
.story-shot__note path {
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-shot__shell {
  overflow: hidden;
  padding: .5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 55px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(.35deg);
}
.hero-shot__bar {
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .35rem .35rem;
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-shot__dots { display: inline-flex; gap: .3rem; }
.hero-shot__dots i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--ink-200); }
.hero-shot__dots i:first-child { background: var(--p); }
.hero-shot__frame {
  aspect-ratio: 16 / 9;
  border-radius: .7rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(2,6,23,.08);
}
.hero-shot__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-shot__cap {
  font-size: .8125rem; line-height: 1.55; color: rgba(255,255,255,.68);
  padding-inline: .125rem;
}

@media (max-width: 860px) {
  .story-head { grid-template-columns: 1fr; }
}

.story-rule {
  display: block; height: 3px; width: 4.5rem; margin: 1.25rem 0 1.5rem;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--p, var(--accent)), var(--p2, var(--accent-light)));
}

.story-brief-wrap { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.story-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.story-brief__item {
  position: relative;
  min-height: 10.5rem;
  padding: 1.35rem;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-card);
}
.story-brief__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--p), var(--p2));
}
.story-brief__label {
  display: block;
  margin-bottom: .9rem;
  color: var(--story-strong, var(--p));
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.story-brief__item p { margin: 0; color: var(--ink-700); font-size: .975rem; line-height: 1.6; }

.story-timeline .timeline__phase { color: var(--story-strong, var(--p)); }
.story-timeline .timeline__row { border-color: color-mix(in srgb, var(--p) 20%, var(--border)); }
.story-capability { position: relative; min-height: 9rem; overflow: hidden; }
.story-capability::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, color-mix(in srgb, var(--p) 9%, #fff), #fff 70%);
  z-index: -1;
}
.story-capability__n {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--story-strong, var(--p));
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.story-quote-section .pull-quote {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--p) 9%, #fff), #fff 70%);
  box-shadow: var(--sh-overlay), inset 0 3px 0 var(--p);
}
.stat-band .stat__num, .stat-band [data-count] { color: var(--ink); }
.stat-band > * { position: relative; }
.stat-band > *::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 2px; height: 1.75rem; border-radius: var(--r-full);
  background: linear-gradient(180deg, var(--p, var(--accent)), var(--p2, var(--accent-light)));
}

/* ------------------------------------------------ home explorer panels */
.product-explorer__shell {
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.25rem, .75rem + 3vw, 3.5rem);
}
.product-explorer .section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.portfolio-tabs {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.portfolio-tabs::-webkit-scrollbar { display: none; }
.section--dark .portfolio-tabs .tab {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .72);
}
.section--dark .portfolio-tabs .tab:hover { color: #fff; }
.section--dark .portfolio-tabs .tab[aria-selected="true"] {
  background: var(--tab-color);
  color: var(--tab-ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 5px 15px rgba(0,0,0,.2);
}
.portfolio-tabs .tab:focus-visible { outline-color: var(--tab-color); }

.product-panel {
  position: relative;
  isolation: isolate;
  align-items: center;
  gap: clamp(1.75rem, 1rem + 3vw, 3.75rem);
  min-height: 35rem;
  padding: clamp(1.5rem, 1rem + 2.4vw, 3rem);
  overflow: hidden;
  color: #fff;
  border-radius: clamp(1.25rem, 1rem + 1vw, 2rem);
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--p) 27%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel-bg) 90%, #000), var(--panel-bg));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 24px 60px rgba(0,0,0,.28);
  animation: product-panel-in .48s var(--ease-out) both;
}
.product-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.24) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 94% 5%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 72% 78% at 94% 5%, #000 0%, transparent 72%);
  opacity: .36;
}
.product-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 15rem;
  height: 15rem;
  left: -8rem;
  bottom: -10rem;
  border: 2px solid color-mix(in srgb, var(--p) 65%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem color-mix(in srgb, var(--p) 9%, transparent), 0 0 0 4rem color-mix(in srgb, var(--p) 5%, transparent);
}
@keyframes product-panel-in {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: none; }
}

.product-panel .panel__copy { position: relative; z-index: 1; }
.product-panel .panel__identity {
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  max-width: 11.5rem;
  padding: .55rem .8rem;
  margin-bottom: 1.25rem;
  border-radius: .75rem;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.16), inset 0 0 0 1px rgba(2,6,23,.08);
}
.product-panel .panel__identity img {
  display: block;
  width: auto;
  height: 1.7rem;
  max-width: 9.9rem;
  object-fit: contain;
}
.product-panel .panel__rule { width: 4.25rem; margin-bottom: 1rem; background: var(--p); }
.product-panel .eyebrow { color: rgba(255,255,255,.74); }
.product-panel h3 { max-width: 35rem; color: #fff; }
.product-panel .muted { color: rgba(255,255,255,.76); }
.product-panel .stat__num { color: #fff; }
.product-panel .stat__label { color: rgba(255,255,255,.64); }
.product-panel .btn { --btn-bg: var(--cta); --btn-fg: var(--cta-ink); }

.product-panel .panel__media {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 3.25rem;
}
.panel__note {
  position: absolute;
  top: -.25rem;
  left: .5rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--p2);
  font-family: var(--font-hand);
  font-size: clamp(.875rem, .78rem + .35vw, 1.05rem);
  line-height: 1.12;
  letter-spacing: .01em;
  transform: rotate(-2deg);
}
.panel__note::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 4.25rem;
  height: 3px;
  border-radius: var(--r-full);
  background: var(--p);
  transform: rotate(1deg);
}
.panel__note svg { width: 3.75rem; height: 2.25rem; margin-top: .15rem; overflow: visible; }
.panel__note path {
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-panel .panel__media .pshots {
  padding: .5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 55px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(.35deg);
}
.panel__rule {
  display: block; height: 3px; width: 3.5rem; margin-bottom: 1.25rem;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--p, var(--accent)), var(--p2, var(--accent-light)));
}
.panel__media .pshots__stage {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-overlay);
}
.panel__media .pshots__nav,
.panel__media .pshots__count { bottom: 1rem; }
.panel__media .pshots__nav { left: 1rem; }
.panel__media .pshots__count { right: 1rem; }

@media (max-width: 960px) {
  .product-panel { min-height: 32rem; }
}

@media (max-width: 720px) {
  .product-explorer { padding-inline: .5rem; }
  .product-explorer__shell { padding-inline: .9rem; }
  .product-explorer .section-head { text-align: left; }
  .portfolio-tabs { width: 100%; margin-bottom: 1.25rem; }
  .product-panel { min-height: 0; padding: 1.25rem; gap: 2rem; }
  .product-panel .panel__identity { margin-bottom: 1rem; }
  .product-panel .panel__media { padding-top: 3.5rem; }
  .panel__note { left: .25rem; }
  .story-hero { padding-inline: .5rem; }
  .story-hero-card { padding: 1.25rem; }
  .story-brief { grid-template-columns: 1fr; }
  .story-brief__item { min-height: 0; }
}

/* related cards carry the colour of the product they point at */
.related__card { position: relative; overflow: hidden; }

@media (max-width: 720px) {
  .gallery--2, .gallery--3 { grid-template-columns: 1fr; }
  .gallery--3 .gshot:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .gshot__frame::after { transform: scaleX(1); }
  .pshot { transition: none; }
}
