/* The Belema landing page: Serene's first screen, alone, with the project renders sliding behind it.
   Every value is Serene's (projects/Belema/website-v2: src/styles/tokens.css, src/styles/global.css, the hero in
   src/pages/index.astro and src/components/Notch.astro), copied here rather than imported, so Serene is never touched.
   Three colours only: Petroleum, brushed Platinum, Mineral White, and transparent forms of them. */

/* The sans: Inter (OFL), self-hosted so every device shows the same face; Helvetica and Arial stay as the fallback while it loads */
@font-face { font-family: "Inter"; src: url("/fonts/inter-400.8909904ab6.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Cormorant Garamond (OFL), Serene's serif: the project names, the pop-up's title and the italic line */
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-400.8048ac209b.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-400-italic.e48e580270.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --petroleum: #0b3540;
  --platinum: #c7cfce;
  --mineral: #eef1ed;
  --scrim: 11 53 64;
  --platinum-rgb: 199 207 206;
  --mineral-rgb: 238 241 237;
  --metal: linear-gradient(172deg, #eef1ed 0%, #c7cfce 46%, rgb(199 207 206 / 0.8) 100%);

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;
  --track-eyebrow: 0.16em;

  --pad: clamp(1.5rem, 7vw - 1rem, 5.5rem);
  --gap: max(1.5rem, calc(var(--pad) / 2));
  --inset: 1.5rem;
  --inset-x: max(var(--inset), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --r-capsule: 999px;
  --r-screen: 44px;
  --sheet-inset: 12px;
  --r-sheet: calc(var(--r-screen) - var(--sheet-inset));   /* the pop-up, a sheet 12 px in from the screen's corner */
  --r-option: calc(var(--r-sheet) - var(--sheet-inset));   /* its options, 12 px in from the sheet's edge */
  --notch-pad: 8px;
  --notch-h: 60px;
  --r-notch: calc(var(--notch-h) / 2);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slide: cubic-bezier(0.5, 0, 0, 1);   /* Serene's soft handoff: a long settle, not a push */
  --hover: 0.3s;
  /* the slideshow: a new render every 2 s (Giorgio, 2026-11-09): it holds, then the next slides in over it.
     landing.js reads both values from here */
  --hold: 1.3s;
  --move: 0.7s;

  --glass: rgb(11 53 64 / 0.94);
  --glass-blur: blur(24px) saturate(160%);
  --glass-edge: inset 0 0 0 1px rgb(199 207 206 / 0.36);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--petroleum); }
body {
  margin: 0; min-height: 100svh; background: var(--petroleum); color: var(--mineral);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, p { margin: 0; font-size: inherit; font-weight: 400; }
::selection { background: var(--platinum); color: var(--petroleum); }
:focus-visible { outline: 2px solid var(--mineral); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.eyebrow { font-size: var(--fs-eyebrow); font-weight: 400; letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; transition: text-underline-offset 0.5s var(--ease-out); }
.link:hover { text-underline-offset: 0.5em; }
/* Serene's primary capsule on an image: Mineral, Platinum on hover, no shadow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.5em 1.6rem; border-radius: var(--r-capsule); white-space: nowrap;
  background: var(--mineral); color: var(--petroleum);
  font-size: var(--fs-small); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color var(--hover) var(--ease-out), color var(--hover) var(--ease-out);
}
.btn:hover { background: var(--platinum); }
.arrow { width: 14px; height: 14px; flex: none; }

/* Brand marks, cut from the master logo's alpha */
.mark, .wordmark, .hero-mark { display: block; background: var(--metal); }
.mark { -webkit-mask: url("/brand/monogram-mask.cd5e1f6dd7.png") center / contain no-repeat; mask: url("/brand/monogram-mask.cd5e1f6dd7.png") center / contain no-repeat; aspect-ratio: 265 / 289; }
.wordmark { -webkit-mask: url("/brand/wordmark-mask.7bcc4c6635.png") center / contain no-repeat; mask: url("/brand/wordmark-mask.7bcc4c6635.png") center / contain no-repeat; aspect-ratio: 360 / 52; }
/* a slow line: a mask stays clipped until it has arrived whole, never painted in slices (head.js lifts this after 6 s) */
html.marks-wait :is(.mark, .wordmark, .hero-mark):not([data-ready]) { clip-path: inset(50%); }

/* ---------- The notch: a glass bar hanging from the top edge, the brushed B in it ---------- */
.notch { position: fixed; top: 0; left: 50%; z-index: 4; translate: -50% 0; pointer-events: none; }
.notch-bar {
  display: flex; align-items: center; justify-content: center;
  min-height: var(--notch-h); padding: var(--notch-pad) calc(var(--notch-pad) + 20px);
  border-radius: 0 0 var(--r-notch) var(--r-notch);
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
}
.notch-mono { width: 20px; }

/* ---------- The hero: one screen, the renders behind it ---------- */
.hero { position: relative; z-index: 0; min-height: 100svh; overflow: clip; }   /* the statement's veil runs past the bottom edge */
.slides { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--petroleum); }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-on { visibility: visible; z-index: 2; }
.slide picture { width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
/* The slide: the next render comes in from the right over the last, which drifts left under a Petroleum veil */
html.motion .slide { translate: 100% 0; }
html.motion .slide.is-on { translate: 0 0; }
html.motion .slide.is-out { translate: -30% 0; visibility: visible; z-index: 1; }
html.motion .slide.is-moving { transition: translate var(--move) var(--ease-slide); }
html.motion .slide::after { content: ""; position: absolute; inset: 0; background: rgb(var(--scrim) / 0.6); opacity: 0; }
html.motion .slide.is-out::after { opacity: 1; transition: opacity var(--move) var(--ease-slide); }
/* and settles from a slight zoom while it holds, as Serene's hero does on arrival */
html.motion .slide img { scale: 1.03; }
html.motion.motion-ready .slide.is-on img, html.motion .slide.is-out img { scale: 1; transition: scale calc(var(--hold) + var(--move)) cubic-bezier(0.3, 0, 0.4, 1); }

/* Serene's scrim; the top stop is 0.72 here, not 0.66, for the phone and email over the brightest skies, and the
   bottom band holds 0.8 for a quarter of the screen, where the caption, the statement and the row of names sit */
.hero-scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(180deg, rgb(var(--scrim) / 0.82) 0%, rgb(var(--scrim) / 0.72) 7.5rem, rgb(var(--scrim) / 0) max(30%, 12.5rem)),
    radial-gradient(64% 38% at 50% 44%, rgb(var(--scrim) / 0.72) 0%, rgb(var(--scrim) / 0.5) 55%, rgb(var(--scrim) / 0) 100%),
    linear-gradient(0deg, rgb(var(--scrim) / 0.9) 0%, rgb(var(--scrim) / 0.8) 24%, rgb(var(--scrim) / 0.5) 40%, rgb(var(--scrim) / 0) 62%); }
/* The wordmark stands in the grid's free row, centred, so no line of copy can run over it at any size; on a
   landscape phone it is sized by the height that row leaves. A soft Petroleum halo goes with it, so it keeps 3:1
   over the palest render behind it (La Gemme's sky, Le Cime on a phone) */
.hero-brand { grid-area: 2 / 1 / 3 / -1; justify-self: center; align-self: center; position: relative; }
.hero-brand::before {
  content: ""; position: absolute; z-index: -1; inset: -90% -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--scrim) / 0.5), rgb(var(--scrim) / 0.32) 55%, rgb(var(--scrim) / 0) 100%);
}
/* a phone's wordmark is small against the render, so its halo is taller and deeper */
@media (width < 768px) {
  .hero-brand::before { inset: -150% -30%; background: radial-gradient(closest-side, rgb(var(--scrim) / 0.66), rgb(var(--scrim) / 0.45) 55%, rgb(var(--scrim) / 0) 100%); }   /* wide enough to reach the B and the A */
}
.hero-mark {
  width: min(74vw, 1120px); aspect-ratio: 1400 / 201;
  -webkit-mask: url("/brand/wordmark-hero-mask.9202d59c1c.png") center / contain no-repeat; mask: url("/brand/wordmark-hero-mask.9202d59c1c.png") center / contain no-repeat;
}

/* The overlay is a grid, so its copy flows and never collides, at any size, zoom or text setting */
.hero-overlay {
  position: relative; z-index: 3; min-height: 100svh;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto 1fr auto auto; gap: 1rem var(--gap);
  padding: var(--inset) var(--inset-x); color: var(--mineral);
}
.hero-loc { grid-area: 1 / 1; align-self: start; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgb(var(--mineral-rgb) / 0.45); }
.hero-contact { grid-area: 1 / 3; align-self: start; justify-self: end; display: grid; justify-items: end; font-size: var(--fs-small); }
.hero-contact .link { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgb(var(--mineral-rgb) / 0.45); }
.hero-desc { grid-area: 3 / 3; align-self: end; justify-self: end; max-width: min(30rem, 40vw); text-align: right; font-size: var(--fs-small); line-height: 1.5; text-wrap: pretty; }
/* "Full portfolio website launching soon.", Giorgio's line, short and in italic under the statement */
.hero-soon { margin-top: 0.375rem; font-family: var(--font-serif); font-style: italic; font-size: 1.1875rem; line-height: 1.3; }
.hero-cap { grid-area: 3 / 1; align-self: end; justify-self: start; display: flex; align-items: center; gap: 0.875rem; min-height: 48px; }
.hero-cap-text { font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--platinum); text-wrap: balance; transition: opacity 0.2s var(--ease-out); }
.hero-cap-text.is-swapping { opacity: 0; }
.hero-cta { grid-area: 3 / 2; align-self: end; }

/* The row of the twelve projects, each opening its construction tracker. The one on screen is lit: Mineral, with a
   short Mineral rule under the row's hairline that passes from name to name. Every name underlines on hover and focus,
   as every other link here does. From 1180 px all twelve fit (the label sits above them below 1440 px); on smaller,
   touch screens the row scrolls sideways under the edge, fades where it continues, and follows the render on screen
   until the visitor touches it (landing.js) */
.hero-rail { grid-area: 4 / 1 / 5 / -1; display: grid; gap: 0.375rem; min-width: 0; padding-top: 0.625rem; border-top: 1px solid rgb(var(--platinum-rgb) / 0.3); }
.rail-label { color: var(--platinum); }
.rail-list {
  display: flex; min-width: 0; margin: 0 calc(-1 * var(--inset-x)) 0 -0.5rem; padding: 0 var(--inset-x) 0 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
}
.rail-list::-webkit-scrollbar { display: none; }
.rail-list.more-right { -webkit-mask-image: linear-gradient(90deg, rgb(11 53 64) calc(100% - 3.5rem), rgb(11 53 64 / 0)); mask-image: linear-gradient(90deg, rgb(11 53 64) calc(100% - 3.5rem), rgb(11 53 64 / 0)); }
.rail-list.more-left { -webkit-mask-image: linear-gradient(90deg, rgb(11 53 64 / 0), rgb(11 53 64) 3rem); mask-image: linear-gradient(90deg, rgb(11 53 64 / 0), rgb(11 53 64) 3rem); }
.rail-list.more-left.more-right {
  -webkit-mask-image: linear-gradient(90deg, rgb(11 53 64 / 0), rgb(11 53 64) 3rem, rgb(11 53 64) calc(100% - 3.5rem), rgb(11 53 64 / 0));
  mask-image: linear-gradient(90deg, rgb(11 53 64 / 0), rgb(11 53 64) 3rem, rgb(11 53 64) calc(100% - 3.5rem), rgb(11 53 64 / 0));
}
.rail-list li { flex: none; }
.rail-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.5rem;
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums;
  color: var(--platinum); text-decoration: underline 1px transparent; text-underline-offset: 0.28em;
  transition: color var(--hover) var(--ease-out), text-decoration-color var(--hover) var(--ease-out);
}
.rail-link::before {
  content: ""; position: absolute; top: 0.3125rem; left: 0.5rem; right: 0.5rem; height: 1px; background: var(--mineral);   /* just over the name, clear of the label above */
  scale: 0 1; transform-origin: 0 0; transition: scale var(--move) var(--ease-slide);
}
.rail-link:is(:hover, :focus-visible) { color: var(--mineral); text-decoration-color: rgb(var(--mineral-rgb) / 0.45); }
.rail-link[aria-current="true"] { color: var(--mineral); }
.rail-link[aria-current="true"]::before { scale: 1 1; }
.rail-link:focus-visible { outline-offset: -3px; }   /* the row clips what overflows it */
/* A project's logo in place of its name (Giorgio, 2026-11-10): Serene's mask, painted in the link's own colour, Platinum
   and Mineral when lit or under the pointer. --logo-k sets the size by area (build.py writes each logo's --sa and shape) */
.rail-list { --logo-k: 2.5rem; }
.rail-link--logo { padding: 0.25rem 0.8rem 0; min-height: 3.75rem; } .rail-link:not(.rail-link--logo) { min-height: 3.75rem; padding-top: 0.25rem; } /* text names (Keena K536) centre on the same line as the logos */ /* room for the tall logos (Maison Marée, Le Pic) clear of the lit rule and the hairline */
.rail-logo { display: block; width: calc(var(--logo-k) * var(--sa, 1)); background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
@media (forced-colors: active) { .rail-logo { forced-color-adjust: none; background: LinkText; } }
/* wide screens: the label beside the names, the lit rule on the hairline itself */
@media (width >= 90em) {
  .hero-rail { display: flex; align-items: center; gap: 0 1.25rem; padding-top: 0; }
  .rail-label { flex: none; }
  .rail-list { margin-left: 0; }
  .rail-link { font-size: 1.3125rem; }
  .rail-list { --logo-k: 2.8rem; }
.rail-link--logo, .rail-link:not(.rail-link--logo) { padding-top: 0; }
  .rail-link::before { top: 0; }   /* the label is beside the names: the rule rides the row's hairline */
}

/* The pause control (WCAG 2.2.2): a glass capsule */
.hero-pause {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-capsule);
  background: rgb(var(--scrim) / 0.55); color: var(--mineral); box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color var(--hover) var(--ease-out), color var(--hover) var(--ease-out);
}
.hero-pause:hover { background: var(--mineral); color: var(--petroleum); }
.ico { width: 14px; height: 14px; }
.ico-play, .hero-pause.is-stopped .ico-pause { display: none; }
.hero-pause.is-stopped .ico-play { display: block; }

/* 77.5em is 1240 px at the default text size; in em it follows the browser font setting, so enlarged text stacks */
@media (768px <= width < 77.5em) {
  .hero-overlay { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto auto; }
  .hero-contact { grid-area: 1 / 2; }
  .hero-desc { grid-area: 3 / 1 / 4 / 3; }
  .hero-cap { grid-area: 4 / 1; }
  .hero-cta { grid-area: 4 / 2; justify-self: end; }
  .hero-rail { grid-area: 5 / 1 / 6 / -1; }
}
/* Landscape phones: the tablet layout, the wordmark sized by the height left over */
@media (width < 768px) and (orientation: landscape) and (max-height: 500px) {
  .hero-overlay { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto auto; }
  .hero-desc { grid-area: 3 / 1 / 4 / 3; }
  .hero-cap { grid-area: 4 / 1; }
  .hero-cta { grid-area: 4 / 2; justify-self: end; }
  .hero-rail { grid-area: 5 / 1 / 6 / -1; }
}
/* Short landscape screens: the phone and email live in the pop-up, the rows close up */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-contact { display: none; }
  .hero-overlay { row-gap: 0.5rem; padding-block: 0.75rem; }
  .hero-mark { width: min(74vw, 1120px, max(12rem, (100svh - 20rem) * 6.9)); }
  .hero-rail { display: flex; align-items: center; gap: 0 1rem; padding-top: 0; }   /* the label beside the names: one row's height */
  .rail-label { flex: none; }
  .rail-list { margin-left: 0; }
  .rail-link::before { top: 0; }
}
@media (orientation: landscape) and (max-height: 500px) and (width < 77.5em) {
  .hero-desc { justify-self: stretch; max-width: none; text-align: left; --veil: 2.5rem; }   /* two lines across, not five; a shorter veil keeps the render in view */
}
/* Where the statement sits high over the render (phones, and the tablet stack), a Petroleum veil rises from the
   bottom edge to a little above it, so every line keeps 4.5:1 over the brightest render */
@media (width < 77.5em) {
  .hero-desc { position: relative; }
  .hero-desc::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    right: calc(-1 * var(--inset-x)); width: 100vw; top: calc(-1 * var(--veil, 3.5rem)); height: 100svh;   /* the statement ends at the inset: this spans the screen */
    background: linear-gradient(180deg, rgb(var(--scrim) / 0) 0, rgb(var(--scrim) / 0.7) var(--veil, 3.5rem), rgb(var(--scrim) / 0.8) calc(var(--veil, 3.5rem) * 2), rgb(var(--scrim) / 0.84) 100%);
  }
}
/* Phones: one column; the phone and email live in the pop-up the button opens; the row's label sits over it */
@media (width < 768px) and (not ((orientation: landscape) and (max-height: 500px))) {
  .hero-overlay { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto auto auto; row-gap: 0; padding: calc(var(--notch-h) + 1.25rem) var(--inset-x) var(--inset); }
  .hero-loc { justify-self: center; white-space: nowrap; }
  .hero-contact { display: none; }
  .hero-desc { grid-area: 3 / 1; justify-self: stretch; max-width: none; text-align: left; }
  .hero-cta { grid-area: 4 / 1; justify-self: start; margin-block: 1.25rem 0.5rem; }
  .hero-cap { grid-area: 5 / 1; margin-bottom: 0.5rem; }
  .hero-rail { grid-area: 6 / 1; }
}

/* ---------- The pop-up: the three ways to reach sales, before WhatsApp opens ---------- */
/* An opaque Mineral sheet (a dialog is never glass), a bottom sheet on phones; corners concentric from --r-screen */
.sales {
  width: min(27rem, calc(100vw - 2 * var(--sheet-inset))); max-width: none; max-height: calc(100dvh - 2 * var(--sheet-inset));
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--petroleum); overflow: visible;
}
.sales::backdrop { background: rgb(var(--scrim) / 0.72); }
.sales[open] { animation: sheet-in 0.32s var(--ease-out); }
.sales[open]::backdrop { animation: veil-in 0.32s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; translate: 0 1rem; } }
@keyframes veil-in { from { opacity: 0; } }
.sales-card {
  max-height: calc(100dvh - 2 * var(--sheet-inset)); overflow-y: auto; padding: var(--sheet-inset);
  border-radius: var(--r-sheet); background: var(--mineral); box-shadow: inset 0 0 0 1px var(--platinum);
}
.sales :focus-visible { outline-color: var(--petroleum); }
.sales-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.375rem 0 0.5rem 0.75rem; }
.sales-title { margin: 0; font-family: var(--font-serif); font-size: 1.875rem; font-weight: 400; line-height: 1.1; }
.sales-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-capsule); transition: background-color var(--hover) var(--ease-out); }
@media (hover: hover) { .sales-close:hover { background: var(--platinum); } }
.sales-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
/* the three ways as an editorial list: hairlines between them, the names in Cormorant, plain line icons */
.sales-list { display: grid; margin: 0; padding: 0; list-style: none; }
.sales-list li + li { border-top: 1px solid var(--platinum); }
.sales-opt {
  display: flex; align-items: center; gap: 1rem; min-height: 72px; padding: 12px;
  border-radius: var(--r-option); transition: background-color var(--hover) var(--ease-out);
}
@media (hover: hover) { .sales-opt:hover { background: var(--platinum); } }   /* a tap leaves no stuck hover */
.sales-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; }
.sales-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.sales-ico .wa-glyph { stroke-width: 3; }   /* at the glyph's 0.42 scale: the same line as the bubble */
.sales-opt-text { flex: 1; min-width: 0; display: grid; gap: 0.125rem; }
.sales-opt-name { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; }
.sales-opt-detail { font-size: var(--fs-small); line-height: 1.35; overflow-wrap: anywhere; }
.sales-opt .arrow { fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (width < 768px) {
  .sales { margin-bottom: max(var(--sheet-inset), env(safe-area-inset-bottom, 0px)); }   /* a sheet at the bottom, near the thumb */
}
@media (width < 360px) {
  .sales-opt .arrow { display: none; }   /* the address keeps one line on the smallest phones */
  .sales-opt-detail { font-size: 0.875rem; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: var(--pad) var(--inset-x); text-align: center; }
.lost-mark { width: min(60vw, 360px); margin-bottom: 1.5rem; }
.lost-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.2; }
.lost-text { max-width: 36ch; color: var(--platinum); font-size: var(--fs-small); }
.lost .btn { margin-top: 0.75rem; }

/* ---------- Fallbacks ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .notch-bar, .hero-pause { background: var(--petroleum); }
}
@media (prefers-reduced-transparency: reduce) {
  .notch-bar, .hero-pause { background: var(--petroleum); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .mark, .wordmark, .hero-mark { forced-color-adjust: none; background: CanvasText; }
  .btn, .hero-pause, .sales-opt, .sales-close { border: 1px solid ButtonText; }
  .sales-card { border: 1px solid CanvasText; }

  .notch-bar { border: 1px solid CanvasText; border-top: 0; }
}

.slide[data-render="les-roches/hero-home"] img { object-position: 50% 60%; }
.slide[data-render="sema-hills/pool-sunset"] img { object-position: 72% 50%; }
.rail-logo[data-logo="les-roches"] { -webkit-mask-image: url("/brand/projects/les-roches.1a9e784544.png"); mask-image: url("/brand/projects/les-roches.1a9e784544.png"); --sa: 1.832; aspect-ratio: 470 / 140; }
.rail-logo[data-logo="nassma"] { -webkit-mask-image: url("/brand/projects/nassma.a6f537d16f.png"); mask-image: url("/brand/projects/nassma.a6f537d16f.png"); --sa: 1.602; aspect-ratio: 498 / 194; }
.rail-logo[data-logo="la-gemme"] { -webkit-mask-image: url("/brand/projects/la-gemme.e516f37a48.png"); mask-image: url("/brand/projects/la-gemme.e516f37a48.png"); --sa: 1.399; aspect-ratio: 448 / 229; }
.rail-logo[data-logo="cyra-tower"] { -webkit-mask-image: url("/brand/projects/cyra-tower.2d78606423.png"); mask-image: url("/brand/projects/cyra-tower.2d78606423.png"); --sa: 1.526; aspect-ratio: 461 / 198; }
.rail-logo[data-logo="maison-maree"] { -webkit-mask-image: url("/brand/projects/maison-maree.d9741246fe.png"); mask-image: url("/brand/projects/maison-maree.d9741246fe.png"); --sa: 1.083; aspect-ratio: 286 / 244; }
.rail-logo[data-logo="sema-hills"] { -webkit-mask-image: url("/brand/projects/sema-hills.b973e6f50a.png"); mask-image: url("/brand/projects/sema-hills.b973e6f50a.png"); --sa: 1.264; aspect-ratio: 364 / 228; }
.rail-logo[data-logo="ila"] { -webkit-mask-image: url("/brand/projects/ila.d293d804a9.png"); mask-image: url("/brand/projects/ila.d293d804a9.png"); --sa: 1.172; aspect-ratio: 302 / 220; }
.rail-logo[data-logo="le-cime"] { -webkit-mask-image: url("/brand/projects/le-cime.5d74107c79.png"); mask-image: url("/brand/projects/le-cime.5d74107c79.png"); --sa: 1.245; aspect-ratio: 310 / 200; }
.rail-logo[data-logo="le-pic"] { -webkit-mask-image: url("/brand/projects/le-pic.910f02229f.png"); mask-image: url("/brand/projects/le-pic.910f02229f.png"); --sa: 0.925; aspect-ratio: 190 / 222; }
.rail-logo[data-logo="tilal-views"] { -webkit-mask-image: url("/brand/projects/tilal-views.bf3e82534e.png"); mask-image: url("/brand/projects/tilal-views.bf3e82534e.png"); --sa: 2.013; aspect-ratio: 600 / 148; }
.rail-logo[data-logo="agora"] { -webkit-mask-image: url("/brand/projects/agora.55412cb6d9.png"); mask-image: url("/brand/projects/agora.55412cb6d9.png"); --sa: 1.216; aspect-ratio: 306 / 207; }
