/*
 * The agency sites' own sheet (#182), linked by the sites' layout alone,
 * over application.css. docs/design.md § Agency sites says what it may do
 * beyond the admin's rules. Six layouts over one home markup, picked by
 * data-layout on <html>: the shared parts first, then one block a layout.
 *
 * Colours come only from the palette's tokens, or a color-mix() of them;
 * test/assets/sites_sheet_test.rb weighs every pair on every palette.
 * Every rule that moves has its twin in the reduced-motion block at the
 * foot, read rule by rule by test/assets/motion_guards_test.rb.
 */

/*
 * The display faces: card's own files (NadlanCard::FONTS), copied whole
 * with their licences beside them in packs/sites/app/assets/fonts; each
 * face names its letters, so a page fetches only the files it draws.
 */
@font-face {
  font-family: "Miriam Libre";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/miriam-libre-hebrew-400-700-e39f0bac.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Miriam Libre";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/miriam-libre-latin-400-700-f6397f99.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: "Alef";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/alef-hebrew-400-27de3892.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Alef";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/alef-latin-400-f3078dc1.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: "Alef";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/alef-hebrew-700-8967886b.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Alef";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/alef-latin-700-863bb910.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: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fredoka-hebrew-400-700-3dfcf6be.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fredoka-latin-400-700-aabc92f2.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: "Secular One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/secular-one-hebrew-400-e477c352.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Secular One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/secular-one-latin-400-6a98430b.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: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/rubik-hebrew-400-700-bc9f54a9.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/rubik-latin-400-700-8104fbe9.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;
}
/* The sites' own four (fontsource's files, OFL), Hebrew and Latin whole. */
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/frank-ruhl-libre-hebrew-300-900-d721bfdf.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/frank-ruhl-libre-latin-300-900-94446189.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: "Bellefair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/bellefair-hebrew-400-27a52488.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Bellefair";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/bellefair-latin-400-d35a78e6.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: "Suez One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/suez-one-hebrew-400-ecae2f53.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Suez One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/suez-one-latin-400-6009d490.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: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/ibm-plex-sans-hebrew-hebrew-400-682f89a8.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/ibm-plex-sans-hebrew-latin-400-22040fd7.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: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/ibm-plex-sans-hebrew-hebrew-700-426c7b77.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/ibm-plex-sans-hebrew-latin-700-a07e8562.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;
}

/*
 * The site's own tokens, each a palette token or a mix of them. The bands
 * are the page's grounds, the palette's ground leaning toward its accent;
 * the plate and the veil lie over a photo, so the sheet test weighs what
 * reads on them over a black and over a white picture alike.
 */
[data-layout] {
  --s-band-1: color-mix(in srgb, var(--v-ground), var(--v-accent) 10%);
  --s-band-2: color-mix(in srgb, var(--v-ground), var(--v-accent) 20%);
  --s-band-3: color-mix(in srgb, var(--v-ground), var(--v-accent) 25%);
  /* Quiet and accent words lean toward the ink on a band, to keep AA. */
  --s-band-muted: color-mix(in srgb, var(--v-ink-muted), var(--v-ink) 45%);
  --s-band-accent: color-mix(in srgb, var(--v-accent), var(--v-ink) 45%);
  --s-muted: var(--v-ink-muted);
  --s-accent: var(--v-accent);
  --s-plate: color-mix(in srgb, transparent, var(--v-ground) 88%);
  --s-veil: color-mix(in srgb, transparent, var(--v-ground) 50%);
  --s-wide: 78rem;
  --s-gutter: clamp(1rem, 4vw, 3rem);
  /* A band runs edge to edge; its content keeps to the wide column. */
  --s-bleed: max(var(--s-gutter), calc((100% - var(--s-wide)) / 2 + var(--s-gutter)));
  /* The same inset reckoned from the window, for a part narrower than the
     page (a split hero's words) that must line up with the content column. */
  --s-edge: max(var(--s-gutter), calc((100vw - var(--s-wide)) / 2 + var(--s-gutter)));
  /* A split hero's words column on a wide window: that inset, the gap to
     the photos and 20rem of words, so the words never narrow as it widens. */
  --s-edge-words: calc(var(--s-edge) + clamp(4rem, 5vw, 5rem) + 20rem);
  --s-space: clamp(5rem, 10vw, 9rem);
  /* The air between the bar's parts, and half of it between the menu's presses (#325). */
  --s-bar-gap: 1.75rem;
  --s-round: 1rem;
  --s-ease: cubic-bezier(.2, .7, .2, 1);
  --s-display: var(--v-font);
  /* The contact form's red (#143), leaning toward the ink to keep AA on every palette. */
  --s-lead-danger: color-mix(in srgb, var(--v-danger), var(--v-ink) 45%);
  /* Duet's hovered card ground, a step past the third band. */
  --s-duet-deep: color-mix(in srgb, var(--v-ground), var(--v-accent) 30%);
  /* A part reached by a key never hides under the sticky bar. */
  scroll-padding-block-start: 6rem;
}
/* On a dark ground the accent muddies a band: it lifts toward the ink instead. */
[data-layout][data-theme="dark"] {
  --s-band-1: color-mix(in srgb, var(--v-ground), var(--v-ink) 4%);
  --s-band-2: color-mix(in srgb, var(--v-ground), var(--v-ink) 8%);
  --s-band-3: color-mix(in srgb, var(--v-ground), var(--v-ink) 12%);
  --s-duet-deep: color-mix(in srgb, var(--v-ground), var(--v-ink) 15%);
}

/* ---- The shared parts ---- */

.s-main { display: block; }
.s-main h1, .s-main h2, .s-main h3 { font-family: var(--s-display); font-weight: 400; }

/* The bar sticks; past the hero it slims, and it steps aside while the
   reader scrolls down (sites.js). Its parts run from the reading side,
   packed together (#325). */
.s-top {
  position: sticky; inset-block-start: 0; z-index: 10;
  display: flex; align-items: center; justify-content: flex-start; gap: 1rem;
  padding: .75rem var(--s-bleed); background: var(--v-ground);
  transition: translate .35s var(--s-ease), padding .35s var(--s-ease);
}
.s-top.is-slim { padding-block: .375rem; }
.s-top.is-away { translate: 0 -100%; }
.s-brand {
  display: inline-flex; align-items: center; min-block-size: 2.75rem;
  color: var(--v-ink); text-decoration: none; font: 400 1.25rem/1.2 var(--s-display);
}
/* A logo in its own shape (#406): as tall as its place says, as wide as
   that makes it, a wide one wide, up to about four times its height. */
.s-logo, .s-hero-logo { inline-size: auto; max-inline-size: calc(var(--s-logo-h) * 4.25); block-size: var(--s-logo-h); object-fit: contain; }
.s-logo { --s-logo-h: 3.5rem; transition: block-size .35s var(--s-ease); }
.s-top.is-slim .s-logo { --s-logo-h: 2.5rem; }
/* On the home the hero says the office's name: the bar's written name
   waits until the bar slims past it, so the first screen says it once. */
/* A logo whose file is missing gives way to the name (#255), as one never given (sites.js). */
.s-brand--name { transition: opacity .35s ease, visibility .35s; }
.s-top:not(.s-top--page):not(.is-slim) .s-brand--name { opacity: 0; visibility: hidden; }
/* Home in words, small and centred under the logo or name (#279), in the
   look's accent; underlined while pointed at or reached by a key. */
.s-top .s-brand { flex-direction: column; justify-content: center; gap: .125rem; text-align: center; }
.s-brand-home {
  display: inline-flex; align-items: center; gap: .3em;
  color: var(--v-accent); font-size: .875rem; line-height: 1.2;
  text-decoration: underline transparent; text-underline-offset: .2em; transition: text-decoration-color .25s ease;
}
.s-brand-home .v-icon { inline-size: 1em; block-size: 1em; stroke-width: 1.4; }
.s-brand:hover .s-brand-home, .s-brand:focus-visible .s-brand-home { text-decoration-color: currentcolor; }
@media (prefers-reduced-motion: reduce) {
  .s-brand-home { transition: none; }
}
/* The home is home already: its bar keeps its height, the first screen whole. */
.s-top:not(.s-top--page) .s-brand-home { display: none; }
.s-call {
  display: inline-flex; align-items: center; gap: .5rem; min-block-size: 2.75rem; padding: .5rem 1.15rem;
  border: 1px solid var(--v-accent); border-radius: 999px; background: transparent; color: var(--v-accent);
  margin-inline-start: auto; text-decoration: none; font-weight: 500;
  transition: border-color .25s ease, color .25s ease;
}
/* Hovered it stays outlined, a shade toward the ink. */
.s-call:hover { border-color: var(--v-accent-soft); color: var(--v-accent-soft); }
.s-call-number { font-variant-numeric: tabular-nums; }
.s-call:focus-visible, .s-go:focus-visible { outline-color: var(--v-ink); }

.s-hero { position: relative; }
/* The plate shrinks with its column, never widened by a long unbroken name. */
.s-hero-plate { min-inline-size: 0; }
.s-name { max-inline-size: 100%; }
.s-hero-frame { overflow: hidden; }
/* The words lead in the markup, the picture beside them or under them on
   a phone; a look that shows the photos first orders its frame up. */
.s-hero-picture { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.s-hero-logo { --s-logo-h: 5rem; }
/* A light logo on a dark palette, with no dark one given (#135): a soft
   light plate under it, so it reads as drawn: the dark palette's ink, its
   lightest colour, eased toward its ground. The plate hugs the logo's own
   shape, padded evenly round it, and fills the logo's place exactly: the
   page lies as with no plate, and nothing under or beside it touches it
   (#406). The home in words keeps clear of its edge. */
.s-logo--plate {
  --s-plate-pad: calc(var(--s-logo-h, 3.5rem) * .1);
  box-sizing: border-box; padding: var(--s-plate-pad); border-radius: calc(var(--s-round) / 2);
  background: color-mix(in srgb, var(--v-ink), var(--v-ground) 8%);
}
.s-logo--plate ~ .s-brand-home { margin-block-start: .375rem; }
.s-name { margin: 0; color: var(--v-ink); line-height: 1.05; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* A long name shrinks until it stands in three lines, each word whole
   (sites.js, fitName); past the smallest size, three lines and an
   ellipsis, the whole name still read out. */
.s-name-words { display: block; font-size: calc(var(--s-name-scale, 1) * 1em); }
.s-name--clamped .s-name-words { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: break-word; }
/* The bar's name two lines at most, an ellipsis past them; the whole
   name in its title and read out whole. */
.s-top .s-brand-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-inline-size: 18em; overflow-wrap: anywhere; text-wrap: balance; }
.s-rule { display: block; inline-size: 4rem; block-size: 1px; background: var(--v-accent); }
.s-standfirst { margin: 0; color: var(--s-muted); text-wrap: pretty; }

/* The search sentence: each box is a word of it, in the accent, underlined. */
/* The search takes its column's whole width, never its words', so the
   sentence's size (sites.js) answers the column alone. */
.s-search { margin: 0; align-self: stretch; }
.s-sentence { margin: 0; font: 500 clamp(1.6rem, 4.6vw, 3rem)/1.5 var(--s-display); color: var(--v-ink); text-wrap: balance; }
/* A word and its box never part at a line's end. */
.s-phrase { white-space: nowrap; }
.s-pick {
  min-block-size: 2.75rem; max-inline-size: 100%; padding: 0 .15em; margin-inline: .1em;
  font: inherit; color: var(--v-accent); background: transparent; cursor: pointer;
  border: 0; border-block-end: 2px solid var(--v-accent); border-radius: 0; appearance: none;
}
.s-pick option { font-size: 1rem; color: var(--v-ink); background: var(--v-panel); }
/* With script (sites.js) each box gives way to a press: the word chosen,
   its line only as long as the word, a small chevron after it and a tint
   under the pointer, opening its bubble. */
.s-search { position: relative; }
.s-pick-press {
  display: inline-flex; align-items: baseline; gap: .2em; min-block-size: 2.75rem; padding: 0 .15em; margin-inline: .05em;
  border: 0; border-radius: .2em; background: transparent; color: var(--v-accent); font: inherit; cursor: pointer;
  transition: background-color .2s ease;
}
/* On the tint the word turns to the band's accent, words that read on it
   whatever the palette's accent. */
.s-pick-press[aria-expanded="true"] { background: var(--s-band-1); color: var(--s-band-accent); }
/* Only a real pointer tints a word; a touch leaves none behind. */
@media (hover: hover) {
  .s-pick-press:hover { background: var(--s-band-1); color: var(--s-band-accent); }
}
.s-pick-press:focus-visible { outline-color: var(--v-ink); }
.s-pick-word { padding-block-end: .06em; background: linear-gradient(var(--v-accent), var(--v-accent)) no-repeat center bottom / 100% 2px; }
.s-details-press::after {
  content: ""; align-self: center; inline-size: .22em; block-size: .22em; margin-inline-start: .05em;
  border: solid currentColor; border-width: 0 .06em .06em 0; rotate: 45deg; translate: 0 -.1em;
}
/* An underlined word's chevron (#482's polish) inside its underline, beside
   the word at the line's end as the page reads (left in Hebrew, right in
   English, even by a Hebrew word on an English page), centred on the line
   and sized to the words. */
.s-pick-press:not(.s-details-press) .s-pick-word { display: inline-flex; align-items: center; gap: .2em; }
.s-pick-press:not(.s-details-press) .s-pick-word::after {
  content: ""; flex: none; inline-size: .24em; block-size: .24em;
  border: solid currentColor; border-width: 0 .07em .07em 0; rotate: 45deg; translate: 0 -.08em;
}
.s-pick-press .s-pick-word[dir="rtl"] { flex-direction: row-reverse; }
/* The sentence stands in three lines, what, where and for how much. With
   script none ever breaks: sites.js steps the whole sentence's size down
   until the longest words each line can take fit the column, so a word
   chosen never moves another. */
.s-line:not([hidden]) { display: block; }
/* Its words never widen the column it measures. */
.s-fit { contain: inline-size; }
.s-fit .s-line { white-space: nowrap; }
.s-fit.is-floored .s-line { white-space: normal; }
/* The bubble: the options as chips on a tinted ground, placed by sites.js
   inside the window over the word that opened it, its tail at the
   word, or under the word where the window has no room above. */
.s-bubble {
  /* Placed in the window's own terms, left and top, by sites.js. */
  position: absolute; top: 0; left: 0; z-index: 5;
  display: flex; flex-direction: column; gap: .75rem;
  inline-size: max-content; max-inline-size: min(var(--s-reach, calc(100vw - 2rem)), 30rem); max-block-size: var(--s-room, none); padding: 1rem;
  border-radius: 1.25rem; background: var(--s-band-2); color: var(--v-ink);
  font: 400 1rem/1.3 var(--v-font); text-align: center; white-space: normal;
  transform-origin: var(--s-tail, 50%) 100%; animation: s-pop .22s var(--s-ease) both;
}
.s-bubble::before {
  content: ""; position: absolute; inset-block-end: -.45rem; left: calc(var(--s-tail, 50%) - .5rem);
  inline-size: 1rem; block-size: 1rem; border-radius: .2rem; background: inherit; rotate: 45deg;
}
/* The chips scroll inside the bubble where the window is too short for
   them all (sites.js sets the room); the box, when there is one, stays. */
.s-options {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  min-block-size: 0; margin: -.25rem; padding: .25rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.s-none { color: var(--s-band-muted); }
.s-none:empty { display: none; }
/* An open bubble lies over every part of the page but the preview switch:
   its form, and the plate holding it, rise over the sections after them. */
[data-layout] .s-search.is-open { position: relative; z-index: 15; }
[data-layout] .s-hero-plate.is-open { z-index: 15; }
/* A bubble with a find box keeps one width while its chips come and go:
   its widest, the room it may reach. */
.s-bubble--find { inline-size: min(var(--s-reach, calc(100vw - 2rem)), 30rem); }
/* The browser's own clear press never shows in the box. */
.s-find::-webkit-search-cancel-button { display: none; -webkit-appearance: none; appearance: none; }
.s-find {
  flex: none; inline-size: 100%; min-block-size: 2.75rem; padding: .5rem 1.1rem;
  border: 1px solid var(--s-band-muted); border-radius: 999px; background: var(--v-ground); color: var(--v-ink); font: inherit;
}
.s-find::placeholder { color: var(--v-ink-muted); }
.s-find:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }
.s-bubble[data-side="below"] { transform-origin: var(--s-tail, 50%) 0; }
.s-bubble[data-side="below"]::before { inset-block: -.45rem auto; }
/* The price's bubble: two round handles on one line, the stretch between
   them in the accent, the deal's lowest and highest price under its ends. */
.s-bubble--price { display: grid; justify-content: stretch; gap: .5rem; inline-size: min(100%, 22rem); padding: 1rem 1.25rem 1.25rem; }
.s-bubble--price[hidden] { display: none; }
/* The track takes the presses (sites.js), the handles the keys. */
/* A handle is a finger-sized press (--s-knob), drawn as a dot half its size. */
.s-range { position: relative; display: block; block-size: 2.75rem; --s-knob: 2.75rem; --s-dot: 1.375rem; cursor: pointer; touch-action: pan-y; }
.s-range::before, .s-range-fill { content: ""; position: absolute; inset-block-start: 50%; translate: 0 -50%; border-radius: 2px; }
.s-range::before { inset-inline: calc(var(--s-knob) / 2); block-size: 2px; background: var(--s-band-muted); }
.s-range-fill {
  inset-inline-start: calc(var(--s-knob) / 2 + (100% - var(--s-knob)) * var(--s-from, 0));
  inline-size: calc((100% - var(--s-knob)) * (var(--s-to, 1) - var(--s-from, 0))); block-size: 4px; background: var(--v-accent);
}
.s-range-handle {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0;
  background: transparent; appearance: none; pointer-events: none;
}
.s-range-handle::-webkit-slider-runnable-track { block-size: 100%; background: transparent; }
.s-range-handle::-moz-range-track { background: transparent; }
.s-range-handle::-webkit-slider-thumb {
  inline-size: var(--s-knob); block-size: var(--s-knob); border: calc((var(--s-knob) - var(--s-dot)) / 2) solid transparent; border-radius: 50%;
  background: var(--v-accent) padding-box; appearance: none;
}
.s-range-handle::-moz-range-thumb {
  box-sizing: border-box; inline-size: var(--s-knob); block-size: var(--s-knob); border: calc((var(--s-knob) - var(--s-dot)) / 2) solid transparent; border-radius: 50%;
  background: var(--v-accent) padding-box;
}
.s-range-handle:focus-visible { outline: none; }
/* The ring hugs the dot, 2px clear of it. */
.s-range-handle:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--v-ink); outline-offset: calc((var(--s-dot) - var(--s-knob)) / 2 + 2px); }
.s-range-handle:focus-visible::-moz-range-thumb { outline: 2px solid var(--v-ink); outline-offset: calc((var(--s-dot) - var(--s-knob)) / 2 + 2px); }
.s-range-ends { display: flex; justify-content: space-between; color: var(--s-band-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
/* An amount runs the way its words do, its numbers isolated inside it. */
.s-range-ends > *, .s-range-now { unicode-bidi: plaintext; }
/* The range being chosen, over the handles, as it moves. */
.s-range-now { font: 400 1.375rem/1.3 var(--s-display); font-variant-numeric: tabular-nums; }
.s-range-presses { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-block-start: .25rem; }
.s-apply {
  min-block-size: 2.75rem; padding: .45rem 1.4rem; border: 0; border-radius: 999px;
  background: var(--v-accent); color: var(--v-on-accent); font: 500 1rem/1.3 var(--v-font); cursor: pointer;
}
.s-apply:hover { background: var(--v-accent-soft); }
.s-apply:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-chip-option {
  position: relative; min-block-size: 2.75rem; padding: .45rem 1.1rem;
  border: 1px solid transparent; border-radius: 999px; background: var(--v-ground); color: var(--v-ink);
  font: inherit; cursor: pointer; transition: border-color .2s ease;
}
.s-chip-option:hover { border-color: var(--v-accent); }
.s-chip-option[aria-selected="true"] { background: var(--v-accent); color: var(--v-on-accent); }
.s-chip-option:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
/* The keys walk the chips while focus stays on the list or the box
   (aria-activedescendant); the chip they are on wears the focus ring. */
.s-options:focus-visible { outline: none; }
.s-options:focus-visible .s-chip-option[data-active], .s-find:focus-visible ~ .s-options .s-chip-option[data-active] { outline: 2px solid var(--v-ink); outline-offset: 2px; }
/* It fades out as it closes (sites.js waits for it). */
.s-bubble.is-closing { animation: s-unpop .16s ease both; }
/* On a phone the neighbourhood's bubble is a bottom sheet in the top
   layer (sites.js, popover): the page behind veiled, blurred and locked,
   only its chips scrolling, no tail. */
.s-bubble.is-sheet {
  position: fixed; inset: auto 0 0; margin: 0; inline-size: 100%; max-inline-size: none; max-block-size: 85dvh;
  padding: 1.25rem 1rem max(1.25rem, env(safe-area-inset-bottom)); border: 0; border-radius: 1.25rem 1.25rem 0 0;
  overflow: hidden; transform-origin: 50% 100%; animation: s-sheet-rise .26s var(--s-ease) both;
}
.s-bubble.is-sheet::before { display: none; }
.s-bubble.is-sheet.is-closing { animation: s-sink .2s ease both; }
.s-bubble.is-sheet::backdrop { background: var(--s-veil); backdrop-filter: blur(6px); animation: s-fade .26s ease both; }
.s-bubble.is-sheet.is-closing::backdrop { animation: s-fade .2s ease reverse both; }
.s-bubble.is-sheet .s-options { justify-content: flex-start; }
/* The word's name heads its sheet, so a phone says which list is open;
   beside the word on a computer the word says it. */
.s-bubble-title { display: none; }
.s-bubble.is-sheet .s-bubble-title {
  display: block; flex: none; padding-block-end: .75rem; border-block-end: 1px solid var(--s-band-muted);
  font: 400 1.25rem/1.3 var(--s-display); text-align: start;
}
/* sites.js marks the page while a sheet or the Other pop-up is open. */
.s-locked { overflow: hidden; }
/* The details word (#230): the sentence's end in its face, beside the
   search press on a hero so the first screen keeps its pieces, clear of it
   by the room between the sentence's words; "and" and a small round press
   edged in the accent, filled once a feature is picked. Its top gap is the
   search press's (each look's below), so on one row the two sit level, and
   where the column is too narrow for both the details stand on their own
   row as far from the sentence as from the press. */
.s-search-more:not([hidden]) {
  display: inline-block; margin-block-start: 1.5rem; margin-inline-end: 1rem; vertical-align: middle;
  color: var(--v-ink); font: 500 1.125rem/1.3 var(--s-display); white-space: nowrap;
}
.s-search-more:not([hidden]) + .s-go { vertical-align: middle; }
.s-details-press {
  align-items: center; gap: .35em; min-block-size: 2.75rem; padding: .1em .8em; vertical-align: middle;
  border: 1.5px solid var(--v-accent); border-radius: 999px;
}
/* Held at its widest word (sites.js), the word centred in it. */
.s-details-press .s-pick-word { display: inline-block; padding: 0; background: none; text-align: center; }
/* Over every look's own word colours, the meridian hero's and the duet's. */
.s-search .s-pick-press.s-details-press.is-picked { background: var(--v-accent); color: var(--v-on-accent); }
@media (hover: hover) {
  .s-search .s-pick-press.s-details-press.is-picked:hover { background: var(--v-accent-soft); }
}
.s-search .s-pick-press.s-details-press.is-picked[aria-expanded="true"] { background: var(--v-accent-soft); }
.s-details-press:focus-visible { outline-offset: 2px; }
/* Its bubble: a question, the one rule it keeps, the features as toggles,
   each pressed one filled with a check drawn in before its name. */
.s-bubble--details { inline-size: min(var(--s-reach, calc(100vw - 2rem)), 30rem); padding: 1.25rem; gap: .5rem; }
.s-bubble--details[hidden] { display: none; }
.s-details-title { padding-inline: 2.5rem; font: 400 1.375rem/1.3 var(--s-display); }
.s-details-line { color: var(--s-band-muted); font-size: .9375rem; }
/* Where the window is too short for them all (sites.js sets the room) the
   features scroll; the question and the presses under them stay. */
.s-details-options {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; min-block-size: 0; margin-block: .25rem 0; padding: .25rem;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--s-band-muted) transparent;
}
.s-bubble--details > :not(.s-details-options) { flex: none; }
.s-detail-option {
  display: inline-flex; align-items: center; gap: .45rem; min-block-size: 2.75rem; padding: .45rem 1.1rem;
  border: 1px solid var(--s-band-muted); border-radius: 999px; background: var(--v-ground); color: var(--v-ink);
  font: inherit; cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.s-detail-option::before {
  content: ""; inline-size: 0; block-size: .5rem; margin-inline-end: -.45rem;
  border: solid currentColor; border-width: 0 2px 2px 0; opacity: 0; rotate: 45deg; translate: 0 -.1rem;
  transition: inline-size .2s var(--s-ease), margin .2s var(--s-ease), opacity .2s ease;
}
.s-detail-option:hover { border-color: var(--v-accent); }
.s-detail-option[aria-pressed="true"] { border-color: var(--v-accent); background: var(--v-accent); color: var(--v-on-accent); }
.s-detail-option[aria-pressed="true"]::before { inline-size: .28rem; margin-inline-end: 0; opacity: 1; }
.s-detail-option:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-details-close {
  position: absolute; inset-block-start: .5rem; inset-inline-end: .5rem; display: grid; place-items: center;
  inline-size: 2.75rem; block-size: 2.75rem; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--s-band-muted); cursor: pointer;
}
.s-details-close:hover { color: var(--v-ink); }
.s-details-close:focus-visible { outline-color: var(--v-ink); }
.s-go {
  display: inline-flex; align-items: center; gap: .5rem; min-block-size: 3rem; margin-block-start: 1.5rem; padding: .6rem 1.6rem;
  border: 1px solid var(--v-accent); border-radius: 999px; background: var(--v-accent); color: var(--v-on-accent);
  font: 500 1.0625rem/1 var(--v-font); cursor: pointer;
  transition: background-color .25s ease;
}
.s-go:hover { background: var(--v-accent-soft); }

/* The band (#193): the photos edge to edge under the name and the search,
   no frame, sliding in as the page opens and on slowly from there. Each
   photo is wide enough that the set outruns the window by one, so a
   repeat never shows beside its own; otherwise at most 18rem. A pointer
   or a key resting on it holds it and lifts the photo it rests on. Too
   few to slide, they sit still and centred, three at most. Reduced
   motion and the menu's switch stop it; clipped, so nothing scrolls
   sideways. */
.s-band {
  --s-way: 1; --s-cell: min(37.5rem, max(clamp(11.25rem, 19.5vw, 18rem), calc(100vw / (var(--s-n) - 1))));
  min-inline-size: 0; overflow: clip; padding-block: 1rem 1.5rem;
}
[dir="ltr"][data-layout] .s-band { --s-way: -1; }
.s-band-row { display: flex; gap: .75rem; inline-size: max-content; }
/* Drawn on its own layer and slid by translate itself, so the slide runs
   off the page's main thread and glides; whole-pixel steps jerk (#230).
   It waits for the photos' arrival (.5s + 1.6s), so the page opens on
   its first photo whole at the start edge (#487). */
.s-band--drift .s-band-row { animation: s-reel 128s 2.1s linear infinite; will-change: translate; }
.s-band:hover .s-band-row, .s-band:focus-within .s-band-row { animation-play-state: paused; }
.s-band .s-reel-item {
  block-size: auto; inline-size: var(--s-cell);
  animation: s-band-in 1.6s .5s var(--s-ease) both; transition: translate .45s var(--s-ease), box-shadow .45s var(--s-ease);
}
.s-band .s-reel-item:hover, .s-band .s-reel-item:focus-visible { translate: 0 -.5rem; box-shadow: var(--v-shadow); }
/* Reached by keyboard, the ring and the lift land at once. */
.s-band .s-reel-item:focus-visible { transition: none; }
.s-band--still { padding-inline: var(--s-gutter); }
.s-band--still .s-band-row { display: grid; grid-template-columns: repeat(var(--s-n), minmax(0, 19.5rem)); justify-content: safe center; inline-size: auto; }
.s-band--still .s-reel-item { inline-size: 100%; }
/* Windows (#193): the listings' photos as a facade's windows, two by two,
   each at most 600 px; every window's caption a slim strip along its
   foot, the photo clear above it: its title on one line beside its
   price, and under them the facts that fit whole on one line. With more
   listings than windows, each beat of the facade's clock (s-windows-tick,
   a CSS animation, so reduced motion and the menu's switch stop it) one
   window lights up from its sill on a listing not on screen, the one it
   covers held under it till the light is up (sites.js). Without
   script the first windows hold. A pointer or a key resting on it holds
   it; a key reaching one brings it up. Fewer sit still, each once. */
.s-windows { --s-tiles: 4; --s-cols: 2; display: grid; place-items: center; min-inline-size: 0; padding: clamp(.75rem, 2vw, 1.5rem) var(--s-gutter); }
.s-windows[data-count="1"] { --s-cols: 1; }
.s-windows[data-count="3"] { --s-cols: 3; }
.s-windows-list {
  display: grid; grid-template-columns: repeat(var(--s-cols), minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, .875rem);
  inline-size: min(100%, calc(var(--s-cols) * 37.5rem)); margin: 0; padding: 0; list-style: none;
}
.s-window { display: grid; justify-items: center; min-inline-size: 0; }
.s-window .s-reel-item { block-size: auto; inline-size: 100%; }
/* The slim strip along a photo's foot, the windows' and the band's, laid
   out as every piece's caption (below), a size up. */
.s-windows .s-reel-caption, .s-band .s-reel-caption {
  inset: auto 0 0; padding: .3rem .65rem .35rem; border-radius: 0; border-end-start-radius: inherit; border-end-end-radius: inherit;
}
.s-windows .s-reel-title, .s-band .s-reel-title { font-size: .9375rem; line-height: 1.25; }
/* Every band card alike (#230): its title two lines tall, at most, so
   every caption is as tall and every photo shows the same. */
.s-band .s-reel-caption .s-reel-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-block-size: 2lh; }
.s-windows .s-reel-caption .s-price, .s-band .s-reel-caption .s-price { font-size: .9375rem; line-height: 1.25; }
/* A price note takes the facts' place, so the strip stays short (#220);
   the caption is classed so while its note shows (sites.js). */
.s-windows .s-reel-caption--noted .s-reel-facts, .s-band .s-reel-caption--noted .s-reel-facts { display: none; }
/* A band photo's strip kept short: a shorter photo drops the facts, the
   shortest says its title and price a size down. */
.s-band .s-reel-item { container-type: size; }
@container (height < 15rem) {
  .s-band .s-reel-facts, .s-band .s-reel-caption .s-price-note { display: none; }
  /* The licence keeps its line, never hidden: the strip draws in to hold
     its two lines within a fifth. */
  .s-band .s-reel-caption--licence { padding-block: .15rem .2rem; }
  .s-band .s-reel-caption--licence :is(.s-reel-title, .s-price, .s-licence) { line-height: 1.15; }
}
/* A narrow one, as a narrow window: a size down; with a licence, never
   hidden, the facts and the price note give way. */
@container (width < 14rem) {
  .s-band .s-reel-caption { padding: .15rem .45rem .2rem; }
  .s-band .s-reel-title, .s-band .s-reel-caption .s-price { font-size: .75rem; line-height: 1.2; }
  .s-band .s-reel-caption--licence .s-reel-facts, .s-band .s-reel-caption--licence .s-price-note { display: none; }
}
@container (height < 10rem) {
  .s-band .s-reel-caption { padding: .15rem .45rem .2rem; }
  .s-band .s-reel-title, .s-band .s-reel-caption .s-price { font-size: .75rem; line-height: 1.2; }
}
/* On a phone the band's photos are tall, three quarters of the screen
   wide, sliding faster so the motion shows; each strip one line, its
   title and price a size down, no facts. */
@media (max-width: 40rem) {
  .s-band.s-band { --s-cell: 72vw; }
  .s-band .s-reel-item { aspect-ratio: 4 / 5; }
  .s-band--still .s-band-row { grid-template-columns: repeat(var(--s-n), minmax(0, 72vw)); }
  .s-band--drift .s-band-row { animation-duration: 72s; }
  .s-band .s-reel-facts, .s-band .s-reel-caption .s-licence { display: none; }
  .s-band .s-reel-caption { padding: .2rem .5rem .25rem; }
  .s-band .s-reel-title, .s-band .s-reel-caption .s-price { font-size: .8125rem; line-height: 1.25; }
}
.s-windows--turn .s-windows-list { animation: s-windows-tick 3.6s infinite; }
.s-windows--turn .s-window:nth-child(1) { grid-area: 1 / 1; }
.s-windows--turn .s-window:nth-child(2) { grid-area: 1 / 2; }
.s-windows--turn .s-window:nth-child(3) { grid-area: 2 / 1; }
.s-windows--turn .s-window:nth-child(4) { grid-area: 2 / 2; }
.s-windows--turn .s-window:nth-child(n + 5) { grid-area: 1 / 1; clip-path: inset(100% 0 0 0); }
.s-windows.is-turning .s-window { clip-path: inset(100% 0 0 0); transition: clip-path 0s 1.3s; }
.s-windows.is-turning .s-window.is-up { z-index: 1; clip-path: inset(0); transition: clip-path 1.2s var(--s-ease); }
.s-windows .s-window:focus-within { z-index: 2; clip-path: none !important; }
.s-windows.is-turning .s-window .s-reel-photo { filter: brightness(.4) saturate(.5); transition: scale 1.2s var(--s-ease), filter 1.6s .3s ease; }
.s-windows.is-turning .s-window.is-up .s-reel-photo, .s-windows .s-window:focus-within .s-reel-photo { filter: none; }
/* A narrow window's strip: with a licence, never hidden, the facts and
   the price note give way. */
.s-window { container-type: inline-size; }
@container (max-width: 24rem) {
  .s-windows .s-reel-caption--licence .s-reel-facts, .s-windows .s-reel-caption--licence .s-price-note { display: none; }
}
/* On a phone three still windows are one over two, and a window's
   caption is its title over its price, a size down, no facts. */
@media (max-width: 40rem) {
  .s-windows[data-count="3"] { --s-cols: 2; }
  .s-windows[data-count="3"] .s-window:first-child { grid-column: 1 / -1; }
  .s-window .s-reel-facts, .s-window .s-reel-caption .s-licence { display: none; }
  .s-window .s-reel-caption { padding: .15rem .45rem .2rem; }
  .s-window .s-reel-title { font-size: .75rem; line-height: 1.2; }
  .s-windows .s-reel-caption .s-price { font-size: .75rem; line-height: 1.2; }
}
/* The deck (#193): the cards fanned out toward the end side, each behind
   set a step further over and turned a little more, so each shows a slice
   of its photo, the top one in full; the stack keeps the fan's room
   (--s-fan-room) beside it, inside its own space. At most 17rem wide on a
   phone, 24rem under the words on a computer. Six turn: the top card
   draws away and fades in one motion while the next glides up to the
   front and the rest ease forward one place, each a beat after the one
   in front, and it fades back in at the back; no card ever slides across
   the deck. A soft ease on every move, seven seconds a turn, one keyframe
   set for the round. Only the front card wears its caption, fading in as
   it reaches the front and out as it leaves. A pointer resting on the stack
   holds it; a key or a press reaching a card behind brings it to the top
   (sites.js), and only the front card's press opens its listing. Fewer
   sit still. Reduced motion and the menu's switch leave the stack still,
   the first card on top. */
.s-hero--deck { overflow-x: clip; }
.s-deck {
  --s-end: -1; --s-fan-x: 1.25rem; --s-fan-turn: 2deg; --s-fan-room: 8.75rem;
  display: grid; place-items: center; padding: 1.5rem var(--s-gutter) clamp(1.5rem, 3vw, 2rem);
}
[dir="ltr"][data-layout] .s-deck { --s-end: 1; }
.s-deck-list {
  display: grid; inline-size: min(100% - var(--s-fan-room), 17rem); aspect-ratio: 6 / 7;
  margin: 0; margin-inline-end: var(--s-fan-room); padding: 0; list-style: none;
}
/* Short of a computer the fan's room is only what the fan reaches, a step
   for each card behind and a little for their turn, so the stack and
   its fan stand centred, an even margin either side. */
@media (max-width: 63.99rem) {
  .s-deck { --s-fan-room: calc((var(--s-n) - 1) * var(--s-fan-x) + 1.25rem); }
  .s-deck-list { inline-size: min(100% - var(--s-fan-room) - 2rem, 15rem); }
}
@media (min-width: 64rem) {
  .s-deck { --s-fan-x: 2.5rem; --s-fan-room: 17.5rem; }
  .s-deck-list { inline-size: min(100% - var(--s-fan-room), 24rem); }
}
.s-deck-item {
  grid-area: 1 / 1; z-index: calc(6 - var(--s-i)); transform-origin: 50% 50%;
  translate: calc(var(--s-i) * var(--s-fan-x) * var(--s-end)) 0; rotate: calc(var(--s-i) * var(--s-fan-turn) * var(--s-end));
}
.s-deck--turn .s-deck-item { animation: s-deck 42s calc((var(--s-i) - 6) * 7s - 1.5s) cubic-bezier(.45, .05, .25, 1) infinite; }
.s-deck .s-reel-caption { opacity: 0; transition: opacity .4s ease; }
.s-deck-item:first-child .s-reel-caption { opacity: 1; }
.s-deck--turn .s-reel-caption { animation: s-deck-caption 42s calc((var(--s-i) - 6) * 7s - 1.5s) linear infinite; }
.s-deck:focus-within .s-reel-caption { opacity: 0 !important; }
.s-deck .s-deck-item:focus-within .s-reel-caption { opacity: 1 !important; }
/* Only the front card's link takes a press: a press on a card behind
   lands on the card, which the script brings to the top (sites.js), so no
   way of pressing opens a card the reader can't fully see. The leaving
   card takes none; the card a key or press reached takes its own. */
.s-deck-item { cursor: pointer; }
.s-deck-item:not(:first-child) > a { pointer-events: none; }
.s-deck--turn .s-deck-item > a { animation: s-deck-press 42s calc((var(--s-i) - 6) * 7s - 1.5s) infinite; }
.s-deck:focus-within .s-deck-item > a { pointer-events: none !important; }
.s-deck .s-deck-item:focus-within, .s-deck .s-deck-item:focus-within > a { pointer-events: auto !important; }
.s-deck-list:hover .s-deck-item, .s-deck:focus-within .s-deck-item, .s-deck-list:hover .s-reel-caption, .s-deck:focus-within .s-reel-caption,
.s-deck-list:hover .s-deck-item > a, .s-deck:focus-within .s-deck-item > a { animation-play-state: paused; }
/* A card reached or pressed lifts and glides to the top, the others
   easing back a step, in the turn's own ease: the card keeps its turn's
   place and a transform undoes it, from the place the script read
   (sites.js); without the script, for less motion, it swaps at once.
   Each card its own layer, so the turn never stutters. */
.s-deck-item {
  will-change: translate, rotate, opacity, transform;
  transition: transform .75s cubic-bezier(.45, .05, .25, 1);
}
.s-deck-item:focus-within { z-index: 9 !important; opacity: 1 !important; }
.s-js .s-deck-item:focus-within { transform: rotate(calc(-1 * var(--s-back-r, 0deg))) translateX(calc(-1 * var(--s-back-x, 0px))) scale(1.02); }
[data-layout]:not(.s-js) .s-deck-item:focus-within { translate: none !important; rotate: none !important; }
.s-deck.is-reached .s-deck-item:not(:focus-within) { transform: translateX(calc(var(--s-end) * var(--s-fan-x))); }
.s-deck .s-reel-item { inline-size: 100%; block-size: 100%; aspect-ratio: auto; max-inline-size: none; box-shadow: var(--v-shadow); }
/* The neighbourhood index (#193): the office's places in the display
   type, one under the other between fine rules, each with its count; one
   is lit, in ink and underlined, the rest quiet, and the lit one's photo
   shows beside the list (over it on a phone), the last fading softly
   into it, the shown one zooming slowly in and back. Each beat of the index's clock
   (s-index-tick, a CSS animation, so reduced motion and the menu's
   switch stop it) the light moves down one, round to the first
   (sites.js). A pointer or a key on a name lights it and holds the
   index. An office in one place gets the band instead. */
.s-index { display: grid; place-items: center; min-inline-size: 0; padding: clamp(1.25rem, 3vw, 2.5rem) var(--s-gutter); }
.s-index-list {
  --s-shot: clamp(10rem, 44cqi, 22rem); position: relative; display: grid; align-content: center; inline-size: min(100%, 50rem); min-block-size: calc(var(--s-shot) * 1.25);
  margin: 0; padding: 0; padding-inline-end: calc(var(--s-shot) + clamp(1.5rem, 3vw, 2.5rem)); list-style: none;
}
.s-index-name {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 1rem;
  padding-block: clamp(.5rem, 1vw, .8rem); border-block-end: 1px solid var(--v-line);
  color: var(--s-muted); text-align: start; text-decoration: none; transition: color .5s ease;
}
.s-index-row:first-child .s-index-name { border-block-start: 1px solid var(--v-line); }
.s-index-name:focus-visible { outline-offset: 2px; }
.s-index-place {
  padding-block-end: .1em; background: linear-gradient(var(--v-accent), var(--v-accent)) no-repeat 100% 100% / 0 2px;
  font: 400 clamp(1.25rem, 4.5cqi, 2.125rem)/1.2 var(--s-display); transition: background-size .6s var(--s-ease);
}
[dir="ltr"][data-layout] .s-index-place { background-position-x: 0; }
.s-index-count { font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-index-row.is-lit .s-index-name, .s-index-row:hover .s-index-name, .s-index-row:focus-within .s-index-name { color: var(--v-ink); }
.s-index-row.is-lit .s-index-place, .s-index-row:hover .s-index-place, .s-index-row:focus-within .s-index-place { background-size: 100% 2px; }
.s-index-list:hover .s-index-row.is-lit:not(:hover):not(:focus-within) .s-index-name, .s-index-list:focus-within .s-index-row.is-lit:not(:hover):not(:focus-within) .s-index-name { color: var(--s-muted); }
.s-index-list:hover .s-index-row.is-lit:not(:hover):not(:focus-within) .s-index-place, .s-index-list:focus-within .s-index-row.is-lit:not(:hover):not(:focus-within) .s-index-place { background-size: 0 2px; }
.s-index-photo {
  position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: var(--s-shot); block-size: min(100%, calc(var(--s-shot) / .75)); margin-block: auto; overflow: hidden;
  border-radius: var(--s-round); background: var(--v-raised); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s;
}
.s-index-photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.s-index-row.is-lit .s-index-photo { z-index: 1; opacity: 1; visibility: visible; transition: opacity .6s ease; }
.s-index-row:hover .s-index-photo, .s-index-row:focus-within .s-index-photo { z-index: 2; opacity: 1; visibility: visible; transition: opacity .6s ease; }
.s-index-row.is-lit .s-index-photo img, .s-index-row:hover .s-index-photo img, .s-index-row:focus-within .s-index-photo img { animation: s-index-drift 16s ease-in-out infinite alternate; }
.s-index-list { animation: s-index-tick 4s infinite; }
/* Where the index is narrow, a phone or a look's narrow side, the photo
   stands over the list, the width of it. */
.s-index { container-type: inline-size; }
@container (max-width: 28rem) {
  .s-index-list { min-block-size: 0; padding-inline-end: 0; padding-block-start: calc(62.5% + 1.25rem); }
  .s-index-photo { inset-block: 0 auto; inset-inline: 0; inline-size: auto; block-size: auto; margin-block: 0; aspect-ratio: 8 / 5; }
}
/* The prints on the table (#193): each photo a print in a thin border,
   lying slightly turned on the table, the table the piece's own box; a
   print's place is a fraction of the table's free room (--s-x, --s-y),
   less a little for its turn, so none ever leaves it. Each count lays
   its prints out its own way, one filling the table, six in two loose
   rows; they lie still. A pointer or a key reaching a print straightens
   it and brings it forward with its caption. */
.s-hero--scatter { overflow-x: clip; }
.s-scatter { display: grid; place-items: center; padding: .75rem var(--s-gutter) clamp(1rem, 3vw, 2rem); }
.s-scatter-list {
  --s-w: min(clamp(44cqi, 62cqb, 60cqi), 72cqb); position: relative; container-type: size;
  inline-size: min(100%, 40rem); aspect-ratio: 4 / 3; margin: 0; padding: 0; list-style: none;
}
/* One print fills its table, barely turned. */
.s-scatter[data-count="1"] .s-scatter-list { --s-r0: -1deg; }
.s-scatter[data-count="1"] .s-scatter-item { inset: 3cqb 3cqi; inline-size: auto; translate: none; }
.s-scatter[data-count="1"] .s-reel-item { block-size: 100%; aspect-ratio: auto; }
.s-scatter[data-count="2"] .s-scatter-list { --s-w: min(60cqi, 100cqb); --s-x0: 0; --s-y0: .1; --s-r0: -3deg; --s-x1: 1; --s-y1: .9; --s-r1: 2.5deg; }
.s-scatter[data-count="3"] .s-scatter-list {
  --s-w: min(52cqi, 90cqb);
  --s-x0: 0; --s-y0: .05; --s-r0: -3.5deg; --s-x1: 1; --s-y1: .15; --s-r1: 3deg; --s-x2: .5; --s-y2: .95; --s-r2: -1.5deg;
}
.s-scatter[data-count="4"] .s-scatter-list {
  --s-w: min(50cqi, 66cqb);
  --s-x0: 0; --s-y0: 0; --s-r0: -3deg; --s-x1: 1; --s-y1: .05; --s-r1: 2.5deg;
  --s-x2: .03; --s-y2: 1; --s-r2: 2deg; --s-x3: .97; --s-y3: .95; --s-r3: -3.5deg;
}
.s-scatter[data-count="5"] .s-scatter-list {
  --s-x0: 0; --s-y0: .02; --s-r0: -4deg; --s-x1: .5; --s-y1: 0; --s-r1: 2.5deg; --s-x2: 1; --s-y2: .04; --s-r2: -3deg;
  --s-x3: .2; --s-y3: 1; --s-r3: 3.5deg; --s-x4: .8; --s-y4: .96; --s-r4: -2deg;
}
/* Six: the bottom row lying over the top one. */
.s-scatter[data-count="6"] .s-scatter-list {
  --s-x0: 0; --s-y0: .02; --s-r0: -4deg; --s-z0: 1; --s-x1: 1; --s-y1: .98; --s-r1: 3deg; --s-z1: 5;
  --s-x2: .5; --s-y2: 0; --s-r2: 2.5deg; --s-z2: 2; --s-x3: .02; --s-y3: 1; --s-r3: 3.5deg; --s-z3: 4;
  --s-x4: .98; --s-y4: .04; --s-r4: -3deg; --s-z4: 3; --s-x5: .52; --s-y5: .96; --s-r5: -2deg; --s-z5: 6;
}
/* A table taller than wide (a narrow side) lays its prints in rows of
   two, three rows at most, overlapping across the middle and set a little
   off line, so none shrinks and no gap opens between rows. */
@container (aspect-ratio < .95) {
  .s-scatter[data-count="3"] .s-scatter-item { --s-w: min(72cqi, 50cqb); --s-x0: 0; --s-y0: 0; --s-x1: 1; --s-y1: .5; --s-x2: .08; --s-y2: 1; }
  .s-scatter[data-count="4"] .s-scatter-item { --s-w: min(66cqi, 60cqb); }
  .s-scatter[data-count="5"] .s-scatter-item {
    --s-w: min(72cqi, 46cqb); --s-x0: 0; --s-y0: 0; --s-x1: 1; --s-y1: .05; --s-x2: .5; --s-y2: .5; --s-x3: .04; --s-y3: 1; --s-x4: .96; --s-y4: .95;
  }
  .s-scatter[data-count="6"] .s-scatter-item {
    --s-w: min(72cqi, 46cqb); --s-x0: 0; --s-y0: 0; --s-z0: 1; --s-x1: .92; --s-y1: .5; --s-z1: 4; --s-x2: .06; --s-y2: 1; --s-z2: 5;
    --s-x3: 1; --s-y3: .02; --s-z3: 2; --s-x4: .04; --s-y4: .48; --s-z4: 3; --s-x5: .96; --s-y5: .98; --s-z5: 6;
  }
}
.s-scatter-item:nth-child(1) { --s-x: var(--s-x0); --s-y: var(--s-y0); --s-r: var(--s-r0); --s-z: var(--s-z0, 6); }
.s-scatter-item:nth-child(2) { --s-x: var(--s-x1); --s-y: var(--s-y1); --s-r: var(--s-r1); --s-z: var(--s-z1, 5); }
.s-scatter-item:nth-child(3) { --s-x: var(--s-x2); --s-y: var(--s-y2); --s-r: var(--s-r2); --s-z: var(--s-z2, 4); }
.s-scatter-item:nth-child(4) { --s-x: var(--s-x3); --s-y: var(--s-y3); --s-r: var(--s-r3); --s-z: var(--s-z3, 3); }
.s-scatter-item:nth-child(5) { --s-x: var(--s-x4); --s-y: var(--s-y4); --s-r: var(--s-r4); --s-z: var(--s-z4, 2); }
.s-scatter-item:nth-child(6) { --s-x: var(--s-x5); --s-y: var(--s-y5); --s-r: var(--s-r5); --s-z: var(--s-z5, 1); }
.s-scatter-item {
  position: absolute; inset: 0 auto auto 0; z-index: var(--s-z); inline-size: var(--s-w);
  translate: calc((100cqi - var(--s-w)) * var(--s-x)) calc((100cqb - var(--s-w) * .8) * var(--s-y)); rotate: var(--s-r);
  transition: rotate .45s var(--s-ease), scale .45s var(--s-ease);
}
.s-scatter-item:hover, .s-scatter-item:focus-within { z-index: 7 !important; rotate: 0deg !important; scale: 1.06; }
.s-scatter .s-reel-item {
  inline-size: 100%; max-inline-size: none; padding: .375rem; border-radius: .25rem;
  background: var(--v-raised); box-shadow: var(--v-shadow);
}
.s-scatter .s-reel-photo { border-radius: .125rem; }
.s-scatter .s-reel-caption { opacity: 0; transition: opacity .3s var(--s-ease); }
.s-scatter-item:hover .s-reel-caption, .s-scatter-item:focus-within .s-reel-caption, .s-scatter[data-count="1"] .s-reel-caption { opacity: 1; }
/* Every piece's caption (Adam's hand test), small: the title whole, then
   the facts, the price and the licence after them while they fit, else
   wrapping whole, then the note on a line of its own; every line from the language's start edge, nothing cut,
   nothing over another. Each piece keeps its own padding and sizes. */
.s-deck .s-reel-caption, .s-scatter .s-reel-caption, .s-band .s-reel-caption, .s-windows .s-reel-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; font-size: .75rem; text-align: start; }
.s-deck .s-reel-title, .s-scatter .s-reel-title, .s-band .s-reel-title, .s-windows .s-reel-title { flex: 1 0 100%; overflow: visible; white-space: normal; text-overflow: clip; }
.s-deck .s-reel-facts, .s-scatter .s-reel-facts, .s-band .s-reel-facts, .s-windows .s-reel-facts { order: 1; flex-wrap: wrap; gap: 0 .6rem; overflow: visible; block-size: auto; }
.s-deck .s-reel-caption .s-price, .s-scatter .s-reel-caption .s-price, .s-band .s-reel-caption .s-price, .s-windows .s-reel-caption .s-price { order: 2; margin: 0; color: var(--v-ink); font-family: var(--s-display); font-weight: 400; white-space: nowrap; }
.s-deck .s-reel-caption .s-licence, .s-scatter .s-reel-caption .s-licence, .s-band .s-reel-caption .s-licence, .s-windows .s-reel-caption .s-licence { order: 2; }
.s-deck .s-reel-caption .s-price-note, .s-scatter .s-reel-caption .s-price-note, .s-band .s-reel-caption .s-price-note, .s-windows .s-reel-caption .s-price-note { order: 3; flex-basis: 100%; }
.s-deck .s-reel-caption, .s-scatter .s-reel-caption { padding: .4rem .6rem .45rem; }
.s-deck .s-reel-title, .s-scatter .s-reel-title { font-size: .875rem; }
.s-deck .s-reel-caption .s-price, .s-scatter .s-reel-caption .s-price { font-size: .875rem; line-height: 1.3; }
/* The living sentence (#193): round after round its words fade out and
   back in, saying the next listing as they return (sites.js, on each
   round); a pointer resting on it keeps them shown, a touch holds it. */
@property --s-turn { syntax: "<number>"; inherits: true; initial-value: 1; }
.s-search[data-living] .s-sentence { animation: s-turn 4.5s -.6s ease-in-out infinite; }
.s-search[data-living].is-held .s-sentence { animation: none; }
.s-search[data-living] .s-pick-word { opacity: var(--s-turn); }
.s-search[data-living]:hover .s-pick-word { opacity: 1; }
@media (max-width: 40rem) {
  .s-band--still[data-count="3"] .s-band-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-band--still[data-count="3"] .s-reel-item:first-child { grid-column: 1 / -1; }
}
/* A piece's listing photo: at most 600 px wide, its caption on a plate at
   its foot, the whole photo its listing's link. */
.s-reel-item {
  position: relative; display: block; flex: none; overflow: hidden; aspect-ratio: 4 / 3; max-inline-size: 37.5rem;
  border-radius: var(--s-round); background: var(--v-raised); color: var(--v-ink); text-decoration: none;
}
.s-reel-item:focus-visible { outline: 2px solid var(--v-ink); outline-offset: -4px; }
/* A sold or rented one, as its card: the veil over the photo, the seal
   on it, the caption over both. */
.s-reel-item.is-closed::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--s-veil); }
.s-reel-item > .s-seal { position: absolute; inset: 0 0 35%; z-index: 2; margin: auto; inline-size: fit-content; block-size: fit-content; font-size: 1.125rem; }
.s-reel-item .s-reel-caption { z-index: 2; }
.s-reel-photo { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.2s var(--s-ease); }
.s-reel-item:hover .s-reel-photo { scale: 1.03; }
/* The plate is plain paint, no blur behind it: a blur draws the strip
   apart from its photo, and on a moving piece its edges dance. */
.s-reel-caption {
  position: absolute; inset: auto .5rem .5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .75rem;
  padding: .55rem .8rem .6rem; border-radius: max(.25rem, calc(var(--s-round) - .375rem));
  background: var(--s-plate); font-size: .8125rem; line-height: 1.35;
}
.s-reel-title { grid-column: 1 / -1; overflow: hidden; font: 400 1rem/1.3 var(--s-display); white-space: nowrap; text-overflow: ellipsis; }
.s-reel-facts { grid-area: 2 / 1; align-self: center; display: flex; gap: .75rem; overflow: hidden; white-space: nowrap; }
/* A caption's price note: the last line, the whole width, under the price's end. */
.s-reel-caption .s-price-note { grid-row: 3; grid-column: 1 / -1; justify-self: end; margin: 0; color: inherit; font-size: .75rem; line-height: 1.25; }
/* The realtor's licence (#200): small under the price, on the next free line, in the caption's ink. */
.s-reel-caption .s-licence { grid-column: 1 / -1; justify-self: end; margin: 0; color: inherit; font-size: .75rem; line-height: 1.25; white-space: nowrap; }
/* Short of a computer a piece's photos are pictures alone: no caption on
   any, though a screen reader still hears it as the photo's name. The
   band's and the windows' photos stay their listings' links; the deck and
   the prints take no press, and the script takes them out of the
   keyboard's and a screen reader's way (sites.js), the listings below
   carrying the same. The index keeps its names. */
@media (max-width: 63.99rem) {
  .s-hero-frame .s-reel-caption {
    position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; background: none;
  }
  .s-deck, .s-scatter { pointer-events: none; }
}

/* Each section is a band: the wide column inside, the ground edge to
   edge. A section is drawn only when it has something to hold. */
.s-listings, .s-team, .s-about { padding: var(--s-space) var(--s-bleed) 0; }
/* The neighbourhoods a short band on the page's ground: as much room
   under the chips as over them. */
.s-chips { padding: clamp(2.5rem, 5vw, 3.5rem) var(--s-bleed); }
.s-chips + .s-listings { padding-block-start: 0; }
.s-main > :last-child { padding-block-end: var(--s-space); }
/* The team keeps a section's air under its tallest card, as over its head
   (#231), so its last line never meets the next band's ground; the about
   after it then takes none of its own on top, so the gap stays one. */
.s-main > .s-team { padding-block-end: var(--s-space); }
.s-main > .s-team + .s-about { margin-block-start: 0; }
/* A head and the accent hairline under it, drawn as the head arrives. */
.s-section-title {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem); color: var(--v-ink);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: .015em; text-wrap: balance;
}
.s-section-title::after {
  content: ""; display: block; inline-size: 3rem; block-size: 1px; margin-block-start: 1.25rem;
  background: var(--v-accent); transform-origin: 100% 50%;
}
[dir="ltr"][data-layout] .s-section-title::after { transform-origin: 0 50%; }

.s-chips-title { margin: 0 0 1rem; color: var(--s-muted); font: 500 1rem/1.4 var(--v-font); }
.s-chips ul { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.s-chip {
  display: inline-flex; align-items: center; gap: .5rem; min-block-size: 2.75rem; padding: .4rem 1.1rem;
  border: 1px solid var(--v-line); border-radius: 999px; color: var(--v-ink); text-decoration: none;
  transition: border-color .25s ease;
}
.s-chip:hover { border-color: var(--v-accent); }
.s-chip-count { color: var(--s-muted); font-size: .875rem; }
/* The Other chip (own-dropdown): a chip's own look, dashed, opening the
   pop-up that searches the rest (sites.js). */
.s-chip--more { border-style: dashed; }
.s-chip--more:focus-visible { outline-color: var(--v-ink); }
/* The Other pop-up: a native dialog over a blurred, locked page, centred
   on a wide screen and a bottom sheet on a phone; it never scrolls, only
   its list of places does. It fades in and out. */
.s-other {
  display: flex; flex-direction: column; gap: .75rem;
  inline-size: min(calc(100vw - 2rem), 30rem); max-block-size: min(36rem, 80dvh); padding: 1.25rem;
  border: 0; border-radius: 1.25rem; background: var(--s-band-2); color: var(--v-ink); font: 400 1rem/1.3 var(--v-font);
  --s-muted: var(--s-band-muted);
  opacity: 0; translate: 0 .75rem;
  transition: opacity .22s ease, translate .22s var(--s-ease), overlay .22s allow-discrete, display .22s allow-discrete;
}
.s-other:not([open]) { display: none; }
.s-other[open] { opacity: 1; translate: 0 0; }
@starting-style { .s-other[open] { opacity: 0; translate: 0 .75rem; } }
.s-other::backdrop {
  background: var(--s-veil); backdrop-filter: blur(6px); opacity: 0;
  transition: opacity .22s ease, overlay .22s allow-discrete, display .22s allow-discrete;
}
.s-other[open]::backdrop { opacity: 1; }
@starting-style { .s-other[open]::backdrop { opacity: 0; } }
/* The stop-motion switch stops its fade as less motion does. */
[data-layout] .y-accessibility-stop-flickering .s-other, [data-layout] .y-accessibility-stop-flickering .s-other::backdrop { transition: none; }
.s-other-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.s-other-title { margin: 0; font: 500 1.25rem/1.3 var(--s-display); }
.s-other-close {
  display: grid; place-items: center; flex: none; inline-size: 2.75rem; block-size: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--v-ink); cursor: pointer;
}
.s-other-close svg { inline-size: 1.25rem; block-size: 1.25rem; }
.s-other-close:hover { background: var(--s-band-1); }
.s-other-close:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }
.s-other-list {
  display: flex; flex-wrap: wrap; align-content: start; gap: .5rem; min-block-size: 0; margin: -.25rem; padding: .25rem;
  list-style: none; overflow-y: auto; overscroll-behavior: contain;
}
.s-other-list .s-chip { background: var(--v-ground); border-color: transparent; }
.s-other-list .s-chip:hover { border-color: var(--v-accent); }
.s-other-list .s-chip:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }
@media (max-width: 40rem) {
  .s-other {
    inset: auto 0 0; inline-size: 100%; max-inline-size: none; max-block-size: 85dvh; margin: 0;
    border-end-start-radius: 0; border-end-end-radius: 0; padding-block-end: max(1.25rem, env(safe-area-inset-bottom));
    translate: 0 2rem;
  }
  @starting-style { .s-other[open] { translate: 0 2rem; } }
}

/* The cards: the photo on top, nothing printed on it but a seal, the
   whole card the link's press. Three a row at most, and a photo never
   wider than a phone's 600 px picture holds sharp. */
.s-grid {
  display: grid; gap: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem); margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.s-card { position: relative; }
.s-card-box { display: flex; flex-direction: column; block-size: 100%; }
/* The photo is a layer of its own: its veil and seal stay under the
   link's stretched box, so a press on a seal opens the listing too. */
.s-card-photo {
  position: relative; isolation: isolate; display: grid; overflow: hidden; aspect-ratio: 4 / 3; max-inline-size: 37.5rem; container-type: inline-size;
  border-radius: var(--s-round); background: var(--v-raised);
}
.s-card-photo > * { grid-area: 1 / 1; }
.s-card-photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.2s var(--s-ease); }
.s-card:hover .s-card-photo img { scale: 1.03; }
/* A photo that failed to load (sites.js) leaves the box's ground. */
.s-card-photo img[hidden], .s-reel-photo[hidden] { display: none; }
/* The words are not positioned: the link's stretched box is laid out
   against the card, so it covers the photo too. */
.s-card-body { display: flex; flex-direction: column; gap: .4rem; padding-block: 1.25rem .25rem; }
.s-deal { margin: 0; color: var(--s-accent); font-size: .875rem; font-weight: 500; letter-spacing: .02em; }
.s-card-title { margin: 0; font-size: 1.375rem; line-height: 1.3; }
.s-card-link {
  color: var(--v-ink); text-decoration: none;
  background: linear-gradient(var(--v-accent), var(--v-accent)) no-repeat right bottom / 0 1px;
  transition: background-size .45s var(--s-ease);
}
[dir="ltr"][data-layout] .s-card-link { background-position: left bottom; }
.s-card:hover .s-card-link { background-size: 100% 1px; }
.s-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* The ring goes round the whole card, the press it stands for, drawn on
   the link's stretched box so every browser shows it. */
.s-card-link:focus-visible, .s-person-link:focus-visible { outline: none; }
.s-card-link:focus-visible::after, .s-person-link:focus-visible::after { outline: 2px solid var(--v-ink); outline-offset: 4px; }
/* The card's read-more cue at its foot: a press's look, filled in the
   accent, deeper as the card is hovered; the card is the link it stands for. */
.s-card-box > .s-card-body { flex-grow: 1; }
.s-more-foot { display: flex; margin-block-start: auto; padding-block-start: .6rem; }
/* A sold or rented card shows no price: its press sits right under what it shows (#220). */
.s-card.is-closed .s-more-foot { margin-block-start: 0; }
.s-more {
  display: inline-flex; align-items: center; min-block-size: 2.75rem; padding: .5rem 1.25rem;
  border-radius: 999px; background: var(--v-accent); color: var(--v-on-accent); font: 500 1rem/1.2 var(--v-font);
  transition: background-color .25s ease;
}
.s-card:hover .s-more { background: var(--v-accent-soft); }
.s-facts { display: flex; flex-wrap: wrap; gap: .15rem 1rem; margin: 0; padding: 0; list-style: none; color: var(--s-muted); font-size: .9375rem; }
.s-price { margin: .35rem 0 0; color: var(--v-ink); font: 400 1.375rem/1.2 var(--s-display); font-variant-numeric: tabular-nums; }
/* The realtor's licence: small and quiet, in the words' face. */
.s-licence { margin: .35rem 0 0; color: var(--s-muted); font: 400 .875rem/1.4 var(--v-font); }
/* The display faces draw the shekel sign oddly, or not at all: it stays in Heebo. */
.s-currency { font-family: var(--v-font); font-weight: 500; }
/* The realtor's note on the price (#220), small and muted under it, one
   line: its cap (ListingPriceNote::MOST) is what fits the narrowest spot. */
.s-price-note { margin: .1rem 0 0; color: var(--s-muted); font: 400 .8125rem/1.35 var(--v-font); white-space: nowrap; }

/* The home lists eight at most, picks and rows among them. The rest wait on
   the listings page, an outlined pill under the list leading there, a shade
   toward the ink hovered, room under it inside its section. */
.s-all { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-block-end: 3rem; text-align: center; }
.s-all-link {
  display: inline-flex; align-items: center; gap: .5rem; min-block-size: 2.75rem; padding: .5rem 1.4rem;
  border: 1px solid var(--s-accent); border-radius: 999px; color: var(--s-accent); text-decoration: none; font-weight: 500;
  transition: border-color .25s ease, color .25s ease;
}
.s-all-link:hover { border-color: var(--v-ink); color: var(--v-ink); }
.s-all-link:focus-visible { outline-color: var(--v-ink); }
/* The about's team past twenty (#295): how many are shown of how many, quiet,
   its digits steady as it counts up, the press to ten more under it. */
.s-team-foot { padding-block-end: 3rem; text-align: center; }
.s-team-count { margin: clamp(2rem, 4vw, 3rem) 0 0; color: var(--s-muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.s-team-foot .s-all { margin-block-start: 1rem; padding-block-end: 0; }
.s-team-more:focus-visible { outline-offset: 3px; }

/* The featured section (#217): the starred, three at most, one under the
   next below the hero. Each a showcase: a large photo, never wider than a
   phone's 600 px picture holds sharp, the photo first and its words on a
   plate of a band's ground just under it, reaching up over its foot a
   little; the whole card its link. Each look sets its own plate below. */
.s-featured { padding: var(--s-space) var(--s-bleed) 0; }
.s-showcase { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.s-show { position: relative; min-inline-size: 0; max-inline-size: 37.5rem; }
.s-show-box { display: grid; overflow: hidden; border-radius: var(--s-round); background: var(--v-raised); container-type: inline-size; }
.s-show-box > * { grid-area: 1 / 1; min-inline-size: 0; }
.s-show-box > .s-show-plate { grid-area: 2 / 1; }
.s-showcase .s-show-box > .s-show-plate { margin-block-start: -1.5rem; }
.s-show-photo { aspect-ratio: 4 / 3; }
.s-show-photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.2s var(--s-ease); }
.s-show-photo img[hidden] { display: none; }
.s-show:hover .s-show-photo img { scale: 1.04; }
.s-show-plate {
  align-self: end; z-index: 1; display: grid; justify-items: start; gap: .2rem; margin: .625rem; padding: 1rem 1.15rem 1.1rem;
  border-radius: max(.375rem, calc(var(--s-round) - .375rem));
  background: var(--s-band-1); color: var(--v-ink); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
.s-show-plate p { margin: 0; }
.s-show-title { margin: .1rem 0 0; font-size: clamp(1.125rem, 6.5cqi, 1.625rem); line-height: 1.25; text-wrap: balance; }
.s-show-link { color: var(--v-ink); text-decoration: none; }
/* The link's press is the whole card, its ring round it. */
.s-show-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--s-round); }
.s-show-link:focus-visible { outline: none; }
.s-show-link:focus-visible::after { outline: 2px solid var(--v-ink); outline-offset: 4px; }
.s-show-place { color: var(--s-muted); font-size: .9375rem; }
.s-show-plate .s-price { margin-block-start: .35rem; font-size: clamp(1.25rem, 6cqi, 1.625rem); }
.s-show-plate .s-licence { margin-block-start: .2rem; font-size: .8125rem; }
/* On a computer each is a spread: the photo at its sharpest width, the
   plate beside it reaching back over its edge by a set 4rem only, centred
   on its height; the spreads alternate sides down the page. */
@media (min-width: 64rem) {
  .s-showcase { gap: clamp(2.5rem, 5vw, 4.5rem); }
  .s-show { max-inline-size: 64rem; }
  .s-show:nth-child(even) { margin-inline-start: auto; }
  .s-show-box { grid-template-columns: minmax(0, 33.5rem) 4rem minmax(18rem, 1fr); overflow: visible; background: none; }
  .s-show:nth-child(even) .s-show-box { grid-template-columns: minmax(18rem, 1fr) 4rem minmax(0, 33.5rem); }
  .s-show-photo { overflow: hidden; border-radius: var(--s-round); background: var(--v-raised); }
  .s-show-box > .s-show-photo { grid-area: 1 / 1 / 2 / 3; }
  .s-show:nth-child(even) .s-show-box > .s-show-photo { grid-area: 1 / 2 / 2 / 4; }
  .s-showcase .s-show-box > .s-show-plate { grid-area: 1 / 2 / 2 / 4; align-self: center; margin: 0; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
  .s-showcase .s-show:nth-child(even) .s-show-box > .s-show-plate { grid-area: 1 / 1 / 2 / 3; }
}
/* As each card arrives its photo settles from a little closer in. */
.s-js .s-show[data-reveal] .s-show-photo img { scale: 1.08; transition: scale 1.6s var(--s-ease); transition-delay: calc(var(--s-i, 0) * 90ms); }
.s-js .s-show.is-shown .s-show-photo img { scale: 1; transition-delay: 0s; }
.s-js .s-show.is-shown:hover .s-show-photo img { scale: 1.04; }

/* A starred listing's mark on its photo in a moving piece (#217): a small
   accent pill at the top start corner, over the photo, under nothing. */
.s-featured-mark {
  position: absolute; inset-block-start: .625rem; inset-inline-start: .625rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .7rem .3rem .6rem;
  border-radius: 999px; background: var(--v-accent); color: var(--v-on-accent);
  font: 500 .8125rem/1.2 var(--v-font); white-space: nowrap;
}
.s-featured-mark .v-icon { inline-size: .95em; block-size: .95em; fill: currentColor; stroke: none; }
/* A new project's mark on its card's photo: the look's ground and ink on a
   plate of its own, so it reads on any photo, an accent dot before the
   words; at the top start corner, clear of the seal and the press. */
.s-show-photo { position: relative; }
.s-project-mark {
  position: absolute; inset-block-start: .625rem; inset-inline-start: .625rem; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .6rem;
  border-radius: 999px; background: var(--v-ground); color: var(--v-ink);
  font: 500 .8125rem/1.2 var(--v-font); white-space: nowrap;
}
.s-project-mark::before { content: ""; inline-size: .4rem; block-size: .4rem; border-radius: 50%; background: var(--v-accent); }
/* A small photo (Meridian's row on a phone) takes it smaller, words alone. */
@container (max-width: 10rem) {
  .s-project-mark { inset-block-start: .375rem; inset-inline-start: .375rem; padding: .2rem .45rem; font-size: .6875rem; }
  .s-project-mark::before { display: none; }
}
/* The spread's Details press stands over the card's own link. */
.s-show-more { position: relative; z-index: 3; margin-block-start: 1rem; }

/* The listings page (#139), one in every look, by its tokens alone: the
   head, the search sentence at a reading size, its press and the count
   quiet under it, all centred and one size in every look, only colours
   and faces the look's; each filter a chip whose cross clears it, the
   cards, then the pages as round numbers, the one shown filled. */
/* Across the whole page where a look lays its home out in columns. */
/* It starts under the bar in every look, Atelier's room over its home taken back. */
.s-main .s-list { margin-block-start: calc(-1 * var(--s-atelier-top, 0px)); }
/* Its head kept close, so the first row of cards shows whole on the first
   screen of a computer. */
.s-main .s-list { grid-column: 1 / -1; padding: .75rem var(--s-bleed) var(--s-space); text-align: center; }
.s-main .s-list .s-section-title {
  display: block; margin: 0 0 .5rem;
  font-size: clamp(2rem, 3.4vw, 2.5rem); letter-spacing: .015em; text-align: center;
}
.s-main .s-list .s-section-title::after { inline-size: 3rem; margin: .5rem auto 0; transform-origin: 50% 50%; }
.s-main .s-list .s-search { display: block; max-inline-size: 64rem; margin: 0 auto .75rem; animation: none; }
.s-main .s-list .s-sentence { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 400; line-height: 1.3; }
.s-main .s-list .s-go { margin-block-start: .75rem; }
/* The listings page has the room: the details a row of their own, as far
   from the sentence as from the search press under them. */
.s-main .s-list .s-search-more:not([hidden]) { display: block; margin: .75rem 0 0; }
.s-list-count { margin: 0 0 1.25rem; color: var(--s-muted); }
.s-list .s-grid { text-align: start; }
@media (min-width: 64rem) {
  .s-list .s-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* A computer's width holds the sentence on two lines: what and for
     what, then where and for how much. */
  .s-main .s-list .s-line:not([hidden]) { display: inline; }
  .s-main .s-list .s-line:first-child { display: block; }
}
.s-list-filters {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem); padding: 0; list-style: none;
}
.s-chip--clear svg { inline-size: 1em; block-size: 1em; color: var(--s-muted); }
.s-chip--clear:hover svg { color: var(--v-ink); }
.s-chip--clear:focus-visible, .s-list-clear:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-list-clear { color: var(--s-accent); text-underline-offset: .25em; }
.s-list-none { display: grid; justify-items: center; gap: 1.5rem; padding-block: 1rem 3rem; text-align: center; }
.s-list-none p { margin: 0; font-size: 1.125rem; }
.s-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; list-style: none; }
.s-pager a {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-inline-size: 2.75rem; min-block-size: 2.75rem;
  padding-inline: .75rem; border: 1px solid var(--v-line); border-radius: 999px; color: var(--v-ink); text-decoration: none;
  transition: border-color .25s ease;
}
.s-pager a:hover { border-color: var(--v-accent); }
.s-pager a:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-pager a[aria-current="page"] { border-color: var(--v-accent); background: var(--v-accent); color: var(--v-on-accent); }
.s-pager svg { inline-size: 1em; block-size: 1em; }
/* The gap between page numbers far apart (#139). */
.s-pager-gap { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--s-muted); }
/* The count and the whole list's order (#139) on one row over the cards:
   the count, then three chips, the one shown filled as the page shown is. */
.s-list-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.25rem;
  margin: 0 0 1rem;
}
.s-list-bar .s-list-count { margin: 0; }
.s-list-sort { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.s-list-sort .s-chip:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-list-sort .s-chip[aria-current="true"] { border-color: var(--v-accent); background: var(--v-accent); color: var(--v-on-accent); }

/* ---- The site menu and the office's pages (#142) ---- */

/* The menu stands in the bar before the phone press, each link a press of
   its own: a padded round on the first band, edged in the line, apart from
   the next; hovered it deepens to the second band, and the page shown
   stands on the third, edged in the accent. Each look gives the presses its own hand below. */
.s-top .s-call { margin-inline-start: 0; }
/* On a computer the bar's parts get more air; a phone's and a tablet's keep theirs. */
@media (min-width: 64rem) {
  .s-top { gap: var(--s-bar-gap); }
  .s-top .s-menu-links { gap: calc(var(--s-bar-gap) / 2); }
}
.s-menu-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.s-menu-link {
  display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem; padding: .45rem 1.1rem;
  border: 1px solid var(--v-line); border-radius: 999px; background: var(--s-band-1); color: var(--v-ink); text-decoration: none; font-weight: 500;
  transition: background-color .25s ease, border-color .25s ease;
}
.s-menu-link:hover { background: var(--s-band-2); }
.s-menu-link[aria-current] { border-color: var(--v-accent); background: var(--s-band-3); }
/* A dark ground's bands lie closer to it: each step one band deeper. */
[data-layout][data-theme="dark"] .s-menu-link { background: var(--s-band-2); }
[data-layout][data-theme="dark"] .s-menu-link:hover { background: var(--s-band-3); }
[data-layout][data-theme="dark"] .s-menu-link[aria-current] { background: var(--s-duet-deep); }
.s-menu-link:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
/* Each link leads with its drawing: a thin line the word's size, in the
   look's accent, quiet beside the word; the press's sides close up a
   little to make its room, so the bar keeps one line. */
.s-menu-link { gap: .45em; padding-inline: .95rem; }
.s-menu-link .v-icon { inline-size: 1em; block-size: 1em; stroke-width: 1.4; color: var(--v-accent); }
.s-menu-press {
  display: inline-flex; align-items: center; gap: .5rem; min-block-size: 2.75rem; padding: .5rem 1rem;
  border: 1px solid var(--v-line); border-radius: 999px; background: none; color: var(--v-ink);
  font: 500 1rem/1 var(--v-font); cursor: pointer; transition: border-color .25s ease;
}
.s-menu-press[hidden], .s-office-map-press[hidden] { display: none; }
.s-menu-press:hover, .s-menu-press[aria-expanded="true"] { border-color: var(--v-accent); }
.s-menu-press .v-icon { inline-size: 1.25rem; block-size: 1.25rem; }
/* The language switch: the two languages joined in one quiet capsule
   closing the bar, past the phone press, a step smaller than it, each
   name beside its flag; the one shown stands on the deepest band, the
   other on the first, deepening as it is hovered. */
.s-top-lang { display: flex; align-items: center; }
.s-menu-lang { display: flex; align-items: center; margin-inline-start: .5rem; }
/* The bar's menu's copy, for a phone alone (below). */
.s-menu-lang--sheet { display: none; }
.s-lang { display: inline-flex; border: 1px solid var(--v-line); border-radius: 999px; background: var(--s-band-1); }
.s-lang-link {
  display: inline-flex; align-items: center; gap: .45rem; min-block-size: calc(2.75rem - 2px); padding: 0 .85rem; border-radius: 999px;
  color: var(--v-ink); text-decoration: none; font-size: .875rem; font-weight: 500; transition: background-color .25s ease;
}
.s-lang-link .v-flag { flex: none; inline-size: auto; block-size: .875rem; border-radius: 2px; outline: 1px solid var(--v-line); }
.s-lang-link:hover { background: var(--s-band-2); }
.s-lang-link[aria-current] { background: var(--s-band-3); }
.s-lang-link:focus-visible { outline-color: var(--v-ink); outline-offset: -3px; }
[data-layout][data-theme="dark"] .s-lang { background: var(--s-band-2); }
[data-layout][data-theme="dark"] .s-lang-link:hover { background: var(--s-band-3); }
[data-layout][data-theme="dark"] .s-lang-link[aria-current] { background: var(--s-duet-deep); }
/* Atelier's column holds its own; every other look hides it. */
.s-menu--plate { display: none; }
/* Short of a wide computer (the presses, the switch, the name and the
   phone press need 75rem), or on a wide one whose links would take two
   rows (a long name, a blog), the links fold behind the press (sites.js,
   is-folded), opening as a sheet under the bar that fades in; without
   script they stand in a row under the bar. */
@media (max-width: 74.99rem) {
  .s-top { flex-wrap: wrap; }
  .s-menu[data-menu]:not(.is-folding) { order: 3; flex-basis: 100%; margin: 0; }
}
.s-menu.is-folded .s-menu-links {
  position: absolute; inset-inline: 0; inset-block-start: 100%; flex-direction: column; gap: .5rem;
  padding: .75rem var(--s-bleed) 1.5rem; border-block: 1px solid var(--v-line);
  border-end-start-radius: var(--s-round); border-end-end-radius: var(--s-round);
  background: var(--s-band-1); box-shadow: var(--v-shadow);
  opacity: 0; visibility: hidden; translate: 0 -.5rem;
  transition: opacity .3s ease, translate .3s var(--s-ease), visibility 0s .3s;
}
.s-menu.is-folded.is-open .s-menu-links { opacity: 1; visibility: visible; translate: none; transition: opacity .3s ease, translate .3s var(--s-ease), visibility 0s; }
.s-menu.is-folded .s-menu-link { display: flex; justify-content: flex-start; min-block-size: 3.25rem; padding-inline: 1.25rem; font: 400 1.25rem/1.2 var(--s-display); }
/* The open sheet is a layer of its own over the page: a band off the
   ground, edged, shadowed where the look has one; its links stand on the
   ground itself, so each still reads as a press on the sheet. A dark
   ground's sheet sits a band deeper, as its presses do. */
[data-layout][data-theme="dark"] .s-menu.is-folded .s-menu-links { background: var(--s-band-2); }
[data-layout] .s-menu.is-folded .s-menu-link:not([aria-current]) { background: var(--v-ground); }
[data-layout] .s-menu.is-folded .s-menu-link:not([aria-current]):hover { background: var(--s-band-2); }
[data-layout][data-theme="dark"] .s-menu.is-folded .s-menu-link:not([aria-current]):hover { background: var(--s-band-3); }
/* While the sheet is open (sites.js, is-menu-open) the page under it dims
   behind one flat scrim and stands still; a tap on it closes the sheet.
   The bar rises over the scrim, so its press still reads as the close.
   A light look dims in its ink, a dark one deepens toward its ground; the
   scrollbar's kept gutter, out of the scrim's reach, dims with the root's
   own colour. A sheet taller than the window scrolls inside itself. */
.s-menu.is-folded .s-menu-links { max-block-size: 80dvh; overflow-y: auto; overscroll-behavior: contain; }
[data-layout] { background-color: var(--v-ground); transition: background-color .3s ease; }
[data-layout][data-theme="light"].is-menu-open { background-color: color-mix(in srgb, var(--v-ground), var(--v-ink) 35%); }
[data-layout] body::after {
  content: ""; position: fixed; inset: 0; z-index: 12;
  background: color-mix(in srgb, transparent, var(--v-ink) 35%);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s .3s;
}
[data-layout][data-theme="dark"] body::after { background: color-mix(in srgb, transparent, var(--v-ground) 70%); }
[data-layout].is-menu-open { overflow: hidden; }
[data-layout].is-menu-open body::after { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
[data-layout].is-menu-open .s-top { z-index: 13; }
.s-menu:not(.is-folded) .s-menu-press { display: none; }
/* The open sheet keeps one column; a sheet taller than its room scrolls, never wraps a second column off the edge. */
.s-menu.is-folded .s-menu-links { flex-wrap: nowrap; }
/* On a wide computer the folded links open under the press, a column of
   its own, never a sheet across the window. */
@media (min-width: 75rem) {
  .s-menu.is-folded { position: relative; }
  .s-menu.is-folded .s-menu-links {
    inset-inline: 0 auto; inline-size: 20rem; margin-block-start: .5rem; padding: .5rem;
    border: 1px solid var(--v-line); border-radius: 1.25rem;
  }
  .s-menu.is-folded .s-menu-link { min-block-size: 2.75rem; font-size: 1.125rem; }
}
/* On a computer the menu's contact page is the way to call; a phone or a
   tablet keeps its tap to call in the bar. */
@media (min-width: 64rem) {
  .s-top .s-call { display: none; }
}
/* Short of a computer (a half-screen window, a tablet, a phone) the
   logo or name, the menu press, the phone press and the switch keep one
   line: the switch is its flags alone, their names kept as their names,
   and a long office name takes two lines. */
@media (max-width: 63.99rem) {
  .s-top.is-folding { flex-wrap: nowrap; }
  .s-top .s-brand { flex: 0 1 auto; min-inline-size: 0; }
  .s-top .s-call { flex: none; white-space: nowrap; }
  .s-top .s-menu, .s-top-lang { flex: none; }
  .s-top-lang .s-lang-name { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .s-top-lang .s-lang-link { justify-content: center; min-inline-size: 2.75rem; padding-inline: .5rem; }
}
/* On a phone the menu press is its drawing alone too; its word stays its
   name. All holds down to a 360px phone. */
@media (max-width: 40rem) {
  .s-top { gap: .375rem; }
  /* A wide logo takes the room the bar leaves it, smaller, never past it
     nor under the menu press; its plate inside that room too (#406). */
  .s-top .s-brand { flex: 1 1 0; }
  .s-top .s-logo { --s-logo-h: 3rem; block-size: auto; max-block-size: var(--s-logo-h); min-inline-size: 0; max-inline-size: 100%; }
  .s-top .s-brand-name { font-size: 1rem; line-height: 1.15; }
  .s-top .s-call { padding-inline: .85rem; }
  .s-menu-press { justify-content: center; inline-size: 2.75rem; padding: 0; }
  .s-menu-press span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The switch leaves the bar for the menu's sheet, after the pages, each
     name beside its flag, a finger's height: its room in the bar the
     logo's (#406). Without script the bar keeps it. It spans the sheet's
     row, never past it, the two names sharing it half and half, so each
     shows whole in any window and in the design screen's example. */
  .s-top.is-folding > .s-top-lang { display: none; }
  .s-menu.is-folding .s-menu-lang--sheet { display: flex; justify-content: center; margin: .5rem 0 0; }
  .s-menu.is-folding .s-menu-lang--sheet .s-lang { display: flex; box-sizing: border-box; inline-size: 100%; min-inline-size: 0; }
  .s-menu.is-folding .s-menu-lang--sheet .s-lang-link { flex: 1 1 0; justify-content: center; min-inline-size: 0; min-block-size: 3rem; padding-inline: .75rem; font-size: 1rem; }
}

/* The about and contact pages: the head large at the start, the hairline
   under it; the words and the details side by side on a computer. They
   start under the bar in every look, as the listings page does. */
.s-main .s-page { grid-column: 1 / -1; margin-block-start: calc(-1 * var(--s-atelier-top, 0px)); }
.s-page { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 6rem); align-items: start; padding: clamp(2rem, 5vw, 4rem) var(--s-bleed) var(--s-space); }
.s-main .s-page .s-page-title { margin: 0; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; }
/* The about page's story (#142), in bands down the page: the head, its
   opening words large in the display face beside the office's faces (a
   lone realtor's a portrait); then each paragraph beside a listing's
   photo, the photo's side changing band by band; a list on its own band,
   each item under an accent rule, an ordered one counted; the details last.
   A photo eases from a touch near to its place as its band rises in. */
.s-page--about { display: block; }
.s-story-head { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 6rem); align-items: end; }
.s-story-lede { min-inline-size: 0; overflow-wrap: anywhere; }
.s-story-lede > p { max-inline-size: 30ch; margin: 0; color: var(--v-ink); font: 400 clamp(1.375rem, 2.8vw, 2.125rem)/1.5 var(--s-display); text-wrap: pretty; }
.s-story-words { min-inline-size: 0; }
.s-story-words > * { max-inline-size: 46ch; margin: 0 0 1.1em; color: var(--v-ink); font-size: 1.0625rem; line-height: 1.9; }
.s-story-words > :last-child { margin-block-end: 0; }
.s-story-band .s-story-words > * { max-inline-size: 34ch; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.8; }
/* A paragraph with no photo (#482, Adam) is one centred reading column in
   every look, its heading in the look's display face and accent over it;
   a headed one after another parts from it by a faint hairline. */
.s-story-words--alone { max-inline-size: 64ch; margin-inline: auto; margin-block-start: clamp(2rem, 4vw, 3rem); }
.s-story-words--alone > :not(.s-story-heading) { max-inline-size: none; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.s-story-words--alone + .s-story-words--headed { padding-block-start: clamp(2rem, 4vw, 3rem); border-block-start: 1px solid color-mix(in srgb, var(--v-ink) 13%, transparent); }
/* One without a heading carries on the paragraph before it, closer. */
.s-story-words--alone:not(.s-story-words--headed) { margin-block-start: clamp(1.25rem, 2.5vw, 2rem); }
.s-story-words > .s-story-heading, .s-story-lede > .s-story-heading, .s-story-list-head {
  max-inline-size: 30ch; margin: 0 0 .6em; color: var(--v-ink); font: 400 clamp(1.375rem, 2.4vw, 1.875rem)/1.25 var(--s-display); text-wrap: balance;
}
.s-story-lede > .s-story-heading { font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--s-accent); }
.s-story-words--alone > .s-story-heading { color: var(--s-accent); }
.s-story-list-head { margin: clamp(3.5rem, 8vw, 7rem) auto 0; text-align: center; }
.s-story-list-head + .s-story-list { margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.s-story-lede a, .s-story-words a, .s-story-list a { color: var(--s-accent); text-underline-offset: .25em; }
.s-story-lede a:focus-visible, .s-story-words a:focus-visible, .s-story-list a:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }

/* The faces in rows the page counts (--s-columns), so none stands alone under a row. */
.s-story-faces { display: grid; grid-template-columns: repeat(var(--s-columns, 3), minmax(0, 6.5rem)); gap: 1.5rem clamp(1.25rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.s-story-faces li { display: grid; justify-items: center; align-content: start; gap: .6rem; text-align: center; color: var(--v-ink); font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.s-story-faces img { inline-size: min(100%, clamp(5rem, 8vw, 6.5rem)); block-size: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--v-raised); }
.s-story-portrait { display: grid; gap: .75rem; inline-size: min(100%, clamp(14rem, 22vw, 19rem)); margin: 0; }
.s-story-portrait img { inline-size: 100%; block-size: auto; aspect-ratio: 4 / 5; border-radius: var(--s-round); object-fit: cover; background: var(--v-raised); }
.s-story-portrait figcaption { color: var(--s-muted); font: 400 1.125rem/1.3 var(--s-display); }

/* On a phone the computer's arrangement, smaller (#482, Adam): the photo beside its words, on the band's side, the words running on under it. */
.s-story-band { display: flow-root; margin-block-start: clamp(3.5rem, 8vw, 7rem); }
.s-story-band .s-story-photo { float: inline-end; inline-size: 40%; margin-block: .4rem .75rem; margin-inline: 1rem 0; }
.s-story-band--turned .s-story-photo { float: inline-start; margin-inline: 0 1rem; }
.s-story-photo { min-inline-size: 0; margin: 0; }
.s-story-frame { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--s-round); background: var(--v-raised); }
.s-story-band--turned .s-story-frame { aspect-ratio: 5 / 4; }
.s-story-frame img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.6s var(--s-ease); }
.s-js .s-story-photo[data-reveal]:not(.is-shown) img, .s-js [data-reveal]:not(.is-shown) > .s-story-photo img { scale: 1.06; }
/* The editor's example only (#482, Adam): a faint frame where a paragraph's photo can go, a small cue in it; the pointer over it
   (site-look#slotPointing) brings it up in the site's accent. */
.s-story-slot .s-story-frame {
  display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 1rem; text-align: center;
  background: transparent; border: 1.5px dashed color-mix(in srgb, var(--v-ink) 25%, transparent);
  color: color-mix(in srgb, var(--v-ink) 72%, transparent); font-size: .9375rem; transition: border-color .2s, color .2s;
}
.s-story-slot .s-story-frame svg { inline-size: 1.75rem; block-size: 1.75rem; }
.s-story-slot.is-pointed .s-story-frame { border-color: var(--s-accent); color: var(--s-accent); }

/* A list: its items in a row, each its mark (a check on the band, or its
   number in the display face when its order counts) beside its words.
   The row is centred as a whole, its items one width and their words
   balanced, so every item wraps alike; the page sets how many stand in
   a row (--s-columns), so none is left alone under a row. */
.s-story-list {
  --s-item: 16rem; --s-across: clamp(1.5rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem var(--s-across);
  max-inline-size: calc(var(--s-columns, 3) * var(--s-item) + (var(--s-columns, 3) - 1) * var(--s-across) + 1px);
  margin: clamp(3.5rem, 8vw, 7rem) auto 0; padding: 0; list-style: none;
}
.s-story-list > li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; inline-size: min(100%, var(--s-item)); }
.s-story-mark {
  display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; border-radius: 50%; background: var(--s-band-2); color: var(--s-accent);
  font: 400 1.375rem/1 var(--s-display); font-variant-numeric: tabular-nums;
  --s-accent: var(--s-band-accent);
}
.s-story-mark .v-icon { inline-size: 1.375rem; block-size: 1.375rem; }
.s-story-item { color: var(--v-ink); font: 400 clamp(1.0625rem, 1.5vw, 1.25rem)/1.4 var(--s-display); text-wrap: balance; }
.s-story-item ul, .s-story-item ol { margin: .4rem 0 0; padding-inline-start: 1.1rem; font: 400 .9375rem/1.6 var(--v-font); }

.s-story-end { margin-block-start: clamp(4rem, 9vw, 8rem); }
.s-story-end .s-office { max-inline-size: 38rem; }
.s-page--about > :first-child + .s-story-end { margin-block-start: clamp(2rem, 4vw, 3rem); }

@media (max-width: 47.99rem) {
  .s-story-band .s-story-words > * { max-inline-size: none; }
  .s-story-slot .s-story-frame { gap: .25rem; padding: .5rem; font-size: .8125rem; }
  .s-story-slot .s-story-frame svg { inline-size: 1.25rem; block-size: 1.25rem; }
}
@media (min-width: 48rem) {
  .s-story-band { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
  .s-story-band .s-story-photo { float: none; inline-size: auto; margin: 0; order: 1; }
  /* Two columns while the photo stands: one that fails to load leaves its words the whole band. */
  .s-story-band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .s-story-band--turned { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .s-story-band > .s-story-words:only-child { grid-column: 1 / -1; }
  .s-story-band--turned .s-story-photo { order: 0; }
}
@media (min-width: 64rem) {
  .s-story-head--faces { grid-template-columns: minmax(0, 1fr) auto; }
  .s-story-head .s-page-title { grid-column: 1 / -1; }
  .s-story-head--faces .s-story-lede { align-self: center; }
  .s-story-head--faces .s-story-faces { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .s-story-frame img, .s-story-slot .s-story-frame, .s-example[data-part="about"] [data-marked] { transition: none; }
  .s-js .s-story-photo[data-reveal]:not(.is-shown) img, .s-js [data-reveal]:not(.is-shown) > .s-story-photo img { scale: none; }
}

/* The office's details on a band, its quiet words leaning to the ink. */
.s-office {
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--s-round); background: var(--s-band-1);
  --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
.s-main .s-office-title { margin: 0 0 .75rem; color: var(--s-muted); font: 500 1rem/1.4 var(--v-font); }
.s-office p { margin: 0; color: var(--v-ink); }
.s-office .s-office-name { margin-block-end: 1rem; overflow-wrap: anywhere; font: 400 clamp(1.5rem, 2.4vw, 1.875rem)/1.2 var(--s-display); }
.s-office-address, .s-office-line { display: flex; align-items: center; gap: .65rem; min-block-size: 2.75rem; color: var(--v-ink); text-decoration: none; }
.s-office-line:hover bdi { text-decoration: underline; text-decoration-color: var(--s-accent); text-underline-offset: .25em; }
.s-office-line:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-office .v-icon { flex: none; inline-size: 1.15rem; block-size: 1.15rem; color: var(--s-accent); }
.s-office .s-all-link { margin-block-start: 1.25rem; }
@media (min-width: 64rem) {
  .s-page-title { grid-column: 1 / -1; }
}

/* The contact page: the name, the phone set large as the press it is,
   then each other detail under a hairline; the map beside them. */
.s-contact { min-inline-size: 0; }
.s-contact-name { margin: 0 0 .25rem; color: var(--s-muted); font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.3 var(--s-display); }
.s-contact-call {
  display: inline-flex; align-items: center; gap: .3em; color: var(--v-ink);
  font: 400 clamp(2.25rem, 6.5vw, 4.5rem)/1.15 var(--s-display); font-variant-numeric: tabular-nums;
  text-decoration: underline 1px transparent; text-underline-offset: .18em; transition: text-decoration-color .3s ease;
}
.s-contact-call:hover { text-decoration-color: var(--v-accent); }
.s-contact-call:focus-visible { outline-color: var(--v-ink); outline-offset: 4px; }
.s-contact-call .v-icon { flex: none; inline-size: .5em; block-size: .5em; color: var(--v-accent); }
.s-contact-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.5rem 2.5rem;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; padding-block-start: clamp(1.5rem, 3vw, 2rem); border-block-start: 1px solid var(--v-line);
}
/* Each detail by its mark: the drawing on a band's round at its start,
   as the map's pin, the label and the detail beside it. */
.s-contact-details > div { position: relative; min-block-size: 2.75rem; padding-inline-start: 3.5rem; }
.s-contact-mark {
  position: absolute; inset-block-start: 0; inset-inline-start: 0; display: grid; place-items: center;
  inline-size: 2.75rem; block-size: 2.75rem; border-radius: 50%; background: var(--s-band-1); color: var(--s-band-accent);
}
.s-contact-mark .v-icon { inline-size: 1.25rem; block-size: 1.25rem; }
.s-contact-details dt { margin: 0 0 .3rem; color: var(--s-muted); font-size: .9375rem; }
.s-contact-details dd { margin: 0; color: var(--v-ink); line-height: 1.7; overflow-wrap: anywhere; }
.s-contact-details a { color: var(--v-ink); text-decoration-color: var(--v-accent); text-underline-offset: .25em; }
.s-contact-details a:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
/* The map's still: the address on a band crossed by drawn streets, a pin
   over it and the press under it; the press fades Google's map in over it. */
.s-office-map-box { display: grid; justify-items: center; gap: .5rem; min-inline-size: 0; }
.s-office-map { position: relative; inline-size: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--v-line); border-radius: var(--s-round); background: var(--s-band-1); }
.s-office-map-still {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .75rem; padding: 1.5rem; text-align: center;
  background-image:
    repeating-linear-gradient(28deg, transparent 0 3.4rem, color-mix(in srgb, transparent, var(--v-accent) 22%) 3.4rem calc(3.4rem + 1px)),
    repeating-linear-gradient(118deg, transparent 0 5.2rem, color-mix(in srgb, transparent, var(--v-accent) 22%) 5.2rem calc(5.2rem + 2px));
  transition: opacity .5s ease;
}
.s-office-map-pin { display: grid; place-items: center; inline-size: 3.5rem; block-size: 3.5rem; border-radius: 50%; background: var(--v-ground); color: var(--v-accent); }
.s-office-map-pin .v-icon { inline-size: 1.75rem; block-size: 1.75rem; }
.s-office-map-address { max-inline-size: 28ch; margin: 0; padding: .35rem .9rem; border-radius: .5rem; background: var(--v-ground); color: var(--v-ink); }
.s-office-map .s-office-map-press { margin-block-start: .25rem; }
.s-office-map-press:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 3px; }
.s-office-map iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; opacity: 0; transition: opacity .6s ease; }
.s-office-map.is-shown iframe { opacity: 1; }
.s-office-map.is-shown .s-office-map-still { opacity: 0; pointer-events: none; }
.s-office-map-link { display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--s-accent); text-underline-offset: .25em; }
.s-office-map-link:focus-visible { outline-color: var(--v-ink); outline-offset: 2px; }
.s-contact-form:empty { display: none; }
/* Who answers, small under the details, in line with their words, so it
   keeps the page company while the phone leads: the office's people
   together on one band's block, each face over its own name, the block
   hugging them with even room all round, a lone realtor's face round and
   larger; with no face the office's own photo or its flagship's, a band's
   block set off behind the frame. The faces stay round in every look. */
.s-contact-photo {
  inline-size: min(calc(100% - 4.25rem), 15rem);
  margin: clamp(2.25rem, 4vw, 3rem) 0 .75rem; margin-inline-start: 3.5rem;
}
.s-contact-frame { position: relative; isolation: isolate; display: block; }
.s-contact-frame::before {
  content: ""; position: absolute; z-index: -1; inset-block: .75rem -.75rem; inset-inline: -.75rem .75rem;
  border-radius: var(--s-round); background: var(--s-band-1);
}
.s-contact-frame > :is(img, .s-contact-blank) { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--s-round); }
.s-contact-team {
  --s-face: 5.5rem;
  display: grid; grid-template-columns: repeat(var(--s-columns, 3), minmax(0, var(--s-face))); gap: 1rem .75rem;
  inline-size: max-content; max-inline-size: calc(100% - 3.5rem); padding: 1.25rem; list-style: none;
  border-radius: var(--s-round); background: var(--s-band-1);
}
.s-contact-team li { display: grid; justify-items: center; align-content: start; gap: .5rem; min-inline-size: 0; text-align: center; }
.s-contact-team :is(img, .s-contact-face) { display: block; inline-size: min(100%, 3.75rem); block-size: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.s-contact-team span { color: var(--v-ink); font-size: .8125rem; line-height: 1.35; overflow-wrap: anywhere; }
.s-contact-team--one { --s-face: 9rem; padding: 1.5rem 2rem; }
.s-contact-team--one li { gap: .75rem; }
.s-contact-team--one :is(img, .s-contact-face) { inline-size: min(100%, 6.5rem); }
.s-contact-team--one span { font-size: .9375rem; }
/* A face or picture that fails to load (#255) gives way in place to its
   stand-in (sites.js), the same size, so the page never moves: a face to
   the team cards' person mark, the picture to its frame with the office's
   mark, each on the band's second ground. */
.s-contact-team .s-contact-face, .s-contact-frame > .s-contact-blank {
  display: grid; place-items: center; background: var(--s-band-2); color: var(--s-band-muted);
}
.s-contact-face .v-icon { inline-size: 50%; block-size: 50%; stroke-width: 1.25; }
.s-contact-blank .v-icon { inline-size: 3rem; block-size: 3rem; stroke-width: 1.25; }
/* With no map the picture takes the map's place beside the details,
   centred in it (under them on a phone); with neither, the details stand
   alone in the middle of the page, so no half is left empty. */
.s-contact-side { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; min-inline-size: 0; }
.s-contact-side .s-contact-photo { inline-size: min(100% - 1.5rem, 24rem); margin: 0 0 .75rem; }
.s-contact-side .s-contact-team { inline-size: max-content; max-inline-size: 100%; margin: 0; }
@media (min-width: 64rem) {
  .s-page--contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .s-page--lone { grid-template-columns: minmax(0, 46rem); justify-content: center; }
  .s-contact-side { align-self: center; }
  .s-contact-form { grid-column: 1 / -1; }
  .s-contact-photo { inline-size: min(calc(100% - 4.25rem), 20rem); }
  .s-contact-team { inline-size: max-content; }
  .s-contact-team { --s-face: 6.25rem; }
  .s-contact-team :is(img, .s-contact-face) { inline-size: min(100%, 4.5rem); }
  .s-contact-team--one { --s-face: 10rem; }
  .s-contact-team--one :is(img, .s-contact-face) { inline-size: min(100%, 7.5rem); }
}

/* Each look's hand on the menu and the pages. Atelier: the presses in the
   display face with the look's rounding, and on a computer its home's
   column holds them stacked over the contents. Signature and Shalva centre
   the page heads as their sections' are. Shchuna and Duet's presses have
   no edge but the page shown's; Duet's corners its tiles'. Meridian's are squarer, as its
   register's rows; Shalva tracks them, quiet. */
[data-layout="atelier"] .s-menu-link { border-radius: var(--s-round); font: 400 1.125rem/1.2 var(--s-display); }
@media (min-width: 64rem) {
  /* Down the column, below the search: one ruled list of the pages in the
     display face, each row the column's width, the rows sharing the free
     height evenly, a hairline between them as the one over the
     standfirst; the page shown in the accent with a short accent mark
     before it; the switch at the foot. A short window closes the rows up. */
  [data-layout="atelier"] .s-menu--plate { display: flex; flex: 1 0 auto; flex-direction: column; align-self: stretch; margin: 1.5rem 0 0; animation: s-fade 1s .8s ease both; }
  [data-layout="atelier"] .s-menu--plate .s-menu-links { flex: 1 0 auto; flex-direction: column; align-items: stretch; gap: 0; }
  [data-layout="atelier"] .s-menu--plate .s-menu-links > li:not(.s-menu-lang) { display: flex; flex: 1 1 auto; }
  [data-layout="atelier"] .s-menu--plate .s-menu-links > li:not(.s-menu-lang) + li:not(.s-menu-lang) { border-block-start: 1px solid var(--v-accent); }
  [data-layout="atelier"] .s-menu--plate .s-menu-link {
    flex: 1; justify-content: flex-start; gap: .75rem; min-block-size: 2.5rem; padding: 0; border: 0; border-radius: 0; background: none;
    color: var(--v-ink); font: 400 1.25rem/1.2 var(--s-display); transition: color .25s ease;
  }
  [data-layout="atelier"] .s-menu--plate .s-menu-link:hover { background: none; color: var(--v-accent); }
  [data-layout="atelier"] .s-menu--plate .s-menu-link[aria-current] { background: none; color: var(--v-accent); }
  [data-layout="atelier"] .s-menu--plate .s-menu-link[aria-current]::before { content: ""; inline-size: 1.5rem; block-size: 2px; background: var(--v-accent); }
  [data-layout="atelier"] .s-menu--plate .s-menu-link:focus-visible { outline: 2px solid var(--v-ink); outline-offset: -2px; }
  [data-layout="atelier"] .s-menu--plate .s-menu-lang { margin: 1rem 0 0; }
  [data-layout="atelier"] .s-menu--plate .s-lang-link { min-block-size: calc(2.375rem - 2px); padding-inline: .75rem; }
}
[data-layout="signature"] .s-page-title, [data-layout="shalva"] .s-page-title { text-align: center; }
[data-layout="signature"] .s-page-title::after, [data-layout="shalva"] .s-page-title::after { margin-inline: auto; transform-origin: 50% 50%; }
[data-layout="shchuna"] .s-menu-link:not([aria-current]), [data-layout="duet"] .s-menu-link:not([aria-current]) { border-color: transparent; }
[data-layout="duet"] .s-menu-link { border-radius: .75rem; }
[data-layout="duet"] .s-office, [data-layout="duet"] .s-office-map { background: var(--s-band-2); border-color: transparent; }
[data-layout="duet"] .s-contact-mark { background: var(--s-band-2); }
/* The contact photo's frame in each look's hand: Atelier's a hairline in
   its accent, as its magazine's rules; Shchuna's soft and round; Duet's
   block its second band, on its tiles' corners; Meridian's square. */
[data-layout="atelier"] .s-contact-frame::before, [data-layout="atelier"] .s-contact-team { border: 1px solid var(--v-accent); background: none; }
[data-layout="shchuna"] .s-contact-frame::before, [data-layout="shchuna"] .s-contact-frame > :is(img, .s-contact-blank), [data-layout="shchuna"] .s-contact-team { border-radius: 1.25rem; }
[data-layout="duet"] .s-contact-frame::before, [data-layout="duet"] .s-contact-team { border-radius: 1.25rem; background: var(--s-band-2); }
[data-layout="duet"] .s-contact-frame > :is(img, .s-contact-blank) { border-radius: 1.25rem; }
/* A stand-in never melts into the block behind it: Duet's block is
   already its second band; Shalva's marks sit on its ground, as its team's. */
[data-layout="duet"] :is(.s-contact-team .s-contact-face, .s-contact-frame > .s-contact-blank) { background: var(--s-band-3); }
[data-layout="shalva"] .s-contact-team .s-contact-face { background: var(--v-ground); }
[data-layout="meridian"] .s-contact-frame::before, [data-layout="meridian"] .s-contact-frame > :is(img, .s-contact-blank), [data-layout="meridian"] .s-contact-team { border-radius: 0; }
[data-layout="meridian"] .s-menu-link { border-radius: .375rem; }
[data-layout="meridian"] .s-office { border-radius: 0; background: var(--s-band-3); }
[data-layout="shalva"] .s-menu-link { font-weight: 400; letter-spacing: .02em; }
/* On a computer the bar's presses and the language switch wear the look's
   accent (#325): each press on the accent's second band, edged in the
   accent, the third band hovered; the page and the language shown stand
   on the accent itself, in its own ink. A phone keeps its quiet bar. */
@media (min-width: 64rem) {
  [data-layout] .s-top .s-menu-link, [data-layout] .s-top .s-lang { border-color: var(--v-accent); background: var(--s-band-2); }
  [data-layout] .s-top .s-menu-link:hover, [data-layout] .s-top .s-lang-link:not([aria-current]):hover { background: var(--s-band-3); }
  [data-layout] .s-top .s-menu-link[aria-current], [data-layout] .s-top .s-lang-link[aria-current] { background: var(--v-accent); color: var(--v-on-accent); }
  /* The shown language's ring sits inside the press, on the accent: drawn in the accent's own ink. */
  [data-layout] .s-top .s-lang-link[aria-current]:focus-visible { outline-color: var(--v-on-accent); }
  [data-layout] .s-top .s-menu-link[aria-current] .v-icon { color: var(--v-on-accent); }
}
[data-layout="shalva"] .s-page { padding-block-start: clamp(3rem, 7vw, 6rem); }
/* The about's story in each look's hand: Signature and Shalva centre its
   head as they centre their titles; the list's marks take each look's
   shape: Meridian's square as its register, Duet's its tiles' corners,
   Shalva's a hairline ring on the ground, with more air around each
   band; Shchuna's photos lean a little toward their words. */
[data-layout="signature"] .s-story-head, [data-layout="shalva"] .s-story-head { grid-template-columns: none; justify-items: center; text-align: center; }
[data-layout="signature"] .s-story-faces, [data-layout="shalva"] .s-story-faces { justify-content: center; }
[data-layout="signature"] .s-story-lede > p, [data-layout="shalva"] .s-story-lede > p,
[data-layout="signature"] .s-story-end .s-office, [data-layout="shalva"] .s-story-end .s-office { margin-inline: auto; }
[data-layout="signature"] .s-story-words--alone > .s-story-heading, [data-layout="shalva"] .s-story-words--alone > .s-story-heading { margin-inline: auto; text-align: center; }
[data-layout="duet"] .s-story-mark { border-radius: .75rem; }
[data-layout="meridian"] .s-story-mark { border-radius: .375rem; background: var(--s-band-3); }
[data-layout="shalva"] .s-story-mark { border: 1px solid var(--v-line); background: none; color: var(--v-accent); }
[data-layout="shalva"] .s-story-band { margin-block-start: clamp(4.5rem, 10vw, 9rem); }
@media (min-width: 48rem) {
  [data-layout="shchuna"] .s-story-band .s-story-frame { rotate: -1.5deg; }
  [data-layout="shchuna"] .s-story-band--turned .s-story-frame { rotate: 1.5deg; }
}

/* A sold or rented listing: a veil over its photo and a stamp on it,
   both laid over the photo, so its hover ease stays under the veil. */
.s-card.is-closed .s-card-photo::after { content: ""; z-index: 1; grid-area: 1 / 1; background: var(--s-veil); }
/* The seal sized by its photo, a thumbnail's a size down, so it sits
   whole and centred on every card. */
.s-seal {
  z-index: 2; place-self: center; padding: .3em .95em; rotate: -8deg; white-space: nowrap;
  border-radius: .375rem; background: var(--v-accent); color: var(--v-on-accent);
  outline: 2px solid var(--v-on-accent); outline-offset: -.25em;
  font: 700 clamp(.875rem, 7cqi, 1.5rem)/1.2 var(--s-display); letter-spacing: .04em;
}

/* The team: a round face, the name that leads to the realtor's card where
   they gave one (#146), their title, and the phone, its own press above
   the stretched link. */
.s-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem clamp(1.5rem, 5vw, 4.5rem); margin: 0; padding: 0; list-style: none; }
/* Two a row on a phone. */
.s-person { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; inline-size: min(11rem, calc(50% - .75rem)); text-align: center; }
.s-person-face {
  inline-size: clamp(6.5rem, 12vw, 8rem); block-size: clamp(6.5rem, 12vw, 8rem); margin-block-end: .75rem; border-radius: 50%; object-fit: cover; background: var(--v-raised);
  outline: 1px solid transparent; outline-offset: 0;
  transition: outline-offset .4s var(--s-ease), outline-color .4s ease;
}
.s-person:hover .s-person-face { outline-color: var(--v-accent); outline-offset: .375rem; }
.s-person-mark { display: grid; place-items: center; color: var(--s-muted); background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
.s-person-mark .v-icon { inline-size: 3rem; block-size: 3rem; stroke-width: 1.25; }
.s-person-name { margin: 0; font-size: 1.375rem; line-height: 1.3; }
.s-person-link { color: var(--v-ink); text-decoration: none; }
.s-person-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.s-person:hover .s-person-link { text-decoration: underline; text-decoration-color: var(--v-accent); text-underline-offset: .25em; }
/* The role under the name and the licence under the phones (#231), quiet, in the words' face. */
.s-person-role { margin: 0; color: var(--s-muted); font-size: .9375rem; line-height: 1.4; }
.s-person .s-licence { margin: 0; }
.s-person-tel {
  position: relative; z-index: 2; display: inline-flex; align-items: center; min-block-size: 2.75rem;
  /* Level across a row whether or not the realtor has a title. */
  margin-block-start: auto;
  color: var(--s-muted); font-variant-numeric: tabular-nums; text-underline-offset: .25em;
}
/* A second phone sits right under the first, never pushed apart by the auto margin. */
.s-person-tel + .s-person-tel { margin-block-start: 0; }
/* The room a missing second phone or licence keeps, so a row's phones line up (#341). */
.s-person-gap { visibility: hidden; }
/* Past six, the sixth place is a circle where one more face would be: +N, the rest of the team, on to the team page (#341).
   It wears the face mark's fill, its number in ink, its edge in the band's quiet words so it reads apart from the page. */
.s-person-more-link { display: block; border-radius: 50%; color: var(--v-ink); text-decoration: none; }
.s-person-more-count {
  display: grid; place-items: center; margin-block-end: 0;
  border: 2px solid var(--s-band-muted); background: var(--s-band-2); color: var(--v-ink);
  font: 600 clamp(1.5rem, 3vw, 1.875rem)/1 var(--s-display); font-variant-numeric: tabular-nums; letter-spacing: .01em;
  direction: ltr; unicode-bidi: isolate;
  transition: border-color .3s ease, outline-offset .4s var(--s-ease), outline-color .4s ease;
}
.s-person-more-link:hover .s-person-more-count { border-color: var(--v-accent); outline-color: var(--v-accent); outline-offset: .375rem; }
.s-person-more-link:focus-visible { outline: 2px solid var(--v-ink); outline-offset: .375rem; }
/* Where the row has room, its six at most (#146) keep one line, never
   five with one left alone under them; the about's whole team still wraps. */
.s-team:not(.s-team--all) { container-type: inline-size; }
@container (min-width: 60rem) {
  [data-layout]:not([data-layout="shalva"]) .s-people { flex-wrap: nowrap; column-gap: clamp(1.5rem, 3vw, 3rem); }
  [data-layout]:not([data-layout="shalva"]) .s-person { flex: 0 1 11rem; min-inline-size: 0; }
}

.s-about p, .s-about ul, .s-about ol { max-inline-size: 52ch; margin: 0 0 .75rem; color: var(--v-ink); font-size: 1.0625rem; line-height: 1.9; }
.s-about .s-address { color: var(--s-muted); }
/* The about's teaser: a line or two of the office's words in the look's
   display face, the way on to its page in the look's pill under them. */
[data-layout] .s-about p.s-about-lead { margin-block-end: 1rem; font: 400 clamp(1.1875rem, 1.9vw, 1.4375rem)/1.6 var(--s-display); text-wrap: pretty; overflow-wrap: anywhere; }
[data-layout] .s-about p.s-about-on { margin: 1.5rem 0 0; }
/* Beside them the flagships' photos as a fanned stack of prints, the
   first on top and straight, the others leaning out behind it; they fan
   out from one pile as the section arrives, already fanned for less motion. */
.s-about--shots .s-about-side { display: grid; place-items: center; padding: 2rem 3rem; }
.s-about-shots { display: grid; inline-size: min(100%, 24rem); aspect-ratio: 4 / 3; }
.s-about-shot {
  grid-area: 1 / 1; z-index: calc(3 - var(--s-i, 0)); inline-size: 100%; block-size: 100%; object-fit: cover;
  border: .3125rem solid var(--v-ground); border-radius: var(--s-round); background: var(--v-raised); box-shadow: var(--v-shadow);
  transform-origin: 50% 100%;
}
.s-about-shot:nth-child(2) { rotate: -7deg; translate: -11% 2%; }
.s-about-shot:nth-child(3) { rotate: 7deg; translate: 11% 2%; }
.s-js .s-about[data-reveal] .s-about-shot { transition: rotate 1.2s var(--s-ease) .3s, translate 1.2s var(--s-ease) .3s; }
.s-js .s-about[data-reveal]:not(.is-shown) .s-about-shot { rotate: 0deg; translate: 0 0; }
/* The office's face pinned at the stack's foot, round, ringed in the
   page's ground, its name on a small pill under it; it settles in once the
   stack has fanned. With no flagship it stands alone, larger. */
.s-about-shots { position: relative; }
.s-about-face { position: absolute; inset-block-end: -1.75rem; inset-inline-end: -1.5rem; z-index: 4; display: grid; justify-items: center; gap: .4rem; margin: 0; }
.s-about-face img {
  inline-size: clamp(5.5rem, 9vw, 7rem); block-size: auto; aspect-ratio: 1; object-fit: cover;
  border: .3125rem solid var(--v-ground); border-radius: 50%; background: var(--v-raised); box-shadow: var(--v-shadow);
}
.s-about-face figcaption { padding: .2rem .75rem; border-radius: 999px; background: var(--v-ground); color: var(--v-ink); font-size: .8125rem; line-height: 1.4; white-space: nowrap; }
.s-about-shots[data-count="0"] { aspect-ratio: auto; place-items: center; }
.s-about-shots[data-count="0"] .s-about-face { position: static; }
.s-about-shots[data-count="0"] .s-about-face img { inline-size: clamp(9rem, 16vw, 12rem); }
/* A team's faces smaller and overlapping, the first on top, the rest as a
   count in the look's accent; the pill under them says it is the team. */
.s-about-faces { display: flex; align-items: center; }
.s-about-shots .s-about-face.s-about-face--team img { position: relative; z-index: calc(3 - var(--s-i, 0)); inline-size: clamp(3.75rem, 6vw, 4.75rem); }
.s-about .s-about-face--team img + img, .s-about-face-more { margin-inline-start: -1.125rem; }
.s-about-face-more {
  display: grid; place-items: center; inline-size: clamp(3.75rem, 6vw, 4.75rem); aspect-ratio: 1;
  border: .3125rem solid var(--v-ground); border-radius: 50%; background: var(--v-accent); color: var(--v-on-accent);
  font: 600 1rem/1 var(--v-font); font-variant-numeric: tabular-nums;
}
.s-js .s-about[data-reveal] .s-about-face { transition: opacity .6s ease 1.1s, scale .6s var(--s-ease) 1.1s; }
.s-js .s-about[data-reveal]:not(.is-shown) .s-about-face { opacity: 0; scale: .85; }
/* On a phone the stack closes the section under the words; from a tablet
   up it stands beside them, every look's words in one column. Duet keeps
   its side panel over the words on a phone. */
@media (min-width: 48rem) {
  [data-layout]:not([data-layout="duet"]) .s-about.s-about--shots {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem); grid-auto-rows: auto; align-content: center; column-gap: clamp(2rem, 5vw, 5rem);
  }
  [data-layout]:not([data-layout="duet"]) .s-about--shots > :not(.s-about-side) { grid-column: 1; grid-row: auto; }
  [data-layout]:not([data-layout="duet"]) .s-about--shots .s-about-side { grid-column: 2; grid-row: 1 / span 4; order: 0; }
}

/* Parts a layout does not show. */
.s-hero-logo, .s-rule, .s-search, .s-progress { display: none; }
/* Duet's: a fact's label over its value, and the about's side. */
.s-fact-label, .s-fact-figure, .s-about-side { display: none; }

/* Parts rise in once as they reach the screen (sites.js marks the page),
   a head's hairline drawn after it. */
.s-js [data-reveal] {
  opacity: 0; translate: 0 1.25rem;
  transition: opacity .9s var(--s-ease), translate .9s var(--s-ease);
  transition-delay: calc(var(--s-i, 0) * 90ms);
}
.s-js [data-reveal].is-shown { opacity: 1; translate: 0 0; }
.s-js .s-section-title::after { scale: 0 1; transition: scale .8s var(--s-ease) .25s; }
.s-js .s-section-title.is-shown::after, .s-js .is-shown > .s-section-title::after { scale: 1; }
@media print {
  .s-js [data-reveal] { opacity: 1; translate: none; }
  .s-js .s-section-title::after { scale: 1; }
  .s-js .s-show[data-reveal] .s-show-photo img { scale: none; }
}

/* ---- The listing page (#140) ----
   One markup every look wears. On a phone the photos run edge to edge and
   swipe in place, the deal, title, price and key numbers under them, the
   presses in a bar at the window's foot. On a computer the lead photo and
   two beside it, the story under them, and beside it a panel with the
   price, the realtor and the presses that stays in view. No photo is drawn
   wider than its 600 px file. */
.s-main .s-listing { grid-column: 1 / -1; margin-block-start: calc(-1 * var(--s-atelier-top, 0px)); }
.s-listing { display: grid; grid-template-columns: minmax(0, 1fr); padding-block-end: calc(4.5rem + env(safe-area-inset-bottom)); }

.s-gallery { position: relative; display: grid; container-type: inline-size; }
.s-gallery > * { grid-area: 1 / 1; }
.s-gallery-row {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 4 / 3; max-block-size: calc(var(--s-screen, 100svh) * .7); margin: 0; padding: 0; list-style: none; background: var(--v-raised);
}
.s-gallery-row::-webkit-scrollbar { display: none; }
.s-gallery-item { position: relative; flex: 0 0 100%; min-block-size: 0; scroll-snap-align: start; }
.s-gallery-photo { display: block; inline-size: 100%; block-size: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.s-gallery-photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.s-gallery-photo img { transition: scale 1.2s var(--s-ease); }
.s-gallery-photo:focus-visible { outline: 2px solid var(--v-ink); outline-offset: -4px; }
/* The count, on the plate at the photo's inline end foot. */
.s-gallery-count {
  z-index: 1; place-self: end end; margin: .75rem; min-block-size: 2.75rem; padding: .35rem 1rem;
  border: 0; border-radius: 999px; background: var(--s-plate); color: var(--v-ink);
  font: 500 .9375rem/1 var(--v-font); font-variant-numeric: tabular-nums; cursor: pointer;
}
.s-gallery-count:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }
/* The chevrons move a computer's row; a phone swipes it. */
.s-gallery-step { display: none; }
.s-listing.is-closed .s-gallery::after { content: ""; grid-area: 1 / 1; background: var(--s-veil); pointer-events: none; }
.s-gallery > .s-seal { font-size: clamp(1.25rem, 6cqi, 2rem); pointer-events: none; }

.s-listing-story { min-inline-size: 0; padding: clamp(1.25rem, 3vw, 2rem) var(--s-gutter) 0; }
.s-listing-head { display: grid; justify-items: start; gap: .35rem; }
.s-listing-title { margin: 0; color: var(--v-ink); font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.15; text-wrap: balance; }
/* The written title under a typed name (#359): the place words, quiet. */
.s-listing-subtitle { margin: 0; color: var(--s-muted); font-size: 1.0625rem; line-height: 1.4; }
.s-listing-price { margin: .35rem 0 0; color: var(--v-ink); font: 400 clamp(1.875rem, 3vw, 2.5rem)/1.1 var(--s-display); font-variant-numeric: tabular-nums; }
.s-listing-month { color: var(--s-muted); font: 400 1rem/1 var(--v-font); }
.s-listing-meter { margin: 0; color: var(--s-muted); font-size: .9375rem; }
.s-listing-ask { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-block-start: .35rem; }
.s-listing-ask .s-listing-price { margin: 0; font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.s-listing-facts { display: flex; flex-wrap: wrap; margin: .35rem 0 0; padding: 0; list-style: none; color: var(--v-ink); font: 400 1.125rem/1.5 var(--s-display); }
.s-listing-facts li + li::before {
  content: ""; display: inline-block; inline-size: 4px; block-size: 4px; margin-inline: .75rem;
  border-radius: 50%; background: var(--v-accent); vertical-align: middle;
}
.s-listing-place { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .75rem 0 0; color: var(--s-muted); }
.s-listing-place > span { display: inline-flex; align-items: center; gap: .35rem; }
.s-listing-place .v-icon { flex: none; inline-size: 1.1em; block-size: 1.1em; }

/* The share press (#394): the outlined pill, closing a listing's head and
   the home; its panel opens under it, a card on the page's own ground with
   a fine edge, so it reads on a band (Meridian, Duet) as on the page, each
   way to share a full-height row. */
.s-share { position: relative; margin-block-start: .75rem; }
.s-share-press { font: inherit; font-weight: 500; background: none; cursor: pointer; }
.s-share-press .v-icon { inline-size: 1.1em; block-size: 1.1em; }
.s-share-panel {
  position: absolute; inset-block-start: calc(100% + .5rem); inset-inline-start: 0; z-index: 6;
  inline-size: max-content; min-inline-size: 14rem; max-inline-size: calc(100vw - 2 * var(--s-gutter)); padding: .4rem;
  border: 1px solid color-mix(in srgb, var(--v-ink) 14%, transparent); border-radius: 1.25rem;
  background: var(--v-ground); color: var(--v-ink); box-shadow: var(--v-shadow);
  transform-origin: 50% 0; animation: s-pop .22s var(--s-ease) both;
}
.s-share-panel.is-leaving { animation: s-fade-out .2s ease both; }
.s-share-list { display: grid; margin: 0; padding: 0; list-style: none; }
.s-share-item {
  display: flex; align-items: center; gap: .75rem; inline-size: 100%; min-block-size: 2.75rem; padding: .5rem 1rem;
  border: 0; border-radius: .9rem; background: none; color: var(--v-ink); font: 400 1rem/1.3 var(--v-font); text-align: start; text-decoration: none; cursor: pointer;
}
.s-share-item:hover { background: color-mix(in srgb, var(--v-ink) 7%, transparent); }
.s-share-item:focus-visible { outline: 2px solid var(--v-ink); outline-offset: -2px; }
.s-share-item .v-icon { flex: none; inline-size: 1.25rem; block-size: 1.25rem; }
.s-share-note { margin: 0; padding: 0 1rem; color: var(--v-ink); font-size: .9375rem; font-weight: 500; }
.s-share-note:not(:empty) { padding-block: .35rem .5rem; animation: s-fade .2s ease both; }
.s-share-note.is-leaving { animation: s-fade-out .25s ease both; }
/* On the home it closes the page, alone in the middle, the panel under it. */
.s-home-share { display: flex; justify-content: center; padding: clamp(2rem, 5vw, 3.5rem) var(--s-gutter); }
.s-home-share .s-share { margin: 0; }
.s-home-share .s-share-panel { inset-inline: auto; left: 50%; translate: -50% 0; }

/* The trail (#145): a quiet line at the page's top, over the photos, the steps in the muted ink,
   the listing's own in the ink, cut short to one line; the mark between
   steps points the way the page reads. Each look gives it its own hand. */
.s-crumbs { min-inline-size: 0; padding: .6rem var(--s-gutter); font-size: .875rem; line-height: 1.4; }
.s-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 0; margin: 0; padding: 0; list-style: none; }
.s-crumbs li { display: inline-flex; align-items: center; min-inline-size: 0; }
.s-crumbs li + li::before {
  content: ""; flex: none; inline-size: .4em; block-size: .4em; margin-inline: .6rem;
  border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor;
  color: var(--s-muted); opacity: .7; transform: rotate(var(--s-crumb-turn, -45deg));
}
/* A turn has no reading direction, so English turns the other way. */
[dir="ltr"][data-layout] .s-crumbs { --s-crumb-turn: 45deg; }
.s-crumbs a { padding-block: .2rem; color: var(--s-muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: color .2s ease, text-decoration-color .2s ease; }
.s-crumbs a:hover { color: var(--v-ink); text-decoration-color: currentColor; }
.s-crumbs a:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; border-radius: 2px; }
.s-crumbs li:last-child { flex: 1 1 0; min-inline-size: 6rem; }
.s-crumbs [aria-current="page"] { overflow: hidden; color: var(--v-ink); text-overflow: ellipsis; white-space: nowrap; }
/* Atelier, the magazine: a slash between steps, as a running head. */
[data-layout="atelier"] .s-crumbs li + li::before { content: "/"; inline-size: auto; block-size: auto; border: 0; transform: none; opacity: .6; }
/* Signature, the flagship: the steps in the display face, the mark in the accent. */
[data-layout="signature"] .s-crumbs { font: 400 .9375rem/1.4 var(--s-display); }
[data-layout="signature"] .s-crumbs li + li::before { color: var(--s-accent); opacity: 1; }
/* Shchuna, the neighbourhood: each step a soft round tag, the listing's plain. */
[data-layout="shchuna"] .s-crumbs ol { flex-wrap: nowrap; gap: 0; }
[data-layout="shchuna"] .s-crumbs li:last-child { min-inline-size: 0; }
[data-layout="shchuna"] .s-crumbs a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-layout="shchuna"] .s-crumbs li:not(:last-child) a { padding: .3rem .85rem; border: 1px solid color-mix(in srgb, var(--s-muted) 45%, transparent); border-radius: 999px; transition: color .2s ease, border-color .2s ease; }
[data-layout="shchuna"] .s-crumbs li:not(:last-child) a:hover { border-color: var(--v-ink); text-decoration-color: transparent; }
[data-layout="shchuna"] .s-crumbs li + li::before { margin-inline: .4rem; }
/* Meridian: a dot between steps, as between the key numbers. */
[data-layout="meridian"] .s-crumbs li + li::before { inline-size: 4px; block-size: 4px; margin-inline: .65rem; border: 0; border-radius: 50%; background: var(--s-accent); opacity: 1; transform: none; }
/* Shalva, the calm one: more air, a long thin dash between steps. */
[data-layout="shalva"] .s-crumbs { letter-spacing: .02em; }
[data-layout="shalva"] .s-crumbs li + li::before { inline-size: 1.1rem; block-size: 0; margin-inline: .85rem; border: 0; border-block-start: 1px solid currentColor; opacity: .55; transform: none; }
/* Duet: the steps on the head's band, the listing's in the band's accent. */
[data-layout="duet"] .s-crumbs [aria-current="page"] { color: var(--s-accent); }
@media (prefers-reduced-motion: reduce) {
  .s-crumbs a, [data-layout="shchuna"] .s-crumbs li:not(:last-child) a { transition: none; }
}

/* Each part a head with the accent hairline under it, drawn as it arrives. */
.s-listing-part { padding-block-start: clamp(2.5rem, 5vw, 3.5rem); }
.s-listing-part-title { margin: 0 0 1.25rem; color: var(--v-ink); font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; }
.s-listing-part-title::after {
  content: ""; display: block; inline-size: 2.5rem; block-size: 1px; margin-block-start: .75rem;
  background: var(--v-accent); transform-origin: 100% 50%;
}
[dir="ltr"][data-layout] .s-listing-part-title::after { transform-origin: 0 50%; }
.s-js .s-listing-part-title::after { scale: 0 1; transition: scale .8s var(--s-ease) .25s; }
.s-js .is-shown > .s-listing-part-title::after { scale: 1; }

/* The features as tags filled in the look's accent, words and check in its
   on-colour (AA in every look); a "no" stays an outline, dashed, with a quiet
   dash, so the two never look alike. */
.s-features { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.s-feature { display: inline-flex; align-items: center; gap: .45rem; min-block-size: 2.5rem; padding: .35rem 1rem; border: 1px solid var(--v-accent); border-radius: 999px; background: var(--v-accent); color: var(--v-on-accent); }
.s-feature--no { border: 1px dashed var(--v-line); background: none; color: var(--s-muted); }
.s-feature .v-icon { flex: none; inline-size: 1.1em; block-size: 1.1em; color: currentColor; stroke-width: 2.25; }
.s-feature--no .v-icon { stroke-width: 1.75; }

.s-listing-about p { max-inline-size: 62ch; margin: 0 0 .9rem; color: var(--v-ink); font-size: 1.0625rem; line-height: 1.85; }
.s-more-text summary {
  display: inline-flex; align-items: center; min-block-size: 2.75rem; color: var(--s-accent); font-weight: 500;
  text-decoration: underline; text-underline-offset: .25em; cursor: pointer; list-style: none;
}
.s-more-text summary::-webkit-details-marker { display: none; }
.s-more-text summary:focus-visible { outline-color: var(--v-ink); }
.s-more-close, .s-more-text[open] .s-more-open { display: none; }
.s-more-text[open] .s-more-close { display: inline; }

@media (hover: hover) {
  .s-gallery-photo:hover img { scale: 1.03; }
}

.s-costs { display: grid; max-inline-size: 36rem; margin: 0; }
.s-costs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-block: .75rem; border-block-end: 1px solid var(--v-line); }
.s-costs dt { color: var(--s-muted); }
.s-costs dd { margin: 0; color: var(--v-ink); font-variant-numeric: tabular-nums; }

/* The video (#359): YouTube's still frame, 16:9, a round play press on it
   in the accent; the player takes the same box once pressed. */
.s-video { max-inline-size: 48rem; }
.s-video-press, .s-video-frame { display: block; inline-size: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--s-round); }
.s-video-press { position: relative; overflow: hidden; background: var(--v-raised); }
.s-video-press img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.2s var(--s-ease); }
.s-video-play {
  position: absolute; inset-block-start: 50%; left: 50%; display: grid; place-items: center; inline-size: 4.5rem; block-size: 4.5rem;
  translate: -50% -50%; border-radius: 50%; background: var(--v-accent); color: var(--v-on-accent); box-shadow: var(--v-shadow);
  transition: scale .3s var(--s-ease);
}
.s-video-play .v-icon { inline-size: 1.75rem; block-size: 1.75rem; fill: currentColor; }
.s-video-press:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 3px; }
@media (hover: hover) {
  .s-video-press:hover img { scale: 1.03; }
  .s-video-press:hover .s-video-play { scale: 1.08; }
}
@media (prefers-reduced-motion: reduce) {
  .s-video-press img, .s-video-play { transition: none; }
}

/* The map: OpenStreetMap's tiles under a pin, or a soft circle round the part shown. */
.s-map-press { background: none; font: inherit; }
.s-map-press .v-icon { inline-size: 1.25rem; block-size: 1.25rem; }
.s-map-frame { position: relative; overflow: hidden; block-size: clamp(16rem, 40vw, 22rem); border-radius: var(--s-round); background: var(--v-raised); }
.s-map-tiles { position: absolute; display: grid; grid-template-columns: repeat(5, 256px); inline-size: 1280px; }
.s-map-tiles img { display: block; inline-size: 256px; block-size: 256px; max-inline-size: none; user-select: none; }
.s-map-pin { position: absolute; inset-block-start: 50%; left: 50%; translate: -50% -100%; color: var(--v-accent); }
.s-map-pin .v-icon { inline-size: 2.75rem; block-size: 2.75rem; fill: var(--v-ground); stroke-width: 2; }
.s-map-circle {
  position: absolute; inset-block-start: 50%; left: 50%; inline-size: 10rem; block-size: 10rem; translate: -50% -50%;
  border: 2px solid var(--v-accent); border-radius: 50%; background: color-mix(in srgb, transparent, var(--v-accent) 20%);
}
.s-map-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin: .5rem 0 0; color: var(--s-muted); font-size: .875rem; }
.s-map-note a { color: inherit; text-underline-offset: .2em; }
.s-map-note a:focus-visible { outline-color: var(--v-ink); }

/* The realtor: face, name and licence, the office, then the presses. */
.s-agent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem 1.25rem; }
.s-listing .s-agent .s-agent-face { inline-size: 5rem; block-size: 5rem; margin: 0; }
.s-agent .s-person-mark .v-icon { inline-size: 2.25rem; block-size: 2.25rem; }
.s-agent-name { margin: 0; color: var(--v-ink); font: 400 1.375rem/1.25 var(--s-display); }
.s-agent-role { margin: .15rem 0 0; color: var(--v-ink); font-size: .9375rem; }
.s-agent .s-licence { margin: .1rem 0 0; }
.s-agent-office { margin: .15rem 0 0; color: var(--s-muted); font-size: .9375rem; }
.s-agent-presses { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; }
.s-listing-press { justify-content: center; gap: .5rem; min-block-size: 3rem; margin: 0; padding: .5rem 1.4rem; font: 500 1rem/1 var(--v-font); text-decoration: none; }
.s-listing-press .v-icon { flex: none; inline-size: 1.25rem; block-size: 1.25rem; }
/* The outlined call press in the part's own accent, a band's where it sits on one, toward the ink hovered. */
.s-call.s-listing-press { border-color: var(--s-accent); color: var(--s-accent); }
.s-call.s-listing-press:hover { border-color: var(--v-ink); color: var(--v-ink); }
.s-listing-back { margin: 0; padding-block-start: clamp(2.5rem, 5vw, 3.5rem); }

/* The phone's bar: both presses, full width; it hides while the photos
   are open, and fades out while the contact block's own presses are on
   screen (site_listing.js marks both), hidden from a finger, the keyboard
   and a screen reader once faded. Drawn only where there is a press to hold. */
.s-listing-aside { display: none; }
.s-listing-bar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 12;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .75rem;
  padding: .625rem var(--s-gutter) calc(.625rem + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--v-line); background: var(--v-ground);
  transition: opacity .3s ease, visibility .3s;
}
/* Its visibility takes the presses away once the fade has run, never
   during it, so a press in the fade is the bar's, not the row's under it. */
.s-listing-bar.is-away { opacity: 0; visibility: hidden; }
/* A look's margin for its search press stays out of the bar and the
   contact block, where the two presses stand level in one row. */
.s-listing-bar a.s-go, .s-listing-contact a.s-go { margin-block-start: 0; }
.s-viewing .s-listing-bar { display: none; }
/* Where the bar holds the presses, the top bar's call gives way to it, and
   the page ends with the bar's room, so the footer's last line clears it. */
@media (max-width: 63.99rem) {
  .s-top--bar .s-call { display: none; }
  .s-top--bar ~ .v-a11y { margin-block-end: calc(4.5rem + env(safe-area-inset-bottom)); }
}

@media (min-width: 64rem) {
  .s-listing {
    grid-template-columns: minmax(0, 1fr) 21rem; grid-template-areas: "gallery aside" "story aside"; column-gap: clamp(2rem, 4vw, 3.5rem);
    inline-size: 100%; max-inline-size: var(--s-wide); margin-inline: auto; padding: 1.25rem var(--s-gutter) clamp(2.5rem, 5vw, 3.5rem); box-sizing: border-box;
  }
  .s-gallery { grid-area: gallery; }
  .s-listing-story { grid-area: story; padding-inline: 0; }
  /* Every photo in one row, as tall as the window spares, so the title,
     price and numbers sit inside a 670 px page area: the cover two thirds
     wide and the rest beside it in pairs, a third each, the row moving
     along by the chevrons, a swipe of the trackpad or the keyboard. */
  .s-gallery-row {
    display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: calc((100% - 1rem) / 3); gap: .5rem;
    aspect-ratio: auto; block-size: clamp(16rem, calc(var(--s-screen, 100svh) - 23rem), 26rem); max-block-size: none; border-radius: var(--s-round); background: none;
  }
  .s-gallery-item:first-child { grid-row: 1 / -1; grid-column: span 2; }
  .s-gallery[data-count="2"] .s-gallery-row { grid-auto-columns: calc((100% - .5rem) / 2); }
  .s-gallery[data-count="2"] .s-gallery-item { grid-row: 1 / -1; grid-column: span 1; }
  .s-gallery[data-count="1"] { inline-size: min(100%, 32rem); }
  .s-gallery[data-count="1"] .s-gallery-row { grid-auto-columns: 100%; }
  .s-gallery[data-count="1"] .s-gallery-item { grid-column: span 1; }
  .s-gallery-photo { background: var(--v-raised); }
  .s-gallery[data-count="2"] .s-gallery-count, .s-gallery[data-count="3"] .s-gallery-count { display: none; }
  /* The chevrons on the plate, one at each end of the row, each there
     while there is more its way (site_listing.js). */
  .s-gallery-step {
    z-index: 1; align-self: center; display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; margin-inline: .75rem; padding: 0;
    border: 0; border-radius: 50%; background: var(--s-plate); color: var(--v-ink); box-shadow: var(--v-shadow); cursor: pointer;
    transition: opacity .25s var(--s-ease);
  }
  /* The row runs left to right in every language: back at the left, on at the right, the arrows never mirrored. */
  .s-gallery-step--back { justify-self: left; }
  .s-gallery-step--on { justify-self: right; }
  .s-gallery .s-gallery-step .v-icon--dir { scale: none; }
  .s-gallery-step[hidden] { display: grid; opacity: 0; pointer-events: none; }
  .s-gallery-step .v-icon { inline-size: 1.375rem; block-size: 1.375rem; }
  .s-gallery-step:focus-visible { outline: 2px solid var(--v-ink); outline-offset: 2px; }
  .s-listing-aside {
    grid-area: aside; position: sticky; inset-block-start: 6rem; align-self: start;
    display: grid; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--v-line); border-radius: var(--s-round); background: var(--v-ground);
  }
  .s-listing-aside-price { margin: 0; color: var(--v-ink); font: 400 1.75rem/1.1 var(--s-display); font-variant-numeric: tabular-nums; }
  .s-listing-aside .s-agent-presses { display: grid; }
  .s-listing-contact, .s-listing-bar { display: none; }
}

/* A manager's draft of the look (#209) says so in a line above the page,
   in every look, in the look's own ink and ground turned over. */
.s-draft-line {
  margin: 0; padding: .625rem var(--s-gutter); background: var(--v-ink); color: var(--v-ground);
  font-size: .9375rem; line-height: 1.45; text-align: center; animation: s-draft-in .4s var(--s-ease);
}
@keyframes s-draft-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .s-draft-line { animation: none; } }

/* The home's toast: a line at the window's foot until it is closed. */
.s-toast {
  position: fixed; inset-inline: var(--s-gutter); inset-block-end: calc(1rem + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; gap: 1rem; max-inline-size: 30rem; margin-inline: auto; padding: .5rem; padding-inline-start: 1.25rem;
  border-radius: var(--s-round); background: var(--v-ink); color: var(--v-ground); animation: s-toast-in .4s var(--s-ease);
}
.s-toast p { flex: 1; margin: 0; }
.s-toast-close { display: grid; place-items: center; flex: none; inline-size: 2.75rem; block-size: 2.75rem; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.s-toast-close:focus-visible { outline: 2px solid var(--v-ground); outline-offset: -4px; }
.s-toast-close .v-icon { inline-size: 1.25rem; block-size: 1.25rem; }
@keyframes s-toast-in { from { opacity: 0; translate: 0 1rem; } }

/* The contact form (#143): a block on the first band, its head in the
   display face, each box on the ground under its label. Where the block
   is wide the message box stands beside the other three, as tall as
   they are. A box's message and the form's own fade in under it and out
   once it is put right; the thanks rises in the form's place. On a
   listing's page on a computer the part shows the form alone, the
   realtor being in the side's panel. The browser never anchors its
   scroll inside, so the fields giving way to the thanks leave the page
   where it was. */
.s-lead {
  position: relative; container-type: inline-size; display: grid; gap: 1.5rem; margin-block-start: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3.5vw, 2.75rem); border-radius: var(--s-round); background: var(--s-band-1); overflow-anchor: none;
}
.s-listing-contact .s-lead { margin-block-start: 1.5rem; }
.s-lead-title { max-inline-size: 24ch; margin: 0; color: var(--v-ink); font: 400 clamp(1.5rem, 2.6vw, 2.125rem)/1.2 var(--s-display); text-wrap: balance; }
.s-lead-body, .s-lead-fields { display: grid; gap: 1.25rem; }
.s-lead-body { gap: 1.75rem; }
.s-lead-field { display: grid; grid-template-rows: auto 1fr auto; gap: .4rem; min-inline-size: 0; }
.s-lead-label { color: var(--v-ink); font-weight: 500; }
.s-lead-box {
  box-sizing: border-box; inline-size: 100%; min-block-size: 3rem; padding: .7rem .9rem; border: 1px solid var(--s-band-muted); border-radius: .625rem;
  background: var(--v-ground); color: var(--v-ink); font: inherit; font-size: max(1rem, 16px); transition: border-color .2s ease;
}
.s-lead-box--area { min-block-size: 8.5rem; line-height: 1.6; resize: vertical; }
/* With the script the message box grows with its text, and near its cap
   a quiet count of the letters left fades in under it; empty, the count
   stands out of the field's rows. */
.s-lead-box--grows { overflow: hidden; resize: none; }
.s-lead-field--message { grid-template-rows: auto 1fr auto auto; }
.s-lead-count { margin: 0; color: var(--s-band-muted); font-size: .875rem; animation: s-fade .25s ease both; }
.s-lead-count:empty { position: absolute; animation: none; }
.s-lead-box:hover { border-color: var(--v-accent); }
.s-lead-box:focus-visible { border-color: var(--v-accent); outline: 2px solid var(--v-ink); outline-offset: 2px; }
.s-lead-box[aria-invalid="true"] { border: 2px solid var(--s-lead-danger); padding: calc(.7rem - 1px) calc(.9rem - 1px); }
.s-lead-box[dir="ltr"] { text-align: right; }
[dir="ltr"][data-layout] .s-lead-box[dir="ltr"] { text-align: left; }
.s-lead-error, .s-lead-failed { margin: 0; color: var(--s-lead-danger); font-size: .9375rem; line-height: 1.45; animation: s-fade .25s ease both; }
.s-lead-error.is-leaving, .s-lead-failed.is-leaving { animation: s-fade-out .25s ease both; }
.s-lead-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.s-lead.is-sent { align-content: center; }
.s-lead .s-lead-foot .s-lead-send { margin: 0; }
.s-lead-send[aria-disabled="true"] { background: var(--v-accent-soft); cursor: progress; }
/* Its fade and rise are the shared sent answer's (sent.css); the site gives its colours and type. */
.s-lead-thanks { margin: 0; color: var(--v-ink); font: 400 clamp(1.375rem, 2.4vw, 1.875rem)/1.35 var(--s-display); --sent-mark: var(--v-accent); --sent-ease: var(--s-ease); }
/* The trap: in the form for a robot, out of sight and out of reach. */
.s-lead-trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@container (min-width: 34rem) {
  .s-lead-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-lead-field--email, .s-lead-field--message { grid-column: 1 / -1; }
}
@container (min-width: 52rem) {
  .s-lead-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "name message" "tel message" "email message"; }
  .s-lead-field--name { grid-area: name; }
  .s-lead-field--tel { grid-area: tel; }
  .s-lead-field--email { grid-area: email; }
  .s-lead-field--message { grid-area: message; }
  .s-lead-field--message .s-lead-box--area { block-size: 100%; }
}
@media (min-width: 64rem) {
  .s-listing-contact { display: block; }
  .s-listing-contact .s-agent { display: none; }
  .s-listing-contact .s-lead { margin-block-start: 0; }
}
/* Each look's hand on the form: Atelier's block bare under a hairline in
   its accent, as its rules; Signature and Shalva centre its head as their
   titles; Shchuna's soft and round; Duet's on its second band, its tiles'
   corners; Meridian's on the shared rounding, as every box is rounded. */
[data-layout="atelier"] .s-lead { border: 1px solid var(--v-accent); background: none; }
[data-layout="atelier"] .s-lead-box { border-color: var(--v-accent); border-radius: .375rem; }
[data-layout="signature"] .s-lead-title, [data-layout="shalva"] .s-lead-title { justify-self: center; text-align: center; }
[data-layout="signature"] .s-lead-thanks, [data-layout="shalva"] .s-lead-thanks { text-align: center; }
[data-layout="signature"] .s-lead-thanks::before, [data-layout="shalva"] .s-lead-thanks::before { margin-inline: auto; }
[data-layout="shalva"] .s-lead-label { font-weight: 400; letter-spacing: .02em; }
[data-layout="shchuna"] .s-lead { border-radius: 1.5rem; }
[data-layout="shchuna"] .s-lead-box { border-radius: 1rem; }
[data-layout="duet"] .s-lead { border-radius: 1.25rem; background: var(--s-band-2); }
[data-layout="duet"] .s-lead-box { border-radius: .75rem; }
@keyframes s-fade-out { to { opacity: 0; } }

/* ---- Atelier: the magazine, light ---- */

[data-layout="atelier"] { --s-round: .75rem; }
[data-layout="atelier"] .s-top { border-block-end: 1px solid var(--v-line); }
/* The masthead on the page's own ground: the name large and tight,
   unveiled from its foot as the page opens, the picture after it, the
   standfirst last. Nothing moves by itself after. */
[data-layout="atelier"] .s-hero { display: grid; row-gap: clamp(2rem, 5vw, 3rem); padding-block-start: clamp(2.5rem, 7vw, 5rem); }
[data-layout="atelier"] .s-hero-plate { display: flex; flex-direction: column; align-items: flex-start; padding-inline: var(--s-gutter); }
[data-layout="atelier"] .s-hero-frame { aspect-ratio: 4 / 5; margin-inline: var(--s-gutter); border-radius: 1.25rem; animation: s-unveil 1.4s .3s var(--s-ease) both; }
[data-layout="atelier"] .s-hero-picture { animation: s-settle 2.4s .3s var(--s-ease) both; }
/* The contact sheet: one row of photos at one height, the frame's own
   shape given up to it. */
[data-layout="atelier"] .s-band { aspect-ratio: auto; border-radius: 0; margin-inline: 0; }
[data-layout="atelier"] .s-reel-photo { border-radius: var(--s-round); }
[data-layout="atelier"] .s-name { font-size: clamp(3rem, 9vw, 7rem); line-height: .95; letter-spacing: -.01em; animation: s-unveil 1.1s var(--s-ease) both; }
[data-layout="atelier"] .s-standfirst {
  display: block; max-inline-size: 36ch; margin-block-start: clamp(1.75rem, 3vw, 2.5rem);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.8;
  animation: s-rise 1s .6s var(--s-ease) both;
}
/* The page's one thin accent line, over the standfirst. */
[data-layout="atelier"] .s-standfirst::before { content: ""; display: block; inline-size: 4rem; block-size: 1px; margin-block-end: 1.25rem; background: var(--v-accent); }
[data-layout="atelier"] .s-hero--bare .s-name { font-size: clamp(3.25rem, 11vw, 8.5rem); }
/* The hairline stands above the head, the magazine's way. */
[data-layout="atelier"] .s-section-title { display: flex; flex-direction: column-reverse; letter-spacing: -.005em; }
[data-layout="atelier"] .s-section-title::after { inline-size: 4rem; margin-block: 0 1.25rem; }
/* The search sentence in the display face, set smaller than the name. */
[data-layout="atelier"] .s-search { display: block; animation: s-rise 1s .7s var(--s-ease) both; }
[data-layout="atelier"] .s-sentence { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.6; }
[data-layout="atelier"] .s-go, [data-layout="atelier"] .s-search-more { margin-block-start: 1.25rem; }
/* The narrowest column holds the details and the search press on one row. */
[data-layout="atelier"] .s-search-more:not([hidden]) { margin-inline-end: .625rem; }
/* One story a row, no grid: on a computer the photo beside its words,
   every other one mirrored. Four stories; the rest wait for their own page. */
[data-layout="atelier"] .s-listings .s-grid { display: flex; flex-direction: column; gap: clamp(3.5rem, 8vw, 7rem); }
[data-layout="atelier"] .s-listings .s-card:nth-child(n + 5) { display: none; }
/* Short of a computer the search stands right under the photos: the
   plate gives its parts up to the hero, the name and standfirst first,
   then the photos. */
@media (max-width: 63.99rem) {
  [data-layout="atelier"] .s-hero--search .s-hero-plate { display: contents; }
  [data-layout="atelier"] .s-hero--search .s-hero-plate > * { margin-inline: var(--s-gutter); }
  [data-layout="atelier"] .s-hero--search .s-name, [data-layout="atelier"] .s-hero--search .s-standfirst, [data-layout="atelier"] .s-hero--search .s-hero-frame { order: -1; }
  [data-layout="atelier"] .s-hero--search .s-standfirst { margin-block-start: 0; }
}
[data-layout="atelier"] .s-card-title { font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.2; }
[data-layout="atelier"] .s-price { font-size: 1.5rem; }
[data-layout="atelier"] .s-people { justify-content: flex-start; }
/* A team row set to its start takes its press to the team page (#146) there too. */
[data-layout="atelier"] .s-team .s-all, [data-layout="shchuna"] .s-team .s-all,
[data-layout="meridian"] .s-team .s-all, [data-layout="duet"] .s-team .s-all,
[data-layout="atelier"] .s-team-foot, [data-layout="shchuna"] .s-team-foot, [data-layout="meridian"] .s-team-foot,
[data-layout="duet"] .s-team-foot, [data-layout="shalva"] .s-team-foot { text-align: start; }
[data-layout="atelier"] .s-person { align-items: flex-start; text-align: start; }
[data-layout="atelier"] .s-person-face { inline-size: clamp(6rem, 10vw, 7rem); block-size: clamp(6rem, 10vw, 7rem); }
/* The page's one band of colour. */
[data-layout="atelier"] .s-about { display: grid; gap: 0 4rem; padding-block-end: var(--s-space); background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
[data-layout="atelier"] .s-about p, [data-layout="atelier"] .s-about ul, [data-layout="atelier"] .s-about ol { font-size: clamp(1.125rem, 1.6vw, 1.25rem); }
/* Its stack as prints on paper: a wide paper edge, nearly square corners. */
[data-layout="atelier"] .s-about-shot { border-width: .5rem; border-radius: .25rem; }
/* The featured as the magazine's covers: each plate a step off the page's
   paper, the first band's tint, so it never melts into the page; its
   corners square, the thin accent line over the title, as over the standfirst. */
[data-layout="atelier"] .s-show-plate { margin: 0 .75rem .75rem; border-radius: .25rem; }
[data-layout="atelier"] .s-show-plate::before { content: ""; inline-size: 2.5rem; block-size: 1px; margin-block-end: .5rem; background: var(--s-accent); }
[data-layout="atelier"] .s-show-title { letter-spacing: -.005em; }
@media (min-width: 48rem) {
  [data-layout="atelier"] .s-listings .s-card-box { flex-direction: row; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
  [data-layout="atelier"] .s-listings .s-card:nth-child(even) .s-card-box { flex-direction: row-reverse; }
  [data-layout="atelier"] .s-listings .s-card-photo { flex: 0 1 37.5rem; min-inline-size: 0; }
  [data-layout="atelier"] .s-listings .s-card-body { flex: 1 0 16rem; padding: 0; }
}
/* On a computer the name, the search and the menu stand in a narrow
   start-side column that stays put; the picture and the stories run in
   the wide one. The page's two margins match: the piece stands as far
   from the far edge as the column from the near one. */
@media (min-width: 64rem) {
  [data-layout="atelier"] .s-top { display: none; }
  /* A page with no hero keeps the bar: its column is the home's alone. */
  [data-layout="atelier"] .s-top--page { display: flex; }
  /* The column's top is the page's own top padding, pinned there from the
     first pixel of scroll; the gap keeps the wide column's piece and
     stories well clear of it, whatever the piece. */
  [data-layout="atelier"] {
    --s-atelier-top: clamp(3rem, 5vw, 4.5rem); --s-atelier-gap: clamp(4.5rem, 6vw, 6rem);
    --s-atelier-side: max(var(--s-gutter), calc((100vw - 96rem) / 2 + var(--s-gutter)));
  }
  [data-layout="atelier"] .s-main {
    display: grid; grid-template-columns: var(--s-atelier-side) minmax(15rem, 20rem) minmax(0, 1fr) var(--s-atelier-side);
    padding-block-start: var(--s-atelier-top);
  }
  [data-layout="atelier"] .s-hero {
    position: static; grid-column: 2 / 5; grid-row: 1 / 6;
    grid-template-columns: subgrid; grid-template-rows: subgrid; row-gap: 0; padding: 0;
  }
  /* A window too short for the whole column pins its foot (sites.js). */
  [data-layout="atelier"] .s-hero-plate {
    position: sticky; inset-block-start: var(--s-atelier-top); grid-column: 1; grid-row: 1 / -1; align-self: start; padding: 0;
    min-block-size: calc(var(--s-screen, 100svh) - var(--s-atelier-top) - 2rem);
    /* Its locked run ends this far above whatever follows the hero, the
       office's band among them, so its foot never meets it. */
    margin-block-end: clamp(3rem, 6vw, 5rem);
  }
  [data-layout="atelier"] .s-hero-logo { display: block; --s-logo-h: 3.5rem; margin-block-end: 2rem; }
  [data-layout="atelier"] .s-hero .s-name { font-size: clamp(2.25rem, 3.2vw, 3.25rem); }
  [data-layout="atelier"] .s-standfirst { max-inline-size: 30ch; font-size: 1.0625rem; }
  [data-layout="atelier"] .s-search { margin-block-start: 2rem; }
  [data-layout="atelier"] .s-sentence { font-size: 1.375rem; }
  /* A short window takes the column's air in, so the whole column stands
     still in view down to a 670px page. */
  @media (max-height: 56rem) {
    [data-layout="atelier"] .s-hero-logo { --s-logo-h: 2.75rem; margin-block-end: 1rem; }
    [data-layout="atelier"] .s-standfirst { margin-block-start: 1rem; }
    [data-layout="atelier"] .s-standfirst::before { margin-block-end: .75rem; }
    [data-layout="atelier"] .s-search { margin-block-start: 1.25rem; }
    /* The search's rows close up. */
    [data-layout="atelier"] .s-go, [data-layout="atelier"] .s-search-more { margin-block-start: .75rem; }
    [data-layout="atelier"] .s-menu--plate { margin-block-start: 1rem; }
    [data-layout="atelier"] .s-menu--plate .s-menu-link { min-block-size: 2.25rem; font-size: 1.125rem; }
    [data-layout="atelier"] .s-menu--plate .s-lang-link { min-block-size: calc(2.125rem - 2px); }
  }
  [data-layout="atelier"] .s-hero--reel .s-hero-frame { aspect-ratio: auto; }
  [data-layout="atelier"] .s-hero-frame {
    grid-column: 2 / 3; grid-row: 1; aspect-ratio: 3 / 2; max-block-size: 80vh; margin: 0 0 0 0; margin-inline-start: var(--s-atelier-gap);
  }
  [data-layout="atelier"] .s-featured, [data-layout="atelier"] .s-chips, [data-layout="atelier"] .s-listings, [data-layout="atelier"] .s-team { grid-column: 3; padding-inline: var(--s-atelier-gap) 0; }
  [data-layout="atelier"] .s-hero .s-hero-frame { margin-inline-start: var(--s-atelier-gap); }
  [data-layout="atelier"] .s-featured { grid-row: 2; }
  [data-layout="atelier"] .s-chips { grid-row: 3; }
  [data-layout="atelier"] .s-listings { grid-row: 4; }
  [data-layout="atelier"] .s-team { grid-row: 5; }
  [data-layout="atelier"] .s-about { grid-column: 1 / -1; grid-row: 6; grid-template-columns: 1fr 2fr; margin-block-start: var(--s-space); }
  [data-layout="atelier"] .s-about .s-section-title { grid-row: span 2; }
  [data-layout="atelier"] .s-home-share { grid-column: 1 / -1; grid-row: 7; }
}

/* Atelier's listing page (#140): the lead photo alone, as its magazine leads. */
@media (min-width: 64rem) {
  [data-layout="atelier"] .s-gallery { inline-size: min(100%, 32rem); }
  [data-layout="atelier"] .s-gallery-row { grid-auto-columns: 100%; }
  [data-layout="atelier"] .s-gallery-item { grid-row: 1 / -1; grid-column: span 1; }
  [data-layout="atelier"] .s-gallery[data-count] .s-gallery-count { display: block; }
  [data-layout="atelier"] .s-listing-about p { font-size: 1.1875rem; }
}

/* ---- Signature: the flagship, deep ---- */

/* The logo is the hero's, centred; the bar keeps the phone press alone. */
[data-layout="signature"] .s-top--logo .s-brand { display: none; }
/* A plate the hero's full height stands at its start side holding the
   logo, the name and a drawn rule; the picture drifts beside it, its inner
   corners rounded. On a phone the picture fills the hero and the plate
   sits across its foot. */
/* One column the hero's width, never widened by a long unbroken name. */
[data-layout="signature"] .s-hero { display: grid; grid-template-columns: minmax(0, 1fr); min-block-size: min(88svh, 54rem); overflow: hidden; text-align: center; }
[data-layout="signature"] .s-hero-frame { position: absolute; inset: 0; animation: s-fade 1.8s ease both; }
[data-layout="signature"] .s-hero-plate {
  position: relative; z-index: 1; align-self: end; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  padding: clamp(2.25rem, 6vw, 3.5rem) var(--s-gutter);
  background: var(--s-plate); backdrop-filter: blur(10px);
  animation: s-rise 1.2s .35s var(--s-ease) both;
}
[data-layout="signature"] .s-hero-logo, [data-layout="signature"] .s-rule { display: block; }
[data-layout="signature"] .s-hero-logo { --s-logo-h: 5.5rem; }
[data-layout="signature"] .s-name { max-inline-size: min(14ch, 100%); font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.12; letter-spacing: .02em; }
[data-layout="signature"] .s-rule { inline-size: 5rem; animation: s-draw 1.4s .9s var(--s-ease) both; }
[data-layout="signature"] .s-hero--bare { min-block-size: 30rem; place-items: center stretch; background: var(--v-panel); }
[data-layout="signature"] .s-hero--bare .s-hero-plate { align-self: center; padding-block-end: clamp(2.25rem, 6vw, 3.5rem); background: none; backdrop-filter: none; }
[data-layout="signature"] .s-hero--bare .s-name { font-size: clamp(2.75rem, 7vw, 5.5rem); }
/* With no picture the plate says what the office is, under its rule. */
/* Under the rule, the office in one sentence: quiet, in ink, since on a
   phone it may lie on the plate over the photos. */
[data-layout="signature"] .s-standfirst { max-inline-size: 34ch; color: var(--v-ink); font-size: 1.0625rem; line-height: 1.8; }
[data-layout="signature"] .s-hero--bare .s-standfirst { max-inline-size: 40ch; color: var(--s-muted); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.9; }
/* The search sentence closes the plate, centred, quieter than the name. */
[data-layout="signature"] .s-search { display: block; }
[data-layout="signature"] .s-sentence { font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.7; }
[data-layout="signature"] .s-go, [data-layout="signature"] .s-search-more { margin-block-start: 1rem; }
/* The details stand a row of their own here: a touch less air each side
   keeps the windows whole on the first screen. */
[data-layout="signature"] .s-search-more, [data-layout="signature"] .s-search-more:not([hidden]) + .s-go { margin-block-start: .75rem; }
.s-js[data-layout="signature"] .s-hero-picture { animation: s-drift 36s ease-in-out infinite alternate; }
/* On a phone the plate stands under the photos, never over a caption. */
[data-layout="signature"] .s-hero--reel { display: flex; flex-direction: column; min-block-size: 0; }
[data-layout="signature"] .s-hero--reel .s-hero-frame { position: relative; order: -2; }
[data-layout="signature"] .s-hero--reel .s-hero-plate { align-self: stretch; background: none; backdrop-filter: none; }
[data-layout="signature"] .s-section-title { text-align: center; }
[data-layout="signature"] .s-section-title::after { margin-inline: auto; transform-origin: 50% 50%; }
/* The neighbourhoods centred under the hero, as the heads are. */
[data-layout="signature"] .s-chips { text-align: center; }
[data-layout="signature"] .s-chips ul { justify-content: center; }
[data-layout="signature"] .s-card-title { font-size: 1.5rem; }
[data-layout="signature"] .s-price { color: var(--s-accent); }
[data-layout="signature"] .s-about { padding-block-end: var(--s-space); background: var(--s-band-1); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); text-align: center; }
[data-layout="signature"] .s-about p, [data-layout="signature"] .s-about ul, [data-layout="signature"] .s-about ol { margin-inline: auto; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
/* The featured centred under their head, each plate centred on its
   photo's foot, the price in the band's accent, as on its cards. */
[data-layout="signature"] .s-showcase { justify-items: center; }
[data-layout="signature"] .s-show { inline-size: 100%; }
[data-layout="signature"] .s-show-plate { justify-self: stretch; justify-items: center; text-align: center; }
@media (min-width: 64rem) {
  [data-layout="signature"] .s-hero--picture, [data-layout="signature"] .s-hero--reel { display: grid; grid-template-columns: minmax(26rem, max(38%, var(--s-edge-words))) minmax(0, 1fr); min-block-size: min(88svh, 54rem); }
  [data-layout="signature"] .s-hero--picture .s-hero-plate, [data-layout="signature"] .s-hero--reel .s-hero-plate { align-self: stretch; gap: clamp(.75rem, 2.5svh, 1.5rem); padding-block: clamp(1.5rem, 3svh, 4rem); padding-inline: var(--s-edge) clamp(4rem, 5vw, 5rem); background: var(--v-ground); backdrop-filter: none; }
  [data-layout="signature"] .s-hero--picture .s-hero-frame, [data-layout="signature"] .s-hero--reel .s-hero-frame { position: relative; grid-area: 1 / 2; border-start-start-radius: 1.5rem; border-end-start-radius: 1.5rem; }
  /* Rows of three, a short last row centred under them. */
  [data-layout="signature"] .s-listings .s-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  [data-layout="signature"] .s-listings .s-card { flex: 0 0 calc((100% - 2 * clamp(1.5rem, 3vw, 3rem)) / 3); }
}

/* Signature's listing page (#140): its plate's ground under the side panel. */
[data-layout="signature"] .s-listing-aside { border-color: transparent; background: var(--s-band-1); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }

/* ---- Shchuna: the neighbourhood, warm, round, search first ---- */

[data-layout="shchuna"] { --s-space: clamp(4rem, 9vw, 8rem); --s-round: 1.5rem; }
[data-layout="shchuna"] .s-main h1, [data-layout="shchuna"] .s-main h2, [data-layout="shchuna"] .s-main h3, [data-layout="shchuna"] .s-main h4 { font-weight: 500; }
/* The search sentence leads, close under the bar, its boxes' lines drawn
   one after another; the photos start on the first screen under it. */
[data-layout="shchuna"] .s-hero { display: grid; padding: 0 var(--s-gutter); }
[data-layout="shchuna"] .s-hero-plate {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  /* Reckoned from the window: the hero's gutter already narrows its box. */
  padding: clamp(3rem, 7vw, 6rem) calc(var(--s-edge) - var(--s-gutter));
}
[data-layout="shchuna"] .s-hero--search .s-hero-plate { padding-block: clamp(1rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 3rem); }
[data-layout="shchuna"] .s-name { font-size: clamp(2.75rem, 8vw, 5.5rem); animation: s-rise .8s var(--s-ease) both; }
[data-layout="shchuna"] .s-standfirst { max-inline-size: 40ch; margin-block: 1rem 0; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.7; animation: s-rise .8s .05s var(--s-ease) both; }
[data-layout="shchuna"] .s-hero--search .s-standfirst { margin-block: 0 1.75rem; font-size: 1rem; }
[data-layout="shchuna"] .s-hero--search .s-name { margin-block-end: .5rem; color: var(--s-muted); font-size: clamp(1.125rem, 2vw, 1.375rem); }
[data-layout="shchuna"] .s-search { display: block; animation: s-rise 1s .1s var(--s-ease) both; }
[data-layout="shchuna"] .s-sentence { font-size: clamp(2rem, 5.5vw, 3.25rem); line-height: 1.4; }
[data-layout="shchuna"] .s-pick {
  border-block-end: 0; padding-block-end: .08em;
  background: linear-gradient(var(--v-accent), var(--v-accent)) no-repeat center bottom / 100% 3px;
  animation: s-underline .8s .5s var(--s-ease) both;
}
/* Three lines, each centred on its own. */
[data-layout="shchuna"] .s-line { display: block; }
[data-layout="shchuna"] .s-phrase:nth-child(2) .s-pick { animation-delay: .7s; }
[data-layout="shchuna"] .s-line + .s-line .s-phrase:nth-child(1) .s-pick { animation-delay: .9s; }
[data-layout="shchuna"] .s-line + .s-line + .s-line .s-phrase:nth-child(1) .s-pick { animation-delay: 1.1s; }
[data-layout="shchuna"] .s-pick-word { background-size: 100% 3px; animation: s-underline .8s .5s var(--s-ease) both; }
[data-layout="shchuna"] .s-phrase:nth-child(2) .s-pick-word { animation-delay: .7s; }
[data-layout="shchuna"] .s-line + .s-line .s-phrase:nth-child(1) .s-pick-word { animation-delay: .9s; }
[data-layout="shchuna"] .s-line + .s-line + .s-line .s-phrase:nth-child(1) .s-pick-word { animation-delay: 1.1s; }
[data-layout="shchuna"] .s-go, [data-layout="shchuna"] .s-search-more { margin-block-start: clamp(1.25rem, 3vw, 1.75rem); }
[data-layout="shchuna"] .s-hero-frame { aspect-ratio: 4 / 5; inline-size: 100%; max-inline-size: calc(var(--s-wide) + 8rem); margin-inline: auto; border-radius: 1.5rem; }
/* The band runs out over the hero's gutters to the window's edges, no frame. */
[data-layout="shchuna"] .s-band.s-hero-frame { aspect-ratio: auto; inline-size: auto; max-inline-size: none; margin-inline: calc(-1 * var(--s-gutter)); border-radius: 0; }
/* Its titles one line past a phone, so its short photos' strips stay
   short and the band fits the first screen (#230). */
@media not (max-width: 40rem) {
  [data-layout="shchuna"] .s-band .s-reel-caption .s-reel-title { display: block; min-block-size: 0; }
}
/* The neighbourhoods, filled chips sliding in from the start side. */
[data-layout="shchuna"] .s-chip { border-color: transparent; background: var(--s-band-1); --s-muted: var(--s-band-muted); transition: background-color .25s ease; }
[data-layout="shchuna"] .s-chip:hover { background: var(--s-band-2); }
.s-js[data-layout="shchuna"] .s-chips [data-reveal] { transition-delay: calc(var(--s-i, 0) * 60ms); }
.s-js[data-layout="shchuna"] .s-chips [data-reveal]:not(.is-shown) { translate: 1.25rem 0; }
.s-js[dir="ltr"][data-layout="shchuna"] .s-chips [data-reveal]:not(.is-shown) { translate: -1.25rem 0; }
/* The photo lifts a little toward the reader. */
[data-layout="shchuna"] .s-card-photo { transition: translate .35s var(--s-ease); }
[data-layout="shchuna"] .s-card:hover .s-card-photo { translate: 0 -4px; }
[data-layout="shchuna"] .s-card-title { font-size: 1.25rem; }
[data-layout="shchuna"] .s-facts { font-size: 1rem; }
[data-layout="shchuna"] .s-people { justify-content: flex-start; }
[data-layout="shchuna"] .s-person-face { inline-size: clamp(6rem, 10vw, 7rem); block-size: clamp(6rem, 10vw, 7rem); }
[data-layout="shchuna"] .s-about {
  /* Never the words on the panel's edge where the page is about as wide as its column. */
  margin: var(--s-space) var(--s-gutter) var(--s-gutter); padding: var(--s-space) max(clamp(1.5rem, 4vw, 3.5rem), calc(var(--s-bleed) - var(--s-gutter)));
  border-radius: 1.5rem; background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
[data-layout="shchuna"] .s-about p, [data-layout="shchuna"] .s-about ul, [data-layout="shchuna"] .s-about ol { font-size: 1.125rem; }
[data-layout="shchuna"] .s-about-shot { border-radius: 1.25rem; }
/* The featured warm and round: each plate a soft band-2 pill-cornered
   tile, the card lifting a little toward the reader, as its cards do. */
[data-layout="shchuna"] .s-show-plate { margin: .75rem; border-radius: 1.125rem; background: var(--s-band-2); }
[data-layout="shchuna"] .s-show-box { transition: translate .35s var(--s-ease); }
[data-layout="shchuna"] .s-show:hover .s-show-box { translate: 0 -4px; }
@media (min-width: 64rem) {
  [data-layout="shchuna"] .s-hero-frame { aspect-ratio: 21 / 9; }
  [data-layout="shchuna"] .s-hero--reel .s-hero-frame { aspect-ratio: auto; }
  /* The search leads, the moving piece showing under it on the first screen:
     the sentence sized by the window's height too. */
  [data-layout="shchuna"] .s-hero--search .s-hero-plate { padding-block: 1rem 1.5rem; }
  [data-layout="shchuna"] .s-hero--search .s-standfirst { margin-block-end: 1rem; }
  [data-layout="shchuna"] .s-hero--search .s-sentence { font-size: clamp(2rem, min(5.5vw, 5.5svh), 3.25rem); }
  [data-layout="shchuna"] .s-hero--search .s-go, [data-layout="shchuna"] .s-hero--search .s-search-more { margin-block-start: 1rem; }
}

/* The windows in each look (#193): the facade takes the picture's place,
   its own shape, on the look's ground. Where a look sets the photos
   beside its plate on a computer (Signature, Meridian, Duet), the windows
   fill the height beside it. On a computer the hero fills the first
   screen under the bar, the next section just under the fold, its words
   and windows one block centred in it; Atelier's windows stand that tall. */
[data-layout] .s-hero--windows .s-windows { aspect-ratio: auto; max-block-size: none; }
[data-layout="atelier"] .s-windows { margin-inline: 0; border-radius: 0; }
[data-layout="signature"] .s-windows { background: var(--v-panel); }
[data-layout="shchuna"] .s-windows { padding-block: clamp(1rem, 3vw, 2rem); background: var(--s-band-1); }
@media (min-width: 64rem) {
  [data-layout="atelier"] .s-windows { padding: 0; }
  [data-layout="signature"] .s-hero--reel.s-hero--windows { grid-template-columns: minmax(24rem, max(34%, var(--s-edge-words))) minmax(0, 1fr); min-block-size: calc(var(--s-screen, 100svh) - 4.25rem); }
  [data-layout="meridian"] .s-hero--reel.s-hero--windows { min-block-size: calc(var(--s-screen, 100svh) - 5rem); }
  [data-layout="duet"] .s-hero--reel.s-hero--windows { min-block-size: calc(var(--s-screen, 100svh) - 8.25rem); margin-block-end: 2.5rem; }
  [data-layout="atelier"] .s-hero--reel.s-hero--windows .s-hero-frame { block-size: calc(var(--s-screen, 100svh) - var(--s-atelier-top) - 3.5rem); }
  /* The whole panel shows on the first screen, a clear margin of page
     over and under it, the fold below. */
  [data-layout] .s-hero--reel.s-hero--windows .s-hero-frame, [data-layout] .s-hero--reel.s-hero--index .s-hero-frame { margin-block: 1.75rem; }
  /* Duet's panel is its whole hero card: the card keeps the margin. */
  [data-layout="duet"] .s-hero--reel.s-hero--windows .s-hero-frame, [data-layout="duet"] .s-hero--reel.s-hero--index .s-hero-frame { margin-block: 0; }
  [data-layout="signature"] .s-hero--reel .s-hero-logo { --s-logo-h: clamp(3.5rem, 9svh, 5.5rem); }
  [data-layout="signature"] .s-windows, [data-layout="meridian"] .s-windows, [data-layout="duet"] .s-windows { place-items: stretch; padding: clamp(1rem, 1.5vw, 1.5rem); }
  [data-layout="atelier"] .s-windows { place-items: stretch; }
  [data-layout="signature"] .s-windows-list, [data-layout="atelier"] .s-windows-list, [data-layout="meridian"] .s-windows-list, [data-layout="duet"] .s-windows-list { grid-auto-rows: minmax(0, 1fr); inline-size: 100%; block-size: 100%; }
  [data-layout="signature"] .s-window .s-reel-item, [data-layout="atelier"] .s-window .s-reel-item, [data-layout="meridian"] .s-window .s-reel-item, [data-layout="duet"] .s-window .s-reel-item { block-size: 100%; aspect-ratio: auto; min-block-size: 11rem; }
  [data-layout="signature"] .s-window .s-reel-photo, [data-layout="atelier"] .s-window .s-reel-photo, [data-layout="meridian"] .s-window .s-reel-photo, [data-layout="duet"] .s-window .s-reel-photo { position: absolute; inset: 0; }
  /* One window is the side itself; on Shchuna it stands on the page's
     ground, no band. */
  [data-layout="signature"] .s-windows[data-count="1"], [data-layout="atelier"] .s-windows[data-count="1"], [data-layout="meridian"] .s-windows[data-count="1"], [data-layout="duet"] .s-windows[data-count="1"] { place-items: stretch; padding: 0; }
  [data-layout="signature"] .s-windows[data-count="1"] .s-windows-list, [data-layout="atelier"] .s-windows[data-count="1"] .s-windows-list, [data-layout="meridian"] .s-windows[data-count="1"] .s-windows-list, [data-layout="duet"] .s-windows[data-count="1"] .s-windows-list { grid-template: minmax(0, 1fr) / minmax(0, 1fr); inline-size: 100%; block-size: 100%; }
  [data-layout="signature"] .s-windows[data-count="1"] .s-reel-item, [data-layout="atelier"] .s-windows[data-count="1"] .s-reel-item, [data-layout="meridian"] .s-windows[data-count="1"] .s-reel-item, [data-layout="duet"] .s-windows[data-count="1"] .s-reel-item { block-size: 100%; aspect-ratio: auto; max-inline-size: none; }
  [data-layout="atelier"] .s-windows[data-count="1"] .s-reel-photo { position: absolute; inset: 0; }
  [data-layout="duet"] .s-windows { padding: 1rem; }
  [data-layout="shchuna"] .s-windows[data-count="1"] { background: none; }
}
/* The index in each look (#193): its own shape on the look's ground;
   where a look sets the photos beside its plate on a computer, the hero
   is as tall as its plate and the index stands in the side. */
[data-layout] .s-hero--index .s-index { aspect-ratio: auto; max-block-size: none; }
[data-layout="atelier"] .s-index { margin-inline: 0; border-radius: 0; }
[data-layout="signature"] .s-index { background: var(--v-panel); }
[data-layout="shchuna"] .s-index { background: var(--s-band-1); --s-muted: var(--s-band-muted); }
@media (min-width: 64rem) {
  [data-layout="signature"] .s-hero--index, [data-layout="meridian"] .s-hero--index, [data-layout="duet"] .s-hero--index { min-block-size: 0; }
  /* The index stands in its side as tall as its list, no taller, its
     photo near 4:5 beside the names; on Shchuna the band's width. */
  [data-layout="signature"] .s-index, [data-layout="atelier"] .s-index, [data-layout="meridian"] .s-index, [data-layout="duet"] .s-index { place-items: stretch; padding: clamp(.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem); }
  [data-layout="shchuna"] .s-index { place-items: stretch; padding-block: 1rem; }
  [data-layout] .s-index-list { --s-shot: clamp(10rem, 44cqi, 26rem); inline-size: 100%; }
  /* Its rows and names grow with the screen's height, so the index fills
     most of the room between the bar and the fold. */
  [data-layout] .s-index-name { padding-block: clamp(.5rem, 2.8svh, 1.75rem); }
  [data-layout] .s-index-place { font-size: clamp(1.25rem, min(6cqi, 4.6svh), 3rem); }
  [data-layout] .s-hero--reel.s-hero--index .s-hero-frame { align-self: center; block-size: auto; }
  [data-layout="meridian"] .s-hero--reel.s-hero--index .s-hero-frame { contain: none; }
}
/* The first screen whole (#193): on a computer the bar, the words, the
   search and the whole of the windows or the index fit the first screen.
   Shchuna sets them beside the words, as it does the deck, the hero the
   first screen's height under the bar, the windows filling their side;
   Shalva splits every hero so (its own rules). */
@media (min-width: 64rem) {
  [data-layout="shchuna"] .s-hero--windows, [data-layout="shchuna"] .s-hero--index { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: clamp(4rem, 5vw, 5rem); min-block-size: calc(var(--s-screen, 100svh) - 5rem); padding-inline: var(--s-bleed); }
  [data-layout="shchuna"] .s-hero--reel.s-hero--index { align-items: center; min-block-size: 0; }
  /* Beside a piece the office's name stands in ink, a size the sentence
     beside it does not dwarf. */
  [data-layout="shchuna"] .s-hero--windows .s-name, [data-layout="shchuna"] .s-hero--index .s-name, [data-layout="shchuna"] .s-hero--deck .s-name, [data-layout="shchuna"] .s-hero--scatter .s-name { color: var(--v-ink); font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
  [data-layout="shchuna"] .s-hero--windows .s-hero-plate, [data-layout="shchuna"] .s-hero--index .s-hero-plate { grid-area: 1 / 1; justify-content: center; padding-inline: 0; }
  [data-layout="shchuna"] .s-hero--windows .s-hero-frame, [data-layout="shchuna"] .s-hero--index .s-hero-frame { grid-area: 1 / 2; inline-size: auto; max-inline-size: none; margin: 0; aspect-ratio: auto; }
  [data-layout="shchuna"] .s-hero--windows .s-windows, [data-layout="shalva"] .s-hero--windows .s-windows { place-items: stretch; padding: clamp(1rem, 1.5vw, 1.5rem); }
  [data-layout="shchuna"] .s-hero--windows .s-windows-list, [data-layout="shalva"] .s-hero--windows .s-windows-list { grid-auto-rows: minmax(0, 1fr); inline-size: 100%; block-size: 100%; }
  [data-layout="shchuna"] .s-hero--windows .s-window .s-reel-item, [data-layout="shalva"] .s-hero--windows .s-window .s-reel-item { block-size: 100%; aspect-ratio: auto; min-block-size: 11rem; }
  [data-layout="shchuna"] .s-hero--windows .s-window .s-reel-photo, [data-layout="shalva"] .s-hero--windows .s-window .s-reel-photo { position: absolute; inset: 0; }
  [data-layout="shchuna"] .s-hero--windows .s-windows[data-count="1"], [data-layout="shalva"] .s-hero--windows .s-windows[data-count="1"] { padding: 0; }
  [data-layout="shchuna"] .s-hero--windows .s-windows[data-count="1"] .s-reel-item, [data-layout="shalva"] .s-hero--windows .s-windows[data-count="1"] .s-reel-item { max-inline-size: none; }
  /* Shalva's narrower side sets three still windows one over two, as a
     phone does, never three thin strips; the one on top as wide as the two. */
  [data-layout="shalva"] .s-hero--windows .s-windows[data-count="3"] { --s-cols: 2; }
  [data-layout="shalva"] .s-hero--windows .s-windows[data-count="3"] .s-window:first-child { grid-column: 1 / -1; }
  [data-layout="shalva"] .s-hero--windows .s-windows[data-count="3"] .s-window:first-child .s-reel-item { max-inline-size: none; }
  [data-layout="shchuna"] .s-hero--index .s-index, [data-layout="shalva"] .s-hero--index .s-index { place-items: stretch; padding: clamp(.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem); }
}

/* Shchuna's listing page (#140): the features filled, the side panel round on its band. */
[data-layout="shchuna"] .s-listing-aside { border-color: transparent; background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
[data-layout="shchuna"] .s-listing .s-agent .s-agent-face { inline-size: 6rem; block-size: 6rem; }

/* ---- Meridian ---- */

/* The register: the hero split between a deep panel holding the name and
   the search and the listings' photos rising slowly in two columns beside
   it; the list a column of ruled rows, a small photo at each row's start
   and its price at the row's end. Two deep grounds, the hero's panel and
   the about; the picks on the light band. */
[data-layout="meridian"] { --s-thumb: clamp(6.5rem, 22vw, 12rem); }
[data-layout="meridian"] .s-hero {
  display: grid; padding-block-end: var(--s-gutter);
  background: var(--s-band-3); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
[data-layout="meridian"] .s-hero-plate {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
  padding: clamp(2.5rem, 8vw, 4.5rem) var(--s-gutter) clamp(2rem, 6vw, 3rem);
  /* Sized by its column, never by its words: the sentence scales to it and wraps inside it. */
  min-inline-size: 0; container-type: inline-size; overflow-wrap: break-word;
}
[data-layout="meridian"] .s-hero-plate > * { max-inline-size: 100%; }
/* The sentence's words on the panel's deep band in its own accent, as Duet's. */
[data-layout="meridian"] .s-hero .s-pick, [data-layout="meridian"] .s-hero .s-pick-press { color: var(--s-accent); }
[data-layout="meridian"] .s-hero .s-pick { border-color: var(--s-accent); }
[data-layout="meridian"] .s-rule, [data-layout="meridian"] .s-standfirst, [data-layout="meridian"] .s-search { display: block; }
[data-layout="meridian"] .s-name { max-inline-size: min(14ch, 100%); font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.08; letter-spacing: .01em; animation: s-rise 1.1s .15s var(--s-ease) both; }
[data-layout="meridian"] .s-rule { transform-origin: 100% 50%; animation: s-draw 1.2s .6s var(--s-ease) both; }
[dir="ltr"][data-layout="meridian"] .s-rule { transform-origin: 0 50%; }
[data-layout="meridian"] .s-standfirst { max-inline-size: 40ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.8; animation: s-rise 1s .45s var(--s-ease) both; }
/* The sentence a phrase a line in the panel, large enough to read in the accent. */
[data-layout="meridian"] .s-search { margin-block-start: .5rem; animation: s-rise 1s .6s var(--s-ease) both; }
[data-layout="meridian"] .s-sentence { font-size: clamp(1.5rem, 8cqi, 2.125rem); font-weight: 400; line-height: 1.6; }
/* Each of the sentence's lines a line of the panel: what, then where and for how much. */
[data-layout="meridian"] .s-line { display: block; }
[data-layout="meridian"] .s-hero-frame { margin-inline: var(--s-gutter); border-radius: 1.25rem; aspect-ratio: 4 / 3; animation: s-fade 1.6s ease both; }
/* The band runs edge to edge under the panel, no frame. */
[data-layout="meridian"] .s-band.s-hero-frame { aspect-ratio: auto; margin-inline: 0; border-radius: 0; }
[data-layout="meridian"] .s-hero--bare { padding-block-end: 0; }
[data-layout="meridian"] .s-hero--bare .s-hero-plate { justify-content: center; min-block-size: clamp(22rem, 50svh, 30rem); padding-inline: var(--s-bleed); }
[data-layout="meridian"] .s-hero--bare .s-name { font-size: clamp(3rem, 7vw, 5.5rem); }

/* The rows as cards: each a tone off the page's ground, resting on the
   first band and deepening to the second, a sold or rented one left as it is. */
[data-layout="meridian"] .s-grid { display: flex; flex-direction: column; gap: clamp(.75rem, 1.5vw, 1rem); }
[data-layout="meridian"] .s-card {
  --s-pad: clamp(.75rem, 1.5vw, 1.25rem);
  padding: clamp(1rem, 2vw, 1.5rem) var(--s-pad); border-radius: var(--s-round);
  background: var(--s-band-1); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
  transition: background-color .3s ease;
}
[data-layout="meridian"] .s-card:not(.is-closed):hover { background: var(--s-band-2); }
[data-layout="meridian"] .s-card-box { display: grid; grid-template-columns: var(--s-thumb) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
[data-layout="meridian"] .s-card-photo { border-radius: .75rem; }
[data-layout="meridian"] .s-card-body { gap: .3rem; padding: 0; }
[data-layout="meridian"] .s-card-title { font-size: clamp(1.125rem, 2.2vw, 1.75rem); line-height: 1.25; }
[data-layout="meridian"] .s-facts { font-size: clamp(.875rem, 1.2vw, 1rem); }
[data-layout="meridian"] .s-price { margin: 0; font-size: clamp(1.125rem, 2.4vw, 2rem); }

[data-layout="meridian"] .s-people { justify-content: flex-start; }
[data-layout="meridian"] .s-person { align-items: flex-start; text-align: start; }
/* The about on the hero's deep ground, its head beside its words on a computer. */
[data-layout="meridian"] .s-about {
  display: grid; gap: 0 4rem; margin-block-start: var(--s-space); padding-block-end: var(--s-space);
  background: var(--s-band-3); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
[data-layout="meridian"] .s-about p, [data-layout="meridian"] .s-about ul, [data-layout="meridian"] .s-about ol { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
/* Its stack edged in the deep ground's own lighter band. */
[data-layout="meridian"] .s-about-shot { border-color: var(--s-band-1); }
@media (min-width: 48rem) {
  /* The price stands at the row's far end. */
  [data-layout="meridian"] .s-card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 2rem; }
  [data-layout="meridian"] .s-card-body > * { grid-column: 1; }
  [data-layout="meridian"] .s-card-body > .s-price { grid-column: 2; grid-row: 1 / span 3; text-align: end; }
  /* A price note sits under the price, the two at the row's far end. */
  [data-layout="meridian"] .s-card-body--noted > .s-price { grid-row: 1 / span 2; align-self: end; }
  [data-layout="meridian"] .s-card-body > .s-price-note { grid-column: 2; grid-row: 3; align-self: start; text-align: end; }
  [data-layout="meridian"] .s-about { grid-template-columns: 1fr 2fr; }
  [data-layout="meridian"] .s-about .s-section-title { grid-row: span 2; }
}
@media (min-width: 64rem) {
  [data-layout="meridian"] .s-hero--reel, [data-layout="meridian"] .s-hero--picture {
    grid-template-columns: minmax(24rem, max(36%, var(--s-edge-words))) minmax(0, 1fr); min-block-size: min(86svh, 50rem); padding-block-end: 0;
  }
  [data-layout="meridian"] .s-hero--reel .s-hero-plate, [data-layout="meridian"] .s-hero--picture .s-hero-plate {
    justify-content: center; padding-block: 4rem;
    padding-inline: var(--s-edge) clamp(4rem, 5vw, 5rem);
  }
  /* The frame meets the window's far edge, rounded where it meets the panel. */
  [data-layout="meridian"] .s-hero--reel .s-hero-frame, [data-layout="meridian"] .s-hero--picture .s-hero-frame {
    /* Sized by the panel, never by the photos inside it. */
    grid-area: 1 / 2; block-size: auto; aspect-ratio: auto; margin: 0; contain: size;
    border-radius: 0; border-start-start-radius: 1.5rem; border-end-start-radius: 1.5rem;
  }
  /* An office's own picture stays a band, never a wall. */
  [data-layout="meridian"] .s-hero--picture { min-block-size: min(72svh, 42rem); }
}

/* The featured on the light band edge to edge, under the hero's deep
   panel: each plate that panel's deep ground, the price in its accent. */
[data-layout="meridian"] .s-featured { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--s-band-1); }
[data-layout="meridian"] .s-show-plate { background: var(--s-band-3); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
[data-layout="meridian"] .s-show-plate .s-price { color: var(--s-accent); }

/* Meridian's listing page (#140): the title, price and numbers on its deep panel. */
[data-layout="meridian"] .s-listing-head { padding: 1.25rem 1.5rem; border-radius: var(--s-round); background: var(--s-band-3); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }

/* Meridian's rules go above this line. */

/* ---- Shalva: the calm one, a narrow centred column and the most air ---- */

/* The rows that run off the window take a wider column than the list. */
[data-layout="shalva"] {
  --s-wide: 60rem; --s-space: clamp(6rem, 13vw, 11rem);
  --s-reach: max(var(--s-gutter), calc((100% - 74rem) / 2 + var(--s-gutter)));
  /* The split hero's width, and the bar's inset in the wide column. */
  --s-shalva-hero: min(100vw - 2 * var(--s-gutter), max(70vw, 56rem));
  --s-shalva-bar: max(var(--s-gutter), calc((100vw - 78rem) / 2 + var(--s-gutter)));
}
/* The bar keeps the wide column, lined up with the split hero's words. */
[data-layout="shalva"] .s-top { padding-inline: var(--s-shalva-bar); }
/* The name small and tracked, the photos a short wide strip under it inset
   from the window, the search sentence quiet beneath; all fade in slowly. */
[data-layout="shalva"] .s-hero {
  display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 4vw, 3rem);
  /* Close under the bar, so more of it is on the first screen; room under
     the search press before the next ground begins. */
  padding: 1.5rem var(--s-gutter) 4rem; text-align: center;
}
[data-layout="shalva"] .s-hero-plate { display: contents; }
/* The logo the hero's, centred over the name; the bar keeps the phone press alone. */
[data-layout="shalva"] .s-top--logo .s-brand { display: none; }
[data-layout="shalva"] .s-hero-logo { display: block; order: -3; --s-logo-h: 4.5rem; margin-block-end: -1rem; animation: s-fade 1.1s ease both; }
[data-layout="shalva"] .s-name {
  order: -2; max-inline-size: 30ch; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.6; letter-spacing: .02em;
  animation: s-fade 1.1s ease both;
}
/* The office in one quiet sentence under its name. */
[data-layout="shalva"] .s-standfirst {
  order: -1; max-inline-size: 40ch; margin-block-start: -1rem; font-size: 1.0625rem; line-height: 1.9;
  animation: s-fade 1.1s .25s ease both;
}
[data-layout="shalva"] .s-hero-frame {
  order: -1; inline-size: min(100%, 58rem); aspect-ratio: 21 / 9; border-radius: 1.5rem;
  animation: s-fade 1.1s .25s ease both;
}
/* Square-cornered photos, the strip's own corners round. */
[data-layout="shalva"] .s-reel-item { border-radius: 0; }
/* The deck's cards, the prints and the band's photos stand apart, each
   rounded as the look's own, a print's photo nested inside its border. */
[data-layout="shalva"] :is(.s-deck, .s-scatter, .s-band) .s-reel-item { border-radius: var(--s-round); }
[data-layout="shalva"] .s-scatter .s-reel-photo { border-radius: calc(var(--s-round) - .375rem); }
/* The band as wide as the hero, never as long as its row: centred, it
   would take its whole row's width and push the page sideways. */
[data-layout="shalva"] .s-band { align-self: stretch; }
/* The band runs out over the hero's gutters to the window's edges, no
   strip round it. */
[data-layout="shalva"] .s-band.s-hero-frame { align-self: stretch; inline-size: auto; aspect-ratio: auto; margin-inline: calc(-1 * var(--s-gutter)); border-radius: 0; }
[data-layout="shalva"] .s-search { display: block; order: 1; animation: s-fade 1.1s .5s ease both; }
/* Each of the sentence's two lines centred on its own. */
[data-layout="shalva"] .s-line { display: block; }
[data-layout="shalva"] .s-sentence { font-weight: 400; font-size: clamp(1.375rem, 3vw, 2rem); line-height: 1.7; }
[data-layout="shalva"] .s-go, [data-layout="shalva"] .s-search-more { margin-block-start: 1.75rem; }
/* Heads small, centred, their hairline fading in after them. */
[data-layout="shalva"] .s-section-title { font-size: clamp(1.5rem, 2.6vw, 2.125rem); letter-spacing: .02em; text-align: center; }
[data-layout="shalva"] .s-section-title::after { margin-inline: auto; }
/* The neighbourhoods centred, as the heads are. */
[data-layout="shalva"] .s-chips { text-align: center; }
[data-layout="shalva"] .s-chips ul { justify-content: center; }
/* Parts fade in slowly, rising not at all. */
.s-js[data-layout="shalva"] [data-reveal] { translate: none; transition: opacity 1.1s ease; transition-delay: calc(var(--s-i, 0) * 120ms); }
.s-js[data-layout="shalva"] .s-section-title::after { scale: 1; opacity: 0; transition: opacity 1.1s ease .3s; }
.s-js[data-layout="shalva"] .s-section-title.is-shown::after, .s-js[data-layout="shalva"] .is-shown > .s-section-title::after { opacity: 1; }

[data-layout="shalva"] .s-card-title { font-size: 1.1875rem; }
[data-layout="shalva"] .s-deal { font-size: .8125rem; letter-spacing: .02em; }
[data-layout="shalva"] .s-price { font-size: 1.1875rem; }
/* The seal unfilled: the ground's own plate, ruled in the ink. */
[data-layout="shalva"] .s-seal {
  rotate: none; padding: .55em 1.35em; border-radius: .25rem; background: var(--v-ground); color: var(--v-ink);
  outline: 1px solid var(--v-ink); outline-offset: -.3em; font-weight: 400; font-size: clamp(.75rem, 6cqi, 1.125rem); letter-spacing: .02em;
}

/* The team as a row: a short head on the start side, the row running off
   the window's end edge, the face it cuts dimmed (sites.js) and a line
   under it following the scroll, on band 2. */
[data-layout="shalva"] .s-team {
  display: grid; align-content: start; padding-block: var(--s-space); padding-inline: var(--s-reach) 0;
  background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
[data-layout="shalva"] .s-team .s-section-title { text-align: start; }
[data-layout="shalva"] .s-team .s-section-title::after { margin-inline: 0; }
[data-layout="shalva"] .s-people {
  display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: clamp(1.25rem, 2.5vw, 2rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  /* Room for a card's ring, the first card still level with the head. */
  margin-inline-start: -.5rem; padding: .5rem var(--s-gutter) .5rem .5rem; scroll-padding-inline-start: .5rem;
}
[data-layout="shalva"] .s-person { flex: none; inline-size: 9.5rem; scroll-snap-align: start; }
[data-layout="shalva"] .s-person-face { inline-size: 8rem; block-size: 8rem; }
[data-layout="shalva"] .s-person-name { font-size: 1.1875rem; }
/* A face with no photo on the page's own ground, never lost in the band it sits on. */
[data-layout="shalva"] .s-person-mark, [data-layout="shalva"] .s-person-more-count { background: var(--v-ground); }
[data-layout="shalva"] .s-person-name, [data-layout="shalva"] .s-person-tel, [data-layout="shalva"] .s-person-role, [data-layout="shalva"] .s-person .s-licence { transition: opacity .8s ease; }
[data-layout="shalva"] .s-person-face { transition: opacity .8s ease, outline-offset .4s var(--s-ease), outline-color .4s ease; }
[data-layout="shalva"] .s-person.is-cut > * { opacity: .4; }
[data-layout="shalva"] .s-team .s-progress {
  display: block; block-size: 1px; margin-block-start: 2rem; margin-inline-end: var(--s-reach); background: var(--v-line);
}
[data-layout="shalva"] .s-team .s-progress[hidden] { display: none; }
/* The press to the team page (#146) under the line, level with the row's start. */
[data-layout="shalva"] .s-team .s-all { margin-block-start: 2rem; padding-block-end: 0; text-align: start; }
[data-layout="shalva"] .s-team-foot .s-all { margin-block-start: 1rem; }
[data-layout="shalva"] .s-progress-fill { display: block; block-size: 100%; background: var(--v-accent); scale: var(--s-seen, 0) 1; transform-origin: 100% 50%; }
[dir="ltr"][data-layout="shalva"] .s-progress-fill { transform-origin: 0 50%; }

[data-layout="shalva"] .s-listings .s-grid { gap: clamp(3.5rem, 7vw, 5rem); }
[data-layout="shalva"] .s-about { padding-block-end: var(--s-space); background: var(--s-band-1); text-align: center; --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
[data-layout="shalva"] .s-about p, [data-layout="shalva"] .s-about ul, [data-layout="shalva"] .s-about ol { margin-inline: auto; }
/* Its stack square, each print ruled in the ink inside its edge, as its plates. */
[data-layout="shalva"] .s-about-shot { border-radius: 0; outline: 1px solid var(--v-ink); outline-offset: -.75rem; }
@media (min-width: 48rem) {
  /* Two a row, the second column hung half a card lower: each card two
     half-rows tall, the first in the second column a half-row down. */
  [data-layout="shalva"] .s-listings .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 5rem); }
  [data-layout="shalva"] .s-listings .s-card { grid-row: span 2; }
  [data-layout="shalva"] .s-listings .s-card:nth-child(odd) { grid-column: 1; }
  [data-layout="shalva"] .s-listings .s-card:nth-child(even) { grid-column: 2; }
  [data-layout="shalva"] .s-listings .s-card:nth-child(2) { grid-row: 2 / span 2; }
}
@media (min-width: 64rem) {
  [data-layout="shalva"] .s-team {
    grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem);
  }
  [data-layout="shalva"] .s-team .s-section-title { grid-row: 1 / span 2; padding-block-start: .5rem; }
  [data-layout="shalva"] .s-team .s-progress, [data-layout="shalva"] .s-team .s-all { grid-column: 2; }
}
/* The about's whole team (#146) shows at once: the row wraps, its head above it. */
[data-layout="shalva"] .s-team--all { display: block; padding-inline: var(--s-reach); }
[data-layout="shalva"] .s-team--all .s-people { flex-wrap: wrap; overflow: visible; margin-inline-start: 0; padding: .5rem 0; }
/* A phone's strip tall enough for a photo's caption to leave the photo seen. */
@media (max-width: 40rem) {
  [data-layout="shalva"] .s-hero-frame { aspect-ratio: 3 / 2; }
}
/* On a computer every hero is Meridian's, scaled to seven tenths of the
   window and centred, its outer margins even: the words a third at the
   start, the gap inside their column; the piece a full-height panel
   rounded where it meets them, ending a clear margin above the fold;
   the hero the first screen's height under the bar. */
@media (min-width: 64rem) {
  [data-layout="shalva"] .s-hero.s-hero--reel {
    display: grid; grid-template-columns: minmax(24rem, 36%) minmax(0, 1fr); align-items: stretch; column-gap: 0; min-block-size: calc(var(--s-screen, 100svh) - 4.25rem);
    /* Never under 56rem: a narrower window gives up its margins, not the
       words' column or the piece's. */
    inline-size: var(--s-shalva-hero); margin-inline: auto; padding: 0;
  }
  [data-layout="shalva"] .s-hero--reel .s-hero-plate {
    grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-block: clamp(1.5rem, 4svh, 4rem); padding-inline: max(1rem, calc(var(--s-shalva-bar) - (100vw - var(--s-shalva-hero)) / 2)) 4rem; text-align: start;
  }
  [data-layout="shalva"] .s-hero--reel .s-hero-frame {
    /* Sized by the panel, never by the photos inside it. */
    grid-area: 1 / 2; inline-size: auto; max-inline-size: none; block-size: auto; aspect-ratio: auto; margin: 1.75rem 0; contain: size;
    border-radius: 0; border-start-start-radius: 1.5rem; border-end-start-radius: 1.5rem;
  }
  /* The band runs on to the window's edge, as Atelier's does (#230); the
     words' column keeps its place and width. */
  [data-layout="shalva"] .s-hero.s-hero--reel.s-hero--band {
    grid-template-columns: max(24rem, .36 * var(--s-shalva-hero)) minmax(0, 1fr);
    inline-size: auto; margin-inline: calc((100% - var(--s-shalva-hero)) / 2) 0;
  }
  /* The index stands as tall as its list, as Meridian's does. */
  [data-layout="shalva"] .s-hero--reel.s-hero--index .s-hero-frame { contain: none; }
  /* Narrow inner padding, so the panel keeps the index's photo beside
     its names rather than stacked over them. */
  [data-layout="shalva"] .s-hero--reel.s-hero--index .s-index { padding-inline: .75rem; }
}

/* The featured calm: square-cornered photos as its strip's, centred under
   the head, each plate the first band's tint ruled in the ink, as its seal,
   its words centred, the title tracked. The mark as the seal too. */
[data-layout="shalva"] .s-showcase { justify-items: center; }
[data-layout="shalva"] .s-show { inline-size: 100%; }
[data-layout="shalva"] .s-show-box, [data-layout="shalva"] .s-showcase .s-show-photo { border-radius: 0; }
[data-layout="shalva"] .s-show-link::after { border-radius: 0; }
[data-layout="shalva"] .s-show-plate {
  justify-items: center; margin: .875rem; border-radius: .25rem; text-align: center;
  outline: 1px solid var(--v-ink); outline-offset: -.375rem;
}
[data-layout="shalva"] .s-show-title { font-size: clamp(1rem, 5.5cqi, 1.25rem); letter-spacing: .02em; }
[data-layout="shalva"] .s-show-plate .s-price { font-size: clamp(1.125rem, 5cqi, 1.25rem); }
[data-layout="shalva"] .s-project-mark { border-radius: .25rem; outline: 1px solid var(--v-ink); outline-offset: -.2rem; padding-inline: .7rem; letter-spacing: .02em; }
[data-layout="shalva"] .s-project-mark::before { display: none; }
[data-layout="shalva"] .s-featured-mark { border-radius: .25rem; background: var(--v-ground); color: var(--v-ink); outline: 1px solid var(--v-ink); outline-offset: -.2rem; letter-spacing: .02em; }

/* Shalva's listing page (#140): one calm centred column, the lead photo
   alone, the realtor in the story and the bar at the foot on a computer too. */
@media (min-width: 64rem) {
  [data-layout="shalva"] .s-listing { --s-wide: 60rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "story"; padding-block-end: calc(clamp(2.5rem, 5vw, 3.5rem) + 4.5rem); }
  [data-layout="shalva"] .s-gallery { inline-size: min(100%, 32rem); justify-self: center; }
  [data-layout="shalva"] .s-gallery-row { grid-auto-columns: 100%; }
  [data-layout="shalva"] .s-gallery-item { grid-row: 1 / -1; grid-column: span 1; }
  [data-layout="shalva"] .s-gallery[data-count] .s-gallery-count { display: block; }
  [data-layout="shalva"] .s-listing-aside { display: none; }
  [data-layout="shalva"] .s-listing-contact { display: block; }
  [data-layout="shalva"] .s-listing-bar { display: grid; grid-auto-columns: minmax(0, 14rem); justify-content: center; }
  [data-layout="shalva"] .s-top--bar ~ .v-a11y { margin-block-end: 4.5rem; }
}

/* Shalva's rules go above this line. */

/* ---- Duet ---- */

/* Every listing a pair of equal halves, the photo and a tinted panel,
   one rounded tile and no shadow; the tints step band by band down the
   page. The deepest is a hovered band-3 panel's: the palette's quiet words
   lose AA on it (sage), so there they take the ink. */
[data-layout="duet"] { --s-round: 1.25rem; }
[data-layout="duet"] .s-main h1, [data-layout="duet"] .s-main h2, [data-layout="duet"] .s-main h3, [data-layout="duet"] .s-main h4,
[data-layout="duet"] .s-brand, [data-layout="duet"] .s-price { font-weight: 500; }
/* The hero is one big duet: the words on a tint beside the photos, inset
   from the window, the photos above them on a phone. The words open once
   from the photos' edge, then the name rises and the rest fades in. */
[data-layout="duet"] .s-hero {
  display: grid; grid-template-columns: minmax(0, 1fr); margin: clamp(.25rem, 1.5vw, 1rem) max(var(--s-gutter), calc((100% - 75rem) / 2)) 0;
  border-radius: 1.25rem; overflow: hidden; background: var(--s-band-3);
}
[data-layout="duet"] .s-hero-plate {
  --s-open: inset(100% 0 0 0);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.25rem, 2.5vw, 1.75rem); order: 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--s-band-2); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
  animation: s-duet-open 1.1s var(--s-ease) both;
}
[data-layout="duet"] .s-name { max-inline-size: min(14ch, 100%); font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.05; letter-spacing: -.01em; animation: s-rise 1s .5s var(--s-ease) both; }
[data-layout="duet"] .s-standfirst { max-inline-size: 36ch; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.8; animation: s-fade 1s .75s ease both; }
[data-layout="duet"] .s-search { display: block; animation: s-fade 1s .9s ease both; }
[data-layout="duet"] .s-sentence { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.7; }
[data-layout="duet"] .s-pick, [data-layout="duet"] .s-pick-press { color: var(--s-accent); }
[data-layout="duet"] .s-pick { border-color: var(--s-accent); }
[data-layout="duet"] .s-pick-press[aria-expanded="true"] { background: var(--s-band-3); }
@media (hover: hover) {
  [data-layout="duet"] .s-pick-press:hover { background: var(--s-band-3); }
}
[data-layout="duet"] .s-pick-word { background-image: linear-gradient(var(--s-accent), var(--s-accent)); }
[data-layout="duet"] .s-details-press .s-pick-word { background: none; }
[data-layout="duet"] .s-details-press { border-color: var(--s-accent); }
[data-layout="duet"] .s-detail-option { background: var(--s-band-1); }
[data-layout="duet"] .s-detail-option[aria-pressed="true"] { background: var(--v-accent); }
[data-layout="duet"] .s-go, [data-layout="duet"] .s-search-more { margin-block-start: 1rem; }
/* The bubble stands off the panel on the page's own ground; off the panel,
   on the listings page, it keeps the tinted card it would vanish without. */
[data-layout="duet"] .s-hero-plate .s-bubble { background: var(--v-ground); }
[data-layout="duet"] .s-chip-option { background: var(--s-band-1); }
/* The picked chip keeps the accent fill the tint above would take from it. */
[data-layout="duet"] .s-chip-option[aria-selected="true"] { background: var(--v-accent); }
/* The photo half: the photos on the deepest tint, its photos' corners
   nested in the tile's; on a phone a short tile over the words. */
[data-layout="duet"] .s-hero-frame { order: -1; }
[data-layout="duet"] .s-reel-item { border-radius: .75rem; }
[data-layout="duet"] .s-hero--picture .s-hero-frame { aspect-ratio: 4 / 3; }
/* No picture and no listings: the words alone, the name larger. */
[data-layout="duet"] .s-hero--bare .s-hero-plate { padding-block: clamp(3rem, 8vw, 6rem); }
[data-layout="duet"] .s-hero--bare .s-name { font-size: clamp(2.75rem, 8vw, 6rem); }
@media (min-width: 64rem) {
  /* The words at the start, two fifths, the piece the wider side; the
     tile wider than the page's column on a wide window. */
  [data-layout="duet"] .s-hero { margin-inline: max(var(--s-gutter), calc((100% - 88rem) / 2)); }
  [data-layout="duet"] .s-hero--reel, [data-layout="duet"] .s-hero--picture { grid-template-columns: minmax(22rem, 2fr) minmax(0, 3fr); }
  /* The words start no nearer the window than the bar's own inset. */
  [data-layout="duet"] .s-hero-plate { --s-open: inset(0 100% 0 0); justify-content: center; padding-inline: max(clamp(2rem, 3vw, 3rem), calc(var(--s-edge) - max(var(--s-gutter), (100vw - 88rem) / 2))) 4rem; }
  [data-layout="duet"] .s-hero--reel .s-name, [data-layout="duet"] .s-hero--picture .s-name { font-size: clamp(2.5rem, 4.5vw, 4rem); }
  [dir="ltr"][data-layout="duet"] .s-hero-plate { --s-open: inset(0 0 0 100%); }
  [data-layout="duet"] .s-hero-frame { order: 1; }
  [data-layout="duet"] .s-hero--picture .s-hero-frame { position: relative; aspect-ratio: auto; }
  [data-layout="duet"] .s-hero--picture .s-hero-picture { position: absolute; inset: 0; }
}
@keyframes s-duet-open { from { clip-path: var(--s-open); } }
[data-layout="duet"] .s-section-title { font-size: clamp(2rem, 4vw, 3.25rem); }
/* The list: one duet a row on a phone, two on a computer. */
[data-layout="duet"] .s-listings .s-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem) 1.25rem; }
[data-layout="duet"] .s-listings .s-card { --s-tint: var(--s-band-1); --s-tint-hover: var(--s-band-2); --s-hover-quiet: var(--s-band-muted); --s-hover-accent: var(--s-band-accent); }
[data-layout="duet"] .s-listings .s-card-box {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 1.25rem; overflow: hidden;
  /* The panel's edge drawn at once; its words are clipped. */
  background: var(--v-raised);
}
[data-layout="duet"] .s-listings .s-card-photo { grid-area: 1 / 1; aspect-ratio: auto; min-block-size: clamp(12rem, 34vw, 19rem); border-radius: 0; }
[data-layout="duet"] .s-listings .s-card-body {
  grid-area: 1 / 2; gap: .5rem; padding: clamp(1rem, 2.5vw, 2rem);
  background: var(--s-tint); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
  transition: background-color .4s ease;
}
[data-layout="duet"] .s-listings .s-card-title { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.3; }
/* The facts as pairs, a small quiet label over its value in ink. */
[data-layout="duet"] .s-listings .s-facts { gap: .75rem 1.25rem; margin-block-start: .5rem; }
[data-layout="duet"] .s-facts li { display: flex; flex-direction: column; color: var(--v-ink); font-size: 1rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
[data-layout="duet"] .s-fact-label { display: block; color: var(--s-muted); font-size: .8125rem; }
[data-layout="duet"] .s-fact--rooms .s-fact-value { display: none; }
[data-layout="duet"] .s-fact-figure { display: block; }
[data-layout="duet"] .s-listings .s-price { margin-block-start: auto; padding-block-start: .75rem; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
/* Hovered or reached by a key, the panel a shade deeper; a sold or
   rented one stays as it is, greyed. */
[data-layout="duet"] .s-listings .s-card:hover .s-card-body, [data-layout="duet"] .s-listings .s-card:focus-within .s-card-body {
  background: var(--s-tint-hover); --s-muted: var(--s-hover-quiet); --s-accent: var(--s-hover-accent);
}
[data-layout="duet"] .s-listings .s-card.is-closed:hover .s-card-body, [data-layout="duet"] .s-listings .s-card.is-closed:focus-within .s-card-body {
  background: var(--s-tint); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
/* The box cuts what lies outside it, so the ring is drawn just inside. */
[data-layout="duet"] .s-listings .s-card-link:focus-visible::after { outline-offset: -6px; border-radius: 1.25rem; }
/* Each panel opens once from its photo's edge as it arrives (sites.js),
   the tile fading in without a rise. Only the edge that moves is cut,
   whole when shut and just past the card when open; the other three
   edges lie far out, past the photo, so the panel's clip never cuts the
   link's stretched box, or its ring, off the card. */
.s-js[data-layout="duet"] .s-listings .s-card { --s-far: -100vmax; --s-cut: 100%; --s-clip: inset(var(--s-far) var(--s-far) var(--s-far) var(--s-cut)); }
.s-js[data-layout="duet"] .s-listings .s-card.is-shown { --s-cut: -.5rem; }
.s-js[dir="ltr"][data-layout="duet"] .s-listings .s-card { --s-clip: inset(var(--s-far) var(--s-cut) var(--s-far) var(--s-far)); }
.s-js[data-layout="duet"] .s-listings .s-card[data-reveal] { translate: none; }
.s-js[data-layout="duet"] .s-listings .s-card-body { clip-path: var(--s-clip); transition: clip-path .9s var(--s-ease) .15s, background-color .4s ease; }
@media print {
  .s-js[data-layout="duet"] .s-listings .s-card-body { clip-path: none; }
}
@media (max-width: 63.99rem) {
  /* Short of a computer a duet stacks: a wide photo the card's width and
     its words under it, every other one the words first; each panel opens
     from the photo's edge. The tints step card by card. */
  [data-layout="duet"] .s-listings .s-grid { justify-items: center; }
  [data-layout="duet"] .s-listings .s-card { inline-size: 100%; max-inline-size: 37.5rem; }
  [data-layout="duet"] .s-listings .s-card-box { grid-template-columns: minmax(0, 1fr); }
  [data-layout="duet"] .s-listings .s-card-photo { grid-area: 1 / 1; aspect-ratio: 4 / 3; min-block-size: 0; }
  [data-layout="duet"] .s-listings .s-card-body { grid-area: 2 / 1; padding: 1.5rem 1.25rem 1.75rem; }
  [data-layout="duet"] .s-listings .s-card:nth-child(even) .s-card-photo { grid-area: 2 / 1; }
  [data-layout="duet"] .s-listings .s-card:nth-child(even) .s-card-body { grid-area: 1 / 1; }
  .s-js[data-layout="duet"] .s-listings .s-card, .s-js[dir="ltr"][data-layout="duet"] .s-listings .s-card { --s-clip: inset(var(--s-far) var(--s-far) var(--s-cut) var(--s-far)); }
  .s-js[data-layout="duet"] .s-listings .s-card:nth-child(even), .s-js[dir="ltr"][data-layout="duet"] .s-listings .s-card:nth-child(even) { --s-clip: inset(var(--s-cut) var(--s-far) var(--s-far) var(--s-far)); }
  [data-layout="duet"] .s-listings .s-card:nth-child(3n + 2) { --s-tint: var(--s-band-2); --s-tint-hover: var(--s-band-3); }
  [data-layout="duet"] .s-listings .s-card:nth-child(3n + 3) { --s-tint: var(--s-band-3); --s-tint-hover: var(--s-duet-deep); --s-hover-quiet: var(--v-ink); --s-hover-accent: var(--v-ink); }
}
@media (min-width: 64rem) {
  /* Two a row, every other row mirrored: photos and panels checker the
     list, a tint a row, stepping deeper row by row. */
  [data-layout="duet"] .s-listings .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-layout="duet"] .s-listings .s-card:nth-child(4n + 3) .s-card-photo, [data-layout="duet"] .s-listings .s-card:nth-child(4n + 4) .s-card-photo { grid-area: 1 / 2; }
  [data-layout="duet"] .s-listings .s-card:nth-child(4n + 3) .s-card-body, [data-layout="duet"] .s-listings .s-card:nth-child(4n + 4) .s-card-body { grid-area: 1 / 1; }
  .s-js[data-layout="duet"] .s-listings .s-card:nth-child(4n + 3), .s-js[data-layout="duet"] .s-listings .s-card:nth-child(4n + 4) { --s-clip: inset(var(--s-far) var(--s-cut) var(--s-far) var(--s-far)); }
  .s-js[dir="ltr"][data-layout="duet"] .s-listings .s-card:nth-child(4n + 3), .s-js[dir="ltr"][data-layout="duet"] .s-listings .s-card:nth-child(4n + 4) { --s-clip: inset(var(--s-far) var(--s-far) var(--s-far) var(--s-cut)); }
  [data-layout="duet"] .s-listings .s-card:nth-child(6n + 3), [data-layout="duet"] .s-listings .s-card:nth-child(6n + 4) { --s-tint: var(--s-band-2); --s-tint-hover: var(--s-band-3); }
  [data-layout="duet"] .s-listings .s-card:nth-child(6n + 5), [data-layout="duet"] .s-listings .s-card:nth-child(6n + 6) { --s-tint: var(--s-band-3); --s-tint-hover: var(--s-duet-deep); --s-hover-quiet: var(--v-ink); --s-hover-accent: var(--v-ink); }
}
/* The team in a calm row on the page's ground. */
[data-layout="duet"] .s-people { justify-content: flex-start; }
/* The about a duet too: its words on the deepest tint, the office's
   picture, logo or name beside them, over them on a phone. */
[data-layout="duet"] .s-about {
  --s-pad-block: clamp(2.5rem, 6vw, 5rem); --s-pad-inline: clamp(1.25rem, 5vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  margin: var(--s-space) max(var(--s-gutter), calc((100% - 96rem) / 2)) var(--s-gutter);
  padding: var(--s-pad-block) var(--s-pad-inline); border-radius: 1.25rem; overflow: hidden;
  background: var(--s-band-3); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent);
}
[data-layout="duet"] .s-about p, [data-layout="duet"] .s-about ul, [data-layout="duet"] .s-about ol { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
[data-layout="duet"] .s-about-side {
  display: grid; place-items: center; order: -1; min-block-size: 13rem; overflow: hidden;
  margin: calc(-1 * var(--s-pad-block)) calc(-1 * var(--s-pad-inline)) var(--s-pad-block);
  background: var(--s-band-1);
}
[data-layout="duet"] .s-about-picture { inline-size: 100%; block-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
[data-layout="duet"] .s-about-logo { inline-size: clamp(6rem, 12vw, 9rem); block-size: auto; }
/* With flagships, the side's tint holds their stack, unedged, its corners as its tiles'. */
[data-layout="duet"] .s-about-shot { border: 0; border-radius: 1rem; }
[data-layout="duet"] .s-about-name {
  min-inline-size: 0; max-inline-size: 100%; padding: 2rem; color: var(--v-ink); text-align: center; text-wrap: balance; overflow-wrap: anywhere;
  font: 500 clamp(2rem, 4.5vw, 3.5rem)/1.1 var(--s-display);
}
@media (min-width: 48rem) {
  [data-layout="duet"] .s-about { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; column-gap: var(--s-pad-inline); }
  [data-layout="duet"] .s-about > :not(.s-about-side) { grid-column: 1; }
  [data-layout="duet"] .s-about-side { grid-column: 2; grid-row: 1 / -1; order: 0; min-block-size: 22rem; margin-block: calc(-1 * var(--s-pad-block)); margin-inline: 0 calc(-1 * var(--s-pad-inline)); }
  [data-layout="duet"] .s-about-side { position: relative; }
  [data-layout="duet"] .s-about-picture { position: absolute; inset: 0; aspect-ratio: auto; }
}
/* On a phone the list is short; the whole list waits for its own page (#139). */
@media (max-width: 40rem) {
  [data-layout="duet"] .s-listings .s-card:nth-child(n + 5) { display: none; }
}

/* The featured as duets standing up: each photo over its tinted panel in
   one rounded tile, the panel flush along the photo's foot, the tints
   stepping card by card as the list's do. */
[data-layout="duet"] .s-show-plate { margin: 0; padding: 1.25rem 1.25rem 1.4rem; border-radius: 0; background: var(--s-band-1); }
[data-layout="duet"] .s-show:nth-child(3n + 2) .s-show-plate { background: var(--s-band-2); }
[data-layout="duet"] .s-show:nth-child(3n + 3) .s-show-plate { background: var(--s-band-3); }
[data-layout="duet"] .s-showcase .s-show-box > .s-show-plate { margin-block-start: 0; }
/* On a computer each panel is a rounded tile of its own beside the photo. */
@media (min-width: 64rem) {
  [data-layout="duet"] .s-show-plate { border-radius: 1.25rem; }
}

/* Duet's listing page (#140): the title, price and numbers on a colour panel,
   the photo capped on a phone so they stay on the first screen. */
[data-layout="duet"] .s-listing-head { padding: 1.25rem 1.5rem; border-radius: var(--s-round); background: var(--s-band-1); --s-muted: var(--s-band-muted); --s-accent: var(--s-band-accent); }
[data-layout="duet"] .s-gallery-row { max-block-size: calc(var(--s-screen, 100svh) * .56); }

/* Duet's rules go above this line. */

/* ---- An office with little to show (#199) ---- */

/* No listing photo and no picture: where a photo would stand, an arched
   doorway on the look's own colour (--s-bare), centred, in lines only
   (_arch), each look drawing its line its own way. On a computer
   the bare hero carries the look's still pattern instead: where the look
   keeps a frame by the words the pattern fills it (::after); where the
   words stand alone it lies behind them (::before), clear under the words. */
.s-hero--bare, .s-show-photo--none {
  --s-bare: var(--s-band-1);
  --s-arch-line: color-mix(in srgb, var(--v-accent) 62%, transparent);
  --s-arch-width: 1.5px;
}
[data-layout="atelier"] :is(.s-hero--bare, .s-show-photo--none) { --s-bare: var(--s-band-2); }
[data-layout="shalva"] :is(.s-hero--bare, .s-show-photo--none) { --s-bare: var(--s-band-2); }
[data-layout="duet"] :is(.s-hero--bare, .s-show-photo--none) { --s-bare: var(--s-band-3); }
[data-layout="meridian"] :is(.s-hero--bare, .s-show-photo--none) { --s-arch-line: color-mix(in srgb, var(--s-accent) 70%, transparent); }
.s-hero--bare {
  isolation: isolate;
  --s-pattern: color-mix(in srgb, var(--v-accent) 24%, transparent);
  --s-pattern-strong: color-mix(in srgb, var(--v-accent) 38%, transparent);
}
.s-hero--bare::before, .s-hero--bare::after { pointer-events: none; }
.s-hero--bare::before { position: absolute; inset: 0; z-index: -1; }

/* The doorway's frame: the photo's box, or the hero's frame on a phone.
   Rounded whole, so its foot never meets a rounded card square. */
.s-show-photo--none, .s-hero-arch { position: relative; min-inline-size: 0; box-sizing: border-box; border-radius: var(--s-round); background: var(--s-bare); }
/* Pinned inside its frame, so the drawing never sizes the frame; the viewBox keeps it centred and whole. */
.s-arch { position: absolute; inset: 11% 15%; inline-size: 70%; block-size: 78%; overflow: visible; }
/* Standing in for a photo that failed to load (#482, sites.js), it fades in. */
.s-stand-in > .s-arch { animation: s-fade .4s ease-out; }
@media (prefers-reduced-motion: reduce) { .s-stand-in > .s-arch { animation: none; } }
.s-arch path { fill: none; stroke: var(--s-arch-line); stroke-width: var(--s-arch-width); vector-effect: non-scaling-stroke; }
.s-arch .s-arch-inner { display: none; }

/* Signature: crisp and formal, a fine double outline and a threshold. */
[data-layout="signature"] .s-arch path { stroke-linecap: square; --s-arch-width: 1.25px; }
[data-layout="signature"] .s-arch .s-arch-inner { display: inline; stroke-width: .75px; opacity: .7; }
/* Atelier: a printer's hairline, the threshold its rule. */
[data-layout="atelier"] .s-arch path { --s-arch-width: 1px; }
/* Shchuna: a warm, round hand, no threshold. */
[data-layout="shchuna"] .s-arch path { --s-arch-width: 3px; stroke-linecap: round; }
[data-layout="shchuna"] .s-arch .s-arch-floor { display: none; }
/* Meridian: drafted, the inner line a measured offset. */
[data-layout="meridian"] .s-arch .s-arch-inner { display: inline; stroke-dasharray: 2 4; opacity: .8; }
/* Shalva: soft, the line blurred a breath. */
[data-layout="shalva"] .s-arch path { --s-arch-width: 2.5px; stroke-linecap: round; opacity: .6; filter: blur(.5px); }
[data-layout="shalva"] .s-arch .s-arch-floor { display: none; }
/* Duet: bold and plain, as its tiles. */
[data-layout="duet"] .s-arch path { --s-arch-width: 2.5px; }
[data-layout="duet"] .s-arch .s-arch-floor { display: none; }

/* The hero's frame on a phone, set as the look's photo frame stands. */
.s-hero-arch { pointer-events: none; }
[data-layout="signature"] .s-hero-arch { inline-size: calc(100% - 2 * var(--s-gutter)); aspect-ratio: 4 / 3; margin-block-end: var(--s-gutter); animation: s-fade 1.2s .4s ease both; }
[data-layout="atelier"] .s-hero-arch { aspect-ratio: 3 / 2; margin-inline: var(--s-gutter); border-radius: 1.25rem; animation: s-unveil 1.4s .3s var(--s-ease) both; }
[data-layout="shchuna"] .s-hero-arch { inline-size: 100%; aspect-ratio: 3 / 2; margin-inline: auto; border-radius: 1.5rem; animation: s-fade 1.2s .2s ease both; }
[data-layout="meridian"] .s-hero-arch { aspect-ratio: 4 / 3; margin: 0 var(--s-gutter) var(--s-gutter); border-radius: 1.25rem; animation: s-fade 1.4s ease both; }
[data-layout="shalva"] .s-hero-arch { order: -1; inline-size: 100%; aspect-ratio: 21 / 9; border-radius: 1.5rem; animation: s-fade 1.1s .25s ease both; }
[data-layout="duet"] .s-hero-arch { order: -1; aspect-ratio: 16 / 9; border-radius: 0; animation: s-fade 1s .4s ease both; }
/* With no search press under the strip, no room kept for it. */
[data-layout="shalva"] .s-hero:not(.s-hero--search) { padding-block-end: 1.5rem; }

@media (min-width: 64rem) {
  .s-hero-arch { display: none; }
  .s-hero--bare::after { background: var(--s-bare); pointer-events: none; }
  [data-layout="atelier"] .s-hero--bare::after { content: ""; display: block; aspect-ratio: 3 / 2; border-radius: 1.25rem; animation: s-unveil 1.4s .3s var(--s-ease) both; }
  [data-layout="shchuna"] .s-hero--bare::after { content: ""; display: block; inline-size: 100%; max-inline-size: calc(var(--s-wide) + 8rem); margin-inline: auto; border-radius: 1.5rem; animation: s-fade 1.2s .2s ease both; }
  [data-layout="shalva"] .s-hero--bare::after { content: ""; order: -1; inline-size: min(100%, 58rem); aspect-ratio: 21 / 9; border-radius: 1.5rem; animation: s-fade 1.1s .25s ease both; }
  [data-layout="duet"] .s-hero--bare::after { content: ""; animation: s-fade 1s .4s ease both; }

  /* Signature: a fine lattice, as a flagship's facade, fading out round the
     words at the panel's middle. */
  [data-layout="signature"] .s-hero--bare::before {
    content: "";
    background:
      repeating-linear-gradient(45deg, var(--s-pattern) 0 1px, transparent 1px 1.5rem),
      repeating-linear-gradient(-45deg, var(--s-pattern) 0 1px, transparent 1px 1.5rem);
    mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, transparent 40%, var(--v-ink) 100%);
  }

  /* Atelier: a print of arches, a colonnade drawn in the accent on the band's paper. */
  [data-layout="atelier"] .s-hero--bare::after {
    grid-column: 2 / 3; grid-row: 1; max-block-size: 80vh; margin: 0; margin-inline-start: var(--s-atelier-gap);
    background:
      radial-gradient(circle at 50% 100%, transparent 1.7rem, var(--s-pattern-strong) 1.7rem calc(1.7rem + 1px), transparent calc(1.7rem + 1.5px)) 0 0 / 3.5rem 3.5rem,
      radial-gradient(circle at 50% 100%, transparent 1.7rem, var(--s-pattern) 1.7rem calc(1.7rem + 1px), transparent calc(1.7rem + 1.5px)) 1.75rem 1.75rem / 3.5rem 3.5rem,
      var(--s-bare);
  }

  /* Shchuna: a warm map of the neighbourhood, round blocks in the band's
     tints on a grid of dots. */
  [data-layout="shchuna"] .s-hero--bare::after {
    aspect-ratio: 21 / 9;
    background:
      radial-gradient(circle at 22% 34%, var(--s-band-2) 0 16%, transparent calc(16% + 1px)),
      radial-gradient(circle at 74% 66%, var(--s-band-3) 0 21%, transparent calc(21% + 1px)),
      radial-gradient(circle at 58% 18%, var(--s-band-2) 0 8%, transparent calc(8% + 1px)),
      radial-gradient(circle, var(--s-pattern-strong) 0 .18rem, transparent .22rem) 0 0 / 1.5rem 1.5rem,
      var(--s-bare);
  }

  /* Meridian: contour lines rising from the panel's far side, the words' side clear. */
  [data-layout="meridian"] .s-hero--bare { --s-pattern: color-mix(in srgb, var(--s-accent) 34%, transparent); }
  [data-layout="meridian"] .s-hero--bare::before {
    content: "";
    background: repeating-radial-gradient(circle at 0 50%, transparent 0 2.25rem, var(--s-pattern) 2.25rem calc(2.25rem + 1px), transparent calc(2.25rem + 1.5px) 2.5rem);
    mask-image: linear-gradient(to left, transparent 25%, var(--v-ink) 90%);
  }
  [dir="ltr"][data-layout="meridian"] .s-hero--bare::before {
    background: repeating-radial-gradient(circle at 100% 50%, transparent 0 2.25rem, var(--s-pattern) 2.25rem calc(2.25rem + 1px), transparent calc(2.25rem + 1.5px) 2.5rem);
    mask-image: linear-gradient(to right, transparent 25%, var(--v-ink) 90%);
  }

  /* Shalva: a calm sea, soft ripples of its two lightest bands. */
  [data-layout="shalva"] .s-hero--bare::after {
    background: repeating-radial-gradient(ellipse 130% 90% at 50% 135%, var(--s-band-1) 0, var(--s-band-2) 1.75rem, var(--s-band-1) 3.5rem);
  }

  /* Duet: a tile of the look's tints, quarter rounds meeting as its cards' halves meet. */
  [data-layout="duet"] .s-hero--bare { grid-template-columns: minmax(22rem, 2fr) minmax(0, 3fr); }
  [data-layout="duet"] .s-hero--bare::after {
    order: 1; aspect-ratio: auto; min-block-size: 24rem;
    background:
      radial-gradient(circle at 100% 100%, var(--s-band-1) 0 2.5rem, transparent calc(2.5rem + 1px)) 0 0 / 5rem 5rem,
      radial-gradient(circle at 0 0, var(--s-band-2) 0 2.5rem, transparent calc(2.5rem + 1px)) 0 0 / 5rem 5rem,
      var(--s-bare);
  }
  [data-layout="duet"] .s-hero--bare .s-name { font-size: clamp(2.5rem, 4.5vw, 4rem); }
}

/* One to five on offer (#199): no search, each a showcase spread, as the
   flagships are. */
.s-listings--few .s-showcase { margin-block-start: clamp(1.5rem, 3vw, 2.5rem); }

/* Nothing on offer: a short head and line over the contact form's box,
   which asks three things in a row where it is wide. */
.s-soon { padding: var(--s-space) var(--s-bleed) 0; }
/* The last of a thin home's sections keeps its room above the band after it. */
.s-thin-last { padding-block-end: var(--s-space); }
.s-tel { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.s-soon-line { max-inline-size: 48ch; margin: 1rem 0 0; color: var(--s-muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.8; text-wrap: pretty; }
.s-lead--soon { max-inline-size: 60rem; }
@container (min-width: 52rem) {
  .s-lead--soon .s-lead-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: none; }
  .s-lead--soon .s-lead-field { grid-area: auto; }
}
[data-layout="signature"] .s-soon, [data-layout="shalva"] .s-soon { text-align: center; }
[data-layout="signature"] .s-soon-line, [data-layout="shalva"] .s-soon-line,
[data-layout="signature"] .s-lead--soon, [data-layout="shalva"] .s-lead--soon { margin-inline: auto; text-align: start; }
[data-layout="signature"] .s-soon-line, [data-layout="shalva"] .s-soon-line { text-align: center; }

/* The past deals after them, a short row whose press goes to them all. */
.s-past .s-all { margin-block-start: clamp(1.5rem, 3vw, 2.5rem); }

/* Atelier's wide column takes them in the featured's rows. */
@media (min-width: 64rem) {
  [data-layout="atelier"] .s-soon { grid-column: 3; padding-inline: var(--s-atelier-gap) 0; }
  [data-layout="atelier"] .s-listings--few { grid-row: 2; }
  [data-layout="atelier"] .s-past { grid-row: 3; }
  [data-layout="atelier"] .s-soon { grid-row: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .s-hero--bare::before, .s-hero--bare::after,
  [data-layout="signature"] .s-hero-arch, [data-layout="atelier"] .s-hero-arch, [data-layout="shchuna"] .s-hero-arch,
  [data-layout="meridian"] .s-hero-arch, [data-layout="shalva"] .s-hero-arch, [data-layout="duet"] .s-hero-arch,
  [data-layout="atelier"] .s-hero--bare::after, [data-layout="shchuna"] .s-hero--bare::after,
  [data-layout="shalva"] .s-hero--bare::after, [data-layout="duet"] .s-hero--bare::after { animation: none; }
}

/* The hero fills a computer's first screen under the bar: the section
   after it waits under the fold, whatever the piece, the shortest bar
   reckoned. Atelier, with no bar, holds its first row to the window. */
@media (min-width: 64rem) {
  [data-layout]:not([data-layout="atelier"], [data-layout="duet"]) .s-hero.s-hero--reel { min-block-size: calc(var(--s-screen, 100svh) - 4.25rem); }
  /* Under a full bar the windows' panel keeps its clear margin above the fold. */
  [data-layout="shchuna"] .s-hero.s-hero--reel.s-hero--windows, [data-layout="meridian"] .s-hero.s-hero--reel.s-hero--windows { min-block-size: calc(var(--s-screen, 100svh) - 5rem); }
  /* Duet's tile is its panel: it ends a clear margin above the fold, the
     margin under it keeping the next section under the fold. */
  [data-layout="duet"] .s-hero.s-hero--reel { min-block-size: calc(var(--s-screen, 100svh) - 8.25rem); margin-block-end: 2.5rem; }
  /* Shchuna's words and band stay together, centred in the taller hero. */
  [data-layout="shchuna"] .s-hero--band { align-content: center; }
}
/* On a big screen Shchuna's deck and prints take the windows' wider
   side, three fifths, so they stand as big as the first screen lets
   them, the hero the screen under its bar. */
@media (min-width: 100rem) {
  [data-layout="shchuna"] .s-hero.s-hero--reel.s-hero--deck, [data-layout="shchuna"] .s-hero.s-hero--reel.s-hero--scatter { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-block-size: calc(var(--s-screen, 100svh) - 5rem); }
}
/* Short of a computer too the hero fills the first screen under the bar,
   its parts centred in it, so the next section never peeks at the foot. */
@media (max-width: 63.99rem) {
  [data-layout] .s-hero.s-hero--reel { min-block-size: calc(var(--s-screen, 100svh) - 5rem); align-content: center; }
  /* Duet's hero is its tile: the words' tint takes the room, the words
     centred in it. */
  [data-layout="duet"] .s-hero.s-hero--reel { grid-template-rows: auto 1fr; align-content: stretch; }
  [data-layout="duet"] .s-hero--reel .s-hero-plate { justify-content: center; }
  /* The about hugs its words: an even 1.5rem round them in a panel, a
     band's room above and below them halved. */
  [data-layout]:not([data-layout="duet"], [data-layout="shchuna"]) .s-about { padding-block: 3rem; }
  [data-layout] .s-about p, [data-layout] .s-about ul, [data-layout] .s-about ol { line-height: 1.6; }
  [data-layout] .s-about p:last-of-type { margin-block-end: 0; }
  [data-layout="shchuna"] .s-about { padding: 1.5rem; }
  [data-layout="shalva"] .s-team { padding-block: 3rem; }
  [data-layout="duet"] .s-about { --s-pad-block: 1.5rem; --s-pad-inline: 1.5rem; }
}

/* The photo side (#193): where a look sets its words on one side of a
   computer's first screen, the moving piece fills the other, top to foot,
   its photos as tall as the side: the band from the words' edge off the
   window's, three quarters of the side's height. Too few to slide share the side's width. */
@media (min-width: 64rem) {
  [data-layout="atelier"] .s-hero--reel .s-hero-frame { block-size: max(26rem, var(--s-screen, 100svh) - var(--s-atelier-top)); max-block-size: none; }
  /* Atelier's first row is the whole first screen whatever the piece's
     height, so the chips wait under the fold; the piece stands centred in it. */
  [data-layout="atelier"] .s-hero--reel::before { content: ""; grid-column: 2; grid-row: 1; block-size: calc(var(--s-screen, 100svh) - var(--s-atelier-top)); }
  [data-layout="atelier"] .s-hero.s-hero--reel .s-hero-frame { align-self: center; }
  [data-layout="signature"] .s-hero--reel .s-band, [data-layout="atelier"] .s-hero--reel .s-band, [data-layout="meridian"] .s-hero--reel .s-band, [data-layout="duet"] .s-hero--reel .s-band, [data-layout="shalva"] .s-hero--reel .s-band {
    display: grid; padding: clamp(1rem, 2vw, 1.5rem) 0;
  }
  /* The band three quarters of the side's height, centred in it, its
     frame no bigger; never taller than the first screen's room, however
     tall the words beside it stand. */
  [data-layout="signature"] .s-hero--band .s-band, [data-layout="meridian"] .s-hero--band .s-band, [data-layout="duet"] .s-hero--band .s-band, [data-layout="shalva"] .s-hero--band .s-band { align-self: center; block-size: 75%; max-block-size: calc(.75 * var(--s-screen, 100svh) - 3rem); }
  [data-layout="atelier"] .s-hero--band .s-band { block-size: calc(.75 * max(26rem, var(--s-screen, 100svh) - var(--s-atelier-top))); margin-block: calc(.125 * max(26rem, var(--s-screen, 100svh) - var(--s-atelier-top))); }
  [data-layout="signature"] .s-hero--reel .s-band-row, [data-layout="atelier"] .s-hero--reel .s-band-row, [data-layout="meridian"] .s-hero--reel .s-band-row, [data-layout="duet"] .s-hero--reel .s-band-row, [data-layout="shalva"] .s-hero--reel .s-band-row { block-size: 100%; }
  [data-layout="signature"] .s-hero--reel .s-band .s-reel-item, [data-layout="atelier"] .s-hero--reel .s-band .s-reel-item, [data-layout="meridian"] .s-hero--reel .s-band .s-reel-item, [data-layout="duet"] .s-hero--reel .s-band .s-reel-item, [data-layout="shalva"] .s-hero--reel .s-band .s-reel-item { block-size: 100%; inline-size: auto; aspect-ratio: 4 / 5; }
  /* Too few to slide, the photos stand as wide as a sliding one, centred
     in the side, narrowing only where they would not fit; never
     stretched to fill it. */
  [data-layout="signature"] .s-hero--reel .s-band--still .s-band-row, [data-layout="atelier"] .s-hero--reel .s-band--still .s-band-row, [data-layout="meridian"] .s-hero--reel .s-band--still .s-band-row, [data-layout="duet"] .s-hero--reel .s-band--still .s-band-row, [data-layout="shalva"] .s-hero--reel .s-band--still .s-band-row { display: flex; justify-content: center; min-inline-size: 0; }
  [data-layout="signature"] .s-hero--reel .s-band--still .s-reel-item, [data-layout="atelier"] .s-hero--reel .s-band--still .s-reel-item, [data-layout="meridian"] .s-hero--reel .s-band--still .s-reel-item, [data-layout="duet"] .s-hero--reel .s-band--still .s-reel-item, [data-layout="shalva"] .s-hero--reel .s-band--still .s-reel-item { flex: 0 1 auto; min-inline-size: 0; max-inline-size: none; }
  /* A lone photo's frame hugs it, centred in the side, the photo's own
     shape: no empty strip beside it (#199, one on offer). Hugged, it has
     no room to slide in from, so it only fades in. */
  [data-layout="signature"] .s-hero--reel .s-band--still[data-count="1"], [data-layout="atelier"] .s-hero--reel .s-band--still[data-count="1"], [data-layout="meridian"] .s-hero--reel .s-band--still[data-count="1"], [data-layout="duet"] .s-hero--reel .s-band--still[data-count="1"], [data-layout="shalva"] .s-hero--reel .s-band--still[data-count="1"] { inline-size: auto; max-inline-size: 100%; aspect-ratio: 4 / 5; justify-self: center; padding-inline: 0; --s-way: 0; }
  [data-layout="signature"] .s-hero--reel .s-band--still[data-count="1"] .s-reel-item, [data-layout="atelier"] .s-hero--reel .s-band--still[data-count="1"] .s-reel-item, [data-layout="meridian"] .s-hero--reel .s-band--still[data-count="1"] .s-reel-item, [data-layout="duet"] .s-hero--reel .s-band--still[data-count="1"] .s-reel-item, [data-layout="shalva"] .s-hero--reel .s-band--still[data-count="1"] .s-reel-item { flex: 1 1 auto; inline-size: 100%; aspect-ratio: auto; }
  /* Shalva's rounded all round, its photo no wider than 37.5rem (#230):
     the frame no taller than the 4 / 5 of that width. */
  [data-layout="shalva"] .s-hero--reel .s-band--still[data-count="1"] { border-radius: 1.5rem; max-block-size: min(calc(.75 * var(--s-screen, 100svh) - 3rem), 46.875rem); }
  /* From ten the band is one row, as under ten, in every look (#230).
     Atelier's runs its cards a little taller, from the panel's usual gap
     to the window's edge, in the middle of the side's height. */
  [data-layout="atelier"] .s-hero.s-hero--band .s-band.s-band--wall {
    --s-wall-side: max(26rem, var(--s-screen, 100svh) - var(--s-atelier-top)); --s-wall-air: clamp(1rem, 2vw, 1.5rem);
    grid-column: 2 / 4; align-self: center; margin: 0; margin-inline-start: var(--s-atelier-gap); padding-block: var(--s-wall-air);
    block-size: calc(.625 * (var(--s-wall-side) - .75rem) + 2 * var(--s-wall-air));
  }
  [data-layout="atelier"] .s-hero.s-hero--band .s-band.s-band--wall .s-band-row { display: flex; }
  [data-layout="atelier"] .s-hero.s-hero--band .s-band.s-band--wall .s-reel-item { inline-size: auto; max-inline-size: none; }
  /* Every strip as tall, however its facts, price and licence wrap (#230):
     room for the title and three lines, as an English card's run. */
  [data-layout="atelier"] .s-hero--band .s-band .s-reel-caption, [data-layout="duet"] .s-hero--band .s-band .s-reel-caption { min-block-size: 6.45rem; }
  /* The deck's cards a little taller than square, as big as the side
     less the fan's room allows, short enough that the furthest turned
     card's corners stay inside the side; the fan's step
     narrower in a narrow side, its room only the cards behind need; the
     stack and its fan centred in the side. One card, unturned, stands as
     tall as the side. The side sized by the words, never by the stack. */
  [data-layout="signature"] .s-hero--reel .s-deck, [data-layout="atelier"] .s-hero--reel .s-deck, [data-layout="meridian"] .s-hero--reel .s-deck, [data-layout="duet"] .s-hero--reel .s-deck, [data-layout="shchuna"] .s-hero--deck .s-deck, [data-layout="shalva"] .s-hero--reel .s-deck {
    --s-fan-x: min(2.5rem, 5cqi); --s-fan-room: calc((var(--s-n) - 1) * var(--s-fan-x) + 3rem);
    container-type: size; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 1rem 1rem .5rem;
  }
  [data-layout="signature"] .s-hero--reel .s-deck-list, [data-layout="atelier"] .s-hero--reel .s-deck-list, [data-layout="meridian"] .s-hero--reel .s-deck-list, [data-layout="duet"] .s-hero--reel .s-deck-list, [data-layout="shchuna"] .s-hero--deck .s-deck-list, [data-layout="shalva"] .s-hero--reel .s-deck-list {
    justify-self: center; inline-size: min(100cqi - var(--s-fan-room), 100cqb * 3 / 4); aspect-ratio: 6 / 7; max-inline-size: none;
  }
  [data-layout="signature"] .s-hero--reel .s-deck[data-count="1"] .s-deck-list, [data-layout="atelier"] .s-hero--reel .s-deck[data-count="1"] .s-deck-list, [data-layout="meridian"] .s-hero--reel .s-deck[data-count="1"] .s-deck-list, [data-layout="duet"] .s-hero--reel .s-deck[data-count="1"] .s-deck-list, [data-layout="shchuna"] .s-hero--deck .s-deck[data-count="1"] .s-deck-list, [data-layout="shalva"] .s-hero--reel .s-deck[data-count="1"] .s-deck-list {
    inline-size: min(100cqi, 100cqb * 6 / 7); margin-inline-end: 0;
  }
  /* Shalva's piece side the narrower three fifths: a closer fan, so the
     cards stand as tall. */
  [data-layout="shalva"] .s-hero--reel .s-deck { --s-fan-x: min(2.5rem, 4cqi); }
  /* The prints' table the whole side less its inset, never past the
     first screen's foot, never taller than wide, so the prints spread
     across it in loose rows. */
  [data-layout="signature"] .s-hero--reel .s-scatter, [data-layout="atelier"] .s-hero--reel .s-scatter, [data-layout="meridian"] .s-hero--reel .s-scatter, [data-layout="duet"] .s-hero--reel .s-scatter, [data-layout="shchuna"] .s-hero--scatter .s-scatter, [data-layout="shalva"] .s-hero--reel .s-scatter {
    container-type: size; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center stretch; padding: 1rem clamp(1.5rem, 3vw, 2.5rem) .5rem;
  }
  [data-layout="signature"] .s-hero--reel .s-scatter-list, [data-layout="atelier"] .s-hero--reel .s-scatter-list, [data-layout="meridian"] .s-hero--reel .s-scatter-list, [data-layout="duet"] .s-hero--reel .s-scatter-list, [data-layout="shchuna"] .s-hero--scatter .s-scatter-list, [data-layout="shalva"] .s-hero--reel .s-scatter-list {
    inline-size: 100%; block-size: min(100cqb, 100cqi); max-block-size: calc(var(--s-screen, 100svh) - 7rem); aspect-ratio: auto;
  }
  /* Shchuna's sentence and the deck or the prints side by side, the
     sentence at the start held at the bar's inset, the piece the wider
     side running on to the gutter, the hero the first screen's height. */
  [data-layout="shchuna"] .s-hero--deck, [data-layout="shchuna"] .s-hero--scatter { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); column-gap: clamp(3rem, 4vw, 4rem); min-block-size: clamp(30rem, var(--s-screen, 100svh) - 6rem, 60rem); padding-inline: var(--s-bleed) var(--s-gutter); }
  /* Duet's tile the first screen's height. Shalva's deck and prints take
     the split every Shalva piece takes. */
  [data-layout="duet"] .s-hero--deck, [data-layout="duet"] .s-hero--scatter { min-block-size: calc(var(--s-screen, 100svh) - 6rem); }
  [data-layout="shchuna"] .s-hero--deck .s-hero-plate, [data-layout="shchuna"] .s-hero--scatter .s-hero-plate { grid-area: 1 / 1; justify-content: center; padding-inline: 0; }
  [data-layout="shchuna"] .s-hero--deck .s-deck, [data-layout="shchuna"] .s-hero--scatter .s-scatter { grid-area: 1 / 2; inline-size: auto; max-inline-size: none; margin: 0; }
}
/* The deck and the prints stand on the look's own ground: no frame, no
   shape of the frame's own, their turns never clipped by it. */
[data-layout] .s-hero .s-deck.s-hero-frame, [data-layout] .s-hero .s-scatter.s-hero-frame { overflow: visible; aspect-ratio: auto; border-radius: 0; background: none; }

/* On a phone the phone press keeps its words; the number is in its link.
   Atelier's stories are long, so a phone shows three; the whole list
   waits for its own page (#139). */
@media (max-width: 40rem) {
  .s-call-number { display: none; }
  [data-layout="atelier"] .s-listings .s-card:nth-child(n + 4) { display: none; }
}

@keyframes s-rise { from { opacity: 0; translate: 0 .35em; } }
@keyframes s-draw { from { scale: 0 1; } }
@keyframes s-fade { from { opacity: 0; } }
@keyframes s-unveil { from { clip-path: inset(100% 0 0 0); } }
@keyframes s-settle { from { scale: 1.15; } }
@keyframes s-lift { from { opacity: 0; translate: 0 2rem; scale: .96; } }
@keyframes s-underline { from { background-size: 0 2px; } }
@keyframes s-pop { from { opacity: 0; scale: .96; } }
@keyframes s-unpop { to { opacity: 0; scale: .96; } }
@keyframes s-sheet-rise { from { opacity: 0; translate: 0 2rem; } }
@keyframes s-sink { to { opacity: 0; translate: 0 2rem; } }
@keyframes s-reel { to { translate: calc(50% * var(--s-way)) 0; } }
/* The band's photos arriving: moved by transform, so the slide's and the
   lift's translate run on beside it. */
/* The windows' clock: it moves nothing; each beat turns a window (sites.js). */
@keyframes s-windows-tick { to { --s-tick: 1; } }
/* The index's clock, as the windows'. */
@keyframes s-index-tick { to { --s-tick: 1; } }
/* The shown photo's slow zoom, there and back. */
@keyframes s-index-drift { from { scale: 1; } to { scale: 1.08; } }
@keyframes s-band-in { from { opacity: 0; transform: translateX(calc(-4rem * var(--s-way))); } }
/* A card's round in a deck of six: on top for its turn; then, lifted a
   layer, it draws away toward the start side and back into the distance
   as it fades, one motion, while the next glides up to the front under
   it; back in at the back of the fan, then a step forward in each turn
   after, a further beat later the further back it stands. */
@keyframes s-deck {
  0%, 10.99% { z-index: 7; opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; pointer-events: auto; }
  11% { z-index: 8; opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; pointer-events: none; }
  16.667% { z-index: 8; opacity: 0; translate: calc(-.5 * var(--s-end) * var(--s-fan-x)) 0; rotate: calc(-1 * var(--s-end) * var(--s-fan-turn)); scale: .9; pointer-events: none; }
  16.677% { pointer-events: auto; z-index: 0; opacity: 0; translate: calc(var(--s-end) * var(--s-fan-x) * 5) 0; rotate: calc(var(--s-end) * var(--s-fan-turn) * 5); scale: 1; }
  19%, 30.067% { z-index: 1; opacity: 1; translate: calc(var(--s-end) * var(--s-fan-x) * 5) 0; rotate: calc(var(--s-end) * var(--s-fan-turn) * 5); }
  35.733%, 46.133% { z-index: 2; translate: calc(var(--s-end) * var(--s-fan-x) * 4) 0; rotate: calc(var(--s-end) * var(--s-fan-turn) * 4); }
  51.8%, 62.2% { z-index: 3; translate: calc(var(--s-end) * var(--s-fan-x) * 3) 0; rotate: calc(var(--s-end) * var(--s-fan-turn) * 3); }
  67.867%, 78.267% { z-index: 4; translate: calc(var(--s-end) * var(--s-fan-x) * 2) 0; rotate: calc(var(--s-end) * var(--s-fan-turn) * 2); }
  83.933%, 94.333% { z-index: 6; translate: calc(var(--s-end) * var(--s-fan-x)) 0; rotate: calc(var(--s-end) * var(--s-fan-turn)); }
  100% { z-index: 7; opacity: 1; translate: 0 0; rotate: 0deg; }
}
/* The card's link in the same round: it takes a press from its glide to
   the front till it starts to leave. */
@keyframes s-deck-press {
  0%, 10.99% { pointer-events: auto; }
  11%, 94.3% { pointer-events: none; }
  94.333%, 100% { pointer-events: auto; }
}
/* The card's caption in the same round: in as the card reaches the front,
   out as it starts to leave. */
@keyframes s-deck-caption {
  0% { opacity: 0; }
  1%, 10% { opacity: 1; }
  11%, 100% { opacity: 0; }
}
@keyframes s-turn { 0%, 100% { --s-turn: 0; } 14%, 86% { --s-turn: 1; } }
@keyframes s-drift {
  from { transform: scale(1.06) translate(-1.5%, .5%); }
  to { transform: scale(1.14) translate(1.5%, -1%); }
}

/* The site-look screen's example (#208): the hero alone, one window high, never scrolling. */
/* Its screen is a computer's, 800 high, however tall its frame grows. */
.s-example { overflow: hidden; scrollbar-gutter: auto; --s-screen: 800px; }
/* With no bar above it, the hero takes the whole window, its parts centred;
   Atelier's and Duet's tiles keep their own room. The whole site keeps its bar and the hero its own. */
.s-example[data-layout]:not([data-part="site"]):not([data-part="big"]):not([data-layout="atelier"], [data-layout="duet"]) .s-hero.s-hero--reel { min-block-size: var(--s-screen, 100svh); align-content: center; }
/* The whole site, small, in a frame as tall as its box: a screen is a
   computer page's (1280 by 670), not the frame's, so the hero keeps its own
   height and the sections follow it. */
.s-example[data-part="site"] { --s-screen: 670px; }
/* The whole site, or the office page, opened large: its own window, scrolling as the site does
   (a screen the window's again: the pin let go, each rule's own fallback),
   its bar hidden (the screen's scroll pill says it scrolls). */
.s-example[data-part="big"], .s-example[data-part="about"].is-big { overflow: auto; scrollbar-width: none; }
.s-example[data-part="big"] { --s-screen: initial; }
.s-example[data-part="big"]::-webkit-scrollbar, .s-example[data-part="about"].is-big::-webkit-scrollbar { display: none; }
/* The office page's words in their small box: room over the top for the
   box's enlarge pill when it stands there, as a bar's (site-look#fitSite). */
.s-example[data-part="about"] body { padding-block-start: var(--s-example-room, 0px); }
/* The paragraph open in the editor beside it (#482), ringed in the look's accent. */
.s-example[data-part="about"] [data-marked] { outline: 2px solid var(--v-accent); outline-offset: .75rem; border-radius: 2px; transition: outline-color .2s ease-out; }
/* A step's example shows one part of the hero, the screen zooming to it:
   its words (the name, its rule, the slogan under it, the search sentence and its press) or its
   moving piece. The rest keeps its room unseen, so the part stands where
   the site puts it. */
.s-example[data-part="words"] .s-hero > .s-hero-frame, .s-example[data-part="words"] .s-hero-plate > :not(.s-name, .s-rule, .s-standfirst, .s-search), .s-example[data-part="piece"] .s-hero-plate { visibility: hidden; }
/* The site words' example (#216): the name, its rule and the line under it alone. */
.s-example[data-part="name"] .s-hero > .s-hero-frame, .s-example[data-part="name"] .s-hero-plate > :not(.s-name, .s-rule, .s-standfirst) { visibility: hidden; }
/* Each centred in the box, a long word broken inside it. */
.s-example[data-part="name"] .s-hero-plate > :is(.s-name, .s-rule, .s-standfirst) { align-self: center; margin-inline: auto; text-align: center; overflow-wrap: break-word; }
/* A section's example (#210): a home part cut out alone, the rest of the
   home not drawn, or a menu page's main part; scrolling as the site does. */
.s-example[data-part="section"] { overflow: auto; scrollbar-width: none; --s-screen: initial; }
.s-example[data-part="section"]::-webkit-scrollbar { display: none; }
.s-example[data-section="featured"] .s-main > :not(.s-featured),
.s-example[data-section="places"] .s-main > :not(.s-chips),
.s-example[data-section="listings"] .s-main > :not(.s-listings),
.s-example[data-section="team"] .s-main > :not(.s-team) { display: none; }
/* Atelier's home parts sit beside its hero's column; cut out alone, the
   part spans the page between its sides, centred. */
@media (min-width: 64rem) {
  .s-example[data-part="section"][data-layout="atelier"] .s-main > :is(.s-featured, .s-chips, .s-listings, .s-team) { grid-column: 2 / 4; grid-row: auto; padding-inline: 0; }
  .s-example[data-part="section"][data-layout="atelier"] .s-main { padding-block-start: 0; }
}
/* The neighborhoods cut out alone, a short row: its title and chips in the
   middle of their box, in every look. */
.s-example[data-section="places"] .s-chips { text-align: center; }
.s-example[data-section="places"] .s-chips ul { justify-content: center; }

/* The team on a phone, every look: two a row, smaller faces, each card's
   parts on rows shared with its neighbour (face, name, title, phone, second
   phone, license), so a missing second phone or license leaves no hole; the
   name two lines at most, the license in small print. Shalva's home row
   still scrolls, its cards on the same shared rows. */
@media (max-width: 40rem) {
  [data-layout] .s-team .s-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
  [data-layout] .s-team .s-person {
    display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0;
    justify-items: center; align-items: start; inline-size: auto; padding-block-end: 2.25rem;
  }
  [data-layout="atelier"] .s-team .s-person, [data-layout="meridian"] .s-team .s-person { justify-items: start; }
  [data-layout] .s-team .s-person-face { grid-row: 1; inline-size: 5.5rem; block-size: 5.5rem; margin-block-end: .625rem; }
  [data-layout] .s-team .s-person-mark .v-icon { inline-size: 2.25rem; block-size: 2.25rem; }
  [data-layout] .s-team .s-person-name {
    grid-row: 2; max-inline-size: 100%; font-size: 1.1875rem; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  [data-layout] .s-team .s-person-role { grid-row: 3; font-size: .875rem; }
  [data-layout] .s-team .s-person-tel { grid-row: 4; min-block-size: 2.5rem; margin-block-start: 0; }
  [data-layout] .s-team .s-person-tel + .s-person-tel { grid-row: 5; }
  [data-layout] .s-team .s-person .s-licence { grid-row: 6; margin-block-start: .25rem; font-size: .75rem; line-height: 1.35; }
  [data-layout="shalva"] .s-team:not(.s-team--all) .s-people { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 8.5rem; grid-template-rows: repeat(6, auto); }
  [data-layout="shalva"] .s-team:not(.s-team--all) .s-person { padding-block-end: 0; }
}

/* A reader who asked for less motion: nothing moves, nothing waits hidden. */
@media (prefers-reduced-motion: reduce) {
  .s-top, .s-logo, .s-call, .s-go, .s-chip, .s-reel-photo, .s-js [data-reveal], .s-js .s-section-title::after,
  .s-card-photo img, .s-card-link, .s-person-face, .s-person-more-count, .s-listing-bar,
  .s-js[data-layout="shchuna"] .s-chips [data-reveal],
  [data-layout="shchuna"] .s-card-photo, [data-layout="shchuna"] .s-chip { transition: none; }
  .s-js [data-reveal] { opacity: 1; translate: none; }
  .s-top.is-away { translate: none; }
  /* The site menu and the office's pages (#142): nothing drawn, faded or moved. */
  .s-menu-link, [data-layout="atelier"] .s-menu--plate .s-menu-link, .s-lang-link, .s-menu-press, .s-menu.is-folded .s-menu-links, .s-menu.is-folded.is-open .s-menu-links,
  .s-contact-call, .s-office-map-still, .s-office-map iframe { transition: none; }
  .s-menu.is-folded .s-menu-links { translate: none; }
  [data-layout], [data-layout] body::after, [data-layout].is-menu-open body::after { transition: none; }
  [data-layout="atelier"] .s-menu--plate { animation: none; }
  [data-layout="atelier"] .s-hero-frame, [data-layout="atelier"] .s-hero-picture,
  [data-layout="atelier"] .s-name, [data-layout="atelier"] .s-standfirst, [data-layout="atelier"] .s-search,
  [data-layout="signature"] .s-hero-frame, [data-layout="signature"] .s-hero-plate, [data-layout="signature"] .s-rule,
  .s-js[data-layout="signature"] .s-hero-picture,
  .s-search[data-living] .s-sentence,
  .s-band .s-reel-item, .s-band--drift .s-band-row, .s-band:hover .s-band-row, .s-band:focus-within .s-band-row,
  .s-deck--turn .s-deck-item, .s-deck-list:hover .s-deck-item, .s-deck:focus-within .s-deck-item,
  .s-deck--turn .s-reel-caption, .s-deck-list:hover .s-reel-caption, .s-deck:focus-within .s-reel-caption,
  .s-deck--turn .s-deck-item > a, .s-deck-list:hover .s-deck-item > a, .s-deck:focus-within .s-deck-item > a,
  .s-windows--turn .s-windows-list,
  .s-index-list, .s-index-row.is-lit .s-index-photo img, .s-index-row:hover .s-index-photo img, .s-index-row:focus-within .s-index-photo img,
  [data-layout="shchuna"] .s-name, [data-layout="shchuna"] .s-search, [data-layout="shchuna"] .s-standfirst,
  [data-layout="shchuna"] .s-pick,
  [data-layout="shchuna"] .s-phrase:nth-child(2) .s-pick,
  [data-layout="shchuna"] .s-line + .s-line .s-phrase:nth-child(1) .s-pick,
  [data-layout="shchuna"] .s-line + .s-line + .s-line .s-phrase:nth-child(1) .s-pick,
  .s-bubble, [data-layout="shchuna"] .s-pick-word,
  [data-layout="shchuna"] .s-phrase:nth-child(2) .s-pick-word,
  [data-layout="shchuna"] .s-line + .s-line .s-phrase:nth-child(1) .s-pick-word,
  [data-layout="shchuna"] .s-line + .s-line + .s-line .s-phrase:nth-child(1) .s-pick-word { animation: none; }
  .s-bubble.is-closing, .s-bubble.is-sheet, .s-bubble.is-sheet.is-closing, .s-bubble.is-sheet::backdrop, .s-bubble.is-sheet.is-closing::backdrop { animation: none; }
  .s-other, .s-other::backdrop { transition: none; translate: none; }
  .s-pick-press, .s-chip-option, .s-detail-option, .s-detail-option::before, .s-more, .s-band .s-reel-item, .s-all-link, .s-js .s-about[data-reveal] .s-about-shot, .s-js .s-about[data-reveal] .s-about-face, .s-pager a, .s-brand--name, .s-scatter-item, .s-deck-item, .s-scatter .s-reel-caption, .s-deck .s-reel-caption { transition: none; }
  .s-windows.is-turning .s-window, .s-windows.is-turning .s-window.is-up, .s-windows.is-turning .s-window .s-reel-photo,
  .s-index-name, .s-index-place, .s-index-photo,
  .s-index-row.is-lit .s-index-photo, .s-index-row:hover .s-index-photo, .s-index-row:focus-within .s-index-photo { transition: none; }
  .s-card:hover .s-card-photo img, .s-reel-item:hover .s-reel-photo { scale: none; }
  [data-layout="shchuna"] .s-card:hover .s-card-photo { translate: none; }
  .s-show-photo img, .s-js .s-show[data-reveal] .s-show-photo img, [data-layout="shchuna"] .s-show-box { transition: none; }
  .s-show:hover .s-show-photo img, .s-js .s-show[data-reveal] .s-show-photo img, .s-js .s-show.is-shown:hover .s-show-photo img { scale: none; }
  [data-layout="shchuna"] .s-show:hover .s-show-box { translate: none; }

  .s-gallery-photo img, .s-gallery-step, .s-js .s-listing-part-title::after { transition: none; }
  .s-share-panel, .s-share-panel.is-leaving, .s-share-note:not(:empty), .s-share-note.is-leaving { animation: none; }
  .s-gallery-photo:hover img { scale: none; }
  .s-toast { animation: none; }
  /* The contact form (#143): its messages and thanks there at once. */
  .s-lead-box { transition: none; }
  .s-lead-error, .s-lead-failed, .s-lead-error.is-leaving, .s-lead-failed.is-leaving, .s-lead-body.is-leaving, .s-lead-thanks:not(:empty), .s-lead-count { animation: none; }

  /* ---- Meridian's twins ---- */

  [data-layout="meridian"] .s-name, [data-layout="meridian"] .s-rule, [data-layout="meridian"] .s-standfirst,
  [data-layout="meridian"] .s-search, [data-layout="meridian"] .s-hero-frame { animation: none; }
  [data-layout="meridian"] .s-card { transition: none; }

  /* Meridian's twins go above this line. */

  /* ---- Shalva's twins ---- */

  [data-layout="shalva"] .s-name, [data-layout="shalva"] .s-standfirst, [data-layout="shalva"] .s-hero-logo,
  [data-layout="shalva"] .s-hero-frame, [data-layout="shalva"] .s-search { animation: none; }
  .s-js[data-layout="shalva"] [data-reveal], .s-js[data-layout="shalva"] .s-section-title::after,
  [data-layout="shalva"] .s-person-name, [data-layout="shalva"] .s-person-tel,
  [data-layout="shalva"] .s-person-role, [data-layout="shalva"] .s-person .s-licence,
  [data-layout="shalva"] .s-person-face { transition: none; }

  /* Shalva's twins go above this line. */

  /* ---- Duet's twins ---- */

  [data-layout="duet"] .s-hero-plate, [data-layout="duet"] .s-name, [data-layout="duet"] .s-standfirst, [data-layout="duet"] .s-search { animation: none; }
  [data-layout="duet"] .s-listings .s-card-body, .s-js[data-layout="duet"] .s-listings .s-card-body { transition: none; }
  .s-js[data-layout="duet"] .s-listings .s-card-body { clip-path: none; }

  /* Duet's twins go above this line. */
}

/* The trail's row (#145) on a computer: over the photos and the side
   panel both, in the page's column; Shalva's one column too. */
@media (min-width: 64rem) {
  .s-listing { grid-template-areas: "crumbs crumbs" "gallery aside" "story aside"; }
  [data-layout="shalva"] .s-listing { grid-template-areas: "crumbs" "gallery" "story"; }
  .s-crumbs { grid-area: crumbs; padding: 0 0 .75rem; }
  /* Atelier's lead photo is never wider than its file, so its column is
     the photo's and the photo and the panel sit together in the middle. */
  [data-layout="atelier"] .s-listing { grid-template-columns: minmax(0, 32rem) 21rem; justify-content: center; }
  /* Its narrower story takes a line more, so the photo spares it on a short screen. */
  [data-layout="atelier"] .s-gallery-row { block-size: clamp(14rem, calc(var(--s-screen, 100svh) - 26rem), 26rem); }
}
