/* =====================================================================
   PANO AIM GROUP - FLOOR-WISE EXPERIENCE
   Fifteen numbered sections. Each one says what problem it solves, so the
   file reads as a changelog rather than a pile of rules.

   Two rules hold the whole thing together:
     1. ONE MATERIAL. Every floating control is the same glass: a dark
        translucent fill, a backdrop blur, a hairline light border, one
        shadow. Three different treatments read as three different products.
     2. FLUID SCALE, NOT BREAKPOINTS. clamp(min, vw, max) everywhere, so a
        1366px laptop and a 2560px monitor are both right. Media queries are
        for LAYOUT DIRECTION and for HEIGHT - never for size.
   ===================================================================== */

/* ---------------------------------------------------------------------
   01. TOKENS
   The palette is deliberately narrow: one ink, one ivory, one champagne.
   Change the whole look from here and nothing below needs touching.
   --------------------------------------------------------------------- */
:root {
  --ink:        #0b0d10;   /* the ground */
  --ink-2:      #12161b;   /* raised surfaces */
  --ivory:      #f4f1ea;   /* type on dark */
  --champagne:  #c9a86a;   /* the single accent. Use it sparingly. */
  --champagne-d:#a8863f;

  --muted:      rgba(244, 241, 234, 0.56);
  --faint:      rgba(244, 241, 234, 0.30);
  --hair:       rgba(244, 241, 234, 0.14);
  --hair-soft:  rgba(244, 241, 234, 0.07);

  /* the one material */
  --glass:      rgba(14, 17, 21, 0.52);
  --glass-hi:   rgba(22, 27, 33, 0.74);
  --blur:       blur(22px) saturate(1.15);
  --shadow:     0 18px 60px rgba(0, 0, 0, 0.45);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Segoe UI", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* `hidden` loses to display:flex - trap #8 */

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* the rubber-band bounce during a drag reads as the tour stuttering */
  overscroll-behavior: none;
  touch-action: none;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------------
   02. LEVELS
   All levels stay laid out at inset:0 even while invisible, so #panorama
   ALWAYS has a real width and height. Build this with display:none and you
   will spend a day on a viewer that renders at 0x0. Handbook §2.
   --------------------------------------------------------------------- */
.level {
  position: fixed; inset: 0;
  opacity: 0; visibility: hidden;
  transform: scale(1.012);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease), visibility 0.9s;
  z-index: 1;
}
.level--active { opacity: 1; visibility: visible; transform: none; z-index: 2; }

/* ---------------------------------------------------------------------
   03. TYPE PRIMITIVES
   --------------------------------------------------------------------- */
.eyebrow {
  font-size: clamp(9px, 0.62vw, 12px);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--champagne);
}
.hero__body .eyebrow { margin-top: clamp(24px, 3vh, 46px); }
.hero__body .display { margin-top: clamp(10px, 1.2vh, 20px); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  white-space: pre-line;
  color: var(--ivory);
}
.lede {
  font-size: clamp(13px, 0.86vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto;
}
.rule {
  display: block;
  width: clamp(52px, 5vw, 92px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  margin: clamp(16px, 1.6vw, 30px) auto;
}

/* ---------------------------------------------------------------------
   04. HEADER + BRAND
   --------------------------------------------------------------------- */
.head {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: clamp(20px, 2.1vw, 40px) clamp(22px, 3vw, 58px);
}
.head--glass::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,0.72), rgba(11,13,16,0));
  pointer-events: none;
  z-index: -1;
}
.head__right { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 30px); }
.head__div { width: 1px; height: 26px; background: var(--hair); }

/* ---- the lockup -----------------------------------------------------
   A mark and a wordmark, side by side, divided by a hairline. The mark is
   the client's logo once they send one; until then it is their initials on
   a champagne plate, holding exactly the space and visual weight the real
   artwork will take, so nothing has to be re-composed when it arrives.

   Sizes are clamp()ed rather than stepped: the reference build renders its
   viewer logo at clamp(120px, 8.4vw, 214px) and reads correctly on both a
   1366 laptop and a 2560 monitor (handbook §12.2). --------------------- */
.brand { display: flex; align-items: center; gap: clamp(12px, 1.1vw, 22px); line-height: 1; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }

.brand__mark {
  flex: none; display: grid; place-items: center;
  width:  clamp(38px, 3.4vw, 64px);
  height: clamp(38px, 3.4vw, 64px);
}
/* The placeholder state, and only the placeholder state, gets the plate.
   Real artwork sits on the photograph unframed. */
.brand__mark[data-placeholder] {
  border: 1px solid rgba(201,168,106,0.5);
  background: linear-gradient(150deg, rgba(201,168,106,0.15), rgba(201,168,106,0.03));
  box-shadow: inset 0 0 22px rgba(201,168,106,0.09);
}
.brand__mono {
  font-family: var(--serif);
  font-size: clamp(15px, 1.35vw, 26px);
  letter-spacing: 0.08em; font-weight: 500;
  color: var(--champagne);
  padding-left: 0.08em;   /* optical, the tracking pushes the pair right */
}
.brand__logo { max-height: 100%; max-width: 100%; width: auto; display: block; }

.brand__top {
  font-size: clamp(8px, 0.52vw, 10px);
  letter-spacing: 0.36em; font-weight: 400;
  color: var(--champagne);
}
.brand__main {
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 30px);
  font-weight: 400; letter-spacing: 0.14em;
  margin-top: 0.5em;
}
.brand__sub {
  font-size: clamp(7px, 0.45vw, 9px);
  letter-spacing: 0.44em; font-weight: 300;
  color: var(--faint);
  margin-top: 0.7em;
}

/* ---- in the viewer: the developer's name, at size ----
   This is the second-largest thing in the frame after the photograph. The
   client asked for their name to carry the tour, so the corner mark this
   used to be is now a full lockup with a rule under it. */
.brand--lg { gap: clamp(14px, 1.3vw, 26px); }
.brand--lg .brand__mark  { width: clamp(46px, 4.2vw, 82px); height: clamp(46px, 4.2vw, 82px); }
.brand--lg .brand__mono  { font-size: clamp(18px, 1.7vw, 33px); }
.brand--lg .brand__top   { font-size: clamp(8px, 0.54vw, 11px); letter-spacing: 0.38em; }
.brand--lg .brand__main  {
  font-size: clamp(21px, 2.05vw, 41px);
  letter-spacing: 0.15em; margin-top: 0.46em;
  /* the photograph behind this is unknown and often bright */
  text-shadow: 0 1px 16px rgba(0,0,0,0.6);
}
.brand--lg .brand__sub {
  font-size: clamp(7px, 0.46vw, 9.5px); letter-spacing: 0.46em;
  margin-top: 0.75em; padding-top: 0.75em;
  border-top: 1px solid var(--hair);
  color: var(--muted);
}
/* Once real artwork loads it becomes the identity, so the wordmark steps
   back a size rather than competing with it. */
body.has-logo .brand--lg .brand__main { font-size: clamp(18px, 1.6vw, 32px); }

/* On the arrival screen the wordmark is the subject, so the stack turns
   vertical and centres under the mark. */
.brand--hero { flex-direction: column; text-align: center; gap: clamp(14px, 1.5vw, 26px); }
.brand--hero .brand__wm   { align-items: center; }
.brand--hero .brand__mark { width: clamp(54px, 5.2vw, 96px); height: clamp(54px, 5.2vw, 96px); }
.brand--hero .brand__mono { font-size: clamp(21px, 2.1vw, 39px); }
.brand--hero .brand__top  { font-size: clamp(9px, 0.6vw, 12px); letter-spacing: 0.42em; }
.brand--hero .brand__main { font-size: clamp(30px, 3.4vw, 66px); letter-spacing: 0.17em; margin-top: 0.42em; }
.brand--hero .brand__sub  { font-size: clamp(8px, 0.5vw, 10px); letter-spacing: 0.5em; margin-top: 0.9em; }
.head--solo { justify-content: flex-end; }

/* menu button - two rules, not three. A hamburger is a cliché; two is a mark. */
.menu-btn { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.menu-btn__lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-btn__lines i { height: 1px; background: var(--ivory); transition: transform 0.3s var(--ease); }
.menu-btn__lines i:last-child { width: 60%; margin-left: auto; }
.menu-btn:hover .menu-btn__lines i:last-child { width: 100%; }
.menu-btn__label { font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }
.menu-btn--sm .menu-btn__label { font-size: 9px; }

/* ---------------------------------------------------------------------
   05. LEVEL 1 - ARRIVAL
   The grade is baked into the hero JPEG, never applied as a CSS filter:
   a filter on a full-screen background forces the compositor to re-filter
   every frame, which is a real cost on a phone. Handbook §25.
   --------------------------------------------------------------------- */
.hero { background: var(--ink); }
.hero__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.06);
  animation: heroDrift 34s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.6%, -0.8%, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__media { animation: none; } }

/* The moving hero, when config.hero.videos is set. It sits over the still and
   fades in only once a frame is actually playing, so a clip that stalls or
   fails leaves the photograph on screen rather than a black rectangle. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__video--on { opacity: 1; }

.hero__scrim {
  position: absolute; inset: 0;
  /* Built for CENTRED copy. The old version was a left-to-right wash, which
     was right when the text sat on the left and wrong the moment it moved to
     the middle: the lede ended up over the brightest part of the photograph.
     A centred well plus a bottom weight keeps the picture readable at the
     edges, which is where it is doing its work, and calm in the middle, which
     is where the words are. */
  background:
    radial-gradient(78% 92% at 50% 46%,
      rgba(11,13,16,0.80) 0%,
      rgba(11,13,16,0.62) 34%,
      rgba(11,13,16,0.30) 62%,
      rgba(11,13,16,0.12) 84%,
      rgba(11,13,16,0.06) 100%),
    linear-gradient(180deg, rgba(11,13,16,0.62) 0%, rgba(11,13,16,0) 22%),
    linear-gradient(0deg,   rgba(11,13,16,0.72) 0%, rgba(11,13,16,0) 26%);
}
/* A whisper of grain. It is what stops a big flat gradient looking like a
   render, and it costs one repeating data URI. */
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.13; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter>\
<rect width='140' height='140' filter='url(%23n)' opacity='0.5'/></svg>");
}

.hero__body {
  position: absolute; inset: 0; z-index: 10;
  text-shadow: 0 1px 24px rgba(0,0,0,0.55);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(84px, 10vh, 130px) clamp(24px, 5vw, 80px) clamp(74px, 9vh, 120px);
  gap: 0;
}

/* Scroll cue. It is a button as well as a hint, because on a touch screen a
   swipe is the gesture and on a desktop some people would rather click. */
.scroll {
  position: absolute; z-index: 10;
  left: 50%; bottom: clamp(20px, 2.6vh, 40px);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--faint);
  transition: color 0.35s var(--ease);
}
.scroll:hover { color: var(--ivory); }
.scroll__mouse {
  width: 19px; height: 30px;
  border: 1px solid currentColor; border-radius: 11px;
  position: relative;
}
.scroll__mouse::after {
  content: ""; position: absolute;
  left: 50%; top: 6px;
  width: 2px; height: 5px; border-radius: 2px;
  background: var(--champagne);
  transform: translateX(-50%);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translate(-50%, -3px); }
  35%  { opacity: 1; }
  70%  { opacity: 0; transform: translate(-50%, 11px); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .scroll__mouse::after { animation: none; opacity: 1; } }
.scroll__label { font-size: 8px; letter-spacing: 0.36em; }

.hero__meta {
  position: absolute; z-index: 10;
  right: clamp(22px, 3vw, 58px); bottom: clamp(22px, 2.4vw, 44px);
  font-size: clamp(8px, 0.52vw, 10px);
  letter-spacing: 0.34em;
  color: var(--faint);
}

/* The call to action is a box, not a hairline. On a full-bleed photograph a
   rule and an arrow read as decoration; a bordered plate reads as a control,
   and that difference is the whole job of this screen. */
.cta {
  display: inline-flex; align-items: center; gap: clamp(18px, 1.8vw, 34px);
  margin-top: clamp(26px, 3.4vh, 52px);
  padding: clamp(15px, 1.5vw, 22px) clamp(26px, 2.6vw, 46px);
  font-size: clamp(10px, 0.62vw, 12px);
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ivory);
  background: rgba(14, 17, 21, 0.42);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 241, 234, 0.34);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              letter-spacing 0.45s var(--ease);
}
.cta:hover, .cta:focus-visible {
  background: rgba(201, 168, 106, 0.16);
  border-color: var(--champagne);
  letter-spacing: 0.38em;
  outline: none;
}
.cta__arrow { color: var(--champagne); transition: transform 0.45s var(--ease); }
.cta:hover .cta__arrow { transform: translateX(7px); }

/* ---------------------------------------------------------------------
   05b. HERO STAT ROW
   Three true numbers, taken from the grid and the recorded altitude. They
   cannot drift away from what the tour contains, which is the only reason
   a stat row like this is worth having.
   --------------------------------------------------------------------- */
.stats {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 2.4vw, 44px);
  margin-top: clamp(26px, 3.4vh, 50px);
}
.stats .stat { display: flex; align-items: baseline; gap: 8px; position: relative; }
.stats .stat + .stat::before {
  content: ""; position: absolute;
  left: clamp(-10px, -1.2vw, -22px); top: 20%; bottom: 20%;
  width: 1px; background: var(--hair-soft);
}
.stat__n {
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 300; line-height: 1;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-size: clamp(7px, 0.45vw, 9px);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--champagne);
}

/* ---------------------------------------------------------------------
   06. LEVEL 2 - VIEWER SHELL
   --------------------------------------------------------------------- */
.viewer { background: #000; }
.viewer__pano { position: absolute; inset: 0; }
/* A soft corner vignette. It sits under every control and above the canvas,
   and it is what makes white UI legible over a bright noon panorama. */
.viewer__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 96% at 50% 50%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.34), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 74%, rgba(0,0,0,0.44));
}

/* The header sits straight on the panorama with no plate. A blurred strip
   across the top of a landscape photograph reads as a mistake, so the weight
   comes from a scrim in the vignette layer instead (handbook §12.4). This
   gradient is taller and softer than the old .head--glass bar so the larger
   lockup has something to sit on all the way down. */
.viewer__vignette::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: clamp(150px, 17vh, 260px);
  background: linear-gradient(180deg,
    rgba(11,13,16,0.74) 0%, rgba(11,13,16,0.40) 44%, rgba(11,13,16,0) 100%);
}

/* ---------------------------------------------------------------------
   07. THE VANTAGE POINTS
   Three buttons down the left. They replaced the altitude-scaled rail at
   the client's request: the tour lives on a 55" touch panel and a finger
   from arm's length wants a plate to press, not a tick on a hairline.
   Same glass as the time-of-day control, so the two read as one family.
   --------------------------------------------------------------------- */
.viewer::before {
  content: "";
  position: absolute; z-index: 10; pointer-events: none;
  left: 0; top: 0; bottom: 0; width: clamp(180px, 20vw, 340px);
  background: linear-gradient(90deg, rgba(11,13,16,0.6), rgba(11,13,16,0.26) 42%, rgba(11,13,16,0));
}
.floors {
  position: absolute; z-index: 20;
  left: clamp(22px, 3vw, 58px);
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: clamp(10px, 1vw, 16px);
}
.floor {
  display: flex; align-items: center; justify-content: center;
  min-width: clamp(132px, 10.5vw, 196px);
  padding: clamp(14px, 1.25vw, 22px) clamp(22px, 1.9vw, 34px);
  border-radius: 999px;
  background: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
  font-size: clamp(10px, 0.66vw, 12.5px);
  letter-spacing: 0.3em;
  color: var(--muted);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.floor:hover { color: var(--ivory); border-color: var(--hair); }
.floor--on {
  color: var(--ink);
  background: linear-gradient(180deg, #e7d5ab, var(--champagne));
  border-color: transparent;
}
.floor--off { opacity: 0.3; pointer-events: none; }

/* Sound, bottom left. Same pill as the old landmarks toggle. */
.tools {
  position: absolute; z-index: 20;
  left: clamp(22px, 3vw, 58px); bottom: clamp(22px, 2.6vw, 46px);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.snd {
  display: flex; align-items: center; gap: 10px;
  padding: clamp(9px, 0.8vw, 13px) clamp(14px, 1.2vw, 20px);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
  font-size: clamp(8px, 0.52vw, 10px); letter-spacing: 0.28em;
  color: var(--ivory);
}
.snd__ic { display: flex; width: 16px; height: 16px; color: var(--champagne); }
.snd__ic svg { width: 100%; height: 100%; }
.snd--off { color: var(--faint); }
.snd--off .snd__ic { color: var(--faint); }

/* ---------------------------------------------------------------------
   08. TIME OF DAY
   --------------------------------------------------------------------- */
.times {
  position: absolute; z-index: 20;
  left: 50%; bottom: clamp(22px, 2.6vw, 46px);
  transform: translateX(-50%);
  display: flex; gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow);
}
.time {
  display: flex; align-items: center; gap: 9px;
  padding: clamp(9px, 0.85vw, 14px) clamp(16px, 1.5vw, 28px);
  border-radius: 999px;
  font-size: clamp(9px, 0.58vw, 11px);
  letter-spacing: 0.28em;
  color: var(--muted);
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.time__ic { display: flex; width: 15px; height: 15px; }
.time__ic svg { width: 100%; height: 100%; }
.time:hover { color: var(--ivory); }
.time--on {
  color: var(--ink);
  background: linear-gradient(180deg, #e7d5ab, var(--champagne));
}
.time--off { opacity: 0.3; pointer-events: none; }

/* ---------------------------------------------------------------------
   09. COMPASS
   Driven by each panorama's own XMP heading, so it is exact per scene.
   --------------------------------------------------------------------- */
.compass {
  position: absolute; z-index: 20;
  right: clamp(22px, 3vw, 58px); bottom: clamp(22px, 2.6vw, 46px);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  pointer-events: none;
}
.compass__dial {
  width: clamp(46px, 4vw, 72px); height: clamp(46px, 4vw, 72px);
  border-radius: 50%;
  background: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
.compass__ring   { fill: none; stroke: var(--hair); stroke-width: 1; }
.compass__tick   { stroke: var(--faint); stroke-width: 1.4; }
.compass__tick--n{ stroke: var(--champagne); }
.compass__n      { fill: var(--champagne); font-family: var(--sans); font-size: 13px;
                   font-weight: 400; text-anchor: middle; letter-spacing: 0.1em; }
.compass__needle-a { fill: rgba(244,241,234,0.92); }
.compass__needle-b { fill: rgba(244,241,234,0.42); }
.compass__hub      { fill: var(--champagne); }
.compass__label {
  font-size: clamp(8px, 0.5vw, 10px);
  letter-spacing: 0.24em; color: var(--muted);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   10. LOADING
   A hairline at the top of the frame. No spinner, no percentage, no modal -
   the preview file paints almost immediately, so this only ever confirms
   that something is happening.
   --------------------------------------------------------------------- */
.loading {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  z-index: 40; opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.loading--on { opacity: 1; }
.loading__bar {
  display: block; height: 100%; width: 34%;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  animation: loadSweep 1.5s var(--ease) infinite;
}
@keyframes loadSweep { from { transform: translateX(-100%); } to { transform: translateX(400%); } }

/* ---------------------------------------------------------------------
   11. MENU
   --------------------------------------------------------------------- */
.menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 84vw);
  z-index: 60;
  padding: clamp(70px, 7vw, 110px) clamp(30px, 3.4vw, 58px);
  background: var(--ink-2);
  border-left: 1px solid var(--hair-soft);
  transform: translateX(101%);
  transition: transform 0.6s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu--open { transform: none; }
.menu__close {
  position: absolute; top: clamp(22px, 2.2vw, 40px); right: clamp(26px, 2.6vw, 48px);
  font-size: 30px; line-height: 1; color: var(--muted);
  transition: color 0.3s var(--ease);
}
.menu__close:hover { color: var(--ivory); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 34px);
  font-weight: 300; letter-spacing: 0.04em;
  color: var(--ivory); text-decoration: none;
  padding: clamp(12px, 1.1vw, 20px) 0;
  border-bottom: 1px solid var(--hair-soft);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.menu__nav a:hover { color: var(--champagne); padding-left: 10px; }
.menu__nav a.is-off { opacity: 0.32; pointer-events: none; }
.menu__foot {
  font-size: 9px; letter-spacing: 0.28em; color: var(--faint);
}

/* ---------------------------------------------------------------------
   12. PANNELLUM RESETS
   --------------------------------------------------------------------- */
.pnlm-controls-container,
.pnlm-panorama-info,
.pnlm-load-box,
.pnlm-lbox { display: none !important; }
.pnlm-container { background: #000 !important; }

/* ---------------------------------------------------------------------
   13. SETUP OVERLAY  (?setup=1)
   --------------------------------------------------------------------- */
.setup {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999;
  padding: 9px 14px; border-radius: 8px;
  background: rgba(11,13,16,0.92);
  border: 1px solid var(--champagne-d);
  color: var(--champagne);
  font: 400 12px/1.5 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.04em; pointer-events: none;
}

/* ---------------------------------------------------------------------
   14. PORTRAIT PROMPT
   No JavaScript. An orientation listener is a second source of truth that
   can disagree with the media query, and orientationchange fires before the
   reflow finishes so it flickers. THE QUERY IS THE STATE. Handbook §30.
   --------------------------------------------------------------------- */
.rotate {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 18px; padding: 34px;
  background: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
@media (max-width: 900px) and (orientation: portrait) {
  .rotate { opacity: 1; visibility: visible; }
}
.rotate__icon { width: 58px; height: 58px; color: var(--champagne); animation: rotHint 2.4s ease-in-out infinite; }
.rotate__title { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: 0.04em; }
.rotate__sub { font-size: 11px; letter-spacing: 0.24em; color: var(--faint); max-width: 300px; line-height: 1.9; }
@keyframes rotHint { 0%,42% { transform: rotate(0); } 62%,100% { transform: rotate(-90deg); } }

/* ---------------------------------------------------------------------
   16. LANDMARK CALL-OUTS
   Pannellum centres a hotspot div on its yaw/pitch, so the host div is a
   zero-size anchor and everything hangs off it. The dot sits ON the point;
   the card floats up and to the right on a hairline stem.

   pointer-events: none throughout. A label must never swallow a drag, or
   the panorama stops turning wherever a name happens to be.
   --------------------------------------------------------------------- */
.co-host {
  /* Pannellum's own .pnlm-hotspot-base supplies position:absolute and the
     visibility it toggles as the point moves in and out of frame. Only the
     size is ours: zero, so the children hang off the exact point. */
  width: 0; height: 0;
  pointer-events: none;
}
/* Pannellum sets box-sizing:content-box on everything inside its container,
   which would make the padded card measure wider than it looks. */
.co-host, .co-host * { box-sizing: border-box; }

.co__dot {
  position: absolute; left: -3.5px; top: -3.5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 3px rgba(201,168,106,0.18), 0 1px 6px rgba(0,0,0,0.6);
}
/* one ring, slow. Two would read as a notification badge, not a map pin. */
.co__dot::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: 50%; border: 1px solid rgba(201,168,106,0.85);
  animation: coPulse 3.4s cubic-bezier(.16,.62,.3,1) infinite;
}
@keyframes coPulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  70%  { opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .co__dot::after { animation: none; opacity: 0; } }

/* --lift is written by the de-collision pass in tour.js: the distance from
   the dot up to the underside of the card. The stem and the card both read
   it, so there is ONE number and the two can never drift apart. */
.co-host { --lift: 34px; }
.co__stem {
  position: absolute; left: 0; bottom: 0;
  width: 1px; height: var(--lift);
  background: linear-gradient(180deg, rgba(201,168,106,0), rgba(201,168,106,0.75));
  transform: translateY(-3px);
  transition: height 0.22s var(--ease);
}
.co__card {
  position: absolute; left: 6px; bottom: var(--lift);
  transition: bottom 0.22s var(--ease);
  display: block; white-space: nowrap;
  padding: 7px 12px 8px;
  border-radius: 4px;
  background: var(--glass-hi);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--hair-soft);
  border-left: 2px solid var(--champagne);
  box-shadow: 0 10px 34px rgba(0,0,0,0.42);
}
.co__card { display: flex; align-items: center; gap: 10px; }
.co__ic {
  flex: none;
  width: clamp(15px, 1.05vw, 21px); height: clamp(15px, 1.05vw, 21px);
  color: var(--champagne);
  opacity: 0.92;
}
.co__ic svg { width: 100%; height: 100%; display: block; }
.co__tx { display: block; }
.co__card b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(12px, 0.86vw, 17px);
  font-weight: 500; letter-spacing: 0.03em;
  color: var(--ivory);
}
.co__card i {
  display: block; font-style: normal;
  font-size: clamp(7px, 0.46vw, 9.5px);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--champagne);
  margin-top: 4px;
}

/* The toggle hides them without rebuilding a single scene.
   Opacity only: Pannellum writes `visibility` as an inline style as a hotspot
   enters and leaves the frame, and an inline style beats a stylesheet, so a
   visibility rule here would simply be ignored. They are pointer-events:none
   already, so there is nothing left to intercept a drag. */
body.co-off .co-host { opacity: 0; }
.co-host { transition: opacity 0.45s var(--ease); }

/* ---------------------------------------------------------------------
   17. (was the landmarks on/off pill - removed at the client's request.
   The `body.co-off` rule in §16 still works, so bringing the switch back
   is a button and a listener, not a rebuild.)
   --------------------------------------------------------------------- */

/* ---------------------------------------------------------------------
   18. LANDMARK EDITOR   (?edit=1 only)
   Same material as the rest of the tour so it does not read as a bolted-on
   debug panel, but with real controls: this is a tool, not a read-out, so
   what is interactive looks interactive.
   --------------------------------------------------------------------- */
.ed {
  position: fixed; z-index: 9999;
  right: 16px; top: 16px; width: 330px;
  max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  background: rgba(12, 15, 19, 0.94);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(201,168,106,0.28);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  color: var(--ivory);
  font-size: 12px;
}
.ed__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--champagne);
  border-bottom: 1px solid var(--hair-soft);
}
.ed__min { color: var(--muted); font-size: 18px; line-height: 1; padding: 0 4px; }
.ed__min:hover { color: var(--ivory); }
.ed--min .ed__body { display: none; }
.ed__body { padding: 12px 14px 14px; overflow-y: auto; }
.ed__hint { color: var(--faint); line-height: 1.6; margin-bottom: 10px; }

.ed__list { list-style: none; margin: 0 0 10px; padding: 0; max-height: 210px; overflow-y: auto; }
.ed__it {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 5px; cursor: pointer;
  transition: background 0.18s var(--ease);
}
.ed__it:hover { background: rgba(255,255,255,0.05); }
.ed__it--on { background: rgba(201,168,106,0.16); }
.ed__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); flex: none; }
.ed__dot--on { background: var(--champagne); }
.ed__nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed__meta { color: var(--faint); font-size: 10px; font-variant-numeric: tabular-nums; flex: none; }

.ed__form { border-top: 1px solid var(--hair-soft); padding-top: 10px; margin-bottom: 10px; }
.ed__lab { display: block; color: var(--faint); font-size: 10px; letter-spacing: 0.14em; margin-bottom: 8px; }
.ed__lab input {
  display: block; width: 100%; margin-top: 4px;
  padding: 7px 9px; border-radius: 5px;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--hair-soft);
  color: var(--ivory); font: inherit; letter-spacing: 0;
}
.ed__lab input:focus { outline: none; border-color: rgba(201,168,106,0.6); }
.ed__lab input.ed--bad { border-color: #b5533f; }
.ed__pos {
  padding: 7px 9px; border-radius: 5px; margin-bottom: 10px;
  background: rgba(201,168,106,0.1);
  color: var(--champagne); font-variant-numeric: tabular-nums;
}
.ed__pos--off { background: rgba(255,255,255,0.05); color: var(--faint); }

.ed__row { display: flex; gap: 6px; flex-wrap: wrap; }
.ed__row--foot { border-top: 1px solid var(--hair-soft); padding-top: 10px; margin-top: 4px; }
.ed__row button {
  flex: 1; min-width: 74px;
  padding: 7px 6px; border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hair-soft);
  color: var(--ivory); font: inherit; font-size: 11px;
  transition: background 0.18s var(--ease);
}
.ed__row button:hover { background: rgba(201,168,106,0.2); }
.ed__go {
  flex-basis: 100%;
  background: var(--champagne) !important;
  color: #17120a !important;
  border-color: var(--champagne) !important;
  letter-spacing: 0.14em; font-size: 10px !important;
}
.ed textarea {
  display: none; width: 100%; height: 150px; margin-top: 10px;
  padding: 8px; border-radius: 5px; resize: vertical;
  background: #07090b; color: #cfe8c0;
  border: 1px solid var(--hair-soft);
  font: 11px/1.5 ui-monospace, Menlo, Consolas, monospace;
}

/* icon picker */
.ed__icons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.ed__icb {
  width: 28px; height: 28px; padding: 5px;
  border-radius: 5px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--hair-soft);
  color: var(--muted);
}
.ed__icb svg { width: 100%; height: 100%; display: block; }
.ed__icb:hover { color: var(--ivory); }
.ed__icb--on { color: var(--champagne); border-color: rgba(201,168,106,0.55); background: rgba(201,168,106,0.14); }

/* scene alignment */
.ed__scene { border-top: 1px solid var(--hair-soft); padding-top: 10px; margin-bottom: 10px; }
.ed__scn { color: var(--champagne); letter-spacing: 0; margin-left: 8px; text-transform: none; }
.ed__modes { display: flex; gap: 4px; margin: 6px 0 8px; }
.ed__mode {
  flex: 1; padding: 6px 4px; border-radius: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair-soft);
  color: var(--muted); font: inherit; font-size: 10px;
}
.ed__mode--on { background: rgba(201,168,106,0.2); color: var(--ivory); border-color: rgba(201,168,106,0.5); }
.ed__nudge { display: flex; gap: 4px; margin-bottom: 6px; }
.ed__nudge button {
  flex: 1; padding: 7px 0; border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hair-soft);
  color: var(--ivory); font: inherit; font-size: 12px;
}
.ed__nudge button:hover { background: rgba(201,168,106,0.2); }
.ed__nudge button[data-n="0"] { flex: 1.6; font-size: 10px; }
.ed__chk { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 10px; margin-bottom: 6px; }

/* in shift mode every label is a handle for the whole set */
body.co-shift .co__card { cursor: move; }
body.co-shift .co__card { border-left-color: #6fa8ff; }

/* In edit mode the labels stop being scenery and become handles. */
body.co-edit .co-host { pointer-events: auto; }
body.co-edit .co__card { cursor: grab; }
body.co-dragging .co__card { cursor: grabbing; }
body.co-edit .co__card:hover { border-left-color: #fff; }
.co--sel .co__card {
  box-shadow: 0 0 0 1px var(--champagne), 0 10px 34px rgba(0,0,0,0.5);
}
.co--sel .co__dot { background: #fff; }

/* ---------------------------------------------------------------------
   15. RESPONSIVE
   WIDTH queries change layout DIRECTION. HEIGHT queries change SIZE.
   A phone in landscape is about 844 x 390 - a WIDE screen with 390px of
   height - so every `max-width: 700px` rule you write never fires on the
   device you are trying to fix. Handbook §12.3, trap #4.
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
  .menu-btn__label { display: none; }
  .brand--lg .brand__sub { display: none; }   /* the rule under it goes too */
}

/* --- short windows, which includes every phone in landscape --- */
@media (max-height: 700px) {
  .head { padding: 14px 22px; }
  .hero__body { padding: 62px 24px 58px; }
  .brand--hero .brand__main { font-size: clamp(20px, 3.6vh, 30px); }
  .brand--hero .brand__sub { margin-top: 0.6em; }
  .hero__body .eyebrow { margin-top: 14px; }
  .cta { margin-top: 16px; padding: 11px 22px; }
  .stats { margin-top: 14px; }
  .scroll { bottom: 10px; }
  .scroll__mouse { width: 16px; height: 25px; }
  .display { font-size: clamp(28px, 5.2vh, 44px); }
  .lede { font-size: 13px; line-height: 1.6; max-width: 52ch; }
  .rule { margin: 12px 0; }
  .cta { margin-top: 16px; }
  .hero__meta { display: none; }
  .stats { gap: 18px; }

  .times { bottom: 16px; }
  .compass { bottom: 16px; right: 18px; }
  .floors { left: 18px; gap: 8px; }
  .floor { padding: 10px 18px; min-width: 110px; }
  .tools { bottom: 16px; left: 18px; gap: 7px; }

  /* The viewer lockup and the rail below it are both anchored near the left
     edge, so on a short screen they are the pair most likely to collide.
     Take the height out of the lockup first: it is decoration, the rail is
     the control. */
  .brand--lg .brand__mark  { width: 40px; height: 40px; }
  .brand--lg .brand__mono  { font-size: 16px; }
  .brand--lg .brand__main  { font-size: clamp(17px, 3.1vh, 25px); }
}
@media (max-height: 470px) {
  .eyebrow { display: none; }
  .display { font-size: clamp(22px, 6vh, 34px); }
  .lede { display: none; }
  .scroll__label { display: none; }
  .brand--hero .brand__sub { display: none; }
  /* The rail is centred on the viewport, so on a 390px-tall landscape phone a
     tall rail pushes its top mark straight through the brand lockup. Shorten
     it AND nudge it down, rather than trusting the centring. */
  .time { padding: 8px 14px; letter-spacing: 0.2em; }
  .time__ic { width: 13px; height: 13px; }
  .compass__dial { width: 42px; height: 42px; }
  .compass__label { display: none; }
  .stats { display: none; }
  .brand--lg .brand__top { display: none; }
  .co-host { --lift: 22px; }
  .co__card { padding: 5px 9px 6px; gap: 7px; }
}

/* ---------------------------------------------------------------------
   19. PUBLISHING PANEL   (callouts.php only)
   The block at the foot of the landmark editor that writes to the live
   site. Hidden unless callouts.php served the page.
   --------------------------------------------------------------------- */
.ed__pub {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--hair);
}
.ed__go {
  width: 100%; padding: 12px;
  background: linear-gradient(180deg, #e7d5ab, var(--champagne));
  color: var(--ink); border: 0; cursor: pointer;
  font-size: 10px; letter-spacing: 0.26em;
}
.ed__go:disabled { opacity: 0.45; cursor: default; }
.ed__msg {
  margin-top: 10px; font-size: 11px; line-height: 1.45;
  color: var(--muted); min-height: 1.45em;
}
.ed__msg--ok  { color: var(--champagne); }
.ed__msg--bad { color: #ffb3ad; }
.ed__more { margin-top: 12px; }
.ed__more > summary {
  cursor: pointer; list-style: none;
  font-size: 9px; letter-spacing: 0.26em; color: var(--faint);
  padding: 6px 0;
}
.ed__more > summary::-webkit-details-marker { display: none; }
.ed__more > summary::before { content: "+ "; color: var(--champagne); }
.ed__more[open] > summary::before { content: "- "; }
.ed__bk { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px 0 2px; }
.ed__bkit {
  padding: 5px 9px; font-size: 10px; letter-spacing: 0.08em;
  background: rgba(255,255,255,0.05); color: var(--muted);
  border: 1px solid var(--hair); cursor: pointer;
}
.ed__bkit:hover { color: var(--ivory); border-color: var(--champagne); }
.ed__out {
  display: block; margin-top: 14px; text-align: center;
  font-size: 9px; letter-spacing: 0.26em; color: var(--faint);
  text-decoration: none;
}
.ed__out:hover { color: var(--ivory); }

/* ---------------------------------------------------------------------
   20. REAL LOGO
   The AIM GROUP mark is portrait (about 2:3) and carries its own name in
   white, so once it loads the square placeholder plate gives way to a
   taller box sized by height, and the artwork sits on the photograph with
   a soft shadow instead of a frame.
   --------------------------------------------------------------------- */
body.has-logo .brand__mark { width: auto; display: block; }   /* grid lets a % height fall back to the 480px file */
body.has-logo .brand__logo {
  height: 100%; width: auto; max-width: none;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.55));
}
body.has-logo .brand--lg   .brand__mark { height: clamp(62px, 5.6vw, 108px); }
body.has-logo .brand--hero .brand__mark { height: clamp(96px, 10vw, 180px); }
@media (max-height: 700px) {
  body.has-logo .brand--lg   .brand__mark { height: 52px; }
  body.has-logo .brand--hero .brand__mark { height: clamp(64px, 14vh, 110px); }
}
@media (max-height: 470px) {
  body.has-logo .brand--lg   .brand__mark { height: 44px; }
  body.has-logo .brand--hero .brand__mark { height: 58px; }
}

/* ---------------------------------------------------------------------
   21. LOW-POWER MODE   (body.lite, set by tour.js)
   For the client's Trueview Android panel and anything like it: a 4K
   surface with a phone-class GPU. Everything here is about giving that GPU
   less to do per frame, not about looks.
   --------------------------------------------------------------------- */

/* The panorama is laid out small and scaled up. --rs is written by tour.js.
   Only the canvas is scaled; the UI above it stays at full resolution, so
   the type and the labels are as sharp as before. */
/* The canvas is rendered at a fraction of the screen and stretched back up
   by the browser. This is done by lowering the pixel ratio Pannellum reads
   (see tour.js), NOT by scaling this element: the hotspots are children of
   the same box, so scaling it scaled every landmark label with it. */

/* backdrop-filter is the single most expensive thing in this stylesheet.
   Each blurred panel makes the compositor re-sample the frame underneath,
   and underneath is a moving panorama, so it is re-sampled every frame.
   Solid fills instead. Visually near-identical over a dark photograph. */
body.lite .times,
body.lite .floor,
body.lite .snd,
body.lite .co__card,
body.lite .ed,
body.lite .menu {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(16, 20, 25, 0.9) !important;
}

/* Endless animation keeps the compositor awake even when nothing moves. */
body.lite .co__dot::after { animation: none; opacity: 0; }
body.lite .hero__grain    { display: none; }
body.lite .scroll__mouse::after { animation: none; }

/* Large soft shadows and drop-shadows are per-pixel blur passes of their own. */
body.lite .co__card { box-shadow: 0 4px 14px rgba(0,0,0,0.5); }
body.lite .times    { box-shadow: 0 4px 14px rgba(0,0,0,0.5); }
body.lite .brand__logo { filter: none; }

/* The level cross-fade transforms two full-screen layers at once. */
body.lite .level { transition: opacity 0.35s linear, visibility 0.35s; transform: none; }
body.lite .level--active { transform: none; }

/* No slide on the labels in low-power mode: the de-collision pass runs at a
   third of the frame rate there, so an animated lift is still travelling
   when the next pass measures it. Snapping is both cheaper and steadier. */
body.lite .co__card,
body.lite .co__stem { transition: none; }

/* ---------------------------------------------------------------------
   22. BIG SCREENS  (2400 device px and up: the client's 55" 4K panel)
   Every clamp() above tops out at laptop sizes, so on a 3840px surface the
   buttons were ~100px plates on a wall-sized picture. These are the same
   controls at showroom scale. Nothing here touches the panorama.
   --------------------------------------------------------------------- */
@media (min-width: 2400px) {
  .head { padding: 56px 88px; }
  .brand--lg { gap: 34px; }
  .brand--lg .brand__mark  { width: 132px; height: 132px; }
  body.has-logo .brand--lg .brand__mark { height: 176px; }
  .brand--lg .brand__top   { font-size: 19px; }
  .brand--lg .brand__main  { font-size: 64px; }
  body.has-logo .brand--lg .brand__main { font-size: 52px; }
  .brand--lg .brand__sub   { font-size: 16px; }
  .menu-btn__lines { width: 40px; gap: 9px; }
  .menu-btn__label { font-size: 18px; }

  .floors { left: 88px; gap: 26px; }
  .floor {
    min-width: 340px; padding: 36px 56px;
    font-size: 22px; letter-spacing: 0.32em;
  }

  .times { bottom: 72px; padding: 9px; }
  .time { padding: 26px 50px; font-size: 20px; gap: 16px; }
  .time__ic { width: 28px; height: 28px; }

  .tools { left: 88px; bottom: 72px; gap: 18px; }
  .snd { padding: 22px 34px; font-size: 17px; gap: 16px; }
  .snd__ic { width: 28px; height: 28px; }

  .compass { right: 88px; bottom: 72px; }
  .compass__dial { width: 120px; height: 120px; }
  .compass__label { font-size: 16px; }

  .co-host { --lift: 60px; }
  .co__card { padding: 14px 24px 16px; gap: 18px; border-left-width: 3px; }
  .co__ic { width: 36px; height: 36px; }
  .co__card b { font-size: 30px; }
  .co__card i { font-size: 16px; margin-top: 7px; }
  .co__dot { width: 12px; height: 12px; left: -6px; top: -6px; }
  .co__stem { width: 2px; }

  .hero__body .display { font-size: 150px; }
  .lede { font-size: 28px; max-width: 46ch; }
  .cta { font-size: 20px; padding: 28px 56px; }
  .brand--hero .brand__main { font-size: 96px; }
  body.has-logo .brand--hero .brand__mark { height: 280px; }
  .stat__n { font-size: 56px; }
  .stat__l { font-size: 16px; }
  .eyebrow { font-size: 20px; }
}


/* ---------------------------------------------------------------------
   23. FLOORS WITH METRES  (the open cut, aimvyana2)
   --------------------------------------------------------------------- */
.floor--m { flex-direction: column; gap: 4px; padding-top: clamp(11px, 1vw, 17px); padding-bottom: clamp(11px, 1vw, 17px); }
.floor--m .floor__lb { font-family: var(--serif); font-size: clamp(17px, 1.25vw, 24px); letter-spacing: 0.08em; }
.floor__m { font-size: clamp(8px, 0.5vw, 10px); letter-spacing: 0.26em; opacity: 0.7; }
.floor--on .floor__m { opacity: 0.85; }
@media (min-width: 2400px) {
  .floor--m .floor__lb { font-size: 40px; }
  .floor__m { font-size: 17px; }
}
@media (max-height: 470px) {
  .floor--m { gap: 2px; }
  .floor__m { display: none; }
}

/* ---------------------------------------------------------------------
   24. FLOOR PLAN
   A full-screen sheet. The image sits in a scrolling box so a zoomed-in
   plan can be dragged or pinched around on the panel; the bar carries the
   zoom buttons and the close. Clicking the dark surround closes it.
   --------------------------------------------------------------------- */
.plan {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: #090b0e;   /* opaque: the brand and menu were showing through */
}
.plan__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 1.6vw, 28px) clamp(22px, 3vw, 58px);
}
.plan__title { display: flex; flex-direction: column; line-height: 1.1; }
.plan__title b {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 1.8vw, 36px); letter-spacing: 0.1em;
}
.plan__title i {
  font-style: normal; font-size: clamp(8px, 0.52vw, 10px);
  letter-spacing: 0.36em; color: var(--champagne); margin-top: 0.6em; text-transform: uppercase;
}
.plan__zoom { display: flex; gap: 8px; }
.plan__zoom button {
  width: clamp(40px, 3vw, 56px); height: clamp(40px, 3vw, 56px);
  border-radius: 50%; border: 1px solid var(--hair);
  background: var(--glass-hi); color: var(--ivory);
  font-size: clamp(20px, 1.5vw, 28px); line-height: 1;
}
.plan__zoom button:disabled { opacity: 0.3; }
.plan__close { margin-left: 10px; }
.plan__scroll {
  flex: 1; overflow: auto; -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 0 clamp(22px, 3vw, 58px) clamp(22px, 3vw, 58px);
}
.plan__img {
  display: block; width: 100%; max-width: none; height: auto;
  margin: 0 auto; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transition: width 0.25s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
body.plan-open .viewer__pano { visibility: hidden; }   /* stop the GPU while the sheet is up */
@media (min-width: 2400px) {
  .plan__bar { padding: 40px 88px; }
  .plan__title b { font-size: 54px; }
  .plan__title i { font-size: 16px; }
  .plan__zoom button { width: 92px; height: 92px; font-size: 44px; }
}
