/* ELEMENTOR COMPAT (before the site's rules): neutral ground for the HTML widgets. Same weight as a class,
   so every rule of the site that follows still wins, while the theme's bare h2 / p margins do not. */
.sb-sec :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.sb-sec :where(h1, h2, h3, h4) { font-family: inherit; color: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-transform: none; }
.sb-sec :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; box-shadow: none; text-transform: none; letter-spacing: inherit; border-radius: 0; }
.sb-sec :where(button:hover, button:focus) { background: none; color: inherit; }
.sb-sec :where(input, textarea) { box-shadow: none; border-radius: 0; }

/* Studio Bella · tokens
   Palette: black and white (Orel, 05.10.2026: "שחור לבן בצבעים"). Ink taken from the Bella
   signature (#000 in LOGO_1.svg), warmed one step so it is not a raw black on screen.
   Paper: a white that leans warm, so the photos' plaster and oak read true.
   Type: Noto Sans Hebrew, variable wght 100-900 + wdth 62.5-100 (Talia: "צר וגבוה, מינימליסטי"),
   self-hosted, Hebrew + Latin subsets. */

:root {
  /* colour */
  --ink: #111110;            /* signature black, warmed */
  --ink-soft: #4A4A47;       /* body on paper: 8.9:1 */
  --ink-mute: #76766F;       /* captions on paper: 4.6:1 */
  --paper: #FAFAF8;
  --paper-2: #F1F0EC;        /* the second ground, one step deeper */
  --white: #FFFFFF;
  --line: rgba(17, 17, 16, .14);
  --line-strong: rgba(17, 17, 16, .32);
  --shadow: rgba(17, 17, 16, .18);

  /* tone (every chapter reads these, never the raw colours) */
  --ground: var(--paper);
  --on-ground: var(--ink);
  --on-ground-soft: var(--ink-soft);
  --on-ground-mute: var(--ink-mute);
  --on-ground-line: var(--line);

  /* type */
  --font: "Bella Sans", "Noto Sans Hebrew", "Arial Hebrew", system-ui, sans-serif;
  --narrow: 68%;             /* display width */
  --semi: 84%;               /* body width */
  --fs-mega: clamp(3.6rem, 1.4rem + 11vw, 13rem);
  --fs-hero: clamp(3.2rem, min(9vw, 15vh), 10.5rem);
  --fs-h2: clamp(2.4rem, 1.4rem + 4.4vw, 6rem);
  --fs-h3: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem);
  --fs-lead: clamp(1.15rem, 1rem + .55vw, 1.5rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.12rem);
  --fs-small: .92rem;
  --fs-label: .76rem;

  /* space + grid: one grid for the whole site */
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1560px;
  --sec: clamp(96px, 14vw, 220px);
  --hdr-h: 76px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* z */
  --z-hdr: 50; --z-dock: 55; --z-room: 80; --z-loader: 100;
}

[data-tone="ink"] {
  --ground: var(--ink);
  --on-ground: #F4F4F1;
  --on-ground-soft: #C9C9C3;     /* 11:1 on ink */
  --on-ground-mute: #93938C;     /* 6.1:1 on ink */
  --on-ground-line: rgba(244, 244, 241, .18);
}
[data-tone="paper-2"] { --ground: var(--paper-2); }
[data-tone="white"] { --ground: var(--white); }

/* Studio Bella · base: reset, chapters, header, buttons, reveal gate, loader, WhatsApp button */

:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; padding: 0; }
:where(ul, ol) { list-style: none; }
:where(img, video, canvas, svg) { display: block; max-width: 100%; }
:where(a) { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); background: var(--paper); }
body {
  font-family: var(--font); font-stretch: var(--semi); font-weight: 350;
  font-size: var(--fs-body); line-height: 1.7; color: var(--ink); background: var(--paper);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html.bl-lock, html.bl-lock body { overflow: hidden; }
::selection { background: var(--ink); color: var(--paper); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- grid ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- chapters: each paints its own ground, feathered at the edges ---------- */
.chapter { position: relative; isolation: isolate; overflow-x: clip; color: var(--on-ground); padding-block: var(--sec); }
.chapter > .chapter__bg {
  --fe: 22vh; position: absolute; inset: calc(var(--fe) * -.5) 0; z-index: -1; pointer-events: none; background: var(--ground);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.4) calc(var(--fe) * .5), #000 var(--fe), #000 calc(100% - var(--fe)), rgba(0,0,0,.4) calc(100% - var(--fe) * .5), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.4) calc(var(--fe) * .5), #000 var(--fe), #000 calc(100% - var(--fe)), rgba(0,0,0,.4) calc(100% - var(--fe) * .5), transparent 100%);
}
@media (max-width: 767px) { .chapter > .chapter__bg { --fe: 9vh; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; direction: ltr;
  font-size: var(--fs-label); font-stretch: 100%; font-weight: 450; letter-spacing: .26em; text-transform: uppercase;
  color: var(--on-ground-mute);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }
.display {
  font-stretch: var(--narrow); font-weight: 250; line-height: .98; letter-spacing: -.02em; text-wrap: balance;
}
.h2 { font-size: var(--fs-h2); font-stretch: var(--narrow); font-weight: 250; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-stretch: 75%; font-weight: 350; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--on-ground-soft); font-weight: 300; max-width: 46ch; }
.body { color: var(--on-ground-soft); max-width: 58ch; }
.hair { height: 1px; background: var(--on-ground-line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--on-ground); --fg: var(--ground); --bd: var(--on-ground);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: 0;
  font-size: .98rem; font-stretch: 84%; font-weight: 450; letter-spacing: .01em; white-space: nowrap;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .2s var(--ease-out);
}
.btn:hover { --bg: transparent; --fg: var(--on-ground); }
.btn:focus-visible { outline-offset: 3px; }
.btn:active { transform: scale(.97); }
.btn--line { --bg: transparent; --fg: var(--on-ground); --bd: var(--on-ground-line); }
.btn--line:hover { --bd: var(--on-ground); --bg: transparent; }
.btn__arrow { width: 18px; height: 10px; transition: transform .4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(-5px); }
.link {
  display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; min-height: 44px;
  font-stretch: 84%; font-weight: 450; border-bottom: 1px solid var(--on-ground-line); transition: border-color .3s;
}
.link:hover { border-color: var(--on-ground); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--z-hdr); height: var(--hdr-h);
  color: var(--ink); transition: transform .5s var(--ease-out), background .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { display: block; width: 92px; color: currentColor; }
.hdr__logo svg { width: 100%; height: auto; fill: currentColor; }
.hdr__nav { display: flex; gap: clamp(18px, 2.6vw, 40px); margin-inline-start: auto; }
.hdr__nav a { position: relative; font-stretch: 84%; font-weight: 400; font-size: .98rem; padding-block: 10px; }
.hdr__nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.hdr.on-media { color: #fff; }
.hdr.on-media .btn { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.hdr.on-media .btn:hover { --bg: transparent; --fg: #fff; }
.hdr.is-solid { background: var(--paper); color: var(--ink); border-color: var(--line); }
.hdr.is-solid .btn { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.hdr.is-solid .btn:hover { --bg: transparent; --fg: var(--ink); }
.hdr.is-away { transform: translateY(-100%); }
.hdr__burger { display: none; width: 44px; height: 44px; margin-inline-start: auto; position: relative; }
.hdr__burger span { position: absolute; left: 11px; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.hdr__burger span:first-child { top: 18px; } .hdr__burger span:last-child { top: 26px; }
html.menu-open .hdr__burger span:first-child { transform: translateY(4px) rotate(45deg); }
html.menu-open .hdr__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-hdr) - 1); background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: var(--hdr-h) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility 0s .4s;
}
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out); }
.menu a { font-size: clamp(2.6rem, 12vw, 4rem); font-stretch: var(--narrow); font-weight: 250; line-height: 1.2; }
.menu__meta { margin-top: 32px; color: var(--ink-soft); font-size: var(--fs-small); display: grid; gap: 6px; }

@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: block; }
  .hdr__logo { width: 78px; }
}

/* ---------- WhatsApp: one round button, always within reach ---------- */
.wa-float { position: fixed; z-index: var(--z-dock); bottom: calc(22px + env(safe-area-inset-bottom)); inset-inline-start: 22px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff;
  box-shadow: 0 12px 32px rgba(17,17,16,.28); transition: transform .16s var(--ease-out), opacity .3s ease, visibility .3s; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }
html.bl-lock .wa-float { opacity: 0; visibility: hidden; }
@media (max-width: 900px) { .wa-float { width: 54px; height: 54px; bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline-start: 14px; } }

/* ---------- reveal gate: everything is visible until JS has booted ---------- */
.rv { transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out); }
html.bl-anim .rv:not(.is-in) { opacity: 0; transform: translateY(24px); filter: blur(4px); }
.rv[data-d="1"] { transition-delay: .07s; } .rv[data-d="2"] { transition-delay: .14s; } .rv[data-d="3"] { transition-delay: .21s; } .rv[data-d="4"] { transition-delay: .28s; }
/* framed image reveal: the frame is fixed, the picture settles inside it */
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
html.bl-anim .frame.rv:not(.is-in) img { transform: scale(1.08); }
.frame img { transition: transform 1.6s var(--ease-out); }
html.bl-anim .frame.rv { filter: none !important; }

@media (hover: none), (pointer: coarse), (max-width: 900px) {
  html.bl-anim .rv:not(.is-in) { filter: none; }
  .rv { transition-property: opacity, transform; }
}

/* ---------- loader: the signature draws itself ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader); background: var(--paper); color: var(--ink);
  display: grid; place-items: center; animation: loader-escape 0s 3.2s forwards;
}
.loader__mark { width: min(260px, 52vw); }
.loader__mark svg { width: 100%; height: auto; fill: currentColor; }
.loader__ink { clip-path: inset(0 100% 0 0); animation: loader-draw 1.5s .15s var(--ease-io) forwards; }
.loader__tag { opacity: 0; animation: loader-tag .8s 1.2s var(--ease-out) forwards; }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out), visibility 0s .7s; }
@keyframes loader-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes loader-tag { to { opacity: 1; } }
@keyframes loader-escape { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loader { display: none; }
}

/* ---------- footer ---------- */
.ftr { position: relative; isolation: isolate; color: var(--on-ground); padding-block: 72px calc(48px + env(safe-area-inset-bottom)); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.ftr__logo { width: 120px; } .ftr__logo svg { width: 100%; height: auto; fill: currentColor; }
.ftr h4 { font-size: var(--fs-label); font-weight: 450; font-stretch: 100%; letter-spacing: .24em; text-transform: uppercase; color: var(--on-ground-mute); margin-bottom: 14px; direction: ltr; text-align: right; }
.ftr li { margin-bottom: 6px; color: var(--on-ground-soft); }
.ftr a:hover { color: var(--on-ground); }
.ftr__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--on-ground-line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--on-ground-mute); font-size: var(--fs-small); }
@media (max-width: 900px) {
  .ftr { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
}

/* ---------- moving between pages: one soft dissolve, the header stays put ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .4s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.hdr { view-transition-name: hdr; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- phone: touch, not a squeezed desktop ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"] { touch-action: manipulation; }
@media (max-width: 900px) {
  /* every link a thumb can hit: 44px tall without changing how the lists look */
  .ftr li { margin-bottom: 0; }
  .ftr li a { display: inline-block; padding-block: 11px; }
  .ftr li:not(:has(a)) { padding-block: 11px; }
  .contact__big { display: inline-block; padding-block: 6px; }
  .contact__list a { display: inline-block; padding-block: 11px; }
}

/* Studio Bella · inner pages: projects, a project, about, contact
   One system: paper grounds, one dark band per page (the next project, the invitation), narrow tall Hebrew,
   photos in their own ratio. Motion only enters (ease-out) and only on a real pointer for hover. */

/* ---------- shared pieces ---------- */
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: transparent; --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --bd: #fff; --fg: #fff; --bg: rgba(255,255,255,.08); }
.tour__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.link .btn__arrow { flex: none; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 72px); }
.ftr__bg { position: absolute; inset: 0; z-index: -1; background: var(--ground); }
.ftr { border-top: 1px solid var(--line); }
html.menu-open .hdr { color: var(--ink); }
html.menu-open .hdr .btn { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }

.facts { display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-mute); font-size: var(--fs-small); }
.facts dd { color: var(--ink-soft); }
.facts a { border-bottom: 1px solid var(--line-strong); transition: border-color .25s; }
.facts a:hover { border-color: var(--ink); }

/* a photo that waits for its pixels: the paper tone, then the picture fades in once decoded */
html.bl-anim .frame img.is-wait, html.bl-anim .gal__item img { opacity: 0; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
html.bl-anim .frame img.is-ld, html.bl-anim .gal__item img.is-ld { opacity: 1; }

/* =========================================================
   PROJECTS
   ========================================================= */
.plist-head { padding: calc(var(--hdr-h) + clamp(56px, 9vw, 150px)) 0 clamp(40px, 5vw, 80px); }
.plist-head__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px var(--gutter); align-items: end; }
.plist-head__title { font-size: var(--fs-mega); margin-top: 18px; }
.plist-head__title sup { font-size: .2em; font-stretch: 100%; font-weight: 400; letter-spacing: .1em; vertical-align: top; position: relative; top: .55em;
  margin-inline-start: .25em; color: var(--ink-mute); }
.plist-head__side { padding-bottom: .6em; }
.plist { padding-bottom: var(--sec); }

/* the flagship: wide, the tour on it */
.feat { position: relative; display: grid; margin-bottom: clamp(64px, 9vw, 150px); color: #fff; }
.feat > * { grid-area: 1 / 1; }
.feat__pic { aspect-ratio: 21 / 9; background: var(--ink); }
.feat__pic::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(17,17,16,.72) 0%, rgba(17,17,16,.25) 45%, rgba(17,17,16,0) 70%); }
.feat__text { position: relative; align-self: end; display: grid; gap: 12px; justify-items: start; padding: clamp(22px, 4vw, 60px); pointer-events: none; }
.feat__text a { pointer-events: auto; }
.feat__tag { font-size: var(--fs-label); letter-spacing: .2em; color: rgba(255,255,255,.8); }
.feat__name { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 7rem); }
.feat__city { color: rgba(255,255,255,.82); }
.feat__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* the grid: three columns, the middle one walks a step down */
.plist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 6vw, 110px) clamp(16px, 2.2vw, 36px); align-items: start; }
.plist__grid .pcard:nth-child(3n + 2) { margin-top: clamp(56px, 9vw, 160px); }
.pcard { display: grid; gap: 16px; align-content: start; }
.pcard__pic { aspect-ratio: 4 / 5; }
.pcard__pic img { transition: transform 1.1s var(--ease-out), opacity .6s var(--ease-out); }
.pcard__view { position: absolute; bottom: 16px; inset-inline-end: 16px; padding: 9px 16px; background: var(--paper); color: var(--ink); font-size: .82rem; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
.pcard__meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "no name count" "no city count"; column-gap: 16px; row-gap: 2px;
  padding-top: 14px; border-top: 1px solid var(--line); align-items: baseline; }
.pcard__no { grid-area: no; font-size: var(--fs-label); letter-spacing: .14em; color: var(--ink-mute); font-stretch: 100%; direction: ltr; }
.pcard__name { grid-area: name; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); font-stretch: var(--narrow); font-weight: 350; line-height: 1.1; }
.pcard__city { grid-area: city; color: var(--ink-mute); font-size: var(--fs-small); }
.pcard__count { grid-area: count; color: var(--ink-mute); font-size: var(--fs-label); letter-spacing: .06em; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard__pic img, .feat:hover .feat__pic img { transform: scale(1.035); }
  .pcard:hover .pcard__view { opacity: 1; transform: none; }
  .feat__pic img { transition: transform 1.4s var(--ease-out), opacity .6s var(--ease-out); }
}
.pcard:active .pcard__pic img { transform: scale(.99); transition-duration: .16s; }

@media (max-width: 1100px) {
  .plist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plist__grid .pcard:nth-child(3n + 2) { margin-top: 0; }
  .plist__grid .pcard:nth-child(2n) { margin-top: clamp(48px, 8vw, 110px); }
}
@media (max-width: 700px) {
  .plist-head__grid { grid-template-columns: minmax(0, 1fr); }
  .plist-head__title { font-size: clamp(3.6rem, 19vw, 5rem); }
  .feat { margin-inline: calc(var(--gutter) * -1); }
  .feat__pic { aspect-ratio: 4 / 5; }
  .feat__act { width: 100%; }
  .feat__act .btn { flex: 1 1 auto; }
  .plist__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .plist__grid .pcard:nth-child(2n) { margin-top: 0; }
}

/* =========================================================
   A PROJECT
   ========================================================= */
.phero { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.phero__pic { position: absolute; inset: 0; z-index: -1; }
.phero__pic img { width: 100%; height: 100%; object-fit: cover; animation: phero-in 1.8s var(--ease-out) both; }
@keyframes phero-in { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17,17,16,.45) 0%, rgba(17,17,16,0) 28%, rgba(17,17,16,0) 45%, rgba(17,17,16,.7) 100%); }
.phero__in { position: relative; display: grid; gap: 10px; justify-items: start; padding-bottom: clamp(56px, 11vh, 130px); }
.phero__in > * { animation: phero-up .9s var(--ease-out) both; }
.phero__in > :nth-child(2) { animation-delay: .08s; } .phero__in > :nth-child(3) { animation-delay: .16s; } .phero__in > :nth-child(4) { animation-delay: .24s; }
@keyframes phero-up { from { opacity: 0; transform: translateY(18px); } }
.phero__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 18px; font-size: var(--fs-small); color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .25s; }
.phero__back svg { width: 16px; height: 10px; }
.phero__back:hover { border-color: #fff; }
.phero__no { font-size: var(--fs-label); letter-spacing: .2em; color: rgba(255,255,255,.75); direction: ltr; font-stretch: 100%; }
.phero__title { font-size: clamp(3.4rem, 1.6rem + 7.4vw, 10rem); text-shadow: 0 2px 40px rgba(17,17,16,.3); }
.phero__city { font-size: var(--fs-lead); font-weight: 300; color: rgba(255,255,255,.88); }
.phero__cue { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 56px; margin-left: -22px; display: grid; justify-items: center; }
.phero__cue i { width: 1px; height: 44px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.pinfo { padding-block: clamp(56px, 8vw, 130px) clamp(40px, 5vw, 80px); }
.pinfo__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 36px var(--gutter); align-items: start; }
.pinfo__text { display: grid; gap: 26px; justify-items: start; }
.pinfo__lead { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.3rem); font-stretch: var(--narrow); font-weight: 300; line-height: 1.35; max-width: 30ch; text-wrap: pretty; }
.pinfo__facts div { grid-template-columns: 90px minmax(0, 1fr); }

/* a project page is its name, its place and its photos: the gallery follows the opening photo directly */
.gal { padding-block: clamp(14px, 1.6vw, 26px) var(--sec); }
.pinfo, .phero__no { display: none; }   /* pages built before 07.10 still carry these */
.gal__rows { display: grid; gap: clamp(10px, 1.4vw, 22px); }
.gal__row { display: flex; gap: clamp(10px, 1.4vw, 22px); }
.gal__item { position: relative; display: block; aspect-ratio: var(--ar); background: var(--paper-2); overflow: hidden; cursor: zoom-in; flex: var(--g) 1 0; min-width: 0; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; }
.gal__row--one { justify-content: center; }
.gal__row--one .gal__item { flex: 0 0 auto; width: min(100%, 46%); }
@media (hover: hover) and (pointer: fine) {
  .gal__item img { transition: opacity .6s var(--ease-out), transform 1.1s var(--ease-out); }
  .gal__item:hover img { transform: scale(1.025); }
}
@media (max-width: 700px) {
  .gal__row--one .gal__item { width: 76%; }
  .gal__rows, .gal__row { gap: 8px; }
}

/* the next project: the whole width, one photo, its name */
.pnext { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 76vh; min-height: 76svh; color: #fff; overflow: hidden; background: var(--ink); }
.pnext__pic { position: absolute; inset: 0; z-index: -1; }
.pnext__pic img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform 1.4s var(--ease-out), opacity .6s var(--ease-out); }
.pnext__in { display: grid; gap: 12px; justify-items: start; padding-block: clamp(48px, 8vw, 110px); }
.pnext .eyebrow { color: rgba(255,255,255,.75); }
.pnext__name { font-size: clamp(3rem, 1.5rem + 6.6vw, 9rem); transition: transform .8s var(--ease-out); }
.pnext__city { display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-lead); font-weight: 300; color: rgba(255,255,255,.85); }
.pnext__city svg { width: 22px; height: 12px; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pnext:hover .pnext__pic img { transform: scale(1.03); opacity: .72; }
  .pnext:hover .pnext__name { transform: translateX(-14px); }
  .pnext:hover .pnext__city svg { transform: translateX(-8px); }
}

@media (max-width: 900px) {
  .phero { height: 88vh; height: 88svh; }
  .phero__title { font-size: clamp(3.6rem, 17vw, 5.4rem); }
  .pinfo__grid { grid-template-columns: minmax(0, 1fr); }
  .pnext { min-height: 64svh; }
}

/* =========================================================
   THE INVITATION (projects, a project, about)
   ========================================================= */
.cta { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; padding-block: clamp(110px, 16vw, 240px); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(17,17,16,.7), rgba(17,17,16,.2)); }
.cta__in { display: grid; gap: 20px; justify-items: start; }
.cta .eyebrow { color: rgba(255,255,255,.7); }
.cta__title { font-size: clamp(3rem, 1.6rem + 6vw, 8.4rem); }
.cta__sub { font-size: var(--fs-lead); font-weight: 300; color: rgba(255,255,255,.85); max-width: 36ch; }
.cta__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
@media (max-width: 700px) {
  .cta__act { width: 100%; }
  .cta__act .btn { flex: 1 1 auto; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.ahero { padding: calc(var(--hdr-h) + clamp(48px, 7vw, 120px)) 0 var(--sec); }
.ahero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); align-items: center; }
.ahero__pic { grid-column: 1 / span 5; }
.ahero__pic .frame { aspect-ratio: var(--ar); }
.ahero__pic figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-mute); }
.ahero__text { grid-column: 7 / span 6; display: grid; gap: 24px; }
.ahero__title { font-size: clamp(3.4rem, 1.6rem + 6.4vw, 9rem); line-height: .9; }
.ahero__title { font-size: clamp(3rem, 1.5rem + 5.2vw, 7.4rem); line-height: .95; }
.ahero__lead { font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2.2rem); font-stretch: var(--narrow); font-weight: 300; line-height: 1.3; max-width: 24ch; text-wrap: balance; }
.ahero__story { display: grid; gap: 14px; max-width: 54ch; color: var(--ink-soft); }
.ahero__sign { font-size: var(--fs-small); letter-spacing: .04em; color: var(--ink-mute); padding-top: 4px; }

.idea { padding-block: var(--sec); background: var(--paper-2); }
.idea__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.idea__text { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 40px); display: grid; gap: 26px; justify-items: start; }
.idea__quote { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.9rem); font-stretch: var(--narrow); font-weight: 250; line-height: 1.12; text-wrap: balance; }
.idea__quote span { color: var(--ink-mute); }
.idea__pics { grid-column: 7 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.idea__pics figure:nth-child(1) { grid-column: 1 / -1; }
.idea__pics figure:nth-child(3) { margin-top: 18%; }
.idea__pics .frame { aspect-ratio: var(--ar); }

.svcs { padding-block: var(--sec); }
.svcs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.svc { display: grid; align-content: start; gap: 16px; min-height: 320px; padding: 28px 26px 30px; background: var(--paper-2); transition: background .3s ease, color .3s ease; }
.svc__no { font-size: var(--fs-label); letter-spacing: .2em; color: var(--ink-mute); direction: ltr; text-align: right; font-stretch: 100%; transition: color .3s ease; }
.svc__name { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); font-stretch: var(--narrow); font-weight: 300; line-height: 1.05; margin-top: auto; }
.svc p { color: var(--ink-soft); font-size: .98rem; transition: color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { background: var(--ink); color: var(--paper); }
  .svc:hover p, .svc:hover .svc__no { color: rgba(250,250,248,.72); }
}

/* packages: three ways to work together, no prices */
.pkgs { padding-block: var(--sec); background: var(--paper-2); }
.pkgs .sec-head .body { margin-top: 6px; }
.pkgs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pkg { display: grid; grid-template-rows: auto auto auto 1fr; gap: 14px; padding: clamp(26px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); }
.pkg__tag { font-size: var(--fs-label); letter-spacing: .24em; color: var(--ink-mute); direction: ltr; text-align: right; font-stretch: 100%; }
.pkg__name { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem); font-stretch: var(--narrow); font-weight: 250; line-height: 1.05; }
.pkg__for { color: var(--ink-soft); font-size: .98rem; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pkg__list { display: grid; gap: 10px; align-content: start; padding-top: 4px; }
.pkg__list li { position: relative; padding-inline-start: 22px; font-size: .98rem; }
.pkg__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 1px; background: currentColor; }
.pkg--full { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pkg--full .pkg__tag, .pkg--full .pkg__for { color: rgba(250,250,248,.7); }
.pkg--full .pkg__for { border-color: rgba(250,250,248,.2); }
.pkgs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(28px, 4vw, 48px); }
.pkgs__foot p { font-size: var(--fs-lead); font-weight: 300; }
@media (max-width: 1000px) {
  .pkgs__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pkgs__foot .btn { flex: 1 1 100%; }
}

.process { padding-block: var(--sec); background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.steps::before { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1px; background: var(--line-strong); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 34px; }
.steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.steps li:first-child::before { background: var(--ink); }
.steps__no { font-size: var(--fs-label); letter-spacing: .2em; color: var(--ink-mute); direction: ltr; text-align: right; font-stretch: 100%; }
.steps b { font-size: var(--fs-h3); font-stretch: 75%; font-weight: 350; line-height: 1.15; }
.steps p { color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 1100px) { .svcs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ahero__pic, .ahero__text { grid-column: 1 / -1; }
  .ahero__pic { max-width: 460px; order: 2; }   /* on a phone the name comes first, then the face */
  .ahero__text { order: 1; }
  .idea__text, .idea__pics { grid-column: 1 / -1; position: static; }
  /* the process stands up: one line down the side, a dot per step */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before { top: 6px; bottom: 6px; inset-inline: auto; inset-inline-start: 6px; width: 1px; height: auto; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 0 0 30px 0; padding-inline-start: 34px; }
  .steps li::before { top: 2px; }
  .steps li > * { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .svcs__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .svc { min-height: 0; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; padding: 22px 20px; }
  .svc__no { grid-row: 1 / span 2; padding-top: 8px; }
  .svc__name { margin-top: 0; font-size: 1.6rem; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.chead { padding: calc(var(--hdr-h) + clamp(48px, 7vw, 120px)) 0 clamp(56px, 7vw, 110px); }
.chead .wrap { display: grid; gap: 22px; }
.chead__title { font-size: var(--fs-mega); }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(20px, 3vw, 40px); }
.quick__tile { display: grid; grid-template-areas: "icon ." "label label" "value value"; align-content: start; gap: 6px; min-height: 190px; padding: 26px 26px 28px;
  border: 1px solid var(--line); background: var(--paper); transition: background .3s ease, color .3s ease, border-color .3s ease, transform .16s var(--ease-out); }
.quick__tile svg { grid-area: icon; width: 28px; height: 28px; stroke-width: 1.2; margin-bottom: auto; }
.quick__label { grid-area: label; margin-top: 34px; font-size: var(--fs-small); color: var(--ink-mute); transition: color .3s ease; }
.quick__value { grid-area: value; justify-self: start; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-stretch: var(--narrow); font-weight: 300; line-height: 1.2; overflow-wrap: anywhere; }
.quick__tile:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quick__tile:first-child .quick__label { color: rgba(250,250,248,.65); }
.quick__tile:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .quick__tile:hover { border-color: var(--ink); }
  .quick__tile:first-child:hover { background: #2a2a28; }
}

.cform { padding-block: var(--sec); background: var(--paper-2); }
.cform__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px var(--gutter); align-items: start; }
.cform__side { display: grid; gap: 24px; position: sticky; top: calc(var(--hdr-h) + 40px); }
.form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 56px); background: var(--paper); box-shadow: 0 30px 80px -40px rgba(17,17,16,.25); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: var(--fs-small); color: var(--ink-soft); padding: 0; }
.field input, .field textarea { font: inherit; font-size: max(16px, 1rem); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0; min-height: 48px; transition: border-color .25s ease; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[dir="ltr"] { text-align: right; }
.field.is-bad input { border-color: #a33; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 8px; }
.field--chips label { position: relative; }
.field--chips input { position: absolute; opacity: 0; inset: 0; min-height: 0; }
.field--chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: .95rem; cursor: pointer; user-select: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out); }
.field--chips span:active { transform: scale(.97); }
.field--chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.field--chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__send { justify-self: start; margin-top: 6px; }
.form__done { min-height: 1.5em; font-size: var(--fs-small); color: var(--ink-soft); opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.form__done.is-on { opacity: 1; transform: none; }

.faq { padding-block: var(--sec); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); align-items: start; }
.faq__head { grid-column: 1 / span 4; display: grid; gap: 18px; position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding-block: 20px;
  font-size: var(--fs-h3); font-stretch: 75%; font-weight: 350; line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s var(--ease-out); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { color: var(--ink-soft); max-width: 60ch; padding-bottom: 26px; }
/* where the browser can, the answer opens to its height instead of jumping */
:root { interpolate-size: allow-keywords; }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

@media (max-width: 900px) {
  .quick { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .quick__tile { grid-template-areas: "icon label" "icon value"; grid-template-columns: 44px minmax(0, 1fr); min-height: 0; padding: 18px 20px; column-gap: 14px; row-gap: 0; align-items: center; }
  .quick__tile svg { margin: 0; align-self: center; }
  .quick__label { margin-top: 0; }
  .quick__value { font-size: 1.3rem; }
  .cform__grid { grid-template-columns: minmax(0, 1fr); }
  .cform__side { position: static; }
  .facts a { display: inline-block; padding-block: 10px; }
  .form { margin-inline: calc(var(--gutter) * -.5); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__send { justify-self: stretch; }
  .faq__head, .faq__list { grid-column: 1 / -1; position: static; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; display: grid; place-items: center;
  padding: 64px var(--gutter) 88px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity .25s var(--ease-out), transform .3s var(--ease-out); }
.lb.is-loading img { opacity: 0; transform: scale(.985); }
.lb__title { position: absolute; top: 24px; inset-inline-start: var(--gutter); font-size: var(--fs-small); color: rgba(255,255,255,.75); }
.lb__bar { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; }
.lb__count { font-size: var(--fs-small); letter-spacing: .12em; direction: ltr; min-width: 64px; text-align: center; color: rgba(255,255,255,.75); }
.lb__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); transition: background .2s ease, color .2s ease, transform .16s var(--ease-out); }
.lb__btn:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .lb__btn:hover { background: #fff; color: var(--ink); } }
.lb__btn svg { width: 18px; height: 14px; }
.lb__close { position: absolute; top: 14px; inset-inline-end: var(--gutter); }
@media (max-width: 700px) { .lb { padding: 64px 0 96px; } }

@media (prefers-reduced-motion: reduce) {
  .phero__pic img, .phero__in > *, .phero__cue i { animation: none; }
}

/* =========================================================
   ACCESSIBILITY · PRIVACY
   ========================================================= */
.legal { padding: calc(var(--hdr-h) + clamp(48px, 7vw, 110px)) 0 var(--sec); }
.legal__in { display: grid; gap: 22px; max-width: 900px; }
.legal__title { font-size: clamp(3rem, 1.6rem + 5vw, 6.4rem); }
.legal__body { display: grid; gap: 16px; color: var(--ink-soft); max-width: 66ch; margin-top: 10px; }
.legal__body h2 { margin-top: 18px; font-size: var(--fs-h3); font-stretch: 75%; font-weight: 350; line-height: 1.2; color: var(--ink); }
.legal__body ul { display: grid; gap: 10px; }
.legal__body li { position: relative; padding-inline-start: 22px; }
.legal__body li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 10px; height: 1px; background: currentColor; }
.legal__body .facts { margin-top: 8px; }
.legal__date { font-size: var(--fs-small); color: var(--ink-mute); }
.ftr__legal a { border-bottom: 1px solid var(--line); transition: border-color .25s; }
.ftr__legal a:hover { border-color: currentColor; }
@media (max-width: 900px) { .ftr__legal a { display: inline-block; padding-block: 11px; } }

/* Studio Bella · the tour (home page)
   One screen, one canvas, nothing below it. The door once, then the plan: every room is chosen on it,
   opens with a short walk and stays on the room photo with one caption. */

.tour { position: relative; background: var(--ink); }
.tour__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.tour__poster, .tour canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour__poster { object-fit: cover; }
.tour canvas { opacity: 0; transition: opacity .5s; }
html.tour-on .tour canvas { opacity: 1; }
/* legibility on white walls: a deeper shade at the top (header) and the bottom (caption) */
.tour__veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to bottom, rgba(17,17,16,.55) 0%, rgba(17,17,16,.18) 26%, rgba(17,17,16,0) 40%, rgba(17,17,16,0) 58%, rgba(17,17,16,.62) 100%); }

/* ---------- the banner ---------- */
.tour__intro { position: absolute; inset: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(48px, 11vh, 130px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), visibility 0s .9s; }
.tour__intro.is-gone { opacity: 0; transform: translateY(-24px); visibility: hidden; }
.tour__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to left, rgba(17,17,16,.5) 0%, rgba(17,17,16,.2) 42%, rgba(17,17,16,0) 70%),
              linear-gradient(to top, rgba(17,17,16,.45) 0%, rgba(17,17,16,0) 45%); }
.tour__intro .wrap { display: grid; gap: 22px; }
.tour__sub { font-size: var(--fs-lead); font-weight: 300; max-width: 30ch; color: rgba(255,255,255,.92); text-shadow: 0 1px 24px rgba(17,17,16,.35); }
.tour__logo { width: clamp(220px, 30vw, 440px); color: #fff; filter: drop-shadow(0 2px 30px rgba(17,17,16,.35)); }
.tour__logo svg { width: 100%; height: auto; fill: currentColor; }
.hdr__logo { transition: opacity .5s var(--ease-out); }
html.at-intro .hdr__logo { opacity: 0; pointer-events: none; }

/* centred: the signature, the line and the two buttons on one axis, over an even shade */
.tour__intro { justify-content: center; padding-block: var(--hdr-h) 0; text-align: center; }
.tour__intro::before { background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(17,17,16,.42) 0%, rgba(17,17,16,.16) 60%, rgba(17,17,16,0) 100%),
                                   linear-gradient(to top, rgba(17,17,16,.3) 0%, rgba(17,17,16,0) 40%); }
.tour__intro .wrap { justify-items: center; }
.tour__logo { margin-inline: auto; }
.tour__sub { margin-inline: auto; }
.tour__intro .tour__row { justify-content: center; }

/* the signature writes itself on the banner, then the line and the buttons arrive */
.tour__logo svg { clip-path: inset(0 100% 0 0); animation: sig-draw 2s .35s var(--ease-io) forwards; }
.tour__sub, .tour__intro .tour__row { opacity: 0; animation: sig-after .9s var(--ease-out) forwards; }
.tour__sub { animation-delay: 1.9s; }
.tour__intro .tour__row { animation-delay: 2.15s; }
@keyframes sig-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes sig-after { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- the caption: one place for everything a room says ---------- */
.cap { position: absolute; bottom: clamp(28px, 6vh, 64px); inset-inline-start: var(--gutter); width: min(460px, 42vw); display: grid; gap: 14px;
  opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); pointer-events: none; }
.cap.is-on { opacity: 1; transform: none; }
.cap__no { font-size: var(--fs-label); letter-spacing: .26em; font-stretch: 100%; direction: ltr; text-align: right; color: rgba(255,255,255,.85); text-shadow: 0 1px 12px rgba(17,17,16,.5); }
.cap__name { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.6rem); font-stretch: var(--narrow); font-weight: 250; line-height: .95; margin-top: -6px;
  text-shadow: 0 2px 34px rgba(17,17,16,.45), 0 1px 3px rgba(17,17,16,.25); }
.cap__text { font-size: var(--fs-body); font-weight: 350; line-height: 1.6; color: rgba(255,255,255,.94); text-shadow: 0 1px 18px rgba(17,17,16,.5); }
.cap__spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.35); font-size: var(--fs-small); text-shadow: 0 1px 14px rgba(17,17,16,.5); }
.cap__spec dt { color: rgba(255,255,255,.7); }
.cap__spec dd { color: #fff; }

/* ---------- inside a room: back to the plan, on to the next room ---------- */
.rbar { position: absolute; z-index: 3; bottom: clamp(28px, 6vh, 64px); inset-inline-end: var(--gutter); display: flex; gap: 10px;
  opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility 0s .6s; }
.rbar.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: .45s, .45s, 0s; }
.rbar__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; font-size: var(--fs-small); letter-spacing: .02em;
  color: #fff; border: 1px solid rgba(255,255,255,.5); background: rgba(17,17,16,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s, color .3s, border-color .3s; }
.rbar__btn svg { width: 18px; height: 14px; flex: none; stroke-width: 1.2; }
.rbar__btn:hover, .rbar__btn:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.rbar__btn--next { background: #fff; color: var(--ink); border-color: #fff; }
.rbar__btn--next:hover, .rbar__btn--next:focus-visible { background: rgba(255,255,255,.86); }

/* ---------- the plan: where you choose ---------- */
.hub { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; overflow-y: auto; overscroll-behavior: contain;
  padding-block: calc(var(--hdr-h) + 16px) 32px;
  background: rgba(17,17,16,.62); -webkit-backdrop-filter: blur(14px) saturate(.8); backdrop-filter: blur(14px) saturate(.8);
  opacity: 0; visibility: hidden; transition: opacity .55s var(--ease-out), visibility 0s .55s; }
.hub.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.hub__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.hub__head { display: grid; gap: 14px; align-content: center;
  transform: translateY(14px); transition: transform .8s var(--ease-out); }
.hub.is-open .hub__head, .hub.is-open .plan { transform: none; }
.hub__head .eyebrow { color: rgba(255,255,255,.7); justify-self: start; }
.hub__title { font-size: var(--fs-h2); font-stretch: var(--narrow); font-weight: 250; line-height: .95; }
.hub__sub { color: rgba(255,255,255,.78); max-width: 34ch; }
.hub__list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); counter-reset: none; }
.hub__list button { width: 100%; display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: baseline; gap: 12px; text-align: start;
  padding: clamp(10px, 1.6vh, 15px) 4px; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.88);
  transition: padding .45s var(--ease-out), color .3s; }
.hub__no { font-size: var(--fs-label); letter-spacing: .2em; font-stretch: 100%; color: rgba(255,255,255,.55); direction: ltr; text-align: right; }
.hub__name { font-size: clamp(1.25rem, 1rem + .8vw, 1.8rem); font-stretch: var(--narrow); font-weight: 300; line-height: 1.1; }
.hub__list small { font-size: var(--fs-label); letter-spacing: .2em; font-stretch: 100%; color: rgba(255,255,255,.45); direction: ltr; }
.hub__list button:hover, .hub__list button:focus-visible, .hub__list button.is-hot { color: #fff; padding-inline-start: 14px; }
.hub__list button.is-here .hub__no::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-start: 8px; border-radius: 50%; background: #fff; vertical-align: middle; }
.hub__list button.is-going { color: #fff; }
.hub__list button.is-going .hub__name { animation: going 1s var(--ease-io) infinite alternate; }
@keyframes going { to { opacity: .45; } }

.plan { position: relative; padding: 14px 14px 10px; border: 1px solid rgba(255,255,255,.28); background: rgba(17,17,16,.35);
  transform: translateY(14px) scale(.985); transition: transform .9s var(--ease-out); }
.plan::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.plan__draw { display: block; width: 100%; height: auto; overflow: visible; }
.plan__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.2); font-size: .78rem; color: rgba(255,255,255,.75); }
.plan__title .ltr { font-size: .62rem; letter-spacing: .2em; font-stretch: 100%; color: rgba(255,255,255,.55); }

.plan .pl-wall { stroke: rgba(255,255,255,.92); stroke-width: 2.6; stroke-linecap: square; }
.plan .pl-in { stroke: rgba(255,255,255,.8); stroke-width: 1.3; stroke-linecap: square; }
.plan .pl-thin { stroke: rgba(255,255,255,.7); stroke-width: .9; }
.plan .pl-hair { stroke: rgba(255,255,255,.5); stroke-width: .6; }
.plan .pl-glass { stroke: rgba(255,255,255,.72); stroke-width: .6; }
.plan .pl-fence { stroke: rgba(255,255,255,.4); stroke-width: .7; stroke-dasharray: 5 2 1 2; }
.plan .pl-stone { fill: rgba(255,255,255,.28); stroke: rgba(255,255,255,.85); stroke-width: .9; }
.plan .pl-north circle { stroke: rgba(255,255,255,.5); stroke-width: .6; }
.plan .pl-north path { fill: rgba(255,255,255,.85); }
.plan .pl-north text { fill: rgba(255,255,255,.7); font-size: 6px; letter-spacing: .1em; text-anchor: middle; font-stretch: 100%; }
.plan .pl-route { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.plan .pl-here { fill: #fff; pointer-events: none; }
.plan .pl-ring { fill: none; stroke: #fff; stroke-width: .7; transform-box: fill-box; transform-origin: center; animation: pl-ring 2.4s var(--ease-out) infinite; }
@keyframes pl-ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.plan .pl-lbl { fill: rgba(255,255,255,.72); font-size: 8.5px; font-weight: 350; text-anchor: middle; font-stretch: 84%; transition: fill .4s; pointer-events: none; }
.plan .pl-up { fill: rgba(255,255,255,.55); font-size: 6px; text-anchor: middle; letter-spacing: .04em; }
.plan .pl-room { cursor: pointer; outline: none; }
.plan .pl-room rect { fill: rgba(255,255,255,0); transition: fill .4s; }
.plan .pl-room.is-hot rect, .plan .pl-room.is-going rect { fill: rgba(255,255,255,.12); }
.plan .pl-room.is-hot .pl-lbl, .plan .pl-room.is-here .pl-lbl, .plan .pl-room.is-going .pl-lbl { fill: #fff; }
.plan .pl-room.is-here .pl-lbl { font-weight: 500; }
.plan .pl-chip rect { fill: rgba(17,17,16,.8); stroke: rgba(255,255,255,.55); stroke-width: .6; }
.plan .pl-chip .pl-lbl { font-size: 7px; }
.plan .pl-chip.is-hot rect, .plan .pl-chip.is-going rect { fill: #fff; }
.plan .pl-chip.is-hot .pl-lbl, .plan .pl-chip.is-going .pl-lbl { fill: var(--ink); }

@media (max-width: 900px) {
  .tour__intro::before { background: radial-gradient(ellipse 90% 55% at 50% 50%, rgba(17,17,16,.5) 0%, rgba(17,17,16,.2) 65%, rgba(17,17,16,0) 100%); }
  .tour__logo { width: min(64vw, 280px); }
  .cap { width: auto; inset-inline-end: var(--gutter); bottom: calc(84px + env(safe-area-inset-bottom)); gap: 10px; }
  .cap__name { font-size: clamp(2.2rem, 11vw, 3rem); }
  .cap__text { font-size: .95rem; }
  .rbar { inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .rbar__btn { flex: 1 1 0; justify-content: center; padding: 0 12px; min-height: 54px; }
  .rbar__btn:first-child { flex: 0 1 auto; }
  .hub { align-items: flex-start; padding-block: calc(var(--hdr-h) + 4px) calc(24px + env(safe-area-inset-bottom)); }
  .hub__in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hub__head { display: contents; }
  .hub__head .eyebrow { order: 1; }
  .hub__title { order: 2; font-size: clamp(2.2rem, 10vw, 3rem); margin-top: -6px; }
  .hub__sub { order: 3; font-size: .95rem; margin-top: -8px; }
  .plan { order: 4; padding: 10px 10px 8px; }
  .hub__list { order: 5; margin: 0; }
  .plan .pl-lbl { font-size: 10px; }
  .plan .pl-chip .pl-lbl { font-size: 7.5px; }
  .plan__title .ltr { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__logo svg { clip-path: none; animation: none; }
  .tour__sub, .tour__intro .tour__row { opacity: 1; animation: none; }
  .plan .pl-ring { animation: none; opacity: 0; }
  .hub__list button.is-going .hub__name { animation: none; }
}

/* ---------- making the tour impossible to miss ---------- */
/* the one call on the banner: a thin white frame, the arrow draws out on hover and the frame fills */
.tour__intro .tour__row { flex-direction: column; gap: 16px; margin-top: 14px; }
.tour__go { display: inline-flex; align-items: center; gap: 18px; padding: 17px 34px; border: 1px solid rgba(255,255,255,.85); color: #fff;
  background: rgba(17,17,16,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 1.02rem; letter-spacing: .06em; font-weight: 400;
  transition: background .5s var(--ease-out), color .5s var(--ease-out), gap .5s var(--ease-out), border-color .5s; }
.tour__go svg { width: 26px; height: 10px; stroke-width: 1.1; transition: transform .5s var(--ease-out); }
.tour__go:hover, .tour__go:focus-visible { background: #fff; color: var(--ink); border-color: #fff; gap: 24px; }
.tour__go:hover svg, .tour__go:focus-visible svg { transform: translateX(-4px); }
.tour__meta { font-size: var(--fs-label); letter-spacing: .1em; color: rgba(255,255,255,.72); }
.tour__meta a { color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.tour__meta a:hover { color: #fff; border-color: #fff; }

/* on the plan: say it, and let every room breathe */
.hub__hint { position: absolute; top: 0; left: 50%; z-index: 2; transform: translate(-50%, -55%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 18px; background: #fff; color: var(--ink); font-size: var(--fs-small); box-shadow: 0 10px 30px rgba(17,17,16,.3);
  animation: hint-bob 2.4s var(--ease-io) infinite; }
.hub__hint svg { width: 20px; height: 20px; stroke-width: 1.4; flex: none; }
.hub__hint::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
@keyframes hint-bob { 50% { transform: translate(-50%, -45%); } }
.plan { margin-top: 26px; }
.plan .pl-pins circle { fill: #fff; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2s var(--ease-out) infinite; pointer-events: none; }
.plan .pl-pins circle:nth-child(2n) { animation-delay: .5s; }
.plan .pl-pins circle:nth-child(3n) { animation-delay: 1s; }
.plan .pl-pins circle.is-here { display: none; }
@keyframes pin-pulse { 0% { opacity: .85; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.plan .pl-chip rect { animation: chip-glow 2s var(--ease-io) infinite alternate; }
@keyframes chip-glow { to { stroke: #fff; } }

/* in a room: the map floats in the corner, the dot where you stand, every room clickable on it */
.rbar { align-items: flex-end; }
.mini { position: relative; width: clamp(220px, 18vw, 280px); padding: 10px 10px 8px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(17,17,16,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .4s; }
.mini:hover { border-color: rgba(255,255,255,.85); }
.mini .plan__draw { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.mini .pl-room { pointer-events: auto; cursor: pointer; }
.mini__open { position: absolute; inset: 0; z-index: 0; cursor: zoom-in; }
.mini__title { position: relative; z-index: 1; pointer-events: none; display: flex; justify-content: space-between; margin-top: 6px; padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.2); font-size: .74rem; color: rgba(255,255,255,.85); }
.mini__more { color: rgba(255,255,255,.55); }
/* the drawing inside the floating map, same language as the big one */
.mini .pl-wall { stroke: rgba(255,255,255,.92); stroke-width: 2.6; stroke-linecap: square; }
.mini .pl-in { stroke: rgba(255,255,255,.8); stroke-width: 1.3; stroke-linecap: square; }
.mini .pl-thin { stroke: rgba(255,255,255,.7); stroke-width: .9; }
.mini .pl-hair { stroke: rgba(255,255,255,.45); stroke-width: .6; }
.mini .pl-glass { stroke: rgba(255,255,255,.72); stroke-width: .6; }
.mini .pl-fence { stroke: rgba(255,255,255,.4); stroke-width: .7; stroke-dasharray: 5 2 1 2; }
.mini .pl-stone { fill: rgba(255,255,255,.28); stroke: rgba(255,255,255,.85); stroke-width: .9; }
.mini .pl-north, .mini .pl-up { display: none; }
.mini .pl-here { fill: #fff; }
.mini .pl-ring { fill: none; stroke: #fff; stroke-width: .7; transform-box: fill-box; transform-origin: center; animation: pl-ring 2.4s var(--ease-out) infinite; }
.mini .pl-lbl { fill: rgba(255,255,255,.75); font-size: 10px; font-weight: 350; text-anchor: middle; font-stretch: 84%; pointer-events: none; transition: fill .3s; }
.mini .pl-room rect { fill: rgba(255,255,255,0); transition: fill .3s; }
.mini .pl-room:hover rect { fill: rgba(255,255,255,.14); }
.mini .pl-room:hover .pl-lbl, .mini .pl-room.is-here .pl-lbl { fill: #fff; }
.mini .pl-chip rect { fill: rgba(17,17,16,.8); stroke: rgba(255,255,255,.6); stroke-width: .6; }
.mini .pl-chip .pl-lbl { font-size: 7px; }
.mini .pl-chip:hover rect { fill: #fff; } .mini .pl-chip:hover .pl-lbl { fill: var(--ink); }
.mini .pl-pins circle { fill: #fff; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2s var(--ease-out) infinite; }
.mini .pl-pins circle.is-here { display: none; }
.mini__hint { position: absolute; bottom: calc(100% + 12px); left: 50%; z-index: 2; white-space: nowrap; padding: 9px 14px; background: #fff; color: var(--ink);
  font-size: .82rem; box-shadow: 0 10px 30px rgba(17,17,16,.3); opacity: 0; transform: translate(-50%, 6px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.mini__hint::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.rbar.show-hint .mini__hint { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.2s; animation: mini-nudge 2.4s var(--ease-io) 2s infinite; }
@keyframes mini-nudge { 50% { transform: translate(-50%, -4px); } }

@media (max-width: 900px) {
  .tour__go { padding: 16px 28px; }
  .hub__hint { font-size: .85rem; padding: 9px 14px; }
  .plan { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub__hint, .plan .pl-pins circle, .plan .pl-chip rect, .mini .pl-pins circle, .mini .pl-ring, .rbar.show-hint .mini__hint { animation: none; }
}

@media (max-width: 900px) {
  .rbar { position: static; transform: none !important; }   /* static: the map and the button place themselves on the stage */
  .mini { position: absolute; top: calc(var(--hdr-h) + 4px); inset-inline-end: 12px; width: 160px; padding: 7px 7px 5px; }
  .mini__title { font-size: .66rem; }
  .mini__more { display: none; }
  .mini .pl-lbl { font-size: 12px; }
  .mini .pl-chip .pl-lbl { font-size: 7.5px; }
  .mini__hint { top: calc(100% + 12px); bottom: auto; left: auto; inset-inline-end: 0; transform: translateY(-6px); font-size: .78rem; }
  .mini__hint::after { top: auto; bottom: 100%; left: auto; inset-inline-end: 22px; margin: 0; border-top-color: transparent; border-bottom-color: #fff; }
  .rbar.show-hint .mini__hint { transform: none; animation-name: mini-nudge-m; }
  @keyframes mini-nudge-m { 50% { transform: translateY(4px); } }
  .rbar__btn--next { position: absolute; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* ---------- phone pass ---------- */
@media (max-width: 900px) {
  /* the map screen fits one screen: the list becomes two columns, the extra lines step back */
  .hub { align-items: flex-start; }
  .hub__in { gap: 12px; }
  .hub__head .eyebrow { display: none; }
  .hub__title { font-size: clamp(2rem, 9vw, 2.6rem); margin-top: 0; }
  .hub__sub { font-size: .9rem; line-height: 1.5; }
  .plan { margin-top: 26px; }
  .hub__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; border-top: 0; }
  .hub__list li { border-top: 1px solid rgba(255,255,255,.22); }
  .hub__list button { grid-template-columns: 1.9em minmax(0, 1fr); padding: 12px 2px; min-height: 48px; border-bottom: 0; }
  .hub__list small { display: none; }
  .hub__name { font-size: 1.15rem; }
  /* the floating map a little larger, so its rooms can be tapped */
  .mini { width: 196px; }
  .mini .pl-lbl { font-size: 13px; }
  /* the caption sits on a deeper shade: white walls behind white text */
  .tour__veil { background: linear-gradient(to bottom, rgba(17,17,16,.5) 0%, rgba(17,17,16,.12) 22%, rgba(17,17,16,0) 38%, rgba(17,17,16,.25) 55%, rgba(17,17,16,.78) 100%); }
}
@media (max-width: 900px) and (max-height: 760px) {
  .hub__sub { display: none; }
  .hub__title { font-size: 2rem; }
}

/* the WhatsApp button over the tour */
body:has(.tour) .wa-float { background: #fff; color: var(--ink); }
@media (min-width: 901px) { .cap { bottom: calc(clamp(28px, 6vh, 64px) + 84px); } }
@media (max-width: 900px) {
  .rbar__btn--next { inset-inline-start: 80px; }
  body:has(.hub.is-open) .wa-float { opacity: 0; visibility: hidden; }
}


/* =========================================================
   ELEMENTOR COMPAT (after the site's rules) · the sections live in full-width containers, one HTML widget each.
   Elementor's spacing, image and link rules step aside, so the design renders exactly as built.
   ========================================================= */
.sb-sec, .sb-sec.e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --content-width: 100%; --width: 100%; padding: 0 !important; gap: 0 !important; max-width: none !important; margin: 0 !important; }
.sb-sec > .e-con-inner { max-width: none; padding: 0; gap: 0; }
.sb-sec .elementor-widget, .sb-sec .elementor-widget-container { margin: 0 !important; padding: 0 !important; width: 100%; }
/* Elementor sets img { height: auto } on every picture: the covers need their height back */
.elementor .sb-sec .frame img, .elementor .sb-sec .gal__item img, .elementor .sb-sec .phero__pic img, .elementor .sb-sec .pnext__pic img,
.elementor .sb-sec .cta__bg img, .elementor .sb-sec .tour__poster, .elementor .sb-sec .feat__pic img { height: 100%; width: 100%; max-width: none; object-fit: cover; }
/* a link takes its colour from the site, never from the kit: plain links inherit, the classed ones are restated */
.sb-site .sb-sec a { color: inherit; }
.sb-site .sb-sec a.btn { color: var(--fg); }
.sb-site .sb-sec a.quick__tile:first-child { color: var(--paper); }
.sb-site .sb-sec a.phero__back { color: rgba(255,255,255,.9); }
.sb-site .sb-sec a.pnext, .sb-site .sb-sec a.phero__cue { color: #fff; }
.sb-site .sb-sec a.skip { color: var(--paper); }
.sb-site .sb-sec .tour__meta a { color: rgba(255,255,255,.9); }
.sb-site .sb-sec .tour__meta a:hover { color: #fff; }
.sb-site .sb-sec .ftr a:hover { color: var(--on-ground); }
.sb-site .sb-sec .menu__meta a { color: inherit; }
/* headings: the kit's heading colour and family never reach the site (the site's classes set size and weight) */
.sb-site .sb-sec :is(h1, h2, h3, h4) { color: inherit; font-family: inherit; }
.sb-site .sb-sec .tour__logo { color: #fff; }
/* the fixed header and the dock sit inside a container: nothing may clip or transform them */
.sb-head, .sb-foot { overflow: visible !important; transform: none !important; }
body.sb-site { margin: 0; background: var(--paper); }
