:root {
  --ink: #16271F;
  --ink-2: #2E3B34;
  --muted: #5C665E;
  --faint: #8C958C;
  --accent: #9C6A58;
  --cream: #F7F5F0;
  --line: rgba(22, 39, 31, .13);
  --line-2: rgba(22, 39, 31, .07);
  --deep: #0C1D14;
  --deeper: #081410;
  --p-green: #3C9D6B;
  --p-gold: #E8C67F;
  --p-water: #1B7CB4;
  --p-terra: #E08B55;
  --nav: #12201A;
  --stack: 'Noto Sans KR';
  /* ─────────────────────────────────────────────────────────────
     HEADLINE FACE — Playfair Display
     Every headline on the site. Running text, navigation, buttons,
     captions and numbers stay in the gothic stack below.
     ───────────────────────────────────────────────────────────── */
  --display: 'Playfair Display';
  /* every headline on the site uses these two values and nothing else.
     Change them here and the whole site follows. 700 goes heavier still. */
  --w-head: 600;
  --track-head: -.014em;
  --w-strong: 700;
  --w-body: 300;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --iris: cubic-bezier(.6, .02, .16, 1);
  --gut: clamp(22px, calc(6vw / var(--z, 1)), 112px);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --cream: #F7F5F0;
    --ink: #16271F
  }
}
*, *::before, *::after {
  box-sizing: border-box
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: env(safe-area-inset-top, 0px)
}
body {
  margin: 0;
  background: #F7F5F0;
  color: var(--ink);
  font-family: var(--stack);
  font-weight: var(--w-body);
  font-size: clamp(16px, calc(1.05vw / var(--z, 1)), 18px);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}
img {
  display: block;
  max-width: 100%;
  height: auto
}
a {
  color: inherit;
  text-decoration: none
}
button, input, textarea, select {
  font: inherit;
  color: inherit
}
h1, h2, h3, h4, p, figure {
  margin: 0
}
::selection {
  background: var(--accent);
  color: #F7F5F0
}
#silk {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block
}
#silkfb {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #F6F3ED, #F7F5F0 50%, #FAF6EC)
}
#shell {
  position: relative;
  z-index: 2
}
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 99;
  opacity: .8;
  transition: background .8s var(--ease)
}
#bank {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none
}
/* â•â• type â•â• */
.eyebrow {
  font-family: inherit;
  font-size: clamp(10px, calc(.72vw / var(--z, 1)), 11.5px);
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: var(--w-strong);
  color: var(--accent)
}
.eyebrow.muted {
  color: var(--faint)
}
.heading {
  font-family: var(--display);
  font-weight: var(--w-head);
  line-height: 1.06;
  letter-spacing: var(--track-head);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility
}
.hero-stage {
  height: calc(270vh / var(--z, 1));
  position: relative
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: calc(100svh / var(--z, 1));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center
}
.hero-type {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-inline: clamp(18px, calc(3.4vw / var(--z, 1)), 64px);
  max-width: 1580px;
  margin-inline: auto;
  text-align: center;
  will-change: opacity, transform
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path
}
.hero-image {
  background: var(--deeper)
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform
}
.hero-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  pointer-events: none
}
.hero-caption {
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(34px, calc(6.5vh / var(--z, 1)), 72px);
  z-index: 4;
  opacity: 0;
  color: #F4F7F1;
  will-change: opacity
}
.hero-caption p {
  text-shadow: 0 2px 30px rgba(6, 18, 12, .62), 0 1px 3px rgba(6, 18, 12, .45)
}
.hero-place {
  margin-top: 14px;
  font-family: inherit;
  font-weight: inherit;
  font-size: clamp(13px, calc(1.15vw / var(--z, 1)), 17px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #BFD8C4;
  text-shadow: 0 1px 18px rgba(6, 18, 12, .7)
}
.hero-shade {
  background: linear-gradient(180deg, rgba(9, 24, 16, 0) 0%, rgba(9, 24, 16, .42) 48%, rgba(10, 28, 18, .86) 100%)
}
.hero-scroll-cue {
  position: absolute;
  left: var(--gut);
  bottom: clamp(30px, calc(6vh / var(--z, 1)), 64px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--faint);
  will-change: opacity
}
.hero-scroll-cue i {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden
}
.hero-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: cue 3s var(--ease) infinite
}
@keyframes cue {
  0% {
    transform: translateX(-100%)
  }
  62%, 100% {
    transform: translateX(100%)
  }
}
.view {
  position: relative;
  z-index: 1
}
.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, calc(1.8vw / var(--z, 1)), 28px)
}
.stack.tight {
  gap: clamp(9px, calc(1.2vw / var(--z, 1)), 16px)
}
.section-kicker {
  margin-bottom: clamp(18px, calc(2vw / var(--z, 1)), 30px)
}
.about-work {
  margin-block: 0 clamp(48px, calc(6vw / var(--z, 1)), 88px);
  padding-block: 0 clamp(28px, calc(3.4vw / var(--z, 1)), 48px)
}
.about-work-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, calc(6vw / var(--z, 1)), 100px)
}
.about-work .heading {
  max-width: 15ch
}
@media (max-width: 760px) {
  .about-work {
    margin-block: 0 40px;
    padding-block: 0 12px
  }
  .about-work-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, calc(2.4vw / var(--z, 1)), 52px)
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, calc(3.2vw / var(--z, 1)), 62px)
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, calc(2vw / var(--z, 1)), 30px)
}
.stat-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap
}
.stat-number b {
  font-family: var(--stack);
  font-weight: 200;
  line-height: 1.1;
  /* Keep punctuation and descenders inside the gradient's painted area. */
  padding-block: .08em .2em;
  margin-block: -.08em -.2em;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums lining-nums
}
.stat-number s {
  text-decoration: none;
  font-size: clamp(12px, calc(1.1vw / var(--z, 1)), 17px);
  letter-spacing: .18em;
  color: var(--muted)
}
.stat-label {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5
}
.chapter {
  position: relative;
  padding-block: clamp(72px, calc(9vw / var(--z, 1)), 150px)
}
.chapter-head {
  position: sticky;
  top: clamp(74px, calc(10vh / var(--z, 1)), 124px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px
}
.chapter-head .chapter-icon {
  width: clamp(34px, calc(4vw / var(--z, 1)), 58px);
  height: clamp(34px, calc(4vw / var(--z, 1)), 58px);
  object-fit: contain;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease)
}
.chapter-head.is-visible .chapter-icon {
  opacity: 1;
  transform: none
}
.offset {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, calc(4vw / var(--z, 1)), 72px)
}
.offset>* {
  grid-column: 5 / -1
}
.chapter-body {
  margin-top: clamp(24px, calc(3vw / var(--z, 1)), 48px)
}
.lead {
  line-height: 1.52;
  font-weight: var(--w-body);
  color: var(--ink-2);
  letter-spacing: -.006em
}
.body {
  font-size: clamp(16px, calc(1.2vw / var(--z, 1)), 19.5px);
  line-height: 1.9;
  color: var(--muted)
}
.body.tight-lines {
  line-height: 1.75
}
.small {
  font-size: clamp(13px, calc(.95vw / var(--z, 1)), 15px);
  line-height: 1.85;
  color: var(--muted)
}
.text-width {
  max-width: 54ch
}
.text-width-s {
  max-width: 40ch
}
.text-width-xs {
  max-width: 32ch
}
.divider {
  height: 1px;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.9s var(--ease)
}
.divider.is-visible {
  transform: scaleX(1)
}
.note {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .85;
  padding-left: 14px;
  border-left: 2px solid currentColor
}
/* â•â• the landing headline keeps the original serif, alone on the site â•â• */
#heroFlow {
  /* shrink-to-fit so the stepped block can be centred as one object,
     with the stagger inside it left-aligned and untouched */
  display: inline-block;
  text-align: left;
  font-family: var(--display);
  font-weight: var(--w-head);
  /* sized against viewport height so the stack fills ~70% of the banner,
     capped by width so the longest stepped line can never run off the side */
  font-size: clamp(46px, min(calc(21svh / var(--z, 1)), calc(20vw / var(--z, 1))), 300px);
  line-height: .84;
  letter-spacing: -.024em;
  max-width: none
}
/* each line steps in to begin beneath a letter of the line above */
#heroFlow .hero-line {
  display: block;
  margin-left: calc(var(--i, 0) * 1em)
}
@media (max-width:860px) {
  #heroFlow {
    font-size: clamp(44px, min(calc(18svh / var(--z, 1)), calc(26vw / var(--z, 1))), 168px)
  }
  #heroFlow .hero-line {
    margin-left: calc(var(--i, 0) * .62em)
  }
}
@media (min-width:2400px) {
  #heroFlow {
    font-size: clamp(200px, calc(9.6vw / var(--z, 1)), 340px)
  }
}
@media (min-width:3200px) {
  #heroFlow {
    font-size: clamp(300px, calc(9.8vw / var(--z, 1)), 470px)
  }
}
@media (max-width:660px) {
  #heroFlow {
    font-size: clamp(46px, calc(13.4vw / var(--z, 1)), 92px);
    max-width: 11ch
  }
}
@supports not ((background-clip:text) or (-webkit-background-clip:text)) {
  .image-text .word>i {
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    background: none
  }
}
/* â•â• a living fill inside the letters â•â• */
.image-text {
  color: var(--ink)
}
.image-text-stack {
  position: relative;
  display: inline-block;
  text-align: left
}
.image-text.flow-on .word>i {
  background-image: linear-gradient(rgba(10, 26, 17, .42), rgba(10, 26, 17, .14)), var(--flow, none);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, var(--fw, 1600px) auto;
  background-position: 0 0, var(--fx, 0px) var(--fy, 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent
}
/* â•â• element headings take their own petal's gradient â•â• */
.gradient-heading {
  padding: .16em .05em .32em;
  margin: -.16em -.05em -.32em;
  background-image: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 230% 100%;
  background-position: 8% 0;
  animation: gwave 11s ease-in-out infinite alternate
}
@keyframes gwave {
  0% {
    background-position: 6% 0
  }
  100% {
    background-position: 94% 0
  }
}
.gradient-land {
  --g: linear-gradient(104deg, #C4713F, #8E4A27 42%, #E3A472 78%, #B0653A)
}
.gradient-landscape {
  --g: linear-gradient(104deg, #2F7E52, #1E5637 40%, #52B07B 76%, #2F7E52)
}
.gradient-water {
  --g: linear-gradient(104deg, #1B6E9E, #14456A 42%, #4FA3CE 78%, #1B6E9E)
}
.gradient-trust {
  --g: linear-gradient(104deg, #A8813C, #6E5320 40%, #D6B269 78%, #A8813C)
}
.gradient-marvel {
  --g: linear-gradient(104deg, #A8755F, #16271F 44%, #C99A80 76%, #A8755F)
}
.gradient-number b {
  background-image: linear-gradient(104deg, #A8755F, #16271F 46%, #C99A80 80%, #A8755F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 230% 100%;
  background-position: 8% 0;
  animation: gwave 13s ease-in-out infinite alternate
}
/* â•â• word-stagger headings: wrap naturally, reveal per word â•â• */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  letter-spacing: inherit;
  padding-bottom: .14em;
  margin-bottom: -.14em
}
.word>i {
  display: inline-block;
  font-style: inherit;
  letter-spacing: inherit;
  /* Image-filled letters need paint space as well as room in the reveal mask. */
  padding: .16em .05em .32em;
  margin: -.16em -.05em -.32em;
  transform: translateY(106%);
  transition: transform 1.35s var(--ease)
}
.word-heading.is-visible .word>i {
  transform: translateY(0)
}
.hero-type #heroFlow {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible
}
.hero-type #heroFlow .word {
  overflow: visible;
  padding-bottom: 0;
  margin-bottom: 0
}
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.4s var(--ease), transform 1.7s var(--ease)
}
.reveal-up.is-visible {
  opacity: 1;
  transform: none
}
.reveal-up.delay-1 {
  transition-delay: .14s
}
.reveal-up.delay-2 {
  transition-delay: .28s
}
.reveal-up.delay-3 {
  transition-delay: .42s
}
.reveal-up.delay-4 {
  transition-delay: .56s
}
.reveal-up.delay-5 {
  transition-delay: .7s
}
.scroll-fill {
  background-image: linear-gradient(90deg, var(--accent) 0 50%, rgba(22, 39, 31, .18) 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  will-change: background-position
}
/* â•â• iris â•â• */
.image-reveal-wrap {
  position: relative;
  margin: 0 auto
}
/* The picture is on screen from the first pixel, framed slightly inside its
   box and zoomed in; on entering view the frame opens out to the edges and the
   picture settles. (A bottom-to-top wipe read as empty space while scrolling.) */
.image-reveal {
  position: relative;
  overflow: hidden;
  margin: 0;
  clip-path: inset(6% 4% 6% 4%);
  transition: clip-path 1.6s var(--ease);
  will-change: clip-path
}
.image-reveal.is-visible {
  clip-path: inset(0 0 0 0)
}
.image-reveal img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.12);
  filter: saturate(.82) brightness(.94);
  transition: transform 2.2s var(--ease), filter 1.6s var(--ease);
  will-change: transform
}
.image-reveal.is-visible img {
  filter: none
}
/* figures that hold pictures do not fade in from nothing either */
.image-reveal.reveal-up, .plan-figure.reveal-up, .location-map.reveal-up {
  opacity: 1;
  transform: none
}
.image-reveal.chevron-reveal img {
  transform: scale(1.10)
}
.image-reveal.chevron-reveal.is-visible img {
  transform: scale(1)
}
.image-reveal.is-visible img {
  transform: scale(1)
}
/* the Marvel mark opening into the picture */
.image-reveal.chevron-reveal {
  transform: none;
  clip-path: polygon(50% 41.5%, 57.4% 49.2%, 53.3% 53.4%, 50% 50.1%, 46.7% 53.4%, 42.6% 49.2%);
  transition: clip-path 2.5s var(--iris)
}
.image-reveal.chevron-reveal.is-visible {
  clip-path: polygon(50% -90%, 210% 50%, 210% 210%, 50% 210%, -110% 210%, -110% 50%)
}
/* a weighted foot so a horizon reads against the sky */
.image-shade {
  position: relative
}
.image-shade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 20, 14, 0) 0%, rgba(9, 20, 14, .30) 55%, rgba(9, 20, 14, .62) 100%);
  z-index: 1
}
.image-shade figcaption {
  z-index: 2
}
.image-reveal.scroll-zoom img {
  transition: none
}
.image-reveal figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .93);
  background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent)
}
/* â•â• pinned horizontal gallery â€” the page holds until the last plate has passed â•â• */
.pinned-gallery {
  position: relative
}
.pinned-gallery-sticky {
  position: sticky;
  top: 0; /* set by site.js (sizePins) so the panel pins centred on screen */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, calc(3.2vh / var(--z, 1)), 40px)
}
.pinned-gallery-head {
  padding-inline: var(--gut);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px
}
.pinned-gallery-count {
  font-family: var(--stack);
  font-weight: 200;
  font-size: clamp(13px, calc(1.05vw / var(--z, 1)), 16px);
  color: var(--faint);
  font-variant-numeric: tabular-nums
}
.pinned-gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(18px, calc(2.4vw / var(--z, 1)), 52px);
  width: max-content;
  will-change: transform;
  padding-inline: var(--gut)
}
.pinned-gallery-track.is-auto-sliding {
  transition: transform .9s var(--ease)
}
.pinned-gallery-track figure {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center
}
.pinned-gallery-track figure img {
  height: min(calc(58svh / var(--z, 1)), var(--nh, calc(58svh / var(--z, 1))));
  width: auto;
  max-width: none;
  display: block
}
.pinned-gallery.compact .pinned-gallery-track figure img {
  height: min(calc(48svh / var(--z, 1)), var(--nh, calc(48svh / var(--z, 1))))
}
.pinned-gallery-track figcaption {
  padding-top: 16px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint)
}
.gallery-progress {
  margin-inline: var(--gut);
  height: 1px;
  background: var(--line)
}
.gallery-progress i {
  display: block;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .1s linear
}
.gallery-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: clamp(14px, calc(1.6vw / var(--z, 1)), 24px)
}
.gallery-note i {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--line)
}
@media (max-width:660px) {
  .pinned-gallery-track figure img {
    height: min(calc(46svh / var(--z, 1)), var(--nh, calc(46svh / var(--z, 1))))
  }
}
/* â•â• the Marvel chevrons, pointing the way â•â• */
.chevron-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 4px
}
.chevron-arrow svg {
  width: 30px;
  height: 18px;
  overflow: visible
}
.chevron-arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .7s var(--ease), opacity .6s var(--ease)
}
.chevron-arrow .chevron-2 {
  opacity: .5
}
a:hover .chevron-arrow .chevron-1, button:hover .chevron-arrow .chevron-1 {
  transform: translateX(11px)
}
a:hover .chevron-arrow .chevron-2, button:hover .chevron-arrow .chevron-2 {
  transform: translateX(11px);
  opacity: 1;
  transition-delay: .07s
}
a:hover .chevron-arrow .chevron-3, button:hover .chevron-arrow .chevron-3 {
  transform: translateX(11px);
  opacity: .45;
  transition-delay: .14s
}
.chevron-arrow .chevron-3 {
  opacity: 0
}
/* â•â• the reading page â•â• */
.article {
  padding-top: clamp(118px, calc(17vh / var(--z, 1)), 200px);
  padding-bottom: clamp(60px, calc(8vw / var(--z, 1)), 120px)
}
.article-wrap {
  max-width: 70ch;
  margin-inline: auto
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  padding-block: clamp(18px, calc(2vw / var(--z, 1)), 28px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-block: clamp(24px, calc(3vw / var(--z, 1)), 44px)
}
.article-lead {
  font-size: clamp(19px, calc(1.62vw / var(--z, 1)), 25px);
  line-height: 1.62;
  color: var(--ink-2);
  font-weight: var(--w-body);
  margin-bottom: clamp(22px, calc(2.4vw / var(--z, 1)), 36px)
}
.article-body p {
  font-size: clamp(17px, calc(1.2vw / var(--z, 1)), 19.5px);
  line-height: 1.92;
  color: var(--ink-2);
  margin-bottom: clamp(18px, calc(1.8vw / var(--z, 1)), 28px)
}
.article-body h2 {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(24px, calc(2.3vw / var(--z, 1)), 36px);
  line-height: 1.22;
  letter-spacing: var(--track-head);
  margin-top: clamp(34px, calc(3.6vw / var(--z, 1)), 58px);
  margin-bottom: clamp(12px, calc(1.2vw / var(--z, 1)), 18px)
}
.article-body ul {
  margin: 0 0 clamp(18px, calc(1.8vw / var(--z, 1)), 28px);
  padding-left: 20px
}
.article-body li {
  font-size: clamp(16px, calc(1.12vw / var(--z, 1)), 18.5px);
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 8px
}
.article-body strong {
  font-weight: 400;
  color: var(--ink)
}
.pull-quote {
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  font-size: clamp(23px, calc(2.2vw / var(--z, 1)), 34px);
  line-height: 1.35;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: clamp(18px, calc(2vw / var(--z, 1)), 30px);
  margin-block: clamp(30px, calc(3.4vw / var(--z, 1)), 52px)
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: clamp(22px, calc(2.6vw / var(--z, 1)), 40px);
  transition: color .4s
}
.article-back:hover {
  color: var(--accent)
}
.article-back span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor
}
.article-end {
  margin-top: clamp(40px, calc(4.6vw / var(--z, 1)), 78px);
  padding-top: clamp(24px, calc(2.6vw / var(--z, 1)), 40px);
}
/* â•â• values â•â• */
.values {
  border-top: 1px solid var(--line)
}
.value {
  display: grid;
  grid-template-columns: auto 1fr 1.25fr;
  gap: clamp(16px, calc(3vw / var(--z, 1)), 56px);
  align-items: baseline;
  padding-block: clamp(22px, calc(2.8vw / var(--z, 1)), 42px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .7s var(--ease)
}
.value::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--vc, var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .8s var(--ease)
}
.value:hover::before {
  transform: scaleX(1);
  transform-origin: left
}
.value:hover {
  padding-left: clamp(8px, calc(1.3vw / var(--z, 1)), 22px)
}
.value .value-number {
  font-family: var(--stack);
  font-weight: 200;
  font-size: clamp(22px, calc(2vw / var(--z, 1)), 30px);
  color: var(--vc, var(--faint));
  font-variant-numeric: tabular-nums
}
.value .value-title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(22px, calc(2.5vw / var(--z, 1)), 37px);
  line-height: 1.16;
  letter-spacing: var(--track-head);
  background-image: var(--vg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 100%;
  background-position: 10% 0;
  transition: background-position 1.1s var(--ease)
}
.value:hover .value-title {
  background-position: 90% 0
}
.value .value-text {
  color: var(--muted);
  font-size: clamp(15px, calc(1.08vw / var(--z, 1)), 17.5px);
  line-height: 1.85
}
@media (max-width:760px) {
  .value {
    grid-template-columns: auto 1fr;
    gap: 12px
  }
  .value .value-text {
    grid-column: 1 / -1
  }
}
/* â•â• modal â•â• */
.modal {
  position: fixed;
  inset: 0;
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, calc(4vw / var(--z, 1)), 48px)
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto
}
.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 39, 31, .42);
  backdrop-filter: blur(10px)
}
.modal-box {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  max-height: calc(88svh / var(--z, 1));
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(26px, calc(3.4vw / var(--z, 1)), 52px);
  box-shadow: 0 44px 120px rgba(22, 39, 31, .28);
  transform: translateY(22px) scale(.985);
  transition: transform .7s var(--ease)
}
.modal.is-open .modal-box {
  transform: none
}
.modal-box .menu-close {
  position: absolute;
  top: 10px;
  right: 10px
}
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head)
}
/* â•â• one number, its own band â€” never wraps â•â• */
.stat-band {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: clamp(12px, calc(1.4vw / var(--z, 1)), 26px);
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, calc(2vw / var(--z, 1)), 32px);
  margin-top: clamp(26px, calc(3.2vw / var(--z, 1)), 52px)
}
.stat-band b {
  font-family: var(--stack);
  font-weight: 200;
  font-size: clamp(44px, calc(6.8vw / var(--z, 1)), 112px);
  letter-spacing: -.034em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums
}
.stat-band s {
  text-decoration: none;
  font-size: clamp(13px, calc(1.25vw / var(--z, 1)), 19px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap
}
.stat-band em {
  font-style: normal;
  margin-left: auto;
  font-size: clamp(13px, calc(1.02vw / var(--z, 1)), 16px);
  color: var(--muted);
  text-align: right;
  line-height: 1.5
}
@media (max-width:660px) {
  .stat-band {
    flex-wrap: wrap
  }
  .stat-band em {
    margin-left: 0;
    width: 100%;
    text-align: left
  }
}
/* â•â• full-screen shot â€” Marvel 2 â•â• */
/* full width, natural height — the entire frame is visible, never cropped */
.fullshot {
  position: relative;
  width: calc(100vw / var(--z, 1));
  margin-left: calc(50% - calc(50vw / var(--z, 1)));
  overflow: visible;
  background: var(--deeper);
  line-height: 0
}
.fullshot-media {
  position: relative;
  display: block;
  will-change: clip-path;
  clip-path: inset(6% 4% 6% 4%);
  transition: clip-path 1.6s var(--ease)
}
.fullshot.is-visible .fullshot-media {
  clip-path: inset(0 0 0 0)
}
.fullshot-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.045);
  transform-origin: 50% 62%;
  transition: transform 2.8s var(--ease);
  will-change: transform
}
.fullshot.is-visible .fullshot-media img {
  transform: scale(1)
}
.fullshot-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  line-height: 0;
  background: linear-gradient(180deg, rgba(8, 20, 14, .30) 0%, rgba(8, 20, 14, 0) 26%, rgba(8, 20, 14, 0) 58%, rgba(8, 20, 14, .62) 100%)
}
.fullshot-caption {
  position: absolute;
  left: var(--gut);
  bottom: clamp(22px, calc(3.4vw / var(--z, 1)), 52px);
  z-index: 2;
  line-height: 1.3;
  font-family: var(--stack);
  font-weight: 500;
  font-size: clamp(11px, calc(.85vw / var(--z, 1)), 13px);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(244, 247, 241, .92);
  text-shadow: 0 1px 20px rgba(6, 18, 12, .7);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s var(--ease) .5s, transform 1.4s var(--ease) .5s
}
.fullshot.is-visible .fullshot-caption {
  opacity: 1;
  transform: none
}
@media (prefers-reduced-motion:reduce) {
  .fullshot-media {
    clip-path: none
  }
  .fullshot-media img {
    transform: none
  }
  .fullshot-caption {
    opacity: 1;
    transform: none
  }
}
.fullshot+.fullshot {
  margin-top: clamp(10px, calc(1.4vw / var(--z, 1)), 22px)
}
/* â•â• full-bleed plate: image at full width, own ratio, no crop â•â• */
.full-bleed {
  width: 100%;
  padding-inline: var(--gut)
}
.full-bleed-inner {
  max-width: min(100%, 1360px);
  margin-inline: auto
}
/* â•â• layout â•â• */
.wrap {
  padding-inline: var(--gut)
}
.container {
  max-width: 1580px;
  margin-inline: auto
}
.section {
  padding-block: clamp(54px, calc(7.5vw / var(--z, 1)), 118px)
}
.section.tight {
  padding-block: clamp(38px, calc(5.4vw / var(--z, 1)), 78px)
}
.section.tighter {
  padding-block: clamp(26px, calc(3.5vw / var(--z, 1)), 52px)
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, calc(5.2vw / var(--z, 1)), 100px);
  align-items: center
}
.grid-2.align-top {
  align-items: start
}
.grid-2.wide-first {
  grid-template-columns: 1.3fr 1fr
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, calc(2.4vw / var(--z, 1)), 52px)
}
.dark .stat-number s {
  color: #D2A183
}
/* â•â• dark â•â• */
.dark {
  background: var(--deep);
  color: #EFEAE2
}
.dark .body, .dark .small {
  color: #A8B0A8
}
.dark .eyebrow {
  color: #D2A183
}
.dark .eyebrow.muted {
  color: #7C857C
}
.dark .lead {
  color: #DCD6CC
}
.dark .divider {
  background: rgba(247, 245, 240, .18)
}
.dark .rows, .dark .row {
  border-color: rgba(247, 245, 240, .18)
}
.dark .row .row-number, .dark .row .row-meta {
  color: #7C857C
}
.dark .row:hover .row-title {
  color: #D2A183
}
.dark .btn.ghost {
  border-color: rgba(247, 245, 240, .28);
  color: #EFEAE2
}
.dark .arrow {
  color: #D2A183
}
/* â•â• header + menu â•â• */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding: var(--bar-pad) var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 245, 240, .82);
  backdrop-filter: blur(20px) saturate(1.12);
  box-shadow: 0 1px 0 var(--line-2);
  transition: background .5s var(--ease), padding .5s var(--ease), opacity .4s
}
header.is-solid {
  background: rgba(247, 245, 240, .95);
  padding-block: clamp(9px, calc(1vw / var(--z, 1)), 14px)
}
header.is-hidden {
  opacity: 0;
  pointer-events: none
}
header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--p-green), var(--p-gold) 34%, var(--p-water) 67%, var(--p-terra));
  opacity: 0;
  transition: opacity .6s var(--ease)
}
header.is-solid::after {
  opacity: .55
}
.brand img {
  height: var(--logo-h);
  width: auto;
  transition: filter .5s
}
.header-nav {
  display: flex;
  align-items: center
}
.nav-link {
  position: relative;
  font-family: var(--stack);
  text-transform: uppercase;
  color: var(--nav);
  padding-block: 8px;
  transition: color .5s
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--p-green), var(--p-gold) 34%, var(--p-water) 67%, var(--p-terra));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease)
}
.nav-link:hover::after, .nav-link.is-current::after {
  transform: scaleX(1);
  transform-origin: left
}
.nav-link.is-current {
  color: var(--nav)
}
.nav-link:hover {
  color: var(--nav)
}
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border: 1px solid rgba(18, 32, 26, .32);
  border-radius: 23px;
  font-family: var(--stack);
  text-transform: uppercase;
  color: var(--nav);
  position: relative;
  overflow: hidden;
  transition: color .6s var(--ease), border-color .6s
}
.nav-button span {
  position: relative;
  z-index: 2
}
.nav-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .7s var(--ease)
}
.nav-button:hover {
  color: #F7F5F0;
  border-color: var(--accent)
}
.nav-button:hover::before {
  transform: translateY(0)
}
/* ═══════════════════════════════════════════════════════════════════
   FULL-SCREEN MENU (tablet + phone) — the only place the menu is styled.
   The top bar uses the same height, logo size and button box as the
   header, so opening/closing the menu never shifts the logo or the icon.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bar-pad: clamp(11px, calc(1.2vw / var(--z, 1)), 18px);   /* header + menu top bar */
  --logo-h: clamp(27px, calc(2.3vw / var(--z, 1)), 34px);
}

/* burger (header) */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle i {
  display: block;
  height: 1.5px;
  background: var(--nav);
  transition: width .5s var(--ease), background .5s;
}
.menu-toggle i:nth-child(1) { width: 26px }
.menu-toggle i:nth-child(2) { width: 17px }
.menu-toggle:hover i:nth-child(2) { width: 26px }

/* panel */
.menu {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gut) max(20px, env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .6s var(--ease);
}

/* top bar — mirrors the header exactly */
.menu-top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--bar-pad);
  border-bottom: 1px solid var(--line-2);
}
.menu-top img {
  height: var(--logo-h);
  width: auto;
}
.menu-top .menu-close {
  width: 46px;
  height: 46px;
}
.menu-top .menu-close::before, .menu-top .menu-close::after {
  left: auto;
  right: 0;
  top: 50%;
  width: 26px;
  height: 1.5px;
  margin-top: -.75px;
  background: var(--nav);
  transition: transform .6s var(--ease);
}
.menu-top .menu-close::before { transform: rotate(0) }
.menu-top .menu-close::after { transform: rotate(0) }
.menu.is-open .menu-top .menu-close::before { transform: rotate(45deg) }
.menu.is-open .menu-top .menu-close::after { transform: rotate(-45deg) }

/* links + side column */
.menu-grid {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  column-gap: clamp(40px, calc(6vw / var(--z, 1)), 90px);
  align-content: center;
  padding-block: clamp(28px, calc(5vh / var(--z, 1)), 64px);
}
.menu-list {
  counter-reset: menu;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.menu-list a {
  counter-increment: menu;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: clamp(14px, calc(1.6vw / var(--z, 1)), 22px);
  padding: clamp(12px, calc(1.6vh / var(--z, 1)), 18px) 28px clamp(12px, calc(1.6vh / var(--z, 1)), 18px) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  font-size: clamp(26px, calc(4.2vw / var(--z, 1)), 44px);
  line-height: 1.1;
  color: var(--nav);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), color .45s, padding-left .55s var(--ease);
}
.menu-list a::before {
  content: counter(menu, decimal-leading-zero);
  font-family: var(--stack);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--accent);
  transform: translateY(-.35em);
}
.menu-list a::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: .35;
  transition: opacity .45s, right .55s var(--ease);
}
.menu-list a:hover, .menu-list a.is-current { color: var(--accent) }
.menu-list a:hover { padding-left: 10px }
.menu-list a:hover::after, .menu-list a.is-current::after { opacity: 1; right: 0 }
.menu.is-open .menu-list a { opacity: 1; transform: none }
.menu.is-open .menu-list a:nth-child(1) { transition-delay: .08s, .08s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(2) { transition-delay: .13s, .13s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(3) { transition-delay: .18s, .18s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(4) { transition-delay: .23s, .23s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(5) { transition-delay: .28s, .28s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(6) { transition-delay: .33s, .33s, 0s, 0s }
.menu.is-open .menu-list a:nth-child(7) { transition-delay: .38s, .38s, 0s, 0s }

.menu-side {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, calc(2.6vw / var(--z, 1)), 40px);
}
.menu-contact-extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-phone {
  font-family: var(--stack);
  font-weight: 300;
  font-size: clamp(22px, calc(2.25vw / var(--z, 1)), 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.menu-email {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.menu-social {
  display: flex;
  gap: 10px;
}
.menu-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.menu-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}
.menu-social svg { display: block; width: 16px; height: 16px }
.menu-social a:first-child svg { fill: none; stroke: currentColor; stroke-width: 1.7 }
.menu-social a:nth-child(n+2) svg { fill: currentColor }


/* contact + social fade in after the links */
.menu-side {
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.menu.is-open .menu-side {
  opacity: 1;
  transition-delay: .4s;
}

@media (max-width:1080px) {
  .menu-toggle { display: flex }
}
@media (max-width:660px) {
  :root {
    --bar-pad: 8px;
    --logo-h: 28px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 32px;
    padding-block: 26px 28px;
  }
  .menu-list a { font-size: 24px }
  .menu-side > .stack.tight { display: none }   /* Marvel chips + tagline: tablet/desktop only */
  .menu-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }
  .menu-phone { font-size: 22px }
}
@media (prefers-reduced-motion: reduce) {
  .menu-list a, .menu-side { opacity: 1; transform: none }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}
.chip {
  font-family: var(--stack);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .08em;
  padding: 9px 16px;
  border: 1px solid var(--line);
  color: var(--nav);
  transition: border-color .5s, color .5s
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent)
}
.menu-close {
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative
}
.menu-close::before, .menu-close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  width: 22px;
  height: 1px;
  background: var(--ink)
}
.menu-close::before {
  transform: rotate(45deg)
}
.menu-close::after {
  transform: rotate(-45deg)
}
/* â•â• hover reveal â•â• */
.enquiry-dialog {
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(156,106,88,.3);
  background: var(--cream, #f5f2eb);
  color: var(--ink, #16271f);
  overflow: auto;
}
.enquiry-dialog::backdrop { background: rgba(12,29,20,.65); }
.enquiry-dialog h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 14px 0; }
.enquiry-dialog > p { margin-bottom: 20px; }
.enquiry-close { position: absolute; top: 8px; right: 12px; font-size: 32px; cursor: pointer; background: none; border: 0; color: inherit; }
.enquiry-form { display: grid; gap: 18px; }
.enquiry-form .field input { width: 100%; }
.enquiry-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; }
.enquiry-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.enquiry-consent a { text-decoration: underline; }
#enquiryStatus { font-size: 14px; margin: 0; }
#enquiryStatus:empty { display: none; }
.enquiry-form button:disabled { opacity: .6; cursor: wait; }
.enquiry-dialog :focus-visible { outline: 2px solid var(--accent, #9c6a58); outline-offset: 3px; }
.enquiry-thanks { min-height: 65vh; padding-top: 160px; }
.enquiry-thanks h1 { font-size: clamp(32px, 5vw, 64px); line-height: 1.12; max-width: 18ch; }
.enquiry-thanks p { max-width: 60ch; margin: 24px 0; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hover-preview {
  position: fixed;
  z-index: 96;
  top: 0;
  left: 0;
  width: clamp(230px, calc(23vw / var(--z, 1)), 380px);
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  will-change: transform;
  transition: opacity .55s var(--ease);
  box-shadow: 0 30px 80px rgba(22, 39, 31, .3)
}
.hover-preview.is-current {
  opacity: 1
}
.hover-preview img {
  width: 100%
}
body[data-page="marvel"] .hover-preview {
  aspect-ratio: 16 / 9;
  transition: opacity .12s ease-out;
}
body[data-page="marvel"] .hover-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-page="marvel"] .hover-preview > .image-needed-placeholder {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}
body[data-page="marvel"] .hover-preview .hover-preview-mask {
  display: none;
}
.image-needed-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 28px;
  background: #EAE5D9;
  border: 1px dashed rgba(156, 106, 88, .55);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.is-image-needed > .image-needed-placeholder { display: flex }
.is-image-needed > img { visibility: hidden }
.hover-preview.is-image-needed > img { display: none }
.legend-side-image > .image-needed-placeholder {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding-bottom: 60px;
}
.image-needed-label {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 3px 9px;
  border: 1px dashed rgba(156, 106, 88, .5);
  background: rgba(234, 229, 217, .6);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .04em;
}
.hover-preview-mask {
  position: absolute;
  inset: 0;
  background: var(--cream);
  transition: transform .8s var(--ease)
}
.hover-preview.is-current .hover-preview-mask {
  transform: translateY(-101%)
}
@media (hover:none) {
  .hover-preview {
    display: none
  }
}
/* â•â• rail â•â• */
.rail {
  position: fixed;
  right: clamp(14px, calc(1.6vw / var(--z, 1)), 30px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s
}
/* each entry is only as wide as what it shows, so the rail never covers
   links sitting at the right edge of the content */
.rail.is-shown {
  opacity: 1;
  align-items: flex-end;
  pointer-events: none
}
.rail.is-shown a {
  pointer-events: auto
}
.rail.is-shown.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(10px, -50%);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.rail.is-shown.is-scroll-hidden a { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .rail, .rail.is-shown.is-scroll-hidden { transition: none; transform: translateY(-50%); }
}
.rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 5px 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color .45s var(--ease)
}
.rail a em {
  font-style: normal;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width .7s var(--ease), opacity .5s
}
.rail a u {
  text-decoration: none;
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease)
}
.rail:hover a em, .rail a.is-current em {
  max-width: 200px;
  opacity: 1
}
.rail a.is-current {
  color: var(--accent)
}
.rail a.is-current u {
  width: 30px
}
.rail a:hover {
  color: var(--ink)
}
@media (max-width:1100px) {
  .rail {
    display: none
  }
}
/* â•â• rows, lists, accordion, form â•â• */
.rows {
  border-top: 1px solid var(--line)
}
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, calc(3vw / var(--z, 1)), 48px);
  align-items: baseline;
  padding-block: clamp(22px, calc(2.7vw / var(--z, 1)), 40px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .7s var(--ease)
}
.row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .8s var(--ease)
}
.row:hover::before {
  transform: scaleX(1);
  transform-origin: left
}
.row:hover {
  padding-left: clamp(8px, calc(1.3vw / var(--z, 1)), 20px)
}
.row .row-title {
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(22px, calc(2.9vw / var(--z, 1)), 44px);
  line-height: 1.18;
  letter-spacing: var(--track-head);
  transition: color .5s
}
.row:hover .row-title {
  color: var(--accent)
}
.row .row-number, .row .row-meta {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--faint)
}
.row .row-meta {
  text-transform: uppercase;
  white-space: nowrap
}
.two-columns {
  columns: 2;
  column-gap: clamp(24px, calc(3vw / var(--z, 1)), 54px)
}
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0
}
.tick-list li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  font-size: clamp(14px, calc(1.02vw / var(--z, 1)), 16.5px);
  color: var(--ink-2);
  break-inside: avoid
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 1px;
  background: var(--accent)
}
.accordion {
  border-top: 1px solid var(--line)
}
.accordion details {
  border-bottom: 1px solid var(--line)
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding-block: clamp(18px, calc(2vw / var(--z, 1)), 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  font-size: clamp(19px, calc(1.75vw / var(--z, 1)), 27px);
  transition: color .45s
}
.accordion summary::-webkit-details-marker {
  display: none
}
.accordion summary:hover {
  color: var(--accent)
}
.accordion summary .accordion-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto
}
.accordion summary .accordion-icon::before, .accordion summary .accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .5s var(--ease), opacity .4s
}
.accordion summary .accordion-icon::before {
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1px
}
.accordion summary .accordion-icon::after {
  left: 6.5px;
  top: 0;
  width: 1px;
  height: 14px
}
.accordion details[open] summary .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0
}
.accordion .accordion-body {
  padding-bottom: clamp(20px, calc(2.2vw / var(--z, 1)), 36px)
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px
}
.field label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint)
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 17px;
  font-weight: 300;
  transition: border-color .5s
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent)
}
.btn {
  display: inline-flex;
  align-items: center;
  /* never stretch to fill a column; size to the label */
  justify-self: start;
  align-self: start;
  gap: 14px;
  /* 48px tall on phones, growing to 58px from ~1080px wide (desktop unchanged) */
  height: clamp(48px, calc(10px + 4.45vw / var(--z, 1)), 58px);
  padding: 0 clamp(24px, calc(4px + 3vw / var(--z, 1)), 36px);
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .6s var(--ease)
}
.btn span {
  position: relative;
  z-index: 2
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .7s var(--ease)
}
.btn:hover::before {
  transform: translateY(0)
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink)
}
.btn.ghost:hover {
  color: var(--cream)
}
.arrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent)
}
.arrow i {
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  transition: width .6s var(--ease)
}
.arrow:hover i {
  width: 52px
}
.wordmark {
  width: clamp(200px, calc(28vw / var(--z, 1)), 500px)
}
.partner-marks {
  display: flex;
  align-items: center;
  gap: clamp(22px, calc(3vw / var(--z, 1)), 48px);
  margin-top: clamp(28px, calc(3vw / var(--z, 1)), 48px);
  padding-block: clamp(18px, calc(2vw / var(--z, 1)), 30px);
  border-block: 1px solid rgba(247, 245, 240, .18)
}
.partner-marks img {
  display: block;
  width: clamp(110px, calc(12vw / var(--z, 1)), 180px);
  max-height: 58px;
  object-fit: contain;
  object-position: left center
}
/* the cream plate hugs the J-ONE mark: height sets the size, width follows the logo */
.partner-marks img:first-child {
  width: auto;
  height: clamp(46px, calc(4vw / var(--z, 1)), 58px);
  max-height: none;
  background: var(--cream);
  padding: 10px 14px;
  box-sizing: border-box
}
.partner-marks img+img {
  width: clamp(150px, calc(18vw / var(--z, 1)), 270px)
}
.partner-band .small {
  margin-top: 18px;
  color: #A8B0A8
}
footer {
  border-top: 1px solid var(--line);
  padding: clamp(52px, calc(6vw / var(--z, 1)), 98px) var(--gut) clamp(26px, calc(3vw / var(--z, 1)), 44px)
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(26px, calc(3.2vw / var(--z, 1)), 62px)
}
.footer-grid a {
  display: block;
  padding-block: 7px;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .45s, padding-left .55s var(--ease)
}
.footer-grid a:hover {
  color: var(--accent);
  padding-left: 8px
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(34px, calc(4vw / var(--z, 1)), 68px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--faint)
}
@media (max-width:1080px) {
  .grid-2, .grid-2.wide-first, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .offset {
    grid-template-columns: 1fr
  }
  .offset>* {
    grid-column: 1
  }
  .nav-link {
    display: none
  }
  .hero-stage {
    height: calc(225vh / var(--z, 1))
  }
  .chapter-head {
    position: static
  }
}
@media (max-width:660px) {
  .grid-2, .grid-2.wide-first, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr
  }
  .two-columns {
    columns: 1
  }
  .row {
    grid-template-columns: 1fr;
    gap: 6px
  }
  .row .row-meta {
    white-space: normal
  }
  .hero-stage {
    height: calc(190vh / var(--z, 1))
  }
  .chapter-statement {
    max-width: none
  }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important
  }
  .word>i, .reveal-up, .chapter-head .chapter-icon {
    transform: none;
    opacity: 1
  }
  .image-reveal, .image-reveal.is-visible, .image-reveal.chevron-reveal, .image-reveal.chevron-reveal.is-visible {
    clip-path: none
  }
  .image-reveal img, .image-reveal.chevron-reveal img {
    transform: none;
    filter: none
  }
  .hero-stage {
    height: auto
  }
  .hero-sticky {
    position: relative;
    height: auto;
    display: block
  }
  .hero-image {
    position: relative;
    clip-path: none;
    height: calc(70svh / var(--z, 1))
  }
  .scroll-fill {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--accent)
  }
}
/* Responsive hardening for the existing layouts. */
button, a, input {
  touch-action: manipulation
}
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px
}
.grid-2>*, .grid-3>* , .grid-4>* , .footer-grid>* {
  min-width: 0
}
.field input, .field textarea, .field select {
  max-width: 100%;
  min-width: 0
}
video, iframe {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto
}
.modal-box {
  overscroll-behavior: contain
}
@media (max-width:991px) {
  :root {
    --gut: 2.5%
  }
  .wrap, .full-bleed {
    width: 95%;
    margin-inline: auto;
    padding-inline: 0
  }
  .container {
    max-width: none
  }
  .section {
    padding-block: clamp(28px, calc(5.5vw / var(--z, 1)), 62px)
  }
  .section.tight {
    padding-block: clamp(24px, calc(4vw / var(--z, 1)), 42px)
  }
  .chapter {
    padding-block: clamp(24px, calc(5.5vw / var(--z, 1)), 54px)
  }
  .hero-caption {
    left: 2.5%;
    right: 2.5%
  }
  .hero-scroll-cue {
    left: 2.5%
  }
}
@media (max-width:660px) {
  .wrap, .full-bleed {
    width: 95%
  }
  .hero-place {
    letter-spacing: .2em
  }
  .hero-scroll-cue i {
    width: 42px
  }
  .hero-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
  }
  .hero-place {
    text-align: left
  }
  .grid-2, .grid-3, .grid-4, .footer-grid {
    gap: 25px
  }
  .statement {
    padding-inline: 0
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px
  }
  .partner-marks {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px
  }
  .partner-marks img, .partner-marks img+img {
    width: min(100%, 220px);
    max-height: 52px
  }
  .row .row-title {
    overflow-wrap: anywhere
  }
  .modal-box {
    width: calc(100% - 24px);
    padding: 24px 18px
  }
  .grid-2[style*="gap:22px"] {
    gap: 18px!important
  }
}
/* Keep the page complete if JavaScript is blocked or still loading. */
html:not(.js-ready) .image-reveal, html:not(.js-ready) .image-reveal.chevron-reveal {
  clip-path: none;
  transform: none;
}
html:not(.js-ready) .hero-image {
  clip-path: none
}
html:not(.js-ready) .hero-caption {
  opacity: 1;
  transform: none
}
html:not(.js-ready) .chapter-head .chapter-icon {
  opacity: 1;
  transform: none
}
html:not(.js-ready) .image-reveal img, html:not(.js-ready) .image-reveal.chevron-reveal img, html:not(.js-ready) .fullshot-media img {
  transform: none;
  filter: none;
}
html:not(.js-ready) .fullshot-media {
  clip-path: none;
}
html:not(.js-ready) .fullshot-caption {
  opacity: 1;
  transform: none;
}
html:not(.js-ready) .divider {
  transform: scaleX(1);
}
/* â•â• the sum band â€” two areas adding up to one figure â•â• */
.sum-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(22px, calc(3.2vw / var(--z, 1)), 60px);
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, calc(3.2vw / var(--z, 1)), 50px)
}
.sum-row .sum-operator {
  align-self: center;
  font-family: var(--stack);
  font-weight: 200;
  line-height: .9;
  font-size: clamp(30px, calc(4.2vw / var(--z, 1)), 70px);
  color: var(--accent);
  transform: translateY(-.14em)
}
.sum-cell .stat-heading {
  font-size: clamp(15px, calc(1.15vw / var(--z, 1)), 19px);
  color: var(--ink);
  font-weight: var(--w-strong);
  letter-spacing: -.004em;
  margin-top: 16px;
  line-height: 1.4
}
.sum-cell .stat-label {
  margin-top: 5px
}
.sum-close {
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  line-height: 1.18;
  color: var(--accent);
  max-width: 24ch
}
@media (max-width:860px) {
  .sum-row {
    grid-template-columns: 1fr;
    gap: clamp(18px, calc(4vw / var(--z, 1)), 30px)
  }
  .sum-row .sum-operator {
    transform: none;
    font-size: clamp(26px, calc(7vw / var(--z, 1)), 44px)
  }
}
/* â•â• laptop type scale â€” max caps unchanged, so the 4K presentation is identical â•â• */
.heading {
  overflow-wrap: break-word
}
.heading, .heading .word, .heading .word>i {
  height: auto;
  min-height: 0;
  max-height: none
}
/* Headings: each word rises out of its own mask (as in the reference build).
   A little room above and below so ascenders/descenders are never clipped. */
.heading .word {
  overflow: hidden;
  padding: .16em .05em .32em;
  margin: -.16em -.05em -.32em
}
.lead {
  font-size: clamp(19px, calc(1.6vw / var(--z, 1)), 31px)
}
.stat-number b {
  font-size: clamp(50px, calc(4.8vw / var(--z, 1)), 124px)
}
.sum-close {
  font-size: clamp(23px, calc(2.1vw / var(--z, 1)), 46px)
}
/* Standalone page type and spacing */
.view h1.heading, .view h2.heading:not(#heroFlow), .view h3.heading {
  line-height: 1.08
}
.view .body, .view .small {
  font-size: 16px;
  line-height: 1.6;
}
.view .tick-list li, .view .stat-label {
  font-size: 16px;
  line-height: 1.6;
}
.view .section {
  scroll-margin-top: clamp(64px, calc(6vw / var(--z, 1)), 96px);
}
@media (max-width:991px) {
  .view .body, .view .small, .view .tick-list li, .view .stat-label {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media (max-width:660px) {
  .view .body, .view .small, .view .tick-list li, .view .stat-label {
    font-size: 14px;
    line-height: 1.6;
  }
  .view .section {
    padding-block: clamp(28px, calc(7vw / var(--z, 1)), 44px)
  }
}
.view .section, .view .chapter {
  padding-block: 100px
}
.view .wrap.container.statement {
  padding-bottom: 100px
}
.view :is(.section, .chapter) + :is(.section, .chapter) {
  padding-top: 100px
}
.view :is(.section, .chapter):has(+ :is(.section, .chapter)) {
  padding-bottom: 0
}
@media (max-width:991px) {
  .view .section, .view .chapter {
    padding-block: 50px
  }
  .view .wrap.container.statement {
    padding-bottom: 50px
  }
  .view :is(.section, .chapter) + :is(.section, .chapter) {
    padding-top: 50px
  }
  .view :is(.section, .chapter):has(+ :is(.section, .chapter)) {
    padding-bottom: 0
  }
}
@media (max-width:660px) {
  .view .section, .view .chapter {
    padding-block: 30px
  }
  .view .wrap.container.statement {
    padding-bottom: 30px
  }
  .view :is(.section, .chapter) + :is(.section, .chapter) {
    padding-top: 30px
  }
  .view :is(.section, .chapter):has(+ :is(.section, .chapter)) {
    padding-bottom: 0
  }
}
@media (max-width:420px) {
  :root {
    --gut: 16px
  }
  .wrap, .full-bleed {
    width: 100%;
    padding-inline: var(--gut)
  }
  .statement {
    padding-inline: var(--gut)
  }
  .lead {
    font-size: 18px
  }
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }
  .stat-number b {
    font-size: clamp(48px, calc(15vw / var(--z, 1)), 74px)
  }
}
@media (max-width:1080px) {
  .header-nav .nav-button {
    display: none
  }
}
/* Compact mobile header/menu: one viewport, no internal menu scrolling. */
@media (max-width:660px) {
  header.is-solid {
    padding-block: 7px
  }
}
/* Final navigation sizing: larger type, clearer item spacing and fluid width. */
.brand {
  flex: 0 1 auto;
  min-width: 0
}
.header-nav {
  flex: 0 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: clamp(18px, calc(2.45vw / var(--z, 1)), 42px)
}
.nav-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .115em;
  white-space: nowrap
}
.nav-button {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .115em;
  white-space: nowrap
}
@media (max-width:1080px) {
  .header-nav {
    gap: 0
  }
}
/* Fluid display type: larger on every viewport, with no fixed-height clipping. */
.heading {
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  text-wrap: balance
}
.heading-xl {
  font-size: 64px;
  line-height: 1.04
}
.heading-0 {
  font-size: 64px;
  line-height: 1.06
}
.heading-1 {
  font-size: 64px;
  line-height: 1.08
}
.heading-2 {
  font-size: 64px;
  line-height: 1.1
}
.heading-3 {
  font-size: 42px;
  line-height: 1.12
}
/* Landing display headline, including the JavaScript flow-on state. */
#heroFlow.heading.image-text, #heroFlow.heading.image-text.flow-on {
  font-size: clamp(52px, min(calc(23svh / var(--z, 1)), calc(22vw / var(--z, 1))), 330px);
  line-height: .84;
  max-width: 100%;
  overflow: visible;
}
@media (max-width:860px) {
  #heroFlow.heading.image-text, #heroFlow.heading.image-text.flow-on {
    font-size: clamp(48px, min(calc(20svh / var(--z, 1)), calc(28vw / var(--z, 1))), 190px)
  }
}
@media (max-width:991px) {
  .heading-xl {
    font-size: 36px
  }
  .heading-0 {
    font-size: 36px
  }
  .heading-1 {
    font-size: 36px
  }
  .heading-2 {
    font-size: 36px
  }
}
@media (max-width:660px) {
  .heading-xl {
    font-size: 28px;
    line-height: 1.05
  }
  .heading-0 {
    font-size: 28px
  }
  .heading-1 {
    font-size: 28px
  }
  .heading-2 {
    font-size: 28px
  }
  .heading-3 {
    font-size: clamp(24px, calc(6.1vw / var(--z, 1)), 39px)
  }
  #heroFlow.heading.image-text, #heroFlow.heading.image-text.flow-on {
    font-size: 64px;
    max-width: 100%
  }
}
@media (max-width:420px) {
  .heading-xl {
    font-size: 24px
  }
  .heading-0 {
    font-size: 24px
  }
  .heading-1 {
    font-size: 24px
  }
  .heading-2 {
    font-size: 24px
  }
  .heading-3 {
    font-size: clamp(23px, calc(6.3vw / var(--z, 1)), 37px)
  }
}
/* Mobile brand menu layout: balanced vertically, with deliberate link spacing. */
/* Final mobile menu composition: compact links from the top, brand details at the bottom. */
/* Keep the four statement headings balanced across two lines. */
.chapter-statement {
  max-width: 22ch!important;
  margin-bottom: 0!important
}
.chapter-statement.gradient-landscape {
  max-width: 13ch!important
}
/* Keep the Land, Landscape, Sky and Water, and Trust sections on brand width. */
.view[data-view="home"]>.chapter {
  width: 90%;
  margin-inline: auto;
}
/* Brand sections: editorial text on the left, animated image on the right. */
@media (min-width:1081px) {
  .chapter {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(30px, calc(5vw / var(--z, 1)), 96px);
    align-items: center;
  }
  .chapter>.wrap.container {
    width: auto;
    max-width: none;
    margin: 0;
    padding-inline: 0
  }
  .chapter>.full-bleed {
    width: 100%;
    margin: 0!important;
    padding-inline: 0
  }
  .chapter>.full-bleed .full-bleed-inner {
    width: 100%;
    max-width: none
  }
  .chapter>.full-bleed .image-reveal {
    width: 100%;
    max-width: 100%!important
  }
  .chapter .offset {
    grid-template-columns: 1fr
  }
  .chapter .offset>* {
    grid-column: 1
  }
}
@media (max-width:1080px) {
  .view[data-view="home"]>.chapter {
    width: 95%
  }
  .chapter {
    display: block
  }
  .chapter>.wrap.container {
    width: 100%;
    padding-inline: 0
  }
  .chapter>.full-bleed {
    margin-top: clamp(40px, calc(5vw / var(--z, 1)), 86px)!important
  }
}
/* About-page statement sections: heading left, supporting copy right (also "How we build"). */
@media (min-width:1081px) {
  .view[data-view="about"]>.wrap.container.section.statement {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(32px, calc(6vw / var(--z, 1)), 110px);
    align-items: center;
  }
  .view[data-view="about"]>.wrap.container.section.statement>.chapter-head {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 32px
  }
  .view[data-view="about"]>.wrap.container.section.statement>h2 {
    grid-column: 1;
    grid-row: 2
  }
  .view[data-view="about"]>.wrap.container.section.statement>.offset {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: block;
    margin-top: 0!important;
  }
  .view[data-view="about"]>.wrap.container.section.statement>.offset>* {
    grid-column: 1
  }
}
/* Global responsive content width: 90% desktop, 95% tablet and mobile. */
@media (min-width:1081px) {
  :root {
    --gut: 5%
  }
  .wrap, .full-bleed {
    width: 90%;
    margin-inline: auto;
    padding-inline: 0
  }
  .container {
    max-width: none
  }
  footer {
    padding-inline: 0
  }
  footer>.container {
    width: 90%;
    max-width: none;
    margin-inline: auto
  }
}
@media (max-width:1080px) {
  :root {
    --gut: 2.5%
  }
  .wrap, .full-bleed {
    width: 95%;
    margin-inline: auto;
    padding-inline: 0
  }
  .container {
    max-width: none
  }
  footer {
    padding-inline: 0
  }
  footer>.container {
    width: 95%;
    max-width: none;
    margin-inline: auto
  }
}
/* Compact About sections to keep the brand layout lighter and more refined. */
.view[data-view="about"] .wrap.container.section {
  padding-block: clamp(34px, calc(4.8vw / var(--z, 1)), 76px);
}
/* Let the Ken Burns image fill its complete brand-width container. */
.image-reveal-wrap.image-reveal.scroll-zoom {
  display: block;
  width: 100%;
  max-width: none;
}
.image-reveal-wrap.image-reveal.scroll-zoom img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
.craft-detail-bleed {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: clamp(30px, calc(3.6vw / var(--z, 1)), 60px);
}
.craft-detail-bleed .full-bleed-inner, .craft-detail-bleed .image-reveal-wrap.image-reveal.scroll-zoom {
  width: 100%;
  max-width: none!important;
}
.wrap.container.section.statement .chapter-head .chapter-icon {
  width: clamp(24px, calc(2.5vw / var(--z, 1)), 36px);
  height: clamp(24px, calc(2.5vw / var(--z, 1)), 36px);
}
/* Refined editorial layout for the purpose section. */
.about-for {
  width: 100%;
  color: var(--ink);
}
.about-for>.wrap.container.section {
  display: block;
  width: 90%;
  max-width: none;
  margin-inline: auto;
}
.about-for>.wrap.container.section>.eyebrow {
  display: block
}
.about-for>.wrap.container.section>h2 {
  max-width: 22ch;
  margin: 0;
  line-height: 1.08;
}
.about-for>.wrap.container.section>.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, calc(3.5vw / var(--z, 1)), 64px);
  margin-top: clamp(34px, calc(4vw / var(--z, 1)), 64px)!important;
  counter-reset: purpose;
}
.about-for .grid-3>.stack {
  position: relative;
  min-width: 0;
  padding-block: clamp(18px, calc(2vw / var(--z, 1)), 28px);
}
.about-for .grid-3>.stack::before {
  counter-increment: purpose;
  content: "0" counter(purpose);
  display: block;
  margin-bottom: clamp(18px, calc(2vw / var(--z, 1)), 28px);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .2em;
}
.about-for .grid-3 .heading {
  max-width: 28ch!important;
  color: var(--ink);
  font-size: clamp(18px, calc(1.65vw / var(--z, 1)), 25px);
  line-height: 1.4;
}
.about-for .grid-3 .eyebrow.muted {
  color: var(--faint)
}
@media (max-width:1080px) {
  .about-for>.wrap.container.section {
    width: 95%
  }
  .about-for>.wrap.container.section>.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}
@media (max-width:660px) {
  .about-for>.wrap.container.section>.grid-3 {
    grid-template-columns: 1fr;
    gap: 0
  }
  .about-for .grid-3 .heading {
    max-width: none!important;
    font-size: 20px
  }
}
/* About CTA: compact, editorial closing section. */
.view[data-view="about"]> .wrap.container.section:last-child {
  padding-block: clamp(34px, calc(5vw / var(--z, 1)), 78px)!important;
}
.view[data-view="about"]> .wrap.container.section:last-child>.grid-2 {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, calc(6vw / var(--z, 1)), 110px)
}
.view[data-view="about"]> .wrap.container.section:last-child .eyebrow {
  font-family: var(--display);
  font-size: clamp(28px, calc(3.4vw / var(--z, 1)), 52px);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  line-height: 1.08;
  text-transform: none;
  color: var(--ink);
}
.view[data-view="about"]> .wrap.container.section:last-child .lead {
  max-width: 30ch
}
.view[data-view="about"]> .wrap.container.section:last-child .arrow {
  margin-top: clamp(8px, calc(1vw / var(--z, 1)), 16px)
}
@media (max-width:1080px) {
  .view[data-view="about"]> .wrap.container.section:last-child>.grid-2 {
    grid-template-columns: 1fr;
    gap: 32px
  }
  .view[data-view="about"]> .wrap.container.section:last-child .eyebrow {
    font-size: 32px
  }
}
@media (max-width:660px) {
  .view[data-view="about"]> .wrap.container.section:last-child>.grid-2 {
    gap: 24px
  }
  .view[data-view="about"]> .wrap.container.section:last-child .eyebrow {
    font-size: 24px
  }
  .view[data-view="about"]> .wrap.container.section:last-child .lead {
    max-width: none
  }
}
/* Keep the closing About statement balanced across two lines. */
.view[data-view="about"] .gradient-landscape {
  max-width: 20ch!important
}
/* Marvel PHP feature sections: text left, animated image right. */
.marvel-feature-pair {
  width: 90%;
  max-width: 1580px;
  margin-inline: auto;
}
.view[data-view="marvel"] .wordmark {
  width: clamp(220px, calc(24vw / var(--z, 1)), 420px)!important;
  max-width: 100%;
}
@media (min-width:1081px) {
  .marvel-feature-pair {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: clamp(32px, calc(4vw / var(--z, 1)), 80px);
    align-items: center;
  }
  .marvel-feature-pair:has(>#masterplan) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }
  .marvel-feature-pair>.wrap.container {
    width: auto;
    max-width: none;
    margin: 0;
    padding-inline: 0;
  }
  .marvel-feature-pair>.full-bleed {
    width: 100%;
    margin: 0!important;
    padding-inline: 0;
    align-self: center;
  }
  .marvel-feature-pair>.full-bleed .full-bleed-inner, .marvel-feature-pair>.full-bleed .image-reveal {
    width: 100%;
    max-width: none!important;
  }
  .marvel-feature-pair>.marvel-cover-bleed {
    align-self: start;
    display: flex;
    min-width: 0;
  }
  .marvel-cover-bleed .full-bleed-inner, .marvel-cover-bleed .image-reveal {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
  }
  .marvel-cover-bleed .image-reveal-wrap.image-reveal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}
@media (max-width:1080px) {
  .marvel-feature-pair {
    width: 95%
  }
  .marvel-feature-pair>.full-bleed {
    margin-top: clamp(40px, calc(5vw / var(--z, 1)), 86px)!important
  }
}
#legend .grid-2.align-top .tick-list li {
  cursor: pointer;
  transition: color .25s ease, padding-left .25s ease;
}
#legend .grid-2.align-top .tick-list li:hover, #legend .grid-2.align-top .tick-list li:focus-visible {
  color: var(--accent);
  padding-left: 8px;
  outline: none;
}
.clubhouse-amenities .tick-list li {
  cursor: pointer;
  transition: color .25s ease, padding-left .25s ease;
}
.clubhouse-amenities .tick-list li:hover, .clubhouse-amenities .tick-list li:focus-visible {
  color: var(--accent);
  padding-left: 8px;
  outline: none;
}
/* Masterplan introduction: label on top, heading left, supporting lead right, drawing below (desktop, same breakpoint as every section). */
@media (min-width:1081px) {
  #masterplan {
    display: grid;
    width: 90%;
    max-width: 1580px;
    margin-inline: auto;
    padding-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, calc(6vw / var(--z, 1)), 110px);
    align-items: start;
  }
  #masterplan > :is(h1, h2, h3, h4) {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding-bottom: clamp(32px, calc(4vw / var(--z, 1)), 60px);
  }
  #masterplan > .offset {
    grid-column: 2;
    grid-row: 2;
    display: block;
    align-self: start;
    width: 100%;
    padding-left: 0;
    padding-bottom: clamp(32px, calc(4vw / var(--z, 1)), 60px);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  #masterplan > .offset > * {
    grid-column: auto;
  }
  #masterplan > .offset .lead.text-width-s {
    width: 100%;
    max-width: none;
  }
  #masterplan > .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: clamp(18px, calc(2vw / var(--z, 1)), 30px);
  }
  #masterplan > .masterplan-drawing {
    grid-column: 1 / -1;
  }
  #legend > .legend-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(36px, calc(5vw / var(--z, 1)), 88px);
    align-items: stretch;
  }
  #legend .legend-content .grid-2.align-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, calc(3vw / var(--z, 1)), 48px);
  }
  #legend .legend-side-image {
    width: 100%;
    height: 100%;
  }
  #legend .legend-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (max-width:1080px) {
  #legend .legend-content {
    display: grid;
    gap: clamp(28px, calc(6vw / var(--z, 1)), 52px);
  }
  #legend .legend-side-image img {
    width: 100%;
    height: auto;
  }
}

/* Legend: every preview sits in the same 3:2 frame, whatever the shape of the
   picture behind each zone, so the panel does not jump between hovers. */
#legend .legend-side-image.image-reveal-wrap.image-reveal {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  align-self: start;
}
#legend .legend-side-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Metric grids (.numgrid): one consistent system ──────────────────────────
   Equal-width columns sized to the item count, every metric left-aligned to its
   top rule, and one number size per grid (fitted by site.js so the widest
   figure never overflows its column). */
.stat-grid {
  --cols: 4;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  align-items: start;
}
.stat-grid:has(> :nth-child(3):last-child),
.stat-grid:has(> :nth-child(6):last-child),
.stat-grid:has(> :nth-child(5):last-child) { --cols: 3 }
.stat-grid:has(> :nth-child(5):last-child) > :nth-child(5) { grid-column: span 2 }
.stat-grid > .stat {
  min-width: 0;
  margin: 0;
  text-align: left;
}
.stat-grid .stat-number {
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 6px;
  white-space: normal;
}
.stat-grid .stat-number b { white-space: nowrap }
.stat-grid .stat-number s { white-space: nowrap }
/* Tablet: four-to-six-item grids go 2-up; three-item grids keep one row. */
@media (max-width:991px) {
  .stat-grid:has(> :nth-child(4):last-child),
  .stat-grid:has(> :nth-child(6):last-child),
  .stat-grid:has(> :nth-child(5):last-child) { --cols: 2 }
  .stat-grid:has(> :nth-child(5):last-child) > :nth-child(5) { grid-column: 1 / -1 }
}
/* Phone: everything 2-up; an odd last metric takes the full row. */
@media (max-width:660px) {
  .stat-grid:has(> :nth-child(3):last-child) { --cols: 2 }
  .stat-grid:has(> :nth-child(3):last-child) > :nth-child(3) { grid-column: 1 / -1 }
}

/* ── Footer base: copyright + legal links ── */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px
}
.footer-bottom a {
  color: inherit;
  transition: color .45s var(--ease)
}
.footer-bottom a:hover, .footer-bottom a:focus-visible {
  color: var(--accent)
}
/* ── Legal pages (terms.php, privacy.php): full 90% width ──
   Hero: heading left, intro right. Sections: one row each — number + title on
   the left, text on the right, a hairline between rows. Stacks on tablet/phone. */
.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: clamp(40px, calc(6vw / var(--z, 1)), 110px);
  align-items: end;
}
.legal-hero-side {
  gap: 22px;
}
.legal-hero-side .lead {
  margin: 0;
}
.legal-meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal-clause {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  column-gap: clamp(32px, calc(5vw / var(--z, 1)), 96px);
  padding-block: clamp(28px, calc(3vw / var(--z, 1)), 48px);
  border-top: 1px solid var(--line);
}
.legal-clause:last-child {
  border-bottom: 1px solid var(--line);
}
.legal-clause-head {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, calc(1.4vw / var(--z, 1)), 24px);
}
.legal-clause-number {
  flex: none;
  font-family: var(--stack);
  font-weight: 200;
  font-size: clamp(20px, calc(1.8vw / var(--z, 1)), 30px);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.legal-clause-head h2 {
  margin: 0;
  font-size: clamp(22px, calc(2vw / var(--z, 1)), 32px);
  line-height: 1.2;
}
.legal-clause-body {
  max-width: 72ch;
}
.legal-clause-body .body {
  font-size: 17px;
  line-height: 1.75;
}
.legal-clause-body > :first-child {
  margin-top: 0;
}
.legal-clause-body > :last-child {
  margin-bottom: 0;
}
.legal-clause-body .body {
  margin: 0 0 14px;
}
.legal-clause-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width:860px) {
  .legal-hero-grid, .legal-clause {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .legal-hero-grid {
    row-gap: 28px;
  }
  .legal-clause-body .body {
    font-size: 15px;
  }
}
.legal-list {
  padding-left: 1.1em
}
.legal-list li {
  margin-bottom: 10px
}
.legal-list strong {
  font-weight: 500;
  color: var(--ink)
}
@media (max-width:660px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }
}

/* ── 3-column cards (Insights journal): every image the same size ──
   Same width, same 4:3 frame; the photo fills the frame (cropped, never stretched). */
.grid-3 .image-reveal {
  width: 100%;
  max-width: none !important; /* site.js sets max-width to the photo's own width */
  aspect-ratio: 4 / 3;
}
.grid-3 .image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive clean-up (tablet + mobile)
   1. One side gutter for everything: text, images, header, menu, footer.
   2. Blocks nested inside a two-part layout (chapter / pairs) fill their
      parent instead of shrinking again (they were indented twice).
   3. One even gap between sections: 64px on tablet, 56px on phones.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width:1080px) {
  :root {
    --section-gap: 64px;
  }
  /* nested blocks fill their parent, no second gutter */
  :is(.chapter, .marvel-feature-pair) > :is(.wrap, .full-bleed),
  :is(.chapter, .marvel-feature-pair) > .full-bleed .full-bleed-inner {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  /* even spacing between sections */
  .view .section, .view .chapter {
    padding-block: var(--section-gap);
  }
  .view :is(.section, .chapter) + :is(.section, .chapter) {
    padding-top: var(--section-gap);
  }
  .view :is(.section, .chapter):has(+ :is(.section, .chapter)) {
    padding-bottom: 0;
  }
  .view .wrap.container.statement {
    padding-bottom: var(--section-gap);
  }
  .view .wrap.container.statement:has(+ :is(.section, .chapter)) {
    padding-bottom: 0;
  }
  /* About page uses its own stacking; put it on the same rhythm */
  .view[data-view="about"] .wrap.container.section {
    padding-top: var(--section-gap);
    padding-bottom: 0;
  }
  .view[data-view="about"] > .wrap.container.section:last-child,
  .view[data-view="about"] .about-for > .wrap.container.section {
    padding-bottom: var(--section-gap);
  }
  .view[data-view="about"] > .wrap.container.section:last-child {
    margin-top: var(--section-gap);
    padding-block: 40px !important;
  }
  /* stacked two-column blocks: clear space between the stacked halves */
  .view .grid-2 {
    row-gap: 30px;
  }
  /* a page that ends on an image keeps breathing room before the footer */
  .view > .full-bleed:last-child {
    margin-bottom: var(--section-gap);
  }
}
@media (max-width:660px) {
  :root {
    --gut: 20px;
    --section-gap: 30px;
  }
  /* every outer block sits on the same 20px gutter */
  .wrap, .full-bleed,
  .view > :is(.chapter, .marvel-feature-pair),
  .about-for > .wrap.container.section,
  footer > .container {
    width: calc(100% - 2 * var(--gut)) !important;
    max-width: none !important;
    margin-inline: auto;
    padding-inline: 0 !important;
  }
  .hero-caption { left: var(--gut); right: var(--gut) }
  .hero-scroll-cue { left: var(--gut) }
}

/* ═══ Number blocks (.stat-grid > .stat): entrance animation ═══
   When a block scrolls into view:
   1. its top line draws from left to right,
   2. the number counts up from 0 (site.js),
   3. the unit (sft, acres…) and the label below fade up just after.
   Blocks with delay-1/2/3 follow one after another. */
.stat {
  position: relative;
  border-top-color: transparent;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) .15s;
}
.stat .stat-number s,
.stat .stat-label {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .9s var(--ease) .7s, transform 1s var(--ease) .7s;
}
.stat.is-visible::before { transform: scaleX(1) }
.stat.is-visible .stat-number s,
.stat.is-visible .stat-label { opacity: 1; transform: none }
.stat.delay-1::before { transition-delay: .29s }
.stat.delay-2::before { transition-delay: .43s }
.stat.delay-3::before { transition-delay: .57s }
.stat.delay-4::before { transition-delay: .71s }
.stat.delay-1 .stat-number s, .stat.delay-1 .stat-label { transition-delay: .84s }
.stat.delay-2 .stat-number s, .stat.delay-2 .stat-label { transition-delay: .98s }
.stat.delay-3 .stat-number s, .stat.delay-3 .stat-label { transition-delay: 1.12s }
.stat.delay-4 .stat-number s, .stat.delay-4 .stat-label { transition-delay: 1.26s }
@media (prefers-reduced-motion: reduce) {
  .stat::before { transform: none }
  .stat .stat-number s, .stat .stat-label { opacity: 1; transform: none }
}
html:not(.js-ready) .stat::before { transform: none }
html:not(.js-ready) .stat .stat-number s,
html:not(.js-ready) .stat .stat-label { opacity: 1; transform: none }

/* Hero paragraphs: the colour sweeps through the text on its own (site.js adds .fill-auto) */
.scroll-fill.fill-auto {
  transition: background-position 2.6s cubic-bezier(.45, 0, .25, 1);
}

/* Full-width photos (.full-bleed): always use the full content width (90% on
   desktop), not a 1360px cap or the photo's own pixel width. */
.full-bleed .full-bleed-inner {
  max-width: none;
}
.full-bleed .image-reveal-wrap {
  width: 100%;
  max-width: none !important; /* site.js sets max-width to the photo's pixel width */
}
.full-bleed .image-reveal-wrap img {
  width: 100%;
}

/* ═══ Form controls in the site theme (contact form) ═══
   Native fields keep working without JavaScript; site.js swaps the dropdown and
   the date field for themed versions (.theme-select, .theme-date). */
.field input, .field textarea, .field select, .theme-select-button, .theme-date-button {
  font-family: var(--stack);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px }
.field ::placeholder { color: var(--faint) }

/* shared look for the two themed triggers: same underline as the other fields */
.theme-select, .theme-date { position: relative }
.theme-select-button, .theme-date-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: border-color .5s;
}
.theme-select-button:focus-visible, .theme-date-button:focus-visible,
.theme-select.is-open .theme-select-button, .theme-date.is-open .theme-date-button {
  outline: none;
  border-color: var(--accent);
}
.theme-date-button .is-placeholder { color: var(--faint) }
.theme-chevron {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .5s var(--ease);
}
.theme-select.is-open .theme-chevron { transform: translateY(2px) rotate(-135deg) }
.theme-calendar-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* popup panel shared by the dropdown and the calendar */
.theme-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 8px);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(22, 39, 31, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .35s;
}
.is-open > .theme-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}

/* dropdown list */
.theme-select .theme-panel { right: 0; padding: 8px 0; margin: 0; list-style: none }
.theme-option {
  position: relative;
  padding: 13px 22px 13px 26px;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .3s, padding-left .45s var(--ease), background .3s;
}
.theme-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.theme-option:hover, .theme-option.is-focused {
  color: var(--accent);
  padding-left: 34px;
  background: rgba(156, 106, 88, .06);
}
.theme-option:hover::before, .theme-option.is-focused::before { transform: scaleX(1) }
.theme-option[aria-selected="true"] { color: var(--accent); font-weight: 400 }

/* calendar */
.theme-date .theme-panel {
  width: min(340px, 100%);
  padding: 18px 18px 14px;
}
.theme-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.theme-cal-title {
  font-family: var(--display);
  font-weight: var(--w-head);
  letter-spacing: var(--track-head);
  font-size: 19px;
  color: var(--ink);
}
.theme-cal-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .3s, background .3s, color .3s;
}
.theme-cal-nav:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--cream) }
.theme-cal-nav:disabled { opacity: .35; cursor: default }
.theme-cal-nav svg { width: 14px; height: 14px }
.theme-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.theme-cal-dow {
  padding: 6px 0 8px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.theme-cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-family: var(--stack);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.theme-cal-day:hover:not(:disabled), .theme-cal-day:focus-visible {
  outline: none;
  background: rgba(156, 106, 88, .12);
  color: var(--accent);
}
.theme-cal-day.is-today { box-shadow: inset 0 0 0 1px var(--accent) }
.theme-cal-day.is-selected, .theme-cal-day.is-selected:hover {
  background: var(--accent);
  color: var(--cream);
  font-weight: 400;
}
.theme-cal-day:disabled { color: var(--faint); opacity: .45; cursor: default }
.theme-cal-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.theme-cal-foot button {
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: var(--stack);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}
.theme-cal-foot button:hover { color: var(--ink) }

/* the original native controls stay in the page (for the form) but are hidden once enhanced */
.theme-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}
@media (max-width:660px) {
  .theme-date .theme-panel { width: 100% }
}

/* ── Insights article (insight.php): hero, lead image, contents list + text, more articles ──
   The text column keeps a comfortable reading width; the contents list stays in view beside it
   on desktop and moves above the text on tablet/phone. */
.article-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.article-crumbs a {
  color: inherit;
  transition: color .45s var(--ease);
}
.article-crumbs a:hover, .article-crumbs a:focus-visible {
  color: var(--ink);
}
.article-crumbs span[aria-hidden] {
  color: var(--faint);
}
.view .wrap.container.statement.article-hero {
  padding-bottom: clamp(40px, calc(4vw / var(--z, 1)), 70px);
}
.article-cover {
  width: 100%;
}
.article-cover img, .article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: cover;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  column-gap: clamp(40px, calc(6vw / var(--z, 1)), 120px);
  align-items: start;
}
.article-aside {
  position: sticky;
  top: clamp(96px, calc(9vw / var(--z, 1)), 140px);
}
.article-toc ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: toc;
  border-top: 1px solid var(--line);
}
.article-toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line);
}
.article-toc a {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  transition: color .45s var(--ease);
}
.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-weight: 200;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.article-toc a:hover, .article-toc a:focus-visible {
  color: var(--ink);
}
.article-body {
  max-width: 68ch;
}
.article-body p {
  margin: 0 0 1.15em;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink-2);
}
.article-body .article-standfirst {
  font-size: clamp(20px, calc(1.5vw / var(--z, 1)), 26px);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -.006em;
}
.article-intro {
  padding-bottom: clamp(16px, calc(2vw / var(--z, 1)), 32px);
}
.article-section {
  padding-top: clamp(36px, calc(4vw / var(--z, 1)), 64px);
  scroll-margin-top: clamp(90px, calc(8vw / var(--z, 1)), 130px);
}
.article-section h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, calc(2.3vw / var(--z, 1)), 38px);
  line-height: 1.15;
}
.article-quote {
  margin: clamp(30px, calc(3vw / var(--z, 1)), 48px) 0;
  padding: 6px 0 6px clamp(20px, calc(2vw / var(--z, 1)), 34px);
  border-left: 1px solid var(--accent);
}
.article-body .article-quote p {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--w-head);
  font-size: clamp(24px, calc(2.1vw / var(--z, 1)), 36px);
  line-height: 1.3;
  letter-spacing: var(--track-head);
  color: var(--ink);
}
.article-figure {
  width: 100%;
  margin-top: clamp(40px, calc(4vw / var(--z, 1)), 64px);
}
.article-end {
  margin-top: clamp(36px, calc(4vw / var(--z, 1)), 60px);
  padding-top: 24px;
}
.article-card-image {
  display: block;
}
@media (max-width:991px) {
  .article-layout {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .article-aside {
    position: static;
  }
  .article-body {
    max-width: none;
  }
  .article-body p {
    font-size: 16px;
    line-height: 1.75;
  }
}
@media (max-width:660px) {
  .article-body .article-standfirst {
    font-size: 19px;
  }
  .article-cover img, .article-figure img {
    max-height: 60vh;
  }
  .article-more .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* Article cards ("Continue reading" and the Insights page): one image shape for every card, whatever the photo's own size. */
.article-more .image-reveal-wrap, #journal .image-reveal-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.article-more .image-reveal-wrap img, #journal .image-reveal-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Article card titles ("Continue reading" and the Insights page): card-sized, natural wrapping, and two lines reserved
   so the summary and link below line up across the cards. */
.article-more .heading-3, #journal .heading-3 {
  font-size: clamp(24px, calc(2vw / var(--z, 1)), 34px);
  line-height: 1.18;
  text-wrap: pretty;
  min-height: 2.36em;
  margin: 0;
}
@media (max-width:660px) {
  .article-more .heading-3, #journal .heading-3 {
    min-height: 0;
  }
}

/* ── Content placeholders (Marvel page): a dashed frame marking where a drawing,
   image, map or copy still has to be supplied. Replace the whole element. ── */
.content-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 180px;
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(156, 106, 88, .55);
  background: rgba(156, 106, 88, .05);
}
.content-placeholder p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.view[data-view="marvel"] .floorplan-grid {
  margin-top: clamp(40px, calc(5vw / var(--z, 1)), 84px);
}
@media (max-width:660px) {
  .content-placeholder {
    min-height: 140px;
    padding: 20px;
  }
}

/* Our projects: the ongoing project picture keeps a 4:3 frame whatever the render's shape. */
#ongoing .image-reveal-wrap.image-reveal.scroll-zoom {
  aspect-ratio: 4 / 3;
}
#ongoing .image-reveal-wrap.image-reveal.scroll-zoom img {
  height: 100%;
  object-fit: cover;
}

/* Marvel: warm architectural drawing boards; multiply blends the white image paper into the surface. */
.plan-figure {
  margin: 0;
  width: 100%;
}
.plan-figure-frame {
  display: block;
  position: relative;
  isolation: isolate;
  padding: clamp(20px, calc(3vw / var(--z, 1)), 52px);
  background-color: #EAE5D9;
  background-image:
    linear-gradient(rgba(22, 39, 31, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 39, 31, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(156, 106, 88, .25);
  box-shadow: inset 0 0 0 7px rgba(247, 245, 240, .5);
  cursor: zoom-in;
}
.plan-figure-frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.plan-figure-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(86svh / var(--z, 1));
  margin: 0 auto;
  mix-blend-mode: multiply;
}
.plan-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Plan viewer: master plan / floor plan open in a full-screen pop-up with zoom and pan. */
.plan-viewer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  background: var(--deep);
  color: var(--cream);
}
.plan-viewer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--p-green), var(--p-gold) 34%, var(--p-water) 67%, var(--p-terra));
  opacity: .8;
}
.plan-viewer.is-open {
  display: block;
  animation: planViewerIn .35s var(--ease);
}
@keyframes planViewerIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
.plan-viewer-stage {
  position: absolute;
  inset: 104px 112px 48px clamp(24px, 3vw, 52px);
  overflow: hidden;
  isolation: isolate;
  background-color: #EAE5D9;
  background-image:
    linear-gradient(rgba(22, 39, 31, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 39, 31, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(232, 198, 127, .3);
  box-shadow: inset 0 0 0 8px rgba(247, 245, 240, .55), 0 24px 70px rgba(0, 0, 0, .28);
  touch-action: none;
  cursor: grab;
}
.plan-viewer-stage.is-dragging {
  cursor: grabbing;
}
.plan-viewer-stage img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 0 0;
  mix-blend-mode: multiply;
  user-select: none;
  -webkit-user-drag: none;
}
.plan-viewer-stage.is-animating img {
  transition: transform .32s var(--ease);
}
.plan-viewer-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 104px;
  padding: 20px clamp(24px, 3vw, 52px);
  pointer-events: none;
}
.plan-viewer-heading {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.plan-viewer-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--p-gold);
}
.plan-viewer-title {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.3;
  color: var(--cream);
}
.plan-viewer-top button, .plan-viewer-controls button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(247, 245, 240, .26);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  flex-shrink: 0;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.plan-viewer-top button:hover, .plan-viewer-controls button:hover:not(:disabled) {
  background: rgba(247, 245, 240, .12);
  border-color: var(--p-gold);
}
.plan-viewer-top button:focus-visible, .plan-viewer-controls button:focus-visible {
  outline: 2px solid var(--p-gold);
  outline-offset: 2px;
}
.plan-viewer-controls button:disabled {
  opacity: .35;
  cursor: default;
}
.plan-viewer-controls {
  position: absolute;
  right: 24px;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(247, 245, 240, .07);
  border: 1px solid rgba(247, 245, 240, .16);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}
.plan-viewer-controls [data-pz="in"] { order: 1 }
.plan-viewer-controls .plan-viewer-level { order: 2 }
.plan-viewer-controls [data-pz="out"] { order: 3 }
.plan-viewer-controls .plan-viewer-fit { order: 4 }
.plan-viewer-controls .plan-viewer-fit {
  width: 48px;
  height: 48px;
  padding: 0 5px;
  border-radius: 50%;
  font-size: 9px;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--p-gold);
  border-color: var(--p-gold);
  color: var(--deep);
}
.plan-viewer-controls .plan-viewer-fit:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}
.plan-viewer-level {
  min-width: 48px;
  padding-block: 4px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.plan-viewer-hint {
  position: absolute;
  left: clamp(24px, 3vw, 52px);
  right: auto;
  bottom: 16px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(247, 245, 240, .58);
  pointer-events: none;
}
@media (max-width:660px) {
  .plan-viewer-hint { display: none }
  .plan-viewer-stage { inset: 94px 12px max(92px, calc(env(safe-area-inset-bottom) + 76px)) }
  .plan-viewer-top { gap: 12px; padding-inline: 16px }
  .plan-viewer-title { font-size: 17px }
  .plan-viewer-controls {
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 6px;
    border-radius: 999px;
    transform: translateX(-50%);
  }
  .plan-viewer-controls [data-pz="out"] { order: 1 }
  .plan-viewer-controls .plan-viewer-level { order: 2 }
  .plan-viewer-controls [data-pz="in"] { order: 3 }
  .plan-viewer-controls .plan-viewer-fit { order: 4; width: auto; padding-inline: 14px; border-radius: 999px }
}
@media (max-height:500px) and (min-width:661px) {
  .plan-viewer-top { height: 76px }
  .plan-viewer-stage { inset: 76px 96px 28px 24px }
  .plan-viewer-hint { display: none }
}
@media (prefers-reduced-motion:reduce) {
  .plan-viewer.is-open { animation: none }
  .plan-viewer-stage.is-animating img { transition: none }
}
.plan-figure figcaption .arrow {
  cursor: zoom-in;
}

/* Specifications follow the site's open layout, serif titles and fine rules. */
.specifications-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
  gap: clamp(40px, calc(6vw / var(--z, 1)), 112px);
  align-items: start;
}
.specifications-index {
  position: sticky;
  top: 120px;
  padding: 0;
  background: transparent;
}
.specifications-index-label {
  margin: 0 0 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.specifications-index a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(14px, calc(1.05vw / var(--z, 1)), 17px);
  line-height: 1.6;
}
.specifications-index a span:last-child {
  white-space: nowrap;
  font-size: 10px;
  color: var(--accent);
}
.specifications-index a:last-of-type { border-bottom: 1px solid var(--line) }
.specifications-index a:hover { color: var(--accent) }
.specifications-index-note {
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.specifications-group { scroll-margin-top: 120px }
.specifications-group + .specifications-group { margin-top: clamp(44px, calc(5vw / var(--z, 1)), 76px) }
.specifications-group-title { margin-bottom: 24px; color: var(--muted) }
.specifications-accordion { border-top: 1px solid var(--line) }
.specifications-accordion details {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.specifications-accordion details[open] {
  border-bottom-color: rgba(156, 106, 88, .4);
}
.specifications-accordion summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 20px;
  padding: clamp(22px, calc(2.7vw / var(--z, 1)), 36px) 0;
  font-size: clamp(22px, calc(1.85vw / var(--z, 1)), 30px);
  line-height: 1.4;
}
.specification-number {
  font-family: var(--stack);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--accent);
}
.specifications-accordion details[open] summary { color: var(--accent) }
.specifications-accordion .accordion-body { padding: 0 34px 28px 52px }
.specifications-accordion .tick-list {
  border-top: 0;
  margin: 0;
}
.specifications-accordion .tick-list li {
  padding-block: 14px;
  font-size: clamp(15px, calc(1.05vw / var(--z, 1)), 17px);
  line-height: 1.85;
}
.specifications-accordion .tick-list li:last-child { border-bottom: 0 }
.specifications-accordion .tick-list li::before { top: 27px }
.specifications-accordion .tick-list strong { font-weight: 500; color: var(--ink) }
.specifications-index a:focus-visible, .specifications-accordion summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width:991px) {
  .specifications-layout { grid-template-columns: 1fr }
  .specifications-index { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px }
  .specifications-index-label, .specifications-index-note { grid-column: 1 / -1 }
  .specifications-index a { border-bottom: 1px solid var(--line); border-top: 0 }
  .specifications-index-note { margin-top: 16px }
}
@media (max-width:660px) {
  .specifications-index { column-gap: 20px }
  .specifications-index a { gap: 8px; font-size: 13px }
  .specifications-accordion summary { padding: 22px 0; gap: 12px; grid-template-columns: 24px minmax(0, 1fr) 14px; font-size: 21px }
  .specifications-accordion .accordion-body { padding: 0 0 22px 36px }
}
/* Location highlights: destinations and their supplied travel times. */
.location-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px);
}
.location-highlight-group {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.location-highlight-group > .eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
}
.location-highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.location-highlight-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  line-height: 1.65;
}
.location-travel-time {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
@media (max-width:991px) {
  .location-highlights-grid { grid-template-columns: 1fr }
}
/* Marvel: location map (Leaflet), tinted to the site palette, with the favicon as the pin. */
.location-map {
  margin: 0;
  width: 100%;
}
.location-map-canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 360px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}
.location-map-canvas.leaflet-container {
  font-family: var(--stack), sans-serif;
  background: var(--cream);
}
.location-map-canvas .leaflet-tile-pane {
  filter: grayscale(1) sepia(.28) saturate(.9) brightness(1.08) contrast(.82);
}
.location-map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.map-pin {
  background: none;
  border: 0;
}
.map-pin-head {
  position: absolute;
  left: 4px;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  background: var(--ink);
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px rgba(12, 29, 20, .35);
}
.map-pin-head img {
  width: 34px;
  height: 34px;
  padding: 3px;
  border-radius: 50%;
  background: var(--cream);
  transform: rotate(45deg);
}
.map-pin-pulse {
  position: absolute;
  left: 18px;
  top: 50px;
  width: 20px;
  height: 16px;
  border-radius: 50%;
  background: rgba(156, 106, 88, .5);
  animation: mapPulse 2.4s var(--ease) infinite;
}
@keyframes mapPulse {
  0% { transform: scale(.6); opacity: .9 }
  100% { transform: scale(3.4); opacity: 0 }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-pulse { animation: none; opacity: .6 }
}
.map-card .leaflet-popup-content-wrapper {
  border-radius: 0;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(12, 29, 20, .3);
}
.map-card .leaflet-popup-tip {
  background: var(--ink);
}
.map-card .leaflet-popup-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 18px;
  font-size: 13px;
  line-height: 1.45;
}
.map-card strong {
  font-weight: 500;
}
.map-card span {
  color: rgba(247, 245, 240, .72);
}
.location-map-canvas .map-card a {
  margin-top: 6px;
  color: #E7C280;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.location-map-canvas .leaflet-bar {
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.location-map-canvas .leaflet-bar a {
  border-radius: 0 !important;
  background: var(--cream);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.location-map-canvas .leaflet-control-attribution {
  background: rgba(247, 245, 240, .94);
  color: var(--muted);
  font-size: 10px;
  padding: 3px 8px;
  border-top-left-radius: 4px;
  line-height: 1.4;
}
.location-map-canvas .leaflet-control-attribution a {
  color: var(--muted);
}
.location-map > .map-credit {
  position: static;
  float: none;
  clear: both;
  margin: 0;
  padding: 6px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}
.location-map > .map-credit a { color: inherit }
@media (max-width:660px) {
  .location-map-canvas {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
}

/* Marvel: the eco deck image after the clubhouse figures sits at the content width. */
.view[data-view="marvel"]>#clubhouse+.full-bleed {
  width: 90%;
  margin-inline: auto;
  padding-inline: 0;
}
.view[data-view="marvel"]>#clubhouse+.full-bleed .full-bleed-inner, .view[data-view="marvel"]>#clubhouse+.full-bleed .image-reveal {
  width: 100%;
  max-width: none!important;
}
@media (max-width:1080px) {
  .view[data-view="marvel"]>#clubhouse+.full-bleed {
    width: 95%
  }
}
/* A pinned gallery straight after an image gets the usual section spacing above it. */
.view .full-bleed + .pinned-gallery {
  margin-top: clamp(56px, calc(7vw / var(--z, 1)), 100px);
}
/* ══ back to top ══ */
.to-top {
  position: fixed;
  right: clamp(14px, calc(1.6vw / var(--z, 1)), 30px);
  bottom: max(clamp(18px, calc(2.4vw / var(--z, 1)), 40px), env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: clamp(46px, calc(10px + 3.4vw / var(--z, 1)), 56px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(22, 39, 31, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .6s
}
.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s
}
/* accent wipe, same as .btn */
.to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .7s var(--ease), background .8s var(--ease)
}
.to-top-arrow {
  position: relative;
  z-index: 2;
  transition: transform .7s var(--ease)
}
.to-top:hover::before,
.to-top:focus-visible::before {
  transform: translateY(0)
}
.to-top:hover .to-top-arrow {
  transform: translateY(-3px)
}
.to-top:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px
}
/* page progress as a ring around the edge */
.to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  transform: rotate(-90deg);
  pointer-events: none
}
.to-top-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p, 0));
  transition: stroke .8s var(--ease)
}
.to-top:hover .to-top-ring circle {
  stroke: var(--cream)
}
@media (prefers-reduced-motion:reduce) {
  .to-top, .to-top::before, .to-top-arrow {
    transition: none
  }
}
