/* ============================================================
   GFF home — Concept 4: "The Quiet Ledger"
   A different animal: printed-book cover typography, forest /
   parchment / ember palette, Instrument Serif + Space Grotesk,
   five condensed movements instead of ten sections.
   Copy on this page is a DRAFT editorial proposal — factual
   content only, pending GFF approval.
   ============================================================ */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-variable.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --parchment: #f6f1e7;
  --cream: #fffdf7;
  --ink: #1c2620;
  --forest: #2c4a3b;
  --forest-deep: #22392e;
  --ember: #bf4b26;
  --ember-deep: #9e3d1e;
  --gold: #c9a24b;
  --muted: #5a564a;
  --line: rgba(28, 38, 32, 0.16);
  --line-cream: rgba(246, 241, 231, 0.22);

  --serif: "Instrument Serif", Georgia, serif;
  --grotesk: "Space Grotesk", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;

  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 5rem;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--grotesk);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

h1, h2, h3, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul[class], ol[class] {
  list-style: none;
  padding: 0;
}

a {
  color: var(--ember-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

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

.q-work :focus-visible,
.q-give :focus-visible,
.gff-nav.is-open :focus-visible {
  outline-color: var(--parchment);
}

::selection {
  background: var(--forest);
  color: var(--parchment);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

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

.q-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Labels ---------- */

.q-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.q-ornament {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--gold);
}

.q-ornament::before,
.q-ornament::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.q-ornament span {
  font-size: 0.8rem;
}

/* ---------- Buttons: slim rectangles ---------- */

.q-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.85rem 2.1rem;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--grotesk);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease,
    border-color 220ms ease, transform 220ms var(--ease-out);
}

.q-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--parchment);
  transform: translateY(-2px);
}

.q-btn--ember {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--cream);
}

.q-btn--ember:hover {
  background: var(--ember-deep);
  border-color: var(--ember-deep);
  color: var(--cream);
}

.q-btn--ghost {
  background: transparent;
  color: var(--ink);
}

.q-btn--ghost:hover {
  background: var(--ink);
  color: var(--parchment);
}

.q-btn--ghost-cream {
  background: transparent;
  border-color: var(--parchment);
  color: var(--parchment);
}

.q-btn--ghost-cream:hover {
  background: var(--parchment);
  color: var(--forest);
}

.q-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-deep);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1.5px;
}

.q-link:hover {
  color: var(--ink);
}

.q-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 30em) {
  .q-btn {
    width: 100%;
  }

  .q-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .q-actions .q-link {
    align-self: center;
  }
}

/* ---------- Skip link ---------- */

.q-skip {
  position: fixed;
  left: 1rem;
  top: -10rem;
  z-index: 500;
  padding: 0.9rem 1.6rem;
  background: var(--forest);
  color: var(--parchment);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 150ms ease;
}

.q-skip:focus-visible {
  top: 0;
  color: var(--parchment);
}

/* ---------- Header ---------- */

.q-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246, 241, 231, 0.95);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease;
}

.q-header.is-scrolled {
  border-bottom-color: var(--line);
}

.q-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.8rem;
}

.q-logo {
  display: inline-flex;
  flex: none;
  position: relative;
  z-index: 320;
}

.q-logo img {
  width: clamp(140px, 23vw, 215px);
  height: auto;
}

.gff-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.gff-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 2rem);
}

.gff-nav__link {
  display: inline-block;
  padding: 0.5rem 0.1rem;
  font-size: 0.8438rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.gff-nav__link:hover,
.gff-nav__link[aria-current="page"] {
  border-bottom-color: var(--ember);
  color: var(--ink);
}

.gff-nav__donate {
  min-height: 2.8rem;
  padding: 0.5rem 1.4rem;
}

.gff-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.8rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  font-size: 0.8438rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 320;
}

.gff-menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.gff-menu-toggle__icon span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.gff-menu-toggle[aria-expanded="true"] .gff-menu-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.gff-menu-toggle[aria-expanded="true"] .gff-menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.gff-menu-toggle[aria-expanded="true"] .gff-menu-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 56.24em) {
  .gff-menu-toggle {
    display: inline-flex;
  }

  .gff-nav {
    display: none;
  }

  .gff-nav.is-open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 300;
    background: linear-gradient(170deg, var(--forest) 0%, var(--forest-deep) 100%);
    padding: 2.5rem var(--gutter) 3rem;
    overflow-y: auto;
  }

  body.menu-open .q-header {
    background: var(--parchment);
    border-bottom-color: var(--line);
  }

  .gff-nav.is-open .gff-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gff-nav.is-open .gff-nav__link {
    display: block;
    padding: 0.55rem 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 7vw, 2.7rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--parchment);
    border-bottom: none;
  }

  .gff-nav.is-open .gff-nav__link:hover {
    color: var(--gold);
  }

  .gff-nav.is-open .gff-nav__donate {
    margin-top: 1.75rem;
    min-width: min(100%, 20rem);
    background: var(--ember);
    border-color: var(--ember);
    color: var(--cream);
  }
}

.no-js .gff-nav {
  display: flex;
}

@media (max-width: 56.24em) {
  .no-js .gff-nav {
    display: block;
    width: 100%;
    padding-block: 1rem;
  }

  .no-js .q-header__bar {
    flex-wrap: wrap;
  }

  .no-js .gff-nav__list {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .no-js .gff-menu-toggle {
    display: none;
  }
}

/* ---------- Movement I — Cover ---------- */

.q-cover {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.5vw, 2rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
}

.q-cover__frame {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 5px;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  max-width: 88rem;
  width: 100%;
  margin-inline: auto;
}

.q-cover__corner {
  position: absolute;
  top: 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.q-cover__corner--left { left: 1.4rem; }
.q-cover__corner--right { right: 1.4rem; }

@media (max-width: 43.74em) {
  .q-cover__corner--right { display: none; }
}

.q-cover h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 1.4rem + 8.6vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.q-cover h1 .q-cover__l2 {
  display: block;
  font-style: italic;
  color: var(--ember);
}

.q-cover__initiatives {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest);
}

.q-cover__initiatives span[aria-hidden] {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0;
}

.q-cover__essence {
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
}

.q-cover__foot {
  position: absolute;
  bottom: 1.1rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 43.74em) {
  .q-cover__foot {
    justify-content: center;
    text-align: center;
  }

  .q-cover__foot span:last-child {
    display: none;
  }
}

/* cover entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .q-cover__frame {
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  }

  .js .q-cover__frame > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }

  .js.is-loaded .q-cover__frame,
  .js body.is-loaded .q-cover__frame {
    opacity: 1;
    transform: none;
  }

  .js.is-loaded .q-cover__frame > *,
  .js body.is-loaded .q-cover__frame > * {
    opacity: 1;
    transform: none;
  }

  .js.is-loaded .q-cover__frame > *:nth-child(3) { transition-delay: 180ms; }
  .js.is-loaded .q-cover__frame > *:nth-child(4) { transition-delay: 300ms; }
  .js.is-loaded .q-cover__frame > *:nth-child(5) { transition-delay: 420ms; }
  .js.is-loaded .q-cover__frame > *:nth-child(6) { transition-delay: 540ms; }
}

/* ---------- Movement II — The work (forest) ---------- */

.q-work {
  background: linear-gradient(170deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--parchment);
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.q-work .q-label {
  color: var(--gold);
}

.q-work__list {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-cream);
}

.q-work__row {
  display: grid;
  gap: 0.4rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.2vw, 2.6rem) 0.25rem;
  border-bottom: 1px solid var(--line-cream);
  align-items: baseline;
}

@media (min-width: 56.25em) {
  .q-work__row {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.q-work__row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.7rem + 4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--parchment);
}

.q-work__row:nth-child(even) h3 {
  font-style: italic;
  color: var(--gold);
}

.q-work__row p {
  color: #cde0d4;
  font-size: 1rem;
  max-width: 30em;
}

@media (min-width: 56.25em) {
  .q-work__row:nth-child(even) p {
    justify-self: end;
    text-align: right;
  }
}

/* six ways index */
.q-ways {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 0.4rem 3rem;
}

@media (min-width: 43.75em) {
  .q-ways {
    grid-template-columns: repeat(2, 1fr);
  }
}

.q-ways li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-block: 0.6rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: var(--parchment);
}

.q-ways li::before {
  content: counter(way, decimal-leading-zero);
  counter-increment: way;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1rem;
}

.q-ways {
  counter-reset: way;
}

.q-ways li::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--line-cream);
  transform: translateY(-0.3em);
  min-width: 2rem;
  order: -0;
}

/* snapshots */
.q-snaps {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 43.75em) {
  .q-snaps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .q-snaps figure:nth-child(2) {
    transform: translateY(1.75rem);
  }
}

.q-snaps figure {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.q-snaps img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.q-stockchip {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.28rem 0.8rem;
  border-radius: 3px;
  background: rgba(246, 241, 231, 0.95);
  color: var(--ember-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.q-work .q-actions {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Movement III — Scripture ---------- */

.q-scripture {
  padding-block: clamp(5rem, 10vw, 9.5rem);
  text-align: center;
}

.q-scripture blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.1rem + 4vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 20em;
  margin-inline: auto;
}

.q-scripture blockquote em {
  font-style: italic;
  color: var(--ember);
}

.q-scripture figcaption {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.q-scripture__purpose {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 1.0625rem;
}

.q-scripture .q-ornament {
  max-width: 26rem;
  margin-inline: auto;
}

.q-scripture .q-ornament--top {
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.q-scripture .q-ornament--btm {
  margin-top: clamp(2rem, 4.5vw, 3.5rem);
}

.q-scripture .q-link {
  margin-top: 2rem;
}

/* ---------- Movement IV — Recent ---------- */

.q-recent {
  padding-bottom: clamp(4.5rem, 9vw, 8.5rem);
}

.q-recent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.q-recent__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem);
  letter-spacing: -0.01em;
}

/* featured clipping */
.q-clip {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 62em) {
  .q-clip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

.q-clip__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
}

.q-clip__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

.q-clip h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.q-clip__deck {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 36em;
}

.q-clip__source {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.q-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8438rem;
  font-style: italic;
  color: var(--muted);
}

.q-status::before {
  content: "\2726";
  color: var(--gold);
  font-style: normal;
  font-size: 0.7em;
}

.q-clip__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.q-clip__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.q-clip .q-link {
  margin-top: 1.5rem;
}

/* index rows */
.q-index li {
  display: grid;
  gap: 0.3rem 2rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 56.25em) {
  .q-index li {
    grid-template-columns: 9.5rem minmax(0, 1fr) auto;
    align-items: baseline;
  }
}

.q-index time {
  font-size: 0.8438rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.q-index h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.q-recent__more {
  margin-top: 2rem;
}

/* ---------- Movement V — Give ---------- */

.q-give {
  background: linear-gradient(165deg, var(--ember) 0%, var(--ember-deep) 100%);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.q-give h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.q-give h2 em {
  font-style: italic;
}

.q-give p {
  margin: 1.25rem auto 0;
  max-width: 36em;
  color: rgba(255, 253, 247, 0.88);
  font-size: 1.0625rem;
}

.q-give .q-actions {
  justify-content: center;
  margin-top: 2.25rem;
}

.q-give .q-btn {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ember-deep);
}

.q-give .q-btn:hover {
  background: var(--parchment);
  transform: translateY(-2px);
}

.q-give .q-btn--ghost-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.q-give .q-btn--ghost-cream:hover {
  background: var(--cream);
  color: var(--ember-deep);
}

/* ---------- Footer ---------- */

.q-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  font-size: 0.9375rem;
}

.q-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.q-footer__top img {
  width: min(210px, 60vw);
}

.q-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.q-footer__nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.q-footer__nav a:hover {
  border-bottom-color: var(--ember);
}

.q-footer__meta {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 62em) {
  .q-footer__meta {
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
  }
}

.q-pending {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border: 1.5px dashed var(--ember-deep);
  border-radius: 4px;
  background: rgba(191, 75, 38, 0.06);
  color: var(--ember-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82em;
  font-style: normal;
  white-space: nowrap;
}

.q-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8438rem;
}

/* ---------- Draft-copy notice ---------- */

.q-draftnote {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  padding: 0.6rem var(--gutter);
}

/* ---------- Reveals ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .q-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js .q-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Concept switcher ---------- */

.v3x-switch {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.6);
  font-size: 0.8125rem;
  font-weight: 700;
}

.v3x-switch span,
.v3x-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  min-height: 1.9rem;
  border-radius: 999px;
  text-decoration: none;
}

.v3x-switch a {
  color: var(--parchment);
}

.v3x-switch a:hover {
  background: var(--forest);
  color: var(--parchment);
}

.v3x-switch span {
  background: var(--ember);
  color: var(--cream);
}

.v3x-switch .v3x-switch__label {
  color: var(--parchment);
  background: none;
  min-width: 0;
  padding-inline: 0.5rem 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Print ---------- */

@media print {
  .q-header, .q-footer, .q-skip, .q-give, .v3x-switch, .gff-menu-toggle, .q-draftnote {
    display: none !important;
  }

  .q-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* V1/V2 switcher sizing */
.v3x-switch span,
.v3x-switch a {
  min-width: 2.5rem;
  padding-inline: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.v3x-switch .v3x-switch__label {
  min-width: 0;
  padding-inline: 0.55rem 0.3rem;
}

/* ---------- Design-preview: interior links disabled ----------
   Appearance is intentionally unchanged so the design reads exactly as
   intended; these controls simply do not navigate during review. */

[data-preview-link] {
  cursor: default;
}

/* ============================================================
   V2 motion layer — carry the cover's energy through the page
   ============================================================ */

.q-header {
  transition: transform 460ms var(--ease-out), border-color 220ms ease,
    background-color 220ms ease;
}

.q-header.is-hidden {
  transform: translateY(-102%);
}

.q-header__bar {
  transition: min-height 320ms var(--ease-out);
}

.q-header.is-scrolled .q-header__bar {
  min-height: 4.35rem;
}

.q-logo img {
  transition: width 320ms var(--ease-out);
}

.q-header.is-scrolled .q-logo img {
  width: clamp(132px, 19vw, 186px);
}

@media (prefers-reduced-motion: no-preference) {
  /* Header + nav entrance */
  .js .q-header {
    transform: translateY(-100%);
  }

  .js.is-loaded .q-header,
  .js body.is-loaded .q-header {
    transform: translateY(0);
  }

  .js .gff-nav__list > li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  }

  .js.is-loaded .gff-nav__list > li {
    opacity: 1;
    transform: none;
  }

  .js.is-loaded .gff-nav__list > li:nth-child(1) { transition-delay: 200ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(2) { transition-delay: 260ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(3) { transition-delay: 320ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(4) { transition-delay: 380ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(5) { transition-delay: 440ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(6) { transition-delay: 500ms; }

  /* Directional reveals for the later movements */
  .js .q-work__row.q-reveal {
    transform: translateY(30px);
  }

  .js .q-work__row.q-reveal:nth-child(even) {
    transform: translateY(30px) translateX(18px);
  }

  .js .q-work__row.q-reveal.is-visible {
    transform: none;
  }

  .js .q-ornament.q-reveal {
    transform: scaleX(0.7);
    transform-origin: center;
    transition-duration: 1000ms;
  }

  .js .q-ornament.q-reveal.is-visible {
    transform: none;
  }

  .js .q-scripture blockquote.q-reveal {
    transform: translateY(34px);
    transition-duration: 1000ms;
  }

  .js .q-snaps figure.q-reveal {
    transform: translateY(34px) scale(0.98);
  }

  .js .q-snaps figure.q-reveal.is-visible {
    transform: none;
  }

  @media (min-width: 43.75em) {
    .js .q-snaps figure:nth-child(2).q-reveal.is-visible {
      transform: translateY(1.75rem);
    }
  }

  .js .q-clip__media.q-reveal {
    transform: translateY(26px) scale(0.98);
  }

  .js .q-clip__media.q-reveal.is-visible {
    transform: none;
  }

  .js .q-index li.q-reveal {
    transform: translateY(20px);
  }
}

/* Scroll-linked drift on the later imagery */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .q-snaps img,
    .q-clip__media img {
      animation: q-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    @keyframes q-drift {
      from { transform: scale(1.08) translateY(-2.5%); }
      to { transform: scale(1.08) translateY(2.5%); }
    }
  }
}

/* Hover polish */
.q-work__row h3,
.q-index h3 {
  transition: transform 420ms var(--ease-out), color 220ms ease;
}

.q-work__row:hover h3 {
  transform: translateX(10px);
}

.q-index li:hover h3 {
  transform: translateX(6px);
}

.q-snaps img,
.q-clip__media img {
  transition: transform 560ms var(--ease-out);
}

.q-snaps figure:hover img,
.q-clip__media:hover img {
  transform: scale(1.03);
}
