/* ============================================================
   The Griffiths Family Foundation — home page concept v3
   “Warm paper” editorial direction: Fraunces + Hanken Grotesk,
   paper/espresso/midnight-indigo/amber palette.
   Scope: home page only (interior pages keep styles.css until
   this concept is approved).
   ============================================================ */

/* ---------- Fonts (self-hosted, OFL) ---------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-italic-variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  /* Warm ground */
  --paper: #fbf9f4;
  --linen: #f2ede3;
  --card: #ffffff;
  --line: #e4dccc;
  --line-soft: #ece5d6;

  /* Ink */
  --ink: #211e1c;
  --muted: #5c564d;

  /* Brand-bridge darks */
  --midnight: #2a2550;
  --midnight-deep: #211d40;
  --cream: #f5f2ea;
  --cream-soft: #cfcae8;
  --line-dark: rgba(245, 242, 234, 0.16);

  /* Accents */
  --amber: #d08c2a;      /* graphic accents on light; large text on midnight */
  --bronze: #8f5e11;     /* small-text accent, 5.3:1 on paper */
  --indigo: #46409b;     /* links + focus, 8.1:1 on paper */

  --font-serif: "Fraunces", Georgia, "Iowan Old Style", serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.9rem, 1.7rem + 5.2vw, 6.3rem);
  --fs-h2: clamp(2.05rem, 1.45rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  --fs-body: 1.125rem;
  --fs-small: 0.9375rem;
  --fs-meta: 0.8438rem;

  --space-section: clamp(3.75rem, 2.4rem + 6.5vw, 8.5rem);
  --space-section-s: clamp(2.75rem, 2rem + 3.75vw, 5.25rem);

  --radius-card: 24px;
  --radius-big: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 44px -28px rgba(33, 30, 28, 0.35);
  --shadow-lift: 0 30px 70px -38px rgba(33, 30, 28, 0.45);

  --container: 76.25rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 5.5rem;
}

/* ---------- Base ---------- */

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

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 420;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

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

a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease;
}

a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

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

.gff-scripture :focus-visible,
.gff-cta :focus-visible,
.gff-nav.is-open :focus-visible {
  outline-color: var(--cream);
}

::selection {
  background: var(--midnight);
  color: var(--cream);
}

:target {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
}

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

/* ---------- Typography ---------- */

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 540;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.04;
}

h1 {
  font-size: var(--fs-display);
  line-height: 1.01;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.gff-lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 40em;
}

.gff-meta {
  font-size: var(--fs-meta);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.gff-small {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Eyebrow: bronze caps with amber diamond */
.gff-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}

.gff-eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber);
  transform: rotate(45deg);
  flex: none;
}

.gff-eyebrow__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--amber);
}

/* ---------- Buttons (pills) ---------- */

.gff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--midnight);
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0313rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px -18px rgba(42, 37, 80, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease,
    background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.gff-btn::after {
  content: "\2192";
  transition: transform 200ms ease;
}

.gff-btn:hover {
  transform: translateY(-2px);
  background: var(--midnight-deep);
  border-color: var(--midnight-deep);
  color: var(--cream);
  box-shadow: 0 20px 38px -18px rgba(42, 37, 80, 0.6);
}

.gff-btn:hover::after {
  transform: translateX(4px);
}

.gff-btn:active {
  transform: translateY(0);
}

.gff-btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}

.gff-btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* on midnight surfaces */
.gff-btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.55);
}

.gff-btn--amber:hover {
  background: #dd9c40;
  border-color: #dd9c40;
  color: var(--ink);
}

.gff-btn--ghost {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: none;
}

.gff-btn--ghost:hover {
  background: var(--cream);
  color: var(--midnight);
  border-color: var(--cream);
}

.gff-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--amber);
}

.gff-textlink::after {
  content: "\2192";
  transition: transform 200ms ease;
}

.gff-textlink:hover {
  color: var(--ink);
}

.gff-textlink:hover::after {
  transform: translateX(4px);
}

.gff-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

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

  .gff-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gff-btn-row .gff-textlink {
    align-self: flex-start;
  }
}

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

.gff-skip-link {
  position: fixed;
  left: 1rem;
  top: -10rem;
  z-index: 400;
  padding: 0.9rem 1.6rem;
  background: var(--midnight);
  color: var(--cream);
  font-weight: 650;
  border-radius: 0 0 14px 14px;
  text-decoration: none;
  transition: top 150ms ease;
}

.gff-skip-link:focus-visible {
  top: 0;
  color: var(--cream);
}

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

.gff-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.gff-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(33, 30, 28, 0.4);
  background: rgba(251, 249, 244, 0.97);
}

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

.gff-header__logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  position: relative;
  z-index: 320;
}

.gff-header__logo img {
  width: clamp(140px, 24vw, 232px);
  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.6vw, 1.8rem);
}

.gff-nav__link {
  display: inline-block;
  padding: 0.5rem 0.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 0% 2.5px;
  background-position: 0 calc(100% - 0.1rem);
  transition: background-size 220ms ease, color 160ms ease;
}

.gff-nav__link:hover,
.gff-nav__link[aria-current="page"] {
  color: var(--ink);
  background-size: 100% 2.5px;
}

.gff-nav__donate {
  min-height: 2.9rem;
  padding: 0.55rem 1.5rem;
}

.gff-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  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;
  border-radius: 2px;
  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:
      radial-gradient(120% 80% at 85% -10%, rgba(208, 140, 42, 0.18), transparent 55%),
      linear-gradient(170deg, var(--midnight) 0%, var(--midnight-deep) 100%);
    padding: 2.5rem var(--gutter) 3rem;
    overflow-y: auto;
  }

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

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

  .gff-nav.is-open .gff-nav__link {
    display: block;
    padding: 0.6rem 0;
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    font-weight: 520;
    letter-spacing: -0.01em;
    color: var(--cream);
    background: none;
  }

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

  .gff-nav.is-open .gff-nav__link[aria-current="page"]::after {
    content: "";
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    margin-top: 0.4rem;
    background: var(--amber);
    transform: rotate(45deg);
  }

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

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

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

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

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

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

/* ---------- Sections ---------- */

.gff-section {
  padding-block: var(--space-section);
  position: relative;
}

.gff-section--tight {
  padding-block: var(--space-section-s);
}

.gff-section--linen {
  background: var(--linen);
}

.gff-section__head {
  max-width: 52rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.gff-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.gff-section__head--center .gff-eyebrow {
  justify-content: center;
}

.gff-section__head .gff-intro {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 42em;
}

/* Split head with trailing action */
.gff-section__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.gff-section__head--row > div {
  max-width: 46rem;
}

/* ---------- Hero ---------- */

.gff-hero {
  position: relative;
  padding-top: clamp(3.5rem, 3rem + 4vw, 7rem);
  text-align: center;
  overflow: clip;
  background:
    radial-gradient(90% 55% at 50% -6%, rgba(208, 140, 42, 0.1), transparent 60%),
    var(--paper);
}

.gff-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.gff-hero__eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
  transform: rotate(45deg);
}

.gff-hero h1 {
  max-width: 13.5em;
  margin-inline: auto;
}

/* hand-drawn amber underline on the closing phrase */
.gff-swash {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.gff-swash svg {
  position: absolute;
  left: 2%;
  bottom: -0.12em;
  width: 96%;
  height: 0.22em;
  pointer-events: none;
}

.gff-hero .gff-lead {
  margin: clamp(1.4rem, 2.5vw, 2rem) auto 0;
  max-width: 46rem;
}

.gff-hero__actions {
  justify-content: center;
  margin-top: clamp(1.9rem, 3.5vw, 2.75rem);
}

.gff-hero__media {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.gff-hero__media img {
  width: 100%;
  border-radius: var(--radius-big);
  box-shadow: var(--shadow-lift);
}

/* Floating trust card overlapping the photo */
.gff-trustcard {
  position: relative;
  z-index: 2;
  width: min(100%, 62rem);
  margin: clamp(-2.5rem, -4vw, -3.5rem) auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  padding: 0.5rem 0;
  text-align: left;
}

@media (min-width: 43.75em) {
  .gff-trustcard {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gff-trustcard li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.5rem;
}

@media (min-width: 43.75em) {
  .gff-trustcard li + li {
    border-left: 1px solid var(--line-soft);
  }
}

@media (max-width: 43.74em) {
  .gff-trustcard li + li {
    border-top: 1px solid var(--line-soft);
  }
}

.gff-trustcard__icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--linen);
  color: var(--bronze);
  display: grid;
  place-items: center;
}

.gff-trustcard__label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.gff-trustcard__detail {
  font-size: var(--fs-meta);
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ---------- Initiative word strip (decorative) ---------- */

.gff-strip {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--linen);
  padding: 1rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
}

.gff-strip span::after {
  content: "\2726";
  margin-left: 1.5rem;
  color: var(--amber);
}

.gff-strip span:last-child::after {
  content: none;
}

/* ---------- Scripture card ---------- */

.gff-scripture {
  position: relative;
  background:
    radial-gradient(110% 90% at 88% -20%, rgba(208, 140, 42, 0.16), transparent 55%),
    linear-gradient(165deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  border-radius: var(--radius-big);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.gff-scripture::before {
  content: "\201C";
  position: absolute;
  top: -0.12em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1;
  color: rgba(208, 140, 42, 0.22);
  pointer-events: none;
}

.gff-scripture blockquote p {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.3rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 24em;
  margin-inline: auto;
}

.gff-scripture figcaption {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.gff-scripture figcaption::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 3px;
  margin: 0 auto 1rem;
  background: var(--amber);
}

/* ---------- Initiative cards ---------- */

.gff-initiatives {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 64em) {
  .gff-initiatives {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gff-initiative {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.gff-initiative::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.gff-initiative:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: #d7cdb6;
}

.gff-initiative:hover::before {
  transform: scaleX(1);
}

.gff-initiative__num {
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--amber);
}

.gff-initiative h3 {
  margin-top: 1rem;
  font-size: 1.7rem;
}

.gff-initiative p {
  margin-top: 0.6rem;
  font-size: 1.0313rem;
  color: var(--muted);
}

/* ---------- Split rail ---------- */

.gff-split {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 62em) {
  .gff-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .gff-split__rail {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.gff-split__rail .gff-intro {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 26em;
}

.gff-split__rail .gff-btn-row {
  margin-top: 2rem;
}

/* Ways list */
.gff-ways-label {
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}

.gff-ways {
  border-top: 1px solid #ddd3bf;
}

.gff-way {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid #ddd3bf;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.gff-way::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--amber);
  transform: rotate(45deg);
}

/* ---------- Featured story ---------- */

.gff-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-big);
  overflow: hidden;
  display: grid;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 56.25em) {
  .gff-feature {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.gff-feature__body {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.gff-feature__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.gff-feature h3 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.12;
}

.gff-feature__deck {
  color: var(--muted);
  font-size: 1.0625rem;
}

.gff-feature__source {
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--ink);
}

/* ---------- Badges / status ---------- */

.gff-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--linen);
  color: var(--bronze);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.gff-status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--amber);
  transform: rotate(45deg);
  flex: none;
}

.gff-pending {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border: 1.5px dashed var(--bronze);
  border-radius: 8px;
  background: var(--linen);
  color: var(--bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  font-style: normal;
  white-space: nowrap;
}

/* ---------- Placeholder (photography needed) ---------- */

.gff-placeholder {
  position: relative;
  min-height: 20rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background:
    repeating-linear-gradient(-45deg, rgba(143, 94, 17, 0.035) 0 1px, transparent 1px 12px),
    linear-gradient(155deg, var(--linen) 0%, #ece2cd 100%);
}

.gff-placeholder__label {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  background: var(--card);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  box-shadow: 0 8px 18px -12px rgba(33, 30, 28, 0.4);
}

.gff-placeholder__subject {
  font-size: 1rem;
  color: var(--muted);
  max-width: 30em;
}

.gff-placeholder--frame {
  border: 1.5px dashed #c9b285;
  border-radius: var(--radius-card);
}

/* ---------- Photo cards + stock labelling ---------- */

.gff-photocard {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--linen);
}

.gff-photocard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gff-stockchip {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 249, 244, 0.94);
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -12px rgba(33, 30, 28, 0.5);
}

.gff-feature .gff-photocard {
  min-height: 20rem;
  height: 100%;
  border-radius: 0;
}

.gff-split__media {
  margin-top: 2rem;
}

.gff-split__media img {
  aspect-ratio: 16 / 9;
}

/* Partners split */
.gff-partners-split {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 62em) {
  .gff-partners-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.gff-partners-split .gff-photocard img {
  aspect-ratio: 4 / 5;
}

/* Instagram tiles with curated local fallback imagery */
.gff-instagram__tile {
  position: relative;
  overflow: hidden;
}

.gff-instagram__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Story cards ---------- */

.gff-card-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 64em) {
  .gff-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gff-card:has(a:hover),
.gff-card:has(a:focus-visible) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: #d7cdb6;
}

.gff-card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gff-card__type {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.gff-card__date {
  font-size: var(--fs-meta);
  color: var(--muted);
  white-space: nowrap;
}

.gff-card__title {
  font-size: 1.42rem;
  line-height: 1.18;
}

.gff-card__title a {
  color: inherit;
  text-decoration: none;
}

.gff-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.gff-card__deck {
  font-size: 1rem;
  color: var(--muted);
  flex: 1;
}

.gff-card__source {
  font-size: var(--fs-meta);
  font-weight: 700;
  color: var(--ink);
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Statement block (partners) ---------- */

.gff-statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 26em;
}

/* ---------- Instagram panel ---------- */

.gff-instagram {
  background: var(--card);
  border: 1.5px dashed #c9b285;
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 56.25em) {
  .gff-instagram {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.gff-instagram__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.gff-instagram__tile {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--linen) 0%, #e9dfc9 100%);
  border: 1px solid var(--line);
}

.gff-instagram__tile:nth-child(2n) {
  background: linear-gradient(215deg, var(--linen) 0%, #efe6d3 100%);
}

/* ---------- CTA ---------- */

.gff-cta {
  position: relative;
  background:
    radial-gradient(120% 100% at 12% -30%, rgba(208, 140, 42, 0.2), transparent 55%),
    linear-gradient(160deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  border-radius: var(--radius-big);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.gff-cta h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 4rem);
  max-width: 14em;
  margin-inline: auto;
}

.gff-cta p {
  margin: 1.25rem auto 0;
  color: var(--cream-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 38em;
}

.gff-cta .gff-btn-row {
  justify-content: center;
  margin-top: 2rem;
}

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

.gff-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 5vw, 4.5rem) 2rem;
  font-size: var(--fs-small);
  background: var(--paper);
}

.gff-footer__echo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.7rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 18em;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.gff-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

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

@media (min-width: 64em) {
  .gff-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 3rem;
  }
}

.gff-footer__brand img {
  width: min(230px, 100%);
  height: auto;
}

.gff-footer__brand p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 26em;
}

.gff-footer__heading {
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.gff-footer__links li + li {
  margin-top: 0.6rem;
}

.gff-footer__links a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  transition: background-size 200ms ease;
  padding-bottom: 0.1rem;
}

.gff-footer__links a:hover {
  background-size: 100% 2px;
}

.gff-footer__trust {
  color: var(--muted);
}

.gff-footer__trust p + p {
  margin-top: 0.55rem;
}

.gff-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: var(--muted);
}

/* ---------- Reveal (motion-safe) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .gff-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms cubic-bezier(0.22, 0.6, 0.24, 1),
      transform 560ms cubic-bezier(0.22, 0.6, 0.24, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

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

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

@media print {
  .gff-header,
  .gff-footer,
  .gff-skip-link,
  .gff-cta,
  .gff-menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

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

/* ============================================================
   Concept 3 custom layer — bespoke editorial compositions.
   Signature devices: shield-corner radius, rotated margin
   kickers, ghost numerals, overlapping plates, full-bleed
   typographic scripture, tilted social filmstrip.
   ============================================================ */

:root {
  --shield-corner: clamp(56px, 9vw, 128px);
}

/* Rotated margin kickers on very wide screens */
@media (min-width: 87.5em) {
  .v3x .gff-container {
    position: relative;
  }

  .v3x .gff-eyebrow {
    position: absolute;
    left: -4.75rem;
    top: 0.4rem;
    margin-bottom: 0;
    writing-mode: sideways-lr;
    letter-spacing: 0.24em;
  }

  .v3x .gff-eyebrow::before {
    transform: rotate(45deg);
  }
}

/* Ghost section numerals */
.v3x-num {
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: clamp(4.5rem, 3rem + 7vw, 10rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

/* ---------- Purpose spread ---------- */

.v3x-purpose {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

@media (min-width: 62em) {
  .v3x-purpose {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  }
}

.v3x-purpose__text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.9rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 24em;
}

.v3x-purpose__text em {
  font-style: italic;
  color: var(--bronze);
}

/* ---------- Full-bleed typographic scripture ---------- */

.v3x-scripture {
  position: relative;
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--gutter) clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(110% 90% at 88% -20%, rgba(208, 140, 42, 0.16), transparent 55%),
    linear-gradient(165deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  color: var(--cream);
  border-radius: var(--shield-corner) 0 0 0;
  overflow: hidden;
}

.v3x-scripture::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: 160px 160px;
  opacity: 0.05;
  pointer-events: none;
}

.v3x-scripture__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.v3x-scripture blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.9rem, 1.2rem + 3.2vw, 4rem);
  line-height: 1.24;
  letter-spacing: -0.012em;
}

.v3x-scripture blockquote span {
  display: block;
}

.v3x-scripture blockquote span:nth-child(2) {
  margin-left: clamp(0rem, 6vw, 5.5rem);
}

.v3x-scripture blockquote span:nth-child(3) {
  margin-left: clamp(0rem, 12vw, 11rem);
}

.v3x-scripture .v3x-quote-mark {
  position: absolute;
  top: -3.5rem;
  left: clamp(0rem, 2vw, 2rem);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: 1;
  color: rgba(208, 140, 42, 0.25);
  pointer-events: none;
}

.v3x-scripture figcaption {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 0.9375rem;
  font-weight: 750;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v3x-scripture figcaption::before {
  content: "";
  width: 3.25rem;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}

.v3x-scripture .gff-textlink {
  color: var(--cream);
  margin-top: 2rem;
  display: inline-flex;
}

/* ---------- Initiatives: magazine table of contents ---------- */

.v3x-toc {
  border-top: 1px solid var(--line);
}

.v3x-toc__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0.25rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

@media (min-width: 56.25em) {
  .v3x-toc__row {
    grid-template-columns: 6rem minmax(0, 6fr) minmax(0, 5fr);
    align-items: baseline;
  }

  .v3x-toc__row:nth-child(even) .v3x-toc__desc {
    padding-left: clamp(0rem, 5vw, 4.5rem);
  }
}

.v3x-toc__row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--ease-out, ease);
}

.v3x-toc__row:hover::before {
  transform: scaleX(1);
}

.v3x-toc__num {
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem);
  line-height: 1;
  color: var(--amber);
}

.v3x-toc__row h3 {
  font-family: var(--font-serif);
  font-weight: 530;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.9rem);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 200ms ease;
}

.v3x-toc__row:hover h3 {
  color: var(--bronze);
}

.v3x-toc__desc {
  color: var(--muted);
  font-size: 1.0313rem;
  max-width: 30em;
}

/* ---------- Shield-corner photo signatures ---------- */

.v3x-corner-tl img { border-radius: var(--shield-corner) 24px 24px 24px; }
.v3x-corner-tr img { border-radius: 24px var(--shield-corner) 24px 24px; }
.v3x-corner-bl img { border-radius: 24px 24px 24px var(--shield-corner); }
.v3x-corner-br img { border-radius: 24px 24px var(--shield-corner) 24px; }

.v3x-corner-tl, .v3x-corner-tr, .v3x-corner-bl, .v3x-corner-br {
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

/* ---------- How we work: photo + overlapping list panel ---------- */

.v3x-ways-stack {
  position: relative;
}

.v3x-ways-stack .gff-photocard img {
  aspect-ratio: 16 / 10;
}

.v3x-ways-panel {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2.25rem);
}

@media (min-width: 62em) {
  .v3x-ways-panel {
    margin-top: -4.5rem;
    margin-left: -3.5rem;
    margin-right: 2rem;
  }
}

@media (max-width: 61.99em) {
  .v3x-ways-panel {
    margin-top: -2.5rem;
    margin-inline: 1rem;
  }
}

.v3x-ways-panel .gff-ways-label {
  margin-bottom: 0.5rem;
}

.v3x-ways-panel .gff-way {
  padding-block: 0.85rem;
}

.v3x-ways-panel .gff-way:last-child {
  border-bottom: none;
}

/* ---------- Featured story: overlapping spread ---------- */

.v3x-feature {
  position: relative;
  display: grid;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 62em) {
  .v3x-feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .v3x-feature__media {
    grid-column: 2;
    grid-row: 1;
    margin-right: calc(50% - 50vw - var(--gutter) * 0);
  }

  .v3x-feature__plate {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    margin-right: -5rem;
  }
}

.v3x-feature__media {
  position: relative;
}

.v3x-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: 24px 24px 24px var(--shield-corner);
  display: block;
}

@media (min-width: 62em) {
  .v3x-feature__media {
    width: calc(100% + (50vw - 50%));
  }

  .v3x-feature__media img {
    border-radius: 24px 0 0 var(--shield-corner);
  }
}

.v3x-feature__plate {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lift, var(--shadow-soft));
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 36rem;
}

@media (max-width: 61.99em) {
  .v3x-feature__plate {
    margin-top: -3rem;
    margin-inline: 1rem;
    z-index: 2;
    position: relative;
  }
}

.v3x-feature__plate h3 {
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.3rem);
  line-height: 1.12;
}

/* ---------- Latest: editorial index rows ---------- */

.v3x-rows {
  border-top: 1px solid #d9cfb9;
}

.v3x-row {
  display: grid;
  gap: 0.5rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0.25rem;
  border-bottom: 1px solid #d9cfb9;
}

@media (min-width: 56.25em) {
  .v3x-row {
    grid-template-columns: 6.5rem minmax(0, 1fr) 15rem;
    align-items: start;
  }
}

.v3x-row__num {
  font-family: var(--font-serif);
  font-weight: 560;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3.2rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--amber);
  opacity: 0.7;
}

.v3x-row__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.v3x-row__type {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.v3x-row h3 {
  font-family: var(--font-serif);
  font-weight: 530;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.v3x-row__deck {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 44em;
}

.v3x-row__side {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.v3x-row__source {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ---------- Instagram filmstrip ---------- */

.v3x-social {
  overflow: clip;
}

.v3x-filmstrip {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  width: calc(100% + 8rem);
  margin-left: -4rem;
  transform: rotate(-2deg);
  padding-block: 1rem;
}

.v3x-filmstrip > div {
  flex: 1 0 calc(100% / 6 - 1.5rem);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--linen);
  box-shadow: var(--shadow-soft);
}

.v3x-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 43.74em) {
  .v3x-filmstrip {
    flex-wrap: wrap;
    transform: rotate(-1.5deg);
  }

  .v3x-filmstrip > div {
    flex: 1 0 calc(33.333% - 1rem);
  }
}

.v3x-social__meta {
  text-align: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- CTA: full-bleed with shield corner + swash ---------- */

.v3x-cta {
  position: relative;
  background:
    radial-gradient(120% 100% at 12% -30%, rgba(208, 140, 42, 0.2), transparent 55%),
    linear-gradient(160deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  border-radius: 0 var(--shield-corner) 0 0;
  padding: clamp(4rem, 8vw, 7.5rem) var(--gutter);
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.v3x-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: 160px 160px;
  opacity: 0.05;
  pointer-events: none;
}

.v3x-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
}

.v3x-cta h2 {
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 520;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.v3x-cta p {
  margin: 1.25rem auto 0;
  color: var(--cream-soft);
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 36em;
}

.v3x-cta .gff-btn-row {
  justify-content: center;
  margin-top: 2rem;
}

.v3x-cta .gff-swash svg path {
  stroke: var(--amber);
}

/* ---------- 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(--paper);
}

.v3x-switch a:hover {
  background: var(--midnight);
  color: var(--cream);
}

.v3x-switch span {
  background: var(--amber);
  color: var(--ink);
}

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

/* Concept 3 supplemental fixes */
:root {
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

.v3x-feature__media {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.v3x-corner-tl, .v3x-corner-tr, .v3x-corner-bl, .v3x-corner-br {
  overflow: visible;
}

.v3x-corner-tl img, .v3x-corner-tr img, .v3x-corner-bl img, .v3x-corner-br img {
  width: 100%;
  display: block;
}

@media (max-width: 56.24em) {
  .v3x-toc__desc {
    grid-column: 1 / -1;
  }

  .v3x-row__num {
    display: none;
  }
}

/* contain full-bleed compositions */
.v3x {
  overflow: clip;
}


/* 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;
}

.gff-previewnote {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  padding: 0.6rem var(--gutter);
}

/* ============================================================
   V1 motion layer
   ============================================================ */

/* Header: entrance, condense on scroll, hide on scroll-down */
.gff-header {
  transition: transform 460ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)),
    box-shadow 260ms ease, background-color 260ms ease,
    padding 320ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
}

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

.gff-header__bar {
  transition: min-height 320ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
}

.gff-header.is-scrolled .gff-header__bar {
  min-height: 4.5rem;
}

.gff-header__logo img {
  transition: width 320ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
}

.gff-header.is-scrolled .gff-header__logo img {
  width: clamp(132px, 20vw, 196px);
}

@media (prefers-reduced-motion: no-preference) {
  /* Header + skip-link drop in on load */
  .js .gff-header {
    transform: translateY(-100%);
  }

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

  /* Nav items cascade in */
  .js .gff-nav__list > li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 520ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)),
      transform 520ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
  }

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

  .js.is-loaded .gff-nav__list > li:nth-child(1) { transition-delay: 180ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(2) { transition-delay: 240ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(3) { transition-delay: 300ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(4) { transition-delay: 360ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(5) { transition-delay: 420ms; }
  .js.is-loaded .gff-nav__list > li:nth-child(6) { transition-delay: 480ms; }

  /* Hero choreography */
  .js .gff-hero__eyebrow,
  .js .gff-hero h1,
  .js .gff-hero .gff-lead,
  .js .gff-hero__actions,
  .js .gff-hero__media,
  .js .gff-trustcard {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 820ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)),
      transform 820ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
  }

  .js.is-loaded .gff-hero__eyebrow,
  .js.is-loaded .gff-hero h1,
  .js.is-loaded .gff-hero .gff-lead,
  .js.is-loaded .gff-hero__actions,
  .js.is-loaded .gff-hero__media,
  .js.is-loaded .gff-trustcard {
    opacity: 1;
    transform: none;
  }

  .js.is-loaded .gff-hero__eyebrow { transition-delay: 120ms; }
  .js.is-loaded .gff-hero h1 { transition-delay: 220ms; }
  .js.is-loaded .gff-hero .gff-lead { transition-delay: 400ms; }
  .js.is-loaded .gff-hero__actions { transition-delay: 520ms; }
  .js.is-loaded .gff-hero__media { transition-delay: 620ms; }
  .js.is-loaded .gff-trustcard { transition-delay: 760ms; }

  /* Hero swash draws itself under the headline */
  .js .gff-swash svg path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
  }

  .js.is-loaded .gff-swash svg path {
    animation: v3x-draw 1100ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)) 780ms forwards;
  }

  @keyframes v3x-draw {
    to { stroke-dashoffset: 0; }
  }

  /* Hero photo settles as it enters */
  .js .gff-hero__media img {
    transform: scale(1.06);
    transition: transform 1400ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
  }

  .js.is-loaded .gff-hero__media img {
    transform: scale(1);
  }
}

/* Scroll-linked photo drift where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .v3x-feature__media img,
    .v3x-ways-stack .gff-photocard img,
    .gff-partners-split .gff-photocard img {
      animation: v3x-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

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

/* Reveal: richer, directional variants */
@media (prefers-reduced-motion: no-preference) {
  .js .gff-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 820ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)),
      transform 820ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1));
    transition-delay: var(--reveal-delay, 0ms);
  }

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

  /* Scripture lines rise like a curtain */
  .js .v3x-scripture blockquote span.gff-reveal {
    transform: translateY(38px);
  }

  /* TOC rows slide from the left edge */
  .js .v3x-toc__row.gff-reveal {
    transform: translateY(20px);
  }

  /* Feature plate arrives from the side */
  @media (min-width: 62em) {
    .js .v3x-feature__plate.gff-reveal {
      transform: translate(-28px, 20px);
    }

    .js .v3x-feature__media.gff-reveal {
      transform: translateX(28px);
    }

    .js .v3x-feature__media.gff-reveal.is-visible {
      transform: none;
    }
  }

  /* Filmstrip tiles rise in sequence */
  .js .v3x-filmstrip > div.gff-reveal {
    transform: translateY(30px) scale(0.97);
  }

  .js .v3x-filmstrip > div.gff-reveal.is-visible {
    transform: none;
  }

  /* Ghost numerals fade up slightly slower */
  .js .v3x-num.gff-reveal {
    transition-duration: 1100ms;
  }
}

/* Hover polish on interactive cards */
.v3x-toc__row h3,
.gff-photocard img {
  transition: transform 520ms var(--ease-out, cubic-bezier(0.19, 1, 0.22, 1)),
    color 220ms ease;
}

.gff-photocard:hover img {
  transform: scale(1.03);
}
