/* Jordaan House · one stylesheet, v3 (9 Nov 2026, REVIEW-V2.md + CONCEPT-V3.md): the same walk into the house, told at the
   scale the photos deserve and in ONE evening light (the pink glow at both ends, lamplight inside).
   v2 (9 Nov 2026): THE PAGE IS YOUR FIRST WALK INTO THE HOUSE (CONCEPT-V2.md).
   Outside = the lilac of its walls and the colour of Bo-Kaap. A door opens in the lilac wall. Inside = warm plaster, brass,
   dark wood, quieter and bigger. Then back out onto the balcony to book. The ground colour walks with you (no hard cuts),
   a soft light drifts behind the words (the pink sky outside, lamplight inside) and never lies over a photo.
   Kept exactly from v1 (Z likes them): the hero, the lilac wall rising over it with the booking bar, the welcome band. */

@font-face{font-family:"Mazius";src:url("../fonts/MaziusDisplay-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Mazius";src:url("../fonts/MaziusDisplay-Extraitalic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Manrope";src:url("../fonts/Manrope-normal-200-800-latin.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}

:root{
  --paper:#f7f1e8;          /* plaster, lightened */
  --cream:#efe4d3;          /* plaster */
  --lilac:#bcaed6;          /* the wall in sun */
  --lilac-deep:#a18fc9;     /* the wall at its foot, at dusk */
  --lilac-soft:#ddd3ec;     /* the wall, far off */
  --violet:#5b4987;         /* the wall in shade, deepened for text */
  --ink:#271d33;            /* aubergine, from the door wood + the shade */
  --ink-soft:#5a4f66;
  --brass:#a47c3c;
  --brass-ink:#7d5a24;      /* brass deep enough for small words */
  --line:rgba(39,29,51,.14);
  --ground:247 241 232;     /* the walking ground colour (main.js mixes it as you scroll) */
  --glow:255 222 178;
  --display:"Mazius","Iowan Old Style","Palatino",Georgia,serif;
  --text:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.19,.7,.12,1);
  --pad:clamp(72px,8vw,128px);
  --gut:clamp(20px,4vw,56px);
  --wall-h:clamp(34px,6.2vw,96px);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--text);font-size:17.5px;line-height:1.65;font-weight:450;color:var(--ink);background:rgb(var(--ground));
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
p{margin:0 0 1em}
h1,h2,h3{margin:0;font-weight:400}
ul,ol{margin:0;padding:0;list-style:none}
figure{margin:0}
button{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:999px}
.skip:focus{left:12px}

.wrap{width:100%;max-width:1360px;margin:0 auto;padding:0 var(--gut)}
.display{font-family:var(--display);font-weight:400;line-height:1.04;letter-spacing:-.012em;text-wrap:balance;font-size:clamp(38px,4.6vw,72px)}
.display em{font-style:italic;color:var(--violet)}
.chapter{font-size:clamp(46px,6.4vw,112px);line-height:.98;letter-spacing:-.02em}
.kicker{font-family:var(--text);font-weight:650;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--violet);margin:0 0 16px}
.lede{font-size:clamp(18px,1.32vw,22px);line-height:1.55;color:var(--ink);max-width:30em}
.title{font-family:var(--display);font-weight:400;font-size:clamp(30px,2.5vw,44px);line-height:1.08;letter-spacing:-.01em;text-wrap:balance;margin:0 0 18px}
.title em{font-style:italic;color:var(--brass-ink)}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* the light: a soft glow that drifts behind the words (pink sky outside, lamplight inside). It sits BEHIND every section, so
   it shows only on the ground between things, never over a photo. main.js sets --glow from the section you're in. */
.glow{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.glow i{position:absolute;width:86vmax;height:86vmax;border-radius:50%;
  background:radial-gradient(closest-side,rgb(var(--glow) / .5),rgb(var(--glow) / .18) 52%,rgb(var(--glow) / 0))}
.glow i:first-child{left:-40vmax;top:-34vmax;animation:glowA 44s ease-in-out infinite alternate}
.glow i:last-child{right:-44vmax;bottom:-42vmax;animation:glowB 58s ease-in-out infinite alternate}
@keyframes glowA{to{transform:translate3d(30vmax,30vmax,0) scale(1.12)}}
@keyframes glowB{to{transform:translate3d(-30vmax,-22vmax,0) scale(.88)}}

/* the walk: each section names its ground; with JS the sections go clear and the body's colour walks between them */
[data-ground=lilac]{background:var(--lilac)}
[data-ground=plaster]{background:var(--paper)}
[data-ground=cream]{background:#f1e7d8}
html.walk [data-ground]{background:transparent}

/* titles rise in word by word (each word in its own mask; built in tpl.words) */
.w{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em .12em .22em;margin:-.1em -.12em -.22em}
.w > span{display:inline-block}
html.js [data-words] .w > span{transform:translate3d(0,135%,0);transition:transform 1.2s var(--ease-out) calc(var(--i) * 65ms)}
html.js [data-words].is-in .w > span{transform:none}

/* ---------- buttons + links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;border:0;border-radius:999px;
  background:var(--ink);color:var(--paper);font-family:var(--text);font-weight:650;font-size:15.5px;letter-spacing:.01em;text-decoration:none;
  white-space:nowrap;cursor:pointer;transition:background .35s var(--ease),transform .35s var(--ease),color .35s var(--ease)}
.btn:hover{background:var(--violet);transform:translateY(-1px)}
.btn--sm{min-height:42px;padding:0 20px;font-size:14.5px}
.btn--line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn--line:hover{background:var(--ink);color:var(--paper)}
.link-arrow{display:inline-flex;align-items:center;gap:10px;font-weight:650;font-size:15.5px;text-decoration:none;color:var(--ink);
  padding:6px 0;border-bottom:1.5px solid var(--brass)}
.link-arrow::after{content:"";width:18px;height:10px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .35s var(--ease)}
.link-arrow:hover::after{transform:translateX(4px)}

/* ---------- the wall (the parapet curve) ---------- */
.wall{position:absolute;left:0;right:0;bottom:calc(100% - 1px);width:100%;height:var(--wall-h);fill:var(--lilac);pointer-events:none}

/* ---------- nav ---------- */
.nav{position:fixed;inset:0 0 auto 0;z-index:40;display:flex;align-items:center;gap:28px;padding:18px var(--gut);
  transition:background .45s var(--ease),box-shadow .45s var(--ease),padding .45s var(--ease)}
.nav.is-solid{background:rgb(var(--ground) / .96);padding-top:12px;padding-bottom:12px}
/* Z, 10 Nov 2026: over the hero film the bar is frosted glass, "an ever-so-slight blur transparency, like Amina" (Amina's own
   recipe: a light ground at .62 + blur 12px + saturate 1.25 + its soft shadow). The tint is the wall far off, pale enough that
   every menu word clears 4.5:1 on all seven shots (renders/hero-wall/tools/contrast.py). Off while the phone menu is open. */
html:not(.menu-open) .nav:not(.is-solid){background:rgb(244 239 249 / .62);-webkit-backdrop-filter:blur(12px) saturate(1.25);backdrop-filter:blur(12px) saturate(1.25);
  box-shadow:0 12px 30px -24px rgba(39,29,51,.4)}
.nav .mark__line{transition:color .45s var(--ease)}
.nav:not(.is-solid) .mark__line{color:var(--ink)}   /* the small line in ink on the glass (violet drops under 4.5 on the dark shots), as the footer does */
.nav__brand{text-decoration:none;margin-right:auto}
.mark{display:flex;flex-direction:column;line-height:1}
.mark__name{font-family:var(--display);font-size:29px;letter-spacing:-.01em}
.mark__line{font-family:var(--text);font-size:10.5px;font-weight:650;letter-spacing:.2em;text-transform:uppercase;margin-top:6px;color:var(--violet)}
.nav__links{display:flex;gap:30px}
.nav__links a{text-decoration:none;font-weight:600;font-size:15.5px;padding:6px 0;border-bottom:1.5px solid transparent;transition:border-color .3s}
.nav__links a:hover,.nav__links a[aria-current]{border-color:var(--brass)}
.nav__burger{display:none;width:46px;height:46px;border:0;background:transparent;cursor:pointer;position:relative}
.nav__burger span{position:absolute;left:11px;right:11px;height:2px;background:var(--ink);border-radius:2px;transition:transform .35s var(--ease)}
.nav__burger span:first-child{top:18px}.nav__burger span:last-child{top:26px}
html.menu-open .nav__burger span:first-child{transform:translateY(4px) rotate(45deg)}
html.menu-open .nav__burger span:last-child{transform:translateY(-4px) rotate(-45deg)}
.menu{position:fixed;inset:0;z-index:35;background:var(--lilac);display:flex;flex-direction:column;justify-content:center;gap:10px;
  padding:110px var(--gut) 40px;opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s}
html.menu-open .menu{opacity:1;visibility:visible}
html.menu-open{overflow:hidden}
.menu a:not(.btn){font-family:var(--display);font-size:clamp(36px,10vw,54px);line-height:1.2;text-decoration:none}
.menu a[aria-current]:not(.btn){font-style:italic}
.menu .btn{align-self:flex-start;margin-top:24px}
.menu__contact{margin-top:18px;color:var(--ink-soft);font-size:15px}

/* ---------- booking bar ---------- */
.bookbar{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:stretch;background:rgba(247,241,232,.72);border-radius:22px;padding:8px}
.bookbar__field{display:flex;flex-direction:column;justify-content:center;padding:9px 16px;border-radius:15px;background:var(--paper);cursor:pointer;min-width:0}
.bookbar__field label{font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--violet);cursor:pointer}
.bookbar input[type=date]{appearance:none;-webkit-appearance:none;border:0;background:transparent;font-family:var(--text);font-size:16.5px;font-weight:650;
  color:var(--ink);padding:2px 0 0;margin:0;width:100%;min-height:28px;cursor:pointer}
.bookbar__go{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.bookbar__go .btn{width:100%}
.bookbar__nights{font-size:12.5px;color:var(--ink-soft);font-weight:600}
.bookbar__note{margin:10px 6px 0;font-size:14px;color:var(--ink-soft)}

/* ---------- hero: the film, with the lilac wall across the bottom (10 Nov 2026: the wall is lilac GLASS, the film moves behind it) ---------- */
.hero{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--lilac)}
.hero__photo{position:absolute;inset:0 0 0 0;will-change:transform}
.hero__photo img,.hero__photo picture{width:100%;height:100%}
.hero__photo img{object-fit:cover;object-position:var(--pos-d,50% 40%)}
/* the hero film (four angles of the house at dusk) lies over the still and fades in once it is really playing */
.hero__film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 42%;opacity:0;transition:opacity 1.8s var(--ease);pointer-events:none}
.hero__film.is-on{opacity:1}
/* phone pass (10 Nov 2026): a phone that refuses to autoplay video (iPhone Low Power Mode) gets the film's seven shots as stills,
   three seconds each with a slow push, straight cuts (main.js builds .hero__reel only then; the real film fades in over it on a tap) */
.hero__reel{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity 1.4s var(--ease);pointer-events:none}
.hero__reel.is-on{opacity:1}
.hero__photo .hero__reel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:0;will-change:transform}
.hero__photo .hero__reel img.is-on{opacity:1;animation:reelPush 3.4s linear both}
.hero__photo .hero__reel img.is-on.is-pull{animation-name:reelPull}
.hero__reel.is-resting img{animation-play-state:paused}
@keyframes reelPush{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes reelPull{from{transform:scale(1.07)}to{transform:scale(1)}}
.hero__wall{position:relative;z-index:2;width:100%;padding:8px 0 30px;isolation:isolate}
/* the wall at sunset: the parapet curve + the band are ONE painted layer (the curve is its mask), so the light runs through
   both with no seam. Sunlit at the crest with the warm light coming in from the right, as in the photo, deepening to the wall
   in shade at its foot; the band below picks up that shade and lifts back to lilac (no crease, no cut). */
.hero .wall,.balcony .wall{display:none}
.hero__wall::before,.balcony__wall::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:calc(1px - var(--wall-h));bottom:0;pointer-events:none;
  background:
    radial-gradient(85% 130% at 100% 0%,rgba(255,188,148,.5),rgba(255,188,148,0) 60%),
    radial-gradient(50% 90% at 80% 0%,rgba(244,166,188,.26),rgba(244,166,188,0) 70%),
    linear-gradient(180deg,#e4d9f1 0%,#cfc2e5 22%,#bbabd6 50%,#ab9ace 76%,#a492ca 90%,#a18fc9 100%);
  --wall-shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 22 H520 C600 22 640 34 690 58 C744 84 790 96 880 96 H1440 V120 H0 Z'/%3E%3C/svg%3E");
  -webkit-mask:var(--wall-shape) 0 0/100% var(--wall-h) no-repeat,linear-gradient(#000,#000) 0 calc(var(--wall-h) - 2px)/100% 100% no-repeat;
          mask:var(--wall-shape) 0 0/100% var(--wall-h) no-repeat,linear-gradient(#000,#000) 0 calc(var(--wall-h) - 2px)/100% 100% no-repeat}
/* Z, 10 Nov 2026 ("it's hiding too much of the video... more transparency so you can see the video moving behind that purpleness
   ... must be dream"): on the HOME hero the wall is lilac glass. Barely tinted at the crest, enough lilac behind the name and the
   line for them to read on every shot (measured, contrast.py), and solid only at its foot, where it still melts into the band
   below. A 2px blur, no more (he dislikes heavy blur). The closing band keeps the solid wall above. */
.hero__wall::before{
  background:linear-gradient(180deg,
      rgb(234 226 246 / .30) 0,
      rgb(230 221 243 / .44) calc(var(--wall-h) * .8),
      rgb(226 217 241 / .60) calc(var(--wall-h) + 8px),
      rgb(210 198 231 / .72) calc(var(--wall-h) + 96px),
      rgb(186 172 215 / .92) calc(100% - 44px),
      #ae9ed1 100%);
  -webkit-backdrop-filter:blur(2px) saturate(1.1);backdrop-filter:blur(2px) saturate(1.1)}
/* the band under the hero: it picks up the wall's foot, then goes half clear so the soft light behind the page drifts through it
   (Z: "make it a bit transparent so it's not as harsh, just stuck on the page"); v3b: its own foot melts into the street */
.hero + .band--lilac{background:linear-gradient(#ae9ed1 0%,rgb(178 163 211 / .84) 7%,rgb(184 169 212 / .64) 17%,rgb(188 174 214 / .5) 28%,rgb(188 174 214 / .44) 78%,rgb(188 174 214 / 0) 100%)}
.hero__inner{display:grid;grid-template-columns:auto minmax(0,560px);justify-content:space-between;gap:clamp(24px,4vw,64px);align-items:end}
.hero__title{font-size:clamp(56px,5.7vw,108px);line-height:.95;letter-spacing:-.02em;white-space:nowrap}
.hero__line{margin:22px 0 0;font-size:clamp(17.5px,1.3vw,21px);line-height:1.45;max-width:30em;color:var(--ink);text-wrap:balance}
.hero__phonebtn{display:none}
.hero__lphone{display:none}   /* the phone's own hero line (10 Nov 2026); a computer shows .hero__ldesk */
.hero__words{width:min-content}   /* the line wraps under the name (never wider), so the bar fits beside it sooner */
.hero .wrap,.phead .wrap,.balcony .wrap{max-width:none}

/* ---------- page header (inner pages): a photo with the wall ---------- */
.phead{position:relative;min-height:min(88svh,820px);display:flex;align-items:flex-end;overflow:hidden;background:var(--lilac)}
.phead__photo{position:absolute;inset:0;will-change:transform}
.phead__photo img{width:100%;height:100%;object-fit:cover}
.phead__wall{position:relative;z-index:2;width:100%;background:var(--lilac);padding:14px 0 40px}
.phead h1{font-size:clamp(44px,5.6vw,92px);margin-bottom:14px;max-width:14em}
.phead .lede{color:var(--ink);margin:0}
.phead--melt .phead__wall{background:linear-gradient(var(--lilac) 0%,var(--lilac) 52%,#d8cde7 80%,var(--paper) 100%);padding-bottom:clamp(64px,7vw,110px)}
/* v3b (Z, 9 Nov): "the card hides most of the picture" -> the photo gets the screen, the wall is one slim line of words */
.phead--slow{min-height:100svh}
.phead--slow .phead__photo img{object-position:var(--pos,30% 46%)}
.phead--slow .phead__wall{background:linear-gradient(var(--lilac) 0%,var(--lilac) 64%,#d8cde7 86%,var(--paper) 100%);padding:6px 0 clamp(40px,4vw,64px)}
.phead--slow h1{font-size:clamp(40px,4.2vw,76px);max-width:none;margin-bottom:10px;white-space:normal}
html.js .phead--slow [data-words] .w > span{transition:transform 2s var(--ease-out) calc(var(--i) * 160ms + .35s)}
html.js .phead--slow [data-reveal]{transition-duration:1.3s;transition-delay:calc(var(--d,0) * 1s)}

/* ---------- the welcome band (v1, kept) ---------- */
.band{position:relative;background:var(--lilac)}
.intro{padding:clamp(40px,5vw,80px) 0 clamp(70px,8vw,120px)}
.intro__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,6vw,110px);align-items:start}
.intro__words p{font-family:var(--display);font-size:clamp(24px,2.3vw,36px);line-height:1.22;margin:0 0 .55em;color:var(--ink)}
.intro__words a{text-decoration-color:var(--brass);text-underline-offset:5px;text-decoration-thickness:1.5px}
.intro .display em,.street .display em,.door .display em,.manners .display em{color:var(--ink)}
/* v3b (Z, 9 Nov): the welcome tells what the house IS, a discreet hideaway: a door just opened (the key in the lock) cracks
   open as you scroll, and the lines come in one by one, slowly, like being let in on something */
.intro .wrap{max-width:1500px}
.intro__grid{grid-template-columns:minmax(0,.92fr) minmax(0,.62fr) minmax(0,1.22fr);gap:clamp(28px,4vw,80px);align-items:center}
.intro__head .display{font-size:clamp(40px,4.3vw,76px);line-height:1;letter-spacing:-.015em}
.intro__peek{position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:50% 50% 4px 4px / 33.4% 33.4% 4px 4px;background:var(--lilac-deep);
  box-shadow:0 34px 60px -30px rgba(39,29,51,.55)}
.intro__peek img{width:100%;height:100%;object-fit:cover;object-position:46% 50%;transform-origin:50% 50%}
html.js .intro__peek{will-change:clip-path}
.intro__words p.intro__aside{font-style:italic;color:var(--violet);margin-top:.9em}
.intro__words p.intro__sister{font-family:var(--text);font-size:clamp(15.5px,1.1vw,17px);line-height:1.5;color:var(--ink);margin:1.2em 0 0}
.intro__behind{display:grid;grid-template-columns:1fr;gap:9px;margin:.4em 0 1em;font-size:clamp(15.5px,1.1vw,17.5px);font-weight:600;line-height:1.4}
.intro__behind li{position:relative;padding-left:20px}
.intro__behind li::before{content:"";position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--brass)}
html.js .intro [data-reveal]{transition-duration:1.4s;transition-delay:calc(var(--d,0) * 170ms)}

/* ---------- OUTSIDE: one of the neighbours (a street of real photos drifting sideways as you scroll) ---------- */
.street{padding:clamp(30px,4vw,60px) 0 clamp(64px,7vw,110px);overflow:hidden}
.street__head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,5vw,90px);align-items:end;margin-bottom:clamp(36px,4vw,64px)}
.street__words .lede{color:var(--ink)}
/* v3: the house on its street in the evening glow, edge to edge; the camera eases back as you scroll past (main.js dolly) */
.street__frame{position:relative;height:min(86svh,62vw);min-height:420px;overflow:hidden;background:var(--lilac-deep)}
.street__frame picture,.street__frame img{width:100%;height:100%}
.street__frame img{object-fit:cover;object-position:var(--pos-d,50% 64%);transform-origin:55% 62%}
html.js .street__frame img{transform:scale(1.14);will-change:transform}
.street__cap{margin-top:14px;font-size:15px;font-weight:600;color:var(--ink)}
.street__row{margin-top:clamp(36px,4vw,64px)}
.street__row,.things__row{display:flex;align-items:flex-end;gap:clamp(14px,1.5vw,24px);padding:0 var(--gut);width:max-content;will-change:transform}
.street__fig img,.thing img{max-width:none;width:auto;object-fit:cover;border-radius:4px}
.street__fig img{height:min(44vh,440px)}
.street__fig figcaption,.thing figcaption{margin-top:12px;font-size:15px;font-weight:600;color:var(--ink)}

/* ---------- THE DOOR: an arched doorway in the lilac wall opens as you scroll until you're standing in the hall ---------- */
.door{padding:0}
/* ---------- "A historic house, with modern manners." (11 Nov 2026, Z's own words, after Gal's "heritage meets modern"): a small,
   quiet band of words on the lilac between the street and the door. Words only, one sentence a line, no photos. ---------- */
.manners{padding:0 0 clamp(34px,4.4vw,72px)}
.manners__in{max-width:1180px;text-align:center}
.manners__title{font-size:clamp(34px,3.5vw,58px);line-height:1.04;margin:0 auto clamp(18px,2vw,30px);max-width:16em}
.manners .lede{margin:0 auto .42em;max-width:none;text-wrap:balance}
html.js .manners [data-reveal]{transition-duration:1.3s;transition-delay:calc(var(--d,0) * 190ms)}
.door__head{text-align:center;padding-top:clamp(24px,3vw,48px);padding-bottom:clamp(26px,3vw,48px)}
.door__stage{position:relative;height:100svh;min-height:540px}
.door__frame{position:absolute;inset:0;overflow:hidden;
  clip-path:inset(12% calc(50% - min(22vw,300px)) 0 calc(50% - min(22vw,300px)) round min(22vw,300px) min(22vw,300px) 0 0)}
.door__frame picture,.door__frame img{width:100%;height:100%}
.door__frame img{object-fit:cover;object-position:var(--pos-d,50% 56%);transform-origin:50% 48%}
html.js .door__frame{will-change:clip-path}

/* ---------- INSIDE: it all goes quiet (three real photos at different depths) ---------- */
/* v3: Room 1 fills the right of the screen to its very edge; the words sit on the plaster beside it; the gold mirror at a
   second depth over its corner */
.inside{padding:var(--pad) 0 clamp(48px,5vw,88px)}
.inside__grid{display:grid;grid-template-columns:minmax(0,.66fr) minmax(0,1.34fr);gap:clamp(40px,6vw,120px);align-items:center;
  padding-left:max(var(--gut),calc((100vw - 1360px) / 2 + var(--gut)))}
.inside__words h2{margin-bottom:clamp(24px,2.6vw,40px)}
.inside__words .lede{margin-bottom:.7em}
.inside__last{font-family:var(--display);font-size:clamp(26px,2.2vw,36px);line-height:1.22;color:var(--ink);margin-top:1.1em;text-wrap:balance}
.inside__pics{position:relative;padding:0 0 7% 0}
.inside__big{position:relative;height:min(88svh,60vw);min-height:460px;overflow:hidden;border-radius:6px 0 0 6px}
.inside__img{position:absolute;inset:-8% 0}
.inside__img picture,.inside__img img{width:100%;height:100%}
.inside__img img{object-fit:cover;object-position:var(--pos-d,38% 50%)}
.inside__a{position:absolute;left:clamp(-120px,-7vw,-40px);bottom:0;width:clamp(150px,15vw,270px);z-index:2}
.inside__a img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:4px;box-shadow:0 30px 60px -26px rgba(39,29,51,.5)}
.inside .display em,.court .display em,.things .display em,.rooms .display em{color:var(--brass-ink)}

/* ---------- THE ROOMS: one big picture beside six numbered rooms (computer); a swipe row of arched cards (phone) ---------- */
.rooms{padding:clamp(40px,4vw,72px) 0 clamp(40px,4vw,72px)}
.rooms__head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(24px,5vw,90px);align-items:end;margin-bottom:clamp(40px,5vw,80px)}
.rooms__every{margin:0}
.rooms__grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(30px,5vw,96px);align-items:start}
.rooms__more{margin-top:clamp(20px,3vw,40px)}
.rstage{display:none}
.rlist{counter-reset:none}
.ritem{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:0 0 clamp(40px,5vw,70px)}   /* relative: keeps the hidden "Room N" label inside its card (it widened the phone page) */
.ritem__pics{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:50% 50% 6px 6px / 16% 16% 6px 6px;background:var(--cream)}
.ritem__pic,.rstage__pic{position:absolute;inset:0;opacity:0;transition:opacity 1.4s var(--ease)}
.ritem__pic.is-on,.rstage__pic.is-on{opacity:1}
.ritem__pic img,.rstage__pic img{width:100%;height:100%;object-fit:cover;transform:scale(1.07);transition:transform 8s linear}
.ritem__pic.is-on img,.rstage__pic.is-on img{transform:none}
.ritem__num{font-family:var(--display);font-style:normal;font-size:clamp(72px,7vw,124px);line-height:.8;color:var(--brass);margin:0 0 18px;letter-spacing:-.03em}
.ritem__title{font-family:var(--display);font-size:clamp(28px,2.5vw,44px);line-height:1.08;margin:0 0 14px;text-wrap:balance}
.ritem__text{color:var(--ink);max-width:28em;margin:0;font-size:clamp(16.5px,1.15vw,18.5px)}
.ritem__ctas{display:flex;align-items:center;gap:22px;margin-top:24px;flex-wrap:wrap}
.ritem .kicker{margin-bottom:10px}
/* computer with motion: the stage (sticky beside the list; the page itself never stops) */
/* v3: a bigger stage (the wrap opens up to 1640 px), and the rooms you're not on fold down to a number and a name: no grey
   paragraphs stacked over each other. Heights never change while you scroll (only opacity), so nothing jumps. */
html.has-stage .rooms__grid{max-width:1640px;grid-template-columns:minmax(0,1.42fr) minmax(0,.58fr);gap:clamp(40px,5vw,110px)}
html.has-stage .rstage{display:block;position:sticky;--sh:min(calc(100svh - 128px),900px);top:calc(50svh - var(--sh) / 2 + 34px);height:var(--sh)}
html.has-stage .ritem__pics{display:none}
html.has-stage .ritem{min-height:42svh;align-content:center;padding:0}
html.has-stage .ritem__num,html.has-stage .ritem__title,html.has-stage .ritem__kick{opacity:.24;transition:opacity .7s var(--ease)}
html.has-stage .ritem__text,html.has-stage .ritem__ctas{opacity:0;transform:translateY(12px);visibility:hidden;transition:opacity .6s var(--ease),transform .6s var(--ease),visibility 0s .6s}
html.has-stage .ritem.is-on .ritem__num,html.has-stage .ritem.is-on .ritem__title,html.has-stage .ritem.is-on .ritem__kick{opacity:1}
html.has-stage .ritem.is-on .ritem__text,html.has-stage .ritem.is-on .ritem__ctas{opacity:1;transform:none;visibility:visible;transition:opacity .8s var(--ease) .12s,transform .8s var(--ease) .12s,visibility 0s}
html.has-stage .rlist{padding:20svh 0 8svh}
.rstage__frame{position:relative;height:100%;overflow:hidden;border-radius:50% 50% 6px 6px / 14% 14% 6px 6px;background:var(--cream)}
.rstage__room{position:absolute;inset:0;clip-path:inset(100% 0 0 0)}
.rstage__room.is-on{clip-path:inset(0 0 0 0)}
.rstage__pager{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:4px;padding:5px;border-radius:999px;background:rgba(247,241,232,.94);z-index:5}
.rstage__pager button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-family:var(--display);font-size:18px;line-height:1;cursor:pointer;color:var(--ink);transition:background .3s,color .3s}
.rstage__pager button:hover{background:var(--cream)}
.rstage__pager button[aria-current]{background:var(--ink);color:var(--paper)}

/* ---------- the courtyard + sauna ---------- */
/* v3: the courtyard as a whole scene, edge to edge under its tree; the sauna photo steps over its bottom edge */
.court{padding:clamp(48px,5vw,80px) 0 clamp(40px,5vw,80px)}
.court__head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,5vw,90px);align-items:end;margin-bottom:clamp(36px,4vw,64px)}
.court__head h2{margin:0}
.court__words .lede:last-child{margin-bottom:0}
.court__scene{position:relative;height:min(78svh,50vw);min-height:400px;overflow:hidden}
.court__img{position:absolute;inset:-8% 0}
.court__img picture,.court__img img{width:100%;height:100%}
.court__img img{object-fit:cover;object-position:var(--pos-d,50% 55%)}
.court__sauna{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,5vw,100px);align-items:start}
.court__small{position:relative;z-index:2;justify-self:end;width:min(100%,360px);margin-top:calc(-1 * min(15vw,240px))}
.court__small img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:4px;box-shadow:0 30px 60px -26px rgba(39,29,51,.5)}
.court__sauna-words{padding-top:clamp(36px,4vw,64px);max-width:32em}

/* ---------- the little things (a strip that drifts the other way) ---------- */
.things{padding:clamp(64px,7vw,110px) 0 var(--pad);overflow:hidden}
.things__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:clamp(36px,4vw,64px)}
.things__head .lede{margin:0}
.thing img{height:min(54vh,500px);aspect-ratio:2/3}
.thing:nth-child(even){margin-bottom:clamp(30px,6vh,70px)}

/* ---------- THE BALCONY: back outside to book (the same lilac wall as the hero rises over the mountain) ---------- */
.balcony{position:relative;min-height:100svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--lilac)}
.balcony__photo{position:absolute;inset:0}
html.js .balcony__photo{top:-35svh;will-change:transform}
.balcony__photo picture,.balcony__photo img{width:100%;height:100%}
.balcony__photo img{object-fit:cover;object-position:var(--pos-d,50% 45%)}
.balcony__wall{position:relative;z-index:2;width:100%;padding:8px 0 clamp(44px,5vw,76px);isolation:isolate}
.balcony__inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,5vw,80px);align-items:end}
.balcony__words .lede{color:var(--ink);margin:14px 0 0}
.balcony .kicker{color:var(--ink)}
.balcony__bar{max-width:640px;justify-self:end;width:100%}
.balcony .display{font-size:clamp(46px,5.4vw,96px);line-height:.98}
.balcony .display em{color:var(--ink)}

/* ---------- rooms page ---------- */
.jump{display:flex;flex-wrap:wrap;gap:10px;padding-top:clamp(28px,3vw,44px);padding-bottom:clamp(24px,3vw,40px)}
/* v3b (Z, 9 Nov): the room buttons stand out more: the lilac of the house, violet when you point at one */
.jump{gap:12px}
.jump a{text-decoration:none;font-weight:700;font-size:15.5px;padding:13px 24px;border-radius:999px;background:var(--lilac);color:var(--ink);
  box-shadow:0 10px 24px -14px rgba(91,73,135,.75);transition:background .3s,color .3s,transform .3s var(--ease)}
.jump a:hover,.jump a:focus-visible{background:var(--violet);color:var(--paper);transform:translateY(-2px)}
.every{padding:0 0 var(--pad)}
.every--rooms{padding:0 0 clamp(20px,3vw,40px)}
.every__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px);align-items:start;padding:clamp(20px,3vw,40px) var(--gut)}
.every__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px}
.every__list li{position:relative;padding-left:22px;font-weight:600;font-size:17px}
.every__list li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--brass)}
.room{padding:clamp(56px,6vw,104px) 0;scroll-margin-top:70px}
.room .wrap{max-width:1640px}
.room__grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,.58fr);gap:clamp(28px,5vw,100px);align-items:center}
.room:nth-of-type(odd) .room__grid{grid-template-columns:minmax(0,.58fr) minmax(0,1.42fr)}
.room:nth-of-type(odd) .rshow{order:2}
.rshow__frame{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:50% 50% 6px 6px / 15% 15% 6px 6px;background:var(--cream)}
.rshow__pic{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 1.3s var(--ease)}
.rshow__pic.is-on{opacity:1;pointer-events:auto}
.rshow__pic img{width:100%;height:100%;object-fit:cover;transform:scale(1.07);transition:transform 8s linear}
.rshow__pic.is-on img{transform:none}
.rshow__thumbs{display:flex;gap:10px;margin-top:14px}
.rshow__thumb{flex:0 0 auto;width:78px;height:58px;padding:0;border:0;border-radius:4px;overflow:hidden;cursor:pointer;opacity:.55;transition:opacity .3s,box-shadow .3s;background:var(--cream)}
.rshow__thumb img{width:100%;height:100%;object-fit:cover}
.rshow__thumb:hover{opacity:.85}
.rshow__thumb[aria-current]{opacity:1;box-shadow:0 0 0 2px rgb(var(--ground)),0 0 0 4px var(--brass)}
.room__num{font-family:var(--display);font-style:normal;font-size:clamp(84px,8vw,150px);line-height:.8;color:var(--brass);margin:0 0 22px;letter-spacing:-.03em}
.room__words h2{font-size:clamp(34px,3.6vw,58px);margin-bottom:20px}
.room__words .display em{color:var(--brass-ink)}
.room__ctas{margin-top:8px}

/* ---------- the house page ---------- */
/* v3: each part of the house gets a big photo that runs off the edge of the screen, the words and two smaller photos beside it */
.part{padding:clamp(56px,6vw,104px) 0}
.part .wrap{max-width:none;padding:0}
.part__grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr);gap:clamp(36px,5vw,100px);align-items:center;
  padding-right:max(var(--gut),calc((100vw - 1360px) / 2 + var(--gut)))}
.part--flip .part__grid{grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);padding-right:0;padding-left:max(var(--gut),calc((100vw - 1360px) / 2 + var(--gut)))}
.part--flip .part__big{order:2;border-radius:6px 0 0 6px}
.part__big{position:relative;overflow:hidden;border-radius:0 6px 6px 0;height:min(84svh,50vw);min-height:380px}
.part__img{position:absolute;inset:-7% 0}
.part__img img{width:100%;height:100%;object-fit:cover}
.part h2{margin-bottom:20px;font-size:clamp(36px,4vw,66px)}
.part__smalls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.part__small img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:4px}
.things--page{padding-top:clamp(48px,6vw,96px)}

.part__words,.room__words,.court__words,.inside__words,.street__head > *,.rooms__head > *,.intro__grid > *,.find > *{min-width:0}

/* ---------- gallery ---------- */
.ghead{padding-top:clamp(130px,14vw,190px);padding-bottom:clamp(20px,2vw,30px)}
.ghead h1{font-size:clamp(46px,6vw,96px)}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:clamp(22px,3vw,36px)}
.chips button{border:0;cursor:pointer;font-weight:650;font-size:14.5px;padding:10px 18px;border-radius:999px;background:var(--cream);transition:background .3s,color .3s}
.chips button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.gallery{columns:4 260px;column-gap:14px;padding-bottom:var(--pad)}
.gtile{display:block;overflow:hidden;border-radius:4px;background:var(--cream);break-inside:avoid;margin:0 0 14px}
.gtile img{width:100%;height:auto;transition:transform 1s var(--ease)}
.gtile:hover img{transform:scale(1.04)}
.gtile[hidden]{display:none}

/* ---------- find us ---------- */
.find{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,80px);align-items:start;padding-bottom:calc(var(--pad) + var(--wall-h))}
.find__words .lede{color:var(--ink)}
.find__words .btn{margin-top:6px}
.find__sister,.find__book{margin-top:28px;padding:22px 24px;background:rgba(247,241,232,.82);border-radius:12px}
.find__sister a{text-decoration-color:var(--brass);text-underline-offset:4px}
.map{position:relative;width:100%;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--cream)}
.map__still{width:100%;height:100%;object-fit:cover}
.map.is-live .map__still{display:none}
.pin{position:relative}
.pin__dot{position:absolute;left:-11px;top:-11px;width:22px;height:22px;border-radius:50%;background:var(--violet);box-shadow:0 0 0 5px rgba(247,241,232,.9),0 6px 18px rgba(39,29,51,.35)}
.pin__label{position:absolute;left:20px;top:-17px;white-space:nowrap;background:var(--paper);color:var(--ink);font-family:var(--text);font-weight:700;font-size:14px;padding:6px 12px;border-radius:999px;box-shadow:0 4px 14px rgba(39,29,51,.18)}
.pin--sister .pin__dot{width:14px;height:14px;left:-7px;top:-7px;background:#2a7880;box-shadow:0 0 0 4px rgba(247,241,232,.9)}
.pin--sister .pin__label{font-weight:600;font-size:13px;top:-14px;left:14px}
.leaflet-container{font-family:var(--text);background:var(--cream)}

/* ---------- 404 ---------- */
.lost{min-height:70svh;padding-bottom:var(--pad)}
.lost__links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* ---------- footer: still on the lilac wall (light, no dark band at the end) ---------- */
.foot{background:linear-gradient(var(--lilac-deep),#b1a1d1 30%,var(--lilac) 70%,#c9bde0);color:var(--ink);padding:clamp(56px,6vw,90px) 0 30px}
.foot__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:clamp(24px,4vw,60px)}
.foot__brand{text-decoration:none;display:inline-block}
.foot .mark__line{color:var(--ink)}
.foot .foot__sister{margin-top:22px;max-width:22em}
.foot__h{font-family:var(--text);font-size:12.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--ink);opacity:.75;margin-bottom:14px}
.foot p{margin:0 0 10px;font-size:15.5px}
.foot__grid a{text-decoration:none}
.foot__grid a:hover{text-decoration:underline;text-decoration-color:var(--ink);text-underline-offset:4px}
.foot .link-arrow{border-color:var(--ink)}
.foot__small{color:var(--ink-soft);font-size:14px!important}
.foot__base{margin-top:clamp(40px,5vw,70px);font-size:13.5px;color:var(--ink-soft)}
/* the inner pages end on the balcony band too; the gallery/contact/404 footers sit straight under paper */
.balcony + * {margin-top:0}

/* ---------- sticky book (phone) ---------- */
.stickybook{display:none}

/* ---------- lightbox ---------- */
.lb{position:fixed;inset:0;z-index:60;background:rgba(28,21,37,.94);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s}
.lb.is-open{opacity:1;visibility:visible}
.lb img{max-width:min(92vw,1600px);max-height:86svh;width:auto;height:auto;border-radius:4px}
.lb button{position:absolute;border:0;background:rgba(247,241,232,.12);color:#fff;width:52px;height:52px;border-radius:50%;cursor:pointer;font-size:22px;line-height:1}
.lb button:hover{background:rgba(247,241,232,.25)}
.lb__close{top:18px;right:18px}
.lb__prev{left:18px;top:50%;transform:translateY(-50%)}
.lb__next{right:18px;top:50%;transform:translateY(-50%)}
.lb__count{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#cfc4dd;font-size:14px;font-weight:600}

/* ---------- reveals ---------- */
html.js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
html.js [data-reveal].is-in{opacity:1;transform:none}
/* v3: photos arrive with one quiet move, a wipe that rises from the bottom (the same move as the room stage) while the picture
   settles from 1.1 to 1. Only with JS + motion; reduced motion shows them in place. */
/* (the wipe sits on the photo, never on the observed figure: Chrome reports a fully clipped element as never in view) */
[data-unveil]:not(.inside__a):not(.court__small){overflow:hidden}
html.js .inside__a[data-unveil] > img,html.js .court__small[data-unveil] > img{transform:none}   /* these two keep their shadow, so no zoom */
html.js [data-unveil] > img{clip-path:inset(100% 0 0 0);transform:scale(1.1);transition:clip-path 1.3s cubic-bezier(.7,0,.2,1),transform 1.8s cubic-bezier(.2,.7,.2,1)}
html.js [data-unveil] > figcaption{opacity:0;transition:opacity .9s var(--ease) .5s}
html.js [data-unveil].is-in > img{clip-path:inset(0 0 0 0);transform:none}
html.js [data-unveil].is-in > figcaption{opacity:1}

/* ---------- desktop sizes ---------- */
@media (max-width:1100px){
  .nav__links{gap:22px}
  .every__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot__grid{grid-template-columns:1fr 1fr}
  .gallery{columns:3 220px}
  .balcony__inner{grid-template-columns:1fr}
  .balcony__bar{justify-self:start}
  .intro__grid{grid-template-columns:minmax(0,.55fr) minmax(0,1fr)}
  .intro__head{grid-column:1/-1}
}
@media (max-width:1000px){   /* 10 Nov 2026: was 1100, so the glass wall stays one slim row on small laptop windows */
  .hero__inner{grid-template-columns:1fr;gap:20px}
  .hero__words{width:auto}
  .hero__book{max-width:640px}
}
@media (max-width:900px){
  .nav__links,.nav__cta{display:none}
  .nav__burger{display:block}
}
/* a computer without the stage (reduced motion, no JS): the six rooms as three arched cards a row, each with its photo */
@media (min-width:1000px){
  html:not(.has-stage) .rooms__grid{display:block}
  html:not(.has-stage) .rlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(40px,4vw,64px) clamp(20px,2.4vw,36px)}
  html:not(.has-stage) .ritem{padding:0;gap:0}
  html:not(.has-stage) .ritem__pics{margin-bottom:20px}
  html:not(.has-stage) .ritem__num{font-size:clamp(60px,5vw,92px);margin:0 0 12px}
}
/* tablets: inside + courtyard stack (the photo still runs edge to edge) */
@media (max-width:999px){
  .inside__grid{grid-template-columns:1fr;padding-left:0;gap:40px}
  .inside__words{padding:0 var(--gut)}
  .inside__pics{margin-left:var(--gut)}
  .inside__big{height:min(72svh,86vw)}
  .inside__a{left:auto;right:calc(100% - 22vw);bottom:-30px;width:24vw}
  .court__head,.street__head{grid-template-columns:1fr;gap:12px}
}
/* tablets + phones: the rooms become a swipe row of arched cards that play their own photos */
@media (max-width:999px){
  .rooms__grid{display:block;padding:0}
  .rlist{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:16px;padding:0 var(--gut) 8px;scroll-padding:0 var(--gut)}
  .rlist::-webkit-scrollbar{display:none}
  .ritem{flex:0 0 auto;width:min(46vw,420px);scroll-snap-align:start;padding:0;gap:0;align-content:start}
  .ritem__pics{aspect-ratio:4/5;margin-bottom:18px}
  .ritem__num{font-size:clamp(60px,8vw,84px);margin:0 0 12px}
  .ritem__words{padding:0 4px}
}

/* =========================================================
   THE PHONE: its own pass (one rhythm, swipe rows, every photo shows its subject, booking one thumb away)
   ========================================================= */
@media (max-width:760px){
  :root{--pad:72px;--gut:18px;--wall-h:34px}
  body{font-size:16.5px}
  .display{font-size:clamp(32px,9vw,40px)}
  .chapter{font-size:clamp(40px,11.4vw,50px);line-height:1}
  .kicker{font-size:12px;margin-bottom:12px}
  .nav{padding:12px var(--gut)}
  .mark__name{font-size:25px}
  .mark__line{font-size:9.5px;margin-top:5px}

  .hero{min-height:100svh}
  .hero__photo img{object-position:var(--pos-p,50% 30%)}
  .hero__film{object-position:50% 50%}
  .hero__wall{padding:6px 0 calc(22px + env(safe-area-inset-bottom))}
  .hero__title{font-size:clamp(42px,12.6vw,56px)}
  .hero__line{font-size:17px;margin-top:10px}
  .hero__book{display:none}
  .hero__phonebtn{display:flex;width:100%;margin-top:18px}

  .phead{min-height:72svh}
  .phead h1{font-size:clamp(34px,10vw,44px)}
  .phead__wall{padding:6px 0 28px}

  .intro__grid,.street__head,.inside__grid,.rooms__head,.court__grid,.every__grid,.balcony__inner,.find,.room__grid,.part__grid,.part--flip .part__grid,
  .room:nth-of-type(odd) .room__grid{grid-template-columns:1fr}
  .intro{padding:26px 0 56px}
  .intro__words p{font-size:23px}
  .intro__grid{gap:22px}
  .intro__head .display{font-size:clamp(34px,9.6vw,42px)}
  .intro__peek{width:46vw;justify-self:start}
  .intro__behind{grid-template-columns:1fr;gap:8px;font-size:15.5px}
  .intro__words p.intro__sister{font-size:15.5px}
  .phead--slow{min-height:86svh}
  .phead--slow h1{font-size:clamp(32px,8.8vw,40px)}

  /* swipe rows: one card and a peek of the next */
  [data-swipe]{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    gap:12px;padding:0 var(--gut) 6px;scroll-padding:0 var(--gut);width:auto!important;transform:none!important}
  [data-swipe]::-webkit-scrollbar{display:none}
  [data-swipe] > *{scroll-snap-align:start;flex:0 0 auto}

  .lede{font-size:17px}
  .title{font-size:28px;margin-bottom:12px}
  .street{padding:18px 0 44px}
  .street__head{gap:6px;margin-bottom:26px}
  .street__frame{height:auto;min-height:0;aspect-ratio:4/5}
  .street__frame img{object-position:var(--pos-p,50% 60%)}
  .street__cap{font-size:13.5px;margin-top:10px}
  .street__row{margin-top:24px}
  .street__fig img{height:auto;width:54vw;aspect-ratio:4/5;object-fit:cover}
  .street__fig figcaption,.thing figcaption{font-size:13.5px;margin-top:8px}

  .door__head{padding-top:10px;padding-bottom:22px}
  .door__stage{height:80svh;min-height:480px}
  .door__frame{clip-path:inset(10% 14% 0 14% round 36vw 36vw 0 0)}
  .door__frame img{object-position:var(--pos-p,50% 56%)}

  .inside{padding:48px 0 60px}
  .inside__grid{gap:28px}
  .inside__pics{margin-left:0;padding:0}
  .inside__big{height:auto;min-height:0;aspect-ratio:4/5;border-radius:0}
  .inside__img img{object-position:var(--pos-p,50% 50%)}
  .inside__a{right:var(--gut);left:auto;bottom:-34px;width:34vw}
  .inside__last{font-size:24px}

  .rooms{padding:64px 0 48px}
  .rooms__head{gap:8px;margin-bottom:28px}
  .ritem{width:82vw}
  .ritem__title{font-size:27px}
  .ritem__text{font-size:15.5px}
  .ritem__ctas{gap:16px;margin-top:18px}

  .court{padding:52px 0 32px}
  .court__head{margin-bottom:24px}
  .court__scene{height:auto;min-height:0;aspect-ratio:4/5}
  .court__img img{object-position:var(--pos-p,50% 60%)}
  .court__sauna{grid-template-columns:1fr;gap:0}
  .court__small{justify-self:start;width:42vw;margin-top:-64px}
  .court__sauna-words{padding-top:22px}

  .things{padding:48px 0 calc(64px + var(--wall-h))}
  .things__head{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:26px}
  .thing img{height:auto;width:56vw}
  .thing:nth-child(even){margin-bottom:0}

  .balcony{min-height:100svh}
  .balcony__photo{bottom:auto;height:80svh}
  html.js .balcony__photo{top:-10svh}
  .balcony__photo img{object-position:var(--pos-p,31% 42%)}
  .balcony__wall{padding:6px 0 calc(28px + env(safe-area-inset-bottom))}
  .balcony .display{font-size:clamp(40px,11.4vw,50px)}
  .balcony__inner{gap:16px}

  .room{padding:52px 0}
  .room__words{order:2}
  .room__num{font-size:84px;margin-bottom:18px}
  .room__words h2{font-size:30px}
  .rshow{order:0!important;margin:0 calc(var(--gut) * -.4)}
  .rshow__thumbs{overflow-x:auto;scrollbar-width:none;padding:2px 2px 6px}
  .rshow__thumbs::-webkit-scrollbar{display:none}
  .rshow__thumb{width:64px;height:48px}
  .part{padding:52px 0}
  .part__grid,.part--flip .part__grid{padding:0;gap:26px}
  .part__big,.part--flip .part__big{height:auto;min-height:0;aspect-ratio:4/3;border-radius:0}
  .part__words{padding:0 var(--gut)}
  .part--flip .part__big{order:0}
  .part h2{font-size:32px}
  .part__smalls{margin:22px calc(var(--gut) * -1) 0}
  .part__smalls > *{width:60vw}
  .jump{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-left:var(--gut);padding-right:var(--gut)}
  .jump::-webkit-scrollbar{display:none}
  .jump a{flex:0 0 auto}
  .every__list{grid-template-columns:1fr 1fr;gap:12px 18px}
  .every__list li{font-size:15.5px}

  .bookbar{grid-template-columns:1fr 1fr;padding:6px;border-radius:18px}
  .bookbar__go{grid-column:1/-1}

  .gallery{columns:2;column-gap:8px}
  .gtile{margin-bottom:8px}
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:calc(var(--gut) * -1);margin-right:calc(var(--gut) * -1);padding:0 var(--gut)}
  .chips::-webkit-scrollbar{display:none}
  .chips button{flex:0 0 auto}
  .ghead{padding-top:104px}
  .ghead h1{font-size:clamp(36px,10.5vw,46px)}
  .map{aspect-ratio:1/1}

  .foot__grid{grid-template-columns:1fr 1fr;gap:26px 18px}
  .foot__grid > div:first-child{grid-column:1/-1}
  .foot__grid > div:nth-child(3){display:none}
  .foot{padding-top:44px}
  .foot__base{margin-top:30px}

  /* phone pass (10 Nov 2026): the rows glide sideways by themselves as you scroll (main.js moves their own scroll position, so
     they stay swipeable); a gliding row does not snap */
  [data-swipe].is-gliding{scroll-snap-type:none}

  /* phone pass: THE ROOMS STAGE RIDES ALONG. The arched picture sticks under the menu bar while the six rooms scroll past beneath
     it (the page itself never stops) and wipes to the room you're reading; it lets go together with Room 6. A plate in the ground
     colour sits behind it so the words slip away under it cleanly. Without JS, with less motion, or on a tablet the rooms stay
     the swipe row of arched cards above. */
  html.has-pstage .rooms__grid{padding:0 var(--gut)}
  html.has-pstage .rstage{display:block;position:sticky;top:var(--navh,70px);z-index:3;isolation:isolate;padding-top:8px;margin-bottom:var(--rel,300px)}
  html.has-pstage .rstage::before{content:"";position:absolute;z-index:-1;left:calc(var(--gut) * -1);right:calc(var(--gut) * -1);top:-10px;bottom:-28px;pointer-events:none;
    background:linear-gradient(rgb(var(--ground)) 0,rgb(var(--ground)) calc(100% - 28px),rgb(var(--ground) / 0) 100%)}
  html.has-pstage .rstage__frame{height:auto;aspect-ratio:4/3;max-height:34svh;z-index:0}   /* z-index: the 1 to 6 buttons stay on top of every room that wipes in */
  html.has-pstage .rstage__pager{bottom:12px}
  html.has-pstage .rstage__pager button{width:38px;height:38px}
  html.has-pstage .rlist[data-swipe]{display:block!important;overflow:visible;scroll-snap-type:none;padding:34px 0 0;margin-top:calc(var(--rel,300px) * -1)}
  html.has-pstage .ritem{width:auto;padding:0 0 46px}
  html.has-pstage .ritem:last-child{padding-bottom:0}
  html.has-pstage .ritem__pics{display:none}
  html.has-pstage .ritem__words{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:end;padding:0;opacity:.3;transition:opacity .6s var(--ease)}
  html.has-pstage .ritem.is-on .ritem__words{opacity:1}
  html.has-pstage .ritem__num{grid-column:1;grid-row:1 / span 2;align-self:end;font-size:72px;line-height:.78;margin:0}
  html.has-pstage .ritem__kick{grid-column:2;margin:0 0 6px}
  html.has-pstage .ritem__title{grid-column:2;margin:0}
  html.has-pstage .ritem__text{grid-column:1 / -1;margin-top:12px}
  html.has-pstage .ritem__ctas{grid-column:1 / -1;margin-top:14px}

  .stickybook{display:block;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background:linear-gradient(rgb(var(--ground) / 0),rgb(var(--ground) / .96) 30%);transform:translateY(110%);transition:transform .45s var(--ease)}
  .stickybook .btn{width:100%}
  body.show-sticky .stickybook{transform:none}
  body.near-end .stickybook{transform:translateY(110%)}
  .foot{padding-bottom:calc(30px + 76px)}
}

/* phone centring (10 Nov 2026, Z: "on mobile, center everything, the text specifically ... all the way down on every page"):
   on a phone every heading, line, caption, link and button sits in the middle of the screen. Computers and tablets are untouched;
   the photos keep their places (only the door peek under the welcome words moves to the middle with its words). */
@media (max-width:760px){
  main,.foot{text-align:center}
  .hero__line,.lede,.phead h1,.court__sauna-words,.ritem__text,.foot .foot__sister{margin-left:auto;margin-right:auto}
  .intro__peek{justify-self:center}
  .things__head{align-items:center}
  .ritem__ctas,.lost__links{justify-content:center}
  .foot .mark{align-items:center}
  /* two side-by-side columns would each centre in their own half; one column keeps every line in the middle of the screen */
  .every__list{grid-template-columns:1fr}
  .foot__grid{grid-template-columns:1fr}
  /* the bullet lists: the brass dot rides in front of each centred line instead of hanging at the left edge */
  .intro__behind li,.every__list li{padding-left:0}
  .intro__behind li::before,.every__list li::before{position:relative;left:auto;top:-.14em;display:inline-block;vertical-align:middle;margin-right:10px}
  /* the rooms that ride under the picture: the big number on top, then the room's name, all in the middle */
  html.has-pstage .ritem__words{grid-template-columns:minmax(0,1fr);justify-items:center}
  html.has-pstage .ritem__num{grid-column:1;grid-row:auto;align-self:auto;margin:0 0 10px}
  html.has-pstage .ritem__kick,html.has-pstage .ritem__title{grid-column:1}
}

/* Z's three notes from his own iPhone (10 Nov 2026, 18:50; opened from an app = 393 x 643 of page):
   1. home hero: the glass wall sits lower, so more of the film shows (the same words, set tighter)
   2. the room picture that rides along: centred, and as wide as the screen allows (it shrank and sat left on shorter phones)
   3. The House page top: a smaller lilac band set lower, so more of the house shows and the whole top fits on one screen */
@media (max-width:760px){
  /* 19:10, Z again: "a bit smaller... less tall": the band about a quarter shorter again (212 to ~160 px), a smaller button */
  .hero{--wall-h:20px}
  .hero__inner{gap:0}   /* the booking bar beside the name is hidden on a phone, so its 20 px gap only pushed the button down */
  .hero__wall{padding-top:2px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .hero__title{font-size:clamp(34px,9.4vw,42px);line-height:.92}
  .hero__line{font-size:15px;line-height:1.3;margin-top:4px}
  .hero__phonebtn{margin:8px auto 0;width:auto;min-width:min(100%,250px);min-height:42px;padding:0 26px;font-size:14.5px}

  /* 19:30, Z: the line is "Bo-Kaap's little lilac secret." on a phone (one line, so the band breathes); a computer keeps its line */
  .hero__ldesk{display:none}
  .hero__lphone{display:inline}
  .hero__line{margin-top:7px}
  .hero__phonebtn{margin-top:13px}
  /* 19:30, Z: the film PULLED BACK. The film (and its stills and the still photo) fill only the space above the glass band, plus a
     soft 60 px fade under the band's crest, so the whole height of every shot shows (the phone film is now a full-height
     square, renders/video/house-film/make_hero_phone_wide.py). Below the fade the glass lies on the lilac. */
  .hero__photo{bottom:96px;-webkit-mask:linear-gradient(#000 calc(100% - 60px),transparent);mask:linear-gradient(#000 calc(100% - 60px),transparent)}

  /* the photo drifts down as you scroll, so the film slides back in under the name: on a phone the glass is a little more solid
     from just under the crest (measured: the name read 4.0 over the dark hall steps at 30% scroll, needs 4.5) */
  .hero__wall::before{
    background:linear-gradient(180deg,
        rgb(234 226 246 / .30) 0,
        rgb(230 221 243 / .44) calc(var(--wall-h) * .8),
        rgb(226 217 241 / .84) calc(var(--wall-h) + 10px),
        rgb(214 202 234 / .90) calc(var(--wall-h) + 60px),
        rgb(186 172 215 / .94) calc(100% - 30px),
        #ae9ed1 100%)}

  html.has-pstage .rstage__frame{max-height:38svh;margin-left:auto;margin-right:auto}
  /* the bigger picture leaves less room under it: the room's number and spacing a little tighter, so the room you read still
     fits whole between the picture and the booking bar */
  html.has-pstage .ritem__num{font-size:54px;margin-bottom:6px}
  html.has-pstage .ritem__ctas{margin-top:10px}
  html.has-pstage .ritem__title{font-size:25px}
  html.has-pstage .ritem__text{font-size:15px;line-height:1.45}

  .phead:not(.phead--slow){min-height:78svh}
  .phead:not(.phead--slow) .phead__wall{padding:2px 0 20px}
  .phead:not(.phead--slow) .kicker{margin-bottom:8px}
  .phead:not(.phead--slow) h1{font-size:clamp(30px,8.6vw,38px);margin-bottom:8px}
  .phead:not(.phead--slow) .lede{font-size:16px;line-height:1.45}
}

/* a finger instead of a mouse (phone pass, 10 Nov 2026): things answer a press the way they answer a pointer */
@media (hover:none){
  a,button{-webkit-tap-highlight-color:transparent}
  .btn:active{background:var(--violet);transform:scale(.97)}
  .btn--line:active{background:var(--ink);color:var(--paper)}
  .link-arrow:active::after{transform:translateX(4px)}
  .gtile:active img{transform:scale(1.04)}
  .jump a:active{background:var(--violet);color:var(--paper)}
  .rstage__pager button:active,.chips button:active{background:var(--cream)}
}

/* ---------- less motion ----------
   main.js reads the device's Reduce Motion setting and stamps html.less plus html.motion-still or html.motion-calm (it used to be
   this media query alone; a class lets ?motion= show each version on one phone, see main.js).
   still = a finished still page, no film: every computer that asks for less motion (exactly as before 10 Nov 2026).
   calm  = a phone that asks for less motion: the film plays, words and photos fade in softly and photos take turns by a
           dissolve; nothing slides, zooms or opens. Without JS the page is still anyway. */
@media (prefers-reduced-motion:reduce){
  html.no-js *{transition:none!important;animation:none!important}
}
html.less *{transition:none!important;animation:none!important}
html.less.js [data-reveal]{opacity:1;transform:none}
html.less.js [data-words] .w > span{transform:none}
html.less.js [data-unveil] > img{clip-path:none;transform:none}
html.less.js [data-unveil] > figcaption{opacity:1}
html.less .hero__photo,html.less .phead__photo,html.less .balcony__photo{transform:none!important}
html.less.js .balcony__photo{top:0}
html.motion-still .hero__film{display:none}
html.less .ritem__pic img,html.less .rstage__pic img,html.less .rshow__pic img{transform:none}
html.less.js .street__frame img{transform:none}
/* calm: nothing travels, but nothing just snaps into place either */
html.motion-calm.js [data-reveal],html.motion-calm.js [data-words],html.motion-calm.js [data-unveil] > img,html.motion-calm.js [data-unveil] > figcaption{opacity:0;transition:opacity 1.2s var(--ease)!important}
html.motion-calm.js [data-reveal].is-in,html.motion-calm.js [data-words].is-in,html.motion-calm.js [data-unveil].is-in > img,html.motion-calm.js [data-unveil].is-in > figcaption{opacity:1}
html.motion-calm .hero__film,html.motion-calm .hero__reel{transition:opacity 1.8s var(--ease)!important}
html.motion-calm .ritem__pic,html.motion-calm .rshow__pic{transition:opacity 1.4s var(--ease)!important}
