/* =========================================================
   OPHELIA S. HILL ROSENWALD SCHOOL
   Editorial / Archival aesthetic
   Warm cream paper, oxblood accents, classic serif typography
   ========================================================= */

:root {
  --cream: #f4ead5;
  --cream-deep: #ebdfc2;
  --paper: #e8dcbe;
  --ink: #1a1410;
  --ink-soft: #3d3228;
  --ink-mid: #5a4a3d;
  --oxblood: #6b1d14;
  --oxblood-deep: #4a1209;
  --oxblood-light: #8a2a1e;
  --ochre: #b8862a;
  --sepia: #8a6f4a;
  --rule: rgba(26, 20, 16, 0.2);
  --rule-soft: rgba(26, 20, 16, 0.12);
  --shadow: rgba(26, 20, 16, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Paper texture across all pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(139, 111, 74, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(107, 29, 20, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.05 0 0 0 0.12 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
}

.eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--oxblood);
  letter-spacing: 0.02em;
}

.eyebrow-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sepia);
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }

/* =========================================================
   CONTAINERS
   ========================================================= */
.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 2;
}

.container-tight {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 2;
}

.container-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .container, .container-tight, .container-text { padding: 0 1.5rem; }
}

/* =========================================================
   NAVIGATION
   ========================================================= */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 234, 213, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.4s ease;
}

nav.site-nav.hidden { transform: translateY(-100%); }

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink);
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-name em {
  font-style: italic;
  color: var(--oxblood);
  font-weight: 400;
}

.brand-divider {
  width: 1px;
  height: 14px;
  background: var(--rule);
}

.brand-location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sepia);
}

.nav-center {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.nav-center a {
  color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
  padding: 0.3rem 0;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--oxblood);
  transition: width 0.3s;
}

.nav-center a:hover { color: var(--oxblood); }
.nav-center a:hover::after { width: 100%; }

.nav-center a.active { color: var(--oxblood); }
.nav-center a.active::after { width: 100%; }

.nav-cta {
  background: var(--oxblood);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--oxblood-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  .nav-center, .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 6rem 2rem 3rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  border-bottom: 1px solid var(--rule);
}

.mobile-panel.open { transform: translateY(0); }

.mobile-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.mobile-panel a {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--ink);
}

.mobile-panel a.active { color: var(--oxblood); font-style: italic; }

.mobile-panel .mob-cta {
  margin-top: 2rem;
  display: inline-block;
  background: var(--oxblood);
  color: var(--cream);
  padding: 1rem 2rem;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--oxblood);
  color: var(--cream);
  border-color: var(--oxblood);
}

.btn-primary:hover {
  background: var(--oxblood-deep);
  border-color: var(--oxblood-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 29, 20, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-cream {
  background: var(--cream);
  color: var(--oxblood);
  border-color: var(--cream);
}

.btn-cream:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   PAGE HEADER (subpages)
   ========================================================= */
.page-hero {
  padding: 10rem 0 4rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

/* Grid variant — page hero with accompanying image on the right */
.page-hero-with-image > .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero-with-image > .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .page-hero-image {
    max-width: 420px;
    justify-self: start;
  }
}

.page-hero-image {
  position: relative;
  aspect-ratio: 5/4;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 25px 50px var(--shadow),
    0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: heroImageFade 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.14) saturate(1.05) contrast(1.02);
  transform: scale(1.02);
  animation: slow-zoom 22s ease-in-out infinite alternate;
}

.page-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 20, 16, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

.page-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 134, 42, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(107, 29, 20, 0.15) 0%, transparent 55%);
  mix-blend-mode: soft-light;
  z-index: 1;
  pointer-events: none;
}

.page-hero-image-frame {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid rgba(244, 234, 213, 0.3);
  pointer-events: none;
  z-index: 3;
}

.page-hero-image-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  opacity: 0.85;
}

@keyframes heroImageFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--sepia);
}

.page-hero-eyebrow .line {
  flex: 0 0 50px;
  height: 1px;
  background: var(--sepia);
}

.page-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  color: var(--ink);
  max-width: 18ch;
}

.page-hero-with-image h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  max-width: 14ch;
}

.page-hero h1 .italic { color: var(--oxblood); }

.page-hero-intro {
  margin-top: 2.5rem;
  font-size: 1.3rem;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.55;
  font-style: italic;
}

@media (max-width: 768px) { .page-hero { padding: 8rem 0 3rem; } }

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
.section { padding: 7rem 0; position: relative; }
.section-tight { padding: 5rem 0; position: relative; }
.section-divider { border-top: 1px solid var(--rule); }

.section-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: baseline;
}

@media (max-width: 768px) {
  .section-header { grid-template-columns: 1fr; gap: 1rem; }
}

.section-header .eyebrow-mono {
  padding-top: 0.6rem;
  border-top: 1px solid var(--oxblood);
  color: var(--oxblood);
}

.section-header h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  color: var(--ink);
}

.section-header h2 .italic { color: var(--oxblood); }

.section-header .lede {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.6;
  font-style: italic;
}

/* Centered variant for service area */
.section-header-center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-center .eyebrow-mono {
  display: inline-block;
  border-top: none;
  border-bottom: 1px solid var(--oxblood);
  padding: 0 1rem 0.4rem;
  margin-bottom: 1.5rem;
}

.section-header-center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   ORNAMENT
   ========================================================= */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--sepia);
}

.ornament .line {
  width: 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.ornament .symbol {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--oxblood);
}

/* =========================================================
   HOME PAGE HERO — editorial magazine cover style
   ========================================================= */
.home-hero {
  padding: 9rem 0 5rem;
  min-height: auto;
  display: block;
  position: relative;
}

.home-hero-stacked > .container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.home-hero-intro {
  max-width: 1100px;
}

.home-hero-intro-foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .home-hero-intro-foot { grid-template-columns: 1fr; gap: 2rem; }
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 960px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.home-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--sepia);
}

.home-hero-meta .line {
  flex: 0 0 50px;
  height: 1px;
  background: var(--sepia);
}

.home-hero h1 {
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  margin-bottom: 2rem;
  color: var(--ink);
}

.home-hero h1 .italic {
  color: var(--oxblood);
  display: block;
  font-size: 0.88em;
}

.home-hero-lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.home-hero-lede::first-letter {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.1em 0 -0.05em;
  color: var(--oxblood);
}

.home-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero image (legacy — no longer used on home, kept for compatibility) */
.home-hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 30px 60px var(--shadow),
    0 10px 20px rgba(0,0,0,0.12);
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(1.05);
  transform: scale(1.02);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.home-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.15) 0%, transparent 35%, transparent 65%, rgba(26, 20, 16, 0.55) 100%),
    linear-gradient(135deg, rgba(107, 29, 20, 0.12) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* =========================================================
   WIDE HERO VIDEO (full-width feature)
   ========================================================= */
.home-hero-video-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
  box-shadow:
    0 40px 80px var(--shadow),
    0 15px 30px rgba(0, 0, 0, 0.15);
}

.home-hero-video-wide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 2;
}

/* Caption below the video frame (when using iframe embed — Drive has its own control bar) */
.home-hero-video-meta {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sepia);
  padding: 0 0.5rem;
}

@media (max-width: 640px) {
  .home-hero-video-meta { font-size: 0.6rem; }
  .home-hero-video-meta span:last-child { display: none; }
}

.home-hero-video-wide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.18) saturate(1.05) contrast(1.03) brightness(0.88);
  transform: scale(1.02);
  animation: slow-zoom 26s ease-in-out infinite alternate;
  transition: filter 0.6s ease, transform 0.6s ease;
  position: relative;
  z-index: 0;
}

/* Ambient vignette and gradient overlays */
.home-hero-video-wide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.25) 0%, transparent 30%, transparent 60%, rgba(26, 20, 16, 0.7) 100%),
    linear-gradient(135deg, rgba(107, 29, 20, 0.15) 0%, transparent 55%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Warm tint that ties video to paper palette */
.home-hero-video-wide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 134, 42, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 100%, rgba(107, 29, 20, 0.25) 0%, transparent 55%);
  mix-blend-mode: soft-light;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Decorative inner frame — thin cream border */
.video-frame-border {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(244, 234, 213, 0.3);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.6s ease;
}

/* When playing with sound, drop filters + fade overlays so viewer sees clean video + controls */
.home-hero-video-wide.is-playing video {
  filter: none;
  transform: scale(1);
  animation: none;
}

.home-hero-video-wide.is-playing::before { opacity: 0.15; }
.home-hero-video-wide.is-playing::after { opacity: 0; }
.home-hero-video-wide.is-playing .video-frame-border { opacity: 0; }
.home-hero-video-wide.is-playing .video-caption-strip { opacity: 0; pointer-events: none; }

/* Play button overlay — big centered CTA */
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  color: var(--cream);
  transition: background 0.4s ease, opacity 0.4s ease;
  padding: 0;
}

.video-play-overlay:hover {
  background: rgba(26, 20, 16, 0.25);
}

.video-play-overlay .play-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--oxblood);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  animation: pulse-ring 2.8s infinite;
}

.video-play-overlay:hover .play-icon {
  transform: scale(1.08);
  background: var(--oxblood-deep);
}

.video-play-overlay .play-icon svg {
  width: 34px;
  height: 34px;
  color: var(--cream);
  margin-left: 5px;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(107, 29, 20, 0.55); }
  70%  { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 32px rgba(107, 29, 20, 0); }
  100% { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(107, 29, 20, 0); }
}

.video-play-overlay .play-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.video-play-overlay .play-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 234, 213, 0.8);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Hide the overlay button entirely once the film is playing with sound + native controls */
.home-hero-video-wide.is-playing .video-play-overlay {
  display: none;
}

/* Caption strip at the bottom — title + hint */
.video-caption-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  z-index: 4;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

@media (max-width: 640px) {
  .video-caption-strip { padding: 1rem 1.2rem; font-size: 0.6rem; }
  .video-caption-strip span:last-child { display: none; }
  .video-play-overlay .play-icon { width: 72px; height: 72px; }
  .video-play-overlay .play-icon svg { width: 26px; height: 26px; }
  .video-play-overlay .play-label { font-size: 1.2rem; }
}

/* Native video controls styling — gives the default browser controls a subtle cream accent on supported browsers */
.home-hero-video-wide video::-webkit-media-controls-panel {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 13, 11, 0.9) 100%);
}

.home-hero-image-frame {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(244, 234, 213, 0.3);
  pointer-events: none;
  z-index: 3;
}

.home-hero-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: var(--cream);
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  opacity: 0.9;
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
}

.stat-block {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.stat-block:last-child { border-right: none; }

@media (max-width: 768px) {
  .stat-block:nth-child(2n) { border-right: none; }
  .stat-block:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  color: var(--oxblood);
  font-weight: 600;
  line-height: 1;
  font-variation-settings: 'opsz' 144;
}

.stat-label {
  margin-top: 0.8rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* =========================================================
   EDITORIAL FEATURE BLOCK (home — story preview)
   ========================================================= */
.feature-block {
  padding: 8rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.feature-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(1.05);
  transition: transform 0.8s;
}

.feature-image:hover img { transform: scale(1.04); }

.feature-image-tag {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  background: var(--oxblood);
  color: var(--cream);
  padding: 0.5rem 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px var(--shadow);
}

.feature-content .eyebrow-mono {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  color: var(--oxblood);
  margin-bottom: 1.5rem;
}

.feature-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.feature-content h2 .italic { color: var(--oxblood); }

.feature-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.feature-content .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  transition: gap 0.3s;
}

.feature-content .read-more:hover { gap: 1rem; }

/* =========================================================
   CHAPTERS LIST (home — replaces pathways/pills)
   Editorial list of pages, with title, description
   ========================================================= */
.chapters {
  padding: 7rem 0;
  border-top: 1px solid var(--rule);
}

.chapters-header {
  text-align: center;
  margin-bottom: 5rem;
}

.chapters-header .eyebrow-mono {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  color: var(--oxblood);
  margin-bottom: 1.5rem;
}

.chapters-header h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
}

.chapters-header h2 .italic { color: var(--oxblood); }

.chapters-list {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
}

.chapter {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 3rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--rule);
  align-items: center;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.chapter:last-child { border-bottom: 1px solid var(--rule); }

.chapter:hover {
  background: rgba(107, 29, 20, 0.03);
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 900px) {
  .chapter { grid-template-columns: 1fr; gap: 0.8rem; padding: 2rem 0.5rem; }
  .chapter:hover { padding-left: 0.5rem; padding-right: 0.5rem; }
}

.chapter-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.chapter-title .italic { color: var(--oxblood); }

.chapter-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.chapter-arrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sepia);
  transition: all 0.3s;
  justify-self: end;
}

@media (max-width: 900px) { .chapter-arrow { display: none; } }

.chapter:hover .chapter-arrow {
  color: var(--oxblood);
  transform: translateX(8px);
}

/* =========================================================
   PROSE / LONG FORM (story page)
   ========================================================= */
.prose {
  max-width: 700px;
  margin: 0 auto;
}

.prose p {
  font-size: 1.22rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.prose p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 0;
  color: var(--oxblood);
}

.prose h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 500;
  margin: 3rem 0 1.2rem;
  color: var(--ink);
  font-style: italic;
}

.prose blockquote {
  border-left: 2px solid var(--oxblood);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.4;
  color: var(--ink);
}

.prose blockquote footer {
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding: 0;
  background: transparent;
  border: none;
}

/* =========================================================
   VIDEO FRAME
   ========================================================= */
.video-wrap { padding: 5rem 0; }

.video-frame {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.video-frame::before, .video-frame::after,
.video-frame .corner-tr, .video-frame .corner-bl {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ochre);
}
.video-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.video-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.video-frame .corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.video-frame .corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }

.video-container {
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0806;
  overflow: hidden;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 134, 42, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #141210 0%, #0a0806 100%);
}

.play-button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--oxblood);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 0 0 rgba(107, 29, 20, 0.6);
  animation: pulse 2.5s infinite;
  border: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(107, 29, 20, 0.6); }
  70% { box-shadow: 0 0 0 30px rgba(107, 29, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 29, 20, 0); }
}

.play-button:hover { transform: scale(1.08); }
.play-button svg { width: 32px; height: 32px; fill: var(--cream); margin-left: 4px; }

.video-placeholder .title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cream);
}

.video-placeholder .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 234, 213, 0.6);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 134, 42, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 234, 213, 0.55);
}

/* =========================================================
   STATEMENT BLOCKS (vision page — mission/vision)
   ========================================================= */
.statement-block {
  padding: 3.5rem 3rem;
  border: 1px solid var(--rule);
  background: rgba(235, 223, 194, 0.35);
  position: relative;
}

.statement-block + .statement-block { margin-top: 1.5rem; }

.statement-block .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.statement-block p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

/* =========================================================
   VALUES — subtle editorial list, no numbered boxes
   ========================================================= */
.values-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin: 0 auto;
  max-width: 1000px;
}

@media (max-width: 768px) {
  .values-inline { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.value-line {
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}

.value-line .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--oxblood);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-line .name {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
}

/* =========================================================
   FOUR PILLARS — editorial grid, no numbering
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

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

.pillar-card {
  padding: 3rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.4s;
}

.pillar-card:hover { background: rgba(107, 29, 20, 0.04); }

.pillar-card .eyebrow-mono {
  color: var(--oxblood);
  display: block;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.pillar-card h3 .italic { color: var(--oxblood); }

.pillar-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================================================
   GOALS (plan page) — editorial, no numbered circles
   ========================================================= */
.goals-list {
  display: flex;
  flex-direction: column;
}

.goal-row {
  display: grid;
  grid-template-columns: 180px 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.goal-row:last-child { border-bottom: 1px solid var(--rule); }

@media (max-width: 900px) {
  .goal-row { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0; }
}

.goal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding-top: 0.4rem;
}

.goal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.goal-title .italic { color: var(--oxblood); }

.goal-objectives {
  list-style: none;
}

.goal-objectives li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.goal-objectives li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--oxblood);
}

/* =========================================================
   PROGRAMS — editorial two-column, no numbered boxes
   ========================================================= */
.program-block {
  padding: 6rem 0;
  border-top: 1px solid var(--rule);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

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

.program-intro .eyebrow-mono {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  color: var(--oxblood);
  margin-bottom: 1.5rem;
}

.program-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.program-intro h2 .italic { color: var(--oxblood); }

.program-intro p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

.program-offers { list-style: none; }

.program-offers li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  transition: padding 0.3s;
}

.program-offers li:last-child { border-bottom: 1px solid var(--rule); }
.program-offers li:hover { padding-left: 0.8rem; }

.program-offers .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--oxblood);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.program-offers .text {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

.program-offers .text strong {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-style: italic;
  color: var(--oxblood);
}

/* =========================================================
   FINANCIAL / YEAR CARDS (plan) — no numbered tiles
   ========================================================= */
.years-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) { .years-grid { grid-template-columns: 1fr; } }

.year-card {
  padding: 2.5rem;
  border: 1px solid var(--rule);
  background: rgba(235, 223, 194, 0.3);
  transition: all 0.4s;
}

.year-card:hover {
  border-color: var(--oxblood);
  background: rgba(235, 223, 194, 0.6);
  transform: translateY(-4px);
}

.year-card .phase-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.6rem;
}

.year-card .phase-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 2rem;
  font-weight: 500;
}

.year-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem 1rem;
  font-size: 1rem;
}

.year-card dt {
  color: var(--ink-soft);
  font-style: italic;
}

.year-card dd {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.year-card dd.accent { color: var(--oxblood); }

.finance-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--sepia);
  font-size: 0.95rem;
}

/* =========================================================
   FACILITIES / METRICS - simple editorial list (no boxes)
   ========================================================= */
.editorial-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) { .editorial-list { grid-template-columns: 1fr; } }

.editorial-list-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
}

.editorial-list-item .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--oxblood);
  font-size: 1rem;
  flex-shrink: 0;
}

.editorial-list-item .text {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.3;
}

/* =========================================================
   SERVICE AREA - counties as plain editorial list, NOT pills
   ========================================================= */
.counties-list-editorial {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 2;
}

.counties-list-editorial .county-name {
  position: relative;
}

.counties-list-editorial .county-name:not(:last-child)::after {
  content: '·';
  color: var(--oxblood);
  margin-left: 2rem;
  font-family: 'Fraunces', serif;
}

.counties-list-editorial .county-name.home {
  font-style: italic;
  color: var(--oxblood);
}

.counties-list-editorial .county-name.home::before {
  content: '❖ ';
  font-size: 0.8em;
}

/* =========================================================
   FUNDING / PARTNER PAGE - editorial columns
   ========================================================= */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 900px) { .funding-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.funding-column .eyebrow-mono {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  color: var(--oxblood);
  margin-bottom: 1.2rem;
}

.funding-column h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--ink);
  line-height: 1.15;
}

.funding-column ul { list-style: none; }

.funding-column li {
  padding: 0.7rem 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  border-bottom: 1px dotted var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  line-height: 1.4;
}

.funding-column li:last-child { border-bottom: none; }

.funding-column li::before {
  content: '§';
  color: var(--oxblood);
  font-family: 'Fraunces', serif;
  font-style: italic;
  flex-shrink: 0;
}

.funding-highlight {
  margin-top: 3rem;
  padding: 3rem;
  background: var(--oxblood);
  color: var(--cream);
  border-radius: 2px;
}

.funding-highlight .eyebrow-mono {
  color: var(--ochre);
  display: block;
  margin-bottom: 1rem;
}

.funding-highlight h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.funding-highlight p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: rgba(244, 234, 213, 0.9);
}

.funding-highlight ul { list-style: none; }

.funding-highlight li {
  padding: 0.5rem 0;
  font-size: 1rem;
  border-bottom: 1px dotted rgba(244, 234, 213, 0.25);
  display: flex;
  gap: 0.8rem;
}

.funding-highlight li::before {
  content: '§';
  color: var(--ochre);
  font-style: italic;
}

.funding-highlight li:last-child { border-bottom: none; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-details { list-style: none; margin-top: 2rem; }

.contact-details li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.contact-details li:last-child { border-bottom: 1px solid var(--rule); }

.contact-details .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.3rem;
}

.contact-details .value {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(235, 223, 194, 0.4);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  border-radius: 2px;
  transition: all 0.25s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--oxblood);
  background: rgba(244, 234, 213, 0.7);
}

.field textarea { resize: vertical; min-height: 140px; font-family: inherit; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.5s;
}

.gallery-item:hover { transform: translateY(-4px); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1);
  transition: transform 0.8s;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(26,20,16,0.9) 100%);
  color: var(--cream);
}

.gallery-caption .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.25rem;
}

.gallery-caption h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.g-wide { grid-column: span 8; aspect-ratio: 16/9; }
.g-tall { grid-column: span 4; aspect-ratio: 4/5.6; }
.g-sq   { grid-column: span 4; aspect-ratio: 1/1; }
.g-med  { grid-column: span 6; aspect-ratio: 4/3; }
.g-full { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 900px) {
  .g-wide { grid-column: span 12; aspect-ratio: 16/9; }
  .g-tall, .g-sq { grid-column: span 6; }
  .g-med { grid-column: span 12; }
}

@media (max-width: 560px) {
  .g-wide, .g-tall, .g-sq, .g-med, .g-full { grid-column: span 12; aspect-ratio: 4/3; }
}

.placeholder-item {
  background: repeating-linear-gradient(
    45deg,
    rgba(139, 111, 74, 0.08),
    rgba(139, 111, 74, 0.08) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  box-shadow: none;
}

.placeholder-item:hover { transform: none; }

.placeholder-item span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--sepia);
  max-width: 200px;
  line-height: 1.4;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: 8rem 0;
  background: var(--oxblood);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(184, 134, 42, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(26, 20, 16, 0.3) 0%, transparent 50%);
}

.cta-band-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-band .eyebrow-mono {
  color: var(--ochre);
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ochre);
  margin-bottom: 1.5rem;
}

.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--cream);
}

.cta-band h2 .italic {
  color: var(--ochre);
  font-weight: 400;
}

.cta-band p {
  font-size: 1.25rem;
  line-height: 1.55;
  color: rgba(244, 234, 213, 0.88);
  margin: 0 auto 3rem;
  max-width: 640px;
  font-style: italic;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   CALLOUT (centered quote / statement on pages)
   ========================================================= */
.callout {
  padding: 6rem 0;
  background: rgba(235, 223, 194, 0.5);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.callout-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.callout-inner .eyebrow-mono {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--oxblood);
  color: var(--oxblood);
  margin-bottom: 1.5rem;
}

.callout-inner p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.callout-inner p .italic { color: var(--oxblood); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--ink);
  color: rgba(244, 234, 213, 0.7);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 234, 213, 0.1);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.footer-brand h3 em {
  font-style: italic;
  color: var(--ochre);
  font-weight: 400;
}

.footer-brand p {
  color: rgba(244, 234, 213, 0.6);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.55;
}

.footer-tag {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ochre);
  font-size: 1.05rem;
}

.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li {
  padding: 0.3rem 0;
  font-size: 0.98rem;
  color: rgba(244, 234, 213, 0.7);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(244, 234, 213, 0.4);
  text-transform: uppercase;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Home hero reveals on load */
.home-hero-content > * {
  opacity: 0;
  animation: slideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.home-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.home-hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.home-hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.home-hero-content > *:nth-child(4) { animation-delay: 0.55s; }

.home-hero-image {
  opacity: 0;
  animation: slideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
