@charset "UTF-8";

/* =====================================================================
   Typefaces — served from this site, not from Google.
   Every visitor's browser would otherwise contact Google's servers to
   fetch these, handing over their IP address to a third party on every
   page view. Self-hosting removes that, and removes the site's last
   dependency on anything outside the server.
   Latin subset only; the estate publishes no other alphabet.
   ===================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

/* ==========================================================================
   Waterford Estate
   Palette and type recovered from the previous site's theme settings:
   green #006146, gold #ad8f4a, Allerta Stencil headings, Inter body.
   ========================================================================== */

:root {
  --green:        #006146;
  --green-deep:   #004832;
  --green-soft:   #e8efeb;
  --gold:         #ad8f4a;   /* the brand gold: rules, borders, large elements */
  --gold-soft:    #f3ece0;
  /* The brand gold reaches only about 3:1 against white and 2.4:1 against the
     estate green, which is below the 4.5:1 that small text needs to stay
     comfortably readable. These two are the same hue shifted for legibility,
     and are used ONLY for small text — never for the brand marks themselves. */
  --gold-ink:     #7d6836;   /* small gold text on any light ground (4.6:1 or better) */
  --gold-onDark:  #e6c883;   /* small gold text on the greens      (4.6:1) */
  --ink:          #151515;
  --ink-soft:     #4a4a4a;
  --paper:        #ffffff;
  --paper-warm:   #faf8f4;
  --line:         #e3ddd2;

  /* Cormorant Garamond: an old-style serif that runs small and light, so
     headings carry weight 500–600 rather than 400, and they are NOT set in
     capitals — all-caps flattens exactly what makes this face elegant.
     Italic is reserved for the large statements (hero titles, the oversized
     display line, pull quotes); ordinary headings stay upright. */
  --font-head: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap:   1220px;
  --gutter: 20px;
  --radius: 2px;

  --step-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);
}

/* --------------------------------------------------------------- reset --- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { color: var(--gold-ink); }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--green);
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------- masthead --- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.masthead.is-stuck { box-shadow: 0 6px 26px rgba(0, 0, 0, 0.07); }

/* The masthead runs wider than the body. Nine navigation items and a crest
   do not fit inside the 1220px text measure, and cramming them there is what
   pushed Contact onto a second line. */
.masthead__inner {
  max-width: 1600px;
  margin-inline: auto;
  padding: 8px var(--gutter);
  /* The crest and the navigation are centred as one group rather than pushed
     to opposite edges, so the header reads as a single mark across the top. */
  display: flex; align-items: center; justify-content: center; gap: 36px;
}

.masthead__logo { flex: 0 0 auto; display: block; }
.masthead__logo img { width: auto; height: 120px; }
@media (max-width: 1180px) { .masthead__logo img { height: 92px; } }
@media (max-width: 640px)  { .masthead__logo img { height: 78px; } }

.nav { margin-left: 0; }
.nav__list {
  display: flex; flex-wrap: nowrap; gap: 0;
  list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  display: block;
  padding: 10px 9px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav__list a:hover, .nav__list a:focus-visible { color: var(--green); }
.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--green); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
  align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line);
  padding: 10px 14px; cursor: pointer; color: var(--green);
}
.burger__bars { position: relative; width: 20px; height: 2px; background: var(--green); display: block; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--green);
  transition: transform 0.2s ease;
}
.burger__bars::before { top: -6px; }
.burger__bars::after  { top: 6px; }
.burger__text { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper-warm);
  padding: 96px 0 40px;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer__inner { max-width: 560px; margin-inline: auto; padding-inline: var(--gutter); }
.drawer__list { list-style: none; margin: 0 0 40px; padding: 0; }
/* The mobile menu matches the desktop navigation rather than the headings:
   this face is not made for small capitals, and a menu has to stay crisp. */
.drawer__list a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.drawer__list a[aria-current="page"] { color: var(--gold-ink); }
.drawer__contact { font-size: var(--step-sm); color: var(--ink-soft); }

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* -------------------------------------------------------------- sections --- */

.section { padding: clamp(56px, 8vw, 118px) 0; }
.section--flush { padding: 0; }
.section--warm  { background: var(--paper-warm); }
.section--soft  { background: var(--green-soft); }
.section--green { background: var(--green); color: #fff; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
/* :not(.btn) matters. Without it this rule outranks .btn--light and paints a
   pale cream label onto a white button — invisible. */
.section--green a:not(.btn) { color: var(--gold-soft); }
.section--gold  { background: var(--gold-soft); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
}
.section--green .eyebrow { color: var(--gold-soft); }

.heading { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 52px); }
.heading--center { margin-inline: auto; text-align: center; }
/* Large headings take the lighter, italic cut — the same one the hero uses.
   The 600 upright on h1–h6 stays for the small headings (footer columns,
   card titles), where italic at that size is hard to read. */
.heading__title {
  font-size: var(--step-3);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}
.heading__lead {
  margin: 18px 0 0;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
}
.section--green .heading__lead { color: rgba(255, 255, 255, 0.86); }

.prose { max-width: 68ch; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose--wide { max-width: none; }

/* ------------------------------------------------------------------ hero --- */

.hero { position: relative; background: var(--green-deep); overflow: hidden; }
.hero__media { position: relative; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; position: relative; }
.hero__media { height: clamp(420px, 78vh, 860px); }
.hero__slide:not(.is-active) { position: absolute; }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 40, 28, 0.42) 0%, rgba(0, 40, 28, 0.1) 40%, rgba(0, 40, 28, 0.72) 100%);
}
.hero__body {
  position: absolute; inset: auto 0 0 0;
  padding: 0 var(--gutter) clamp(38px, 6vw, 76px);
}
.hero__inner { max-width: var(--wrap); margin-inline: auto; }
.hero__title {
  color: #fff;
  font-size: var(--step-4);
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
  max-width: 24ch;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--step-1);
  font-weight: 300;
  max-width: 48ch;
  margin: 0;
}
.hero__dots {
  position: absolute; right: var(--gutter); bottom: clamp(38px, 6vw, 76px);
  display: flex; gap: 8px;
}
.hero__dot {
  width: 9px; height: 9px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent; border-radius: 50%; cursor: pointer;
}
.hero__dot.is-active { background: #fff; }

.pagehead { background: var(--green); color: #fff; position: relative; }
.pagehead__media { height: clamp(260px, 46vh, 520px); }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 45, 32, 0.35), rgba(0, 45, 32, 0.68));
}
.pagehead__body { position: absolute; inset: auto 0 0 0; padding: 0 var(--gutter) clamp(28px, 4vw, 54px); }
.pagehead__inner { max-width: var(--wrap); margin-inline: auto; }
.pagehead__title {
  color: #fff;
  font-size: var(--step-4);
  margin: 0;
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
}
.pagehead__lead { color: rgba(255, 255, 255, 0.9); max-width: 56ch; margin: 12px 0 0; font-weight: 300; }

/* ------------------------------------------------------------------ grid --- */

.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.grid--aside { grid-template-columns: 1fr 0.8fr; align-items: start; }

@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--split, .grid--aside { grid-template-columns: 1fr; }
}

.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure--tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption {
  margin-top: 10px;
  font-size: var(--step-sm);
  color: var(--ink-soft);
}

.band { position: relative; }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .band img { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------- checklist --- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-sm);
  line-height: 1.6;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}
.section--green .checklist li { border-color: rgba(255, 255, 255, 0.22); }
.section--green .checklist li::before { border-color: var(--gold-soft); }

/* ------------------------------------------------------------------ cards --- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 38px);
  height: 100%;
}
.card__title { font-size: var(--step-1); margin-bottom: 0.5em; }
.card__num {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  color: var(--gold-ink); display: block; margin-bottom: 12px;
}

.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .statrow { grid-template-columns: 1fr; } }
.stat { border-top: 2px solid var(--gold); padding-top: 18px; }
.stat__num {
  font-family: var(--font-head);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.05;
  color: var(--green);
  display: block;
}
.section--green .stat__num { color: #fff; }
.stat__label {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 10px 0 0;
}
.section--green .stat__label { color: rgba(255, 255, 255, 0.8); }

/* --------------------------------------------------------------- accordion --- */

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; align-items: baseline; gap: 16px;
  background: none; border: 0; padding: 20px 0; cursor: pointer;
  text-align: left; color: var(--green);
  font-family: var(--font-head); font-size: var(--step-1);
  font-weight: 600;
}
.accordion__btn span.num { font-size: 0.78rem; color: var(--gold-ink); flex: 0 0 auto; }
.accordion__btn span.txt { flex: 1 1 auto; }
.accordion__btn span.sign {
  flex: 0 0 auto; width: 14px; height: 14px; position: relative;
}
.accordion__btn span.sign::before,
.accordion__btn span.sign::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform 0.2s ease;
}
.accordion__btn span.sign::before { inset: 6px 0 auto 0; height: 2px; }
.accordion__btn span.sign::after  { inset: 0 6px auto 6px; width: 2px; height: 14px; }
.accordion__btn[aria-expanded="true"] span.sign::after { transform: scaleY(0); }
.accordion__panel { padding: 0 0 22px; max-width: 62ch; color: var(--ink-soft); }
.accordion__panel[hidden] { display: none; }

/* ----------------------------------------------------------------- quotes --- */

.quotes { position: relative; max-width: 58ch; }
.quote { display: none; margin: 0; }
.quote.is-active { display: block; }
.quote blockquote {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--green);
  text-transform: none;
}
.section--green .quote blockquote { color: #fff; }
.quote figcaption {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.quotes__dots { display: flex; gap: 8px; margin-top: 26px; }
.quotes__dot {
  width: 26px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: var(--line);
}
.quotes__dot.is-active { background: var(--gold); }

/* ---------------------------------------------------------------- gallery --- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.gallery__item { display: block; overflow: hidden; background: var(--green-soft); }
.gallery__item img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.gallery__item:hover img, .gallery__item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(8, 20, 15, 0.94);
  display: grid; place-items: center;
  padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 96vw); max-height: 88vh; width: auto; object-fit: contain; }
.lightbox__btn {
  position: absolute; background: none; border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff; width: 48px; height: 48px; cursor: pointer; font-size: 1.3rem;
  display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75); font-size: var(--step-sm); letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------ video --- */

.video { position: relative; background: #000; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.75; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video__play {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: 14px; align-content: center;
  background: none; border: 0; cursor: pointer; color: #fff;
}
.video__icon {
  width: 74px; height: 74px; border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%; position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
}
.video__icon::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-left: 17px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.video__play:hover .video__icon { background: rgba(0, 97, 70, 0.75); transform: scale(1.06); }
.video__label {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ----------------------------------------------------------------- ticker --- */

.ticker { overflow: hidden; }
.ticker__track {
  display: flex; gap: 12px; width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track img {
  height: clamp(180px, 26vw, 300px); width: auto;
  object-fit: cover; flex: 0 0 auto;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; overflow-x: auto; }
}

/* ---------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: var(--gold); color: #fff;
  border: 1px solid var(--gold);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--green); border-color: var(--gold); color: #fff;
}
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); border-color: #fff; }
.btn--light:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--block { width: 100%; justify-content: center; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ------------------------------------------------------------------- form --- */

.form { max-width: 640px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--green);
  outline: 2px solid rgba(0, 97, 70, 0.16);
  outline-offset: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #a3261e; }
.field__error { margin: 6px 0 0; font-size: var(--step-sm); color: #a3261e; }
.field--hidden { position: absolute; left: -9999px; }

.notice { padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--gold-soft); margin-bottom: 30px; }
.notice--ok { border-color: var(--green); background: var(--green-soft); }
.notice--bad { border-color: #a3261e; background: #fbeceb; }
.notice p:last-child { margin-bottom: 0; }

.contact-card { border-top: 2px solid var(--gold); padding-top: 18px; margin-bottom: 30px; }
.contact-card h3 { font-size: 0.95rem; margin-bottom: 4px; letter-spacing: 0.08em; }
.contact-card p { margin: 0; font-size: var(--step-sm); color: var(--ink-soft); }
.contact-card .name { color: var(--ink); font-weight: 500; }

/* ----------------------------------------------------------------- footer --- */

.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(50px, 7vw, 92px) 0 30px;
  font-size: var(--step-sm);
}
.footer a { color: var(--gold-soft); }
.footer a:hover { color: #fff; }

.footer__top {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(173, 143, 74, 0.35);
}
/* The crest is full colour — green disc, gold ring, white lettering. Do not
   apply a brightness/invert filter here: it flattens the whole mark to a
   blank white shape. It reads correctly on the dark green as-is. */
.footer__brand img { width: 150px; height: auto; }
.footer__tagline { margin: 18px 0 0; max-width: 34ch; font-weight: 300; }

.footer__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-content: start; }
.fact__label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-onDark); margin: 0 0 8px;
}
.fact__value { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); color: #fff; line-height: 1.3; }
.fact__value a { color: #fff; }

.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  padding: 44px 0;
}
.footer__head {
  font-size: 0.78rem; letter-spacing: 0.18em; color: var(--gold-onDark);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 9px; }

.footer__base {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid rgba(173, 143, 74, 0.35);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
}
.footer__base p { margin: 0; }
.footer__legal { display: flex; gap: 10px; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__facts { grid-template-columns: 1fr; gap: 22px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ------------------------------------------------------------------ to top --- */

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 46px; height: 46px;
  background: var(--green); color: #fff; border: 0; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.totop.is-shown { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--gold); }

/* --------------------------------------------------------------- utilities --- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* These exist because the Content-Security-Policy blocks inline style
   attributes. Anything that would otherwise be written as style="..." in a
   template belongs here instead. Do not relax style-src to work around it. */

.mt-md { margin-top: 36px; }
.mt-lg { margin-top: clamp(40px, 5vw, 72px); }
.mb-md { margin-bottom: 24px; }

.cta--center { justify-content: center; }
.cta--spaced { margin-top: 44px; }

.heading--flush { margin-bottom: 0; }
.heading__title--sm { font-size: var(--step-2); }

.statrow--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .statrow--two { grid-template-columns: 1fr; } }

.stat-note {
  margin-top: 22px;
  font-size: var(--step-sm);
  color: rgba(255, 255, 255, 0.72);
}

.pullquote {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  text-transform: none;
  line-height: 1.32;
}

.accordion__h { margin: 0; }

.form__note { margin-top: 20px; font-size: var(--step-sm); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.lead { font-size: var(--step-1); font-weight: 300; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }

.display {
  font-family: var(--font-head);
  color: var(--green);
  font-size: clamp(3.4rem, 14vw, 12rem);
  /* 0.82 suited the stencil face, whose letters had no descenders to speak
     of. This one does, so the lines need room or they collide. */
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-style: italic;
  font-weight: 400;
  margin: 0;
}
.display--sub {
  display: block;
  font-size: clamp(1rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-top: 0.2em;
  color: var(--gold);
}

/* ------------------------------------------------- stacked page title --- */
/* "The" set small above a large ESTATE. Capitals work here because the word
   stands alone at display size — it is small capitals that this face
   handles badly, not large ones. */
.pagehead__title--stack { display: block; line-height: 1; }
.pagehead__title--stack .t-the {
  display: block;
  font-size: 0.34em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 0.08em;
  opacity: 0.92;
}
.pagehead__title--stack .t-big {
  display: block;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.98;
}

/* Below the navigation breakpoint there is no nav to centre with, so the
   crest returns to the left and the menu button sits opposite it. */
@media (max-width: 1180px) {
  .masthead__inner { justify-content: flex-start; }
}
