/* AR Regal Rise: site A, "Story".
   A photo-led scroll in chapters: full-bleed photographs, one to three short lines per chapter, calm reveals.
   Ivory pages with navy type, navy photo scenes, one quiet brass accent. A light serif for display,
   a plain grotesk for reading, square corners, no shadows. */

/* ---------- Fonts ----------
   Self-hosted. Fraunces (variable: optical size, weight 200 to 500) and Geist (variable: weight 400 to 500),
   fetched on 13 November 2026 from fonts.gstatic.com, the file host of fonts.google.com. Two subsets
   per family: Latin, and Latin Extended for the Polish letters. The Fraunces files are cut to the weights
   the page uses, with 330 as their default, so a browser that ignores the weight axis still sets the
   light serif, never the Black. Licence: SIL Open Font License 1.1, texts in assets/fonts/OFL-Fraunces.txt
   and assets/fonts/OFL-Geist.txt. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 200 500; font-display: swap;
  src: url("../fonts/fraunces-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 200 500; font-display: swap;
  src: url("../fonts/fraunces-latin.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: "Geist"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/geist-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/geist-latin.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;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0E1A2B;        /* type on ivory (15.3:1), the dark chapters */
  --navy-deep: #0A1422;   /* behind photographs, the footer */
  --navy-soft: #36425A;   /* second text on ivory (8.7:1) */
  --ivory: #F5EFE4;       /* pages; type on navy */
  --ivory-2: #ECE4D6;     /* the company details, empty photo frames */
  --ivory-dim: #C9C2B3;   /* second text on navy (9.9:1) */
  --brass: #B08D57;       /* labels on navy (5.6:1) */
  --brass-ink: #775A2D;   /* labels on ivory (5.5:1) */
  --line: #D5CBB8;
  --line-dark: #2A3750;
  --scrim: 10, 20, 34;    /* navy-deep as rgb, for veils over photographs */

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;

  --m: clamp(16px, 1.667vw, 40px);            /* page margin */
  --g: clamp(16px, 1.111vw, 28px);            /* column gap */
  --max: 2400px;
  --sec: clamp(80px, 8.33vw, 180px);          /* space between chapters */
  --hdr: 64px;
  --ease: cubic-bezier(.165, .84, .44, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}
@media (min-width: 720px) { :root { --hdr: 76px; } }
@media (orientation: landscape) and (max-height: 520px) { :root { --hdr: 60px; } }
/* Very wide screens: the header grows a little with the page, so its controls do not shrink beside the type. */
@media (min-width: 1921px) { :root { --hdr: clamp(76px, 3.4vw, 96px); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--navy-deep);
  scroll-padding-top: calc(var(--hdr) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--ivory); color: var(--navy);
  font: 400 clamp(16px, .6vw + 8.5px, 20px)/1.55 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--navy); color: var(--ivory); }

.sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; min-height: 44px;
  background: var(--navy); color: var(--ivory); font-weight: 500; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
/* The header turns into its ivory bar a little before the first chapter reaches it. */
.top-mark { position: absolute; top: 0; left: 0; width: 1px; height: calc(85vh - var(--hdr)); height: calc(85svh - var(--hdr)); pointer-events: none; }

/* The grid: 4 columns on phones, 12 from 720 px. */
.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g);
  width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m);
}
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

/* ---------- Type ---------- */
.eyebrow {
  font: 500 clamp(14px, .25vw + 10.5px, 16px)/1.3 var(--text);
  letter-spacing: .04em; text-transform: uppercase; color: var(--brass-ink);
}
.intro {
  font: 330 clamp(24px, 2.22vw, 42px)/1.22 var(--display);
  letter-spacing: -.01em; text-wrap: pretty;
}
.body { max-width: 34em; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.note { font-size: 1rem; line-height: 1.6; color: var(--navy-soft); max-width: 60em; }

/* A line that rises into view: the keyed text sits in a clipping line. The padding keeps the accents
   of capitals (Ó, Ś, Ż) and the ogonek (Ą, Ę) inside the clip. */
.rl { display: block; overflow: hidden; padding-block: .16em .1em; margin-block: -.16em -.1em; }
.rl > span { display: inline-block; }
/* The display titles set the clip in their own size and leave room below for the tails of p, y and j.
   The small "and" in the Vision line keeps the short clip, so it does not show before it rises. */
.scene__h .rl, .spread .rl:not(.spread__and), .cover__t .rl { padding-block: .16em .3em; margin-block: -.16em -.3em; }
.scene__h .rl { font: 250 clamp(54px, 8.33vw, 160px)/.95 var(--display); letter-spacing: -.025em; }
@media (orientation: landscape) and (max-height: 520px) { .scene__h .rl { font-size: clamp(44px, 16vh, 80px); } }

/* ---------- Buttons: a label chip and an arrow chip ---------- */
.pill {
  display: inline-flex; gap: 4px; align-items: stretch; text-decoration: none; color: inherit;
  --pf: var(--navy); --pt: var(--ivory);
}
.pill--light { --pf: var(--ivory); --pt: var(--navy); }
.pill__t, .pill__a {
  display: inline-flex; align-items: center; min-height: 44px; border-radius: 2px;
  background: var(--pf); color: var(--pt);
  transition: border-radius .6s var(--ease), background-color .3s;
}
.pill__t { padding: 0 20px; font: 500 14px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pill__a { justify-content: center; width: 44px; }
.pill__a svg { transition: transform .6s var(--ease); }
.pill:hover .pill__a { border-radius: 50%; }
.pill:hover .pill__a svg { transform: translateX(2px); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 2px;
  background: var(--ivory-2); color: var(--brass-ink);
  font: 500 14px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase;
}
.chip--photo { background: var(--navy); color: var(--ivory); }

/* ---------- Header ---------- */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 40; color: var(--ivory); }
.js .hdr { position: fixed; transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.hdr:not(.is-top) { background: var(--ivory); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.hdr__in {
  display: flex; align-items: center; gap: 8px;
  height: var(--hdr); max-width: var(--max); margin-inline: auto; padding-inline: var(--m);
}
.hdr__start { display: flex; align-items: center; }
.hdr__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 720px) {
  .hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
  .hdr__end { justify-self: end; margin-left: 0; }
}
.hdr__menu {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0 6px 0 0;
  background: none; border: 0; cursor: pointer; text-decoration: none; color: inherit;
  font: 500 14px/1 var(--text); letter-spacing: .04em; text-transform: uppercase;
}
.hdr__menu--btn { display: none; }
.js .hdr__menu--link { display: none; }
.js .hdr__menu--btn { display: inline-flex; }
@media (max-width: 479px) { .hdr .hdr__menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.bars { position: relative; width: 24px; height: 12px; flex: none; }
.bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.bars i:first-child { top: 1px; }
.bars i:last-child { bottom: 1px; }
.bars--x i:first-child { transform: translateY(4.75px) rotate(45deg); }
.bars--x i:last-child { transform: translateY(-4.75px) rotate(-45deg); }

.hdr__brand { display: flex; align-items: center; min-height: 44px; color: inherit; }
.hdr__brand img { display: none; width: auto; height: 34px; }
.hdr.is-top .hdr__mono--ivory, .hdr:not(.is-top) .hdr__mono--navy { display: block; }
@media (min-width: 720px) {
  .hdr__brand img { height: 36px; }
  .hdr.is-top .hdr__mono--ivory { display: none; }
  .hdr.is-top .hdr__lock { display: block; height: 40px; }
}

.lang { display: inline-flex; align-items: center; }
.lang__b {
  position: relative; min-width: 44px; min-height: 44px; padding: 0 8px; background: none; border: 0; cursor: pointer;
  font: 500 14px/1 var(--text); letter-spacing: .04em;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1.5px;
}
.lang__b.is-on { text-decoration-color: currentColor; }
.lang__b + .lang__b::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: currentColor; opacity: .5; }
@media (max-width: 419px) { .hdr__lang { display: none !important; } }

.enq {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 2px; text-decoration: none;
  background: var(--ivory); color: var(--navy);
  font: 500 14px/1 var(--text); letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.hdr:not(.is-top) .enq { background: var(--navy); color: var(--ivory); }
/* The ring around Contact is drawn in the colour of the ground it stands on: ivory over the photograph,
   navy on the ivory bar (the pill's own text colour would vanish in both places). */
.enq:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.hdr.is-top .enq:focus-visible { outline-color: var(--ivory); }
@media (min-width: 1921px) {
  .hdr__menu, .lang__b, .enq { font-size: clamp(14px, .7vw, 18px); }
  .enq { min-height: clamp(44px, 2.1vw, 54px); padding-inline: clamp(18px, .9vw, 24px); }
  .bars { width: 28px; }
  .hdr__brand img { height: clamp(36px, 1.6vw, 42px); }
  .hdr.is-top .hdr__lock { height: clamp(40px, 1.8vw, 48px); }
}

/* ---------- Menu: a navy curtain that comes down from the top ----------
   Full width, only as tall as its links. Deep navy at the top, navy under the links, then a soft fade
   into the dimmed page, so the panel has no hard lower edge. No photographs. */
.menu {
  --fade: clamp(64px, 7vw, 128px);
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ivory); overflow: hidden;
}
.menu::backdrop { background: rgba(var(--scrim), .35); }
.menu__panel {
  position: absolute; top: 0; left: 0; right: 0; max-height: 100%;
  display: flex; flex-direction: column; overflow: auto; overscroll-behavior: contain;
  padding-bottom: var(--fade);
  background: linear-gradient(180deg,
    var(--navy-deep) 0%,
    var(--navy) calc(100% - var(--fade)),
    rgba(14, 26, 43, .55) calc(100% - var(--fade) / 2),
    rgba(14, 26, 43, 0) 100%);
}
/* Opening: the curtain slides down solid (transform only, never see-through), the links drop in once it
   is mostly down, one after another. Closing: the links lift away first, then the curtain slides up. */
.motion .menu[open] .menu__panel { animation: curtainIn .85s var(--ease) both; }
.motion .menu[open].is-closing .menu__panel { animation: curtainOut .45s .12s var(--ease-io) both; }
.motion .menu[open]::backdrop { animation: fadeIn .7s var(--ease) both; }
.motion .menu[open].is-closing::backdrop { animation: fadeOut .45s .12s var(--ease-io) both; }
@keyframes curtainIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes curtainOut { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.menu__bar {
  position: relative; display: flex; align-items: center; flex: none;
  width: 100%; max-width: var(--max); height: var(--hdr); margin-inline: auto; padding-inline: var(--m);
}
/* The monogram stays where the header shows the brand (site.js measures it when the menu opens):
   next to the menu button on a phone, in the middle on a wider screen. */
.menu__mono {
  position: absolute; top: 50%; left: var(--mono-x, 50%); width: auto; height: var(--mono-h, 36px);
  transform: translate(-50%, -50%);
}
@media (max-width: 719px) { .menu__mono { left: var(--mono-x, calc(var(--m) + 81px)); height: var(--mono-h, 34px); } }
@media (max-width: 479px) { .menu__bar .hdr__menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.menu__body { width: 100%; max-width: var(--max); margin-inline: auto; padding: clamp(8px, 1.5vw, 24px) var(--m) 0; }
.menu__main { display: grid; gap: 28px; }
@media (min-width: 900px) { .menu__main { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.menu__nav a {
  display: inline-block; padding-block: 2px; text-decoration: none;
  font: 300 clamp(32px, 3vw, 56px)/1.08 var(--display); letter-spacing: -.01em;
  transition: transform .5s var(--ease), color .3s;
}
.menu__nav a:hover { transform: translateX(8px); color: var(--brass); }
.menu__nav li > a { min-height: 44px; }
.menu__nav li:nth-child(1) { --d: .28s; }
.menu__nav li:nth-child(2) { --d: .33s; }
.menu__nav li:nth-child(3) { --d: .38s; }
.menu__nav li:nth-child(4) { --d: .43s; }
.menu__nav li:nth-child(5) { --d: .48s; }
.menu__nav li:nth-child(6) { --d: .53s; }
.menu__sub { --d: .5s; }
.motion .menu[open] .menu__nav li,
.motion .menu[open] .menu__sub { animation: dropIn .8s var(--ease) var(--d, .28s) both; }
.motion .menu[open].is-closing .menu__nav li,
.motion .menu[open].is-closing .menu__sub,
.motion .menu[open].is-closing .menu__bar > .hdr__menu { animation: liftOut .15s ease-in both; }
.motion .menu[open].is-closing .menu__mono { animation: fadeOut .15s ease-in both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-14px); } }
@keyframes liftOut { to { opacity: 0; transform: translateY(-8px); } }
.menu__sub { display: grid; gap: 12px; align-content: end; color: var(--ivory-dim); }
.menu__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1.0625rem; color: var(--ivory); }
.menu__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu__office { font: 500 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--brass); }
.menu__lang { margin-left: -8px; color: var(--ivory); }
/* A phone held sideways: links in two columns at the left, the contact block at the right, a short fade,
   so the whole menu stands in the screen and nothing sits in the fade. */
@media (orientation: landscape) and (max-height: 520px) {
  .menu { --fade: 28px; }
  .menu__body { padding-top: 0; }
  .menu__main { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 12px 28px; }
  .menu__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: clamp(20px, 4vw, 40px); }
  .menu__nav a { font-size: clamp(22px, 7vh, 30px); }
  .menu__sub { gap: 0; align-content: start; }
}

/* ---------- Photographs ---------- */
.ph { position: relative; overflow: hidden; background: var(--ivory-2); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden;
  color: var(--ivory); background: var(--navy-deep);
}
/* The hero stays in place and the chapters slide over it whenever scripts run, with or without motion
   (holding still is not motion), so its words never travel under the header. */
.js .hero { position: sticky; top: 0; }
.hero__media { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--scrim), .74) 0%, rgba(var(--scrim), .56) 24%, rgba(var(--scrim), .44) 40%, rgba(var(--scrim), .14) 58%, rgba(var(--scrim), .12) 66%, rgba(var(--scrim), .7) 100%);
}
/* A soft shade behind the lead only, so the words hold on the brightest part of the picture. */
.hero__aside { position: relative; }
.hero__aside::before {
  content: ""; position: absolute; inset: -45% -35%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--scrim), .62), rgba(var(--scrim), .38) 55%, rgba(var(--scrim), 0));
}
.hero__in {
  position: relative; z-index: 2; height: 100%; max-width: var(--max); margin-inline: auto;
  display: flex; flex-direction: column;
  padding: calc(var(--hdr) + 24px) var(--m) 20px;
}
/* On a phone each of the two lines keeps to one line of type ("FOR SHORT STAYS." whole). */
.hero__title {
  font: 250 clamp(30px, 9.6vw, 60px)/.95 var(--display);
  letter-spacing: -.02em; word-spacing: .14em; text-transform: uppercase; text-wrap: balance;
}
.hero__title .ln { display: block; overflow: hidden; padding-block: .16em .1em; margin-block: -.16em -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__aside { margin-top: 24px; max-width: 26em; }
.hero__lede { font: 330 clamp(18px, 1.25vw, 24px)/1.35 var(--display); text-wrap: pretty; }
.hero__aside .pill { margin-top: 20px; }
.hero__reg {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto;
  font: 500 14px/1.4 var(--text); letter-spacing: .05em; text-transform: uppercase;
}
/* The registration line gets a soft shade of its own, so it holds over the bright roofs on a phone held sideways. */
.hero__reg { position: relative; }
.hero__reg::before {
  content: ""; position: absolute; inset: -4px -14px; z-index: -1; pointer-events: none;
  background: rgba(var(--scrim), .4); filter: blur(12px);
}
.hero__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
/* On a narrow phone the two parts stand on their own lines, so no dot is left hanging at a line end. */
@media (max-width: 479px) { .hero__reg { flex-direction: column; align-items: flex-start; } .hero__dot { display: none; } }
.hero__reg > span { white-space: nowrap; }
@media (min-width: 720px) {
  .hero__in {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: var(--g);
    padding: calc(var(--hdr) + clamp(16px, 5vh, 80px)) var(--m) clamp(20px, 3.4vh, 48px);
  }
  .hero__title { grid-column: 1 / -1; grid-row: 1; align-self: start; font-size: clamp(44px, min(8.33vw, 14.5vh), 160px); }
  .hero__title .ln--1 { padding-left: calc((100% + var(--g)) / 12); }
  .hero__title .ln--2 { text-align: right; padding-right: calc((100% + var(--g)) / 12); }
  .hero__aside { grid-column: 9 / -1; grid-row: 2; align-self: end; margin-top: 0; justify-self: end; max-width: 24em; }
  .hero__reg { grid-column: 1 / span 6; grid-row: 2; align-self: end; }
}
@media (min-width: 1200px) { .hero__aside { grid-column: 10 / -1; } }
/* Tablets: the lead and its button stand under the title, over the town and the forest, so the houses at
   the foot of the picture stay clear; the registration line takes the full width and keeps to one line. */
@media (min-width: 720px) and (max-width: 1199px) {
  .hero__in { grid-template-rows: auto auto 1fr auto; }
  .hero__aside { grid-column: 7 / -1; grid-row: 2; align-self: start; margin-top: clamp(24px, 4vh, 48px); }
  .hero__reg { grid-column: 1 / -1; grid-row: 4; }
}
/* A phone held sideways: the title and the lead side by side under the header, the homes in view below. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 0; }
  .hero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--g); padding: calc(var(--hdr) + 8px) var(--m) 12px; }
  .hero__title { grid-column: 1 / span 7; grid-row: 1; font-size: clamp(28px, 10.5vh, 46px); }
  .hero__title .ln--1, .hero__title .ln--2 { padding: .16em 0 .1em; text-align: left; }
  .hero__aside { grid-column: 8 / -1; grid-row: 1; align-self: start; justify-self: start; margin-top: 0; }
  .hero__lede { font-size: 16px; }
  .hero__aside .pill { margin-top: 12px; }
  .hero__reg { grid-column: 1 / -1; grid-row: 3; }
}
/* The opening of the first screen; only when motion is wanted. Everything ends in view. */
.motion .hero__img { animation: heroIn 2.6s var(--ease) both; }
.motion .hero__title .ln > span { animation: lineUp 1.5s var(--ease) both; }
.motion .hero__title .ln--1 > span { animation-delay: .25s; }
.motion .hero__title .ln--2 > span { animation-delay: .38s; }
.motion .hero__aside, .motion .hero__reg { animation: riseIn 1.2s .75s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.08); } }
@keyframes lineUp { from { transform: translateY(108%); } }

/* Later chapters slide over the hero. */
main > section:not(.hero), .foot { position: relative; z-index: 1; }
/* Menu landings. A chapter that opens on a full photograph lands with its top at the top of the screen,
   under the header, as smooth scrolling does on desktop: no strip of the chapter before, nothing cut below.
   Vision opens on its photographs as well; only on a phone held sideways it opens on its title, so there
   it lands just under the header. */
.chapter, .book, .co, .cover, .vision { scroll-margin-top: calc(-1 * (var(--hdr) + 16px)); }
@media (orientation: landscape) and (max-height: 520px) { .vision { scroll-margin-top: -16px; } }
/* Without scripts the header scrolls away with the page, so Vision lands at the very top as well. */
html:not(.js) .vision { scroll-margin-top: calc(-1 * (var(--hdr) + 16px)); }

/* ---------- The company first ---------- */
.about { background: var(--ivory); padding-block: var(--sec); }
/* The chapter opens on the town from the air; who we are follows it, then why here, then the home inside. */
.pair { row-gap: 0; }
.about__intro { display: grid; row-gap: 20px; margin-top: 32px; }
.pair__ph--l { aspect-ratio: 4 / 3; }
.pair__ph--r { aspect-ratio: 696 / 840; }
.pair__txt { margin-top: 24px; }
.pair__why { margin-top: 40px; }
.pair__r { margin-top: 64px; }
.pair__txt .eyebrow + * { margin-top: 12px; }
.pair__two { display: grid; gap: 8px var(--g); }
.aim { font: 330 clamp(22px, 1.7vw, 32px)/1.25 var(--display); text-wrap: pretty; }
@media (min-width: 720px) {
  .pair__ph--l { grid-column: 1 / span 5; grid-row: 1; }
  .about__intro { grid-column: 7 / -1; grid-row: 1; align-self: start; margin-top: clamp(24px, 4vw, 96px); }
  .pair__why { grid-column: 1 / span 5; grid-row: 2; align-self: start; max-width: 26em; margin-top: 24px; }
  .pair__r { grid-column: 7 / -1; grid-row: 2; margin-top: clamp(64px, 8vw, 180px); }
  .pair__two { grid-template-columns: 1fr 1fr; }
}
.stmt { margin-top: var(--sec); row-gap: 24px; }
.stmt__t { font: 300 clamp(26px, 3.33vw, 64px)/1.14 var(--display); letter-spacing: -.015em; text-wrap: pretty; }
@media (min-width: 720px) { .stmt__t { text-indent: calc((100% + var(--g)) / 12 * 3); } }

/* ---------- Chapter scenes (ChikApart, Tours) ---------- */
.chapter { background: var(--ivory); }
.scene {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 460px;
  color: var(--ivory); background: var(--navy-deep);
}
.scene__media { position: absolute; inset: 0; }
.has-motion .scene__media { inset: -12% 0; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), .3) 0%, rgba(var(--scrim), .05) 28%, rgba(var(--scrim), .3) 50%, rgba(var(--scrim), .82) 100%); }
.scene__in {
  position: relative; z-index: 2; width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: end;
  padding: 0 var(--m) clamp(28px, 4vw, 72px);
}
.scene__h, .scene__l { grid-column: 1 / -1; }
.scene__k { display: block; margin-bottom: 14px; font: 500 clamp(14px, .25vw + 10.5px, 16px)/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.scene__t { font: 250 clamp(54px, 8.33vw, 160px)/.95 var(--display); letter-spacing: -.025em; }
.scene__l { font: 500 clamp(14px, .25vw + 10.5px, 16px)/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.scene__l--wide { font: 330 clamp(18px, 1.25vw, 24px)/1.35 var(--display); letter-spacing: 0; text-transform: none; max-width: 24em; text-wrap: pretty; }
@media (min-width: 720px) {
  .scene__in { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .scene__h { grid-column: 1 / span 8; }
  .scene__l { grid-column: 9 / -1; justify-self: end; text-align: right; }
  .scene__l--wide { text-align: left; }
}
@media (orientation: landscape) and (max-height: 520px) { .scene { min-height: 0; } .scene__t { font-size: clamp(44px, 16vh, 80px); } }
/* Polish has a long word in a chapter title ("apartamentów"); on the narrowest phones it is set a little smaller so it fits whole. */
@media (max-width: 419px) { :lang(pl) .scene__t { font-size: 13.4vw; } }

/* ---------- ChikApart ---------- */
.group { padding-block: var(--sec); row-gap: 32px; }
.group__logo img { width: clamp(180px, 15vw, 280px); height: auto; }
.group__lead .chip { margin-top: 24px; }
@media (min-width: 720px) {
  .group__lead { grid-column: 1 / span 5; }
  .group__body { grid-column: 7 / span 6; }
}
@media (min-width: 1200px) { .group__body { grid-column: 7 / span 5; } }

.cards { display: grid; gap: 56px var(--g); margin-top: clamp(32px, 5vw, 100px); }
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card:nth-child(2) { margin-top: clamp(48px, 7vw, 160px); }
}
.card__a { display: block; text-decoration: none; }
.card__ph { display: block; aspect-ratio: 460 / 560; border-radius: 2px; }
.card__ph img { transition: transform 1.4s var(--ease); }
.card__a:hover .card__ph img { transform: scale(1.035); }
.card__pill { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; gap: 4px; }
.card__tag, .card__go {
  display: inline-flex; align-items: center; min-height: 36px; border-radius: 2px;
  background: var(--ivory); color: var(--navy); transition: border-radius .6s var(--ease);
}
.card__tag { padding: 0 14px; font: 500 14px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.card__go { justify-content: center; width: 36px; }
.card__a:hover .card__go { border-radius: 50%; }
.card__t { display: block; margin-top: 20px; font: 330 clamp(24px, 1.7vw, 32px)/1.15 var(--display); }
.card__l { display: block; margin-top: 8px; max-width: 30em; color: var(--navy-soft); text-wrap: pretty; }

.homes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; margin-top: var(--sec); }
.homes > * { grid-column: 1 / -1; min-width: 0; }
/* The list of the twelve homes opens on the owner's view of all six houses. */
.homes__ph { aspect-ratio: 3 / 2; border-radius: 2px; }
@media (min-width: 720px) { .homes__ph { aspect-ratio: 16 / 9; } }
.homes__lead { margin-top: 12px; font: 330 clamp(22px, 1.7vw, 32px)/1.25 var(--display); max-width: 22em; text-wrap: balance; }
@media (min-width: 720px) {
  .homes { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .homes__head { grid-column: 1 / span 6; }
  .homes__col { grid-column: 1 / span 6; }
  .homes__col + .homes__col { grid-column: 7 / -1; }
}
.homes__k { padding-bottom: 14px; border-bottom: 1px solid var(--navy); font: 500 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--brass-ink); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px;
  min-height: 64px; padding-block: 12px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.row__n { font: 330 clamp(20px, 1.45vw, 28px)/1.2 var(--display); text-wrap: balance; transition: transform .6s var(--ease); }
.row__g { font: 500 14px/1.2 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--navy-soft); white-space: nowrap; }
.row__go { transition: transform .6s var(--ease); }
.row:hover .row__n { transform: translateX(8px); }
.row:hover .row__go { transform: translate(2px, -2px); }
@media (max-width: 359px) { .row { grid-template-columns: minmax(0, 1fr) 20px; } .row__g { grid-column: 1; grid-row: 2; } .row__go { grid-row: 1 / span 2; } }

/* ---------- Tours ---------- */
.scene--vito .scene__img { object-position: 50% 55%; }
/* The Vito picture is dark: a lighter veil keeps the grille and the lights in the lower half, and still holds
   the ivory words above 4.5:1 (the photograph is near black where they stand). */
.scene--vito .scene__veil { background: linear-gradient(180deg, rgba(var(--scrim), .3) 0%, rgba(var(--scrim), 0) 30%, rgba(var(--scrim), .12) 58%, rgba(var(--scrim), .62) 100%); }
.acts { padding-block: var(--sec); }
@media (min-width: 720px) { .acts__intro { grid-column: 5 / -1; } }
@media (min-width: 1200px) { .acts__intro { grid-column: 7 / -1; } }
.acts__list { display: grid; gap: 48px var(--g); margin-top: clamp(56px, 7vw, 140px); }
@media (min-width: 720px) { .acts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .acts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 72px; }
  .act:nth-child(even) { position: relative; top: clamp(32px, 4vw, 96px); }
}
.act__a { display: block; text-decoration: none; }
.act__ph { display: block; aspect-ratio: 4 / 3; border-radius: 2px; }
@media (min-width: 720px) { .act__ph { aspect-ratio: 4 / 5; } }
/* A phone held sideways: wide cards, so a card is never taller than the screen. */
@media (orientation: landscape) and (max-height: 520px) { .act__ph { aspect-ratio: 3 / 2; } }
/* Lake Żywiec: both boats stay in the upright card. */
.act__ph--lake img { object-position: 27% 50%; }
.act__ph img { transition: transform 1.4s var(--ease); }
.act__a:hover .act__ph img { transform: scale(1.04); }
.act__t { display: block; margin-top: 18px; font: 330 clamp(22px, 1.5vw, 28px)/1.15 var(--display); }
.act__l { display: block; margin-top: 6px; color: var(--navy-soft); text-wrap: pretty; }
.acts__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(64px, 8vw, 160px); }
.acts__foot .note { max-width: 32em; }

/* ---------- Vision ---------- */
.vision { background: var(--navy); color: var(--ivory); }
.tri { position: relative; background: var(--navy-deep); }
.tri__head { position: relative; z-index: 3; max-width: var(--max); margin-inline: auto; padding: clamp(64px, 8vw, 120px) var(--m) 32px; pointer-events: none; }
.tri__k { color: var(--ivory); }
.spread { margin-top: 12px; font: 250 clamp(52px, 16vw, 230px)/.95 var(--display); letter-spacing: -.03em; }
.spread .rl { display: inline-block; vertical-align: top; }
/* "and" is set smaller inside a line box of the full size, so all three words share one baseline. */
/* Each word clips its own line; a little room at the sides keeps the last letter whole. */
.spread .rl { padding-inline: .08em; margin-inline: -.08em; }
.spread__and { color: var(--ivory-dim); }
.spread__and > span { font-size: .42em; letter-spacing: 0; }
/* Polish: a one-letter "i" set small reads as a stray mark, so it keeps the full size; on a phone it opens
   the second line ("Europa / i Afryka"), as Polish typesetting wants. */
:lang(pl) .spread__and > span { font-size: 1em; letter-spacing: inherit; }
@media (max-width: 719px) { :lang(pl) .spread .rl:first-child { display: block; width: fit-content; } }
.tri__list { display: grid; gap: 2px; }
.tri__p { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.tri__ph { position: absolute; inset: 0; background: var(--navy-deep); }
.tri__p::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--scrim), 0) 40%, rgba(var(--scrim), .78) 100%); }
.tri__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px var(--m) clamp(24px, 3vw, 48px); }
.tri__t { margin-top: 14px; font: 330 clamp(26px, 2.1vw, 40px)/1.1 var(--display); text-wrap: balance; }
/* Phones: the chapter opens on the Poland photograph, with the title spread laid over its top. */
@media (max-width: 719px) and (orientation: portrait) {
  .tri__head { position: absolute; top: 0; left: 0; right: 0; padding-top: calc(var(--hdr) + 24px); }
  .tri__head::before { content: ""; position: absolute; inset: 0 0 -30% 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), .84) 0%, rgba(var(--scrim), .6) 60%, rgba(var(--scrim), 0) 100%); }
  .tri__p:first-child { aspect-ratio: 2 / 3; }
}
.tri__l { margin-top: 8px; max-width: 22em; text-wrap: pretty; }
@media (min-width: 720px) {
  .tri { height: 100vh; height: 100svh; min-height: 620px; }
  .tri__head { position: absolute; top: 0; left: 0; right: 0; padding-top: calc(var(--hdr) + clamp(24px, 5vh, 72px)); }
  .tri__head::before { content: ""; position: absolute; inset: 0 0 -45% 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), .86) 0%, rgba(var(--scrim), .62) 55%, rgba(var(--scrim), 0) 100%); }
  .spread { font-size: clamp(56px, min(9.4vw, 17vh), 220px); white-space: nowrap; }
  .tri__list { position: absolute; inset: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tri__p { aspect-ratio: auto; }
  .tri__cap { padding-inline: clamp(20px, 2vw, 40px); }
  /* Two lines held for every caption, so the three captions share one line. */
  .tri__l { min-height: calc(2 * 1.55em); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .tri { height: auto; min-height: 0; }
  .tri__head { position: relative; padding-top: 40px; }
  .tri__head::before { display: none; }
  .spread { font-size: clamp(40px, 15vh, 72px); }
  .tri__list { position: static; }
  .tri__p { aspect-ratio: 3 / 4; }
}
.vision__grid { padding-block: var(--sec); row-gap: 24px; }
.vision__body { color: var(--ivory-dim); }
@media (min-width: 720px) {
  .vision__lead { grid-column: 1 / span 6; }
  .vision__body { grid-column: 7 / span 6; padding-top: .5em; }
}
@media (min-width: 1200px) { .vision__lead { grid-column: 1 / span 5; } .vision__body { grid-column: 7 / span 5; } }
/* Property, a second line of business: the photograph leads, the words stand beside it. */
.prop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 24px; margin-top: clamp(56px, 6vw, 120px); }
.prop > * { grid-column: 1 / -1; min-width: 0; }
.prop__ph { aspect-ratio: 5 / 4; border-radius: 2px; background: var(--navy-deep); }
.prop__txt { display: grid; justify-items: start; row-gap: 12px; }
.prop__t { font: 330 clamp(28px, 2.5vw, 48px)/1.1 var(--display); }
.prop__l { color: var(--ivory-dim); max-width: 22em; text-wrap: pretty; }
@media (min-width: 720px) {
  .prop { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .prop__ph { grid-column: 1 / span 7; }
  .prop__txt { grid-column: 9 / -1; }
}

/* ---------- Booking ---------- */
.book { background: var(--ivory); }
.band { position: relative; height: clamp(300px, 64vh, 820px); overflow: hidden; background: var(--ivory-2); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-motion .band__img { top: -10%; height: 120%; }
.book__in { padding-block: var(--sec); }
.book__head { text-align: center; }
.book__t { font-size: clamp(32px, 3.6vw, 68px); line-height: 1.1; }
.book__lead { margin: 20px auto 0; }
@media (min-width: 720px) { .book__head { grid-column: 3 / span 8; } }
.direct { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(40px, 4vw, 72px); }
.direct__a {
  display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 28px 10px 32px;
  border: 1px solid var(--navy); border-radius: 2px; text-decoration: none;
  font: 330 clamp(28px, 2.5vw, 44px)/1 var(--display);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.direct__a:hover { background: var(--navy); color: var(--ivory); }
.direct__go { transition: transform .6s var(--ease); }
.direct__a:hover .direct__go { transform: translate(2px, -2px); }
.regions { margin-top: clamp(48px, 5vw, 96px); }
.region { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.region > * { grid-column: 1 / -1; margin: 0; }
@media (min-width: 720px) {
  .region { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .region dt { grid-column: 1 / span 3; }
  .region dd { grid-column: 4 / -1; }
}
@media (min-width: 1200px) { .region dt { grid-column: 1 / span 2; } .region dd { grid-column: 3 / -1; } }
/* Every logo file has one frame: the reference letter is 28 units high, 12 units above it, 34 under the
   baseline (the logo files are prepared to this frame). One height and one shift put all logos on one baseline; --cap is the
   height of that letter on screen. An empty inline-block of the frame's height gives a name without
   a logo the same step. */
.marks { --cap: clamp(17px, 12px + .9vw, 26px); --gap: clamp(22px, 2.4vw, 46px); display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(var(--cap) * .35) var(--gap); line-height: 1; }
.marks li { display: inline-block; white-space: nowrap; }
.marks li::before { content: ""; display: inline-block; width: 0; }
.marks img, .marks li::before { height: calc(var(--cap) * 74 / 28); vertical-align: calc(var(--cap) * -34 / 28); }
.marks img { display: inline-block; width: auto; max-width: none; }
.marks__name { font: 500 calc(var(--cap) / .71)/1 var(--text); letter-spacing: -.015em; }
.book__note { margin-top: 28px; }

/* ---------- The company ---------- */
/* The company opens on Kraków, the registered office, then the details. */
.co { background: var(--ivory-2); }
.co__grid { row-gap: 56px; padding-block: var(--sec); }
/* One eyebrow, "The company"; the leadership heading is there for screen readers only. */
.co__l { display: flex; flex-direction: column; gap: 8px; }
.lead__role { margin-top: 12px; font: 330 clamp(26px, 2.22vw, 42px)/1.15 var(--display); text-wrap: balance; }
.lead .body { margin-top: 12px; color: var(--navy-soft); }
@media (min-width: 720px) {
  .co__l { grid-column: 1 / span 5; }
  .co__r { grid-column: 7 / -1; }
}
.reg { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.reg th, .reg td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.reg tr:last-child th, .reg tr:last-child td { border-bottom: 1px solid var(--line); }
.reg th { width: 38%; padding-right: 16px; font: 500 14px/1.45 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--brass-ink); }
.reg td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
/* No label breaks in two: on a phone each label sits above its value; wider, the label column is as
   wide as its longest label. */
@media (max-width: 599px) {
  .reg th, .reg td { display: block; width: auto; }
  .reg th { padding: 14px 0 2px; }
  .reg td { padding: 0 0 14px; border-top: 0; }
  .reg tr:last-child th { border-bottom: 0; }
}
@media (min-width: 600px) { .reg th { width: 1%; white-space: nowrap; } }

/* ---------- Contact ---------- */
.cover { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; color: var(--ivory); background: var(--navy-deep); }
.cover__media { position: absolute; inset: 0; }
.has-motion .cover__media { inset: -10% 0; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), .55), rgba(var(--scrim), .82)); }
.cover__in { position: relative; z-index: 2; padding-block: calc(var(--hdr) + 48px) 72px; }
.cover__t { margin-top: 14px; font: 250 clamp(46px, 6.25vw, 120px)/.98 var(--display); letter-spacing: -.02em; }
.cover__box .eyebrow { color: var(--ivory); }
.cover__l { margin-top: 18px; font: 330 clamp(19px, 1.35vw, 26px)/1.35 var(--display); max-width: 24em; text-wrap: pretty; }
.chans { margin-top: 32px; border-top: 1px solid rgba(245, 239, 228, .34); }
.chans li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; padding-block: 14px; border-bottom: 1px solid rgba(245, 239, 228, .34); }
.chans__k { flex: 1 0 100%; font: 500 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.chans__v { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font: 330 clamp(22px, 1.9vw, 34px)/1.2 var(--display); overflow-wrap: anywhere; }
.chans__v:hover, .chans__wa:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.chans__wa { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1 var(--text); letter-spacing: .04em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.cover__s { margin-top: 20px; text-wrap: pretty; }
.cover__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.cover__office { font: 500 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 720px) {
  .cover__veil { background: linear-gradient(90deg, rgba(var(--scrim), .2) 0%, rgba(var(--scrim), .42) 42%, rgba(var(--scrim), .84) 70%); }
  .cover__box { grid-column: 7 / -1; }
}
@media (min-width: 1200px) { .cover__box { grid-column: 8 / span 4; } }

/* ---------- Footer ---------- */
.foot { overflow: hidden; background: var(--navy-deep); color: var(--ivory); }
.foot__in { padding-block: clamp(64px, 7vw, 128px) 24px; }
.foot__grid { row-gap: 40px; }
.foot__mark img { width: clamp(150px, 12vw, 230px); height: auto; }
.foot__k { margin-bottom: 10px; font: 500 14px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--brass); }
.foot__col li { color: var(--ivory-dim); font-size: 1rem; line-height: 1.5; }
.foot__col li:not(:has(a)) { padding-block: 4px; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ivory); text-decoration: none; overflow-wrap: anywhere; scroll-margin-block: 96px 32px; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__lang { margin-left: -8px; }
.foot__base { margin-top: clamp(48px, 6vw, 96px); padding-top: 20px; border-top: 1px solid var(--line-dark); row-gap: 8px; font-size: .875rem; color: var(--ivory-dim); }
@media (min-width: 420px) { .foot__col { grid-column: span 2; } }
@media (min-width: 720px) {
  .foot__mark { grid-column: 1 / -1; }
  .foot__col { grid-column: span 3; }
  .foot__base > :first-child { grid-column: 1 / span 4; }
  .foot__base > :last-child { grid-column: 5 / -1; text-align: right; }
}
@media (min-width: 1200px) {
  .foot__mark { grid-column: 1 / span 4; }
  .foot__nav { grid-column: 5 / span 2; }
  .foot__col:nth-child(3) { grid-column: 7 / span 3; }
  .foot__col:nth-child(4) { grid-column: 10 / span 2; }
  .foot__langcol { grid-column: 12 / span 1; }
}

/* ---------- Polish ---------- */
/* Longer words: the hero sets one size step lower so "APARTAMENTY" fits, the other titles keep theirs. */
:lang(pl) .hero__title { font-size: clamp(30px, 9.8vw, 52px); }
@media (min-width: 720px) { :lang(pl) .hero__title { font-size: clamp(40px, min(6.6vw, 12.5vh), 136px); } }
@media (orientation: landscape) and (max-height: 520px) { :lang(pl) .hero__title { font-size: clamp(26px, 9vh, 40px); } }

/* ---------- Reduced motion, print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .menu, .skip, .hero__veil, .scene__veil, .cover__veil, .hero__aside::before, .hero__reg::before, .tri__head::before, .tri__p::after { display: none !important; }
  .hero, .scene, .tri, .cover { height: auto !important; min-height: 0 !important; color: var(--navy); background: none; }
  .hero__media, .scene__media, .cover__media { position: relative; height: 60vh; }
  .vision, .foot { background: none; color: var(--navy); }
  /* Vision: the three panels print side by side as photographs with their captions below. */
  .tri { background: none; }
  .tri__head, .tri__list { position: static !important; }
  .tri__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tri__p { aspect-ratio: auto !important; overflow: visible; break-inside: avoid; }
  .tri__ph { position: relative !important; aspect-ratio: 3 / 4; }
  .tri__cap { position: static !important; padding: 10px 0 0 !important; }
  /* Backgrounds do not print, so the light words of the dark chapters print dark. */
  .tri__k, .spread, .tri__t, .tri__l, .vision__body, .prop__t, .prop__l, .foot__col li, .foot__base, .foot__col a, .cover .eyebrow { color: var(--navy) !important; }
  .foot__k, .spread__and { color: var(--brass-ink) !important; }
  .chip--photo { background: none; color: var(--brass-ink); box-shadow: inset 0 0 0 1px currentColor; }
  .pill__t, .pill__a { background: none !important; color: var(--navy) !important; box-shadow: inset 0 0 0 1px var(--navy); }
  /* Whatever waits to rise on screen prints in place. */
  [data-rv], .about__k, .scene__k, .scene__l, .tri__k, .tri__cap, .cover__box > .eyebrow, .homes__k, .rl > span, .hero__title .ln > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .homes__ph, .prop__ph, .band, .pair__ph, .card__ph, .act__ph { break-inside: avoid; }
}
