/* ==========================================================================
   JRB FC ACADEMY — Design tokens
   ========================================================================== */

:root {
  --ink: #15150f;
  --ink-2: #1e1e16;
  --ink-3: #262619;
  --cream: #f3eedf;
  --cream-2: #eae1cb;
  --gold: #b4903f;
  --gold-light: #d8bb74;
  --pine: #24402e;
  --rust: #7c4226;
  --white: #ffffff;

  --text-dark: #1b1b14;
  --text-muted-dark: rgba(27, 27, 20, 0.64);
  --text-light: #f3eedf;
  --text-muted-light: rgba(243, 238, 223, 0.68);

  --font-display: "Oswald", sans-serif;
  --font-body: "Archivo", sans-serif;

  --container: 1180px;
  --section-pad: 7.5rem;
  --section-pad-mobile: 3.5rem;

  --radius: 3px;
}

@media (max-width: 720px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* staggered reveal for grid/row siblings */
.facts .fact.reveal:nth-child(1) { transition-delay: 0s; }
.facts .fact.reveal:nth-child(2) { transition-delay: 0.08s; }
.facts .fact.reveal:nth-child(3) { transition-delay: 0.16s; }
.facts .fact.reveal:nth-child(4) { transition-delay: 0.24s; }

.pathway .stage.reveal:nth-child(1) { transition-delay: 0s; }
.pathway .stage.reveal:nth-child(2) { transition-delay: 0.08s; }
.pathway .stage.reveal:nth-child(3) { transition-delay: 0.16s; }
.pathway .stage.reveal:nth-child(4) { transition-delay: 0.24s; }

.pillars .pillar.reveal:nth-child(1) { transition-delay: 0s; }
.pillars .pillar.reveal:nth-child(2) { transition-delay: 0.08s; }
.pillars .pillar.reveal:nth-child(3) { transition-delay: 0.16s; }
.pillars .pillar.reveal:nth-child(4) { transition-delay: 0.24s; }

.squad-grid > div.reveal:nth-child(1) { transition-delay: 0s; }
.squad-grid > div.reveal:nth-child(2) { transition-delay: 0.07s; }
.squad-grid > div.reveal:nth-child(3) { transition-delay: 0.14s; }
.squad-grid > div.reveal:nth-child(4) { transition-delay: 0.21s; }
.squad-grid > div.reveal:nth-child(5) { transition-delay: 0.28s; }

.photo-grid figure.reveal:nth-child(3n+1) { transition-delay: 0s; }
.photo-grid figure.reveal:nth-child(3n+2) { transition-delay: 0.07s; }
.photo-grid figure.reveal:nth-child(3n+3) { transition-delay: 0.14s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* smooth card lift on hover */
.pillar, .info-card, .kit-preview-card, .fact {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -20px rgba(21,21,15,0.35);
}
.squad-grid img, .program__img img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.squad-grid > div:hover img {
  transform: scale(1.035);
}

/* ==========================================================================
   Type
   ========================================================================== */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); line-height: 1.1; font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; text-transform: none; letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted-dark);
  max-width: 46ch;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head p { margin-top: 1rem; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--tight { padding: 4rem 0; }

.section--dark {
  background: var(--ink);
  color: var(--text-light);
}
.section--dark .lede { color: var(--text-muted-light); }
.section--dark h2, .section--dark h1, .section--dark h3 { color: var(--text-light); }

.section--cream2 { background: var(--cream-2); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid:hover { background: var(--gold-light); }

.btn-outline {
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.section:not(.section--dark) .btn-outline:hover {
  background: rgba(21, 21, 15, 0.06);
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(243, 238, 223, 0.1);
  transition: box-shadow 0.3s ease;
}
.nav--scrolled {
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.55);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}
.nav__brand .brand-badge {
  background: var(--cream);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.nav__brand img { height: 34px; width: auto; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.nav__brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a {
  color: var(--text-muted-light);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text-light); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1.4rem;
  height: 2px;
  background: var(--gold);
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  padding: 0.5rem;
}
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav__links { 
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2.5rem;
    gap: 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(243,238,223,0.1);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,21,15,0.35) 0%, rgba(21,21,15,0.35) 40%, rgba(21,21,15,0.92) 100%);
}
.hero__content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem 5rem;
  width: 100%;
}
.hero__eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}
.hero h1 {
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero p {
  max-width: 48ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.2rem;
}

.page-banner {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,21,15,0.25) 0%, rgba(21,21,15,0.85) 100%);
}
.page-banner__content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
  width: 100%;
}
.page-banner .eyebrow { color: var(--gold-light); }
.page-banner h1 { color: var(--white); max-width: 22ch; }

/* ==========================================================================
   Fact strip
   ========================================================================== */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(180,144,63,0.35);
  border-bottom: 1px solid rgba(180,144,63,0.35);
}
.fact {
  padding: 2.5rem 1.5rem;
  border-left: 1px solid rgba(180,144,63,0.35);
  text-align: left;
}
.fact:first-child { border-left: none; }
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.fact span {
  font-size: 0.92rem;
  color: var(--text-muted-light);
}

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; }
}

/* ==========================================================================
   Pathway timeline
   ========================================================================== */

.pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.pathway::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0; right: 0;
  height: 1px;
  background: rgba(27,27,20,0.15);
}
.section--dark .pathway::before { background: rgba(243,238,223,0.15); }

.stage {
  position: relative;
  padding-top: 3rem;
}
.stage__num {
  position: absolute;
  top: 0; left: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}
.section--dark .stage__num { background: var(--ink); }
.stage h3 { margin-bottom: 0.5rem; }
.stage .age { color: var(--gold); font-weight: 600; font-size: 0.9rem; display:block; margin-bottom: 0.6rem; }
.stage p { color: var(--text-muted-dark); font-size: 0.98rem; }
.section--dark .stage p { color: var(--text-muted-light); }

@media (max-width: 860px) {
  .pathway { grid-template-columns: 1fr; gap: 2.5rem; }
  .pathway::before { display: none; }
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.squad-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.squad-grid > div { overflow: hidden; border-radius: var(--radius); }
.squad-grid h3 { text-align: center; }

@media (max-width: 960px) {
  .squad-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Program cards (full detail, Programs page)
   ========================================================================== */

.program {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(27,27,20,0.12);
}
.program:last-of-type { border-bottom: none; }
.program:nth-of-type(even) .program__img { order: 2; }
.program__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}
.program__age {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  display: block;
}
.program h3 { margin-bottom: 1rem; }
.program p { color: var(--text-muted-dark); margin-bottom: 1rem; }
.program ul { margin-top: 1rem; }
.program li {
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: var(--text-muted-dark);
  font-size: 0.97rem;
}
.program li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .program, .program:nth-of-type(even) { grid-template-columns: 1fr; }
  .program:nth-of-type(even) .program__img { order: 0; }
}

/* ==========================================================================
   Feature box (goalkeeper callout, etc.)
   ========================================================================== */

.feature-box {
  background: var(--ink);
  color: var(--text-light);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
}
.feature-box__img { height: 100%; min-height: 280px; }
.feature-box__img img { width: 100%; height: 100%; object-fit: cover; }
.feature-box__body { padding: 3rem; }
.feature-box h3 { margin-bottom: 1rem; }
.feature-box p { color: var(--text-muted-light); margin-bottom: 1rem; }

@media (max-width: 760px) {
  .feature-box { grid-template-columns: 1fr; }
  .feature-box__img { min-height: 220px; }
  .feature-box__body { padding: 2rem; }
}

/* ==========================================================================
   Evaluation pillars
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(27,27,20,0.12);
  border: 1px solid rgba(27,27,20,0.12);
}
.pillar {
  background: var(--cream);
  padding: 2.2rem 1.8rem;
}
.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.pillar p { font-size: 0.93rem; color: var(--text-muted-dark); }

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

/* ==========================================================================
   Story page (About)
   ========================================================================== */

.story {
  max-width: 720px;
  margin: 0 auto;
}
.story p {
  font-size: 1.08rem;
  color: var(--text-dark);
  margin-bottom: 1.6rem;
}
.story figure {
  margin: 3rem 0;
}
.story figure img {
  width: 100%;
  border-radius: var(--radius);
}
.story figcaption {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-top: 0.7rem;
  font-style: italic;
}
.story .drop p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.8;
  padding: 0.1rem 0.6rem 0 0;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   Letter
   ========================================================================== */

.letter-section {
  background: var(--cream-2);
}
.letter {
  background: var(--cream);
  border: 1px solid rgba(27,27,20,0.12);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 4.5rem);
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -30px rgba(21,21,15,0.25);
}
.letter__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.letter__head img { height: 48px; width: auto; }
.letter__date { font-size: 0.9rem; color: var(--text-muted-dark); }
.letter-body p {
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
  color: var(--text-dark);
}
.letter-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  padding: 0.05rem 0.5rem 0 0;
  color: var(--gold);
  font-weight: 600;
}
.letter__sign {
  margin-top: 2.5rem;
}
.letter__sign strong {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.4rem;
  font-weight: 700;
}
.letter__sign span {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   Quote pull
   ========================================================================== */

.quote-pull {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.quote-pull img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.quote-pull blockquote {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  margin: 0 0 1.5rem;
  color: var(--text-light);
}
.quote-pull cite {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .quote-pull { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Photo grid (gallery teaser + full gallery)
   ========================================================================== */

.photo-grid {
  columns: 4 220px;
  column-gap: 1rem;
}
.photo-grid figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.photo-grid img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.photo-grid figure:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .photo-grid { columns: 2 160px; }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(21,21,15,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.8rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 5.5rem 2rem;
  border-top: 3px solid var(--gold);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--text-muted-light); margin-bottom: 2rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--ink);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 2.8rem;
  margin-bottom: 1.5rem;
}
.info-card h3 { margin-bottom: 1.2rem; }
.info-row {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
  color: var(--text-muted-light);
}
.info-row strong { color: var(--text-light); font-weight: 600; min-width: 6.5rem; display: inline-block; }

.contact-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-photo img { width: 100%; height: 220px; object-fit: cover; }

.kit-preview-card {
  background: var(--white);
  border: 1px solid rgba(27,27,20,0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.kit-preview-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.kit-preview-caption {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-style: italic;
}

.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(27,27,20,0.25);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-top: 1rem;
}

.form-success {
  display: none;
  background: var(--pine);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}
.form-success.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--text-muted-light);
  padding: 4.5rem 0 2.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(243,238,223,0.12);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.footer__brand .brand-badge {
  background: var(--cream);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.footer__brand img { height: 32px; }
.footer__brand strong {
  font-family: var(--font-display);
  color: var(--text-light);
  font-size: 1.1rem;
}
.footer p.motto {
  color: var(--gold-light);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 30ch;
}
.footer h4 {
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer li { margin-bottom: 0.75rem; font-size: 0.94rem; }
.footer a:hover { color: var(--text-light); }
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
