/* Hostinger-ready bundled stylesheet.
 *
 * THIS FILE IS THE ONE THE SITE ACTUALLY LOADS. Every page links only to
 * main.css, so edit here.
 *
 * The partials in src/styles/ (base.css, navigation.css, pages/*.css and the
 * rest) were the original source of this bundle, but the two have drifted and
 * the partials are no longer served by anything. Treat them as stale: either
 * delete them, or regenerate them from this file before using them again.
 * Editing a partial will have no effect on the live site.
 */

/* === base.css === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Core surfaces -- bright, warm, paper-like */
  --bg:        #FBF8F2;
  --surface-1: #F4EEDF;
  --surface-2: #ECE2C8;
  --surface-3: #E0D2A8;
  --ink:       #211A12;
  --muted:     #6E6657;

  /* "Studio" is now a warm light surface, not black -- kept the token name
     so every component built against it stays wired up correctly. */
  --studio:        #F4EEDF;
  --studio-raised: #FBF8F2;
  --studio-line:   rgba(184,137,58,0.22);

  /* Accents -- paint-box palette: gold, red, and a new confident blue */
  --gold:      #946C1E;
  --gold-lt:   #B07F1E;
  --red:       #C13030;
  --red-dim:   #8E2424;
  --blue:      #2057A6;
  --blue-lt:   #2D6FCC;

  --cream:     #211A12;

  --border:    rgba(184,137,58,0.22);
  --border-md: rgba(184,137,58,0.4);
  --border-on-dark: rgba(33,26,18,0.14);

  /* Height of the nav once it has shrunk on scroll: vertical padding plus
     the logo. Sticky elements below the nav offset against this. */
  --nav-h-scrolled: 77px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* PAPER GRAIN
   A fixed, non-interactive fibre layer over the whole page. The palette
   already says "paper"; this gives the surfaces the tooth to match.
   Generated inline so it costs no extra request. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
/* The grain is decoration; drop it where a device is already working hard. */
@media (max-width: 768px) {
  body::before { opacity: 0.14; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-1); }
::-webkit-scrollbar-thumb { background: rgba(184,137,58,0.32); border-radius: 3px; }

/* === intro.css === */
/* INTRO -- bright preloader, kept the cinematic timing from V1 */
#intro {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.8s ease;
}
#intro.fade-out { opacity: 0; pointer-events: none; }
#intro .top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 1s ease;
}
#intro .bottom-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity 1.5s ease;
}
#intro .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(184,137,58,0.06) 100%);
  pointer-events: none;
}
#intro .intro-content { text-align: center; position: relative; z-index: 1; }
#intro .intro-logo-img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}
#intro .intro-sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(0.58rem, 1.5vw, 0.72rem);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(33,26,18,0.5);
  margin-top: 1rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#intro .progress-wrap {
  width: clamp(180px, 30vw, 280px);
  margin: 3.5rem auto 0;
  opacity: 0; transition: opacity 0.5s ease 0.3s;
}
#intro .progress-track {
  height: 1px; background: rgba(184,137,58,0.18);
  position: relative; overflow: hidden;
}
#intro .progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transition: width 0.03s linear;
}
#intro .progress-pct {
  margin-top: 0.75rem; font-family: 'Instrument Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(184,137,58,0.65); text-align: right;
}

/* === navigation.css === */
/* NAVIGATION -- light, sits on bright pages throughout */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  background: rgba(251,248,242,0.88);
  backdrop-filter: blur(10px);
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(251,248,242,0.97);
  border-bottom-color: var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 2px 24px rgba(33,26,18,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem; letter-spacing: 0.18em;
  color: var(--gold);
  text-decoration: none; line-height: 1.3;
  max-width: 92px;
  display: flex;
  align-items: center;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  position: relative;
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500;
  color: rgba(33,26,18,0.68);
  text-decoration: none;
  background: none; border: none;
  transition: color 0.3s ease; padding: 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--red);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--red); }
.nav-link.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; background: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}
.nav-cta:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* 44px square keeps the control inside the minimum comfortable tap target
   while the bars themselves stay visually light. */
.nav-hamburger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0; position: relative; z-index: 101;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out-soft), opacity 0.2s ease;
}
/* Bars fold into a cross so the open menu has a visible way out. */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(251,248,242,0.99);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  padding: 6rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 7vw, 2rem); color: var(--ink);
  text-decoration: none; transition: color 0.3s ease;
  padding: 0.35rem 0.75rem; line-height: 1.3;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--red); }
.mobile-menu .nav-cta { margin-top: 1rem; font-size: 0.72rem; padding: 0.85rem 1.6rem; }

/* === layout.css === */
/* BUTTONS */
.btn-gold {
  border: 1px solid var(--gold); color: var(--gold);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.8rem; background: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-gold:hover { background: var(--gold); color: #fff; }
.btn-gold-filled {
  background: var(--gold); color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.8rem; border: 1px solid var(--gold);
  transition: background 0.3s ease, border-color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-gold-filled:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn-red {
  border: 1px solid var(--red); color: var(--red);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.8rem; background: none;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-red:hover { background: var(--red); color: #fff; }
.btn-blue {
  border: 1px solid var(--blue); color: var(--blue);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.8rem; background: none;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.btn-blue:hover { background: var(--blue); color: #fff; }
.btn-on-dark {
  border: 1px solid var(--border-md); color: var(--ink);
}
.btn-on-dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* HELPERS */
.section-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 500;
}
.section-label.on-dark { color: var(--gold); }
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  width: 56px; margin-bottom: 2rem;
}
.gold-rule-center {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 80px; margin: 0 auto 2rem;
}
.red-rule {
  height: 3px; background: var(--red);
  width: 34px; margin-bottom: 2rem;
}
.gold-text { color: var(--gold); }
.gold-italic { color: var(--gold); font-style: italic; }
.red-italic { color: var(--red); font-style: italic; }
.blue-italic { color: var(--blue); font-style: italic; }
.body-text { font-size: 0.96rem; color: rgba(33,26,18,0.68); line-height: 1.85; }
.body-text.on-dark { color: rgba(33,26,18,0.68); }
.text-center { text-align: center; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-xs { padding: 2.75rem 0; }
.section-dark {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ink); }
.section-tint {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-2.asym-left { grid-template-columns: 1.2fr 1fr; }
.grid-2.asym-right { grid-template-columns: 1fr 1.2fr; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.grid-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* === page-hero.css === */
/* PAGE HERO -- bright, photo shows through, warm overlay for legibility */
.page-hero {
  position: relative; height: 48vh; min-height: 320px;
  display: flex; align-items: center; overflow: hidden; padding-top: 80px;
  background: var(--bg);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(1.02) saturate(1.05);
}
/* Scaled up so the parallax drift never exposes an edge. */
.page-hero-bg.has-parallax {
  transform: scale(1.16);
  will-change: transform;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(251,248,242,0.94), rgba(251,248,242,0.5));
}
.page-hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,137,58,0.1), transparent 55%);
}
.page-hero-content {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  position: relative; z-index: 1;
  color: var(--ink);
}
.page-hero-content h1,
.page-hero-content h2 { color: var(--ink); }

/* === pages/home.css === */
/* HERO -- bright community noticeboard / scrapbook collage */
.hero {
  position: relative;
  min-height: 100vh;
  /* svh tracks the visible viewport, so iOS Safari's collapsing URL bar
     stops pushing the hero taller than the screen. */
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: 90px;
}
.hero-paper-texture {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(184,137,58,0.07) 0%, transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(193,48,48,0.06) 0%, transparent 42%),
    radial-gradient(circle at 80% 12%, rgba(32,87,166,0.06) 0%, transparent 36%);
}
.hero-grid {
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 3rem 2rem 5rem;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem; font-weight: 500;
}
.hero-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.04; color: var(--ink);
}
.hero-title em {
  font-style: italic; font-weight: 400;
  color: var(--gold);
  position: relative;
}
.hero-title .underline-scribble {
  position: absolute; left: -2%; right: -4%; bottom: -0.08em;
  height: 0.16em;
}
.hero-desc {
  font-size: 1.02rem; color: rgba(33,26,18,0.66);
  max-width: 460px; line-height: 1.8; margin: 1.75rem 0 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Collage -- pinned photos at slight rotations, like a noticeboard */
.hero-collage {
  position: relative;
  height: 480px;
}
.collage-photo {
  position: absolute;
  border: 6px solid var(--bg);
  box-shadow: 0 14px 32px rgba(33,26,18,0.16);
  object-fit: cover;
}
.collage-photo.c1 { top: 0; left: 6%; width: 56%; height: 58%; transform: rotate(-4deg); z-index: 2; }
.collage-photo.c2 { top: 6%; right: 0; width: 42%; height: 40%; transform: rotate(5deg); z-index: 1; }
.collage-photo.c3 { bottom: 0; left: 0; width: 38%; height: 36%; transform: rotate(3deg); z-index: 3; }
.collage-photo.c4 { bottom: 4%; right: 4%; width: 46%; height: 42%; transform: rotate(-3deg); z-index: 2; }
.collage-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  box-shadow: 0 2px 4px rgba(33,26,18,0.3); z-index: 4;
}
.collage-tape {
  position: absolute; width: 56px; height: 22px;
  opacity: 0.75; z-index: 4;
}
.scroll-indicator {
  position: absolute; bottom: 2.5rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-indicator span {
  font-size: 0.6rem; letter-spacing: 0.2em;
  color: rgba(184,137,58,0.7); text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(184,137,58,0.5), transparent); }

/* STATS -- bright band, numerals carry the weight */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { text-align: left; padding: 2.5rem 2rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--red); margin-bottom: 0.4rem; line-height: 1;
}
.stat-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(33,26,18,0.55); }

/* PULL QUOTE STRIP -- asymmetric, breaks the alternating rhythm */
.pullquote-strip {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pullquote-img { position: relative; min-height: 280px; overflow: hidden; }
.pullquote-img img { width: 100%; height: 100%; object-fit: cover; }
.pullquote-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(32,87,166,0.1), transparent 60%);
}
.pullquote-body { padding: 3rem 3.5rem; display: flex; align-items: center; background: var(--surface-1); }
.pullquote-text {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.5;
  color: var(--ink);
}
.pullquote-cite { display: block; margin-top: 1.25rem; font-family: 'Instrument Sans', sans-serif; font-style: normal; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }

/* ABOUT COLLAGE */
.about-collage { position: relative; height: 480px; }
.collage-img-1 { position: absolute; top: 0; right: 0; width: 75%; height: 65%; object-fit: cover; border: 1px solid var(--border-md); }
.collage-img-2 { position: absolute; bottom: 0; left: 0; width: 58%; height: 50%; object-fit: cover; border: 1px solid var(--border-md); }
.collage-badge {
  position: absolute; bottom: 8%; right: 2%;
  background: var(--bg); border: 1px solid var(--border-md);
  padding: 1rem 1.25rem; max-width: 170px;
  box-shadow: 0 8px 32px rgba(33,26,18,0.1);
}
.collage-badge-label { font-size: 0.62rem; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; }
.collage-badge-text { font-family: 'Fraunces', serif; font-size: 0.78rem; color: var(--ink); line-height: 1.4; margin-top: 0.4rem; }

/* FULL-BLEED GALLERY STRIP -- breaks section rhythm mid-page */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 260px; }
.gallery-strip-item { position: relative; overflow: hidden; }
.gallery-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.4s ease; }
.gallery-strip-item:hover img { transform: scale(1.05); }
.gallery-strip-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(33,26,18,0.6) 100%); }
.gallery-strip-label {
  position: absolute; bottom: 1rem; left: 1.25rem; z-index: 1;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}

/* === pages/about.css === */
/* ABOUT PAGE */
.about-quote { background: var(--surface-2); border-left: 3px solid var(--red); padding: 1.5rem 1.75rem; margin-top: 1.5rem; }
.about-quote p { font-family: 'Fraunces', serif; font-size: 1.02rem; color: rgba(21,18,15,0.72); line-height: 1.7; font-style: italic; }
.value-card { background: var(--bg); border: 1px solid var(--border); padding: 2rem; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.value-card:hover { border-color: var(--border-md); box-shadow: 0 8px 32px rgba(184,137,58,0.1); transform: translateY(-3px); }
.value-icon-wrap { width: 44px; height: 44px; border: 1px solid var(--border-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--gold); }
.value-icon-wrap svg { width: 20px; height: 20px; }
.value-title { font-family: 'Fraunces', serif; font-size: 1.08rem; color: var(--ink); margin-bottom: 0.6rem; font-weight: 500; }
.value-text { font-size: 0.84rem; color: rgba(21,18,15,0.56); line-height: 1.75; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.community-pill { background: var(--bg); border: 1px solid var(--border); padding: 0.75rem 1rem; font-size: 0.78rem; color: rgba(21,18,15,0.65); display: flex; align-items: center; gap: 0.5rem; }
.community-dot { width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.mission-box { max-width: 800px; margin: 0 auto; text-align: center; }
.mission-quote { font-family: 'Fraunces', serif; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gold-lt); line-height: 1.8; font-style: italic; opacity: 0.94; }
.timeline-strip { display: flex; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--border); }
.timeline-item { flex: 1; padding: 1.5rem 1.5rem 0; border-right: 1px solid var(--border); }
.timeline-item:last-child { border-right: none; }
.timeline-year { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 0.4rem; }
.timeline-text { font-size: 0.78rem; color: rgba(21,18,15,0.55); line-height: 1.6; }

/* === event-cards-modal.css === */
/* EVENT CARDS */
.event-card {
  background: var(--surface-2); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.45s ease, box-shadow 0.45s ease;
  position: relative;
}
.event-card:hover { transform: translateY(-7px); box-shadow: 0 24px 64px rgba(184,137,58,0.16); }
.event-card:hover .card-img { transform: scale(1.06); }
.card-img-wrap { overflow: hidden; height: 200px; position: relative; }
.card-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92) saturate(0.95); transition: transform 0.7s ease; }
.card-img.past { filter: brightness(0.6) saturate(0.4) sepia(0.12); }
.card-tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(13,13,13,0.82);
  border: 1px solid var(--border-on-dark);
  padding: 0.25rem 0.65rem; font-size: 0.6rem;
  color: var(--gold-lt); letter-spacing: 0.1em; text-transform: uppercase;
}
.card-tag.past { border-color: rgba(196,154,58,0.15); color: rgba(196,154,58,0.5); }
.card-body { padding: 1.5rem; }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.card-category { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }
.card-date-small { font-size: 0.7rem; color: rgba(21,18,15,0.4); }
.card-title { font-family: 'Fraunces', serif; font-size: 1.12rem; color: var(--ink); font-weight: 500; line-height: 1.35; margin-bottom: 0.75rem; }
.card-title.past { color: rgba(21,18,15,0.6); }
.card-desc { font-size: 0.82rem; color: rgba(21,18,15,0.58); line-height: 1.7; margin-bottom: 1rem; }
.card-location { font-size: 0.72rem; color: rgba(184,137,58,0.75); }
.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.75rem; }
.tag-pill { font-size: 0.6rem; color: rgba(184,137,58,0.7); border: 1px solid rgba(184,137,58,0.24); padding: 0.15rem 0.5rem; }
.card-footer { padding: 0.75rem 1.5rem; border-top: 1px solid rgba(184,137,58,0.12); font-size: 0.65rem; color: rgba(184,137,58,0.55); letter-spacing: 0.1em; text-transform: uppercase; }

/* GLOWING CARD (featured/latest event) -- kept from V1, it's distinctive */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes glow-spin { to { --glow-angle: 360deg; } }

.event-card-featured {
  position: relative;
  background: var(--surface-3);
  border: none;
  padding: 2px;
}
.event-card-featured::before {
  content: '';
  position: absolute; inset: 0;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 60%,
    var(--gold) 75%,
    var(--gold-lt) 80%,
    var(--red) 85%,
    transparent 95%
  );
  border-radius: inherit;
  animation: glow-spin 3s linear infinite;
  z-index: 0;
}
.event-card-featured .card-inner {
  position: relative; z-index: 1;
  background: var(--bg);
  overflow: hidden;
  height: 100%;
}
.event-card-featured .featured-label {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  background: var(--red); color: #fff;
  font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; font-weight: 500;
}

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,13,13,0.72);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg); border: 1px solid var(--border-md);
  max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto;
  transform: scale(0.97) translateY(10px); transition: transform 0.3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-img-wrap { height: 280px; overflow: hidden; position: relative; }
.modal-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); }
.modal-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 60%); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(246,243,236,0.92); border: 1px solid var(--border-md); color: var(--ink); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; }
.modal-body { padding: 2rem; }
.modal-detail { background: var(--surface-1); border: 1px solid var(--border); padding: 1.25rem; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.modal-detail-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: rgba(21,18,15,0.65); }
.modal-detail-row svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* === pages/events.css === */
/* EVENTS PAGE */
/* Sticks directly beneath the scrolled nav. The old 64px offset predated the
   current logo height and let the nav overlap the tabs. */
.events-tabs { border-bottom: 1px solid var(--border); background: var(--surface-1); position: sticky; top: var(--nav-h-scrolled); z-index: 50; }
.tabs-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab-btn { font-family: 'Instrument Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1.25rem 1.75rem; background: none; border: none; border-bottom: 2px solid transparent; color: rgba(21,18,15,0.4); transition: color 0.3s ease, border-color 0.3s ease; cursor: pointer; margin-bottom: -1px; white-space: nowrap; }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.filter-bar { background: var(--bg); padding: 1.5rem 2rem; border-bottom: 1px solid rgba(184,137,58,0.1); }
.filter-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
#filter-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-label { font-size: 0.65rem; color: rgba(184,137,58,0.65); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 0.5rem; }
/* min-height brings these up to a comfortable tap target; they were ~26px. */
.filter-btn { padding: 0.5rem 1rem; min-height: 40px; display: inline-flex; align-items: center; border: 1px solid rgba(184,137,58,0.22); background: transparent; color: rgba(21,18,15,0.5); font-family: 'Instrument Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease; text-transform: capitalize; }
.filter-btn.active { border-color: var(--gold); background: rgba(184,137,58,0.1); color: var(--gold); }

/* === pages/contact.css === */
/* CONTACT */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon-wrap { width: 40px; height: 40px; border: 1px solid var(--border-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-icon-wrap svg { width: 17px; height: 17px; }
.contact-info-label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(184,137,58,0.75); display: block; margin-bottom: 0.2rem; }
.contact-info-value { font-size: 0.85rem; color: rgba(33,26,18,0.7); }
.way-card { background: var(--surface-1); border: 1px solid var(--border); border-left: 2px solid var(--gold); padding: 1.1rem 1.25rem; }
.way-title { font-size: 0.76rem; color: var(--ink); font-weight: 600; margin-bottom: 0.3rem; font-family: 'Instrument Sans', sans-serif; }
.way-text { font-size: 0.78rem; color: rgba(33,26,18,0.55); line-height: 1.7; }
.form-box { background: var(--bg); border: 1px solid var(--border-md); padding: 2.5rem; color: var(--ink); box-shadow: 0 4px 28px rgba(33,26,18,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--surface-1); border: 1px solid var(--border-md); padding: 0.75rem 1rem; color: var(--ink); font-family: 'Instrument Sans', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.3s ease; border-radius: 0; -webkit-appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(33,26,18,0.35); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg); color: var(--ink); }
.form-submit { width: 100%; justify-content: center; }
.success-box { text-align: center; padding: 3rem 1rem; outline: none; }
.success-icon { width: 60px; height: 60px; border: 1px solid var(--border-md); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--gold); }
.success-icon svg { width: 26px; height: 26px; }
/* These were inheriting pale text from the old dark form panel, which made
   the confirmation unreadable on the current light surface. */
.success-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; color: var(--ink); font-weight: 500; margin-bottom: 0.75rem; }
.success-text { font-size: 0.88rem; color: rgba(33,26,18,0.7); line-height: 1.7; margin-bottom: 1rem; }
.success-note { font-size: 0.78rem; color: rgba(33,26,18,0.48); line-height: 1.7; margin-bottom: 2rem; }
.form-error-banner {
  background: rgba(193,48,48,0.1);
  border: 1px solid rgba(193,48,48,0.38);
  border-left: 3px solid var(--red);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--red-dim);
  line-height: 1.5;
}
.impact-box { background: var(--surface-2); border: 1px solid var(--border); padding: 1.5rem 2rem; display: inline-block; text-align: left; max-width: 500px; width: 100%; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.75rem; }
.impact-number { font-family: 'Fraunces', serif; font-size: 1.65rem; color: var(--red); font-weight: 500; }
.impact-label { font-size: 0.68rem; color: rgba(33,26,18,0.45); }

/* VISIT PANEL
   Replaces the decorative map. Practical detail carries more weight than a
   drawn map that could not be zoomed, panned or navigated from. */
.visit-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--border-md);
  background: var(--bg);
  box-shadow: 0 4px 28px rgba(33,26,18,0.06);
  overflow: hidden;
}
.visit-photo { position: relative; min-height: 340px; overflow: hidden; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,137,58,0.16), transparent 55%);
}
.visit-plaque {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: rgba(251,248,242,0.96);
  border: 1px solid var(--border-md);
  padding: 0.7rem 0.95rem;
  box-shadow: 0 12px 30px rgba(33,26,18,0.16);
  max-width: 78%;
}
.visit-plaque strong {
  display: block; font-family: 'Fraunces', Georgia, serif;
  font-size: 0.92rem; font-weight: 500; margin-bottom: 0.15rem;
}
.visit-plaque span { font-size: 0.74rem; color: rgba(33,26,18,0.58); line-height: 1.5; }

.visit-body { padding: 2.25rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.visit-address {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem; line-height: 1.55; color: var(--ink);
  margin-bottom: 1.5rem; font-style: normal;
}
.visit-list { display: flex; flex-direction: column; gap: 1.1rem; }
.visit-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.visit-row svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.visit-row-label {
  display: block; font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(184,137,58,0.85); margin-bottom: 0.2rem;
}
.visit-row-value { font-size: 0.85rem; color: rgba(33,26,18,0.7); line-height: 1.6; }

/* === pages/gallery.css === */
/* GALLERY / BENTO -- kept from V1, it's the most editorial part of the site */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.bento-item {
  position: relative; overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.bento-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.bento-item:hover img { transform: scale(1.06); filter: brightness(0.98) saturate(1.05); }
/* Captions are visible by default. Touch devices have no hover, so gating
   them behind :hover hid every gallery title on phones and tablets. */
.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.88) 0%, transparent 55%);
  opacity: 1; transition: opacity 0.4s ease;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.25rem;
}
@media (hover: hover) and (pointer: fine) {
  .bento-overlay { opacity: 0; }
  .bento-item:hover .bento-overlay,
  .bento-item:focus-within .bento-overlay { opacity: 1; }
}
.bento-category { font-size: 0.58rem; letter-spacing: 0.15em; color: var(--gold-lt); text-transform: uppercase; margin-bottom: 0.35rem; }
.bento-title { font-family: 'Fraunces', serif; font-size: 0.95rem; color: #fff; line-height: 1.3; }

.bento-a { grid-column: span 5; grid-row: span 2; }
.bento-b { grid-column: span 4; grid-row: span 2; }
.bento-c { grid-column: span 3; grid-row: span 1; }
.bento-d { grid-column: span 3; grid-row: span 1; }
.bento-e { grid-column: span 7; grid-row: span 2; }
.bento-f { grid-column: span 5; grid-row: span 2; }
.bento-g { grid-column: span 4; grid-row: span 1; }
.bento-h { grid-column: span 4; grid-row: span 1; }
.bento-i { grid-column: span 4; grid-row: span 1; }

/* === shared-extras.css === */
/* REVEAL
   The hidden starting states are scoped to html.js, which main.js sets on load.
   Without scripts every element stays visible instead of being stranded at
   opacity 0. */
:root {
  --ease-out-soft: cubic-bezier(0.22, 0.68, 0.29, 1);
}

.reveal, .reveal-left, .reveal-scale { transition: opacity 0.75s var(--ease-out-soft), transform 0.75s var(--ease-out-soft); }

/* NOTE ON SPECIFICITY: the .visible rules must be scoped to html.js as well.
   Otherwise `html.js .reveal` (0,2,1) outranks `.reveal.visible` (0,2,0) and
   the element can never be revealed. */
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
html.js .reveal-left { opacity: 0; transform: translateX(-28px); }
html.js .reveal-left.visible { opacity: 1; transform: translateX(0); }
html.js .reveal-scale { opacity: 0; transform: scale(0.96); }
html.js .reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Eyebrow labels drift in from the margin, the way a printed sidenote sits
   beside its column. */
.section-label { transition: opacity 0.8s var(--ease-out-soft), transform 0.8s var(--ease-out-soft); }
html.js .section-label { opacity: 0; transform: translateX(-22px); }
html.js .section-label.visible { opacity: 1; transform: translateX(0); }

/* Rules draw themselves rather than fading, so the page feels ruled by hand. */
.gold-rule, .gold-rule-center { transition: transform 0.9s var(--ease-out-soft); }
html.js .gold-rule { transform: scaleX(0); transform-origin: left center; }
html.js .gold-rule-center { transform: scaleX(0); transform-origin: center; }
html.js .gold-rule.visible, html.js .gold-rule-center.visible { transform: scaleX(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Readers who ask for less motion get the finished state immediately. */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-left, html.js .reveal-scale,
  html.js .section-label, html.js .gold-rule, html.js .gold-rule-center {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* FOOTER */
footer { background: var(--surface-2); border-top: 1px solid var(--border-md); padding: 4.5rem 0 2rem; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-logo { font-family: 'Fraunces', serif; font-size: 0.9rem; letter-spacing: 0.16em; color: var(--gold); display: block; margin-bottom: 0.5rem; line-height: 1.4; }
.footer-tagline { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(33,26,18,0.4); margin-bottom: 1.25rem; }
.footer-text { font-size: 0.82rem; color: rgba(33,26,18,0.6); line-height: 1.8; }
.footer-heading { font-family: 'Instrument Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 1.5rem; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-link { font-size: 0.85rem; color: rgba(33,26,18,0.6); text-decoration: none; transition: color 0.3s ease; }
.footer-link:hover { color: var(--red); }
.footer-contact-label { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(184,137,58,0.85); display: block; margin-bottom: 0.2rem; }
.footer-award { border: 1px solid var(--border-md); background: var(--bg); padding: 1.25rem; max-width: 220px; }
.footer-award-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.footer-award-title { font-family: 'Fraunces', serif; font-size: 0.95rem; color: var(--ink); line-height: 1.4; }
.footer-bottom { padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-copy { font-size: 0.72rem; color: rgba(33,26,18,0.42); }

/* LOGO IMAGES
   The nav uses logo-monogram.png (mark only) and the footer uses
   logo-mark.png (mark plus wordmark). Both are cropped tight; the original
   logo.png carried roughly 18% transparent margin on each side, which made
   the mark look small and inset everywhere it appeared. The intro still uses
   the original on purpose. */
.nav-logo-img { height: 52px; width: auto; display: block; object-fit: contain; }
.intro-logo-img { max-height: min(56vh, 520px); max-width: min(72vw, 380px); width: auto; height: auto; display: block; margin: 0 auto; border-radius: 2px; }
.footer-logo-img { height: 92px; width: auto; display: block; margin-bottom: 0.25rem; opacity: 0.96; object-fit: contain; }

/* CARD EVENT INFO */
.card-event-info { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.85rem; }
.card-event-info-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(21,18,15,0.7); line-height: 1.4; }
.card-event-info-row svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--gold); }
.card-title-featured { font-weight: 500; font-size: 1.2rem; }

/* ABOUT IMAGE FRAME */
.about-img-frame { overflow: hidden; border: 1px solid var(--border-md); }
.about-img-frame img { display: block; width: 100%; }

/* SVG ICON BASE (replaces emoji icons throughout) */
.icon-line { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* KEYFRAMES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* === responsive.css === */
/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding-top: 1rem; }
  .hero-collage { height: 360px; order: -1; }
  .visit-panel { grid-template-columns: 1fr; }
  .visit-photo { min-height: 260px; }
  .visit-body { padding: 2rem 1.75rem; }
  .bento-a { grid-column: span 6; }
  .bento-b { grid-column: span 6; }
  .bento-c { grid-column: span 6; }
  .bento-d { grid-column: span 6; }
  .bento-e { grid-column: span 12; }
  .bento-f { grid-column: span 12; }
  .bento-g, .bento-h, .bento-i { grid-column: span 4; }
  .pullquote-strip { grid-template-columns: 1fr; }
  .pullquote-img { min-height: 220px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .gallery-strip-item { height: 200px; }
}
@media (max-width: 768px) {
  /* On mobile the 44px hamburger is the tallest item in the bar, not the
     logo, so the nav is 24px padding + 44px + 1px border. */
  :root { --nav-h-scrolled: 69px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 1.25rem; }
  /* Mobile logo height is set in the hardening block at the end of this file,
     because the rule there would otherwise override anything set here. */

  /* Anything under 16px makes iOS Safari zoom the whole page when a field
     takes focus, and it never zooms back out. */
  .form-input, .form-select, .form-textarea { font-size: 16px; padding: 0.85rem 1rem; }
  .form-box { padding: 1.75rem 1.5rem; }

  /* Buttons become full-width targets rather than narrow inline pills. */
  .hero-btns, .flex-gap { width: 100%; }
  .hero-btns .btn-gold, .hero-btns .btn-gold-filled { flex: 1 1 auto; justify-content: center; padding: 0.9rem 1.5rem; }

  /* The scroll cue overlaps content once the hero stacks. */
  .scroll-indicator { display: none; }

  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { max-height: 92vh; max-height: 92svh; }
  .modal-img-wrap { height: 190px; }
  .modal-body { padding: 1.5rem 1.25rem 2rem; }
  .modal-close { width: 44px; height: 44px; }

  .pullquote-body { padding: 2.25rem 1.5rem; }
  .visit-body { padding: 1.75rem 1.35rem; }
  .visit-address { font-size: 1.05rem; }
  .tabs-inner, .filter-bar { padding-left: 1.25rem; padding-right: 1.25rem; }
  .events-tabs { top: var(--nav-h-scrolled); }
  .grid-2, .grid-2.asym-left, .grid-2.asym-right { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .about-collage { height: 300px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--studio-line); }
  .stat-item:nth-child(2n) { border-right: none; }
  .grid-3, .grid-4, .grid-values { grid-template-columns: 1fr; }
  .bento-a, .bento-b, .bento-c, .bento-d, .bento-e, .bento-f, .bento-g, .bento-h, .bento-i { grid-column: span 12; grid-row: span 1; }
  .bento-a, .bento-b, .bento-e { grid-row: span 2; }
  .pullquote-body { padding: 2rem 1.5rem; }
  .timeline-strip { flex-direction: column; }
  .timeline-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .section-dark, .section-tint { padding: 4rem 0; }
  .form-box { padding: 1.5rem 1.25rem; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.75rem 1.25rem; }

  /* Four rotated, absolutely positioned photos overlap badly at this width.
     They become a tidy 2x2 board instead, keeping the pinned-snapshot tilt
     but losing the pile-up. */
  .hero-collage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
  .collage-photo.c1, .collage-photo.c2, .collage-photo.c3, .collage-photo.c4 {
    position: static;
    width: 100%;
    height: 130px;
    top: auto; bottom: auto; left: auto; right: auto;
    border-width: 4px;
    box-shadow: 0 8px 18px rgba(33,26,18,0.14);
  }
  .collage-photo.c1 { transform: rotate(-2deg); }
  .collage-photo.c2 { transform: rotate(2deg); }
  .collage-photo.c3 { transform: rotate(1.5deg); }
  .collage-photo.c4 { transform: rotate(-1.5deg); }
  .collage-pin { display: none; }

  /* Two columns keeps the strip readable without four full-width stacks. */
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .gallery-strip-item { height: 150px; }

  .about-collage { height: 260px; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .impact-box { padding: 1.25rem 1.35rem; }
  .bento-grid { grid-auto-rows: 150px; gap: 8px; }
}

/* === hosting hardening === */
/* overflow-x:hidden turns body into a scroll container, which silently kills
   position:sticky for everything inside it (the events tab bar never stuck).
   overflow-x:clip stops the same sideways overflow without doing that, so
   modern browsers get clip and older ones keep the original behaviour. */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
body { min-width: 0; }
nav, .hero, .page-hero, footer { width: 100%; max-width: 100vw; }
.nav-inner, .hero-grid, .page-hero-content, .container, .tabs-inner, .filter-inner { max-width: min(1200px, 100%); }
.nav-logo, .footer-logo { flex-shrink: 0; overflow: hidden; }
.nav-logo-img { width: auto; max-width: 92px; height: 52px; }
.footer-logo-img { width: auto; max-width: 140px; }
.hero-title em { display: inline-block; }
.hero-title .underline-scribble { width: 104%; max-width: 104%; }
.hero-collage, .about-collage { min-width: 0; }

/* This block sits after the media queries and matches their specificity, so
   any responsive override of a selector above has to be restated here or it
   silently loses. The logo height feeds --nav-h-scrolled, which the sticky
   events tab bar offsets against, so the two must stay in step. */
@media (max-width: 768px) {
  .nav-logo-img { height: 42px; max-width: 76px; }
  .footer-logo-img { height: 74px; }
}
