/* ==========================================================================
   STONE CASTLE VILLA, "Limestone & Ink, The Arched Estate"
   Design system v1.0 · Build Master
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01  TOKENS ................. palette, type scale, easings, durations, z
   02  FONT FALLBACKS ......... size-adjusted Georgia/Arial/Times (CLS < .05)
   03  RESET & BASE ........... instant limestone paint, selection, focus
   04  UTILITIES .............. container, grid-12, visually-hidden, skip link
   05  TYPOGRAPHY ............. display/heading/editorial/eyebrow/caption
   06  SECTION KIT ............ section rhythm, section-head, hairline,
                                fan divider, epigraphs, good-to-know
   07  LINKS & BUTTONS ........ underline draw, arching buttons, pill
   08  HEADER & NAV ........... solid/hide states, live label, dropdowns,
                                mobile menu, mobile sticky enquiry bar
   09  HERO ................... home + page heroes, estate-wall frame,
                                line masks, trust plinth, coords monogram,
                                scroll cue
   10  FIGURES & IMAGERY ...... frame ground + veil, captions, arch mask,
                                grade-vintage, duotone, LQIP
   11  PARALLAX BAND .......... full-bleed band, scrim, grain overlays,
                                architectural pull-quote
   12  FACT STRIP & PLAQUES ... ticking facts, engraved plaque badges
   13  ESTATE PLAN ............ self-drawing plan, wing states, info cards
   14  GALLERIES & STROLL ..... gallery grid, hover masks, stroll rows
   15  LIGHTBOX ............... limestone-50 ground, counter, controls
   16  LEDGER ................. dotted-leader distance rows
   17  FACT-SHEET TABLE ....... printed estate fact sheet
   18  TARIFF CARD ............ printed tariff sheet, current-season ring
   19  DUSK DECISION BAND ..... lantern bloom, ember, form, copy chips
   20  FOOTER ................. dusk-950, lantern emblem, maker's stamp
   21  REVEAL HOOKS ........... will-change hygiene, no-JS guarantees
   22  RESPONSIVE ............. tablet + mobile
   23  REDUCED MOTION & PRINT
   ========================================================================== */


/* ==========================================================================
   01 TOKENS
   ========================================================================== */
:root {
  /* Grounds, the sunlit stone */
  --limestone-50:  #FBF8F1;
  --limestone-100: #F6F0E2;
  --limestone-200: #EBE1CD;
  --stone-300:     #D6C9AF;

  /* Ink, the open Aegean */
  --aegean-900:    #13293B;
  --ink-body:      #243441;
  --aegean-700:    #1F4A66;
  --pool-400:      #58AEBF;   /* decorative only, never text */

  /* Warmth, tile, iron, bronze */
  --terracotta-600:#A65336;
  --bronze-600:    #8A6A3F;
  --bronze-700:    #6E5430;
  --iron-900:      #26221E;

  /* Dusk */
  --dusk-900:      #1C2340;
  --dusk-950:      #141A30;
  --lantern-300:   #EBB05E;   /* only on dusk grounds */

  /* Type */
  --font-display:     "Cormorant Garamond", "Display-fallback", Georgia, serif;
  --font-body:        "Hanken Grotesk", "Hanken-fallback", Arial, sans-serif;
  --font-inscription: "Marcellus", "Marcellus-fallback", "Times New Roman", serif;

  /* Type scale (8px baseline) */
  --display-xl: clamp(3.4rem, 8.5vw, 7.5rem);
  --display-lg: clamp(2.5rem, 5vw, 4.5rem);
  --h2:         clamp(2rem, 3.6vw, 3.25rem);
  --h3:         1.625rem;
  --h4:         1.25rem;
  --quote:      clamp(1.875rem, 3.5vw, 3.25rem);
  --body-lg:    1.125rem;
  --body:       1.0625rem;
  --caption:    0.875rem;
  --label:      0.75rem;

  /* Motion */
  --ease-exit: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mask: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-ui:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro: 200ms;
  --dur-ui: 300ms;
  --dur-reveal: 700ms;
  --dur-monumental: 1100ms;

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: 32px;
  --margin: 64px;
  --frame-inset: 24px;
  --header-h: 76px;

  /* Z-scale */
  --z-bar: 80;
  --z-menu: 95;
  --z-header: 100;
  --z-lightbox: 200;
}


/* ==========================================================================
   02 FONT FALLBACKS, size-adjusted to hold CLS < 0.05 while webfonts swap
   ========================================================================== */
@font-face {
  font-family: "Display-fallback";
  src: local("Georgia");
  size-adjust: 91%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Hanken-fallback";
  src: local("Arial");
  size-adjust: 100.5%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Marcellus-fallback";
  src: local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}


/* ==========================================================================
   03 RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  /* T+0: limestone paints before anything else loads */
  background: var(--limestone-100);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--limestone-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; overflow-wrap: break-word; }
p { max-width: 68ch; overflow-wrap: break-word; }

::selection { background: var(--aegean-900); color: var(--limestone-50); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--aegean-700);
  outline-offset: 3px;
  border-radius: 2px;
}
.dusk-band :focus-visible,
.site-footer :focus-visible,
.hero--dusk :focus-visible { outline-color: var(--lantern-300); }

/* The 1024px photographic law */
main img { max-width: min(100%, 1024px); }


/* ==========================================================================
   04 UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--margin)); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 64px;
}
/* asymmetry helpers, never 50/50 */
.cols-2-6  { grid-column: 2 / 7; }
.cols-7-12 { grid-column: 7 / 13; }
.cols-1-7  { grid-column: 1 / 8; }
.cols-8-12 { grid-column: 8 / 13; }
.cols-3-9  { grid-column: 3 / 10; }
.cols-3-11 { grid-column: 3 / 11; }
.cols-1-12 { grid-column: 1 / 13; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: calc(var(--z-header) + 10);
  transform: translateY(-200%);
  background: var(--aegean-900);
  color: var(--limestone-50);
  font: 500 0.9375rem/1 var(--font-body);
  padding: 14px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform var(--dur-micro) var(--ease-ui);
}
.skip-link:focus-visible { transform: translateY(0); outline-offset: 0; outline-color: var(--lantern-300); }

[hidden] { display: none !important; }


/* ==========================================================================
   05 TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, .display-xl, .display-lg, .h2, .h3, .h4 {
  font-family: var(--font-display);
  color: var(--aegean-900);
}

.display-xl {
  font-size: var(--display-xl);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.display-lg, h1 {
  font-size: var(--display-lg);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.008em;
}
.h2, h2 {
  font-size: var(--h2);
  line-height: 1.12;
  font-weight: 600;
}
.h3, h3 {
  font-size: var(--h3);
  line-height: 1.25;
  font-weight: 600;
}
.h4, h4 {
  font-size: var(--h4);
  line-height: 1.35;
  font-weight: 600;
}

/* editorial line (section kit) */
.editorial {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.55;
  color: var(--bronze-700);
  max-width: 30em;
}

.lead { font-size: var(--body-lg); line-height: 1.7; }
.small { font-size: var(--caption); line-height: 1.5; }

/* Marcellus inscription layer, ALL CAPS, 11–14px, never larger */
.eyebrow, .label {
  font-family: var(--font-inscription);
  font-weight: 400;
  font-size: var(--label);          /* 12px */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
}
.eyebrow { display: block; }
.label--sm { font-size: 0.6875rem; letter-spacing: 0.2em; } /* 11px */

/* prose rhythm inside text columns */
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose .h2 { margin-top: 1.6em; }
.prose h3, .prose .h3 { margin-top: 1.5em; }

/* data emphasis */
strong, b { font-weight: 600; }
.tnum, table { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }


/* ==========================================================================
   06 SECTION KIT
   ========================================================================== */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--band {
  background: var(--limestone-200);
  position: relative;
}
/* 2.5% paper grain on limestone-200 bands */
.section--band::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.section--band > * { position: relative; z-index: 1; }

/* Section head: eyebrow → H2 → editorial line → 64px bronze hairline */
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .editorial { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
/* a centered head inside the asymmetric 3-9 editorial column would sit off
   the page axis; give such columns symmetric margins instead */
.grid-12 > .cols-3-9:has(.section-head--center) { grid-column: 3 / 11; }
.section-head--center .eyebrow { padding-left: 0.22em; } /* optical centering vs trailing letter-space */
.section-head--center .editorial { margin-inline: auto; }
.section-head--center .hairline { margin-inline: auto; }

/* The 64px bronze hairline */
.hairline {
  width: 64px; height: 1px;
  background: var(--bronze-600);
  border: 0;
  margin-top: 28px;
  transform-origin: left center;
}
.section-head--center .hairline { transform-origin: center; }

/* full-width stone rule */
.rule {
  width: 100%; height: 1px;
  background: var(--stone-300);
  border: 0;
}

/* Carved-fan divider between major chapters (28px, bronze) */
.fan-divider {
  display: flex;
  justify-content: center;
  padding-block: 8px;
  color: var(--bronze-600);
}
.fan-divider svg { width: 28px; height: auto; }

/* Greek epigraphs (inline SVG lettering, see _design/snippets) */
.epigraph { color: var(--bronze-600); }
.epigraph__svg { height: clamp(30px, 4.5vw, 44px); width: auto; max-width: 100%; }
.epigraph__caption {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
  margin-top: 14px;
}
.epigraph--center { text-align: center; }
.epigraph--center .epigraph__svg { margin-inline: auto; }

/* Good-to-know, considered guidance between hairlines, not small print */
.good-to-know {
  border-top: 1px solid var(--stone-300);
  border-bottom: 1px solid var(--stone-300);
  padding-block: 40px;
}
.good-to-know__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}
.good-to-know__list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--body);
  max-width: 34ch;
}
.good-to-know__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 5px;
  border: 1.5px solid var(--bronze-600);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;  /* a tiny fan */
}


/* ==========================================================================
   07 LINKS & BUTTONS
   ========================================================================== */
a { color: var(--aegean-700); text-decoration-color: color-mix(in srgb, var(--aegean-700) 40%, transparent); text-underline-offset: 3px; }

/* drawn-underline text link */
.text-link {
  display: inline-block;
  color: var(--aegean-700);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(var(--bronze-600), var(--bronze-600));
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 0% 1px;
  padding-bottom: 3px;
  transition: background-size var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 1px; }
.text-link--dusk { color: var(--limestone-50); background-image: linear-gradient(var(--lantern-300), var(--lantern-300)); }

/* Buttons, the arching button (3.7): top corners 2px→14px + aegean→terracotta */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1.05em 2.1em 1em;
  border-radius: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-top-left-radius 250ms var(--ease-ui),
    border-top-right-radius 250ms var(--ease-ui),
    background-color 250ms var(--ease-ui),
    color 250ms var(--ease-ui),
    border-color 250ms var(--ease-ui);
}
.btn--primary {
  background: var(--aegean-900);
  color: var(--limestone-50);
  border: 1px solid var(--aegean-900);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
  color: var(--limestone-50);
}
.btn--ghost {
  background: transparent;
  color: var(--aegean-900);
  border: 1px solid var(--iron-900);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-color: var(--terracotta-600);
  color: var(--terracotta-600);
}
.btn--pill {
  border-radius: 999px;
  padding: 0.8em 1.6em 0.75em;
  font-size: 0.9375rem;
}
.btn--pill:hover, .btn--pill:focus-visible {
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
}
/* on dusk grounds the primary becomes the lantern */
.dusk-band .btn--primary,
.hero--dusk .btn--primary {
  background: var(--lantern-300);
  border-color: var(--lantern-300);
  color: var(--dusk-950);
}
.dusk-band .btn--primary:hover,
.dusk-band .btn--primary:focus-visible,
.hero--dusk .btn--primary:hover,
.hero--dusk .btn--primary:focus-visible {
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
  color: var(--limestone-50);
}
.btn--block { width: 100%; }


/* ==========================================================================
   08 HEADER & NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: transparent;
  transition:
    background-color 250ms var(--ease-ui),
    box-shadow 250ms var(--ease-ui),
    transform 320ms var(--ease-exit);
}
.site-header.is-solid {
  background: var(--limestone-100);
  box-shadow: 0 1px 0 var(--stone-300);
}
.site-header.is-hidden { transform: translateY(-102%); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: calc(var(--container-wide) + 2 * var(--frame-inset));
  margin-inline: auto;
  padding-inline: calc(var(--frame-inset) + 16px);
}

.brand {
  font-family: var(--font-inscription);
  font-size: 0.8125rem;            /* 13px */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aegean-900);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { color: var(--terracotta-600); }

/* live section label, the running head (Folio graft) */
.header-label {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  height: 1.4em;
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-ui);
}
.site-header.is-solid .header-label { opacity: 1; }
.header-label::before {
  content: "";
  width: 1px; height: 14px;
  background: var(--stone-300);
  flex-shrink: 0;
}
.header-label__inner {
  display: block;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
  white-space: nowrap;
  transition: transform var(--dur-ui) var(--ease-exit), opacity var(--dur-ui) var(--ease-ui);
}
.header-label__inner.is-leaving { transform: translateY(-110%); opacity: 0; }
.header-label__inner.is-entering { transform: translateY(110%); opacity: 0; transition: none; }

/* primary nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--aegean-900);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 2px;
  white-space: nowrap;
  background-image: linear-gradient(var(--bronze-600), var(--bronze-600));
  background-repeat: no-repeat;
  background-position: 14px calc(100% - 6px);
  background-size: 0% 1px;
  transition: background-size var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.nav__link:hover { background-size: calc(100% - 28px) 1px; }
.nav__link[aria-current="page"] {
  color: var(--aegean-700);
  background-size: calc(100% - 28px) 1px;
}
.nav__caret { width: 9px; height: 6px; flex-shrink: 0; transition: transform var(--dur-micro) var(--ease-ui); }

/* dropdowns */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 6px;
  min-width: 232px;
  background: var(--limestone-50);
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  box-shadow: 0 18px 44px -18px rgba(19, 41, 59, 0.22);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-micro) var(--ease-ui), transform var(--dur-micro) var(--ease-ui), visibility 0s linear var(--dur-micro);
}
.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown,
.nav__item.is-open > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-body);
  text-decoration: none;
  transition: background-color var(--dur-micro) var(--ease-ui), color var(--dur-micro) var(--ease-ui);
}
.nav__dropdown a:hover { background: var(--limestone-200); color: var(--aegean-900); }
.nav__dropdown a[aria-current="page"] { color: var(--terracotta-600); }

.header-cta { flex-shrink: 0; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  margin-right: -10px;
}
.nav-toggle__line {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--aegean-900);
  transition: transform var(--dur-ui) var(--ease-ui), opacity var(--dur-micro) var(--ease-ui);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* full mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--limestone-100);
  padding: calc(var(--header-h) + 24px) 24px 120px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-ui) var(--ease-ui), visibility 0s linear var(--dur-ui);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.mobile-menu__group { padding-block: 22px; border-bottom: 1px solid var(--stone-300); }
.mobile-menu__group:first-child { border-top: 1px solid var(--stone-300); }
.mobile-menu__label {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
  margin-bottom: 12px;
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.3;
  padding-block: 7px;
  color: var(--aegean-900);
  text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { color: var(--terracotta-600); }
.mobile-menu__cta { margin-top: 32px; }
.mobile-menu__contact { margin-top: 28px; }
.mobile-menu__contact a { display: block; padding-block: 4px; font-weight: 500; text-decoration: none; color: var(--aegean-700); }

/* mobile sticky enquiry bar: 56px, safe-area aware */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-bar);
  display: none;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--aegean-900);
  transform: translateY(0);
  transition: transform var(--dur-ui) var(--ease-ui);
}
.mobile-bar.is-docked { transform: translateY(110%); }
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-inscription);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--limestone-50);
  text-decoration: none;
}
.mobile-bar a + a { border-left: 1px solid rgba(251, 248, 241, 0.18); }
.mobile-bar a:active { background: var(--terracotta-600); }


/* ==========================================================================
   09 HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72svh;
  padding-block: calc(var(--header-h) + 56px) 72px;
  overflow: clip;
  /* drop the estate frame's top edge below the fixed header so its border
     line never crosses the floating nav / "Plan Your Stay" button */
  --frame-top-inset: var(--header-h);
}
.hero--home { min-height: 100svh; }
.hero--page { min-height: 78svh; }
.hero--short { min-height: 0; padding-bottom: 48px; }

/* the estate-wall frame: 1px hairline inset 24px, drawn on load */
.estate-frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.estate-frame rect {
  x: var(--frame-inset);
  y: var(--frame-top-inset, var(--frame-inset));
  width: calc(100% - 2 * var(--frame-inset));
  height: calc(100% - var(--frame-top-inset, var(--frame-inset)) - var(--frame-inset));
  fill: none;
  stroke: var(--stone-300);
  stroke-width: 1;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  width: 100%;
}
.hero__copy { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; }
.hero__media { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 1; }

.hero__eyebrow { margin-bottom: 28px; }
.hero__title { margin: 0; }

/* line-mask rig for the H1 rise */
/* padding gives Cormorant's long descenders room inside the animation
   mask; the negative margin keeps the visual line rhythm unchanged */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.line-inner { display: block; will-change: transform; }

.hero__sub {
  margin-top: 28px;
  font-size: var(--body-lg);
  max-width: 52ch;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 36px;
}

/* trust plinth, hairline-bordered plaque in the first viewport */
.trust-plinth {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 36px;
  padding: 16px 22px;
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
  background: color-mix(in srgb, var(--limestone-50) 55%, transparent);
}

/* coordinates monogram, rotated 90° on the hero margin */
.coords-monogram {
  position: absolute;
  left: calc(var(--frame-inset) + 9px);
  bottom: calc(var(--frame-inset) + 40px);
  z-index: 3;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze-700);
  white-space: nowrap;
  max-width: none;
}
.coords-monogram--right { left: auto; right: calc(var(--frame-inset) + 9px); transform: none; }

/* carved-fan scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(var(--frame-inset) + 16px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--bronze-600);
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-cue svg { width: 22px; height: auto; }

/* the dusk hero (contact page only, the one page allowed to begin dark) */
.hero--dusk {
  background: var(--dusk-900);
  color: var(--limestone-50);
}
.hero--dusk .hero__title, .hero--dusk h1 { color: var(--limestone-50); }
.hero--dusk .hero__eyebrow, .hero--dusk .eyebrow { color: var(--lantern-300); }
.hero--dusk .estate-frame rect { stroke: rgba(235, 176, 94, 0.35); }
.hero--dusk .coords-monogram { color: rgba(251, 248, 241, 0.6); }


/* ==========================================================================
   10 FIGURES & IMAGERY
   ========================================================================== */
/* every photograph sits in a frame: limestone-200 ground + 5% multiply veil */
.frame {
  position: relative;
  background: var(--limestone-200);
  background-size: cover;          /* carries the LQIP if inlined */
  background-position: center;
  overflow: hidden;
  border-radius: 2px;
}
.frame::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--limestone-100);
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--bordered { box-shadow: inset 0 0 0 1px var(--stone-300); }

/* aspect grammar */
.ratio-3x2  { aspect-ratio: 3 / 2; }
.ratio-4x5  { aspect-ratio: 4 / 5; }
.ratio-2x3  { aspect-ratio: 2 / 3; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

figure { margin: 0; }
figcaption, .caption {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;            /* 11px */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
  margin-top: 14px;
  transition: color var(--dur-ui) var(--ease-ui);
}

/* THE ARCHED THRESHOLD, true arched-window mask. Max ONE per viewport. */
.arch-figure {
  position: relative;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--limestone-200);
  background-size: cover;
  background-position: center;
}
.arch-figure::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 999px 999px 0 0;
  background: var(--limestone-100);
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.arch-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.arch-figure--4x5 { aspect-ratio: 4 / 5; }
.arch-figure--3x4 { aspect-ratio: 3 / 4; }
.arch-figure--tall { aspect-ratio: 2 / 3; }
/* hero arch: tall portrait, height-driven */
.hero__arch { width: min(100%, 520px); margin-left: auto; }
.hero__arch .arch-figure, .hero__arch.arch-figure { height: 64svh; min-height: 420px; }
.hero__arch img { height: 100%; }

/* keyhole reveal classes (the shipping clip-path fallback path).
   JS animates clip-path; these classes define the resting (open) state. */
.reveal-arch-open { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.reveal-arch-closed { clip-path: inset(0 45% 0 45% round 999px 999px 0 0); }
/* reduced-motion / no-JS: static arch, fully visible (default state) */

/* vintage grade for the older saturated era */
.grade-vintage img, img.grade-vintage {
  filter: saturate(0.86) contrast(1.03) brightness(1.01);
}

/* duotone, bronze on limestone for stock/area imagery and the sketch map */
.duotone { position: relative; background: var(--limestone-200); overflow: hidden; }
.duotone img {
  filter: grayscale(1) contrast(0.88) brightness(1.08);
  mix-blend-mode: multiply;
  transition: filter 500ms var(--ease-ui);
}
.duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(138, 106, 63, 0.45), rgba(138, 106, 63, 0.18));
  mix-blend-mode: color;
  pointer-events: none;
  opacity: 1;
  transition: opacity 500ms var(--ease-ui);
}
/* the bronze veil lifts on hover: the place in full colour */
.duotone:hover img,
.duotone:focus-within img,
a:hover > .duotone img,
a:focus-visible > .duotone img {
  filter: none;
  mix-blend-mode: normal;
}
.duotone:hover::after,
.duotone:focus-within::after,
a:hover > .duotone::after,
a:focus-visible > .duotone::after { opacity: 0; }
/* a duotone that should stay fully toned in the lightbox keeps its class on
   the figure, not the img, the lightbox always shows filter:none */

/* LQIP: 24px blurred inline placeholder painted as the frame's background.
   JS fades the real image in on decode (300ms). */
.frame img.lqip-wait, .arch-figure img.lqip-wait { opacity: 0; }
.frame img, .arch-figure img { transition: opacity 300ms var(--ease-ui); }


/* ==========================================================================
   11 PARALLAX BAND & PULL-QUOTE
   ========================================================================== */
.band-parallax {
  position: relative;
  height: min(64vh, 640px);
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-parallax__media {
  position: absolute;
  inset: -7% 0;                    /* travel room for the -6%→+6% scrub */
  z-index: 0;
}
.band-parallax__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-width: none;                 /* full-bleed exemption; grain covers stretch */
}
/* AA scrim */
.band-parallax__scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 41, 59, 0.38), rgba(19, 41, 59, 0.58));
}
/* 4% turbulence grain on full-bleed imagery */
.band-parallax::after, .grain::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.band-parallax__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* architectural pull-quote */
.pullquote {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding-top: 40px;
  text-align: center;
}
.pullquote__mark {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  font-weight: 500;
  color: var(--stone-300);
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}
.pullquote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--quote);
  line-height: 1.25;
  color: var(--limestone-50);
  margin: 0;
  max-width: none;
}
.pullquote__attr {
  display: block;
  margin-top: 28px;
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--limestone-50);
  opacity: 0.92;
}
/* pull-quote on limestone (interior pages, no band) */
.pullquote--ink .pullquote__text { color: var(--aegean-900); }
.pullquote--ink .pullquote__attr { color: var(--bronze-700); opacity: 1; }
.pullquote--left { text-align: left; }
.pullquote--left .pullquote__mark { left: -14px; transform: none; }


/* ==========================================================================
   12 FACT STRIP & PLAQUES
   ========================================================================== */
/* ticking fact strip between hairlines */
.fact-strip {
  border-top: 1px solid var(--stone-300);
  border-bottom: 1px solid var(--stone-300);
  padding-block: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px 24px;
}
.fact { text-align: center; flex: 1 1 0; min-width: 130px; }
.fact__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  color: var(--aegean-900);
}
.fact__label {
  display: block;
  margin-top: 12px;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
}

/* engraved plaque trust badges */
.plaque {
  display: inline-block;
  border: 1px solid var(--bronze-600);
  border-radius: 2px;
  padding: 14px 20px 12px;
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
  line-height: 1.9;
  text-align: center;
}
.plaque-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}
/* plaques on dusk grounds */
.dusk-band .plaque, .site-footer .plaque, .hero--dusk .plaque {
  border-color: rgba(235, 176, 94, 0.55);
  color: var(--lantern-300);
}


/* ==========================================================================
   13 ESTATE PLAN, the self-drawing centerpiece
   ========================================================================== */
.estate-plan { position: relative; }
.estate-plan-svg {
  width: 100%;
  height: auto;
  color: var(--bronze-600);
}
.estate-plan-svg path,
.estate-plan-svg circle,
.estate-plan-svg ellipse,
.estate-plan-svg line {
  vector-effect: non-scaling-stroke;
}
.estate-plan-svg .plan-label {
  transition: opacity var(--dur-ui) var(--ease-ui);
}

/* wing hotspots */
.plan-wing {
  cursor: pointer;
  transition: opacity 400ms var(--ease-ui), color 400ms var(--ease-ui);
  outline: none;
}
.plan-wing.is-dim { opacity: 0.4; }
.plan-wing.is-active { color: var(--terracotta-600); }
.plan-wing:focus-visible .plan-draw { stroke: var(--aegean-700); }

/* rising info card */
.plan-card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  min-width: 240px;
  max-width: 300px;
  background: var(--limestone-50);
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  padding: 22px 24px 20px;
  box-shadow: 0 24px 48px -24px rgba(19, 41, 59, 0.28);
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-ui) var(--ease-exit), opacity var(--dur-ui) var(--ease-ui), visibility 0s linear var(--dur-ui);
}
.plan-card.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.plan-card__name {
  font-family: var(--font-inscription);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aegean-900);
}
.plan-card__facts {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-700);
  margin-top: 8px;
  line-height: 1.9;
}
.plan-card__link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 500;
  font-size: 0.9375rem;
}

/* cross-link thumbnails on wing pages: a mini plan with one wing lit */
.plan-thumb { color: var(--bronze-600); }
.plan-thumb .plan-label { display: none; }
.plan-thumb .plan-wing { pointer-events: none; }
.plan-thumb[data-highlight="north"] #plan-north,
.plan-thumb[data-highlight="south"] #plan-south,
.plan-thumb[data-highlight="guest"] #plan-guest { color: var(--terracotta-600); }
.plan-thumb[data-highlight="north"] .plan-wing:not(#plan-north),
.plan-thumb[data-highlight="south"] .plan-wing:not(#plan-south),
.plan-thumb[data-highlight="guest"] .plan-wing:not(#plan-guest) { opacity: 0.4; }


/* ==========================================================================
   14 GALLERIES & STROLL LAYOUT
   ========================================================================== */
/* masonry-style mixed-orientation grid */
.gallery-grid {
  columns: 3 300px;
  column-gap: 24px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 24px;
}
.gallery-item a {
  display: block;
  text-decoration: none;
  outline-offset: 4px;
}
.gallery-item .frame img {
  transition: transform 600ms var(--ease-ui), opacity 300ms var(--ease-ui);
}
.gallery-item a:hover .frame img,
.gallery-item a:focus-visible .frame img { transform: scale(1.04); }
.gallery-item a:hover figcaption,
.gallery-item a:focus-visible figcaption { color: var(--terracotta-600); }

/* two-column staggered editorial gallery (homepage "Life Here") */
.stagger-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 72px;
}
.stagger-grid > *:nth-child(odd)  { grid-column: 1 / 7; }
.stagger-grid > *:nth-child(even) { grid-column: 8 / 13; margin-top: 96px; }

/* the estate stroll, wing-page rhythm */
.stroll { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 128px); }
.stroll-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.stroll-row__media { grid-column: 1 / 8; }
.stroll-row__text  { grid-column: 9 / 13; }
.stroll-row--flip .stroll-row__media { grid-column: 6 / 13; grid-row: 1; }
.stroll-row--flip .stroll-row__text  { grid-column: 1 / 5; grid-row: 1; }
.stroll-row--full .stroll-row__media { grid-column: 1 / 13; }
.stroll-row--full .stroll-row__text  { grid-column: 2 / 9; }
/* arch interlude: centered portrait arch (counts as the viewport's one arch) */
.stroll-row--arch { display: block; }
.stroll-row--arch .arch-figure { width: min(100%, 460px); margin-inline: auto; }
.stroll-row__text .h3 { margin-bottom: 14px; }


/* ==========================================================================
   15 LIGHTBOX, daylight, ungraded
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: var(--limestone-50);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-ui) var(--ease-ui), visibility 0s linear var(--dur-ui);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 4vw, 48px);
}
.lightbox__counter {
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
}
.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(56px, 8vw, 120px);
  min-height: 0;
}
.lightbox__figure {
  max-width: 1024px;               /* the 1024px law holds even here */
  margin: 0;
  text-align: center;
}
.lightbox__figure img {
  max-height: 86vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  filter: none !important;         /* full Greek-summer color, always */
  box-shadow: 0 32px 72px -32px rgba(19, 41, 59, 0.3);
  border-radius: 2px;
}
.lightbox__caption {
  margin-top: 18px;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
}
.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  color: var(--aegean-900);
  background: var(--limestone-50);
  transition: border-color var(--dur-micro) var(--ease-ui), color var(--dur-micro) var(--ease-ui), border-radius 250ms var(--ease-ui);
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { border-color: var(--terracotta-600); color: var(--terracotta-600); }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.lightbox__prev { left: clamp(16px, 2.5vw, 36px); }
.lightbox__next { right: clamp(16px, 2.5vw, 36px); }
.lightbox__coords {
  position: absolute;
  left: clamp(24px, 4vw, 48px);
  bottom: 20px;
  font-family: var(--font-inscription);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone-300);
}


/* ==========================================================================
   16 LEDGER, dotted-leader distance rows
   ========================================================================== */
.ledger { max-width: 760px; }
.ledger__group + .ledger__group { margin-top: 56px; }
.ledger__head {
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stone-300);
  margin-bottom: 8px;
}
.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 13px;
}
.ledger-row__label { font-size: var(--body); color: var(--ink-body); flex-shrink: 0; }
.ledger-row__leader {
  flex: 1;
  height: 2px;
  align-self: center;
  margin-top: 0.4em;
  background-image: radial-gradient(circle, var(--bronze-600) 0.9px, transparent 1.1px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.7;
}
.ledger-row__value {
  font-family: var(--font-body);
  font-weight: 600;
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-size: var(--body);
  color: var(--aegean-900);
  white-space: nowrap;
}
.ledger-row__note {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-700);
  margin-left: 6px;
}


/* ==========================================================================
   17 FACT-SHEET TABLE, the printed estate fact sheet
   ========================================================================== */
.fact-sheet { width: 100%; overflow-x: auto; }
.fact-sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--body);
  font-feature-settings: "tnum" 1;
}
.fact-sheet caption {
  text-align: left;
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
  padding-bottom: 18px;
}
.fact-sheet th {
  font-family: var(--font-inscription);
  font-weight: 400;
  font-size: var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
  text-align: left;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--stone-300);
}
.fact-sheet th[data-num], .fact-sheet td[data-num],
.fact-sheet th.num, .fact-sheet td.num { text-align: right; padding-right: 0; padding-left: 16px; }
.fact-sheet td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--stone-300);
  color: var(--ink-body);
  transition: background-color var(--dur-micro) var(--ease-ui);
}
.fact-sheet tbody tr:hover td { background: var(--limestone-200); }
/* wing group rows */
.fact-sheet .row--section td {
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aegean-900);
  padding-top: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stone-300);
}
.fact-sheet .row--total td {
  font-weight: 600;
  color: var(--aegean-900);
  border-bottom: 0;
  border-top: 1px solid var(--bronze-600);
}
/* the terracotta highlight (extended total) */
.fact-sheet .cell--highlight, .fact-sheet .row--highlight td.num {
  color: var(--terracotta-600);
  font-weight: 600;
  font-size: 1.25rem;              /* terracotta text only ≥18px/600 */
}
.fact-sheet tfoot td, .fact-sheet .row--note td {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-700);
  border-bottom: 0;
  padding-top: 18px;
}


/* ==========================================================================
   18 TARIFF CARD, the printed tariff sheet
   ========================================================================== */
.tariff-card {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  background: var(--limestone-50);
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  padding: clamp(40px, 6vw, 72px);
}
/* estate-wall border grammar: inner hairline inset 12px */
.tariff-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  pointer-events: none;
}
.tariff-card > * { position: relative; }
.tariff-card__head { text-align: center; margin-bottom: 18px; }
.tariff-card__title { margin-bottom: 14px; }
.tariff-card__sub { margin-inline: auto; max-width: 46ch; color: var(--ink-body); }

.tariff-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.tariff-col {
  position: relative;
  text-align: center;
  padding: 36px 18px 30px;
  border: 1px solid var(--stone-300);
  border-radius: 2px;
  transition: box-shadow var(--dur-ui) var(--ease-ui);
}
.tariff-col__season {
  display: block;
  font-family: var(--font-inscription);
  font-size: var(--label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aegean-900);
}
.tariff-col__dates {
  display: block;
  margin-top: 10px;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-700);
  line-height: 1.9;
}
.tariff-col__price {
  display: block;
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--aegean-900);
}
.tariff-col__per {
  display: block;
  margin-top: 10px;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-700);
}
/* date-aware current-season ring (JS adds .is-current) */
.tariff-col.is-current {
  box-shadow: inset 0 0 0 1.5px var(--terracotta-600), 0 0 0 1.5px var(--terracotta-600);
  border-color: transparent;
}
.tariff-col__tab {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--terracotta-600);
  color: var(--limestone-50);
  font-family: var(--font-inscription);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px 5px;
  border-radius: 2px;
  white-space: nowrap;
  display: none;
}
.tariff-col.is-current .tariff-col__tab { display: block; }

.tariff-foot {
  margin-top: 44px;
  text-align: center;
}
.tariff-foot__notes {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-700);
  line-height: 2.2;
  max-width: none;
}
.tariff-foot__colophon {
  margin-top: 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--aegean-900);
  max-width: none;
}
.tariff-foot .plaque-row { justify-content: center; margin-top: 36px; }
.tariff-foot .btn { margin-top: 32px; }


/* ==========================================================================
   19 DUSK DECISION BAND
   ========================================================================== */
.dusk-band {
  position: relative;
  background: var(--dusk-900);
  color: var(--limestone-50);
  padding-block: clamp(96px, 12vw, 168px);
  overflow: clip;
}
/* the lantern bloom, JS animates opacity/scale on entry */
.dusk-band__glow {
  position: absolute;
  top: 50%; right: 8%;
  width: min(72vw, 880px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(235, 176, 94, 0.16) 0%, rgba(235, 176, 94, 0.05) 42%, transparent 68%);
  pointer-events: none;
  opacity: 0.9;                    /* default visible: no-JS / reduced motion */
}
/* the single breathing ember, runs only here */
.dusk-band__ember {
  position: absolute;
  width: 600px; height: 600px;
  left: -160px; bottom: -200px;
  background: radial-gradient(circle, rgba(235, 176, 94, 0.55) 0%, transparent 62%);
  opacity: 0.03;
  pointer-events: none;
  animation: ember-breathe 11s ease-in-out infinite;
}
@keyframes ember-breathe {
  0%, 100% { opacity: 0.015; }
  50%      { opacity: 0.045; }
}

.dusk-band__inner { position: relative; z-index: 1; }
.dusk-band .eyebrow { color: var(--lantern-300); }
.dusk-band h2, .dusk-band .h2, .dusk-band h3, .dusk-band .h3 { color: var(--limestone-50); }
.dusk-band .hairline { background: var(--lantern-300); }
.dusk-band p { color: rgba(251, 248, 241, 0.88); }

.dusk-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-top: 56px;
}

/* host note + giant copyable contacts */
.host-note {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--limestone-50);
}
.response-promise {
  margin-top: 18px;
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lantern-300);
}

.contact-lines { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.copy-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  color: var(--limestone-50);
  text-decoration: none;
  text-align: left;
}
.copy-chip__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.25;
  color: var(--limestone-50);
  background-image: linear-gradient(var(--lantern-300), var(--lantern-300));
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur-ui) var(--ease-ui);
  overflow-wrap: anywhere;
}
.copy-chip:hover .copy-chip__value,
.copy-chip:focus-visible .copy-chip__value { background-size: 100% 1px; }
.copy-chip__hint {
  font-family: var(--font-inscription);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lantern-300);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-ui);
  white-space: nowrap;
}
.copy-chip:hover .copy-chip__hint,
.copy-chip:focus-visible .copy-chip__hint,
.copy-chip.is-copied .copy-chip__hint { opacity: 1; }
.copy-chip.is-copied .copy-chip__hint { color: var(--limestone-50); }

/* the enquiry form, dusk-raised fields */
.enquiry-form { display: flex; flex-direction: column; gap: 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field label {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.78);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(251, 248, 241, 0.07);
  border: 1px solid rgba(251, 248, 241, 0.22);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(251, 248, 241, 0.09);   /* the raised lip */
  color: var(--limestone-50);
  padding: 13px 16px;
  font-size: 1rem;
  transition: border-color var(--dur-micro) var(--ease-ui), background-color var(--dur-micro) var(--ease-ui);
  color-scheme: dark;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(251, 248, 241, 0.45); }
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: rgba(251, 248, 241, 0.4); }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--lantern-300);
  outline-offset: 2px;
  border-color: var(--lantern-300);
}
.form-field textarea { min-height: 128px; resize: vertical; }
.enquiry-form .btn { align-self: flex-start; margin-top: 6px; }
.enquiry-form .plaque-row { margin-top: 18px; }
.form-note {
  font-family: var(--font-inscription);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.6);
}


/* ==========================================================================
   20 FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dusk-950);
  color: rgba(251, 248, 241, 0.88);
  padding-block: clamp(72px, 9vw, 120px) 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2.5fr 2.5fr 3fr;
  gap: clamp(40px, 5vw, 72px);
}
/* the estate plan by lantern light, 120px */
.footer-emblem { color: var(--lantern-300); width: 150px; }
.footer-emblem svg { width: 100%; height: auto; }
.footer-emblem .plan-label { display: none; }
.footer-emblem .plan-pool { fill: var(--lantern-300); fill-opacity: 0.22; }
.footer-emblem .plan-wing { pointer-events: none; }

.footer-wordmark {
  font-family: var(--font-inscription);
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--limestone-50);
  margin-top: 26px;
}
.footer-signoff {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(251, 248, 241, 0.75);
  max-width: 26ch;
}
.footer-head {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lantern-300);
  margin-bottom: 20px;
}
.footer-index { list-style: none; margin: 0; padding: 0; }
.footer-index li + li { margin-top: 10px; }
.footer-index a {
  color: rgba(251, 248, 241, 0.88);
  text-decoration: none;
  font-size: 0.9375rem;
  background-image: linear-gradient(var(--lantern-300), var(--lantern-300));
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.footer-index a:hover, .footer-index a:focus-visible { background-size: 100% 1px; color: var(--limestone-50); }
.footer-contact a { display: inline-block; margin-bottom: 8px; }
.site-footer .plaque-row { margin-top: 26px; }
.site-footer .plaque { font-size: 0.6875rem; padding: 12px 16px 10px; }

.footer-base {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 32px;
  border-top: 1px solid rgba(251, 248, 241, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.footer-coords, .footer-legal {
  font-family: var(--font-inscription);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.62);
  max-width: none;
}
/* the maker's stamp, carved fan, quiet entrance */
.maker-stamp { color: var(--lantern-300); opacity: 0.85; }
.maker-stamp svg { width: 26px; height: auto; }


/* ==========================================================================
   21 REVEAL HOOKS
   --------------------------------------------------------------------------
   IMPORTANT CONTRACT: CSS never hides reveal targets. JS (GSAP) sets the
   initial hidden states at runtime, only under
   (prefers-reduced-motion: no-preference). No JS → everything visible.
   ========================================================================== */
[data-reveal] { /* marker only */ }
.will-anim { will-change: transform, opacity; }


/* ==========================================================================
   22 RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__copy { grid-column: 1 / 8; }
  .hero__media { grid-column: 7 / 13; }
  .stroll-row__media { grid-column: 1 / 8; }
  .stroll-row__text { grid-column: 8 / 13; }
  .stroll-row--flip .stroll-row__media { grid-column: 6 / 13; }
  .stroll-row--flip .stroll-row__text { grid-column: 1 / 6; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .nav, .header-cta, .header-label { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dusk-grid { grid-template-columns: 1fr; }
  .tariff-cols { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .gallery-grid { columns: 2 260px; }
}

/* On true desktop/laptop screens the enquiry form is hidden: its mailto:
   submit needs a configured desktop mail client, which many laptop/desktop
   visitors lack, so the button appears to do nothing. Touch devices (phones,
   tablets ≤1023px) keep the form, where the mail app handles it reliably.
   Desktop visitors are routed to the copyable phone and email instead. */
@media (min-width: 1024px) {
  .enquiry-form { display: none; }
  .dusk-grid { grid-template-columns: 1fr; max-width: 680px; }
  .dusk-band .contact-lines { margin-top: 40px; }
  /* the "Open your email app" link is also mailto-based and fails without a
     desktop mail client; the copyable email above covers desktop visitors. */
  .dusk-maillink { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --margin: 24px; }

  body { padding-bottom: 0; }
  main { padding-bottom: 0; }

  .grid-12, .hero__layout, .stroll-row, .stagger-grid { display: block; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero--home { min-height: 100svh; }
  .hero__media { margin-top: 48px; }
  .hero__arch { width: 100%; margin-left: 0; }
  .hero__arch .arch-figure, .hero__arch.arch-figure { height: 48svh; min-height: 320px; }

  /* arch images full-width at 48svh on mobile */
  .arch-figure--4x5, .arch-figure--3x4, .arch-figure--tall {
    aspect-ratio: auto;
    height: 48svh;
  }

  .coords-monogram { display: none; }
  .estate-frame { display: none; }
  /* capacity fact-sheet: compress to fit 390px so the Extended column
     (the headline number) is visible without horizontal scrolling */
  .fact-sheet table { font-size: 0.8125rem; }
  .fact-sheet th { font-size: 0.625rem; letter-spacing: 0.12em; padding: 0 8px 10px 0; }
  .fact-sheet td { padding: 12px 8px 12px 0; }
  .fact-sheet th.num, .fact-sheet td.num { padding-left: 8px; }
  .fact-sheet .row--section td { font-size: 0.625rem; letter-spacing: 0.14em; padding-top: 22px; }
  .scroll-cue { display: none; }

  .section { padding-block: 88px; }
  .stroll { gap: 64px; }
  .stroll-row__text, .stroll-row--full .stroll-row__text { margin-top: 28px; }
  .stroll-row--flip .stroll-row__text { margin-top: 28px; }
  .stagger-grid > *:nth-child(even) { margin-top: 40px; }
  .stagger-grid > * + * { margin-top: 40px; }

  .gallery-grid { columns: 2 150px; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }

  .fact-strip { gap: 28px 16px; }
  .fact { min-width: 110px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-base { flex-direction: column; align-items: flex-start; }

  .pullquote__mark { font-size: 88px; top: -26px; }

  /* the persistent bottom enquiry bar */
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  .lightbox__stage { padding-inline: 20px; }
  .lightbox__prev, .lightbox__next {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .lightbox__prev { left: auto; right: 84px; }
  .lightbox__next { right: 24px; }
  .lightbox__coords { display: none; }
  .lightbox__figure img { max-height: 72vh; }
}

@media (min-width: 768px) {
  .mobile-bar { display: none !important; }
}


/* ==========================================================================
   23 REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* opacity-only affordances stay, everything else is static & visible */
  .dusk-band__ember { animation: none; opacity: 0.03; }
  .dusk-band__glow { opacity: 0.9; }
  .gallery-item a:hover .frame img,
  .gallery-item a:focus-visible .frame img { transform: none; }
  .line-inner { transform: none !important; }
  /* the Estate Plan always renders fully drawn; hover states stay live */
  .plan-card { transition: opacity 150ms var(--ease-ui); transform: none; }
}

@media print {
  .site-header, .mobile-bar, .mobile-menu, .dusk-band__ember, .dusk-band__glow,
  .scroll-cue, .nav-toggle, .skip-link { display: none !important; }
  .dusk-band, .site-footer { background: #fff; color: #000; }
  body { background: #fff; color: #000; }
}
