/* HUBA landing page. Mobile-first. Tokens first, then components.
   FONTS (all open licence, self-hosted from assets/fonts/): Poppins SemiBold/Bold for display (approved by the graphic designer
   in place of Cocogoose Pro) and Nunito Sans for text (stands in for Myriad Pro). */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/nunito-sans-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
  --red: #d2232a;
  --slate: #58595b;
  --ink: #2f3031;
  --paper: #ffffff;
  --mist: #efeeec;
  --focus: #2f3031;

  --font-display: "Poppins", system-ui, "Segoe UI", Arial, sans-serif;
  --font-text: "Nunito Sans", system-ui, "Segoe UI", Arial, sans-serif;

  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-2: clamp(1.5rem, 1.1rem + 2.6vw, 3rem);
  --step-3: clamp(2.125rem, 1.2rem + 4vw, 4.25rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --header-h: 4rem;
  --radius: 0.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-text); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--paper); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--red); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 1rem; --focus: #fff; outline-color: #fff; }

h2 { overflow-wrap: anywhere; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p + p { margin-top: 1em; }

/* ---------- buttons ---------- */
/* Nunito Sans may sit slightly high/low in its line box, so the bottom padding is 0.16rem smaller than the top: the caps then look vertically centred. Re-check with tools/btnmeasure.py if the font changes. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.55rem 1.15rem 0.39rem; font: 600 1rem/1.2 var(--font-text); text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #b51d23; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--mist); }
.btn--line { border-color: currentColor; color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, 0.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* dark surfaces: focus ring flips to white */
.hero__tile, .offer__text--red, .offer__text--slate, .heritage, .contact, .site-footer { --focus: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 2px solid var(--red); }
.site-header__bar { display: flex; align-items: center; align-content: flex-start; gap: 0 0.5rem; padding: 0.55rem var(--gutter); }
.brand { display: block; line-height: 0; margin-inline-end: auto; }
.brand img { width: 2.75rem; height: 2.75rem; }
.nav a { display: block; padding: 0.7rem 0; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--red); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0.55rem 0.85rem 0.39rem; font: 600 1rem/1.2 var(--font-text); text-decoration: none; border: 2px solid var(--ink); border-radius: var(--radius); }
.lang:hover { border-color: var(--red); color: var(--red); }
.menu-btn { min-height: 2.75rem; padding: 0 1rem; font: 600 1rem var(--font-text); color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: var(--radius); cursor: pointer; }
.nav { display: none; flex-basis: 100%; padding-bottom: 1rem; }
.js .nav[data-open="true"] { display: block; }
/* mobile menu: a panel that slides down over the page (clip reveal, items fade in one by one) instead of pushing the content */
@media (max-width: 61.99rem) {
  .js .nav { display: block; position: absolute; top: calc(100% + 2px); left: 0; right: 0; flex-basis: auto; padding: 0.25rem var(--gutter) 1.25rem; background: var(--paper); border-bottom: 2px solid var(--red);
    visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s; }
  .js .nav[data-open="true"] { visibility: visible; clip-path: inset(0 0 -4px 0); transition: clip-path 0.5s var(--ease-out), visibility 0s; }
  .js .nav li, .js .nav .btn { opacity: 0; transform: translateY(-0.6rem); transition: opacity 0.2s ease, transform 0.2s ease; }
  .js .nav[data-open="true"] li, .js .nav[data-open="true"] .btn { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.55s var(--ease-out); }
  .js .nav[data-open="true"] li:nth-child(1) { transition-delay: 0.08s; }
  .js .nav[data-open="true"] li:nth-child(2) { transition-delay: 0.13s; }
  .js .nav[data-open="true"] li:nth-child(3) { transition-delay: 0.18s; }
  .js .nav[data-open="true"] li:nth-child(4) { transition-delay: 0.23s; }
  .js .nav[data-open="true"] li:nth-child(5) { transition-delay: 0.28s; }
  .js .nav[data-open="true"] .btn { transition-delay: 0.34s; }
}
@media (max-width: 61.99rem) and (prefers-reduced-motion: reduce) {
  .js .nav, .js .nav[data-open="true"], .js .nav li, .js .nav .btn { transition: none; transition-delay: 0s; }
}
.no-js .nav { display: block; flex-basis: 100%; }
.no-js .menu-btn { display: none; }
.site-header__bar { flex-wrap: wrap; }
.nav .btn { width: 100%; margin-top: 0.5rem; padding-inline: 1.15rem; }
.header-cta { display: none; }
.lang { order: 1; }
.menu-btn { order: 2; }
.nav { order: 5; }

@media (min-width: 62rem) {
  .site-header__bar { flex-wrap: nowrap; gap: 1.5rem; align-items: center; }
  .menu-btn { display: none; }
  .nav, .js .nav, .no-js .nav { display: block; position: static; flex-basis: auto; padding: 0; order: 0; background: none; border: 0; visibility: visible; clip-path: none; transition: none; }
  .lang { order: 0; }
  .nav ul { display: flex; gap: 1.5rem; }
  .nav .btn { display: none; }
  .header-cta { display: inline-flex; min-height: 2.75rem; }
  .brand { margin-inline-end: 0; }
  .site-header__bar > .nav { margin-inline-end: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; display: grid; align-items: end; min-height: min(44rem, calc(100svh - var(--header-h))); isolation: isolate; background: var(--red); }
.hero__img { position: absolute; inset: 0; z-index: -1; background: var(--slate); }
.hero__img picture { display: block; height: 100%; }
.hero__img { overflow: hidden; }
/* mobile: the red tile covers the lower part of the photo, so the photo is enlarged and shifted up to keep the windows and buffet in the visible top part */
.hero__img img { width: 100%; height: 22rem; object-fit: cover; object-position: 55% 18%; }
.hero__tile { position: relative; z-index: 1; background: var(--red); color: #fff; padding: 1.75rem var(--gutter) 1.25rem; border-radius: 2.5rem 2.5rem 0 0; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
.hero__tile h1 { display: grid; gap: 1rem; justify-items: start; }
@media (min-width: 62rem) { .hero__tile h1 { gap: 1.4rem; } }
.hero__logo { width: min(7.5rem, 34vw); height: auto; }
.hero__lede { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance; }
.hero__tile p { margin-top: 0.9rem; max-width: 34rem; text-wrap: pretty; }
.hero__tile .btn-row { margin-top: 1.1rem; }
@keyframes rise { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__tile { animation: none; } }

@media (min-width: 44rem) {
  .hero__tile { padding: 2.25rem var(--gutter) 1.5rem; border-radius: 4rem 4rem 0 0; }
  .hero__logo { width: 9rem; }
}
/* desktop: red panel left, photo right, so faces never sit under the text */
@media (min-width: 62rem) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; min-height: max(34rem, calc(100svh - var(--header-h))); }
  .hero__img { position: relative; inset: auto; z-index: auto; grid-column: 2; grid-row: 1; border-radius: 8rem 0 0 0; overflow: hidden; }
  .hero__img picture { position: absolute; inset: 0; }
  .hero__img img { height: 100%; transform: none; object-position: 50% 60%; }
  .hero__tile { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 0; padding: 3.5rem var(--gutter) 2rem; }
  .hero__logo { width: 12rem; }
}

/* ---------- intro ---------- */
.intro { padding: clamp(4.5rem, 12vw, 10rem) var(--gutter); }
.intro .intro__vision { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.12; letter-spacing: -0.01em; max-width: 28ch; color: var(--slate); text-wrap: balance; }
@media (min-width: 62rem) { .intro .intro__vision { max-width: 34ch; } }
.intro .intro__lead { max-width: 46ch; margin: 0 0 clamp(1.75rem, 4vw, 3rem); font-family: var(--font-text); font-size: var(--step-0); line-height: 1.6; color: var(--ink); }

/* ---------- pattern band (decorative divider): Dia's carpet pattern, recoloured red on white ---------- */
/* The band is sized from its own width: the pattern image is about 5 tile rows tall (about 6.7vw per row), so 14vw always shows about two rows, never fewer. On wide screens the 25vw term takes over and the band keeps growing (about 3 rows at 2560px). */
.band { height: max(7rem, 14vw, calc(25vw - 8.5rem)); contain: paint; background: var(--paper) url("../brand/pattern-white.webp") center / 100% auto no-repeat; }

/* ---------- offers ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr); }
.offer__text { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.offer__text > * { max-width: 34rem; }
.offer__text h2 { margin-bottom: 1.1rem; }
.offer__text--red { background: var(--red); color: #fff; }
.offer__text--slate { background: var(--slate); color: #fff; }
.offer__text--mist { background: var(--mist); color: var(--ink); }
.offer__text--mist h2 { color: var(--red); }
.offer__photo { position: relative; min-height: 22rem; background: var(--slate); overflow: hidden; }
.offer__photo picture, .offer__photo img { display: block; width: 100%; height: 100%; }
.offer__photo img { object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips li { border: 2px solid currentColor; border-radius: var(--radius); padding: 0.25rem 0.75rem; font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.offer__text .btn-row, .offer__text .note { margin-top: 1.6rem; }
.note { font-weight: 600; }
.credit { margin-top: 1.4rem; font-weight: 600; }

/* photo crops borrow the rounded U and A of the logo */
.offer__photo--arch { aspect-ratio: 4 / 5; min-height: 0; border-radius: 999px 999px 0 0; margin: 0 var(--gutter); margin-top: 0; }
.offer__photo--cup { aspect-ratio: 4 / 3; min-height: 0; border-radius: 0 0 999px 999px; margin: 0 var(--gutter); }

@media (min-width: 56rem) {
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .offer--flip .offer__photo-wrap { order: 2; }
  .offer__photo-wrap { display: flex; align-items: stretch; padding: 0; }
  .offer__photo--arch, .offer__photo--cup { aspect-ratio: auto; margin: 0; width: 100%; min-height: 34rem; }
  .offer__photo--arch { border-radius: 999px 999px 0 0; }
  .offer__photo--cup { border-radius: 0 0 999px 999px; }
}
/* the photo sits on the same colour as its tile so the arch reads as a shape, not a hole */
.offer__photo-wrap { background: var(--paper); padding-top: 2rem; }
@media (min-width: 56rem) { .offer__photo-wrap { padding: 2rem var(--gutter) 0; } .offer__photo-wrap--cup { padding: 0 var(--gutter) 2rem; } .offer__photo--arch, .offer__photo--cup { min-height: 32rem; } }
.offer__photo-wrap--cup { padding-top: 0; padding-bottom: 2rem; }

/* ---------- heritage ---------- */
.heritage { background: var(--slate); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); }
.heritage__text { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); }
.heritage__text > * { max-width: 36rem; }
.heritage h2 { margin-bottom: 1.1rem; }
.heritage blockquote { margin: 1.75rem 0 0; padding-inline-start: 1.1rem; border-inline-start: 4px solid #fff; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.heritage__photo { padding: 2rem var(--gutter) 0; background: var(--slate); }
.heritage__photo .offer__photo { aspect-ratio: 4 / 5; min-height: 0; border-radius: 999px 999px 0 0; }
@media (min-width: 56rem) {
  .heritage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .heritage__photo { order: 2; padding: 3rem var(--gutter) 0; }
  .heritage__text { align-self: center; }
}

/* ---------- gallery ---------- */
.gallery { padding: clamp(4.5rem, 11vw, 9rem) var(--gutter); }
.gallery h2 { margin-bottom: 1.5rem; color: var(--red); }
/* ---------- contact ---------- */
.contact { background: var(--red); color: #fff; padding: clamp(4rem, 10vw, 8rem) var(--gutter); display: grid; gap: 2rem; }
.contact h2 { margin-bottom: 1.25rem; }
.contact address { font-style: normal; }
.contact dl { margin: 0; display: grid; gap: 1.1rem; }
.contact dt { font-weight: 600; opacity: 0.92; }
/* contact details stay in the text face: numerals and email addresses must always be legible */
.contact dd { margin: 0; font-family: var(--font-text); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); line-height: 1.25; }
.contact dd a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
.contact dd.links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
.contact dd .textlink { font: 600 1rem var(--font-text); }
.contact .btn-row { margin-top: 0.5rem; }
.contact__lead { max-width: 30rem; }
@media (min-width: 56rem) { .contact { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; } }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; padding: 2rem var(--gutter); }
.site-footer img { width: 3.5rem; height: 3.5rem; }
.site-footer p { margin: 0; font-size: 0.95rem; }
.site-footer .lang { color: #fff; border-color: #fff; margin-inline-start: auto; }
.site-footer .lang:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* hero scroll cue: desktop only, left-aligned under the buttons, gentle bob */
.scroll-cue { display: none; }
@media (min-width: 62rem) {
  .scroll-cue { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 2.75rem; height: 2.75rem; margin: 1.5rem 0 0 -0.6rem; color: #fff; border-radius: var(--radius); }
  .scroll-cue svg { animation: bob 1.8s ease-in-out infinite; }
  .scroll-cue:hover svg { animation-play-state: paused; transform: translateY(4px); }
}
@keyframes bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

/* Lenis smooth scroll (MIT), required rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* gallery: grid with a fixed row unit; tall photos span two rows, wide photos one, so every column ends level */
.gallery { container-type: inline-size; }
.gallery__grid { --gap: 0.75rem; --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap);
  grid-auto-rows: calc(((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols)) * 0.75 - var(--gap) / 2); }
.gallery__grid figure { margin: 0; background: var(--mist); overflow: hidden; }
.gallery__grid .tall { grid-row: span 2; }
.gallery__grid picture, .gallery__grid img { display: block; width: 100%; height: 100%; }
.gallery__grid img { object-fit: cover; }
@media (min-width: 56rem) { .gallery__grid { --cols: 3; --gap: 1rem; } }

/* ---------- scroll reveals (only when JS runs and the visitor has not asked for reduced motion: html.rv) ---------- */
:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }
/* 1. gallery: each photo rises in, one after another (delay set per photo by main.js) */
.rv .gallery__grid figure { opacity: 0; transform: translateY(1.75rem) scale(0.98); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.rv .gallery__grid figure.is-in { opacity: 1; transform: none; }
/* 2. vision text: word by word */
.rv .intro .w { display: inline-block; opacity: 0.12; transform: translateY(0.35em); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.rv .intro.is-in .w { opacity: 1; transform: none; }
/* 3. offer sections: text moves up from low opacity, photo settles in */
.rv .offer__text > *, .rv .heritage__text > * { opacity: 0.1; transform: translateY(2.25rem); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i) * 110ms); }
.rv .offer__text.is-in > *, .rv .heritage__text.is-in > * { opacity: 1; transform: none; }
.rv .offer__photo, .rv .heritage__photo .offer__photo { opacity: 0; transform: translateY(3rem); transition: opacity 1s var(--ease-out) 0.15s, transform 1.1s var(--ease-out) 0.15s; }
.rv .offer__photo img { transform: scale(1.14); transition: transform 1.6s var(--ease-out) 0.15s; }
.rv .is-in .offer__photo, .rv .offer__photo-wrap.is-in .offer__photo, .rv .heritage__photo.is-in .offer__photo { opacity: 1; transform: none; }
.rv .offer__photo-wrap.is-in .offer__photo img, .rv .heritage__photo.is-in .offer__photo img { transform: none; }

/* ---------- opening animation (first visit per browser session; see "intro" in main.js) ---------- */
html.loading { overflow: hidden; }
/* white cover from the very first paint; also removed by a 6 s timer in <head> and a CSS fallback, so a failed script can never leave the page covered */
html.loading::before { content: ""; position: fixed; inset: 0; z-index: 9998; background: #fff; animation: loader-failsafe 0.4s ease 5.6s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
html.loading .hero__tile { animation-play-state: paused; }
.loader { position: fixed; inset: 0; z-index: 9999; background: #fff; overflow: hidden; pointer-events: none; }
.loader__stage { position: absolute; }
.loader__row { position: absolute; left: 0; display: flex; }
.loader__cell { flex: none; background-color: #fff; background-repeat: no-repeat; }
.loader__flat { position: absolute; inset: 0; background-color: #fff; background-repeat: repeat; }
