/* ==========================================================
   HOW TO READ THIS CSS FILE

   CSS controls how the HTML looks and responds to screen size.

   .name                 selects an HTML element with class="name".
   element               selects an HTML tag, for example body or img.
   :hover                 applies while a mouse is over an element.
   :focus-visible         applies when a keyboard user focuses an element.
   ::before / ::after     creates a decorative shape without extra HTML.
   var(--paper)           reads a reusable custom value defined below.
   calc(...)              asks the browser to calculate a value.

   px   = a fixed number of screen pixels.
   vw   = a percentage of the viewport width; 10vw is 10% of its width.
   vh   = a percentage of the viewport height; 100vh fills its height.
   %    = a percentage of the parent element.
   rem  = a size based on the document's root text size.

   The file contains one visual system for Welcome, Discover and History,
   followed by a separately scoped Visit system. They still share this
   single CSS file, as required by the assignment.
   ========================================================== */

/* Give links and keyboard-focusable areas a visible outline.
   This helps keyboard users see which control is currently selected. */
/* Contrast refinement: shared interaction cues, without changing page geometry. */
:is(a, button, summary, [tabindex]):focus-visible  {
  outline: 3px solid #fff8e8;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #17372c;
}
/* Inset rings remain visible on full-width, clipped photo sections. */
.layer:focus-visible  {
  outline: 3px solid #fff8e8;
  outline-offset: -7px;
  box-shadow: inset 0 0 0 10px #17372c;
}
.site-footer .footer-column a:is(:hover, :focus-visible), .next-chapter a:is(:hover, :focus-visible) strong, .faq summary:is(:hover, :focus-visible)  {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
/* Opaque secondary text avoids low contrast caused by translucent footer labels. */
.site-footer .footer-column .footer-label, .site-footer .footer-column .footer-heading  {
  color: #c5cfb7;
}
/* The selector below only matches pages whose <html> tag contains
   data-design="latest". This prevents these styles from changing Visit.

   Custom properties beginning with -- store the shared colour and font
   system. For example, background: var(--paper) uses the cream colour. */
:where(html[data-design="latest"])  {
  --ink: #17372c;
  --deep: #0d2b22;
  --paper: #f1eadc;
  --mist: #c5cfb7;
  --brick: #b65d3b;
  --line: rgba(23, 55, 44, .25);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
/* border-box keeps padding and borders inside an element's stated width. */
:where(html[data-design="latest"]) *  {
  box-sizing: border-box;
}
:where(html[data-design="latest"])  {
  scroll-behavior: smooth;
}
/* body is the visible page canvas. It sets the default colours and font. */
:where(html[data-design="latest"]) body  {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
:where(html[data-design="latest"]) a  {
  color: inherit;
  text-decoration: none;
}
:where(html[data-design="latest"]) img  {
  display: block;
  width: 100%;
}
:where(html[data-design="latest"]) button  {
  color: inherit;
  font: inherit;
}
/* The header sits over the hero image.
   position:absolute removes it from normal vertical page flow.
   z-index:20 keeps it in front of the photograph and decoration. */
:where(html[data-design="latest"]) .site-header  {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 5vw;
  color: #fff8e8;
}
:where(html[data-design="latest"]) .brand  {
  font: 600 12px/1.55 var(--serif);
  letter-spacing: .24em;
  text-transform: uppercase;
}
/* The hero fills at least the visible screen height.
   position:relative gives its absolutely positioned children a boundary.
   overflow:hidden clips artwork that extends outside the hero. */
:where(html[data-design="latest"]) .page-hero  {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--deep);
  color: #fff8e8;
}
:where(html[data-design="latest"]) .hero-media  {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.05);
}
:where(html[data-design="latest"]) .hero-media::after  {
  /* Darken only the navigation and title areas, retaining light in the photo centre. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(7,25,19,.68) 0%,rgba(7,25,19,.68) 15%,rgba(7,25,19,.22) 38%,rgba(7,25,19,.78) 65%,rgba(7,25,19,.78) 100%);
}
:where(html[data-design="latest"]) .hero-copy  {
  position: absolute;
  z-index: 2;
  left: 7vw;
  bottom: 9vh;
  width: min(1100px,86vw);
}
:where(html[data-design="latest"]) .hero-kicker, :where(html[data-design="latest"]) .eyebrow  {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
/* clamp(minimum, preferred, maximum) makes the heading responsive.
   It grows with viewport width but never goes below 66px or above 150px. */
:where(html[data-design="latest"]) .hero-copy h1, :where(html[data-design="latest"]) .display  {
  margin: 0;
  font: 400 clamp(66px,10vw,150px)/.84 var(--serif);
  letter-spacing: -.065em;
}
:where(html[data-design="latest"]) .hero-copy em, :where(html[data-design="latest"]) .display em  {
  color: var(--mist);
  font-weight: 400;
}

:where(html[data-design="latest"]) .depth-lines  {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* JavaScript writes --px and --py values from about -0.5 to 0.5.
   CSS multiplies them by pixel distances to create a subtle parallax move. */
:where(html[data-design="latest"]) .depth-lines i  {
  position: absolute;
  border: 1px solid rgba(197,207,183,.28);
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  transform: translate(calc(var(--px,0) * 22px),calc(var(--py,0) * 16px));
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
:where(html[data-design="latest"]) .depth-lines i:nth-child(1)  {
  width:58vw;
  height:78vh;
  right:-8vw;
  bottom:-22vh
}
:where(html[data-design="latest"]) .depth-lines i:nth-child(2)  {
  width:34vw;
  height:55vh;
  right:10vw;
  bottom:-18vh
}
:where(html[data-design="latest"]) .section  {
  padding: 130px 7vw;
}
/* CSS Grid divides the heading area into a wider title column and a
   narrower explanation column. gap adds flexible space between them. */
:where(html[data-design="latest"]) .section-heading  {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 10vw;
  margin-bottom: 90px;
}
:where(html[data-design="latest"]) .section-heading h2  {
  margin: 0;
  font: 400 clamp(54px,7vw,105px)/.93 var(--serif);
  letter-spacing: -.055em;
}
:where(html[data-design="latest"]) .section-heading p  {
  max-width: 430px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
:where(html[data-design="latest"]) .layers  {
  position: relative;
  overflow: clip;
  padding: 0;
  background: var(--deep);
  color: #fff8e8;
}

/* PREVIEW: a vertical breadcrumb that belongs only to the three Discover
   chapters. Sticky positioning keeps it visible until the layers end. */
:where(html[data-design="latest"]) .layer-breadcrumb {
  position: sticky;
  z-index: 8;
  top: 26px;
  width: 230px;
  margin-right: 4vw;
  margin-bottom: -252px;
  margin-left: auto;
  padding: 8px;
  border: 1px solid rgba(255,248,232,.58);
  border-radius: 30px;
  background: rgba(13,43,34,.9);
  box-shadow: 0 16px 38px rgba(5,22,16,.32);
  backdrop-filter: blur(10px);
  transform: translateY(26px);
}
:where(html[data-design="latest"]) .layer-breadcrumb::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 39px;
  bottom: 39px;
  left: 34px;
  width: 1px;
  background: rgba(197,207,183,.72);
}
:where(html[data-design="latest"]) .layer-breadcrumb a {
  position: relative;
  display: grid;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 23px;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: #fff8e8;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
:where(html[data-design="latest"]) .layer-breadcrumb a:hover,
:where(html[data-design="latest"]) .layer-breadcrumb a:focus-visible {
  transform: translateX(-4px);
}
:where(html[data-design="latest"]) .layer-breadcrumb a[aria-current] {
  background: #fff8e8;
  color: #17372c;
}
:where(html[data-design="latest"]) .layer-breadcrumb a span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  place-items: center;
  background: #c5cfb7;
  color: #17372c;
  font-size: 9px;
  font-weight: 700;
}
:where(html[data-design="latest"]) .layer-breadcrumb a.is-complete span {
  font-size: 0;
}
:where(html[data-design="latest"]) .layer-breadcrumb a.is-complete span::after {
  content: "✓";
  font-size: 12px;
}
:where(html[data-design="latest"]) .layer-breadcrumb a strong {
  font-size: 17px;
}
@media (max-width: 760px) {
  :where(html[data-design="latest"]) .layer-breadcrumb {
    top: 14px;
    width: 176px;
    margin-right: 16px;
    margin-bottom: -210px;
  }
  :where(html[data-design="latest"]) .layer-breadcrumb a {
    min-height: 52px;
    padding: 0 12px;
  }
  :where(html[data-design="latest"]) .layer-breadcrumb a strong {
    font-size: 14px;
  }
}
/* Every Discover layer fills at least one screen and acts as the positioning
   boundary for its photograph and text. */
:where(html[data-design="latest"]) .layer  {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 7vw;
  border-bottom: 1px solid rgba(255,248,232,.16);
}
/* The photograph starts transparent and slightly enlarged. A transition
   makes opacity and scale change smoothly when the layer becomes active. */
:where(html[data-design="latest"]) .layer-media  {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .8s ease,transform 1.2s cubic-bezier(.22,.61,.36,1);
  background: center/cover;
}
/* Reveal the photograph for mouse hover, keyboard focus, or the persistent
   .is-active class added by JavaScript. */
:where(html[data-design="latest"]) .layer:hover .layer-media, :where(html[data-design="latest"]) .layer:focus-within .layer-media, :where(html[data-design="latest"]) .layer.is-active .layer-media  {
  opacity: .72;
  transform: scale(1);
}
:where(html[data-design="latest"]) .layer-media::after  {
  /* Keep a dark base behind the lower-right paragraph as well as the left label. */
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(8,31,23,.78) 0%,rgba(8,31,23,.78) 35%,transparent 75%),linear-gradient(90deg,rgba(8,31,23,.92),rgba(8,31,23,.12));
}
:where(html[data-design="latest"]) .layer-copy  {
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  align-items:end;
  gap:7vw;
}
:where(html[data-design="latest"]) .layer-number  {
  font-size: 11px;
  letter-spacing: .2em;
}
:where(html[data-design="latest"]) .layer h2  {
  margin:0;
  font:400 clamp(80px,13vw,190px)/.78 var(--serif);
  letter-spacing:-.07em;
}
:where(html[data-design="latest"]) .layer p  {
  max-width: 440px;
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.7;
}
:where(html[data-design="latest"]) .timeline  {
  background: var(--paper);
}
/* The left border becomes the visible timeline line. */
:where(html[data-design="latest"]) .timeline-track  {
  position: relative;
  margin-left: 12vw;
  border-left: 1px solid var(--line);
}
/* Each historical moment is a two-column grid: year on the left,
   image and explanation on the right. */
:where(html[data-design="latest"]) .moment  {
  min-height: 95vh;
  display:grid;
  grid-template-columns:.65fr 1.35fr;
  gap:7vw;
  align-items:center;
  padding:11vh 0 11vh 6vw;
}
/* sticky keeps the year visible around the middle of the screen while the
   matching image and text continue moving through the page. */
:where(html[data-design="latest"]) .moment-year  {
  position:sticky;
  top:45vh;
  align-self:start;
  font:400 clamp(72px,10vw,150px)/1 var(--serif);
  letter-spacing:-.07em;
}
:where(html[data-design="latest"]) .moment-card  {
  position:relative;
  width:min(900px,100%);
}
:where(html[data-design="latest"]) .moment-card img  {
  height: min(68vh,720px);
  object-fit:cover;
  border-radius: 50% 50% 3px 3px / 24% 24% 3px 3px;
  filter:saturate(.82);
}
:where(html[data-design="latest"]) .moment-card h2  {
  margin:34px 0 12px;
  font:400 clamp(34px,4vw,58px)/1 var(--serif);
}
:where(html[data-design="latest"]) .moment-card p  {
  max-width:560px;
  margin:0;
  font-size:16px;
  line-height:1.7;
}
/* place-items:center centres the large next-page link in both directions. */
:where(html[data-design="latest"]) .next-chapter  {
  position:relative;
  min-height:85vh;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#526653;
  color:#fff8e8;
  text-align:center;
}
:where(html[data-design="latest"]) .next-chapter::before  {
  content:"";
  position:absolute;
  width:62vw;
  height:85vh;
  bottom:-43vh;
  border:1px solid rgba(255,248,232,.32);
  border-radius:50%;
}
:where(html[data-design="latest"]) .next-chapter a  {
  position:relative;
  z-index:2;
}
:where(html[data-design="latest"]) .next-chapter span  {
  display:block;
  margin-bottom:25px;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
}
:where(html[data-design="latest"]) .next-chapter strong  {
  font:400 clamp(56px,8vw,120px)/.88 var(--serif);
  letter-spacing:-.06em;
}
/* The footer groups navigation, location and source links on a dark surface. */
:where(html[data-design="latest"]) .site-footer  {
  padding:90px 7vw 35px;
  background:#091f18;
  color:#f1eadc;
}
/* repeat(3,1fr) creates three equal information columns after the brand. */
:where(html[data-design="latest"]) .footer-main  {
  display:grid;
  grid-template-columns:1.7fr repeat(3,1fr);
  gap:6vw;
  min-height:260px;
}
:where(html[data-design="latest"]) .footer-main h2  {
  margin:0;
  font:400 clamp(40px,5vw,72px)/.9 var(--serif);
}
:where(html[data-design="latest"]) .footer-column  {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:11px;
}
:where(html[data-design="latest"]) .footer-label  {
  margin:0 0 14px;
  color:rgba(241,234,220,.55);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
:where(html[data-design="latest"]) .footer-column a, :where(html[data-design="latest"]) .footer-column p, :where(html[data-design="latest"]) .footer-column address  {
  margin:0;
  font-size:13px;
  line-height:1.7;
  font-style:normal;
}
/* Reveal elements begin transparent and 40px lower than their final place. */
:where(html[data-design="latest"]) .reveal  {
  opacity:0;
  transform:translateY(40px);
  transition:opacity .9s ease,transform .9s cubic-bezier(.22,.61,.36,1);
}
/* IntersectionObserver adds .in-view, which triggers the CSS transition. */
:where(html[data-design="latest"]) .reveal.in-view  {
  opacity:1;
  transform:none;
}
/* A media query applies these replacement rules at 760px wide or below.
   Multi-column layouts stack and large type becomes smaller for phones. */
@media(max-width:760px)  {
  :where(html[data-design="latest"]) .site-header  {
    padding:24px 6vw
  }
  :where(html[data-design="latest"]) .brand  {
    font-size:10px
  }
  :where(html[data-design="latest"]) .hero-copy  {
    left:6vw;
    bottom:10vh
  }
  :where(html[data-design="latest"]) .hero-copy h1  {
    font-size:clamp(58px,17vw,90px)
  }
  /* On small screens the page identities remain different, but the compositions
     tighten so no title or date is pushed outside the viewport. */
  :where(html[data-design="latest"]) .discover-hero-copy {
    right: auto;
    left: 6vw;
    top: 31%;
    bottom: auto;
    width: 88vw;
    transform: none;
  }
  :where(html[data-design="latest"]) .discover-hero-copy .hero-kicker {
    margin-left: 0;
  }
  :where(html[data-design="latest"]) .discover-hero-copy h1 em {
    margin-top: .18em;
    text-align: left;
  }
  :where(html[data-design="latest"]) .history-hero-copy {
    inset: auto;
    left: 50%;
    top: 47%;
    width: 78vw;
    transform: translate(-50%,-50%);
  }
  :where(html[data-design="latest"]) .history-hero-copy .hero-kicker {
    position: static;
  }
  :where(html[data-design="latest"]) .history-hero-copy h1 span {
    position: static;
  }
  :where(html[data-design="latest"]) .history-hero-copy h1 em {
    position: static;
  }
  :where(html[data-design="latest"]) .section  {
    padding:90px 6vw
  }
  :where(html[data-design="latest"]) .section-heading  {
    display:block;
    margin-bottom:60px
  }
  :where(html[data-design="latest"]) .section-heading p  {
    margin-top:30px
  }
  :where(html[data-design="latest"]) .layer  {
    min-height:78vh;
    padding:8vw 6vw
  }
  :where(html[data-design="latest"]) .layer-media  {
    opacity:.48
  }
  :where(html[data-design="latest"]) .layer-copy  {
    display:block
  }
  :where(html[data-design="latest"]) .layer h2  {
    font-size:23vw;
    margin-top:24px
  }
  :where(html[data-design="latest"]) .layer p  {
    font-size:15px
  }
  :where(html[data-design="latest"]) .timeline-track  {
    margin-left:5vw
  }
  :where(html[data-design="latest"]) .moment  {
    display:block;
    min-height:auto;
    padding:90px 5vw
  }
  :where(html[data-design="latest"]) .moment-year  {
    position:static;
    margin-bottom:30px
  }
  :where(html[data-design="latest"]) .moment-card  {
    width:100%
  }
  :where(html[data-design="latest"]) .moment-card img  {
    height:54vh
  }
  :where(html[data-design="latest"]) .footer-main  {
    grid-template-columns:1fr 1fr;
    gap:55px 8vw
  }
  :where(html[data-design="latest"]) .footer-main>div:first-child  {
    grid-column:1/-1
  }
}
/* Some users request less movement in their operating-system settings.
   These rules remove transitions and parallax transforms for those users. */
@media(prefers-reduced-motion:reduce)  {
  :where(html[data-design="latest"])  {
    scroll-behavior:auto
  }
  :where(html[data-design="latest"]) .reveal, :where(html[data-design="latest"]) .layer-media  {
    transition:none
  }
  :where(html[data-design="latest"]) .depth-lines i  {
    transform:none
  }
}
/* ==========================================================
   VISIT PAGE STYLES

   These selectors begin with html[data-design="visit"]. This scope lets
   Visit keep a different layout without needing a second CSS file.
   ========================================================== */
/* Visit colour variables. --soft-green is dark enough for small text;
   --heading-sage is reserved for the much larger italic headings. */
:where(html[data-design="visit"])  {
  color-scheme: light;
  --paper: #f1eadc;
  --ink: #17372c;
  /* Safe for normal text; the original sage is reserved for large headings below. */
  --soft-green: #526653;
  --heading-sage: #71816a;
  --garden-green: #dae0ce;
  --terracotta: #ae593a;
}
:where(html[data-design="visit"]) *  {
  box-sizing: border-box;
}
:where(html[data-design="visit"])  {
  scroll-behavior: smooth;
}
:where(html[data-design="visit"]) body  {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,sans-serif;
}
:where(html[data-design="visit"]) a  {
  color: inherit;
  text-decoration: none;
}
:where(html[data-design="visit"]) a:focus-visible, :where(html[data-design="visit"]) summary:focus-visible  {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
:where(html[data-design="visit"]) #visit  {
  overflow: clip;
}
:where(html[data-design="visit"]) .eyebrow  {
  margin: 0 0 28px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}
/* The three variables start at zero. JavaScript updates them after pointer
   movement and scrolling, and the decorative outlines read those values. */
:where(html[data-design="visit"]) .visit-hero  {
  --pointer-x: 0;
  --pointer-y: 0;
  --hero-scroll: 0;
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--ink);
  color: #fff8e8;
}
/* ::before creates the large arch outline without adding visible HTML text. */
:where(html[data-design="visit"]) .visit-hero::before  {
  position: absolute;
  right: -6vw;
  bottom: -20vw;
  width: 70vw;
  height: 58vw;
  border: 1px solid rgba(255,248,232,.28);
  border-radius: 50% 50% 8% 8% / 45% 45% 6% 6%;
  content: "";
  transform: translate(calc(var(--pointer-x) * 24px),calc(var(--pointer-y) * 18px + var(--hero-scroll) * 45px));
  transition: transform 500ms cubic-bezier(.22,.61,.36,1);
}
:where(html[data-design="visit"]) .visit-hero::after  {
  position: absolute;
  right: 15vw;
  bottom: -29vw;
  width: 31vw;
  height: 55vw;
  border: 1px solid rgba(255,248,232,.13);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: translate(calc(var(--pointer-x) * -18px),calc(var(--pointer-y) * -13px + var(--hero-scroll) * 85px));
  transition: transform 650ms cubic-bezier(.22,.61,.36,1);
}
:where(html[data-design="visit"]) .site-header  {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px 5.5%;
}
:where(html[data-design="visit"]) .brand  {
  font-family: Georgia,serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .23em;
  text-transform: uppercase;
}
:where(html[data-design="visit"]) .hero-copy  {
  position: absolute;
  z-index: 1;
  left: 7%;
  bottom: 95px;
  transform: translateY(calc(var(--hero-scroll) * -55px));
  opacity: calc(1 - var(--hero-scroll) * .38);
}
:where(html[data-design="visit"]) .hero-copy h1  {
  max-width: 1050px;
  margin: 0;
  font: 400 clamp(64px,9vw,135px)/.9 Georgia,serif;
  letter-spacing: -.065em;
}
:where(html[data-design="visit"]) .hero-copy h1 em  {
  color: #b5bea9;
  font-weight: 400;
}
/* The location section uses two columns: instructions and the map diagram. */
:where(html[data-design="visit"]) .location  {
  display: grid;
  min-height: 780px;
  grid-template-columns: .75fr 1.25fr;
  gap: 8%;
  align-items: center;
  padding: 120px 7%;
}
:where(html[data-design="visit"]) .location-copy h2  {
  margin: 0;
  font: 400 clamp(52px,7vw,100px)/.95 Georgia,serif;
  letter-spacing: -.06em;
}
:where(html[data-design="visit"]) .location-copy > p:not(.eyebrow)  {
  max-width: 380px;
  margin: 35px 0 25px;
  font-size: 15px;
  line-height: 1.75;
}
:where(html[data-design="visit"]) .text-link  {
  display: inline-block;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23,55,44,.48);
  font-size: 14px;
}
/* This rounded container is a simplified diagram rather than a live map. */
:where(html[data-design="visit"]) .map-stage  {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--garden-green);
  border-radius: 50% 50% 8% 8% / 30% 30% 6% 6%;
}
:where(html[data-design="visit"]) .map-stage::after  {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 65% 44%,rgba(255,255,255,.55),transparent 28%);
  pointer-events: none;
}
:where(html[data-design="visit"]) .street  {
  position: absolute;
  height: 2px;
  background: rgba(23,55,44,.45);
  transform-origin: left;
}
:where(html[data-design="visit"]) .street-one  {
  top: 42%;
  left: -5%;
  width: 115%;
  transform: rotate(-8deg);
}
:where(html[data-design="visit"]) .street-one span  {
  position: absolute;
  left: 9%;
  bottom: 15px;
  font: 11px Arial,sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  transform: rotate(8deg);
}
:where(html[data-design="visit"]) .street-two  {
  top: 15%;
  left: 48%;
  width: 70%;
  transform: rotate(75deg);
  opacity: .5;
}
:where(html[data-design="visit"]) .street-three  {
  top: 66%;
  left: 4%;
  width: 95%;
  transform: rotate(20deg);
  opacity: .35;
}
:where(html[data-design="visit"]) .garden-marker  {
  position: absolute;
  z-index: 2;
  top: 38%;
  left: 54%;
  display: flex;
  gap: 17px;
  align-items: center;
}
:where(html[data-design="visit"]) .marker-dot  {
  width: 28px;
  height: 28px;
  border: 8px solid var(--paper);
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 1px var(--ink);
}
:where(html[data-design="visit"]) .garden-marker strong  {
  font: 400 23px/1.08 Georgia,serif;
}
:where(html[data-design="visit"]) .route-drawing  {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* stroke-dasharray hides the SVG path as separated dash lengths.
   The next rule animates the dash offset so the route appears to draw. */
:where(html[data-design="visit"]) .route-drawing path  {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  transition: stroke-dashoffset 1800ms cubic-bezier(.22,.61,.36,1);
}
:where(html[data-design="visit"]) .map-stage.in-view .route-drawing path  {
  stroke-dashoffset: 0;
}
:where(html[data-design="visit"]) .map-stage.in-view .marker-dot  {
  animation: marker-pulse 1800ms 900ms ease-out both;
}
@keyframes marker-pulse  {
  0%  {
    box-shadow: 0 0 0 0 rgba(174,89,58,.65);
  }
  70%  {
    box-shadow: 0 0 0 24px rgba(174,89,58,0);
  }
  100%  {
    box-shadow: 0 0 0 1px var(--ink);
  }
}
/* A short invitation gives the route a practical outcome. */
:where(html[data-design="visit"]) .visit-invitation  {
  padding: 150px 7%;
  background: #d7dfd0;
  text-align: center;
}
:where(html[data-design="visit"]) .visit-invitation h2  {
  max-width: 1050px;
  margin: 28px auto 55px;
  color: var(--ink);
  font: 400 clamp(58px,7.8vw,116px)/.9 Georgia,serif;
  letter-spacing: -.065em;
}
:where(html[data-design="visit"]) .visit-invitation h2 em  {
  color: #526653;
  font-weight: 400;
}
:where(html[data-design="visit"]) .invitation-actions  {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
:where(html[data-design="visit"]) .invitation-actions a  {
  border-bottom: 1px solid currentColor;
  padding: 13px 2px;
  font-size: 13px;
}
:where(html[data-design="visit"]) .invitation-actions .invitation-primary  {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 15px 25px;
}
/* Practical information is presented after the animated journey. */
:where(html[data-design="visit"]) .essentials  {
  padding: 135px 7%;
  background: var(--paper);
}
:where(html[data-design="visit"]) .essentials > h2  {
  margin: 0 0 80px;
  font: 400 clamp(57px,8vw,115px)/.92 Georgia,serif;
  letter-spacing: -.065em;
}
/* Each row has three columns: category, short heading and explanation. */
:where(html[data-design="visit"]) .essential-row  {
  display: grid;
  grid-template-columns: .55fr 1fr 1fr;
  gap: 5%;
  align-items: baseline;
  padding: 36px 0;
  border-top: 1px solid rgba(23,55,44,.3);
}
:where(html[data-design="visit"]) .essential-row:last-child  {
  border-bottom: 1px solid rgba(23,55,44,.3);
}
:where(html[data-design="visit"]) .essential-row > p:first-child  {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
:where(html[data-design="visit"]) .essential-row h3  {
  margin: 0;
  font: 400 clamp(28px,3vw,43px)/1 Georgia,serif;
}
:where(html[data-design="visit"]) .essential-row > p:last-child  {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
/* The image begins inset and slightly smaller. When .in-view is added,
   clip-path and transform animate it into a larger full image. */
:where(html[data-design="visit"]) .visit-image  {
  position: relative;
  min-height: 85vh;
  background: #405849 url("images/history-2009.webp") center/cover;
  clip-path: inset(10% 7% round 46% 46% 5% 5% / 24% 24% 4% 4%);
  transform: scale(.92);
  transition: clip-path 1400ms cubic-bezier(.22,.61,.36,1),transform 1400ms cubic-bezier(.22,.61,.36,1);
}
:where(html[data-design="visit"]) .visit-image.in-view  {
  clip-path: inset(0 round 0);
  transform: scale(1);
}
:where(html[data-design="visit"]) .visit-image::after  {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg,transparent 50%,rgba(9,27,20,.6));
}
/* FAQ uses two columns: the section heading and the list of questions. */
:where(html[data-design="visit"]) .faq  {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 9%;
  padding: 140px 7% 150px;
  background: var(--paper);
}
:where(html[data-design="visit"]) .faq > h2  {
  margin: 0;
  font: 400 clamp(50px,6vw,86px)/1 Georgia,serif;
  letter-spacing: -.055em;
}
:where(html[data-design="visit"]) .faq > h2 em  {
  color: var(--heading-sage);
  font-weight: 400;
}
:where(html[data-design="visit"]) .faq-list  {
  border-top: 1px solid rgba(23,55,44,.35);
}
/* <details> provides native open/closed behaviour without custom buttons. */
:where(html[data-design="visit"]) .faq details  {
  border-bottom: 1px solid rgba(23,55,44,.35);
}
:where(html[data-design="visit"]) .faq summary  {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 29px 0;
  cursor: pointer;
  font: 400 20px/1.3 Georgia,serif;
  list-style: none;
}
:where(html[data-design="visit"]) .faq summary::-webkit-details-marker  {
  display: none;
}
:where(html[data-design="visit"]) .faq summary span  {
  font-family: Arial,sans-serif;
  font-size: 22px;
  font-weight: 400;
  transition: transform 300ms ease;
}
/* [open] matches an expanded question and rotates + into an × shape. */
:where(html[data-design="visit"]) .faq details[open] summary span  {
  transform: rotate(45deg);
}
:where(html[data-design="visit"]) .faq details p  {
  max-width: 580px;
  margin: -5px 0 30px;
  font-size: 14px;
  line-height: 1.7;
}
/* The Visit footer uses the same dark colour and information order as the
   other pages so the website still feels like one visual system. */
:where(html[data-design="visit"]) .site-footer  {
  padding: 85px 6% 28px;
  background: var(--ink);
  color: var(--paper);
}
:where(html[data-design="visit"]) .footer-main  {
  display: grid;
  grid-template-columns: 1.7fr .7fr 1fr 1fr;
  gap: 6%;
  padding-bottom: 90px;
}
:where(html[data-design="visit"]) .footer-introduction  {
  max-width: 340px;
}
:where(html[data-design="visit"]) .footer-brand  {
  display: inline-block;
  margin-bottom: 28px;
  font: 400 clamp(35px,4vw,54px)/.95 Georgia,serif;
  letter-spacing: -.045em;
}
:where(html[data-design="visit"]) .footer-introduction p, :where(html[data-design="visit"]) .footer-column p, :where(html[data-design="visit"]) .footer-column address, :where(html[data-design="visit"]) .footer-column a  {
  font-size: 13px;
  line-height: 1.7;
}
:where(html[data-design="visit"]) .footer-introduction p  {
  margin: 0;
  color: rgba(241,234,220,.67);
}
:where(html[data-design="visit"]) .footer-column  {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
:where(html[data-design="visit"]) .footer-column .footer-heading  {
  margin: 0 0 22px;
  color: rgba(241,234,220,.55);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
:where(html[data-design="visit"]) .footer-column a  {
  margin-bottom: 8px;
}
:where(html[data-design="visit"]) .footer-column a:hover  {
  text-decoration: underline;
  text-underline-offset: 5px;
}
:where(html[data-design="visit"]) .footer-column address  {
  margin-bottom: 18px;
  font-style: normal;
}
:where(html[data-design="visit"]) .footer-column > p:not(.footer-heading)  {
  color: rgba(241,234,220,.65);
}
/* Visit layout adjustments for phones. */
@media (max-width: 760px)  {
  :where(html[data-design="visit"]) .site-header  {
    padding: 25px 6%;
    gap: 15px;
  }
  :where(html[data-design="visit"]) .brand  {
    font-size: 10px;
  }
  :where(html[data-design="visit"]) .visit-hero  {
    min-height: 680px;
  }
  :where(html[data-design="visit"]) .hero-copy  {
    bottom: 250px;
    width: 86vw;
  }
  :where(html[data-design="visit"]) .hero-copy h1  {
    font-size: clamp(42px,12vw,68px);
  }
  :where(html[data-design="visit"]) .visit-hero-copy h1 em {
    margin-top: .12em;
    margin-left: 0;
    font-size: .62em;
  }
  :where(html[data-design="visit"]) .location  {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 7%;
  }
  :where(html[data-design="visit"]) .map-stage  {
    min-height: 480px;
    margin-top: 55px;
  }
  :where(html[data-design="visit"]) .visit-invitation  {
    padding: 100px 7%;
  }
  :where(html[data-design="visit"]) .invitation-actions  {
    flex-direction: column;
    gap: 16px;
  }
  :where(html[data-design="visit"]) .essential-row  {
    grid-template-columns: .5fr 1.5fr;
  }
  :where(html[data-design="visit"]) .essential-row > p:last-child  {
    grid-column: 2;
  }
  :where(html[data-design="visit"]) .visit-image  {
    min-height: 620px;
  }
  :where(html[data-design="visit"]) .faq  {
    display: block;
    padding: 100px 7%;
  }
  :where(html[data-design="visit"]) .faq > h2  {
    margin-bottom: 70px;
  }
  :where(html[data-design="visit"]) .footer-main  {
    grid-template-columns: 1fr 1fr;
    gap: 55px 30px;
    padding-bottom: 65px;
  }
  :where(html[data-design="visit"]) .footer-introduction  {
    grid-column: 1 / -1;
  }
}
/* Disable CSS animation and transition when reduced motion is requested.
   The Visit script also skips pointer and scroll-driven decorative movement. */
@media (prefers-reduced-motion: reduce)  {
  :where(html[data-design="visit"])  {
    scroll-behavior: auto;
  }
  :where(html[data-design="visit"]) *, :where(html[data-design="visit"]) *::before, :where(html[data-design="visit"]) *::after  {
    transition: none !important;
    animation: none !important;
  }
}

/* ========================================================================== */
/* FINAL ACCESSIBLE HERO SYSTEM                                               */
/* ========================================================================== */
/* The four pages keep one colour and type system, but use four clearly
   different compositions. Large headings and plain colour areas make each
   page understandable without requiring the visitor to study the photograph. */

:where(html[data-design="latest"], html[data-design="visit"]) .brand {
  font-size: 10px;
}

@keyframes hero-heading-enter {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-image-enter {
  from { opacity: .35; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes hero-arch-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
:where(html[data-design="latest"]) .page-hero .hero-media {
  animation: hero-image-enter 1.4s cubic-bezier(.22,.61,.36,1) both;
}
:where(html[data-design="latest"]) .page-hero .hero-copy,
:where(html[data-design="visit"]) .visit-hero .hero-copy {
  animation: hero-heading-enter 1s .2s cubic-bezier(.22,.61,.36,1) both;
}
:where(html[data-design="latest"]) .page-hero .depth-lines,
:where(html[data-design="visit"]) .visit-hero::before,
:where(html[data-design="visit"]) .visit-hero::after {
  animation: hero-arch-enter 1.2s .45s ease both;
}

/* WELCOME — the only cinematic, full-photograph title composition. */
:where(html[data-design="latest"]) .welcome-hero .hero-media {
  background-position: center 46%;
}
:where(html[data-design="latest"]) .welcome-hero .hero-media::after {
  background:
    linear-gradient(90deg,rgba(5,22,16,.82) 0%,rgba(5,22,16,.52) 32%,rgba(5,22,16,.08) 66%),
    linear-gradient(180deg,rgba(5,22,16,.52) 0%,transparent 36%,rgba(5,22,16,.72) 100%);
}
:where(html[data-design="latest"]) .welcome-hero .hero-copy {
  left: 5vw;
  bottom: 8vh;
  width: min(980px,82vw);
}
:where(html[data-design="latest"]) .welcome-hero .hero-copy h1 {
  font-size: clamp(92px,12vw,176px);
  line-height: .76;
  letter-spacing: -.075em;
}
:where(html[data-design="latest"]) .welcome-hero .hero-copy h1 em {
  display: inline-block;
  margin-top: .16em;
  margin-left: .58em;
  color: #fff8e8;
}
:where(html[data-design="latest"]) .welcome-hero .hero-kicker {
  padding-left: .55em;
}
:where(html[data-design="latest"]) .welcome-hero .depth-lines {
  right: -10vw;
  left: auto;
  width: 64vw;
  opacity: .7;
}

/* DISCOVER — text sits on a clean cream field and the image becomes an
   architectural window. This keeps the long heading readable at a glance. */
:where(html[data-design="latest"]) .discover-hero {
  background: #f1eadc;
  color: #17372c;
}
:where(html[data-design="latest"]) .discover-hero .site-header {
  color: #17372c;
}
:where(html[data-design="latest"]) .discover-hero .hero-media {
  inset: 0 0 0 48%;
  width: 52%;
  border-radius: 48% 0 0 0 / 20% 0 0 0;
  background-position: center;
  transform: none;
}
:where(html[data-design="latest"]) .discover-hero .hero-media::after {
  background:
    linear-gradient(180deg,rgba(241,234,220,.98) 0%,rgba(241,234,220,.82) 7%,rgba(241,234,220,0) 24%),
    linear-gradient(90deg,rgba(13,43,34,.06),rgba(13,43,34,.18));
}
:where(html[data-design="latest"]) .discover-hero-copy {
  left: 5vw;
  right: auto;
  top: 25%;
  bottom: auto;
  width: 39vw;
  transform: none;
}
:where(html[data-design="latest"]) .discover-hero-copy .hero-kicker {
  margin: 0 0 24px;
}
:where(html[data-design="latest"]) .discover-hero-copy h1 {
  font-size: clamp(68px,7.2vw,112px);
  line-height: .88;
  letter-spacing: -.06em;
}
:where(html[data-design="latest"]) .discover-hero-copy h1 span,
:where(html[data-design="latest"]) .discover-hero-copy h1 em {
  display: block;
  margin: 0;
  color: #17372c;
  text-align: left;
}
:where(html[data-design="latest"]) .discover-hero-copy h1 em {
  margin-top: .12em;
  color: #526653;
}
:where(html[data-design="latest"]) .discover-hero .depth-lines i {
  border-color: rgba(23,55,44,.28);
}

/* HISTORY — the upper field reads like a museum title wall and the historical
   image becomes a monochrome archival strip below it. */
:where(html[data-design="latest"]) .history-hero {
  background: #f1eadc;
  color: #17372c;
}
:where(html[data-design="latest"]) .history-hero .site-header {
  color: #17372c;
}
:where(html[data-design="latest"]) .history-hero .hero-media {
  inset: 62% 0 0;
  width: 100%;
  filter: grayscale(1) contrast(1.05);
  background-position: center 54%;
  transform: none;
}
:where(html[data-design="latest"]) .history-hero .hero-media::after {
  background: linear-gradient(180deg,rgba(13,43,34,.04),rgba(13,43,34,.24));
}
:where(html[data-design="latest"]) .history-hero-copy {
  inset: auto;
  left: 5vw;
  top: 20%;
  width: 90vw;
  transform: none;
  text-align: left;
}
:where(html[data-design="latest"]) .history-hero-copy .hero-kicker {
  position: static;
  margin: 0 0 20px;
}
:where(html[data-design="latest"]) .history-hero-copy h1 {
  font-size: clamp(76px,9vw,132px);
  line-height: .82;
  letter-spacing: -.065em;
}
:where(html[data-design="latest"]) .history-hero-copy h1 span,
:where(html[data-design="latest"]) .history-hero-copy h1 em {
  position: static;
  display: block;
  margin: 0;
  color: #17372c;
  text-align: left;
}
:where(html[data-design="latest"]) .history-hero-copy h1 em {
  margin-left: 30vw;
  color: #526653;
}
:where(html[data-design="latest"]) .history-hero .depth-lines {
  top: 55%;
}
:where(html[data-design="latest"]) .history-hero .depth-lines i {
  border-color: rgba(241,234,220,.48);
}

/* VISIT — the headline is centred inside the architectural outline so the
   destination is visible before the practical details below. */
:where(html[data-design="visit"]) .visit-hero {
  min-height: 100svh;
  background: #0d2b22;
}
:where(html[data-design="visit"]) .visit-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("images/history-2009.webp") center 52% / cover no-repeat;
  animation: hero-image-enter 1.4s cubic-bezier(.22,.61,.36,1) both;
}
:where(html[data-design="visit"]) .visit-hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(7,31,23,.76) 0%,rgba(7,31,23,.38) 48%,rgba(7,31,23,.58) 100%),
    linear-gradient(180deg,rgba(7,31,23,.62) 0%,rgba(7,31,23,.06) 42%,rgba(7,31,23,.78) 100%);
  content: "";
}
:where(html[data-design="visit"]) .visit-hero::before {
  z-index: 1;
  right: 8vw;
  bottom: -20vh;
  width: 70vw;
  height: 82vh;
}
:where(html[data-design="visit"]) .visit-hero::after {
  z-index: 1;
  right: -13vw;
  bottom: -33vh;
  width: 46vw;
  height: 72vh;
}
:where(html[data-design="visit"]) .visit-hero-copy {
  z-index: 3;
  left: 44%;
  top: 43%;
  bottom: auto;
  width: 48%;
  padding: 0;
  box-sizing: border-box;
  transform: none;
  text-align: left;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(76px,7.4vw,126px);
  line-height: .82;
  letter-spacing: -.075em;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 span,
:where(html[data-design="visit"]) .visit-hero-copy h1 em {
  display: block;
  margin: 0;
  font-size: 1em;
  text-wrap: balance;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 em {
  margin-top: .18em;
  color: #b5bea9;
  white-space: normal;
}

/* Phone layouts preserve the same identities with shorter line lengths. */
@media (max-width: 760px) {
  :where(html[data-design="latest"], html[data-design="visit"]) .brand {
    font-size: 10px;
  }
  :where(html[data-design="latest"]) .welcome-hero .hero-copy h1 {
    font-size: clamp(68px,19vw,98px);
    line-height: .8;
  }
  :where(html[data-design="latest"]) .welcome-hero .hero-copy h1 em {
    margin-left: .18em;
  }
  :where(html[data-design="latest"]) .welcome-hero .depth-lines {
    right: -42vw;
    width: 118vw;
  }
  :where(html[data-design="latest"]) .discover-hero .hero-media {
    inset: 50% 0 0;
    width: 100%;
    border-radius: 38% 38% 0 0 / 15% 15% 0 0;
  }
  :where(html[data-design="latest"]) .discover-hero-copy {
    left: 6vw;
    top: 18%;
    width: 88vw;
  }
  :where(html[data-design="latest"]) .discover-hero-copy h1 {
    font-size: clamp(54px,14vw,76px);
  }
  :where(html[data-design="latest"]) .history-hero .hero-media {
    inset: 64% 0 0;
  }
  :where(html[data-design="latest"]) .history-hero-copy {
    left: 6vw;
    top: 20%;
    width: 88vw;
  }
  :where(html[data-design="latest"]) .history-hero-copy h1 {
    font-size: clamp(56px,15vw,82px);
  }
  :where(html[data-design="latest"]) .history-hero-copy h1 em {
    margin-left: 0;
  }
  :where(html[data-design="visit"]) .visit-hero-copy {
    left: 7vw;
    top: 44%;
    bottom: auto;
    width: 86vw;
    padding: 0;
    transform: none;
  }
  :where(html[data-design="visit"]) .visit-hero-copy h1 {
    font-size: clamp(48px,12.5vw,68px);
  }
  :where(html[data-design="visit"]) .visit-hero-copy h1 em {
    white-space: normal;
  }
  :where(html[data-design="visit"]) .visit-hero::before {
    right: -25vw;
    width: 118vw;
    height: 72vh;
  }
}

/* The welcome page now names the place and gives one obvious first action. */
:where(html[data-design="latest"]) .welcome-summary {
  max-width: 510px;
  margin: 28px 0 22px .55em;
  color: #fff8e8;
  font-size: 17px;
  line-height: 1.55;
}
:where(html[data-design="latest"]) .welcome-action {
  display: inline-flex;
  min-width: 330px;
  min-height: 68px;
  margin-left: .55em;
  padding: 0 30px 0 34px;
  border: 2px solid #fff8e8;
  border-radius: 999px;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  background: #fff8e8;
  color: #17372c;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(5,22,16,.28);
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
:where(html[data-design="latest"]) .welcome-action:hover {
  background: #c5cfb7;
  color: #0d2b22;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(5,22,16,.36);
}
:where(html[data-design="latest"]) .welcome-action span {
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

/* The Discover headline remains prominent without dominating all supporting
   information on the first screen. */
:where(html[data-design="latest"]) .discover-hero-copy h1 {
  font-size: clamp(62px,6.3vw,94px);
}
:where(html[data-design="latest"]) .discover-summary {
  max-width: 430px;
  margin: 28px 0 0;
  color: #526653;
  font-size: 16px;
  line-height: 1.55;
}

/* This three-choice guide translates the website structure into questions a
   visitor might actually ask. It is a navigation landmark, not decoration. */
:where(html[data-design="latest"]) .reader-guide {
  display: grid;
  grid-template-columns: 1.25fr repeat(3,1fr);
  padding: 110px 5vw;
  background: #f1eadc;
  color: #17372c;
}
:where(html[data-design="latest"]) .reader-guide-heading {
  padding-right: 4vw;
}
:where(html[data-design="latest"]) .reader-guide-heading h2 {
  margin: 0;
  font: 400 clamp(42px,4.3vw,68px)/.94 Georgia,serif;
  letter-spacing: -.055em;
}
:where(html[data-design="latest"]) .reader-guide > a {
  position: relative;
  min-height: 330px;
  padding: 28px 26px;
  border-top: 1px solid rgba(23,55,44,.35);
  border-left: 1px solid rgba(23,55,44,.2);
  transition: background-color 260ms ease, color 260ms ease, transform 260ms ease;
}
:where(html[data-design="latest"]) .reader-guide > a:hover,
:where(html[data-design="latest"]) .reader-guide > a:focus-visible {
  background: #17372c;
  color: #fff8e8;
  transform: translateY(-8px);
}
:where(html[data-design="latest"]) .reader-guide > a span {
  display: block;
  margin-bottom: 70px;
  color: #526653;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
:where(html[data-design="latest"]) .reader-guide > a:hover span,
:where(html[data-design="latest"]) .reader-guide > a:focus-visible span {
  color: #c5cfb7;
}
:where(html[data-design="latest"]) .reader-guide > a strong {
  display: block;
  margin-bottom: 18px;
  font: 400 clamp(25px,2.2vw,36px)/1.05 Georgia,serif;
}
:where(html[data-design="latest"]) .reader-guide > a p {
  max-width: 270px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
:where(html[data-design="latest"]) .reader-guide > a b {
  position: absolute;
  right: 26px;
  bottom: 24px;
  font-size: 22px;
  font-weight: 400;
}

@media (max-width: 900px) {
  :where(html[data-design="latest"]) .reader-guide {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 90px 6vw;
  }
  :where(html[data-design="latest"]) .reader-guide-heading {
    padding: 0 0 55px;
  }
  :where(html[data-design="latest"]) .reader-guide > a {
    min-height: 0;
    padding: 25px 54px 25px 18px;
    border-right: 0;
    border-left: 0;
  }
  :where(html[data-design="latest"]) .reader-guide > a span {
    margin-bottom: 16px;
  }
  :where(html[data-design="latest"]) .reader-guide > a b {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

@media (max-width: 760px) {
  :where(html[data-design="latest"]) .welcome-hero .hero-copy {
    bottom: 5vh;
  }
  :where(html[data-design="latest"]) .welcome-summary {
    max-width: 86vw;
    margin-top: 22px;
    font-size: 15px;
  }
  :where(html[data-design="latest"]) .welcome-action {
    min-width: min(330px,86vw);
    min-height: 62px;
    padding: 0 25px 0 28px;
    font-size: 16px;
  }
  :where(html[data-design="latest"]) .discover-hero-copy h1 {
    font-size: clamp(48px,12vw,66px);
  }
  :where(html[data-design="latest"]) .discover-summary {
    margin-top: 18px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
}

/* Restore the original Visit title composition while retaining the new photo,
   image overlay and signpost navigation. */
:where(html[data-design="visit"]) .visit-hero {
  background: #0d2b22 url("images/history-2009.webp") center 52% / cover no-repeat;
}
:where(html[data-design="visit"]) .visit-hero-copy {
  z-index: 3;
  top: auto;
  right: auto;
  bottom: 95px;
  left: 7%;
  width: 86vw;
  padding: 0;
  transform: translateY(calc(var(--hero-scroll) * -55px));
  text-align: left;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 {
  width: auto;
  max-width: none;
  margin: 0;
  font: 400 clamp(64px,9vw,135px)/.9 Georgia,serif;
  letter-spacing: -.065em;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 span,
:where(html[data-design="visit"]) .visit-hero-copy h1 em {
  display: block;
  margin: 0;
  font-size: 1em;
  white-space: nowrap;
}
:where(html[data-design="visit"]) .visit-hero-copy h1 em {
  margin-top: .04em;
  color: #b5bea9;
  font-weight: 400;
}

@media (max-width: 760px) {
  :where(html[data-design="visit"]) .visit-hero-copy {
    bottom: 110px;
    left: 7%;
    width: 86vw;
  }
  :where(html[data-design="visit"]) .visit-hero-copy h1 {
    font-size: clamp(50px,14vw,78px);
  }
  :where(html[data-design="visit"]) .visit-hero-copy h1 span,
  :where(html[data-design="visit"]) .visit-hero-copy h1 em {
    white-space: normal;
  }
}

/* TYPE RHYTHM REFINEMENT
   Explicit line groups prevent the large serif headings from creating uneven
   wraps, while the spacing below keeps supporting text visually separate. */
:where(html[data-design="latest"]) .reader-guide {
  grid-template-columns: 1.45fr repeat(3,1fr);
}
:where(html[data-design="latest"]) .reader-guide-heading h2 {
  font-size: clamp(42px,4.3vw,68px);
  line-height: .9;
  letter-spacing: -.05em;
}
:where(html[data-design="latest"]) .reader-guide-heading h2 span {
  display: block;
}
:where(html[data-design="latest"]) .reader-guide-heading h2 span + span {
  margin-top: .12em;
}

:where(html[data-design="latest"]) .discover-hero-copy h1 {
  line-height: .9;
}
:where(html[data-design="latest"]) .discover-hero-copy h1 em {
  margin-top: .2em;
}
:where(html[data-design="latest"]) .discover-summary {
  margin-top: 38px;
  line-height: 1.65;
}

:where(html[data-design="visit"]) .location-copy h2 {
  font-size: clamp(52px,7vw,100px);
  line-height: .86;
  letter-spacing: -.05em;
}
:where(html[data-design="visit"]) .location-copy h2 span {
  display: block;
}
:where(html[data-design="visit"]) .location-copy h2 span + span {
  margin-top: .14em;
}
:where(html[data-design="visit"]) .location-copy > p:not(.eyebrow) {
  margin-top: 46px;
}

@media (max-width: 900px) {
  :where(html[data-design="latest"]) .reader-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :where(html[data-design="latest"]) .discover-hero-copy h1 em {
    margin-top: .14em;
  }
  :where(html[data-design="latest"]) .discover-summary {
    margin-top: 24px;
  }
  :where(html[data-design="visit"]) .location-copy h2 {
    line-height: .9;
  }
}

@media (max-width: 760px) {
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header {
    flex-wrap: wrap;
    padding-right: 4vw;
    padding-left: 4vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(html[data-design="latest"]) .page-hero .hero-media,
  :where(html[data-design="latest"]) .page-hero .hero-copy,
  :where(html[data-design="latest"]) .page-hero .depth-lines,
  :where(html[data-design="visit"]) .visit-hero-media,
  :where(html[data-design="visit"]) .visit-hero .hero-copy,
  :where(html[data-design="visit"]) .visit-hero::before,
  :where(html[data-design="visit"]) .visit-hero::after {
    animation: none;
  }
}

/* ========================================================================== */
/* HISTORY HERO — DISTINCT ARCHIVE COMPOSITION                                */
/* ========================================================================== */
/* Discover remains a light garden invitation. History instead uses a dark
   archive wall with one tall monochrome image, so the page is recognisable
   before the visitor reads either its title or the navigation. */
:where(html[data-design="latest"]) .history-hero {
  background: #0d2b22;
  color: #fff8e8;
}
:where(html[data-design="latest"]) .history-hero .site-header {
  color: #fff8e8;
}
:where(html[data-design="latest"]) .history-hero .hero-media {
  inset: 0 auto 0 0;
  width: 42%;
  height: 100%;
  filter: grayscale(1) sepia(.12) contrast(1.12) brightness(.72);
  background-position: 47% center;
  transform: none;
}
:where(html[data-design="latest"]) .history-hero .hero-media::after {
  background:
    linear-gradient(90deg,rgba(13,43,34,.08) 48%,rgba(13,43,34,.92) 100%),
    linear-gradient(180deg,rgba(13,43,34,.58) 0%,transparent 32%,rgba(13,43,34,.48) 100%);
}
:where(html[data-design="latest"]) .history-hero-copy {
  left: 49%;
  top: 50%;
  width: 46%;
  transform: translateY(-43%);
  text-align: left;
}
:where(html[data-design="latest"]) .history-hero-copy .hero-kicker {
  margin: 0 0 30px;
  color: #c5cfb7;
}
:where(html[data-design="latest"]) .history-hero-copy h1 {
  font-size: clamp(80px,8.2vw,130px);
  line-height: .82;
}
:where(html[data-design="latest"]) .history-hero-copy h1 span,
:where(html[data-design="latest"]) .history-hero-copy h1 em {
  color: #fff8e8;
}
:where(html[data-design="latest"]) .history-hero-copy h1 em {
  margin-top: .18em;
  margin-left: 0;
  color: #b5bea9;
}
:where(html[data-design="latest"]) .history-hero .depth-lines {
  top: auto;
  right: -18vw;
  bottom: -30vh;
  left: auto;
  width: 70vw;
}
:where(html[data-design="latest"]) .history-hero .depth-lines i {
  border-color: rgba(197,207,183,.24);
}

@media (max-width: 760px) {
  :where(html[data-design="latest"]) .history-hero .hero-media {
    inset: 0 0 auto;
    width: 100%;
    height: 43%;
    background-position: center 48%;
  }
  :where(html[data-design="latest"]) .history-hero .hero-media::after {
    background: linear-gradient(180deg,rgba(13,43,34,.42),rgba(13,43,34,.04) 52%,#0d2b22 100%);
  }
  :where(html[data-design="latest"]) .history-hero-copy {
    left: 6vw;
    top: 51%;
    width: 88vw;
    transform: none;
  }
  :where(html[data-design="latest"]) .history-hero-copy h1 {
    font-size: clamp(58px,16vw,84px);
  }
  :where(html[data-design="latest"]) .history-hero .depth-lines {
    right: -70vw;
    bottom: -27vh;
    width: 145vw;
  }
}
@media (max-width: 760px) {
}
@media (max-width: 430px) {
  :where(html[data-design="latest"]) .history-hero-copy h1 {
    font-size: 56px;
  }
}
/* ---------------------------------------------------------------
   FINAL VERTICAL TYPE SPACING
   These rules only add vertical breathing room between large lines.
   Font sizes and the surrounding layouts remain unchanged.
   --------------------------------------------------------------- */

/* Keep the two Discover hero lines visually separate. */
:where(html[data-design="latest"]) .discover-hero-copy h1 {
  line-height: 1.08;
}

:where(html[data-design="latest"]) .discover-hero-copy h1 em {
  display: block;
  margin-top: 0;
}

/* Give every wrapped line in the reader-guide question enough height. */
:where(html[data-design="latest"]) .reader-guide-heading h2 {
  line-height: 1.08;
}

:where(html[data-design="latest"]) .reader-guide-heading h2 span + span {
  margin-top: 0;
}

/* Separate both lines of the Visit invitation, including wrapped text. */
:where(html[data-design="visit"]) .visit-invitation h2 {
  line-height: 1.06;
}

:where(html[data-design="visit"]) .visit-invitation h2 em {
  display: block;
  margin-top: 0.28em;
}

/* Apply the same readable vertical rhythm to the three-line address. */
:where(html[data-design="visit"]) .location-copy h2 {
  line-height: 1.02;
}

:where(html[data-design="visit"]) .location-copy h2 span + span {
  margin-top: 0.2em;
}

/* -----------------------------------------------------------------
   VISIT ROUTE MAP — a practical diagram between the address and the
   photographic route cards. The numbered stops follow one curved path.
   ----------------------------------------------------------------- */
:where(html[data-design="visit"]) .visit-route-map {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 6vw;
  padding: 110px 6vw 120px;
  background: #f1eadc;
  color: #17372c;
}
:where(html[data-design="visit"]) .visit-route-intro {
  align-self: start;
  position: static;
}
:where(html[data-design="visit"]) .visit-route-intro h2 {
  margin: 0;
  font: 400 clamp(58px,6.2vw,94px)/.92 Georgia,serif;
  letter-spacing: -.06em;
}
:where(html[data-design="visit"]) .visit-route-intro h2 em {
  display: block;
  margin-top: .14em;
  color: #526653;
}
:where(html[data-design="visit"]) .visit-route-intro > p:last-child {
  max-width: 420px;
  margin: 34px 0 0;
  color: #526653;
  font-size: 17px;
  line-height: 1.65;
}
:where(html[data-design="visit"]) .visit-route-diagram {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(23,55,44,.24);
  border-radius: 160px 160px 42px 42px;
  background: #d7dfd0;
}
/* Clear visitor-map version: large labels and arrowed segments remove the
   need to decode an architectural drawing or cross-reference a legend. */
:where(html[data-design="visit"]) .route-reading-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 5px solid #b65d3b;
  border-radius: 0 18px 18px 0;
  background: rgba(215,223,208,.65);
  color: #17372c;
  font-size: 15px;
  line-height: 1.6;
}
/* Final simplified route: a readable sequence replaces the map. Each card
   tells the visitor where they are and what action to take next. */
:where(html[data-design="visit"]) .visit-route-diagram.simple-route {
  position: relative;
  min-height: 0;
  height: auto;
  overflow: visible;
  padding: 38px;
  border-radius: 48px;
  background: #d7dfd0;
}
:where(html[data-design="visit"]) .simple-route-heading {
  display: flex;
  margin: 0 0 22px;
  padding: 22px 26px;
  border-radius: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #17372c;
  color: #fff8e8;
}
:where(html[data-design="visit"]) .simple-route-heading span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #b65d3b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
:where(html[data-design="visit"]) .simple-route-heading strong {
  font-size: 21px;
}
:where(html[data-design="visit"]) .simple-route-list {
  position: relative;
  inset: auto;
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(html[data-design="visit"]) .simple-route-list::before {
  content: "";
  position: absolute;
  top: 70px;
  bottom: 70px;
  left: 41px;
  width: 4px;
  border-radius: 999px;
  background: #b65d3b;
}
:where(html[data-design="visit"]) .simple-route-list li {
  position: relative;
  display: grid;
  min-height: 142px;
  padding: 24px 28px 24px 20px;
  border: 1px solid rgba(23,55,44,.18);
  border-radius: 26px;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 20px;
  background: #fff8e8;
  color: #17372c;
}
:where(html[data-design="visit"]) .simple-number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  place-items: center;
  background: #17372c;
  color: #fff8e8;
  font-size: 13px;
  font-weight: 700;
}
:where(html[data-design="visit"]) .simple-route-list small {
  display: block;
  margin-bottom: 6px;
  color: #b65d3b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
:where(html[data-design="visit"]) .simple-route-list h3 {
  margin: 0;
  font: 700 clamp(19px,1.7vw,25px)/1.2 Arial,sans-serif;
}
:where(html[data-design="visit"]) .simple-route-list p {
  max-width: 520px;
  margin: 10px 0 0;
  color: #526653;
  font-size: 14px;
  line-height: 1.5;
}
:where(html[data-design="visit"]) .simple-route-time {
  display: flex;
  margin: 30px 0 0;
  padding: 18px 24px;
  border-top: 1px solid rgba(23,55,44,.22);
  align-items: center;
  justify-content: space-between;
  color: #17372c;
  font-size: 14px;
}
:where(html[data-design="visit"]) .simple-route-time span {
  font-weight: 700;
}
@media (max-width: 600px) {
  :where(html[data-design="visit"]) .visit-route-diagram.simple-route {
    min-height: 0;
    height: auto;
    padding: 18px;
    border-radius: 30px;
  }
  :where(html[data-design="visit"]) .simple-route-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  :where(html[data-design="visit"]) .simple-route-list li {
    grid-template-columns: 50px 1fr;
    padding: 20px 18px 20px 14px;
  }
  :where(html[data-design="visit"]) .simple-number {
    width: 44px;
    height: 44px;
  }
  :where(html[data-design="visit"]) .simple-route-list::before {
    left: 36px;
  }
  :where(html[data-design="visit"]) .simple-route-list {
    gap: 26px;
  }
}

/* CONSOLIDATED SITE NAVIGATION
   One shared signpost replaces earlier page-specific navigation rules. */
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav {
  display: flex;
  padding: 5px;
  border: 1px solid rgba(23,55,44,.14);
  border-radius: 999px;
  align-items: stretch;
  gap: 4px;
  background: rgba(241,234,220,.94);
  color: #17372c;
  box-shadow: 0 10px 34px rgba(7,25,19,.16);
  backdrop-filter: blur(12px);
}
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a {
  display: flex;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  color: #17372c;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a::before {
  color: #526653;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a:nth-child(1)::before { content: "01"; }
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a:nth-child(2)::before { content: "02"; }
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a:nth-child(3)::before { content: "03"; }
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a:hover {
  background: rgba(23,55,44,.09);
  transform: translateY(-1px);
}
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a[aria-current="page"] {
  background: #17372c;
  color: #fff8e8;
  font-weight: 700;
}
:where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a[aria-current="page"]::before {
  color: #c5cfb7;
}
@media (max-width: 760px) {
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header nav {
    padding: 4px;
    gap: 2px;
  }
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a::before {
    display: none;
  }
}
@media (max-width: 430px) {
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header {
    flex-wrap: wrap;
    padding-right: 4vw;
    padding-left: 4vw;
  }
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header nav {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
  }
  :where(html[data-design="latest"], html[data-design="visit"]) .site-header nav a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* The entry animation uses the individual translate property so it can
   compose with the scroll and pointer transforms on the Visit hero. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes visit-copy-enter {
    from { translate: 0 34px; }
    to { translate: 0 0; }
  }
  @keyframes visit-outline-enter {
    from { opacity: 0; translate: 0 24px; }
    to { opacity: 1; translate: 0 0; }
  }
  :where(html[data-design="visit"]) .visit-hero .hero-copy {
    animation: visit-copy-enter 1s .2s cubic-bezier(.22,.61,.36,1) backwards;
  }
  :where(html[data-design="visit"]) .visit-hero::before,
  :where(html[data-design="visit"]) .visit-hero::after {
    animation: visit-outline-enter 1.2s .45s ease backwards;
  }
}
