/* ==========================================================================
   Hartswell Manor — concept site by Ashvane
   Ivory and bottle green, brass used only for lines and small accents.
   Georgian symmetry: centred composition, fanlight arches, fine rules.
   ========================================================================== */

:root {
  --ivory: #F6F1E6;
  --linen: #ECE4D2;
  --green: #1E3A2F;
  --green-deep: #142820;
  --green-soft: rgba(30, 58, 47, 0.8);
  --brass: #A8823A;          /* lines, ornaments, underlines only */
  --brass-text: #7E6026;     /* brass for small text: AA on ivory */
  --brass-light: #D7B97A;    /* brass on green */
  --rule: rgba(168, 130, 58, 0.45);
  --ivory-soft: rgba(246, 241, 230, 0.8);

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--green);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 3px; }
::selection { background: var(--green); color: var(--ivory); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 40rem; margin-inline: auto; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 50;
  padding: 8px 14px; background: var(--green); color: var(--ivory);
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-text);
}
h1, .h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
}
h2, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
}
h3, .h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.2;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.45;
}
.soft { color: var(--green-soft); }
.small { font-size: 0.92rem; }

/* Ornament: brass rule with a lozenge at its centre */
.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(220px, 60%);
  margin: 28px auto;
  color: var(--brass);
}
.ornament::before,
.ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.ornament i {
  width: 7px; height: 7px; flex: none;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Links and buttons ---------- */
.link {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link:hover, .link:focus-visible { border-bottom-color: var(--green); }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; margin-top: 32px; }

/* Framed button: a fine inner rule, like a panelled door */
.btn {
  position: relative;
  display: inline-block;
  padding: 16px 34px;
  border: 0;
  background: var(--green);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(215, 185, 122, 0.55);
  pointer-events: none;
}
.btn:hover, .btn:focus-visible { background: var(--green-deep); }

/* ---------- Concept banner ---------- */
.concept-bar {
  background: var(--green-deep);
  color: var(--ivory-soft);
  font-size: 0.8rem;
  text-align: center;
  padding: 8px var(--pad);
}
.concept-bar a { color: var(--ivory); text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-head {
  position: relative;
  padding: 28px 0 0;
  text-align: center;
  background: var(--ivory);
}
.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  padding-left: 0.24em; /* balance the trailing letter-spacing */
}
.wordmark small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  color: var(--brass-text);
}
.nav-toggle {
  display: none;
  position: absolute;
  right: var(--pad);
  top: 34px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav { margin-top: 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.site-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 40px;
}
.site-nav a {
  display: block;
  padding: 14px 0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-soft);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--brass); }
.site-nav .nav-enquire { color: var(--brass-text); }

@media (max-width: 760px) {
  .site-head { text-align: left; padding: 20px var(--pad) 18px; border-bottom: 1px solid var(--rule); }
  .wordmark { padding-left: 0; font-size: 1.2rem; letter-spacing: 0.2em; }
  .js .nav-toggle { display: block; top: 24px; }
  .site-nav { margin-top: 0; border: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; margin-top: 16px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.8rem; margin: 0; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--brass-text); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section--linen { background: var(--linen); }
.section--green { background: var(--green); color: var(--ivory); }
.section--green .eyebrow { color: var(--brass-light); }
.section--green .link { border-bottom-color: var(--brass-light); }
.section--green .link:hover, .section--green .link:focus-visible { border-bottom-color: var(--ivory); }
.section--green .ornament { color: var(--brass-light); }
.section--green :focus-visible { outline-color: var(--brass-light); }

.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p:not(.eyebrow) { margin-top: 18px; }

/* ---------- Page hero (text on ivory, image below) ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 80px); text-align: center; }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: 19ch; margin-inline: auto; }
.hero .lead { max-width: 34rem; margin: 26px auto 0; color: var(--green-soft); }

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--green-deep);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 760px) {
  .hero-image { aspect-ratio: 4 / 3; }
}

/* Page title band for inner pages */
.page-title { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.page-title .eyebrow { margin-bottom: 18px; }
.page-title h1 { max-width: 18ch; margin-inline: auto; }
.page-title .lead { max-width: 36rem; margin: 22px auto 0; color: var(--green-soft); }

/* ---------- Figures ---------- */
.frame { position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 241, 230, 0.5);
  pointer-events: none;
}
/* Fanlight arch for portrait images (2:3) */
.arch { overflow: hidden; border-radius: 50% 50% 0 0 / 33.34% 33.34% 0 0; aspect-ratio: 2 / 3; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--green-soft); }

/* ---------- Split: image + text ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__text > * + * { margin-top: 20px; }
.split__text .eyebrow + h2 { margin-top: 12px; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); }
  .split--flip .split__media { order: 2; }
}

/* ---------- Figures row: numbers in serif ---------- */
.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.figures div { padding: 28px 12px; }
.figures div + div { border-left: 1px solid var(--rule); }
.figures div:nth-child(3) { border-left: 0; }
.figures dt { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; }
.figures dd { margin-top: 10px; font-size: 0.85rem; color: var(--green-soft); }
@media (max-width: 759px) {
  .figures div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (min-width: 760px) {
  .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figures div:nth-child(3) { border-left: 1px solid var(--rule); }
}

/* ---------- Spaces: three columns divided by rules ---------- */
.spaces { display: grid; gap: 56px; }
.space img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.space h3 { margin-top: 22px; }
.space .eyebrow { margin-top: 6px; }
.space p:last-child { margin-top: 12px; color: var(--green-soft); }
/* Equal columns; the dividing rule sits in the middle of each gap */
@media (min-width: 900px) {
  .spaces, .packages { --gap: clamp(40px, 5vw, 72px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .space, .package { position: relative; }
  .space + .space::before,
  .package + .package::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--gap) / -2);
    width: 1px;
    background: var(--rule);
  }
}

/* ---------- Quote strip ---------- */
.saying {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  max-width: 22ch;
  margin-inline: auto;
}

/* ---------- Teaser gallery (home) ---------- */
.trio { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.trio .arch { aspect-ratio: 2 / 3; }
.trio > :nth-child(2) { transform: translateY(-24px); }
@media (max-width: 620px) {
  .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio > :nth-child(3) { display: none; }
  .trio > :nth-child(2) { transform: none; }
}

/* ---------- Ceremony options ---------- */
.options { display: grid; gap: 48px; }
.option h3 { margin-top: 24px; }
.option dl { margin-top: 16px; border-top: 1px solid var(--rule); }
.option dl div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 0.94rem;
}
.option dt { color: var(--green-soft); }
.option p { margin-top: 16px; }
.option--text {
  align-self: center;
  padding: 40px 32px;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: -8px;
}
.option--text h3 { margin-top: 0; }
@media (min-width: 900px) {
  .options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
}

/* ---------- The day: timings ---------- */
.timeline { max-width: 40rem; margin-inline: auto; border-top: 1px solid var(--rule); }
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.timeline time, .timeline .t { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
@media (max-width: 480px) {
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Packages ---------- */
.packages { display: grid; gap: 40px; }
.package { text-align: center; }
.package h3 { margin-bottom: 14px; }
.package .from { margin-top: 18px; font-family: var(--serif); font-size: 1.3rem; }
.package ul { margin-top: 16px; text-align: left; }
.package li { padding: 9px 0 9px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 0.95rem; }
.package li::before {
  content: ""; position: absolute; left: 3px; top: 1.05em;
  width: 5px; height: 5px; border: 1px solid var(--brass); transform: rotate(45deg);
}

/* ---------- Price table ---------- */
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.prices caption { caption-side: bottom; margin-top: 18px; font-size: 0.9rem; color: var(--green-soft); text-align: left; }
.prices th, .prices td { padding: 16px 12px; border-bottom: 1px solid var(--rule); text-align: right; }
.prices thead th {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-text); border-bottom-color: var(--brass);
}
.prices tbody th, .prices thead th:first-child { text-align: left; }
.prices tbody th { font-weight: 400; }
.prices tbody th span { display: block; font-size: 0.85rem; color: var(--green-soft); }
.prices td { font-family: var(--serif); font-size: 1.4rem; }
.prices th:first-child { padding-left: 0; }
.prices td:last-child, .prices th:last-child { padding-right: 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 600px) {
  .prices thead { display: none; }
  .prices tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .prices th, .prices td { display: flex; justify-content: space-between; border: 0; padding: 4px 0; text-align: left; }
  .prices tbody th { display: block; margin-bottom: 6px; }
  .prices td::before { content: attr(data-label); font-family: var(--sans); font-size: 0.85rem; color: var(--green-soft); }
}

.extras { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.extras div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.extras dt { font-weight: 500; }
.extras dd { color: var(--green-soft); }
@media (min-width: 700px) {
  .extras div { grid-template-columns: 14rem 1fr; gap: 24px; }
}

/* ---------- Gallery ---------- */
.filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px;
  margin-bottom: 16px;
}
.filters button {
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-soft);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filters button:hover { color: var(--green); }
.filters button[aria-pressed="true"] { color: var(--green); border-bottom-color: var(--brass); }
.filter-status { text-align: center; font-size: 0.88rem; color: var(--green-soft); margin-bottom: 40px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 12px;
}
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* One season is three photographs: centre them in three columns */
  .gallery.is-filtered { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; }
}
.gallery li { position: relative; }
.gallery li.tall { grid-row: span 2; }
.gallery li[hidden] { display: none; }
.gallery button {
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--linen); cursor: zoom-in; overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.gallery .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(20, 40, 32, 0.78), rgba(20, 40, 32, 0));
  color: var(--ivory);
  font-size: 0.8rem;
  text-align: left;
  pointer-events: none;
}
.gallery .is-entering { animation: hm-fade 0.5s var(--ease) both; }
@keyframes hm-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox {
  max-width: min(94vw, 1100px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: var(--green-deep);
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(20, 40, 32, 0.86); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox p { padding: 14px 20px; font-size: 0.92rem; }
.lightbox .close {
  position: absolute; top: 10px; right: 10px;
  padding: 6px 12px; border: 1px solid rgba(246, 241, 230, 0.5); background: rgba(20, 40, 32, 0.7);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}

/* ---------- Events ---------- */
.offer { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--rule); }
.offer:last-child { border-bottom: 1px solid var(--rule); }
.offer img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.offer h3 { margin-bottom: 12px; }
.offer .terms { margin-top: 16px; font-size: 0.92rem; color: var(--brass-text); letter-spacing: 0.02em; }
@media (min-width: 860px) {
  .offer { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
  .offer--text { grid-template-columns: 1fr; text-align: center; }
  .offer--text > div { max-width: 38rem; margin-inline: auto; }
}

/* ---------- FAQs ---------- */
.faqs { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--rule); }
.faqs details { border-bottom: 1px solid var(--rule); }
.faqs summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::before,
.faqs summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--brass);
  transition: transform 0.35s var(--ease);
}
.faqs summary::after { transform: rotate(90deg); }
.faqs details[open] summary::after { transform: rotate(0deg); }
.faqs .answer { padding: 0 48px 24px 0; color: var(--green-soft); }
.faqs .answer p + p { margin-top: 12px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > .eyebrow { display: block; text-align: center; margin-bottom: 20px; }

/* ---------- Enquiry ---------- */
.enquire { display: grid; gap: 56px; }
@media (min-width: 960px) {
  .enquire { grid-template-columns: 7fr 4fr; gap: clamp(48px, 7vw, 96px); align-items: start; }
}
.form { display: grid; gap: 28px; }
.form .row { display: grid; gap: 28px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.field .hint { font-size: 0.85rem; color: var(--green-soft); margin-top: 6px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--brass);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%);
  background-position: right 8px center, right 3px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--green); padding-bottom: 9px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
.field .check {
  display: flex; gap: 10px; align-items: center; margin: 12px 0 0;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--green);
}
.check input { width: 18px; height: 18px; accent-color: var(--green); }

.quote {
  padding: 26px 28px;
  background: var(--linen);
  border-left: 2px solid var(--brass);
}
.quote[hidden] { display: none; }
.quote .eyebrow { margin-bottom: 8px; }
.quote .price { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.quote p + p { margin-top: 8px; }
.quote .note { font-size: 0.92rem; color: var(--green-soft); }

.form-done { padding: 28px; border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -8px; }
.form-done[hidden] { display: none; }

.aside > * + * { margin-top: 40px; }
.aside h2 { font-size: 1.7rem; margin-bottom: 10px; }
.aside address { font-style: normal; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--green-deep);
  color: var(--ivory-soft);
  padding: 72px 0 32px;
  font-size: 0.94rem;
}
.site-foot a { color: var(--ivory); text-decoration: none; }
.site-foot a:hover, .site-foot a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.site-foot :focus-visible { outline-color: var(--brass-light); }
.foot-grid { display: grid; gap: 40px; text-align: center; }
.foot-grid .wordmark { color: var(--ivory); }
.foot-grid .wordmark small { color: var(--brass-light); }
.foot-grid h2 {
  margin-bottom: 12px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light);
}
.foot-grid li + li { margin-top: 6px; }
.foot-grid address { font-style: normal; }
@media (min-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1.3fr 1fr; text-align: left; align-items: start; }
  .foot-grid > :nth-child(2) { text-align: center; }
  .foot-grid > :last-child { text-align: right; }
}
.foot-base {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(215, 185, 122, 0.25);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 0.82rem;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
