html { scroll-behavior: smooth; }

/* ───── Lenis smooth-scroll baseline ───── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #050505;
  color: #fafafa;
  cursor: none;
}

/* ───── Custom cursor ───── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  transition: width 0.25s, height 0.25s, background 0.25s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1),
              height 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s, background 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}
body.cursor-hover .cursor-dot {
  width: 8px; height: 8px;
}
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ───── Grain ───── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ───── Backgrounds ───── */
.dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.line-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ───── Animations ───── */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.animate-blink { animation: blink 1.05s step-end infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px) }
  to { opacity: 1; transform: translateY(0) }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1 }
  50%     { transform: scale(2.4); opacity: 0 }
}
.pulse-dot::after {
  content:''; position:absolute; inset:0;
  border-radius:50%; background:inherit;
  animation: pulse-dot 2.2s ease-out infinite;
}

.marquee-scroll {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  contain: paint;
  touch-action: none;
  max-width: 100%;
}
.marquee-scroll.is-dragging { cursor: grabbing; }
.marquee-track,
.marquee-track-fast {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

@keyframes node-blink {
  0%,100% { opacity: 0.4 }
  50%     { opacity: 1 }
}
.node-blink { animation: node-blink 2.6s ease-in-out infinite; }

/* Toggled by the offscreen-animation IO below to halt always-on infinite
   animations while their host element is outside the viewport — saves
   compositor work on the dozens of node-blink/pulse-dot elements. */
.anim-paused,
.anim-paused::after,
.anim-paused::before { animation-play-state: paused !important; }

@keyframes line-trace {
  0%   { stroke-dashoffset: 200 }
  100% { stroke-dashoffset: 0 }
}
.line-trace { animation: line-trace 4s ease-in-out infinite; }

@keyframes float-y {
  0%,100% { transform: translateY(0) }
  50%     { transform: translateY(-8px) }
}
.float-y { animation: float-y 6s ease-in-out infinite; }

/* ───── FX boxes (three-pillar visual cards) ─────
   One organising motion per surface. Modulok: a slow antidiagonal
   wave of light traverses the grid. Waveform: paths flow softly,
   centre node breathes. Orbits: the rings revolve around the core,
   a single pulse expands outward. Everything tagged .fx-anim is
   paused offscreen by the IO below. */

/* Modulok: every cell shares the same animation, staggered by
   antidiagonal index (i + j) so peaks sweep NW→SE. */
@keyframes fx-cell-dim {
  0%, 72%, 100% { opacity: 0.08; }
  36%           { opacity: 0.42; }
}
@keyframes fx-cell-glow {
  0%, 72%, 100% {
    opacity: 0.55;
    transform: scale(1);
    box-shadow: 0 0 0 currentColor;
  }
  36% {
    opacity: 1;
    transform: scale(1.32);
    box-shadow: 0 0 14px currentColor, 0 0 4px currentColor;
  }
}
.fx-cell-dim,
.fx-cell-glow {
  animation-duration: 4.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc((var(--i, 0) + var(--j, 0)) * 0.14s);
}
.fx-cell-dim  { animation-name: fx-cell-dim;  }
.fx-cell-glow { animation-name: fx-cell-glow; will-change: transform; }

/* Waveform: slow dash flow, like quiet signal travelling */
@keyframes fx-wave-flow {
  to { stroke-dashoffset: -160; }
}
.fx-wave-flow {
  stroke-dasharray: 4 10;
  animation: fx-wave-flow 7.5s linear infinite;
}

/* Centre node breathing (single soft pulse) */
@keyframes fx-core-breathe {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 4px rgba(255,255,255,0.35)); }
  50%      { transform: scale(1.45); filter: drop-shadow(0 0 12px rgba(236,72,153,0.65)); }
}
.fx-core-breathe {
  transform-box: fill-box;
  transform-origin: center;
  animation: fx-core-breathe 4.2s ease-in-out infinite;
}

/* Single expanding ring outward from the orbits' core */
@keyframes fx-ring-out {
  0%   { transform: scale(0.35); opacity: 0.7; }
  100% { transform: scale(2.5);  opacity: 0; }
}
.fx-ring-out {
  transform-box: fill-box;
  transform-origin: center;
  animation: fx-ring-out 5s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .fx-cell-dim, .fx-cell-glow, .fx-wave-flow,
  .fx-core-breathe, .fx-ring-out {
    animation: none !important;
  }
}

/* ───── Hero intro reveal (one-shot on first WebGL frame) ─────
   The canvas stays at opacity 0 until JS adds .hero-ready right after
   the first gl.drawArrays() — this prevents the visible "flash to a
   blurred form" you'd otherwise get during WebGL boot, because the
   animation only begins from a coherent painted state.

   Once ready, the field blooms outward from the wordmark center via a
   clip-path circle, while the rings keep animating beneath. Scale and
   color settle in lockstep so the whole reveal feels like one motion
   rather than several effects stacked. */
@keyframes hero-canvas-bloom {
  0% {
    opacity: 1;
    transform: scale(1.06);
    clip-path: circle(0% at 50% 62%);
    -webkit-clip-path: circle(0% at 50% 62%);
    filter: saturate(0.55) brightness(0.82);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    clip-path: circle(150% at 50% 62%);
    -webkit-clip-path: circle(150% at 50% 62%);
    filter: saturate(1) brightness(1);
  }
}
@keyframes hero-vignette-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-fx-canvas {
  opacity: 0;
  clip-path: circle(0% at 50% 62%);
  -webkit-clip-path: circle(0% at 50% 62%);
  will-change: transform, clip-path, filter;
}
.hero-fx-canvas.hero-ready {
  animation: hero-canvas-bloom 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-fx-vignette {
  opacity: 0;
}
.hero-fx-canvas.hero-ready ~ .hero-fx-vignette {
  animation: hero-vignette-in 2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-fx-canvas, .hero-fx-vignette {
    animation: none !important;
    opacity: 1; transform: none; filter: none;
    clip-path: none; -webkit-clip-path: none;
  }
}

/* ───── Reveal on scroll ───── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1),
              transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s }
.reveal[data-d="2"] { transition-delay: .16s }
.reveal[data-d="3"] { transition-delay: .24s }
.reveal[data-d="4"] { transition-delay: .32s }
.reveal[data-d="5"] { transition-delay: .40s }

/* ───── Blur-reveal (per-word) ───── */
[data-anim-blur] .br-word {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(10px);
  transition:
    opacity .9s cubic-bezier(0.16, 1, 0.3, 1),
    filter  .9s cubic-bezier(0.16, 1, 0.3, 1),
    transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 35ms);
  will-change: opacity, filter, transform;
}
[data-anim-blur].br-in .br-word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-anim-blur] .br-word {
    opacity: 1; filter: none; transform: none; transition: none;
  }
}

/* ───── Type styles ───── */
.display-mega {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-variation-settings: "opsz" 96, "wght" 420;
}
.display-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-variation-settings: "opsz" 72, "wght" 440;
}
.italic-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ───── Hero position lock: only the vertical rhythm is viewport-
   relative, so content sits at the same proportional spot on every
   desktop viewport / zoom level. Typography, icons, paddings stay
   rem-based so they scale visually with browser zoom (like the navbar).
   The WebGL rings re-anchor automatically to the wordmark's CSS height
   via updateAnchor() (RING_RADIUS_VS_WM in JS). ───── */
@media (min-width: 1280px) {
  #hero h2 { margin-top: -0.3125vw; }                                       /* -8px  @ 2560 */
  #hero > .relative.z-10 > p { margin-top: 0.9375vw; }                       /* 24px  @ 2560 */
  #hero > .relative.z-10 > .flex.flex-col.sm\:flex-row { margin-top: 1.5625vw; } /* 40px @ 2560 */
  #hero > .relative.z-10 { padding-bottom: 9.375vw; }                        /* 240px @ 2560 */
}

/* ───── 4K-TV trim: at the same browser zoom, a 4K panel with
   compounded Windows DPI scaling shows the same CSS larger than a
   1440p panel does (DPR ≈ 2.25 vs 1.5 at viewport 1707). Shrink the
   hero content by ~12% on very high-DPR desktops so the visual feel
   matches 1440p @ 150% instead of 1440p @ 170%. The WebGL rings
   auto-follow because updateAnchor() reads the scaled wordmark
   dimensions from getBoundingClientRect. ───── */
@media (min-resolution: 2dppx) and (min-width: 1280px) {
  #hero > .relative.z-10 {
    transform: scale(0.88);
    transform-origin: center bottom;
  }
}

/* ───── 1080p-TV trim: a 1080p TV running the browser at the OS's
   default UI scaling lands at ~1270 CSS px wide with DPR ≈ 1. From a
   10-foot viewing distance the lg: hero typography reads as far too
   zoomed in, so on low-DPR viewports in that range pull the hero
   down by ~25% to match the visual weight a desktop monitor delivers
   at the same width. ───── */
@media (max-resolution: 1.5dppx) and (min-width: 1200px) and (max-width: 1500px) {
  #hero > .relative.z-10 {
    transform: scale(0.75);
    transform-origin: center bottom;
  }
}

.label-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
}

/* ───── Misc ───── */
::selection { background: rgba(168,85,247,0.55); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

.module-card {
  transition: transform .55s cubic-bezier(0.16,1,0.3,1),
              background .4s, border-color .4s;
}
.module-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.16);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content:''; position:absolute;
  left:0; bottom:-2px; width:100%; height:1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s cubic-bezier(0.16,1,0.3,1);
}
.link-underline:hover::after {
  transform: scaleX(1); transform-origin: left;
}

/* radial mask for sections */
.mask-radial {
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* nav islands — base + scrolled shadow.
   Asymmetric timing: faster + bouncy when growing (Dynamic-Island pop),
   slower + smooth when shrinking (settle). Transition rules are read from
   the *target* state, so base = grow timing, .scrolled = shrink timing. */
.nav-island {
  /* Grow direction: 480ms with a fluid overshoot. */
  transition:
    transform 0.48s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.5s ease,
    background-color 0.3s ease;
  will-change: transform;
}
#nav.scrolled .nav-island {
  /* Shrink direction: 720ms with Apple's standard fluid ease (no overshoot). */
  transition:
    transform 0.72s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.5s ease,
    background-color 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* Dynamic-Island-style expanded state at top of page.
   Subtle ~8% scale-up with a springy bezier + staggered delays
   so the three pills settle sequentially instead of in lockstep. */
#nav:not(.scrolled) a.nav-island,
#nav:not(.scrolled) button.nav-island {
  transform: scale(1.08);
}
/* Center pill already carries translate(-50%, -50%) — combine. */
nav.nav-island {
  transform: translate(-50%, -50%) scale(1);
}
#nav:not(.scrolled) nav.nav-island {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Stagger: logo first, center next, CTA last — gives a lively, ordered morph. */
a.nav-island      { transition-delay: 0ms; }
nav.nav-island    { transition-delay: 60ms; }
button.nav-island { transition-delay: 120ms; }

/* ───── Nav submenu — iOS/macOS "liquid glass" ─────
   Lives under the Szolgáltatások pill. Hover the trigger (or the panel)
   to reveal a translucent, blurred card with the three service routes
   plus a footer link to the overview page. The visual is built from
   four stacked refractive layers (blur, saturated tint, top specular
   highlight, soft drop shadow) so it reads like a real glass slab
   rather than a flat dropdown. */
.nav-has-submenu {
  position: relative;
  /* Inherit anchor-like inline layout so flex spacing in the parent
     nav (gap-1) is preserved — the wrapper is a transparent flex item. */
  display: inline-flex;
  align-items: center;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  /* The wrapper carries a transparent bridge area so the cursor can
     traverse the gap between trigger and card without losing :hover.
     padding-top doubles as the visual offset for the glass panel. */
  padding-top: 14px;
  transform: translate(-50%, -6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 0.32s;
  z-index: 50;
}

.nav-has-submenu:hover .nav-submenu,
.nav-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 0s;
}

/* Tiny chevron next to the Szolgáltatások trigger — signals that the
   pill expands. Subtle at rest, brightens and flips up when the submenu
   is open so the user gets a quiet "this opens something" cue. */
.nav-submenu-chevron {
  /* Reserve box BEFORE iconify-icon hydrates — otherwise the chevron
     pops in at width 11px after the SVG fetch resolves, widening the
     Szolgáltatások pill and shifting Termékeink/Rólunk/Kapcsolat to
     the right on every page load. */
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: none;
  opacity: 0.5;
  transition:
    transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.22s ease;
}
.nav-has-submenu:hover .nav-submenu-chevron,
.nav-has-submenu:focus-within .nav-submenu-chevron {
  opacity: 1;
  transform: rotate(180deg);
}

.nav-submenu-glass {
  position: relative;
  width: 320px;
  padding: 8px;
  border-radius: 22px;
  /* Layer 1 — vertical tint gradient (top is brighter, like light
     skimming off the top edge of a glass tile) over a denser dark
     base so menu text reads cleanly against busy backdrops. The
     liquid-glass character still comes from the blur + edge highlights
     below — we're only raising contrast, not flattening the slab. */
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.05) 60%,
      rgba(255, 255, 255, 0.07) 100%
    ),
    rgba(14, 14, 17, 0.82);
  /* Layer 2 — saturated blur, the core of the liquid-glass effect.
     -webkit- prefix kept for Safari support. */
  backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Layer 3 — inset hairlines: bright on top (specular), dim on bottom
     (refraction shadow). Layer 4 — large diffuse drop for depth. */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 22px 60px -18px rgba(0, 0, 0, 0.65),
    0 8px 24px -10px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

/* Soft top sheen — a curved highlight that simulates light catching
   the top rim of the glass. Sits above the tint layer, below content. */
.nav-submenu-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      120% 60% at 50% -10%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0) 55%
    );
  pointer-events: none;
  z-index: 0;
}

.nav-submenu-glass > * { position: relative; z-index: 1; }

.nav-submenu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  transition:
    background-color 0.22s ease,
    transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-submenu-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-submenu-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.nav-submenu-icon--blue   { color: #93c5fd; }
.nav-submenu-icon--pink   { color: #f9a8d4; }
.nav-submenu-icon--purple { color: #c4b5fd; }

.nav-submenu-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-submenu-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.2;
}

.nav-submenu-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  margin-top: 2px;
}

.nav-submenu-divider {
  height: 1px;
  margin: 6px 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 20%,
    rgba(255, 255, 255, 0.10) 80%,
    transparent 100%
  );
}

.nav-submenu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.nav-submenu-foot:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-submenu-foot-arrow {
  transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-submenu-foot:hover .nav-submenu-foot-arrow {
  transform: translateX(2px);
}

/* ───── Subpage hero (no WebGL) ─────
   Lighter hero used on /szolgaltatasok/, /termekeink/, /rolunk/, etc.
   Uses the same dot-grid + radial vignette + label-mono kicker as the
   main hero, but without the WebGL canvas or giant wordmark, so subpages
   feel cohesive without burning GPU on every page. */
.subhero {
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
}
.subhero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(59,130,246,0.10), transparent 70%);
}
.subhero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
}

/* ───── FAQ accordion (kapcsolat page) ───── */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .35s cubic-bezier(0.16,1,0.3,1); }

/* ───── Subpage section nav (sticky in-page links) ───── */
.subnav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color .3s, background .3s;
  white-space: nowrap;
}
.subnav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
