/* ============================================================================
   NEXA Developer — interface institucional.
   Estrutura editorial preservada do template Brivon, com o design system NEXA:
   base grafite #131515, texto claro, ciano e verde como acentos.
   Montreal nos títulos e Noname em todos os demais textos.
   ============================================================================ */

@font-face {
  font-family: 'Montreal';
  src: url('../fonts/montreal-medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Noname';
  src: url('../fonts/noname-regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Palette — grafite NEXA + acentos ciano e verde. */
  --ink-000:        #131515;          /* base mais profunda */
  --ink-deep:       #131515;          /* superfície principal */
  --ink:            #131515;          /* cartões e seções contínuas */
  --ink-card:       #1B1E1E;          /* cartão elevado */
  --ink-elev:       #252929;          /* hover / próxima elevação */
  --ink-line:       rgba(244, 244, 240, 0.08);
  --ink-line-soft:  rgba(244, 244, 240, 0.04);
  --ink-rule:       rgba(244, 244, 240, 0.16);

  --paper:          #F4F4F0;          /* primary text on dark */
  --paper-soft:     #C9C9C2;          /* secondary text */
  --paper-mute:     #80807A;          /* tertiary / captions */
  --paper-deep:     #5A5A55;          /* hairlines / quiet labels */
  --paper-tile:     #F4F4F0;          /* reverse-tile background */
  --paper-tile-2:   #E5E5DE;          /* alt reverse tile */

  --lime:           #28D6E5;          /* acento ciano NEXA */
  --lime-soft:      #76E9F0;          /* lighter variant */
  --lime-deep:      #0F8F99;          /* hover / pressed */
  --lime-glow:      rgba(40, 214, 229, 0.20);

  --cobalt:         #48E39B;          /* tiny secondary — used once on prints CTA hover only */

  /* Semantic surfaces */
  --bg:             var(--ink-deep);
  --bg-alt:         var(--ink-000);
  --bg-card:        var(--ink-card);
  --bg-elev:        var(--ink-elev);
  --bg-tile:        var(--paper-tile);   /* reverse-mode sections */

  --fg:             var(--paper);
  --fg-soft:        var(--paper-soft);
  --fg-mute:        var(--paper-mute);
  --fg-deep:        var(--paper-deep);
  --fg-on-tile:     var(--ink-deep);
  --fg-on-tile-mute:#5A5A55;

  --rule:           var(--ink-line);
  --rule-strong:    var(--ink-rule);
  --rule-lime:      rgba(40, 214, 229, 0.35);

  --primary:        var(--lime);
  --primary-deep:   var(--lime-deep);
  --accent:         var(--lime);

  /* Tipografia NEXA — somente Montreal e Noname. */
  --font-display:   'Montreal', sans-serif;
  --font-body:      'Noname', sans-serif;
  --font-detail:      'Noname', sans-serif;

  --text-xs:    0.75rem;
  --text-sm:    0.8125rem;
  --text-base:  clamp(1rem, 0.94rem + 0.28vw, 1.0625rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.45vw, 1.25rem);
  --text-xl:    clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl:   clamp(1.5rem, 1.25rem + 0.95vw, 2rem);
  --text-3xl:   clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --text-4xl:   clamp(2.5rem, 1.75rem + 2.6vw, 4rem);
  --text-5xl:   clamp(2.8rem, 1.9rem + 3.4vw, 4.75rem);
  --text-mega:  clamp(2.5rem, 1.6rem + 3vw, 4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4.5rem;
  --space-9:  6.5rem;
  --space-10: 9rem;
  --space-11: 12rem;

  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-2xl: 40px;
  --radius-full: 999px;

  --container:        1340px;
  --container-wide:   1480px;
  --container-narrow: 1080px;
  --gutter:           clamp(1.25rem, 1rem + 1.5vw, 2.25rem);

  --shadow-xs:  0 1px 2px rgba(19, 21, 21, 0.45);
  --shadow-sm:  0 4px 12px rgba(19, 21, 21, 0.4);
  --shadow:     0 16px 36px -12px rgba(19, 21, 21, 0.55);
  --shadow-md:  0 24px 56px -18px rgba(19, 21, 21, 0.55);
  --shadow-lg:  0 48px 96px -32px rgba(19, 21, 21, 0.6);
  --shadow-lime: 0 22px 60px -22px rgba(40, 214, 229, 0.25);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   180ms;
  --dur-base:   320ms;
  --dur-slow:   620ms;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--lime); color: var(--ink-000);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  z-index: 999;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: var(--space-9); }
section.compact  { padding-block: var(--space-7); }
section.snug     { padding-block: var(--space-8); }

.grid { display: grid; gap: var(--space-6); }
.flex { display: flex; }
.center-row { display: flex; align-items: center; gap: var(--space-4); }

/* ---------- 4. Typography ----------------------------------------------- */
.eyebrow {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}
.eyebrow--on-tile { color: var(--fg-on-tile-mute); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
  text-transform: uppercase;
}
h1 { font-size: var(--text-5xl); line-height: 1.22; }
h2 { font-size: var(--text-4xl); line-height: 1.25; }
h3 { font-size: var(--text-2xl); line-height: 1.3; }
h4 { font-size: var(--text-xl); line-height: 1.32; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

.label {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
}
.label--lime { color: var(--lime); }

/* ---------- 5. Header / Nav --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 21, 21, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.brand--logo {
  flex: 0 0 auto;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: 122px;
  height: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: var(--space-5);
  margin-inline-start: auto;
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--fg-soft);
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--fg); border-bottom-color: var(--lime); }
.nav-links a[aria-current="page"] { color: var(--lime); border-bottom-color: var(--lime); }
.nav-cta-row { display: flex; gap: var(--space-3); align-items: center; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--fg);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 2px; background: var(--fg);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink-000);
  z-index: 200;
  padding: var(--space-7) var(--gutter);
  display: none;
  flex-direction: column;
  gap: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-transform: uppercase;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { color: var(--fg); }
.mobile-drawer a:hover { color: var(--lime); }
.drawer-close {
  align-self: flex-end;
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ---------- 6. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--lime);
  color: var(--ink-000);
}
.btn--primary:hover { background: var(--lime-soft); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost-on-tile {
  background: transparent;
  color: var(--fg-on-tile);
  border-color: rgba(19, 21, 21,0.2);
}
.btn--ghost-on-tile:hover { border-color: var(--ink-000); }
.btn--dark {
  background: var(--ink-000);
  color: var(--paper);
}
.btn--dark:hover { background: var(--ink-elev); }
.btn--sm { padding: 8px 14px; font-size: var(--text-xs); }
.btn--lg { padding: 16px 28px; }
.btn .arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 7. Hero ----------------------------------------------------- */
.hero {
  padding-block: var(--space-8) var(--space-9);
  background:
    radial-gradient(900px 460px at 88% 0%, var(--lime-glow), transparent 60%),
    radial-gradient(900px 520px at 0% 100%, rgba(26, 46, 255, 0.10), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}
.hero-text > * + * { margin-top: var(--space-5); }
.hero-headline {
  font-size: var(--text-mega);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.018em;
}
.hero-headline .lime { color: var(--lime); }
.hero-headline .slash { color: var(--paper-mute); font-weight: 400; }
.hero-sub {
  color: var(--fg-soft);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 56ch;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  color: var(--fg-mute);
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  margin-top: var(--space-6);
}
.hero-meta strong { color: var(--fg); font-weight: 500; }

.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}
.floating-tag {
  position: absolute;
  background: var(--ink-000);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow);
}
.floating-tag .pill {
  background: var(--lime);
  color: var(--ink-000);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.ft-top    { top: 16px; left: 16px; }
.ft-bottom { bottom: 16px; right: 16px; }
.ft-mid-r  { top: 50%; right: 16px; transform: translateY(-50%); }

/* Homepage hero — centralized product thesis */
.hero--centered {
  min-height: max(760px, calc(100svh - 70px));
  padding-block: 0;
  display: grid;
  align-items: center;
  background: var(--bg);
}
.hero--centered::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 68% at 50% 44%, transparent 18%, rgba(19, 21, 21, 0.38) 78%, rgba(19, 21, 21, 0.58) 100%),
    linear-gradient(180deg, rgba(19, 21, 21, 0.50) 0%, rgba(19, 21, 21, 0.32) 42%, rgba(19, 21, 21, 0.82) 100%);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.06) brightness(0.82);
}
.hero-center {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(7rem, 12vh, 11rem);
}
.hero-intro {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
}
.hero-badge {
  width: fit-content;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-full);
  background: rgba(244, 244, 240, 0.045);
  color: var(--fg-soft);
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.035em;
}
.hero-badge svg { color: var(--lime); flex: 0 0 auto; }
.hero-center-title {
  margin-top: var(--space-6);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: none;
  text-wrap: balance;
}
.hero-title-gradient {
  display: block;
  color: var(--lime);
  background: linear-gradient(90deg, #76E9ED 0%, #0F8F99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-center-sub {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  color: var(--fg-soft);
  font-size: var(--text-lg);
  line-height: 1.6;
  text-wrap: balance;
}
.hero-center-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.hero-proof {
  width: min(100%, 660px);
  margin: var(--space-8) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-proof-item {
  min-width: 0;
  padding-inline: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-proof-item + .hero-proof-item { border-inline-start: 1px solid var(--rule-strong); }
.hero-proof-item strong {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.2;
}
.hero-proof-item span {
  color: var(--fg-mute);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero--centered .hero-badge,
.hero--centered .hero-center-title,
.hero--centered .hero-center-sub,
.hero--centered .hero-center-actions,
.hero--centered .hero-proof {
  animation: hero-rise 560ms var(--ease-out) both;
}
.hero--centered .hero-badge { animation-delay: 80ms; }
.hero--centered .hero-center-title { animation-delay: 180ms; }
.hero--centered .hero-center-sub { animation-delay: 300ms; }
.hero--centered .hero-center-actions { animation-delay: 420ms; }
.hero--centered .hero-proof { animation-delay: 540ms; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 8. Stat strip ---------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--rule);
  margin-top: var(--space-7);
}
.stat-cell {
  padding: var(--space-6) var(--space-5);
  border-inline-end: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.stat-cell:last-child { border-inline-end: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.018em;
}
.stat-num .lime { color: var(--lime); }
.stat-label {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ---------- 9. Section headers ----------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: end;
  margin-bottom: var(--space-7);
}
.section-head h2 {
  font-size: var(--text-4xl);
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: -0.018em;
}
.section-head .lede { max-width: 48ch; }

/* ---------- 10. Work grid (selected work, archive) --------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
}
.work-item {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  isolation: isolate;
}
.work-item .wm {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.work-item:hover img { transform: scale(1.04); filter: contrast(1.05); }
.work-item .wm-pill {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink-000);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-item .wm-arrow {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 40px; height: 40px;
  background: var(--lime);
  color: var(--ink-000);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out);
}
.work-item:hover .wm-arrow { transform: translate(2px, -2px); }
.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  font-family: var(--font-detail);
}
.work-meta .wm-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.work-meta .wm-cap {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.work-item--xl  { grid-column: span 8; }
.work-item--lg  { grid-column: span 7; }
.work-item--md  { grid-column: span 5; }
.work-item--sm  { grid-column: span 4; }
.work-item--xl .wm { aspect-ratio: 16 / 11; }
.work-item--lg .wm { aspect-ratio: 4 / 3; }

/* Home — four product cards with descriptive hover/focus states */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
}
.product-showcase-card {
  position: relative;
  min-width: 0;
  min-height: clamp(440px, 38vw, 540px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  isolation: isolate;
  cursor: default;
}
.product-showcase-card--wide { grid-column: span 8; }
.product-showcase-card--narrow { grid-column: span 4; }
.product-showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.58);
  transition:
    transform var(--dur-slow) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    filter var(--dur-base) var(--ease-out);
}
.product-showcase-card::before,
.product-showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.product-showcase-card::before {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 45%, transparent 20%, rgba(19, 21, 21, 0.24) 100%),
    linear-gradient(180deg, rgba(19, 21, 21, 0.12), rgba(19, 21, 21, 0.48));
}
.product-showcase-card::after {
  z-index: 2;
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.product-showcase-brand {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 4rem);
  transition:
    opacity 220ms var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.product-showcase-brand img {
  width: min(100%, 280px);
  max-height: 112px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}
.product-showcase-card--narrow .product-showcase-brand img {
  width: min(100%, 210px);
  max-height: 92px;
}
.product-showcase-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 4vw, 4.5rem);
  color: var(--ink-000);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 240ms var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.product-showcase-card--narrow .product-showcase-copy {
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.product-showcase-type {
  margin-bottom: var(--space-4);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(19, 21, 21, 0.64);
}
.product-showcase-copy h3 {
  color: var(--ink-000);
  font-size: var(--text-3xl);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: none;
}
.product-showcase-copy p {
  max-width: 52ch;
  margin-top: var(--space-4);
  color: rgba(19, 21, 21, 0.80);
  font-size: var(--text-lg);
  line-height: 1.5;
}
.product-showcase-card--narrow .product-showcase-copy h3 {
  font-size: var(--text-2xl);
}
.product-showcase-card--narrow .product-showcase-copy p {
  font-size: var(--text-base);
}
.product-showcase-card:hover::after,
.product-showcase-card:focus::after {
  opacity: 0.96;
}
.product-showcase-card:hover .product-showcase-bg,
.product-showcase-card:focus .product-showcase-bg {
  opacity: 0.16;
  transform: scale(1.035);
  filter: grayscale(1) brightness(0.72);
}
.product-showcase-card:hover .product-showcase-brand,
.product-showcase-card:focus .product-showcase-brand {
  opacity: 0;
  transform: scale(0.92);
}
.product-showcase-card:hover .product-showcase-copy,
.product-showcase-card:focus .product-showcase-copy {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 11. Reverse-mode tile (paper section) ---------------------- */
.tile-section {
  background: var(--bg-tile);
  color: var(--fg-on-tile);
  position: relative;
}
.tile-section .eyebrow { color: var(--fg-on-tile-mute); }
.tile-section .eyebrow .dot { background: var(--ink-000); }
.tile-section .lede { color: #2A2A28; }
.tile-section h1,
.tile-section h2,
.tile-section h3,
.tile-section h4 { color: var(--ink-000); }
.tile-section .label { color: var(--fg-on-tile-mute); }
.tile-section .mono  { color: #2A2A28; }
.tile-section .btn--ghost { color: var(--ink-000); border-color: rgba(19, 21, 21,0.25); }
.tile-section .btn--ghost:hover { border-color: var(--ink-000); }
.tile-section hr { border: 0; border-top: 1px solid rgba(19, 21, 21,0.15); }

/* ---------- 12. Chapter opener ----------------------------------------- */
.chapter {
  padding-block: var(--space-9);
}
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: start;
}
.chapter--spread .chapter-grid {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 560px);
  column-gap: clamp(4rem, 9vw, 9rem);
}
.chapter--spread .chapter-body {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.chapter-grid .label { margin-bottom: var(--space-4); }
.chapter-body p {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 60ch;
}
.tile-section .chapter-body p { color: #2A2A28; }
.pull-quote {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-block: var(--space-6);
  padding-inline-start: var(--space-5);
  border-inline-start: 3px solid var(--lime);
  max-width: 22ch;
}
.tile-section .pull-quote { color: var(--ink-000); border-color: var(--ink-000); }
.pull-quote cite {
  display: block;
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: var(--space-3);
  font-style: normal;
}

/* ---------- 13. Capability bento --------------------------------------- */
.cap-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
}
.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.cap-card:hover { border-color: var(--rule-lime); background: var(--ink-elev); }
.cap-card .label { color: var(--fg-mute); }
.cap-card h3 {
  font-size: var(--text-xl);
  line-height: 1.3;
  text-transform: uppercase;
}
.cap-card p { color: var(--fg-soft); }
.cap-card .cap-num {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.cap-card--wide { grid-column: span 6; }
.cap-card--std  { grid-column: span 3; }
.cap-card--tall { grid-column: span 4; grid-row: span 2; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; }
.cap-card--tall img { width: 100%; height: 100%; object-fit: cover; }
.cap-card--tall .cap-tall-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-5);
  background: linear-gradient(180deg, transparent, rgba(19, 21, 21,0.85));
  color: var(--paper);
}
.cap-card--tall { position: relative; }

/* Home — fluxo NEXA em quatro etapas. */
.home-process-section {
  background: var(--bg-alt);
  border-block: 1px solid var(--rule);
  scroll-margin-top: 88px;
}
.home-process-head {
  max-width: 780px;
  margin-inline: 0;
  text-align: left;
}
.home-process-head .eyebrow {
  justify-content: flex-start;
}
.home-process-head h2 {
  margin-top: var(--space-5);
  font-size: var(--text-4xl);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.home-process-head > p {
  max-width: 62ch;
  margin: var(--space-5) 0 0;
  color: var(--fg-soft);
  font-size: var(--text-lg);
}
.home-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.home-process-step {
  position: relative;
  min-width: 0;
}
.home-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 23px;
  left: 66px;
  width: calc(100% + var(--space-6) - 84px);
  height: 1px;
  background: var(--rule-strong);
}
.home-process-marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--ink-card);
  color: var(--lime);
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.home-process-step:hover .home-process-marker {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink-000);
  transform: translateY(-2px);
}
.home-process-copy {
  margin-top: var(--space-6);
}
.home-process-num {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
}
.home-process-copy h3 {
  margin-top: var(--space-3);
  font-size: var(--text-xl);
  line-height: 1.25;
  text-transform: uppercase;
}
.home-process-copy p {
  max-width: 31ch;
  margin-top: var(--space-3);
  color: var(--fg-soft);
  font-size: var(--text-base);
}

/* ---------- 14. Process / numbered steps ------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.process-card {
  padding: var(--space-6);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  color: var(--lime);
}
.process-card h3 { font-size: var(--text-lg); text-transform: uppercase; }
.process-card p { color: var(--fg-soft); font-size: var(--text-base); }

/* ---------- 15. Split-image chapter ------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-9);
}
.split--reverse .split-text { order: 2; }
.split-text { display: flex; flex-direction: column; gap: var(--space-5); }
.split-text h2 { font-size: var(--text-3xl); line-height: 1.22; text-transform: uppercase; }
.split-text p { color: var(--fg-soft); font-size: var(--text-base); line-height: 1.6; }
.tile-section .split-text p { color: #2A2A28; }
.split-fact-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.tile-section .split-fact-list { border-top-color: rgba(19, 21, 21,0.15); }
.split-fact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-sm);
}
.tile-section .split-fact-list li { border-bottom-color: rgba(19, 21, 21,0.15); }
.split-fact-list li b {
  font-family: var(--font-detail);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tile-section .split-fact-list li b { color: var(--fg-on-tile-mute); }
.split-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-md);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img--team {
  aspect-ratio: 3 / 2;
}
.split-img--team img {
  object-position: center;
}
.split-img .ft-corner {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--lime);
  color: var(--ink-000);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 16. Press / logo strip ------------------------------------- */
.press-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-block: var(--space-7);
  border-block: 1px solid var(--rule);
}
.press-strip .label { font-size: var(--text-xs); }
.press-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
  align-items: center;
  color: var(--fg-mute);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.press-row span { white-space: nowrap; transition: color var(--dur-fast) var(--ease-out); }
.press-row span:hover { color: var(--fg); }

/* ---------- 17. Pricing / service tiers --------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.tier-card.featured {
  background: var(--paper-tile);
  color: var(--ink-000);
  border-color: var(--paper-tile);
  box-shadow: var(--shadow-lime);
}
.tier-card.featured .label,
.tier-card.featured .tier-meta,
.tier-card.featured .tier-list li,
.tier-card.featured p { color: #2A2A28; }
.tier-card.featured .label { color: var(--fg-on-tile-mute); }
.tier-card.featured .tier-list li::before { background: var(--ink-000); }
.tier-card.featured h3 { color: var(--ink-000); }
.tier-card .label { color: var(--fg-mute); }
.tier-card h3 { font-size: var(--text-2xl); text-transform: uppercase; }
.tier-meta {
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  color: var(--fg-soft);
}
.tier-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.tier-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--fg-soft);
}
.tier-list li::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 8px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}
.tier-card.featured .tier-list li { color: #2A2A28; }
.tier-divider {
  border: 0;
  border-top: 1px solid var(--rule);
  margin-block: var(--space-3);
}
.tier-card.featured .tier-divider { border-top-color: rgba(19, 21, 21,0.15); }

/* ---------- 18. Forms --------------------------------------------------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: grid;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-row--full { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field label {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: var(--ink-000);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--fg);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  font-family: var(--font-body);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-deep); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: var(--lime);
  background: var(--ink-elev);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}
.form-actions small {
  color: var(--fg-mute);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}

/* ---------- 19. FAQ ----------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
}
.faq-card h3 {
  font-size: var(--text-lg);
  line-height: 1.3;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.faq-card p { color: var(--fg-soft); font-size: var(--text-sm); }

/* ---------- 20. Journal / notes grid ----------------------------------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.journal-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
}
.journal-card .j-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.journal-card .j-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-out);
}
.journal-card .j-img:hover img,
.journal-card .j-img:focus-visible img {
  transform: scale(1.025);
}
.journal-card h3 {
  font-size: var(--text-xl);
  line-height: 1.3;
  text-transform: uppercase;
}
.journal-card .j-meta {
  display: flex;
  gap: var(--space-3);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.journal-card > .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Blog -------------------------------------------------------- */
.blog-hero {
  padding-block: clamp(8rem, 16vw, 13rem) var(--space-9);
  border-bottom: 1px solid var(--rule);
}
.blog-hero h1 {
  max-width: 12ch;
  margin-top: var(--space-5);
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.blog-hero p {
  max-width: 66ch;
  margin-top: var(--space-6);
  color: var(--fg-soft);
  font-size: var(--text-lg);
}
.article-hero {
  padding-block: clamp(8rem, 15vw, 12rem) var(--space-8);
}
.article-hero-inner {
  max-width: 1080px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.article-hero h1 {
  max-width: 18ch;
  margin-top: var(--space-5);
  font-size: var(--text-5xl);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.article-hero p {
  max-width: 64ch;
  margin-top: var(--space-6);
  color: var(--fg-soft);
  font-size: var(--text-lg);
  line-height: 1.65;
}
.article-content {
  padding-block: 0 var(--space-10);
}
.article-body {
  max-width: 760px;
}
.article-body p,
.article-body li {
  color: var(--fg-soft);
}
.article-body p {
  font-size: var(--text-base);
  line-height: 1.8;
}
.article-body p + p,
.article-body ul + h2,
.article-body ul + h3,
.article-body p + h2,
.article-body p + h3 {
  margin-top: var(--space-5);
}
.article-body h2,
.article-body h3 {
  font-size: var(--text-xl);
  line-height: 1.3;
  text-transform: uppercase;
}
.article-body ul {
  margin: var(--space-5) 0;
  padding-inline-start: 1.2rem;
}
.article-body li + li {
  margin-top: var(--space-2);
}
.article-related {
  padding-block: var(--space-9);
  border-top: 1px solid var(--rule-strong);
}
.article-related .section-head {
  margin-bottom: var(--space-7);
}
.article-related .journal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
}
.article-related .journal-card {
  border-top: 0;
  padding-top: 0;
}

/* ---------- 21. Awards strip ------------------------------------------- */
.awards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--rule);
}
.award-cell {
  padding: var(--space-6) var(--space-4);
  border-inline-end: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
}
.award-cell:last-child { border-inline-end: 0; }
.award-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--lime);
}
.award-label {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ---------- 22. Team grid ---------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.team-card { display: flex; flex-direction: column; gap: var(--space-3); }
.team-card .t-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-card);
}
.team-card .t-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3); transition: filter var(--dur-base) var(--ease-out); }
.team-card:hover .t-img img { filter: grayscale(0); }
.team-card h3 {
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.team-card .t-role {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ---------- 23. Contact channels bento --------------------------------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.channel-card .label { color: var(--lime); }
.channel-card h3 { font-size: var(--text-xl); text-transform: uppercase; }
.channel-card p { color: var(--fg-soft); font-size: var(--text-sm); }
.channel-card .channel-line {
  font-family: var(--font-detail);
  font-size: var(--text-sm);
  color: var(--fg);
  letter-spacing: 0.04em;
}
.channel-card a.channel-line:hover { color: var(--lime); }

/* ---------- 24. Closing CTA -------------------------------------------- */
.closing-cta {
  background: var(--lime);
  color: var(--ink-000);
  padding-block: var(--space-9);
}
.closing-cta .container { display: grid; gap: var(--space-6); }
.closing-cta h2 {
  font-size: var(--text-mega);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.018em;
  color: var(--ink-000);
  max-width: 22ch;
}
.closing-cta .lede { color: rgba(19, 21, 21,0.75); max-width: 52ch; }
.closing-cta .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.closing-cta .btn--dark { background: var(--ink-000); color: var(--lime); }
.closing-cta .btn--dark:hover { background: var(--ink-elev); }
.closing-cta .btn--ghost {
  background: transparent;
  border-color: rgba(19, 21, 21,0.4);
  color: var(--ink-000);
}
.closing-cta .btn--ghost:hover { background: var(--ink-000); color: var(--lime); border-color: var(--ink-000); }

/* ---------- 25. Footer -------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  padding-block: var(--space-8) var(--space-6);
  border-top: 1px solid var(--rule);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--rule);
}
.footer-top h4 {
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: var(--space-4);
  font-weight: 400;
}
.footer-top ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-top ul a { color: var(--fg-soft); font-size: var(--text-sm); }
.footer-top ul a:hover { color: var(--lime); }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-brand .brand--logo { align-self: flex-start; }
.footer-brand .brand-logo { width: 188px; max-width: 100%; }
.footer-brand p { color: var(--fg-soft); font-size: var(--text-sm); max-width: 32ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  color: var(--fg-mute);
  font-family: var(--font-detail);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-bottom .footer-meta-links { display: flex; gap: var(--space-5); }
.footer-bottom a:hover { color: var(--lime); }

/* ---------- 26. Misc helpers ------------------------------------------- */
.divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.hidden  { display: none; }
.lime-text { color: var(--lime); }

/* ---------- 27. Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 28. Responsive --------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .hero-media { max-width: 100%; aspect-ratio: 4 / 3; justify-self: stretch; }
  .section-head { grid-template-columns: 1fr; gap: var(--space-4); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-inline-end: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .work-grid { grid-template-columns: repeat(6, 1fr); }
  .work-item--xl, .work-item--lg { grid-column: span 6; }
  .work-item--md, .work-item--sm { grid-column: span 3; }
  .product-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-showcase-card--wide,
  .product-showcase-card--narrow { grid-column: span 1; }
  .product-showcase-card { min-height: clamp(420px, 52vw, 500px); }
  .cap-bento { grid-template-columns: repeat(6, 1fr); }
  .cap-card--wide, .cap-card--tall { grid-column: span 6; }
  .cap-card--std { grid-column: span 3; }
  .cap-card--tall { grid-row: auto; aspect-ratio: 16 / 10; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-text { order: initial; }
  .press-strip { grid-template-columns: 1fr; gap: var(--space-4); }
  .tier-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr; }
  .article-related .journal-grid { grid-template-columns: 1fr; }
  .awards-strip { grid-template-columns: repeat(2, 1fr); }
  .award-cell:nth-child(2) { border-inline-end: 0; }
  .award-cell:nth-child(1), .award-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .chapter-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .chapter--spread .chapter-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
  .chapter--spread .chapter-body {
    max-width: none;
  }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .home-process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 680px;
    margin-inline: 0;
  }
  .home-process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--space-5);
    padding-bottom: var(--space-7);
  }
  .home-process-step:last-child {
    padding-bottom: 0;
  }
  .home-process-step:not(:last-child)::after {
    top: 64px;
    bottom: 16px;
    left: 23px;
    width: 1px;
    height: auto;
  }
  .home-process-copy {
    margin-top: 0;
  }
  .home-process-copy p {
    max-width: 52ch;
  }
}

@media (max-width: 720px) {
  .hero--centered { min-height: max(760px, calc(100svh - 72px)); }
  .hero-center { padding-block: var(--space-8); }
  .hero-badge {
    max-width: 100%;
    padding: 8px 13px;
    font-size: 0.75rem;
  }
  .hero-center-title {
    margin-top: var(--space-5);
    font-size: clamp(2.45rem, 11vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }
  .hero-center-sub {
    margin-top: var(--space-5);
    font-size: var(--text-base);
    line-height: 1.55;
  }
  .hero-center-actions {
    width: min(100%, 340px);
    margin-inline: auto;
    margin-top: var(--space-5);
    flex-direction: column;
  }
  .hero-center-actions .btn { width: 100%; }
  .hero-proof {
    margin-top: var(--space-7);
  }
  .hero-proof-item { padding-inline: var(--space-2); }
  .hero-proof-item strong { font-size: var(--text-xl); }
  .hero-proof-item span {
    max-width: 11ch;
    font-size: 0.625rem;
    line-height: 1.35;
  }
  .form-row { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-cell { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .stat-cell:last-child { border-bottom: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item--xl, .work-item--lg, .work-item--md, .work-item--sm { grid-column: span 1; }
  .product-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .product-showcase-card--wide,
  .product-showcase-card--narrow { grid-column: span 1; }
  .product-showcase-card { min-height: 400px; }
  .product-showcase-brand img,
  .product-showcase-card--narrow .product-showcase-brand img {
    width: min(72%, 220px);
    max-height: 90px;
  }
  .product-showcase-copy,
  .product-showcase-card--narrow .product-showcase-copy {
    padding: var(--space-6);
  }
  .product-showcase-copy h3,
  .product-showcase-card--narrow .product-showcase-copy h3 {
    font-size: var(--text-2xl);
  }
  .product-showcase-copy p,
  .product-showcase-card--narrow .product-showcase-copy p {
    font-size: var(--text-base);
  }
  .cap-bento { grid-template-columns: 1fr; }
  .cap-card--wide, .cap-card--std, .cap-card--tall { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .awards-strip { grid-template-columns: 1fr; }
  .award-cell { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .award-cell:last-child { border-bottom: 0; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-headline {
    font-size: clamp(1.65rem, 7vw, 2.5rem);
    letter-spacing: -0.025em;
  }
  .closing-cta h2 { font-size: var(--text-4xl); }
}

@media (max-width: 360px) {
  .nav-cta-row .btn { display: none; }
  .nav-cta-row { margin-inline-start: auto; }
}
