/* ==========================================================================
   Fourth Quest — Design System Layer
   --------------------------------------------------------------------------
   Loaded AFTER font-awesome.css, bootstrap.css and styles.css.
   Everything here is namespaced `fq-` except for a small, explicitly marked
   block of Bootstrap component overrides at the end.

   Design direction: "engineering spec sheet".
     - Hairline 1px rules form a technical grid; cards share edges.
     - Monospace carries metadata (eyebrows, tags, counts, status).
     - Navy ink, generous whitespace, one sharp accent (brand blue).
     - Motion is functional only: staggered load, scroll reveal, 150ms hovers.

   Brand colors are preserved exactly:
     primary #027BCD · secondary #12724c · pink #cc2973 · dark #191e47
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand — unchanged from bootstrap.css */
  --fq-blue: #027bcd;
  --fq-green: #12724c;
  --fq-pink: #cc2973;
  --fq-ink: #191e47;

  /* Brand tints & shades, derived */
  --fq-blue-900: #014a7b;
  --fq-blue-700: #0264a6;
  --fq-blue-100: #cfe6f7;
  --fq-blue-050: #eef6fd;
  --fq-green-700: #0d5a3c;
  --fq-green-050: #eaf3ef;
  --fq-pink-050: #fceef4;

  /* Neutrals */
  --fq-body: #4a5068;
  --fq-muted: #757b93;
  --fq-line: #e4e7f0;
  --fq-line-strong: #ccd2e2;
  --fq-bg: #ffffff;
  --fq-bg-soft: #f7f8fc;
  --fq-bg-softer: #fbfcfe;

  /* Type */
  --fq-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fq-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fq-step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --fq-step-0: clamp(0.9375rem, 0.91rem + 0.14vw, 1.0625rem);
  --fq-step-1: clamp(1.0625rem, 1.01rem + 0.28vw, 1.25rem);
  --fq-step-2: clamp(1.25rem, 1.16rem + 0.45vw, 1.5rem);
  --fq-step-3: clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --fq-step-4: clamp(1.875rem, 1.6rem + 1.4vw, 2.75rem);
  --fq-step-5: clamp(1.75rem, 1.4rem + 1.85vw, 2.95rem);

  /* Space */
  --fq-1: 0.25rem;
  --fq-2: 0.5rem;
  --fq-3: 0.75rem;
  --fq-4: 1rem;
  --fq-5: 1.5rem;
  --fq-6: 2rem;
  --fq-7: 3rem;
  --fq-8: 4rem;
  --fq-9: 6rem;

  /* Form */
  --fq-radius: 10px;
  --fq-radius-sm: 6px;
  --fq-shadow-sm: 0 1px 2px rgba(25, 30, 71, 0.05);
  --fq-shadow: 0 4px 16px -4px rgba(25, 30, 71, 0.1);
  --fq-shadow-lg: 0 18px 44px -12px rgba(25, 30, 71, 0.18);
  --fq-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --fq-nav-h: 88px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  /* Sticky nav must not cover anchor targets. */
  scroll-padding-top: calc(var(--fq-nav-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body.fq {
  font-family: var(--fq-sans);
  font-size: var(--fq-step-0);
  line-height: 1.65;
  color: var(--fq-body);
  background: var(--fq-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

body.fq h1,
body.fq h2,
body.fq h3,
body.fq h4,
body.fq h5,
body.fq h6 {
  font-family: var(--fq-sans);
  color: var(--fq-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

body.fq a {
  color: var(--fq-blue);
  text-decoration: none;
  transition: color 0.15s var(--fq-ease);
}

body.fq a:hover {
  color: var(--fq-blue-700);
}

body.fq p {
  text-wrap: pretty;
}

body.fq ::selection {
  background: var(--fq-blue-100);
  color: var(--fq-ink);
}

body.fq :focus-visible {
  outline: 2px solid var(--fq-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link — keyboard users land here first. */
body.fq .fq-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  background: var(--fq-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--fq-radius-sm) 0;
  font-size: var(--fq-step--1);
  font-weight: 500;
}

.fq-skip:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.fq-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.fq-wrap--narrow {
  max-width: 820px;
}

.fq-section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* Every page: the first section sits close under the page title, instead of
   stacking the title's bottom padding on top of the section's own. */
.fq-pagehead + .fq-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.fq-section--tight {
  padding-block: clamp(2.5rem, 5vw, var(--fq-8));
}

/* Trim the seam where two content sections stack, so the next one peeks
   above the fold and readers know to keep scrolling. */
.fq-section--tight-top {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.fq-section--tight-bottom {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.fq-section--soft {
  background: var(--fq-bg-soft);
  border-block: 1px solid var(--fq-line);
}

.fq-section--ink {
  background: var(--fq-ink);
  color: rgba(255, 255, 255, 0.76);
}

.fq-section--ink h1,
.fq-section--ink h2,
.fq-section--ink h3,
.fq-section--ink h4 {
  color: #fff;
}

.fq-divider {
  height: 1px;
  background: var(--fq-line);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */

/* Monospace eyebrow — the recurring "spec sheet" signal.
   Pairs an index number with a section label. */
.fq-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fq-muted);
  margin-bottom: var(--fq-4);
}

.fq-eyebrow::before {
  content: attr(data-index);
  color: var(--fq-blue);
}

.fq-eyebrow--plain::before {
  content: none;
}

.fq-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fq-line);
}

.fq-eyebrow--center {
  justify-content: center;
}

.fq-eyebrow--center::after {
  display: none;
}

.fq-h1 {
  font-size: var(--fq-step-5);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.fq-h2 {
  font-size: var(--fq-step-4);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.fq-h3 {
  font-size: var(--fq-step-3);
  letter-spacing: -0.025em;
}

.fq-h4 {
  font-size: var(--fq-step-2);
  letter-spacing: -0.02em;
}

.fq-lead {
  font-size: var(--fq-step-1);
  line-height: 1.6;
  color: var(--fq-body);
  max-width: 62ch;
}

.fq-lead--lg {
  font-size: var(--fq-step-2);
  font-weight: 400;
  line-height: 1.5;
}

.fq-small {
  font-size: var(--fq-step--1);
  color: var(--fq-muted);
}

.fq-mono {
  font-family: var(--fq-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.fq-measure {
  max-width: 68ch;
}

.fq-accent {
  color: var(--fq-blue);
}

.fq-accent-green {
  color: var(--fq-green);
}

/* Section heading block */
.fq-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, var(--fq-7));
}

.fq-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Sits the heading close to the content it introduces. */
.fq-head--tight {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.fq-head p {
  margin-top: var(--fq-4);
  margin-bottom: 0;
  font-size: var(--fq-step-1);
  color: var(--fq-body);
}

/* --------------------------------------------------------------------------
   5. Cell grid — the signature component
   Children share hairline edges, forming one continuous technical table.
   -------------------------------------------------------------------------- */

.fq-cells {
  --fq-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--fq-cols), minmax(0, 1fr));
  border-top: 1px solid var(--fq-line);
  border-left: 1px solid var(--fq-line);
  background: var(--fq-bg);
}

.fq-cells--2 {
  --fq-cols: 2;
}
.fq-cells--4 {
  --fq-cols: 4;
}

/* Spans the full row. Use for a closing statement that would otherwise be
   left orphaned on a row of its own. */
.fq-cell--wide {
  grid-column: 1 / -1;
}

.fq-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--fq-3);
  padding: clamp(1.25rem, 2.5vw, var(--fq-6));
  border-right: 1px solid var(--fq-line);
  border-bottom: 1px solid var(--fq-line);
  background: var(--fq-bg);
  transition: background 0.18s var(--fq-ease), box-shadow 0.18s var(--fq-ease);
}

/* Interactive cells lift and reveal a blue leading edge. */
body.fq a.fq-cell,
.fq-cell--link {
  color: inherit;
}

a.fq-cell::after,
.fq-cell--link::after {
  content: "";
  position: absolute;
  inset-inline-start: -1px;
  inset-block: -1px auto;
  width: 2px;
  height: 100%;
  background: var(--fq-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s var(--fq-ease);
}

a.fq-cell:hover,
.fq-cell--link:hover {
  background: var(--fq-bg-softer);
  box-shadow: var(--fq-shadow);
  z-index: 2;
  color: inherit;
}

a.fq-cell:hover::after,
.fq-cell--link:hover::after {
  transform: scaleY(1);
}

.fq-cell__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fq-radius-sm);
  background: var(--fq-blue-050);
  color: var(--fq-blue);
  font-size: 1rem;
  flex: none;
}

.fq-cell__icon--green {
  background: var(--fq-green-050);
  color: var(--fq-green);
}

.fq-cell__title {
  font-size: var(--fq-step-1);
  font-weight: 600;
  color: var(--fq-ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.fq-cell__body {
  margin: 0;
  font-size: var(--fq-step--1);
  line-height: 1.6;
  color: var(--fq-body);
}

.fq-cell__foot {
  margin-top: auto;
  padding-top: var(--fq-2);
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
  display: flex;
  align-items: center;
  gap: var(--fq-2);
  flex-wrap: wrap;
}

/* Arrow affordance on linked cells */
.fq-cell__go {
  margin-top: auto;
  padding-top: var(--fq-3);
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fq-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fq-cell__go i,
.fq-cell__go span {
  transition: transform 0.2s var(--fq-ease);
}

a.fq-cell:hover .fq-cell__go i,
.fq-cell--link:hover .fq-cell__go i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .fq-cells {
    --fq-cols: 2;
  }
}

@media (max-width: 600px) {
  .fq-cells,
  .fq-cells--2,
  .fq-cells--4 {
    --fq-cols: 1;
  }
}

/* --------------------------------------------------------------------------
   6. Standalone card (used where cells would be too rigid)
   -------------------------------------------------------------------------- */

.fq-card {
  display: flex;
  flex-direction: column;
  gap: var(--fq-3);
  padding: clamp(1.25rem, 2.5vw, var(--fq-6));
  background: var(--fq-bg);
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius);
  box-shadow: var(--fq-shadow-sm);
  transition: border-color 0.18s var(--fq-ease), box-shadow 0.18s var(--fq-ease),
    transform 0.18s var(--fq-ease);
}

a.fq-card:hover,
.fq-card--link:hover {
  border-color: var(--fq-blue-100);
  box-shadow: var(--fq-shadow);
  transform: translateY(-2px);
  color: inherit;
}

.fq-card__title {
  font-size: var(--fq-step-1);
  font-weight: 600;
  color: var(--fq-ink);
  margin: 0;
  letter-spacing: -0.02em;
}

.fq-card__body {
  margin: 0;
  font-size: var(--fq-step--1);
  line-height: 1.65;
  color: var(--fq-body);
}

.fq-stack {
  display: grid;
  gap: var(--fq-4);
}

.fq-stack--lg {
  gap: var(--fq-5);
}

.fq-cols {
  display: grid;
  gap: var(--fq-5);
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

/* --------------------------------------------------------------------------
   7. Badges & tags
   -------------------------------------------------------------------------- */

.fq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.fq-badge--soon {
  background: var(--fq-bg-soft);
  color: var(--fq-muted);
  border-color: var(--fq-line-strong);
}

.fq-badge--build {
  background: var(--fq-blue-050);
  color: var(--fq-blue-900);
  border-color: var(--fq-blue-100);
}

.fq-badge--live {
  background: var(--fq-green-050);
  color: var(--fq-green-700);
  border-color: #c3ddd1;
}

.fq-badge--free {
  background: var(--fq-pink-050);
  color: var(--fq-pink);
  border-color: #f3cfe0;
}

.fq-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* Tech tag — plain text token, no chrome */
.fq-tag {
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--fq-muted);
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius-sm);
  background: var(--fq-bg-soft);
  white-space: nowrap;
}

.fq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fq-2);
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

.fq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--fq-radius-sm);
  border: 1px solid transparent;
  font-family: var(--fq-sans);
  font-size: var(--fq-step--1);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s var(--fq-ease), border-color 0.15s var(--fq-ease),
    color 0.15s var(--fq-ease), box-shadow 0.15s var(--fq-ease),
    transform 0.15s var(--fq-ease);
}

.fq-btn:active {
  transform: translateY(1px);
}

body.fq .fq-btn--primary {
  background: var(--fq-blue);
  border-color: var(--fq-blue);
  color: #fff;
  box-shadow: var(--fq-shadow-sm);
}

body.fq .fq-btn--primary:hover {
  background: var(--fq-blue-700);
  border-color: var(--fq-blue-700);
  color: #fff;
  box-shadow: var(--fq-shadow);
}

body.fq .fq-btn--outline {
  background: var(--fq-bg);
  border-color: var(--fq-line-strong);
  color: var(--fq-ink);
}

body.fq .fq-btn--outline:hover {
  border-color: var(--fq-ink);
  background: var(--fq-bg);
  color: var(--fq-ink);
}

body.fq .fq-btn--green {
  background: var(--fq-green);
  border-color: var(--fq-green);
  color: #fff;
}

body.fq .fq-btn--green:hover {
  background: var(--fq-green-700);
  border-color: var(--fq-green-700);
  color: #fff;
}

body.fq .fq-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--fq-ink);
  padding-inline: 0.5rem;
}

body.fq .fq-btn--ghost:hover {
  color: var(--fq-blue);
}

body.fq .fq-btn--on-ink {
  background: #fff;
  border-color: #fff;
  color: var(--fq-ink);
}

body.fq .fq-btn--on-ink:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--fq-ink);
}

body.fq .fq-btn--on-ink-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

body.fq .fq-btn--on-ink-outline:hover {
  border-color: #fff;
  color: #fff;
}

.fq-btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--fq-step-0);
}

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

.fq-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fq-3);
  align-items: center;
}

/* Inline text link with arrow */
.fq-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fq-step--1);
  color: var(--fq-blue);
}

.fq-link i {
  font-size: 0.75em;
  transition: transform 0.2s var(--fq-ease);
}

.fq-link:hover i {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   9. Navigation
   -------------------------------------------------------------------------- */

.fq-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--fq-ease), box-shadow 0.2s var(--fq-ease);
}

.fq-nav.is-stuck {
  border-bottom-color: var(--fq-line);
  box-shadow: 0 1px 12px rgba(25, 30, 71, 0.06);
}

.fq-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--fq-4);
  min-height: var(--fq-nav-h);
}

.fq-nav__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}

.fq-nav__brand img {
  height: 48px;
  width: auto;
  display: block;
}

.fq-nav__menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.fq .fq-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--fq-radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fq-ink);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--fq-sans);
  transition: background 0.15s var(--fq-ease), color 0.15s var(--fq-ease);
}

.fq-nav .fq-wrap {
  max-width: 1260px;
}

.fq-nav__actions .fq-btn {
  padding-inline: 1.15rem;
}

body.fq .fq-nav__link:hover {
  background: var(--fq-bg-soft);
  color: var(--fq-blue);
}

.fq-nav__link[aria-current="page"] {
  color: var(--fq-blue);
}

.fq-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--fq-blue);
}

.fq-nav__caret {
  font-size: 0.6rem;
  color: var(--fq-muted);
  transition: transform 0.2s var(--fq-ease);
}

.fq-nav__link[aria-expanded="true"] .fq-nav__caret {
  transform: rotate(180deg);
}

.fq-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--fq-3);
  flex: none;
  margin-left: var(--fq-3);
}

.fq-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--fq-line-strong);
  border-radius: var(--fq-radius-sm);
  background: var(--fq-bg);
  color: var(--fq-ink);
  cursor: pointer;
}

/* --- Products dropdown panel ------------------------------------------- */

.fq-nav__item {
  position: relative;
}

.fq-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  translate: -50% 0;
  width: min(620px, calc(100vw - 3rem));
  background: var(--fq-bg);
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius);
  box-shadow: var(--fq-shadow-lg);
  padding: var(--fq-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--fq-ease), transform 0.18s var(--fq-ease),
    visibility 0.18s;
}

.fq-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fq-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.125rem;
}

.fq-panel__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--fq-radius-sm);
  transition: background 0.15s var(--fq-ease);
}

.fq-panel__item:hover {
  background: var(--fq-bg-soft);
}

.fq-panel__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fq-ink);
  letter-spacing: -0.015em;
}

.fq-panel__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fq-muted);
}

.fq-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fq-3);
  margin-top: 0.125rem;
  padding: 0.75rem 0.875rem 0.5rem;
  border-top: 1px solid var(--fq-line);
}

.fq-panel__foot .fq-mono {
  color: var(--fq-muted);
}

/* --- Mobile ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .fq-nav__toggle {
    display: inline-flex;
  }

  .fq-nav__collapse {
    position: fixed;
    inset: var(--fq-nav-h) 0 auto 0;
    max-height: calc(100dvh - var(--fq-nav-h));
    overflow-y: auto;
    background: var(--fq-bg);
    border-bottom: 1px solid var(--fq-line);
    box-shadow: var(--fq-shadow-lg);
    padding: var(--fq-4) clamp(1.25rem, 4vw, 2.5rem) var(--fq-6);
    display: none;
  }

  .fq-nav__collapse.is-open {
    display: block;
  }

  .fq-nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .fq-nav__item {
    position: static;
    border-bottom: 1px solid var(--fq-line);
  }

  .fq-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 0.875rem 0.25rem;
    border-radius: 0;
    font-size: 1rem;
  }

  .fq-nav__link[aria-current="page"]::after {
    display: none;
  }

  .fq-panel {
    position: static;
    translate: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 0 0 var(--fq-3);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .fq-panel.is-open {
    display: block;
  }

  .fq-panel__grid {
    grid-template-columns: 1fr;
  }

  .fq-panel__item {
    padding-inline: 0.25rem;
  }

  .fq-panel__foot {
    padding-inline: 0.25rem;
  }

  .fq-nav__actions {
    margin: var(--fq-5) 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .fq-nav__actions .fq-btn {
    width: 100%;
  }

  /* The desktop-only CTA is duplicated inside the drawer on mobile. */
  .fq-nav__inner > .fq-nav__actions {
    display: none;
  }
}

@media (min-width: 1025px) {
  /* Invisible bridge across the gap between trigger and panel, so moving
     the pointer down into the panel never leaves the hover area. */
  .fq-panel::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
  }

  .fq-nav__collapse {
    display: flex !important;
    align-items: center;
    gap: var(--fq-4);
  }

  .fq-nav__collapse .fq-nav__actions {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */

.fq-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--fq-line);
  isolation: isolate;
}

/* Blueprint grid — 1px rules on a 64px module, faded toward the bottom. */
.fq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(
      to right,
      rgba(25, 30, 71, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(25, 30, 71, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 100% 70% at 50% 0%,
    #000 20%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 100% 70% at 50% 0%,
    #000 20%,
    transparent 78%
  );
}

/* Soft brand wash, top-right. */
.fq-hero::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -12%;
  width: 780px;
  height: 780px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(2, 123, 205, 0.11) 0%,
    rgba(2, 123, 205, 0.04) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.fq-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, var(--fq-8));
  align-items: center;
}

@media (max-width: 940px) {
  .fq-hero__inner {
    grid-template-columns: 1fr;
  }
}

.fq-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  border: 1px solid var(--fq-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fq-muted);
  margin-bottom: var(--fq-5);
}

.fq-hero__pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fq-green);
  flex: none;
}

.fq-hero__pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--fq-green);
  opacity: 0;
  animation: fq-pulse 2.6s var(--fq-ease) infinite;
}

@keyframes fq-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.fq-hero h1 {
  margin: 0 0 var(--fq-3);
}

/* Positioning line under the headline: italic, larger than body copy, so
   it reads as a deck rather than as the first line of the paragraph. */
.fq-hero__kicker {
  font-size: var(--fq-step-1);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--fq-muted);
  letter-spacing: 0;
  margin: 0 0 var(--fq-6);
  max-width: 44ch;
}

.fq-hero__sub {
  font-size: var(--fq-step-1);
  line-height: 1.6;
  color: var(--fq-body);
  max-width: 54ch;
  margin: 0 0 var(--fq-6);
}

.fq-hero__tagline {
  margin-top: var(--fq-6);
  padding-top: var(--fq-4);
  border-top: 1px solid var(--fq-line);
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--fq-muted);
}

/* Hero side panel — a "spec card" of what the studio does. */
.fq-spec {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  box-shadow: var(--fq-shadow);
  overflow: hidden;
}

.fq-spec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fq-3);
  padding: 0.75rem var(--fq-4);
  border-bottom: 1px solid var(--fq-line);
  background: var(--fq-bg-soft);
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fq-muted);
}

.fq-spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--fq-4);
  padding: 0.8rem var(--fq-4);
  border-bottom: 1px solid var(--fq-line);
  transition: background 0.15s var(--fq-ease);
}

.fq-spec__row:last-child {
  border-bottom: 0;
}

a.fq-spec__row:hover {
  background: var(--fq-blue-050);
}

.fq-spec__key {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fq-ink);
  letter-spacing: -0.015em;
}

.fq-spec__val {
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
  text-align: right;
  white-space: nowrap;
}

/* For values too long to hold one line, e.g. a list of venues. */
.fq-spec__val--wrap {
  white-space: normal;
  line-height: 1.5;
  max-width: 62%;
}

/* Compact page hero for interior pages */
.fq-pagehead {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--fq-line);
  background: linear-gradient(180deg, var(--fq-bg-soft), var(--fq-bg));
}

.fq-pagehead h1 {
  margin: 0;
  max-width: 20ch;
}

.fq-pagehead__sub {
  margin: var(--fq-4) 0 0;
  font-size: var(--fq-step-1);
  color: var(--fq-body);
  max-width: 60ch;
}

/* Breadcrumb */
.fq-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
  margin-bottom: var(--fq-4);
  flex-wrap: wrap;
}

.fq-crumbs a {
  color: var(--fq-muted);
}

.fq-crumbs a:hover {
  color: var(--fq-blue);
}

.fq-crumbs span[aria-hidden] {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   11. Pillars strip (what we do, in one line each)
   -------------------------------------------------------------------------- */

.fq-pillars {
  --fq-pcols: 6;
  display: grid;
  grid-template-columns: repeat(var(--fq-pcols), minmax(0, 1fr));
  border-top: 1px solid var(--fq-line);
  border-left: 1px solid var(--fq-line);
  background: var(--fq-bg-softer);
}

/* Shared hairline edges, same model as .fq-cells, so the column count can
   change without hand-tuning which borders to drop. */
.fq-pillar {
  padding: var(--fq-5) var(--fq-4);
  border-right: 1px solid var(--fq-line);
  border-bottom: 1px solid var(--fq-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fq-pillar__num {
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  color: var(--fq-blue);
  letter-spacing: 0.08em;
}

.fq-pillar__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fq-ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.fq-pillar__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fq-muted);
}

@media (max-width: 1140px) {
  .fq-pillars {
    --fq-pcols: 3;
  }
}

@media (max-width: 760px) {
  .fq-pillars {
    --fq-pcols: 2;
  }
}

@media (max-width: 480px) {
  .fq-pillars {
    --fq-pcols: 1;
  }
}

/* --------------------------------------------------------------------------
   12. Repo / product / course list rows
   -------------------------------------------------------------------------- */

.fq-rows {
  border-top: 1px solid var(--fq-line);
}

body.fq .fq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--fq-4);
  align-items: center;
  padding: var(--fq-5) var(--fq-2);
  border-bottom: 1px solid var(--fq-line);
  transition: background 0.15s var(--fq-ease), padding-inline 0.2s var(--fq-ease);
  color: inherit;
}

body.fq a.fq-row:hover {
  background: var(--fq-bg-softer);
  padding-inline: var(--fq-4) var(--fq-3);
  color: inherit;
}

.fq-row__main {
  min-width: 0;
}

.fq-row__title {
  display: flex;
  align-items: center;
  gap: var(--fq-3);
  flex-wrap: wrap;
  margin: 0 0 0.35rem;
  font-size: var(--fq-step-1);
  font-weight: 600;
  color: var(--fq-ink);
  letter-spacing: -0.02em;
}

.fq-row__desc {
  margin: 0 0 var(--fq-3);
  font-size: var(--fq-step--1);
  line-height: 1.6;
  color: var(--fq-body);
  max-width: 70ch;
}

.fq-row__meta {
  display: flex;
  align-items: center;
  gap: var(--fq-4);
  flex-wrap: wrap;
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
}

.fq-row__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fq-row__aside {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--fq-3);
}

@media (max-width: 720px) {
  .fq-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* Language dot colors — GitHub convention, recognisable to developers. */
.fq-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.fq-dot--java {
  background: #b07219;
}
.fq-dot--ts {
  background: #3178c6;
}
.fq-dot--js {
  background: #f1e05a;
}

/* --------------------------------------------------------------------------
   13. Media / video
   -------------------------------------------------------------------------- */

.fq-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fq-radius-sm);
  overflow: hidden;
  background: var(--fq-ink);
  border: 1px solid var(--fq-line);
}

.fq-media iframe,
.fq-media video,
.fq-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.fq-media img {
  object-fit: cover;
}

/* Click-to-play facade. The YouTube iframe is only inserted on click, so the
   player's idle state (which overlays the video's YouTube title) never shows,
   and no third-party script or cookie loads until the visitor asks for it. */
.fq-lite {
  cursor: pointer;
}

.fq-lite__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 30, 71, 0.05),
    rgba(25, 30, 71, 0.35)
  );
  cursor: pointer;
  transition: background 0.2s var(--fq-ease);
}

.fq-lite__btn:hover {
  background: linear-gradient(
    180deg,
    rgba(25, 30, 71, 0.15),
    rgba(25, 30, 71, 0.45)
  );
}

.fq-lite__play {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--fq-blue);
  color: #fff;
  font-size: 1.1rem;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(25, 30, 71, 0.35);
  transition: transform 0.2s var(--fq-ease), background 0.2s var(--fq-ease);
}

.fq-lite__btn:hover .fq-lite__play {
  transform: scale(1.08);
  background: var(--fq-blue-700);
}

.fq-lite__btn:focus-visible {
  outline: 3px solid var(--fq-blue);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .fq-lite__btn:hover .fq-lite__play {
    transform: none;
  }
}

.fq-talk {
  display: flex;
  flex-direction: column;
  gap: var(--fq-4);
}

.fq-talk__meta {
  display: flex;
  align-items: center;
  gap: var(--fq-3);
  flex-wrap: wrap;
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
}

/* Conference + year as one compact label heading the card, above the video.
   Deliberately small, with a rule running out to the card edge so it reads
   as a header for the whole item rather than a caption on the title. */
.fq-talk__event {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fq-blue);
}

.fq-talk__event::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fq-line);
}

/* .fq-talk is a flex column with a gap; close up the label-to-video pair. */
.fq-talk__meta + .fq-media {
  margin-top: calc(var(--fq-3) * -1);
}

.fq-talk h3 {
  margin: 0;
  font-size: var(--fq-step-2);
}

.fq-talk p {
  margin: 0;
  font-size: var(--fq-step--1);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */

.fq-form {
  display: grid;
  gap: var(--fq-4);
}

.fq-field {
  display: grid;
  gap: 0.4rem;
}

.fq-label {
  font-size: var(--fq-step--1);
  font-weight: 600;
  color: var(--fq-ink);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.fq-label span {
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--fq-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fq-input,
.fq-textarea,
.fq-select {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-family: var(--fq-sans);
  font-size: var(--fq-step-0);
  color: var(--fq-ink);
  background: var(--fq-bg);
  border: 1px solid var(--fq-line-strong);
  border-radius: var(--fq-radius-sm);
  transition: border-color 0.15s var(--fq-ease), box-shadow 0.15s var(--fq-ease);
  appearance: none;
}

.fq-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.fq-input::placeholder,
.fq-textarea::placeholder {
  color: #a3a8bd;
}

.fq-input:focus,
.fq-textarea:focus,
.fq-select:focus {
  outline: none;
  border-color: var(--fq-blue);
  box-shadow: 0 0 0 3px rgba(2, 123, 205, 0.14);
}

.fq-input:user-invalid,
.fq-textarea:user-invalid {
  border-color: var(--fq-pink);
}

.fq-input:user-invalid:focus,
.fq-textarea:user-invalid:focus {
  box-shadow: 0 0 0 3px rgba(204, 41, 115, 0.14);
}

.fq-form__note {
  font-size: 0.8125rem;
  color: var(--fq-muted);
  margin: 0;
}

.fq-alert {
  display: flex;
  gap: var(--fq-3);
  padding: var(--fq-4);
  border-radius: var(--fq-radius-sm);
  font-size: var(--fq-step--1);
  border: 1px solid;
}

.fq-alert--ok {
  background: var(--fq-green-050);
  border-color: #c3ddd1;
  color: var(--fq-green-700);
}

.fq-alert--err {
  background: var(--fq-pink-050);
  border-color: #f3cfe0;
  color: #a01f5a;
}

.fq-alert strong {
  color: inherit;
}

/* Calendly frame */
.fq-calendly {
  border: 1px solid var(--fq-line);
  border-radius: var(--fq-radius);
  overflow: hidden;
  background: var(--fq-bg);
  box-shadow: var(--fq-shadow-sm);
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */

.fq-cta {
  position: relative;
  overflow: hidden;
  background: var(--fq-ink);
  color: rgba(255, 255, 255, 0.76);
  border-radius: var(--fq-radius);
  padding: clamp(2rem, 5vw, var(--fq-8));
  isolation: isolate;
}

.fq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 100% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse 80% 100% at 100% 0%,
    #000,
    transparent 70%
  );
}

.fq-cta h2 {
  color: #fff;
  margin: 0 0 var(--fq-4);
  max-width: 20ch;
}

.fq-cta p {
  max-width: 56ch;
  margin: 0 0 var(--fq-6);
  font-size: var(--fq-step-1);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.fq-footer {
  border-top: 1px solid var(--fq-line);
  background: var(--fq-bg-soft);
  padding-block: clamp(2.5rem, 5vw, var(--fq-8)) var(--fq-5);
  margin-top: 0;
}

.fq-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, var(--fq-7));
  padding-bottom: var(--fq-6);
  border-bottom: 1px solid var(--fq-line);
}

@media (max-width: 900px) {
  .fq-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .fq-footer__grid {
    grid-template-columns: 1fr;
  }
}

.fq-footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: var(--fq-4);
}

.fq-footer__tagline {
  font-family: var(--fq-mono);
  font-size: 0.75rem;
  color: var(--fq-muted);
  letter-spacing: 0.04em;
  margin: 0 0 var(--fq-4);
  max-width: 30ch;
}

.fq-footer h3 {
  font-family: var(--fq-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fq-muted);
  margin: 0 0 var(--fq-4);
}

.fq-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.fq-footer li a {
  font-size: var(--fq-step--1);
  color: var(--fq-body);
}

.fq-footer li a:hover {
  color: var(--fq-blue);
}

.fq-social {
  display: flex;
  gap: var(--fq-2);
  align-items: center;
}

.fq-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fq-line-strong);
  border-radius: var(--fq-radius-sm);
  color: var(--fq-body);
  background: var(--fq-bg);
  transition: all 0.15s var(--fq-ease);
}

.fq-social a:hover {
  border-color: var(--fq-blue);
  color: var(--fq-blue);
  transform: translateY(-2px);
}

.fq-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fq-4);
  flex-wrap: wrap;
  padding-top: var(--fq-5);
  font-size: 0.8125rem;
  color: var(--fq-muted);
}

.fq-footer__base p {
  margin: 0;
}

.fq-footer__base nav {
  display: flex;
  gap: var(--fq-4);
}

.fq-footer__base a {
  color: var(--fq-muted);
}

.fq-footer__base a:hover {
  color: var(--fq-blue);
}

/* --------------------------------------------------------------------------
   17. To-top button
   -------------------------------------------------------------------------- */

.fq-totop {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 1040;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fq-line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--fq-ink);
  box-shadow: var(--fq-shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--fq-ease);
}

.fq-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fq-totop:hover {
  border-color: var(--fq-blue);
  color: var(--fq-blue);
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */

/* Staggered load-in for hero content. */
.fq-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fq-rise 0.7s var(--fq-ease) forwards;
}

.fq-in-1 {
  animation-delay: 0.05s;
}
.fq-in-2 {
  animation-delay: 0.14s;
}
.fq-in-3 {
  animation-delay: 0.23s;
}
.fq-in-4 {
  animation-delay: 0.32s;
}
.fq-in-5 {
  animation-delay: 0.41s;
}
.fq-in-6 {
  animation-delay: 0.5s;
}

@keyframes fq-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal — toggled by js/fq.js via IntersectionObserver. */
.fq-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--fq-ease), transform 0.6s var(--fq-ease);
  will-change: opacity, transform;
}

.fq-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* If JS never runs, content must still be visible. */
.no-js .fq-reveal,
.no-js .fq-in {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fq-in,
  .fq-reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .fq-hero__pulse::after {
    animation: none;
  }

  body.fq *,
  body.fq *::before,
  body.fq *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */

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

.fq-hide {
  display: none !important;
}

.fq-mt-0 {
  margin-top: 0;
}
.fq-mb-0 {
  margin-bottom: 0;
}
.fq-mt-4 {
  margin-top: var(--fq-4);
}
.fq-mt-5 {
  margin-top: var(--fq-5);
}
.fq-mt-6 {
  margin-top: var(--fq-6);
}
.fq-mt-7 {
  margin-top: var(--fq-7);
}

.fq-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, var(--fq-8));
  align-items: start;
}

.fq-split--sticky > :first-child {
  position: sticky;
  top: calc(var(--fq-nav-h) + 2rem);
}

@media (max-width: 900px) {
  .fq-split {
    grid-template-columns: 1fr;
  }
  .fq-split--sticky > :first-child {
    position: static;
  }
}

.fq-prose p {
  margin: 0 0 var(--fq-4);
  line-height: 1.75;
}

.fq-prose p:last-child {
  margin-bottom: 0;
}

.fq-prose h3 {
  margin: var(--fq-6) 0 var(--fq-3);
}

.fq-prose ul {
  margin: 0 0 var(--fq-4);
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.fq-prose li {
  line-height: 1.7;
}

/* Checklist — replaces the old icon-per-line pattern */
.fq-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--fq-3);
}

.fq-check li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--fq-3);
  align-items: start;
  font-size: var(--fq-step--1);
  line-height: 1.65;
}

.fq-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--fq-green);
  background: var(--fq-green-050);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   20. Bootstrap component overrides
   Only what is still rendered by Bootstrap on redesigned pages.
   -------------------------------------------------------------------------- */

body.fq .container,
body.fq .container-fluid {
  padding-inline: 0;
}

/* The legacy .to-top-btn from styles.css is replaced by .fq-totop. */
body.fq .to-top-btn {
  display: none;
}
