:root {
  --desk: #121110;
  --desk-2: #1d1b18;
  --paper: #f6f1e7;
  --paper-2: #ebe4d5;
  --ink: #1a1815;
  --muted: #6f685c;
  --line: rgba(26, 24, 21, .14);
  --dark: #1b1a17;
  --dark-ink: #efe9dd;
  --accent: #ff3c00;
  --accent-ink: #c43000;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.645, .045, .355, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --flip: 1.1s;
  --top: 64px;
  --bottom: 100px;
  /* spread: two A-format pages side by side */
  --ph: min(calc(100dvh - var(--top) - var(--bottom) - 32px), calc((100vw - 96px) / 1.414), 900px);
  --pw: calc(var(--ph) * .707);
}
html.single {
  --top: 56px;
  --bottom: 68px;
  --pw: min(calc(100vw - 44px), 560px);
  --ph: min(calc(100dvh - var(--top) - var(--bottom) - 16px), calc(var(--pw) * 1.85));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--desk);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  --mx: 50%; --my: 40%;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- desk / ambience ---------- */
.desk {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 640px at var(--mx) var(--my), rgba(255, 214, 170, .13), transparent 70%),
    radial-gradient(1200px 800px at 50% 110%, rgba(255, 60, 0, .08), transparent 70%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(160deg, var(--desk-2), var(--desk));
  transition: background-position .3s;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; height: var(--top); z-index: 20;
  display: flex; align-items: center; gap: 24px; padding: 0 28px;
  color: var(--dark-ink);
}
.brand img { height: 26px; width: auto; filter: invert(1); }
.topnav { display: flex; gap: 4px; margin: 0 auto; }
.topnav a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding: 8px 14px; border-radius: 99px; color: rgba(239,233,221,.7);
  transition: color .3s, background .3s;
}
.topnav a:hover, .topnav a.active { color: #fff; background: rgba(255,255,255,.08); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 99px;
  background: var(--accent); color: #fff; transition: transform .3s var(--out), box-shadow .3s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--accent); }
.pill svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- scene & book ---------- */
.scene {
  position: fixed; inset: var(--top) 0 var(--bottom); z-index: 1;
  display: grid; place-items: center;
  perspective: 2600px;
  animation: scene-in 1.4s var(--out) both;
}
@keyframes scene-in {
  from { opacity: 0; transform: translateY(40px) scale(.94); }
}
.tilt {
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--out);
}
.book {
  position: relative;
  width: calc(var(--pw) * 2); height: var(--ph);
  /* flat on purpose: leaves are ordered by z-index, which 3D sorting would ignore */
  perspective: 2400px;
  transition: transform var(--flip) var(--ease);
}
html.single .book { width: var(--pw); }
.book.at-start { transform: translateX(-25%); }
.book.at-end { transform: translateX(25%); }

.leaf {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform var(--flip) var(--ease);
}
html.single .leaf { left: 0; width: 100%; }
.leaf.flipped { transform: rotateY(-180deg); }
/* single mode: a turned page leaves the stage */
html.single .leaf { transition: transform var(--flip) var(--ease), opacity 0s; }
html.single .leaf.flipped { opacity: 0; transition: transform var(--flip) var(--ease), opacity .2s calc(var(--flip) - .25s); }

.face {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: var(--paper);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.face.back { transform: rotateY(180deg); }
.front { border-radius: 0 4px 4px 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.back { border-radius: 4px 0 0 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
html.single .face { border-radius: 4px; }

/* spine shadow + paper grain */
.face::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 3%, transparent 9%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.back::before {
  background:
    linear-gradient(270deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 3%, transparent 9%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* moving light while a page turns */
.face::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0) 60%, rgba(255,255,255,.25));
}
.back::after { background: linear-gradient(270deg, rgba(0,0,0,.45), rgba(0,0,0,0) 60%, rgba(255,255,255,.25)); }
.leaf.turning .face::after { animation: shade var(--flip) var(--ease); }
@keyframes shade { 50% { opacity: 1; } }

/* folded corner hint on the page you can turn next */
.corner {
  position: absolute; bottom: 0; width: 0; height: 0; z-index: 7; pointer-events: none;
  transition: width .35s var(--out), height .35s var(--out);
  filter: drop-shadow(-3px -3px 4px rgba(0,0,0,.18));
}
.front .corner { right: 0; background: linear-gradient(to top left, var(--desk) 50%, var(--paper-2) 50%); }
.back .corner { left: 0; background: linear-gradient(to top right, var(--desk) 50%, var(--paper-2) 50%); filter: drop-shadow(3px -3px 4px rgba(0,0,0,.18)); }
.leaf.is-next .front .corner { width: 22px; height: 22px; animation: peel 3.2s 2s var(--out) infinite; }
.leaf.is-prev .back .corner { width: 18px; height: 18px; }
.leaf.is-next .front:hover .corner, .leaf.is-prev .back:hover .corner { width: 54px; height: 54px; animation: none; }
@keyframes peel { 0%, 80%, 100% { width: 22px; height: 22px; } 88% { width: 40px; height: 40px; } }
html.single .back .corner { display: none; }

/* ---------- single mode: make it read as a bound catalog ---------- */
/* page block on the right, thinning as you read (--left set from JS) */
html.single .book::before {
  content: ""; position: absolute; inset: 0; border-radius: 4px; background: var(--paper-2);
  --s: calc(var(--left, 1) * 2.4px + .6px);
  box-shadow:
    var(--s) 0 0 -1px #e2dac8, calc(var(--s) * 2) 0 0 -2px #cfc6b2,
    calc(var(--s) * 3) 0 0 -3px #e2dac8, calc(var(--s) * 4) 0 0 -4px #c4baa4,
    calc(var(--s) * 4) 14px 28px -6px rgba(0,0,0,.6);
  transition: box-shadow .9s var(--ease);
}
/* hardcover spine */
html.single .book::after {
  content: ""; position: absolute; z-index: 0; top: -3px; bottom: -3px; left: -9px; width: 11px; border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #0d0c0b, #2b2824 45%, #3a3631 70%, #1a1816);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.08);
}
html.single .front::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,.12) 2.4%, rgba(255,255,255,.12) 3.4%, rgba(0,0,0,.06) 5%, transparent 10%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* the top page lifts a little to show it can be turned */
.leaf.peek { animation: peek 1.5s var(--ease); }
.leaf.peek .face::after { animation: shade 1.5s var(--ease); }
@keyframes peek { 45% { transform: rotateY(-34deg); } 70% { transform: rotateY(-4deg); } 82% { transform: rotateY(-9deg); } }

.cover-cta .narrow, html.single .cover-cta .wide { display: none; }
html.single .cover-cta .narrow { display: inline; }

/* single-mode reverse side */
.face.blank {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.04), transparent 60%),
    var(--paper-2);
  display: grid; place-items: center;
}
.face.blank img { width: 40%; opacity: .07; }

/* ---------- page base ---------- */
.page { position: absolute; inset: 0; container-type: size; overflow: hidden; }
.pg {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; gap: 3.2cqw;
  padding: 9cqw 8cqw 12cqw;
  overflow-y: auto; scrollbar-width: none;
  font-size: clamp(11px, 2.65cqw, 16px); line-height: 1.6;
}
.pg::-webkit-scrollbar { display: none; }
.pg--center { justify-content: center; align-items: center; text-align: center; }
.pg--end { justify-content: flex-end; }

.folio {
  position: absolute; z-index: 3; left: 8cqw; right: 8cqw; bottom: 4.6cqw;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(9px, 1.7cqw, 11px); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); pointer-events: none;
}
.folio b { font-weight: 700; color: var(--ink); letter-spacing: .05em; }
.page--dark .folio, .page--photo .folio, .page--cover .folio { color: rgba(239,233,221,.55); }
.page--dark .folio b, .page--photo .folio b { color: var(--dark-ink); }
.back .page .folio { flex-direction: row-reverse; }

.eyebrow {
  font-size: clamp(9px, 1.85cqw, 12px); font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-ink); display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }
.pg--center .eyebrow::before { display: none; }
.h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
  font-size: clamp(24px, 8.4cqw, 54px);
}
em { font-family: var(--serif); font-style: italic; }
.h2 em { color: var(--accent-ink); }
.lead { font-size: 1.12em; font-weight: 500; line-height: 1.55; }
.muted { opacity: .7; }
.small { font-size: .85em; opacity: .7; }
.fine { font-size: .75em; opacity: .45; }
h3 { font-size: 1.02em; font-weight: 700; letter-spacing: .01em; }

.ghost-num {
  position: absolute; right: 5cqw; top: 2cqw; z-index: -1;
  font-family: var(--serif); font-size: 42cqw; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--line); pointer-events: none;
}
.page--dark .ghost-num { -webkit-text-stroke-color: rgba(255,255,255,.08); }

.btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em; border-radius: 99px; text-decoration: none;
  font-size: .86em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  transition: transform .35s var(--out), box-shadow .35s, background .3s;
}
.btn i { font-style: normal; transition: transform .35s var(--out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.6); }
.btn:hover i { transform: translateX(4px); }
.btn--light { background: var(--dark-ink); color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8em; }
.btn svg { width: 1.3em; height: 1.3em; fill: #fff; flex: none; }
.btn-row .btn { font-size: .74em; padding: .75em 1.1em; gap: .5em; letter-spacing: .04em; }
.pg--center .btn { align-self: center; }

/* image reveal (mask wipe + slow zoom) */
.reveal { overflow: hidden; border-radius: 3px; clip-path: inset(0 100% 0 0); background: var(--paper-2); }
.reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 2.4s var(--out); }
.page.in .reveal { clip-path: inset(0 0 0 0); }
.page.in .reveal img { transform: scale(1); }
.grow { flex: 1 1 0; min-height: 22cqh; }

/* staggered entrance */
[data-a] { opacity: 0; transform: translateY(18px); }
.page.in [data-a] {
  opacity: 1; transform: none;
  transition: opacity .9s var(--out), transform .9s var(--out);
  transition-delay: calc(var(--i, 0) * 90ms + 300ms);
}
.page.in [data-a].reveal {
  opacity: 1;
  transition: clip-path 1.3s var(--ease) calc(var(--i, 0) * 90ms + 350ms), opacity .3s;
}

/* ---------- dark / photo / cover pages ---------- */
.page--dark, .page--cover, .page--photo { background: var(--dark); color: var(--dark-ink); }
.page--dark .eyebrow, .page--photo .eyebrow, .page--cover .eyebrow { color: #ff7a4d; }
.page--dark .h2 em { color: #ff7a4d; }

.cover-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.page.in .cover-img img { transform: scale(1.02); }
.cover-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,12,.65) 0%, rgba(14,13,12,.05) 32%, rgba(14,13,12,.6) 55%, rgba(14,13,12,.94) 100%);
}
.cover-logo { width: 46cqw; filter: invert(1); }
.cover-tag {
  position: absolute; top: 9cqw; right: 8cqw;
  font-size: clamp(9px, 1.8cqw, 12px); letter-spacing: .3em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35); padding: .6em 1em; border-radius: 99px;
}
.cover-tag b { color: #ff7a4d; }
.cover-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 3cqw; }
.cover-title {
  font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.015em;
  font-size: clamp(34px, 13.5cqw, 92px);
  background: linear-gradient(100deg, #efe9dd 40%, #fff6e8 50%, #efe9dd 60%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page.in .cover-title { animation: foil 4s 1.6s var(--ease) infinite; }
@keyframes foil { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.cover-title em { color: #ff7a4d; -webkit-text-fill-color: #ff7a4d; }
.cover-sub { font-size: 1.1em; opacity: .8; max-width: 34ch; }
.cover-cta {
  align-self: flex-start; margin-top: 2cqw;
  font-size: .8em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  display: inline-flex; gap: .8em; align-items: center;
}
.cover-cta i { font-style: normal; display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.page--back { background: radial-gradient(circle at 50% 30%, #2a2723, var(--dark)); }
.page--back .pg { gap: 5cqw; }
.motto-line { font-family: var(--serif); font-size: clamp(20px, 6.4cqw, 40px); font-style: italic; }

/* welcome */
.quote {
  font-family: var(--serif); font-size: clamp(22px, 7.4cqw, 46px); line-height: 1.15; max-width: 16ch;
}
.quote em { color: #ff7a4d; }
.sign { font-size: .85em; letter-spacing: .1em; opacity: .6; }
.motto { list-style: none; display: flex; gap: 1.2em; margin-top: 6cqw; font-size: .82em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.motto li:nth-child(2) { color: #ff7a4d; }

/* table of contents */
.toc { list-style: none; display: flex; flex-direction: column; margin-top: 2cqw; }
.toc button {
  width: 100%; display: flex; align-items: baseline; gap: 1em; text-align: left;
  padding: min(1.05em, 1.5cqh) 0; border-bottom: 1px solid var(--line);
}
.toc .n { font-size: .78em; font-weight: 700; color: var(--accent-ink); width: 2em; }
.toc .t { font-family: var(--serif); font-size: 1.55em; line-height: 1; transition: transform .45s var(--out); }
.toc .d { flex: 1; border-bottom: 1px dotted rgba(26,24,21,.3); transform-origin: left; transform: scaleX(.3); transition: transform .5s var(--out); }
.toc .p { font-size: .8em; font-weight: 600; color: var(--muted); }
.toc button:hover .t { transform: translateX(.4em); color: var(--accent-ink); }
.toc button:hover .d { transform: scaleX(1); }

/* mission & vision */
.mv-img { height: 33cqh; flex-shrink: 0; }
.mv { display: flex; flex-direction: column; gap: 5cqw; }
.mv-item { padding-left: 5cqw; border-left: 2px solid var(--accent); }
.mv-item .eyebrow::before { display: none; }
.mv-item p:last-child { font-family: var(--serif); font-size: 1.5em; line-height: 1.22; margin-top: .4em; }

/* values */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 6cqw 5cqw; margin-top: 3cqw; }
.values article { display: flex; flex-direction: column; gap: .5em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.values p { font-size: .9em; color: var(--muted); line-height: 1.5; }
.draw { width: 10cqw; max-width: 46px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.draw path, .draw circle { stroke-dasharray: 160; stroke-dashoffset: 160; }
.page.in .draw path, .page.in .draw circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--i, 0) * 90ms + 500ms); }

/* services */
.services { list-style: none; display: flex; flex-direction: column; margin-top: 1cqw; }
.services li {
  display: flex; gap: 1.2em; align-items: baseline; padding: min(1em, 1.4cqh) 0;
  border-bottom: 1px solid rgba(255,255,255,.1); transition: padding .4s var(--out);
}
.services li:hover { padding-left: .6em; }
.services .n { font-size: .75em; font-weight: 700; color: #ff7a4d; }
.services h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6em; line-height: 1.1; }
.services p { font-size: .88em; opacity: .6; }

/* armey park opener */
.park-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 19cqw, 130px); line-height: .9; letter-spacing: -.02em; }
.park-title em { color: #ff7a4d; }
.dot { width: .7em; height: .7em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,60,0,.6); animation: pulse 2s infinite; }
.page--photo .eyebrow:first-child::before { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .9em rgba(255,60,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,60,0,0); } }
.chips { display: flex; flex-wrap: wrap; gap: .5em; }
.chips span {
  font-size: .8em; font-weight: 600; padding: .5em 1em; border-radius: 99px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
}

/* facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 1cqw; }
.facts > div { padding: 1em 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1em; }
.facts > div:nth-child(even) { padding-left: 1.2em; }
.facts dt { font-size: .72em; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--serif); font-size: 2em; line-height: 1.1; margin-top: .15em; }
.facts b { font-weight: 400; }

/* features */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; }
.feat h3 { font-size: .75em; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
.checks { list-style: none; display: flex; flex-direction: column; gap: .45em; }
.checks li { display: flex; gap: .6em; align-items: baseline; font-weight: 500; line-height: 1.35; }
.checks li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); transform: translateY(-.05em) scale(0); transition: transform .5s var(--out); }
.page.in .checks li::before { transform: translateY(-.05em) scale(1); }
.page.in .checks li:nth-child(n)::before { transition-delay: calc(700ms + var(--n, 0) * 70ms); }

/* slideshow */
.slideshow { position: relative; flex: 1 1 0; min-height: 30cqh; border-radius: 3px; overflow: hidden; cursor: zoom-in; background: #000; }
.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease), transform 6s linear;
}
.slideshow img.on { opacity: 1; transform: scale(1); }
.slide-dots { display: flex; gap: 6px; }
.slide-dots button { height: 3px; flex: 1; background: rgba(255,255,255,.18); position: relative; overflow: hidden; border-radius: 2px; }
.slide-dots button.on::after { content: ""; position: absolute; inset: 0; background: #ff7a4d; animation: fill 4.5s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } }

/* mosaic */
.mosaic { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1.6cqw; min-height: 0; }
.mosaic button { position: relative; overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.mosaic button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic button:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out), filter .6s; }
.mosaic button:hover img { transform: scale(1.08); }
.mosaic .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,18,16,.62); color: #fff; font-family: var(--serif); font-size: 1.6em; }

/* rooms */
.rooms { display: flex; flex-wrap: wrap; gap: .35em; flex-shrink: 0; }
.rooms button {
  flex: none; font-size: .74em; font-weight: 600; padding: .45em .85em; border-radius: 99px;
  border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s;
}
.rooms button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.room-main { position: relative; flex: 1 1 0; min-height: 26cqh; border-radius: 3px; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.room-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: room-in .9s var(--out); }
@keyframes room-in { from { opacity: 0; transform: scale(1.06); } }
.room-thumbs { display: flex; gap: 1.4cqw; flex-shrink: 0; }
.room-thumbs button { flex: 1; min-width: 0; max-width: 18%; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; opacity: .55; transition: opacity .3s; }
.room-thumbs button.on, .room-thumbs button:hover { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* map */
/* framed map, sized from the page so it stays centred and never dominates */
.map {
  position: relative; align-self: center; margin: auto 0;
  width: min(84cqw, 46cqh * .8); aspect-ratio: 1000 / 1248; flex-shrink: 0;
  overflow: hidden; border-radius: 3px; background: #222;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), 0 24px 40px -18px rgba(0,0,0,.45);
}
.map-inner { position: absolute; inset: 0; transform: scale(1.2); transition: transform 5s var(--out); }
/* 1.06 crops the black frame baked into the source image */
.page.in .map-inner { transform: scale(1.06); }
.map img { width: 100%; height: 100%; object-fit: cover; }
.ping { position: absolute; left: 33%; top: 9.6%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); }
.ping::before, .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s var(--out) infinite; }
.ping::after { animation-delay: 1.2s; }
@keyframes ring { to { transform: scale(6); opacity: 0; } }
.map-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1em; padding-top: 1em; border-top: 1px solid var(--line); }
.map-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5em; line-height: 1.1; }
.map-info p { color: var(--muted); }
.map-info .btn { align-self: center; }

/* contact */
.contact { display: flex; flex-direction: column; }
.contact > div { display: grid; grid-template-columns: 9em 1fr; gap: 1em; padding: .85em 0; border-bottom: 1px solid var(--line); }
.contact dt { font-size: .72em; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }
.contact dd { font-weight: 500; line-height: 1.45; }
.contact a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--out); }
.contact a:hover { background-size: 100% 1px; }

/* ---------- toolbar ---------- */
.toolbar {
  position: fixed; left: 50%; bottom: 14px; z-index: 20; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(30,28,25,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 99px; color: var(--dark-ink);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.tb-btn { height: 40px; min-width: 40px; border-radius: 99px; display: grid; place-items: center; transition: background .3s; }
.tb-btn:hover { background: rgba(255,255,255,.1); }
.tb-btn:disabled { opacity: .3; pointer-events: none; }
.tb-btn svg, .lb-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-text { padding: 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tb-progress { width: 170px; padding: 0 10px; display: flex; flex-direction: column; gap: 6px; }
#counter { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-align: center; font-variant-numeric: tabular-nums; }
.bar { height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }

.hint {
  position: fixed; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 15;
  font-size: 12px; color: rgba(239,233,221,.5); letter-spacing: .04em; white-space: nowrap;
  transition: opacity .8s; pointer-events: none;
}
.hint.gone { opacity: 0; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: rgba(10,9,8,.94); animation: lb-in .4s var(--out);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { max-width: min(92vw, 1400px); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lightbox img { max-height: 80vh; max-width: 100%; object-fit: contain; border-radius: 3px; animation: room-in .6s var(--out); }
.lightbox figcaption { color: rgba(239,233,221,.7); font-size: 13px; letter-spacing: .06em; }
.lb-close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 34px; line-height: 1; width: 48px; height: 48px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .topnav { display: none; } .topbar { justify-content: space-between; } }
html.single .topbar { padding: 0 14px; }
html.single .brand img { height: 20px; }
html.single .pill span { display: none; }
html.single .pill { padding: 9px; }
html.single .toolbar { bottom: 10px; }
html.single .tb-progress { width: 110px; }
html.single .tb-hide-sm { display: none; }
html.single .hint { display: none; }
html.single .pg { padding: 10cqw 7cqw 13cqw; font-size: clamp(12.5px, 3.6cqw, 16px); }
html.single .lb-nav { display: none; }
html.single .contact > div { grid-template-columns: 1fr; gap: .15em; padding: .6em 0; }

@media (prefers-reduced-motion: reduce) {
  :root { --flip: .01s; }
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .tilt { transform: none !important; }
}
