@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Sofia Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/sofia-sans-condensed-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #e9edf1;
  --fg-light-base-body: #141c25;
  --fg-light-base-heading: #141c25;
  --fg-light-base-muted: #3f4b59;
  --fg-light-base-link: #735416;
  --fg-light-base-inverse: #141c25;
  --bg-light-card: #d5dde5;
  --fg-light-card-body: #141c25;
  --fg-light-card-heading: #141c25;
  --fg-light-card-muted: #3f4b59;
  --fg-light-card-link: #563f0d;
  --fg-light-card-inverse: #141c25;
  --bg-light-elevated: #c9d3dd;
  --fg-light-elevated-body: #141c25;
  --fg-light-elevated-heading: #141c25;
  --fg-light-elevated-muted: #3f4b59;
  --fg-light-elevated-link: #563f0d;
  --fg-light-elevated-inverse: #141c25;
  --brand-light-accent: #735416;
  --brand-light-accent-hover: #563f0d;
  --brand-light-on-accent: #fbf7ec;
  --focus-light-ring: #735416;
  --border-light-default: #56636f;
  --border-light-subtle: #c9b27a;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Sculpted-lift architecture: slate stone, ink columns, antique gold lift lines, engraved caps. */
:root {
  --font-engraved: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-text: 'Sofia Sans Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --stone: var(--bg-light-base);
  --slate: var(--bg-light-card);
  --slate-deep: var(--bg-light-elevated);
  --gold: var(--brand-light-accent);
  --gold-deep: var(--brand-light-accent-hover);
  --on-gold: var(--brand-light-on-accent);
  --gold-leaf: #a8823a;
  --ink-solid: #141c25;
  --gold-pale: var(--border-light-subtle);
  --rule: var(--border-light-default);
  --gutter: clamp(1rem, 4vw, 3rem);
  --frame: 74rem;
  --measure: 40rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
  font-size: 1.1875rem;
  line-height: 1.55;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: 0.55rem 1rem; background: var(--stone); border: 2px solid var(--gold); }
.skip-link:focus { top: 1rem; }

h1, h2, h3 {
  font-family: var(--font-engraved);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--fg-heading);
  text-wrap: balance;
}

h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { margin: 2.6rem 0 0.9rem; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { margin: 2rem 0 0.6rem; font-size: 1.15rem; font-weight: 600; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 3px; }

/* ---------- Header: static stone lintel on an ink beam, grouped dropdown bar ---------- */

.site-header { position: static; border-bottom: 6px solid var(--ink-solid); box-shadow: 0 3px 0 var(--gold-leaf); }

.header-inner {
  position: relative;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: block; flex: 0 1 auto; line-height: 0; text-decoration: none; }
.brand svg { width: clamp(14rem, 28vw, 20rem); height: auto; }

.nav-bar .site-nav > ul { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 0.2rem; margin: 0; padding: 0; list-style: none; }
.nav-bar .site-nav > ul > li { position: relative; }
.nav-bar .site-nav > ul > li > a,
.nav-bar .site-nav-group > summary {
  display: block;
  padding: 0.5rem 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.nav-bar .site-nav > ul > li > a:hover,
.nav-bar .site-nav-group > summary:hover,
.nav-bar .site-nav-group[open] > summary { border-bottom-color: var(--gold-leaf); }
.nav-bar .site-nav-group > summary { list-style: none; }
.nav-bar .site-nav-group > summary::-webkit-details-marker { display: none; }
.nav-bar .site-nav-group > summary::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.2rem) rotate(45deg);
}
.nav-bar .site-nav-group > ul {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  min-width: 16rem;
  margin: 0.4rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--stone);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ink-solid);
  box-shadow: inset 0 2px 0 var(--gold-leaf);
}
.nav-bar .site-nav-group > ul a { display: block; padding: 0.55rem 1rem; text-decoration: none; }
.nav-bar .site-nav-group > ul a:hover { text-decoration: underline; }

.nav-toggle { display: none; flex: 0 0 auto; }
.menu-label { white-space: nowrap; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--ink-solid);
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 1.1rem; height: 0.9rem; border-bottom: 2px solid currentColor; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; bottom: 0.3rem; width: 0.3rem; background: currentColor; }
.menu-icon::before { left: 0.15rem; height: 0.35rem; }
.menu-icon::after { left: 0.65rem; height: 0.6rem; }
.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0.9rem 0 0;
  padding: 0.6rem var(--gutter) 1.4rem;
  list-style: none;
  background: var(--stone);
  border-bottom: 6px solid var(--ink-solid);
  box-shadow: 0 3px 0 var(--gold-leaf);
}
.site-menu > ul > li { border-bottom: 1px solid var(--gold-pale); }
.site-menu > ul a { display: block; padding: 0.75rem 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.site-menu > ul ul { margin: 0 0 0.6rem; padding: 0 0 0 1rem; list-style: none; }
.site-menu > ul ul a { padding: 0.35rem 0; font-weight: 400; }

/* ---------- Page frame and breadcrumbs ---------- */

.page-frame { flex: 1 0 auto; width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter) 4.5rem; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.7rem; margin: 1.3rem 0 0; padding: 0; list-style: none; font-size: 0.98rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.7rem; color: var(--gold-leaf); }

/* ---------- Prose shared by every body ---------- */

.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--gold-leaf); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: 0.9rem 1.2rem; border-left: 3px solid var(--gold-leaf); background: var(--slate); }
.prose figure { margin: 0 0 2rem; }
.prose figure img { display: block; width: 100%; height: auto; }
.prose .photo-hero { padding: 0.5rem; border: 1px solid var(--rule); box-shadow: inset 0 0 0 0.35rem var(--slate); }
.prose .photo-hero img { aspect-ratio: 16 / 7; object-fit: cover; }
.prose figcaption { margin-top: 0.5rem; font-size: 0.95rem; color: var(--fg-muted); }
.prose .table-scroll { overflow-x: auto; }

/* ---------- Home: monumental intro, then stone panels ---------- */

.home { max-width: 56rem; margin: 0 auto; }

.monument {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.lift-lines { width: min(15rem, 60%); height: auto; color: var(--gold-leaf); }
.monument-title h1 { margin-top: 1.6rem; font-size: clamp(2.2rem, 6.2vw, 4.4rem); letter-spacing: 0.06em; max-width: 18ch; }
.monument-lines { max-width: 36rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--gold-leaf); font-size: 1.22rem; }
.monument-lines .display-line { margin: 0; }
.monument-lines .display-line + .display-line { margin-top: 0.7rem; color: var(--fg-muted); }

.panels { max-width: none; }
.panels > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.home .panels > :not(h2):not(ul):not(.photo-hero) { margin-left: auto; margin-right: auto; }
.panels > .photo-hero { max-width: none; margin-bottom: 2.6rem; }
.panels > h2 {
  max-width: none;
  margin-top: 3rem;
  padding: 1rem 1.4rem 0.9rem;
  background: var(--slate);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold-leaf);
  text-align: center;
}
.panels > h2 + * { margin-top: 1.4rem; }
.panels > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  max-width: none;
  padding: 0;
  list-style: none;
}
.panels > ul > li {
  margin: 0;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--rule);
  box-shadow: inset 0 0 0 4px var(--stone), inset 0 0 0 5px var(--gold-pale);
}

/* ---------- Question detail: one answer column with a gold-ruled quick answer ---------- */

.answer { max-width: 46rem; margin: 0 auto; padding-top: clamp(2rem, 6vw, 4rem); }
.answer-title h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.answer-body { max-width: none; margin-top: 1.6rem; }
.answer-body > h2:first-of-type { margin-top: 2rem; padding-top: 1rem; border-top: 3px solid var(--gold-leaf); font-size: 1.15rem; }
.answer-body > h2:first-of-type + p {
  margin-bottom: 2.2rem;
  padding: 1.1rem 1.4rem;
  background: var(--slate);
  border-bottom: 1px solid var(--gold-leaf);
  font-size: 1.25rem;
  line-height: 1.5;
}
.answer-body > h2 { padding-top: 1rem; border-top: 1px solid var(--rule); }

/* ---------- Topic cluster: slate treatment column beside an ink question column ---------- */

.cluster {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--rule);
}
.cluster-slate { padding: clamp(1.4rem, 4vw, 2.8rem); }
.cluster-title h1 { padding-bottom: 1rem; border-bottom: 3px solid var(--gold-leaf); }
.cluster-body { margin-top: 1.6rem; }
.cluster-ink { align-self: stretch; padding: clamp(1.4rem, 4vw, 2.8rem); border-left: 8px solid var(--ink-solid); box-shadow: inset 3px 0 0 var(--gold-leaf); }
.cluster-lift { display: block; width: 7rem; height: auto; color: var(--ink-solid); }
.cluster-items ul { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.cluster-items ul:empty { display: none; }
.cluster-items li { border-top: 1px solid var(--rule); }
.cluster-items li:last-child { border-bottom: 1px solid var(--rule); }
.cluster-items a { display: block; padding: 0.95rem 0; font-size: 1.2rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.cluster-items a:hover { text-decoration: underline; }

/* ---------- Geo cluster: condensed place index beside framed area notes ---------- */

.geo {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding-top: clamp(2rem, 6vw, 4rem);
}
.geo-index { padding-top: 1rem; border-top: 4px solid var(--gold-leaf); }
.geo-title h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.geo-items ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.geo-items ul:empty { display: none; }
.geo-items li { padding: 0.45rem 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.geo-notes {
  max-width: none;
  padding: clamp(1.3rem, 4vw, 2.6rem);
  border: 1px solid var(--rule);
  box-shadow: inset 0 0 0 6px var(--slate), inset 0 0 0 7px var(--gold-leaf);
}
.geo-notes > * { max-width: var(--measure); }
.geo-notes > .photo-hero { max-width: none; }
.geo-notes > h2 { padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.geo-notes > h2:first-child { margin-top: 0; }

/* ---------- About: grid of credential plaques ---------- */

.plaques { padding-top: clamp(2rem, 6vw, 4rem); }
.plaques-title h1 { max-width: 22ch; padding-bottom: 1rem; border-bottom: 3px solid var(--gold-leaf); }
.plaques-body { max-width: none; margin-top: 1.8rem; }
.plaques-body > p:first-child { max-width: var(--measure); font-size: 1.25rem; }
.plaques-body > h2 {
  margin: 1.4rem 0 0;
  padding: 1rem 1.3rem 0.6rem;
  background: var(--slate);
  border: 1px solid var(--rule);
  border-bottom: 0;
  box-shadow: inset 0 3px 0 var(--gold-leaf);
  font-size: 1.15rem;
}
.plaques-body > h2 + p {
  margin: 0;
  padding: 0.2rem 1.3rem 1.2rem;
  background: var(--slate);
  border: 1px solid var(--rule);
  border-top: 0;
  box-shadow: inset 0 -3px 0 var(--gold-leaf);
}

/* ---------- Contact: ink side panel beside the form ---------- */

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: start;
  padding-top: clamp(2rem, 6vw, 4rem);
}
.enquiry-panel { padding: clamp(1.4rem, 4vw, 2.6rem); border-top: 8px solid var(--ink-solid); box-shadow: inset 0 3px 0 var(--gold-leaf); }
.enquiry-body { margin-top: 1.4rem; }
.enquiry-form { display: grid; gap: 1.1rem; padding-top: 0.4rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #ffffff;
  color: var(--fg-body);
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold-leaf); outline-offset: 2px; border-color: var(--gold); }
.enquiry-button {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.7rem 1.7rem;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: var(--on-gold);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.enquiry-button:hover { background: var(--gold-deep); }

/* ---------- Thank you: stepped ascent ---------- */

.ascent { max-width: 52rem; padding-top: clamp(2rem, 6vw, 4rem); }
.ascent-head { display: flex; align-items: flex-end; gap: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.ascent-lines { flex: 0 0 auto; width: 8rem; height: auto; color: var(--gold-leaf); }
.ascent-body { margin-top: 1.6rem; max-width: none; }
.ascent-body > * { max-width: var(--measure); }
.ascent-body > h2 { padding-top: 0.8rem; border-top: 3px solid var(--gold-leaf); }
.ascent-body > h2:nth-of-type(2), .ascent-body > h2:nth-of-type(2) ~ * { margin-left: clamp(1rem, 6vw, 4rem); }
.ascent-body > h2:nth-of-type(3), .ascent-body > h2:nth-of-type(3) ~ * { margin-left: clamp(2rem, 12vw, 8rem); }

/* ---------- Footer: slate plinth on an ink beam ---------- */

.site-footer { margin-top: 2rem; border-top: 8px solid var(--ink-solid); box-shadow: inset 0 3px 0 var(--gold-leaf); }
.footer-inner {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 2.4rem var(--gutter) 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.4rem 3rem;
}
.footer-name { margin: 0; font-family: var(--font-engraved); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; }
.footer-line { margin: 0.6rem 0 0; }
.footer-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.4rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.footer-client { grid-column: 1 / -1; margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--rule); }

/* ---------- Narrow screens ---------- */

@media (max-width: 64rem) {
  .nav-bar { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 52rem) {
  .cluster, .geo, .enquiry, .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 52.01rem) {
  .plaques-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    column-gap: 1.5rem;
    align-items: stretch;
  }
  .plaques-body > * { grid-column: 1 / -1; }
  .plaques-body > h2:nth-of-type(odd), .plaques-body > h2:nth-of-type(odd) + p { grid-column: 1; }
  .plaques-body > h2:nth-of-type(even), .plaques-body > h2:nth-of-type(even) + p { grid-column: 2; }
}

@media (max-width: 30rem) {
  .ascent-head { flex-direction: column; align-items: flex-start; }
  .ascent-body > h2:nth-of-type(n), .ascent-body > h2:nth-of-type(n) ~ * { margin-left: 0; }
}
