/* Silver Hoof Academy
   Layout: a navy band opens every view (the logo's field), then a quiet cream page below.
   Signature motif: the 20 x 60 m dressage arena with its lettered markers, drawn in gold on navy,
   echoed by the hairline gold frame offset around feature photos. */
:root {
  /* brand colors from the logo, same in both themes */
  --navy: #132E49;
  --navy-deep: #0C1F33;
  --gold: #C9A85F;
  --gold-light: #E3D08E;
  --cream: #F7F3E7;
  --band-muted: #C5D1DC;
  --shade: 19, 46, 73;
  /* themed tokens */
  --bg: #F7F3E7;
  --surface: #FCFAF3;
  --fg: #132E49;
  --muted: #4F6377;
  --line: #DDD5BD;
  --accent: #132E49;
  --on-accent: #F7F3E7;
  --gold-text: #7C5E1C;
  --sand: #EFE6CB;
  --sand-line: #CDBB86;
  --field: #FFFDF7;
  /* type */
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  /* layout */
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1A2B; --surface: #11253B; --fg: #F1EBDA; --muted: #A5B3C2; --line: #24394F;
    --accent: #C9A85F; --on-accent: #0B1A2B; --gold-text: #D8B96E; --sand: #172A40; --sand-line: #3A5068;
    --field: #0E2034;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1A2B; --surface: #11253B; --fg: #F1EBDA; --muted: #A5B3C2; --line: #24394F;
  --accent: #C9A85F; --on-accent: #0B1A2B; --gold-text: #D8B96E; --sand: #172A40; --sand-line: #3A5068;
  --field: #0E2034;
  color-scheme: dark;
}

/* Arabic: Amiri for display, IBM Plex Sans Arabic for text; Arabic letters must never be tracked */
html[lang="ar"] {
  --f-display: "Amiri", "Traditional Arabic", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-mono: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
html[lang="ar"] body * { letter-spacing: 0 !important; text-transform: none !important; }
.i18n-pending body { visibility: hidden; }

/* base */
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { line-height: 1.75; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !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; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: 0.02em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.45; }
html[lang="ar"] h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
html[lang="ar"] h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
html[lang="ar"] h3 { font-size: 1.3rem; }
h1:focus, h2:focus { outline: none; }
p { margin: 0; max-width: 65ch; }
.eyebrow { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
html[lang="ar"] .eyebrow { font-size: 0.92rem; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.stack > * + * { margin-top: 18px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-block: 10px; }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--fg); display: flex; align-items: center; gap: 12px; margin-inline-end: auto; min-width: 0; }
html[lang="ar"] .brand { font-size: 1.25rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.nav { order: 3; flex-basis: 100%; display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; padding-block: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
html[lang="ar"] .nav a { font-size: 1rem; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--gold); }
.lang { order: 2; font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--fg); background: transparent; border: 1px solid var(--sand-line); border-radius: 99px; padding: 5px 16px; line-height: 1.5; }
.lang:lang(ar) { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.lang:lang(en) { font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; }
.lang:hover { border-color: var(--gold); background: var(--sand); }
@media (max-width: 599px) {
  .top-in { gap: 4px 12px; padding-block: 8px 2px; }
  .brand { font-size: 0.9rem; gap: 10px; }
  .brand span { max-width: 9em; line-height: 1.25; }
  html[lang="ar"] .brand { font-size: 1.15rem; }
  .brand img { width: 42px; height: 42px; }
}
@media (min-width: 900px) {
  .nav { order: 2; flex-basis: auto; }
  .lang { order: 3; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; padding: 12px 22px; border-radius: 3px; border: 2px solid var(--accent); line-height: 1.3; text-align: center; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn:hover { border-color: var(--gold); }
.btn.ghost:hover { background: var(--sand); }
.on-navy .btn.primary, .band .btn.primary, .hero .btn.primary, .cta .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.band .btn.ghost, .hero .btn.ghost, .cta .btn.ghost { color: var(--cream); border-color: var(--gold); background: transparent; }
.band .btn:hover, .hero .btn:hover, .cta .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.linklike { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* photos */
.pic { position: relative; overflow: hidden; background: var(--sand); max-width: 100%; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.framed { outline: 1px solid var(--gold); outline-offset: 9px; overflow: visible; }
.framed img { position: relative; }
.band .framed, .hero .framed { outline-color: rgba(201, 168, 95, 0.7); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--cream); }
.hero picture { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(var(--shade), 0.97) 0%, rgba(var(--shade), 0.86) 34%, rgba(var(--shade), 0.35) 68%, rgba(var(--shade), 0.12) 100%),
    linear-gradient(to right, rgba(var(--shade), 0.55) 0%, rgba(var(--shade), 0) 60%); }
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(to top, rgba(var(--shade), 0.97) 0%, rgba(var(--shade), 0.86) 34%, rgba(var(--shade), 0.35) 68%, rgba(var(--shade), 0.12) 100%),
    linear-gradient(to left, rgba(var(--shade), 0.55) 0%, rgba(var(--shade), 0) 60%); }
.hero-in { padding-block: clamp(190px, 24vw, 300px) clamp(48px, 6vw, 72px); }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--cream); }
.hero .lede { color: #DCE4EC; }

/* fact strip under the hero */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0 auto; }
.strip-in > div { padding-block: 18px; border-top: 1px solid var(--line); min-width: 0; }
.strip-in > div:nth-child(-n+2) { border-top: 0; }
.strip dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
html[lang="ar"] .strip dt { font-size: 0.85rem; font-weight: 600; }
.strip dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }
@media (min-width: 900px) {
  .strip-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip-in > div { border-top: 0; padding-block: 22px; }
  .strip-in > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
}

/* navy band */
.band { background: var(--navy); color: var(--cream); padding-block: clamp(48px, 7vw, 76px); }
.band .eyebrow { color: var(--gold-light); }
.band h1, .band h2 { color: var(--cream); }
.band .lede { color: var(--band-muted); }
.band-split { display: grid; gap: 40px 64px; align-items: center; }
.band-split > * { min-width: 0; }
.band-pic { aspect-ratio: 4 / 3; margin: 10px; }
@media (min-width: 900px) { .band-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }

/* body sections */
.body { display: grid; gap: clamp(48px, 7vw, 72px); padding-block: clamp(52px, 7vw, 80px); }
.body > * { min-width: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.split { display: grid; gap: 24px 56px; }
.split > * { min-width: 0; }
.split-head > * + * { margin-top: 14px; }
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .split-head { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px); align-self: start; }
}

/* programs */
.programs { display: grid; }
.program { display: grid; gap: 14px 24px; padding-block: 22px; border-top: 1px solid var(--line); }
.program:last-child { border-bottom: 1px solid var(--line); }
.program-pic { aspect-ratio: 16 / 9; }
.program .tag { display: block; font-family: var(--f-mono); font-size: 0.74rem; color: var(--gold-text); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
html[lang="ar"] .program .tag { font-size: 0.88rem; font-weight: 600; }
.program p { color: var(--muted); margin-top: 6px; }
@media (min-width: 560px) {
  .program { grid-template-columns: 190px minmax(0, 1fr); align-items: start; }
  .program-pic { aspect-ratio: 4 / 3; }
}

/* arena drawing (on navy) */
.arena-grid { display: grid; gap: 32px 56px; align-items: center; }
.arena-grid > * { min-width: 0; }
@media (min-width: 900px) { .arena-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.arena-fig { margin: 0; }
.arena { width: 100%; height: auto; display: block; direction: ltr; }
.arena .ground { fill: #1B4163; stroke: var(--gold); stroke-width: 3; }
.arena .cl { stroke: #6C869C; stroke-width: 1.5; stroke-dasharray: 6 6; fill: none; }
.arena text { font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 15px; fill: var(--cream); text-anchor: middle; dominant-baseline: central; font-weight: 500; }
.arena .a { fill: var(--gold-light); }
.arena .dim { fill: #9DB0C1; font-size: 13px; }
html[lang="ar"] .arena .dim { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; direction: rtl; unicode-bidi: plaintext; font-size: 14px; }
.arena .dot { fill: var(--gold); }
@media (max-width: 560px) {
  .arena text { font-size: 22px; }
  .arena .dim, html[lang="ar"] .arena .dim { font-size: 19px; }
}
.caption { font-family: var(--f-mono); font-size: 0.78rem; color: var(--band-muted); margin-top: 12px; max-width: none; }
html[lang="ar"] .caption { font-size: 0.9rem; }
.scroll { overflow-x: auto; }

/* first lesson */
.first-pic { aspect-ratio: 4 / 3; margin-top: 28px !important; margin-inline: 10px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding-block: 18px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; color: var(--gold-text); font-weight: 500; padding-top: 2px; }
.steps strong { display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); }

/* call to action: navy copy beside a photo */
.cta { display: grid; background: var(--navy); color: var(--cream); }
.cta-copy { padding-block: clamp(48px, 7vw, 88px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); display: flex; align-items: center; }
.cta-copy .stack { max-width: 520px; }
.cta .eyebrow { color: var(--gold-light); }
.cta h2 { color: var(--cream); }
.cta .lede { color: var(--band-muted); }
.cta-pic { order: -1; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); }
.cta-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-copy { justify-content: flex-end; padding-inline-end: 64px; }
  .cta-pic { order: 0; aspect-ratio: auto; min-height: 420px; }
}

/* about */
.pledge { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px 32px; }
.pledge article > * + * { margin-top: 10px; }
.pledge-pic { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.pledge p { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(20px, 3vw, 30px); }
.panel > * + * { margin-top: 12px; }
.panel .actions { margin-top: 18px; }
.gaits { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.gaits th, .gaits td { text-align: start; padding-block: 12px; padding-inline: 0 14px; border-top: 1px solid var(--line); vertical-align: top; }
.gaits tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.gaits th { font-family: var(--f-mono); font-weight: 500; color: var(--gold-text); white-space: nowrap; }
.gaits td:nth-child(2) { font-family: var(--f-mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
html[lang="ar"] .gaits th { font-weight: 600; }

/* gallery */
.gallery-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 7px 16px; border-radius: 99px; }
.filters button:hover { color: var(--fg); border-color: var(--sand-line); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.frame { margin: 0; min-width: 0; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { padding-top: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
.frame figcaption span:last-child { font-family: var(--f-mono); font-size: 0.74rem; font-weight: 400; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
html[lang="ar"] .frame figcaption span:last-child { font-size: 0.85rem; }

/* lightbox (always dark, like a viewing room) */
.lightbox { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: transparent; color: var(--cream); overflow: hidden; }
.lightbox::backdrop { background: rgba(7, 17, 28, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; padding: 64px max(64px, env(safe-area-inset-right, 0px)) 24px max(64px, env(safe-area-inset-left, 0px)); display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.lb-fig img { max-width: min(100%, 1200px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-fig figcaption { display: flex; gap: 16px; justify-content: space-between; width: 100%; max-width: 1200px; font-weight: 600; }
#lb-count { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--band-muted); font-weight: 400; }
.lb-btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(201, 168, 95, 0.6); background: rgba(12, 31, 51, 0.7); color: var(--cream); cursor: pointer; padding: 0; }
.lb-btn:hover { background: var(--gold); color: var(--navy); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); inset-inline-end: max(14px, env(safe-area-inset-right, 0px)); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: max(10px, env(safe-area-inset-left, 0px)); }
.lb-next { inset-inline-end: max(10px, env(safe-area-inset-right, 0px)); }
[dir="rtl"] .lb-prev svg, [dir="rtl"] .lb-next svg { transform: scaleX(-1); }
@media (max-width: 640px) {
  .lb-fig { padding: 70px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: none; }
}

/* contact */
.contact-split { align-items: start; }
@media (min-width: 880px) { .contact-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.contact-side { display: grid; gap: 32px; }
.facts { display: grid; }
.fact { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding-block: 16px; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .fact { grid-template-columns: 130px minmax(0, 1fr); } }
.fact .k { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); padding-top: 4px; }
html[lang="ar"] .fact .k { font-size: 0.9rem; font-weight: 600; padding-top: 2px; }
.fact .v { overflow-wrap: anywhere; }
.copy-btn { font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; margin-inline-start: 10px; background: transparent; color: var(--accent); border: 1px solid var(--line); padding: 2px 10px; border-radius: 3px; }
ul.plain { margin: 0; padding-inline-start: 1.2em; color: var(--muted); }
ul.plain li + li { margin-top: 6px; }

/* visit form */
.form { display: grid; gap: 16px; }
.form-head > * + * { margin-top: 8px; }
.form-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--gold-text); }
.field input, .field select, .field textarea, #f-msg { font: inherit; font-size: 1rem; color: var(--fg); background: var(--field); border: 1px solid var(--sand-line); border-radius: 3px; padding: 10px 12px; width: 100%; min-width: 0; }
.field textarea, #f-msg { resize: vertical; }
.field input::placeholder { color: var(--muted); opacity: 0.75; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 4px; }
.result { display: grid; gap: 14px; }
.result h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
#f-msg { min-height: 180px; line-height: 1.55; }

/* footer */
.foot { background: var(--navy); color: var(--band-muted); border-top: 1px solid rgba(201, 168, 95, 0.4); }
.foot a { color: var(--cream); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 44px 28px; }
.who { display: flex; align-items: center; gap: 14px; }
.who strong { display: block; font-family: var(--f-display); color: var(--cream); letter-spacing: 0.06em; text-transform: uppercase; font-size: 1rem; }
html[lang="ar"] .who strong { font-size: 1.25rem; }
.who span { font-size: 0.92rem; }
.foot-logo { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.foot-nav a:hover { color: var(--gold-light); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(201, 168, 95, 0.55); border-radius: 50%; color: var(--cream); }
.social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 0.86rem; border-top: 1px solid rgba(197, 209, 220, 0.18); padding-top: 18px; padding-bottom: max(26px, env(safe-area-inset-bottom, 0px)); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .lang, .filters button, .social a, .lb-btn { transition: border-color 0.15s, color 0.15s, background 0.15s; }
  .program-pic img, .pledge-pic img, .shot img { transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
  .program:hover .program-pic img, .pledge article:hover .pledge-pic img, .shot:hover img { transform: scale(1.04); }
  .view:not([hidden]) { animation: view-in 0.4s ease both; }
  .hero-copy > * { animation: rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
}
@keyframes view-in { from { opacity: 0.001; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
