/*
  Belgravia & Mason Estates — design system
  World: the glossed bottle-green front door, brass door furniture and
  fanlight arch of a Belgravia townhouse, translated to screen.
*/

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

:root {
  /* Brand palette — from the client's own crest (deep bottle-green + gold) */
  --green-900: #0a2118;
  --green-800: #0d2b1e;
  --green-700: #123625;
  --green-600: #1b4a33;
  --green-500: #26603f;

  --brass-700: #9c7936;
  --brass-600: #b8894c;
  --brass-500: #c69a5c;
  --brass-400: #d9b679;
  --brass-300: #e8cd97;

  /* Neutrals — warm limestone, not cream-cliché */
  --stone-100: #f7f3e9;
  --stone-200: #efe8d8;
  --stone-300: #ded2b4;
  --surface: #fffdf8;

  --text: #171c19;
  --text-soft: #4b5650;
  --text-muted: #7c8880;
  --text-on-dark: #f3ede0;
  --text-on-dark-soft: #b9c4bc;

  --border: #e2dac4;
  --border-on-dark: rgba(216, 190, 140, 0.28);

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Public Sans', -apple-system, sans-serif;

  /* Spacing / layout */
  --section-pad: clamp(64px, 9vw, 128px);
  --container: 1240px;
  --container-narrow: 780px;
  --radius: 4px;
  --radius-lg: 8px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: var(--text-on-dark); }
.on-dark p, .on-dark p.lede { color: var(--text-on-dark-soft); }

p { max-width: 62ch; }
p.lede { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--text-soft); max-width: 46ch; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

section { padding-block: var(--section-pad); }

/* ---------- Fanlight arch motif ---------- */
/* Echoes the semicircular window above a Belgravia front door.
   Used on image plates (hero, property media); section transitions are
   plain flat colour changes, not arched. */
.fanlight {
  border-radius: 999px 999px var(--radius) var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn-brass {
  background: var(--brass-600);
  color: var(--green-900);
}
.btn-brass:hover { background: var(--brass-500); }
.btn-brass:focus-visible { outline: 2px solid var(--brass-300); outline-offset: 3px; }

.btn-outline-dark {
  border-color: var(--border-on-dark);
  color: var(--text-on-dark);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--brass-400); color: var(--brass-300); }
.btn-outline-dark:focus-visible { outline: 2px solid var(--brass-300); outline-offset: 3px; }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--brass-600); color: var(--brass-700); }
.btn-outline:focus-visible { outline: 2px solid var(--brass-600); outline-offset: 3px; }

.btn-ghost {
  color: var(--brass-700);
  padding-inline: 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--brass-500);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--green-800); border-color: var(--green-800); }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.4rem;
  transition: background 0.35s var(--ease-out), padding 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.site-nav.solid {
  background: rgba(10, 33, 24, 0.94);
  backdrop-filter: blur(10px);
  padding-block: 0.85rem;
  border-color: var(--border-on-dark);
  box-shadow: 0 12px 32px -18px rgba(0,0,0,0.55);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 42px; width: auto; transition: height 0.35s var(--ease-out); }
.site-nav.solid .brand img { height: 34px; }
.brand-text { font-family: var(--font-display); color: var(--text-on-dark); font-size: 1.05rem; letter-spacing: 0.04em; }
.brand-text small { display: block; font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--brass-400); font-weight: 600; margin-top: 0.15rem; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  color: var(--text-on-dark-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-on-dark); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--brass-400);
  transition: right 0.3s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-on-dark);
  margin-inline: auto;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--green-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.mobile-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-panel a { font-family: var(--font-display); font-size: 1.9rem; color: var(--text-on-dark); }
.mobile-panel a[aria-current="page"] { color: var(--brass-400); }
.mobile-panel .btn { align-self: flex-start; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 90% at 82% 8%, var(--green-600) 0%, var(--green-800) 46%, var(--green-900) 100%);
  position: relative;
  overflow: clip;
  padding-block: clamp(120px, 16vw, 180px) clamp(80px, 10vw, 120px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(216,190,140,0.05) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(216,190,140,0.05) 0 1px, transparent 1px 88px);
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,0.6) 40%, transparent 85%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.hero-copy .eyebrow-mark { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; }
.hero-copy .eyebrow-mark::before { content: ""; width: 34px; height: 1px; background: var(--brass-400); }
.hero-copy .eyebrow-mark span { font-size: 0.72rem; letter-spacing: 0.24em; color: var(--brass-400); font-weight: 600; }
.hero h1 { color: var(--text-on-dark); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--brass-300); }
.hero-copy p.lede { color: var(--text-on-dark-soft); margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-audiences { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border-on-dark); border: 1px solid var(--border-on-dark); border-radius: var(--radius); overflow: hidden; max-width: 560px; }
.hero-audiences a { background: rgba(10,33,24,0.55); padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background 0.25s ease; }
.hero-audiences a:hover { background: rgba(184,137,76,0.14); }
.hero-audiences .label { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brass-400); font-weight: 700; }
.hero-audiences .desc { font-size: 0.85rem; color: var(--text-on-dark-soft); }
.hero-audiences .arrow { color: var(--brass-400); font-size: 1.1rem; transition: transform 0.25s var(--ease-out); }
.hero-audiences a:hover .arrow { transform: translateX(4px); }

.hero-plate {
  position: relative;
  align-self: start;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  border: 1px solid var(--border-on-dark);
  overflow: hidden;
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}
.hero-plate svg, .hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,33,24,0.05), rgba(10,33,24,0.35) 88%);
  pointer-events: none;
}

@media (min-width: 980px) {
  .hero .container { grid-template-columns: 1.05fr 0.75fr; gap: 4rem; }
}

/* ---------- Section labels ---------- */
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p.lede { margin-top: 1rem; }
.section-head.center p.lede { margin-inline: auto; }

/* ---------- Services / mechanism ---------- */
.included-band {
  background: var(--green-800);
  color: var(--text-on-dark);
  position: relative;
}
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-on-dark);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.included-item {
  background: var(--green-800);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.included-item .icon { color: var(--brass-400); }
.included-item .icon svg { width: 30px; height: 30px; }
.included-item h3 { color: var(--text-on-dark); font-size: 1.15rem; }
.included-item p { color: var(--text-on-dark-soft); font-size: 0.92rem; max-width: 34ch; }

@media (min-width: 700px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .included-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Service cards (What We Do) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  background: var(--stone-100);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { border-color: var(--brass-500); transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(20,40,30,0.35); }
.service-card .icon { color: var(--brass-600); margin-bottom: 1.2rem; }
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; }

@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About / story split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--stone-200), var(--stone-300));
  border: 1px solid var(--border);
  position: relative;
}
.split-media svg, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .kicker-line { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.split-copy .kicker-line::before { content: ""; width: 30px; height: 1px; background: var(--brass-600); }
.split-copy .kicker-line span { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--brass-700); font-weight: 700; }
.split-copy h2 { margin-bottom: 1.2rem; }
.split-copy p { color: var(--text-soft); margin-bottom: 1rem; }

@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

/* ---------- Trust / stats strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: grid; grid-template-columns: 1fr; gap: 2.2rem; padding-block: 3rem; }
.trust-item { display: flex; align-items: flex-start; gap: 1rem; }
.trust-item .icon { color: var(--brass-600); flex-shrink: 0; margin-top: 0.15rem; }
.trust-item .icon svg { width: 22px; height: 22px; }
.trust-item p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }
.trust-item strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.2rem; }

@media (min-width: 760px) { .trust-strip .container { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonial ---------- */
.testimonial-block { background: var(--stone-100); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); }
.testimonial-block blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-style: italic; color: var(--text); line-height: 1.5; max-width: 46ch; }
.testimonial-block cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 0.85rem; color: var(--text-muted); }
.stars { display: flex; gap: 4px; margin-bottom: 1.5rem; }
.stars svg { width: 16px; height: 16px; color: var(--brass-500); }

/* ---------- Property cards ---------- */
.properties-toolbar { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }
.properties-toolbar button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.properties-toolbar button:hover { border-color: var(--brass-500); color: var(--brass-700); }
.properties-toolbar button.active { background: var(--green-800); border-color: var(--green-800); color: var(--text-on-dark); }

.property-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }

.property-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  display: block;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -30px rgba(20,40,30,0.4); border-color: var(--brass-500); }
.property-media { aspect-ratio: 5/4; position: relative; background: linear-gradient(155deg, var(--green-700), var(--green-900)); overflow: hidden; }
.property-media svg { width: 100%; height: 100%; }
.property-status {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: rgba(10,33,24,0.82); color: var(--brass-300);
  border: 1px solid var(--border-on-dark);
}
.property-status.let { background: rgba(124, 24, 24, 0.85); color: #f5d9d9; border-color: rgba(245,217,217,0.3); }
.property-body { padding: 1.5rem; }
.property-rent { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-800); margin-bottom: 0.35rem; }
.property-rent span { font-family: var(--font-body); font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.property-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--text); }
.property-meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--text-muted); border-top: 1px solid var(--border); margin-top: 1.1rem; padding-top: 1rem; }
.property-meta span { display: flex; align-items: center; gap: 0.4rem; }
.property-meta svg { width: 15px; height: 15px; color: var(--brass-600); }

.state-panel { text-align: center; padding: 4rem 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius-lg); color: var(--text-muted); }
.state-panel p { margin-inline: auto; }
.state-panel.error { color: #8a3b3b; border-color: #e4c4c4; background: #fbf3f3; }

.skeleton { background: linear-gradient(90deg, var(--stone-100) 25%, var(--stone-200) 37%, var(--stone-100) 63%); background-size: 400% 100%; animation: skeleton-shine 1.4s ease infinite; border-radius: var(--radius-lg); }
@keyframes skeleton-shine { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.6rem; font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text);
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--brass-600); transition: transform 0.3s var(--ease-out); }
.faq-q .plus::before { inset: 45% 0; height: 1.5px; }
.faq-q .plus::after { inset: 0 45%; width: 1.5px; }
.faq-item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding-bottom: 1.8rem; color: var(--text-soft); max-width: 62ch; }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-info .item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .icon { color: var(--brass-600); flex-shrink: 0; }
.contact-info .icon svg { width: 20px; height: 20px; }
.contact-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info p { font-size: 0.92rem; color: var(--text-soft); }

.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 0.5rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass-600); box-shadow: 0 0 0 3px rgba(184,137,76,0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-success { display: none; text-align: center; padding: 3rem 1.5rem; }
.form-success.show { display: block; }
.form-success .icon { color: var(--brass-600); margin-bottom: 1.2rem; }
.form-success .icon svg { width: 44px; height: 44px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--text-on-dark-soft); padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.8rem; margin-bottom: 3rem; }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--brass-400); font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.88rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brass-300); }
.footer-bottom { border-top: 1px solid var(--border-on-dark); padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.8rem; }
.footer-bottom a { color: var(--brass-400); }
.footer-bottom a:hover { text-decoration: underline; }

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger.visible .stagger-child { transition-delay: calc(var(--i, 0) * 90ms); }

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

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--green-800);
  padding-block: clamp(140px, 18vw, 200px) clamp(60px, 8vw, 90px);
  position: relative;
  overflow: clip;
}
.page-header.has-photo { background-size: cover; background-position: center; }
.page-header.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,33,24,0.94) 0%, rgba(10,33,24,0.86) 42%, rgba(10,33,24,0.55) 100%);
}
.page-header.has-photo .container { position: relative; z-index: 1; }
.page-header .eyebrow-mark { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.3rem; }
.page-header .eyebrow-mark::before { content: ""; width: 34px; height: 1px; background: var(--brass-400); }
.page-header .eyebrow-mark span { font-size: 0.72rem; letter-spacing: 0.24em; color: var(--brass-400); font-weight: 600; }
.page-header h1 { color: var(--text-on-dark); max-width: 18ch; }
.page-header p.lede { color: var(--text-on-dark-soft); margin-top: 1rem; }

/* ---------- Utility ---------- */
.mt-lg { margin-top: var(--section-pad); }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
