/* =========================================================
   Versailles Vivant — Modern Design System
   Elevated palette with gradients, glass effects, and smooth
   animations. Premium feel while honoring the garden heritage.
   ========================================================= */
:root {
  --boxwood: #1F3626;
  --boxwood-deep: #0A1A12;
  --boxwood-glow: #2E4F38;
  --stone: #F7F2E4;
  --stone-deep: #EDE4CC;
  --ink: #1A1510;
  --gilt: #C2984D;
  --gilt-light: #E0B876;
  --gilt-pale: #F0DCAF;
  --sage: #8FA090;
  --sage-line: #DCE0CE;
  --sage-text: #546A58;   /* sage for text on light backgrounds (5.2:1 on --stone) */
  --gilt-ink: #7B5A1C;    /* gilt for text on light backgrounds (5.6:1 on --stone) */
  --danger: #9B2C2C;

  --gradient-gold: linear-gradient(135deg, #C2984D 0%, #E0B876 50%, #C2984D 100%);
  --gradient-boxwood: linear-gradient(135deg, #1F3626 0%, #2E4F38 100%);
  --gradient-hero: linear-gradient(135deg, rgba(31,54,38,0.95) 0%, rgba(18,35,26,0.9) 50%, rgba(10,26,18,0.85) 100%);
  --glass-bg: rgba(247,242,228,0.7);
  --glass-border: rgba(194,152,77,0.2);
  --glass-shadow: 0 8px 32px rgba(31,54,38,0.1);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Work Sans', sans-serif;

  --container: 1280px;
  --radius: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Self-hosted fonts (SIL Open Font License 1.1 — see fonts/LICENSE-*.txt) =====
   Hosting them here instead of fonts.googleapis.com means visitors' IP addresses are not sent to Google,
   which German courts have ruled can breach the GDPR. Latin text uses Work Sans / Cormorant Garamond;
   Macedonian (Cyrillic) falls back per-character to Inter / Cormorant Garamond's Cyrillic subset. */

/* Work Sans — Latin (English, French) */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/work-sans-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/work-sans-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/work-sans-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Work Sans has no Cyrillic, so Macedonian body text borrows Inter under the same family name */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-cyrillic-400.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-cyrillic-500.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/inter-cyrillic-600.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Cormorant Garamond — headings (Latin + Cyrillic) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('fonts/cormorant-garamond-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/cormorant-garamond-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('fonts/cormorant-garamond-cyrillic-500.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('fonts/cormorant-garamond-cyrillic-600.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--sage-line) var(--stone); scrollbar-width: thin; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0; font-family: var(--font-body); background: var(--stone); color: var(--ink);
  line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 20% 50%, rgba(194,152,77,0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(31,54,38,0.02) 0%, transparent 50%);
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--stone-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gilt) 0%, var(--gilt-light) 100%); border-radius: 10px; border: 2px solid var(--stone-deep); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gilt-light) 0%, var(--gilt) 100%); }
::selection { background: var(--gilt); color: var(--boxwood-deep); }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--stone) 0%, var(--gilt-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
}
h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
}
h4 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
}
p { margin: 0 0 1.2em; line-height: 1.75; }
a { color: inherit; transition: color .3s var(--ease); }
img, svg { max-width: 100%; display: block; }
ul { padding-left: 1.4em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, .table-wrap:focus-visible {
  outline: 3px solid var(--gilt-ink); outline-offset: 3px;
}
/* on the dark surfaces the light gilt is the one with enough contrast */
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section-boxwood :focus-visible,
.cookie-banner :focus-visible, .tour-viewport :focus-visible, .skip-link:focus-visible { outline-color: var(--gilt-light); }

.eyebrow {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gilt-ink); font-weight: 600;
}
.drop-cap::first-letter {
  font-family: var(--font-display); font-weight: 600; font-size: 3.5em; line-height: 0.75; float: left;
  padding: 0.04em 0.09em 0 0; color: var(--gilt-ink);
}

/* Parterre-line divider — a nod to the geometric hedge patterns of the gardens */
.parterre { width: 220px; margin: 48px auto; color: var(--gilt); opacity: 0.65; }
.parterre svg { width: 100%; height: auto; display: block; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .parterre svg line, .parterre svg rect, .parterre svg path {
    stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.6s var(--ease);
  }
  .parterre.is-visible svg line, .parterre.is-visible svg rect, .parterre.is-visible svg path { stroke-dashoffset: 0; }
}
.section-boxwood .parterre { color: var(--gilt-light); opacity: 0.8; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.02em; padding: 16px 32px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: all .4s var(--ease); position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.btn-primary {
  background: var(--gradient-gold); color: var(--boxwood-deep);
  box-shadow: 0 4px 15px rgba(194,152,77,0.3), 0 0 0 0 rgba(194,152,77,0.4);
  transition: all .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left .6s var(--ease);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(194,152,77,0.5), 0 0 20px rgba(194,152,77,0.3);
}
.btn-primary:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px rgba(194,152,77,0.4);
}
.btn-outline {
  background: transparent; border: 2px solid var(--gilt-ink); color: var(--gilt-ink);
  box-shadow: 0 0 0 0 rgba(194,152,77,0);
}
.btn-outline:hover {
  background: var(--gilt); color: var(--boxwood-deep);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(194,152,77,0.4), 0 0 20px rgba(194,152,77,0.2);
}
.btn-outline:active {
  transform: translateY(-2px) scale(1.01);
}
.btn:active { transform: translateY(-1px) scale(0.98); }

/* Magnetic button effect */
.btn.magnetic {
  transition: transform .2s var(--ease);
}
.btn.magnetic:hover {
  animation: magnetic-pulse 2s ease-in-out infinite;
}
@keyframes magnetic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(194,152,77,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(194,152,77,0); }
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,26,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--stone);
  border-bottom: 1px solid rgba(194,152,77,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px clamp(16px, 2.2vw, 32px); max-width: var(--container); margin: 0 auto; position: relative; }
.brand {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; text-decoration: none;
  color: var(--stone); transition: transform .3s var(--ease);
}
.brand:hover { transform: scale(1.05); }
.brand svg { width: 28px; height: 28px; color: var(--gilt-light); filter: drop-shadow(0 0 8px rgba(194,152,77,0.5)); }
.nav-toggle { display: none; background: none; border: none; color: var(--stone); cursor: pointer; padding: 8px; border-radius: var(--radius); transition: background .3s ease; }
.nav-toggle:hover { background: rgba(194,152,77,0.2); }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-collapse { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.nav-links { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-family: var(--font-body); font-size: 0.86rem; white-space: nowrap;
  letter-spacing: 0.02em; color: var(--sage-line); padding: 8px 4px; position: relative;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px;
  background: var(--gradient-gold); transition: all .4s var(--ease); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { left: 0; right: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gilt-light); }
.lang-toggle {
  display: flex; gap: 6px; font-family: var(--font-body); font-size: 0.76rem;
  background: rgba(194,152,77,0.1); padding: 6px; border-radius: var(--radius);
}
.lang-toggle a {
  display: inline-flex; align-items: center; justify-content: center; color: var(--sage-line); padding: 6px 12px;
  text-decoration: none; border-radius: 4px; transition: all .3s var(--ease);
}
.lang-toggle a:hover { color: var(--gilt-light); background: rgba(194,152,77,0.15); }
.lang-toggle a[aria-current="true"] {
  background: var(--gradient-gold); color: var(--boxwood-deep);
  font-weight: 600; box-shadow: 0 2px 8px rgba(194,152,77,0.3);
}
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .nav-collapse {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--boxwood-deep);
    flex-direction: column; align-items: flex-start; padding: 0 32px; gap: 24px;
    border-bottom: 1px solid rgba(194,152,77,0.3);
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-height .5s var(--ease), opacity .4s var(--ease), padding .5s var(--ease);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  /* never taller than the screen: on a phone in landscape, or at 200% zoom, the menu scrolls instead of being cut off */
  .nav-collapse.is-open { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; opacity: 1; pointer-events: auto; padding: 28px 32px; }
  .nav-links { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; width: 100%; }
  .nav-links a { font-size: 1rem; padding: 10px 0; }
  .lang-toggle { width: 100%; justify-content: center; }
}

/* ===== Hero ===== */
.hero {
  background-color: var(--boxwood-deep);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0),
    var(--gradient-hero),
    var(--hero-photo, none);
  background-size: 3px 3px, auto, cover;
  background-position: 0 0, 0 0, center 45%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  color: var(--stone);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(194,152,77,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(31,54,38,0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(194,152,77,0.08) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(224,184,118,0.06) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(31,54,38,0.05) 0%, transparent 30%);
  animation: float-particles 20s linear infinite;
  pointer-events: none;
}
@keyframes float-particles {
  0% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
.hero h1 {
  color: var(--stone);
  background: linear-gradient(135deg, var(--stone) 0%, var(--gilt-light) 50%, var(--stone) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.page-hero h1 {
  color: var(--stone);
  background: linear-gradient(135deg, var(--stone) 0%, var(--gilt-light) 50%, var(--stone) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: gradient-shift 4s ease infinite;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .container > *, .page-hero .container > * { animation: heroIn .9s var(--ease) both; }
}
.hero .container > *:nth-child(1), .page-hero .container > *:nth-child(1) { animation-delay: .1s; }
.hero .container > *:nth-child(2), .page-hero .container > *:nth-child(2) { animation-delay: .2s; }
.hero .container > *:nth-child(3), .page-hero .container > *:nth-child(3) { animation-delay: .3s; }
.hero .container > *:nth-child(4) { animation-delay: .4s; }
.hero .container > *:nth-child(5) { animation-delay: .5s; }
@keyframes heroIn {
  from { transform: translateY(18px); }
  to { transform: none; }
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--sage-line);
  max-width: 52ch;
  margin-bottom: 2em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.page-hero {
  background-color: var(--boxwood-deep);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0),
    var(--gradient-hero),
    var(--hero-photo, none);
  background-size: 3px 3px, auto, cover;
  background-position: 0 0, 0 0, center 42%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  color: var(--stone);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(194,152,77,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero h1 { color: var(--stone); text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.page-hero .lede {
  max-width: 60ch;
  color: var(--sage-line);
  font-size: 1.12rem;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-boxwood {
  background-color: var(--boxwood);
  color: var(--stone);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0),
    linear-gradient(135deg, rgba(31,54,38,0.3) 0%, transparent 50%);
  background-size: 3px 3px, auto;
}
.section-header { max-width: 68ch; margin-bottom: 52px; }
.section-header .eyebrow { display: block; margin-bottom: 14px; }
.section-flex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }

/* Scroll reveal only moves content; it never hides it (so screenshots, print, and no-JS visitors see everything). */
.reveal { opacity: 1; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    transform: translateY(28px);
    transition: transform .9s var(--ease);
  }
  .reveal.is-visible { transform: translateY(0); }
}
.reveal-1 { transition-delay: .1s; }
.reveal-2 { transition-delay: .2s; }
.reveal-3 { transition-delay: .3s; }
.reveal-4 { transition-delay: .4s; }

/* ===== Gilt-frame card (signature component) ===== */
.frame-card {
  border: 1px solid var(--gilt);
  padding: 28px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .5s var(--ease);
  position: relative;
  background: var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.frame-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(194,152,77,0.4);
  pointer-events: none;
  border-radius: 4px;
}
.frame-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(194,152,77,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.frame-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 25px 50px rgba(31,54,38,0.2), 0 0 0 1px rgba(194,152,77,0.4);
}
.frame-card:hover::after { opacity: 1; }
.frame-card.has-photo { padding: 0; border-radius: var(--radius); }
.frame-card .card-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.frame-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.frame-card:hover .card-photo img { transform: scale(1.12); }
.frame-card .card-body {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.frame-card .eyebrow { display: block; margin-bottom: 12px; }
.frame-card h3 { margin-bottom: 12px; }
.frame-card p { opacity: 0.9; flex-grow: 1; }
.frame-card .meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--sage-text);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--sage-line);
}
.section-boxwood .frame-card {
  background: rgba(247,242,228,0.05);
  border-color: var(--gilt-light);
}
.section-boxwood .frame-card::before { border-color: rgba(224,184,118,0.4); }
.section-boxwood .frame-card .meta { color: var(--sage-line); border-color: rgba(194,152,77,0.3); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ===== Glassmorphism components ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 32px;
  transition: all .4s var(--ease);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31,54,38,0.15);
  border-color: rgba(194,152,77,0.4);
}

.glass-badge {
  background: rgba(194,152,77,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(194,152,77,0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gilt-light);
  display: inline-block;
  transition: all .3s var(--ease);
}
.glass-badge:hover {
  background: rgba(194,152,77,0.25);
  transform: scale(1.05);
}

/* ===== Floating elements ===== */
.float-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(194,152,77,0.4);
  transition: all .4s var(--ease);
  z-index: 90;
}
.float-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 32px rgba(194,152,77,0.5);
}
.float-btn svg {
  width: 24px;
  height: 24px;
  color: var(--boxwood-deep);
}

/* ===== Enhanced stat row ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  border-top: 1px solid rgba(194,152,77,0.4);
  padding-top: 36px;
  margin-top: 52px;
}
.stat {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  transition: all .4s var(--ease);
}
.stat:hover {
  background: rgba(194,152,77,0.08);
  transform: translateY(-4px);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gilt-light);
  display: block;
  background: linear-gradient(135deg, var(--gilt-light) 0%, var(--gilt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat .cap {
  font-size: 0.88rem;
  color: var(--sage-line);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat .num { font-size: 2rem; }
}

/* ===== Icon badge (department / programme icons) ===== */
.item-icon {
  width: 68px;
  height: 68px;
  border: 2px solid var(--gilt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex: none;
  background: linear-gradient(135deg, rgba(194,152,77,0.1) 0%, transparent 50%);
  transition: all .4s var(--ease);
}
.item-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(194,152,77,0.3);
}
.item-icon svg { width: 36px; height: 36px; transition: transform .4s var(--ease); }
.item-icon:hover svg { transform: scale(1.1); }
.item { display: flex; gap: 28px; align-items: flex-start; }
.item-body { flex: 1; }
@media (max-width: 560px) { .item { flex-direction: column; gap: 16px; } }

.entry {
  border-top: 1px solid var(--sage-line);
  padding: 48px 0;
  transition: background .4s var(--ease);
}
.entry:first-of-type { border-top: none; padding-top: 0; }
.entry:hover { background: rgba(194,152,77,0.02); }
.entry .item-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 28px;
  border: 2px solid var(--gilt);
  border-radius: var(--radius);
}
.entry .item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.entry .item-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 28px;
  border: 2px solid var(--gilt);
  border-radius: var(--radius);
  position: relative;
}
.entry .item-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194,152,77,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.entry:hover .item-photo::after { opacity: 1; }
.entry .entry-art {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 28px;
  border: 2px solid var(--gilt);
  border-radius: var(--radius);
  background: var(--stone-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.entry .entry-art svg { width: 78%; height: 78%; transition: transform .6s var(--ease); }
.entry:hover .entry-art svg { transform: scale(1.08); }
.photo-credit {
  display: block;
  font-size: 0.76rem;
  color: var(--sage-text);
  margin: -18px 0 24px;
  text-align: right;
}
.photo-credit a { color: var(--sage-text); text-decoration: underline; }
.entry:hover .item-photo img { transform: scale(1.08); }
.post-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 28px;
  border: 2px solid var(--gilt);
  border-radius: var(--radius);
  position: relative;
}
.post-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.post-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194,152,77,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.entry:hover .post-photo::after { opacity: 1; }
.entry:hover .post-photo img { transform: scale(1.08); }

/* ===== Glow effects and ambient lighting ===== */
.glow-effect {
  position: relative;
}
.glow-effect::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--gilt), var(--gilt-light), var(--gilt-pale), var(--gilt));
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity .4s var(--ease);
  animation: glow-rotate 3s linear infinite;
}
.glow-effect:hover::before {
  opacity: 0.6;
}
@keyframes glow-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,152,77,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambient-float 10s ease-in-out infinite;
}
.ambient-glow-1 {
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}
.ambient-glow-2 {
  bottom: -200px;
  left: -200px;
  animation-delay: 5s;
}
@keyframes ambient-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.text-glow {
  text-shadow: 0 0 20px rgba(194,152,77,0.3), 0 0 40px rgba(194,152,77,0.2);
}
.text-glow-strong {
  text-shadow: 0 0 30px rgba(194,152,77,0.5), 0 0 60px rgba(194,152,77,0.3), 0 0 90px rgba(194,152,77,0.2);
}

.box-glow {
  box-shadow: 0 0 20px rgba(194,152,77,0.2), 0 0 40px rgba(194,152,77,0.1);
}
.box-glow:hover {
  box-shadow: 0 0 30px rgba(194,152,77,0.3), 0 0 60px rgba(194,152,77,0.2), 0 0 90px rgba(194,152,77,0.1);
}

/* ===== Forms ===== */
.form-field { margin-bottom: 26px; }
.form-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 10px;
  font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 16px 18px;
  border: 2px solid var(--sage-line);
  background: var(--stone);
  color: var(--ink);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gilt-ink);
  box-shadow: 0 0 0 4px rgba(194,152,77,0.18);
  outline: 3px solid var(--gilt-ink);
  outline-offset: 2px;
}
.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--sage-text);
  opacity: 1;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.86rem; color: var(--sage-text); margin-top: 6px; }
.form-success {
  display: none;
  border-top: 2px solid var(--gilt);
  padding-top: 24px;
  margin-top: 12px;
  background: rgba(194,152,77,0.08);
  padding: 20px;
  border-radius: var(--radius);
}
.form-success.is-visible { display: block; animation: slideIn .4s var(--ease); }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 17px 0; border-bottom: 1px solid var(--sage-line); }
.info-list .eyebrow { display: block; margin-bottom: 4px; }
.map-frame { border: 1px solid var(--sage-line); filter: sepia(6%) saturate(90%); width: 100%; height: 300px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--boxwood-deep);
  color: var(--sage-line);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h3, .footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gilt-light);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a {
  text-decoration: none;
  color: var(--sage-line);
  transition: color .3s var(--ease), transform .3s var(--ease);
  display: inline-block;
}
.footer-grid a:hover {
  color: var(--gilt-light);
  transform: translateX(4px);
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(194,152,77,0.25);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: var(--gilt-light);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.footer-bottom a:hover { color: var(--gilt); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Cookie notice =====
   A bar at the very top of the page, in the normal flow: it pushes the page down instead of covering it.
   lang-init.js adds html.consent-pending before the first paint when no choice has been made yet, so the bar is
   there from the start and nothing moves when the scripts load; script.js removes it once the visitor chooses. */
.cookie-banner { display: none; position: relative; z-index: 101; background: var(--ink); color: var(--stone); border-bottom: 3px solid var(--gilt); }
html.consent-pending .cookie-banner, .cookie-banner.is-visible { display: block; }
.cookie-inner {
  max-width: var(--container); margin: 0 auto; padding: 14px clamp(16px, 2.2vw, 32px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title actions" "text actions";
  column-gap: 32px; row-gap: 2px; align-items: center;
}
.cookie-title { grid-area: title; }
.cookie-text { grid-area: text; }
.cookie-banner p { font-size: 0.88rem; line-height: 1.5; margin: 0; color: var(--sage-line); }
.cookie-actions { grid-area: actions; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { padding: 10px 16px; font-size: 0.84rem; text-align: center; justify-content: center; }
@media (max-width: 900px) {
  .cookie-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "actions"; row-gap: 4px; padding-block: 12px; }
  .cookie-actions { justify-content: stretch; margin-top: 8px; }
  .cookie-actions .btn { flex: 1 1 11em; }
}

/* ===== Small-screen refinements ===== */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 24px; }
  .nav { padding: 16px 24px; }
  h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  .drop-cap::first-letter { font-size: 2.5em; }
  .hero { padding: 80px 0 64px; }
  .page-hero { padding: 44px 0 36px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .stat-row { gap: 20px 16px; }
  .stat .num { font-size: 1.9rem; }
  .stat .cap { font-size: 0.8rem; }
  .btn { padding: 14px 28px; font-size: 0.9rem; }
  .frame-card { padding: 22px 20px; }
  .item-icon { width: 56px; height: 56px; }
  .item-icon svg { width: 28px; height: 28px; }
  .site-footer { padding: 64px 0 24px; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 20px; }
  h1 { font-size: clamp(1.8rem, 11vw, 2.4rem); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 40px 0 32px; }
  .section { padding: 60px 0; }
}
@media (min-width: 1400px) {
  .container, .container-narrow { padding: 0 48px; }
  .section { padding: 120px 0; }
  .hero { padding: 140px 0 120px; }
  .page-hero { padding: 72px 0 60px; }
}
@media (max-width: 768px) {
  .nav-links a { font-size: 0.86rem; }
  .brand { font-size: 1.1rem; }
  .brand svg { width: 24px; height: 24px; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .section-flex-head { flex-direction: column; align-items: flex-start; }
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* ===== Virtual tour ===== */
.tour-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--boxwood-deep);
  border: 2px solid var(--gilt);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(31,54,38,0.2);
}
.tour-room {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
  transform: scale(1.05);
}
.tour-room.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.tour-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 36px;
  background: linear-gradient(0deg, rgba(10,26,18,0.95) 0%, rgba(10,26,18,0.7) 55%, transparent 100%);
  color: var(--stone);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tour-caption .eyebrow { color: var(--gilt-light); }
.tour-caption h2 {
  color: var(--stone);
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
}
.tour-caption p {
  max-width: 58ch;
  margin: 0;
  color: var(--sage-line);
  font-size: 1rem;
}
@media (max-width: 560px) {
  .tour-caption { padding: 24px 20px; }
  .tour-caption h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
}

.tour-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tour-nav-btn {
  background: none;
  border: 2px solid var(--gilt);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px 24px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-nav-btn:hover {
  background: var(--gradient-gold);
  color: var(--boxwood-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194,152,77,0.3);
}
.tour-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.tour-nav-btn:disabled:hover {
  background: none;
  color: var(--ink);
  transform: none;
  box-shadow: none;
}
.tour-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tour-dots button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sage-line);
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tour-dots button:hover {
  border-color: var(--gilt);
  transform: scale(1.1);
}
.tour-dots button[aria-current="true"] {
  background: var(--gradient-gold);
  border-color: var(--gilt);
  color: var(--boxwood-deep);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(194,152,77,0.35);
}
.tour-progress {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--sage-text);
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
}

/* ===== Page transitions ===== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--boxwood-deep);
  z-index: 9998;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}
.page-transition.is-active {
  transform: translateY(0);
}
.page-transition.is-exiting {
  transform: translateY(100%);
}

body.is-loading main {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.is-loaded main {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Text reveal animations ===== */
.text-reveal {
  overflow: hidden;
}
.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.text-reveal.is-visible span {
  transform: translateY(0);
  opacity: 1;
}

.text-gradient-animate {
  background: linear-gradient(90deg, var(--gilt), var(--gilt-light), var(--gilt), var(--gilt-pale), var(--gilt));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s linear infinite;
}
@keyframes gradient-flow {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ===== Morphing decorative shapes ===== */
.morph-shape {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, rgba(194,152,77,0.1) 0%, rgba(224,184,118,0.05) 100%);
  animation: morph 8s ease-in-out infinite;
  pointer-events: none;
}
.morph-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}
.morph-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}
.morph-shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}
@keyframes morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
  }
}
.skeleton {
  background: linear-gradient(90deg, var(--stone-deep) 25%, var(--sage-line) 50%, var(--stone-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
}
.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-text.long { width: 100%; }

.skeleton-card {
  padding: 24px;
  border: 1px solid var(--sage-line);
  border-radius: var(--radius);
}
.skeleton-card .skeleton-image {
  aspect-ratio: 16/9;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--sage-line);
  border-top-color: var(--gilt);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.loading-dots span {
  width: 10px;
  height: 10px;
  background: var(--gilt);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite;
}
.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.page-loader .loading-spinner {
  width: 60px;
  height: 60px;
  border-width: 4px;
}


.skip-link:focus{left:8px;top:8px}

/* =========================================================
   Additions (accessibility, new components, 2026 revision)
   ========================================================= */
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 1000; background: var(--boxwood-deep); color: var(--stone);
  padding: 12px 20px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--gilt-light); outline-offset: 2px; }
main:focus { outline: none; }

/* dark backgrounds use the light gilt; light backgrounds use the darker "ink" gilt for readable text */
.page-hero .eyebrow, .hero .eyebrow, .section-boxwood .eyebrow, .tour-caption .eyebrow, .site-footer .eyebrow, .cookie-banner .eyebrow { color: var(--gilt-light); }
.section-boxwood .btn-outline, .hero .btn-outline, .page-hero .btn-outline, .cookie-banner .btn-outline { color: var(--gilt-light); border-color: var(--gilt-light); }
.section-boxwood .btn-outline:hover, .hero .btn-outline:hover, .page-hero .btn-outline:hover, .cookie-banner .btn-outline:hover { background: var(--gilt-light); color: var(--boxwood-deep); }
.section-boxwood h2, .section-boxwood h3 { color: var(--stone); }
.section-boxwood p { color: var(--sage-line); }
.section-stone { background: var(--stone-deep); }
@media (max-width: 900px) { .page-hero { background-attachment: scroll; } }

/* the collapsed mobile menu must not be reachable by keyboard or screen reader */
@media (max-width: 1280px) {
  .nav-collapse { visibility: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), padding .5s var(--ease), visibility 0s .5s; }
  .nav-collapse.is-open { visibility: visible; transition-delay: 0s; }
}
.nav-toggle { min-width: 44px; min-height: 44px; }
.lang-toggle a { min-width: 36px; min-height: 36px; }
.nav-links a { padding-block: 6px; }

/* ----- footer ----- */
.footer-grid address { font-style: normal; }
.footer-heading { font-family: var(--font-body); }
.footer-grid p { color: var(--sage-line); font-size: 0.95rem; }
.footer-disclaimer {
  font-size: 0.84rem; color: var(--sage-line); border-top: 1px solid rgba(194,152,77,0.25);
  padding-top: 24px; margin: 0 0 24px; max-width: 95ch;
}
.footer-disclaimer strong { color: var(--stone); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer-legal a, .link-button { color: var(--gilt-light); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom > span { color: var(--sage-line); }
.link-button {
  background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; min-height: 24px;
}
.link-button:hover { color: var(--stone); }
.link-button:focus-visible, .footer-legal a:focus-visible, .footer-grid a:focus-visible { outline: 2px solid var(--gilt-light); outline-offset: 3px; }

/* ----- cookie notice ----- */
.cookie-banner:focus { outline: none; }
.cookie-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--stone); margin: 0 !important; }
.cookie-banner a { color: var(--gilt-light); text-underline-offset: 3px; }
.cookie-banner a:focus-visible, .cookie-banner button:focus-visible { outline: 2px solid var(--gilt-light); outline-offset: 3px; }

/* ----- forms ----- */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-field .checkbox-label {
  display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0;
  font-size: 0.95rem; font-weight: 400; color: var(--ink); margin: 0;
}
.form-field .checkbox-label input[type="checkbox"] {
  flex: none; width: 24px; height: 24px; min-width: 24px; padding: 0; margin: 2px 0 0; accent-color: var(--boxwood);
}
.checkbox-label a, .form-note a { color: var(--boxwood); text-underline-offset: 3px; }
.optional-tag { text-transform: none; letter-spacing: 0; font-weight: 400; }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.9rem; font-weight: 500; margin: 8px 0 0; }
.form-errors, .form-failure {
  border: 2px solid var(--danger); border-left-width: 6px; background: #FBEFEC; color: #5E1A1A;
  padding: 16px 20px; border-radius: var(--radius); margin-bottom: 26px;
}
.form-errors:focus, .form-failure:focus, .form-success:focus { outline: 3px solid var(--gilt-ink); outline-offset: 3px; }
.form-errors-title { margin: 0 0 8px; font-weight: 600; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-errors a, .form-failure a { color: #5E1A1A; font-weight: 600; }
.form-success h2 { font-size: 1.5rem; }
.demo-note {
  display: inline-block; padding: 6px 14px; border: 1px dashed currentColor; border-radius: var(--radius);
  font-size: 0.86rem; font-weight: 500; background: rgba(194,152,77,0.12); margin: 14px 0 0; color: var(--ink);
}
.page-hero .demo-note { color: var(--stone); }
.join-panel {
  background: var(--stone-deep); border: 1px solid var(--sage-line); border-top: 3px solid var(--gilt);
  border-radius: var(--radius-lg); padding: 40px; max-width: 760px; margin: 0 auto;
}
@media (max-width: 560px) { .join-panel { padding: 24px 20px; } }

/* ----- filters (events, journal) ----- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.chip {
  font: 600 0.88rem var(--font-body); padding: 8px 18px; min-height: 40px; border-radius: 999px;
  border: 2px solid var(--sage-line); background: var(--stone); color: var(--ink); cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.chip:hover { border-color: var(--gilt-ink); }
.chip[aria-pressed="true"] { background: var(--boxwood); border-color: var(--boxwood); color: var(--stone); }
.filter-status { font-size: 0.9rem; color: var(--sage-text); margin: 0 0 28px; min-height: 1.5em; }
.feed-link { margin-left: auto; font-size: 0.9rem; font-weight: 600; color: var(--gilt-ink); text-underline-offset: 3px; }

/* ----- events ----- */
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list .entry { border-top: 1px solid var(--sage-line); padding: 40px 0; }
.event-list > li:first-child > .entry { border-top: none; padding-top: 8px; }
/* past events: the text keeps its full contrast (fading the whole card made the "Past" badge unreadable); only the
   decorative icon is greyed out and the title is muted */
.entry.is-past h3 { color: var(--sage-text); }
.entry.is-past .item-icon { filter: grayscale(1); opacity: 0.55; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 36px; margin: 14px 0 18px; }
.event-meta div { display: flex; gap: 10px; align-items: baseline; }
.event-meta dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-text); }
.event-meta dd { margin: 0; }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.event-note { font-size: 0.92rem; color: var(--sage-text); font-style: italic; }
.btn-small { padding: 10px 20px; font-size: 0.86rem; min-height: 44px; }
.badge-past {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--stone-deep);
  border: 1px solid var(--sage-line); color: var(--ink); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* ----- cards, people, sources ----- */
.avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--boxwood); color: var(--gilt-light); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  border: 2px solid var(--gilt);
}
.team-note { font-size: 0.92rem; color: var(--sage-text); font-style: italic; margin-top: 32px; }
.source-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.source-list a { color: var(--boxwood); text-underline-offset: 3px; }
.source-list a:hover { color: var(--gilt-ink); }

/* ----- long-form text (privacy, accessibility) ----- */
.prose-block { margin-bottom: 48px; }
.prose-block h2 { font-size: 1.7rem; margin-bottom: 14px; }
.prose a, .faq-answer a { color: var(--boxwood); text-underline-offset: 3px; }
.prose a:hover, .faq-answer a:hover { color: var(--gilt-ink); }
.prose li { margin-bottom: 0.6em; }
.prose code, .faq-answer code { background: var(--stone-deep); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 2em; }
.tick-list li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.45em; width: 0.9em; height: 0.5em;
  border-left: 2px solid var(--boxwood); border-bottom: 2px solid var(--boxwood); transform: rotate(-45deg);
}
.meta-line { color: var(--sage-text); font-size: 0.92rem; margin-top: 18px; }

/* ----- FAQ ----- */
.faq-group { margin-bottom: 56px; }
.faq-group h2 { font-size: 1.7rem; margin-bottom: 18px; }
.faq-item { border-bottom: 1px solid var(--sage-line); }
.faq-item:first-of-type { border-top: 1px solid var(--sage-line); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative; padding: 18px 44px 18px 0; min-height: 44px;
  font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--gilt-ink); font-weight: 400;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--gilt-ink); outline-offset: 2px; }
.faq-answer { padding: 0 0 22px; max-width: 66ch; }

/* ----- impact: key figures, charts, data tables ----- */
.stat-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 0 0 72px; }
.stat-card { background: var(--stone); border: 1px solid var(--gilt); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.stat-card .value { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1.1; color: var(--boxwood); }
.stat-card .label { display: block; margin-top: 8px; font-size: 0.92rem; color: var(--sage-text); }
@media (max-width: 800px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } .stat-card .value { font-size: 2.1rem; } }
.chart-block { margin: 0 0 64px; padding: 28px; background: var(--stone); border: 1px solid var(--sage-line); border-radius: var(--radius-lg); }
.chart-block h3 { font-size: 1.35rem; margin-bottom: 14px; }
.chart { width: 100%; min-width: 0; min-height: 120px; }
.chart-desc { font-size: 0.92rem; color: var(--sage-text); margin: 14px 0 20px; max-width: 70ch; }
.chart-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.chart-pair > * { min-width: 0; }
.chart-pair .chart-block { margin-bottom: 0; }
@media (max-width: 900px) { .chart-pair { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .chart-block { padding: 20px 16px; } }
.table-wrap { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.data-table th, .data-table td { padding: 9px 12px; border-bottom: 1px solid var(--sage-line); text-align: left; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table thead th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-text); border-bottom: 2px solid var(--sage-line); }
.data-table tbody th { font-weight: 500; }
.data-table tfoot th, .data-table tfoot td { font-weight: 600; border-top: 2px solid var(--sage-line); border-bottom: 0; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg .grid { stroke: var(--sage-line); stroke-width: 1; }
.chart-svg .axis { stroke: var(--sage-text); stroke-width: 1; }
.chart-svg .tick { fill: var(--sage-text); font: 12px var(--font-body); }
.chart-svg .line { stroke: var(--boxwood); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-svg .area { fill: rgba(31,54,38,0.08); }
.chart-svg .dot { fill: var(--stone); stroke: var(--boxwood); stroke-width: 2.5; }
.chart-svg .value-label { fill: var(--ink); font: 600 13px var(--font-body); }
.chart-svg .bar-label { fill: var(--ink); font: 500 13.5px var(--font-body); }
.chart-svg .bar-track { fill: var(--stone-deep); }
.chart-svg .bar { fill: var(--boxwood); }

/* ----- map that loads on request ----- */
.map-card { margin-top: 36px; border: 1px solid var(--sage-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-deep); }
.map-art { width: 100%; height: auto; border-bottom: 1px solid var(--sage-line); }
.map-copy { padding: 24px; }
.map-copy h2 { font-size: 1.55rem; margin: 6px 0 10px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.map-frame-holder .map-frame { display: block; height: 340px; border: 0; }
.map-credit { margin: 0; padding: 8px 16px; font-size: 0.78rem; text-align: right; color: var(--sage-text); }
.map-credit a { color: inherit; }

/* ----- 404 ----- */
.art-404 { max-width: 300px; margin: 0 auto 2em; }
.lede-narrow { margin: 0 auto 1.7em; max-width: 50ch; }
.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 0; margin: 0 0 2em; }
.link-list a { color: var(--gilt-light); text-underline-offset: 4px; }

/* ----- virtual tour: hidden rooms leave the accessibility tree ----- */
.tour-room { display: none; }
.tour-room.is-active { display: block; animation: tour-in .8s var(--ease); }
@keyframes tour-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.tour-nav-btn { min-height: 44px; }
.tour-dots button { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
.tour-dots button:focus-visible, .tour-nav-btn:focus-visible { outline: 3px solid var(--gilt-ink); outline-offset: 3px; }
.tour-dots button[aria-current="false"]:hover { border-color: var(--gilt-ink); }

/* ----- decorative effects respect the user's settings ----- */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; }
  .tour-room { transition: none; }
}
@media (forced-colors: active) {
  .chart-svg .bar, .chart-svg .line { stroke: CanvasText; fill: CanvasText; }
  .chart-svg .dot { fill: Canvas; stroke: CanvasText; }
  .chip[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media print {
  .site-header, .cookie-banner, .skip-link, .nav-toggle, .filter-bar, .tour-controls { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { transform: none !important; }
  .page-hero, .section-boxwood { background: #fff !important; color: #000 !important; }
  .page-hero h1, .section-boxwood h2, .section-boxwood p { color: #000 !important; text-shadow: none; }
}
@media (max-width: 400px) {
  .data-table { font-size: 0.84rem; }
  .data-table th, .data-table td { padding: 8px 5px; }
  .data-table thead th { letter-spacing: 0.04em; font-size: 0.7rem; }
}

/* ===== Review fixes (October 2026) ===== */

/* the pages stay hidden for an instant while a returning visitor's language is applied (see lang-init.js);
   the timer shows them anyway if scripts fail */
html.i18n-pending body { visibility: hidden; animation: i18n-fallback 0s linear 1.5s forwards; }
@keyframes i18n-fallback { to { visibility: visible; } }

/* messages that are put in front of the visitor must not slide under the sticky header */
.form-errors, .form-failure, .form-success { scroll-margin-top: 110px; }

/* a form without JavaScript opens the visitor's mail app; say so */
.noscript-note { display: none; }
@media (scripting: none) {
  .noscript-note { display: block; background: var(--stone-deep); border-left: 4px solid var(--gilt-ink); padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
  .tour-controls, .tour-progress { display: none; }
}

/* previous / next at the ends of the tour: aria-disabled instead of disabled so focus is not lost */
.tour-nav-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.tour-nav-btn[aria-disabled="true"]:hover { background: none; color: var(--ink); transform: none; box-shadow: none; }

/* photos that cannot load keep a finished-looking frame, with the description as text */
img.img-failed { opacity: 0; }
.has-failed-img { background: linear-gradient(135deg, var(--stone-deep), var(--sage-line)); position: relative; }
.has-failed-img::before {
  content: attr(data-alt); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; color: var(--sage-text); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3;
}
.tour-room.has-failed-img { background: var(--gradient-boxwood); }
.tour-room.has-failed-img::before { color: var(--sage-line); align-items: flex-start; padding-top: 24%; }
/* on wider screens a stop fills the whole viewer even without its photo, so the caption stays at the bottom of the
   frame (the generic rule above would otherwise make it a 30 px strip with the caption gone) */
@media (min-width: 701px) {
  .tour-room.has-failed-img { position: absolute; inset: 0; }
}

/* tour on narrow screens: photo on top, caption underneath, so nothing is covered or cut off */
@media (max-width: 700px) {
  .tour-viewport { aspect-ratio: auto; background: var(--boxwood-deep); }
  .tour-room, .tour-room.is-active { position: relative; inset: auto; transform: none; }
  .tour-room.is-active { display: flex; flex-direction: column; }
  .tour-room img { height: auto; aspect-ratio: 16 / 10; flex: none; }
  .tour-caption { position: static; min-height: 12em; background: var(--boxwood-deep); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 20px 20px 24px; }
  .tour-room.has-failed-img::before { position: static; display: block; aspect-ratio: 16 / 10; padding-top: 20%; }
  /* the description replaces the photo; the invisible photo must not keep a second, empty frame below it */
  .tour-room.has-failed-img > img { display: none; }
}

@media (forced-colors: active) {
  .nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .lang-toggle a[aria-current="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
  .tour-dots button[aria-current="true"] { outline: 2px solid Highlight; }
}

/* ===== Review fixes 2 (10 October 2026) ===== */

/* from 1281 px the full menu shares one row with the brand. The links share the space that is left evenly, with at least
   8 px between them, so the longest labels (French, Macedonian) still fit at 1281 px and never touch the brand */
@media (min-width: 1281px) {
  .nav-collapse { flex: 1 1 auto; justify-content: flex-end; gap: 16px; }
  .nav-links { flex: 1 1 auto; justify-content: space-evenly; column-gap: 8px; }
}

/* language switch: in the menu bar on wide screens; on tablets and phones, where the menu is collapsed, next to the menu
   button, so that it is always one tap away and visible on the first screen */
.lang-toggle-bar { display: none; }
@media (max-width: 1280px) {
  .lang-toggle-bar { display: flex; width: auto; margin-left: auto; margin-right: 4px; }
  .lang-toggle-menu { display: none; }
}
@media (max-width: 600px) {
  .nav { gap: 10px; padding: 14px 16px; }
  .lang-toggle-bar { gap: 2px; padding: 3px; }
  .lang-toggle-bar a { min-width: 34px; min-height: 36px; padding: 4px 6px; }
  .nav-toggle { padding: 6px; }
}
/* the narrowest phones keep the house icon and drop the name, which stays available to screen readers */
@media (max-width: 359px) {
  .brand .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
.brand { flex-shrink: 0; }

/* cards whose heading is a link are clickable as a whole (the link's overlay covers the card) */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:hover, .card-link:focus-visible { text-decoration: underline; text-decoration-color: var(--gilt); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--gilt-ink); outline-offset: 2px; border-radius: var(--radius); }

/* a third card on its own row (two columns between 621 and 900 px) sits in the middle instead of the left */
@media (min-width: 621px) and (max-width: 900px) {
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 40px) / 2); }
}

/* photo credits under the hero and the news photos */
.hero-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: 0.72rem; color: var(--sage-line); opacity: 0.9; z-index: 2; }
.hero-credit a { color: inherit; }
.post-photo + .photo-credit { margin: -6px 0 18px; }

/* long e-mail addresses wrap instead of pushing the page sideways */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* an FAQ opened from a link is not hidden under the sticky header */
.faq-item { scroll-margin-top: 110px; }

/* how to give, the association's formal details, notes under tables and forms */
.give-how { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--gilt-light); background: rgba(247,242,228,0.06); border-radius: var(--radius); }
.give-how h3 { font-size: 1.2rem; margin: 0 0 8px; }
.give-how p { margin: 0; }
.assoc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 80ch; }
.assoc-list li { padding: 14px 18px; background: var(--stone); border-left: 3px solid var(--gilt); border-radius: var(--radius); }
.chart-note, .fiction-note, .changes-note { font-size: 0.88rem; color: var(--sage-text); }
.chart-note { margin: 14px 0 0; }
.fiction-note { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--sage-line); }
.changes-note { padding: 10px 14px; background: var(--stone-deep); border-left: 3px solid var(--gilt-ink); border-radius: var(--radius); }
.tier-cta { margin-top: 18px; align-self: flex-start; }

/* forms on hosts without a server hand the message to the visitor's e-mail app */
.form-handoff { border: 2px solid var(--gilt-ink); border-left-width: 6px; background: rgba(194,152,77,0.1); padding: 16px 20px; border-radius: var(--radius); margin-bottom: 26px; scroll-margin-top: 110px; }
.form-handoff:focus { outline: 3px solid var(--gilt-ink); outline-offset: 3px; }
.form-handoff-title { margin: 0 0 6px; font-weight: 600; }
.form-handoff p { margin: 0; }
.form-handoff a { color: var(--boxwood); font-weight: 600; }

/* virtual tour on small screens: the controls sit on one row directly under the stop's text (they used to stick to the
   bottom of the screen, which hid the end of the text while scrolling); on phones the numbered buttons give way to
   Previous / Next and swiping */
.tour-viewport { touch-action: pan-y; }
@media (max-width: 700px) {
  .tour-controls { flex-wrap: nowrap; gap: 10px; margin-top: 0; padding: 12px 0 4px; }
  .tour-nav-btn { padding: 10px 16px; font-size: 0.9rem; justify-content: center; }
  .tour-dots { gap: 6px; flex-wrap: nowrap; }
  .tour-progress { margin-top: 6px; }
}
@media (max-width: 560px) {
  .tour-dots { display: none; }
  .tour-controls > .tour-nav-btn { flex: 1 1 0; }
}

/* ===== Review fixes 3 (16 October 2026) ===== */

/* layout helpers that replace the inline style="" attributes the pages used to carry */
.lede-center { margin: 0 auto 1.7em; }
.container.container-tour { max-width: 980px; }
.container.container-journal { max-width: 820px; }
.container.container-explore { max-width: 860px; }
/* the home banner's photo (scripts/localize-images.js rewrites this address to the local copy in images/) */
:root { --hero-photo: url('images/photo-1667752920461-a5ea0883f438-1dc69be2.jpg'); }

/* header: "Join or donate" is the one call to action, a gilt pill at the end of the menu */
.nav-links .nav-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px;
  background: var(--gradient-gold); color: var(--boxwood-deep); font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(194,152,77,0.3); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { color: var(--boxwood-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(194,152,77,0.45); }
.nav-links .nav-cta[aria-current="page"] { color: var(--boxwood-deep); box-shadow: 0 0 0 2px var(--boxwood-deep), 0 0 0 4px var(--gilt-light); }
@media (forced-colors: active) { .nav-links .nav-cta { border: 2px solid ButtonText; } }

/* cookie notice on phones: a short bar (the title stays available to screen readers, which name the region with it) */
@media (max-width: 600px) {
  .cookie-inner { padding: 10px 16px 12px; }
  .cookie-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .cookie-banner p { font-size: 0.84rem; line-height: 1.45; }
  .cookie-actions { margin-top: 8px; }
  .cookie-actions .btn { flex: 1 1 0; min-height: 44px; padding: 8px 12px; }
}

/* cards that are links (services, Explore and news teasers) end their title with an arrow, so they look clickable
   before the hover */
.frame-card.is-link h3::after {
  content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: 0.35em;
  font-family: var(--font-body); font-size: 0.8em; font-weight: 500; color: var(--gilt-ink); transition: transform .3s var(--ease);
}
.frame-card.is-link:hover h3::after, .frame-card.is-link:focus-within h3::after { transform: translateX(4px); }
.section-boxwood .frame-card.is-link h3::after { color: var(--gilt-light); }

/* home, "Who we are": the text and where the money went, side by side */
.section-who { padding-bottom: 56px; }
.who-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.who-grid .section-header { margin-bottom: 0; }
.money-box { background: var(--stone-deep); border: 1px solid var(--sage-line); border-top: 3px solid var(--gilt); border-radius: var(--radius-lg); padding: 26px 28px 22px; }
.money-title { font-size: 1.45rem; margin-bottom: 6px; }
.money-total { font-size: 0.92rem; color: var(--sage-text); margin-bottom: 12px; }
.money-list { list-style: none; margin: 0 0 16px; padding: 0; }
.money-list li { display: flex; align-items: baseline; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--sage-line); }
.money-pct { flex: none; min-width: 4.2ch; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--boxwood); font-variant-numeric: tabular-nums; }
.money-more { color: var(--boxwood); font-weight: 600; text-underline-offset: 3px; }
.money-more:hover { color: var(--gilt-ink); }
@media (max-width: 900px) { .who-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* phones: cards had two layers of padding (the frame and its body); one is enough, and the sections sit closer */
@media (max-width: 600px) {
  .frame-card { padding: 16px; }
  .frame-card .card-body { padding: 8px 6px 6px; }
  .frame-card h3 { margin-bottom: 8px; }
  .frame-card p { margin-bottom: 0.4em; }
  .grid-3, .grid-4, .grid-2 { gap: 18px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .section-who { padding-bottom: 32px; }
  .parterre { margin: 24px auto; }
  .money-box { padding: 20px 18px 16px; }
}

/* phones: a shorter home page (smaller banner padding and figures, team cards with the initials beside the text,
   footer link lists side by side) */
@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .hero .lede { font-size: 1.08rem; margin-bottom: 1.4em; }
  .stat-row { margin-top: 32px; padding-top: 20px; gap: 8px 12px; }
  .stat { padding: 10px 6px; }
  .frame-card p { font-size: 0.97rem; line-height: 1.6; }
  #team-teaser .card-body, #team .card-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  #team-teaser .card-body > *, #team .card-body > * { grid-column: 2; }
  #team-teaser .avatar, #team .avatar { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid li { margin-bottom: 8px; }
  .site-footer { padding-top: 48px; }
}

/* Get involved: a button that starts a one-time gift, and the preset amounts (shown when a donation is chosen) */
.give-cta-row { margin: 4px 0 0; }
.amount-field { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.amount-field legend {
  padding: 0; margin-bottom: 10px; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage-text); font-weight: 600;
}
.amount-options { display: flex; flex-wrap: wrap; gap: 10px; }
.form-field .amount-option {
  position: relative; display: inline-flex; align-items: center; margin: 0; text-transform: none; letter-spacing: 0;
  font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.amount-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.amount-option span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 48px; padding: 10px 18px;
  border: 2px solid var(--sage-line); border-radius: 999px; background: var(--stone); transition: border-color .2s var(--ease), background .2s var(--ease);
}
.amount-option:hover span { border-color: var(--gilt-ink); }
.amount-option input:checked + span { background: var(--boxwood); border-color: var(--boxwood); color: var(--stone); }
.amount-option input:focus-visible + span { outline: 3px solid var(--gilt-ink); outline-offset: 3px; }
.amount-option input[aria-invalid="true"] + span { border-color: var(--danger); }
.amount-other { margin-top: 16px; }
.amount-other label { display: block; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage-text); margin-bottom: 10px; font-weight: 600; }
.amount-other input { max-width: 220px; }
@media (forced-colors: active) { .amount-option input:checked + span { outline: 3px solid Highlight; } }

/* news: who wrote each post */
.byline { font-size: 0.9rem; color: var(--sage-text); margin: -8px 0 20px; }

/* inner pages: a shorter banner, so the page's own content starts on the first screen of a laptop (1366 x 768) */
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 0.45em; }

/* footer: the "Manage cookie preferences" button sits on the same line as the links beside it */
.footer-legal { align-items: center; }
.footer-legal a, .footer-legal .link-button { display: inline-flex; align-items: center; min-height: 24px; }
.footer-legal .link-button { padding: 0; }

/* Get involved: space between the note on how giving works and the form below it */
.give-how { margin-bottom: 32px; }

/* About: how it started, beside the association's milestones */
.text-aside-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.text-aside-grid .section-header { margin-bottom: 0; }
.milestones { background: var(--stone-deep); border: 1px solid var(--sage-line); border-top: 3px solid var(--gilt); border-radius: var(--radius-lg); padding: 26px 28px 18px; }
.milestones-title { font-size: 1.45rem; margin-bottom: 10px; }
.milestone-list { list-style: none; margin: 0; padding: 0; }
.milestone-list li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sage-line); }
.milestone-list li:last-child { border-bottom: 0; }
.ms-year { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--boxwood); line-height: 1.3; }
@media (max-width: 900px) { .text-aside-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 600px) { .milestones { padding: 20px 18px 12px; } }

/* ===== News: "Subscribe via Atom feed" box (the feed file itself is for feed reader apps) ===== */
.feed-box { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--sage-line); }
.feed-box h3 { margin: 0 0 10px; }
.feed-box > p { margin: 0; }
.feed-copy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 16px 0 0; }
.feed-copy input { flex: 1 1 260px; min-width: 0; font-size: 0.92rem; }
.feed-copy .btn { flex: none; }
.feed-copy .btn[hidden] { display: none; }
#feed-status:empty { display: none; }
