/* metamorfoz_________ — asemic traces
   Paper wall, black ink, one red trace. */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #e7e3da;
  --paper-2: #dbd6cb;
  --ink: #0e0d0c;
  --ink-2: #1b1917;
  --mute: #6d675d;
  --red: #b3261b;
  --line: rgba(14, 13, 12, 0.2);
  --pad: clamp(18px, 4vw, 60px);
  --gap: clamp(12px, 1.6vw, 26px);
  --head-h: 58px;
  --sans: "Syne", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 0.9rem + 0.12vw, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* plaster grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--pad); }

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.label--mute { color: var(--mute); }
.red { color: var(--red); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { top: 12px; color: var(--paper); }

/* ───────── header ───────── */
.head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head-h); }
.brand {
  font-weight: 800; font-size: 1.22rem; letter-spacing: -0.035em;
  text-decoration: none; line-height: 1; padding-block: 8px;
}
.brand:hover { color: var(--ink); }
.head__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.head__rule i {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left center; /* set by main.js */
}
@keyframes rule { from { transform: scaleX(0); } }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; position: relative; padding-block: 8px;
}
.nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: -11px; top: 50%;
  width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; background: var(--red);
}
.nav .nav__book {
  border: 1px solid var(--ink); border-radius: 999px; padding: 8px 15px;
  transition: background 0.25s, color 0.25s;
}
.nav .nav__book:hover, .nav .nav__book[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav .nav__book[aria-current="page"]::before { display: none; }

.menu-btn {
  display: none; background: none; border: 0; padding: 10px 0 10px 10px; color: inherit; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--head-h));
    background: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px;
    padding: 28px var(--pad) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a, .nav .nav__book {
    font-family: var(--sans); font-weight: 800; font-size: clamp(2.3rem, 12vw, 3.6rem);
    letter-spacing: -0.045em; text-transform: lowercase; line-height: 1.02;
    border: 0; padding: 4px 0; border-radius: 0; background: none; color: var(--ink);
  }
  .nav .nav__book { color: var(--red); margin-top: 14px; }
  .nav .nav__book:hover, .nav .nav__book[aria-current="page"] { background: none; color: var(--red); }
  .nav a[aria-current="page"]::before { left: auto; right: -18px; width: 8px; height: 8px; }
  body.nav-open { overflow: hidden; }
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 15px 22px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.textlink {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* ───────── asemic svg ───────── */
.asemic { display: block; width: 100%; overflow: visible; color: var(--ink); }
.asemic path { fill: currentColor; }
.asemic path.r { fill: var(--red); }
/* written word by word (each <g> is one word) */
.js .asemic g {
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transform-box: fill-box; transform-origin: center;
}
.js .asemic.is-inked g {
  animation: ink 0.55s var(--ease) forwards;
  animation-delay: var(--i, 0ms);
}
@keyframes ink { to { opacity: 1; transform: none; } }
.asemic--line { height: 110px; }
.asemic--thin { height: 70px; }

/* ───────── reveal ───────── */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; }
/* pictures fade in once they are in view and loaded; only opacity and transform move, so nothing is repainted */
.js [data-reveal="img"] img { opacity: 0; transform: scale(1.035); transition: opacity 0.7s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in img { opacity: 1; transform: none; }

/* ───────── hero ───────── */
.hero { position: relative; padding-top: clamp(14px, 2.4vw, 34px); --fs: min(calc((100vw - 2 * var(--pad)) / 6.36), 262px); }
.hero__mark {
  position: relative; z-index: 3;
  font-weight: 800; font-size: var(--fs);
  line-height: 0.84; letter-spacing: -0.06em;
  margin-left: -0.05em; white-space: nowrap;
  color: var(--paper); mix-blend-mode: difference;
  pointer-events: none;
}
.hero__mark .l1 { display: flex; align-items: flex-end; gap: 0.1em; }
.hero__mark .l2 { display: block; }
.hero__mark .l1 > span, .hero__mark .l2 { animation: rise 1.1s var(--ease) both; }
.hero__mark .l2 { animation-delay: 0.09s; }
.hero__mark .hero__rule {
  flex: 1; height: 0.07em; background: currentColor; margin-bottom: 0.115em;
  transform-origin: left center; animation: rule 1.5s 0.25s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(0.25em); } }

.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap);
  margin-top: calc(var(--fs) * -0.8);
}
.hero__side {
  grid-column: 1 / 5; align-self: end;
  padding-bottom: clamp(20px, 3vw, 46px); padding-top: calc(var(--fs) * 0.8 + 50px);
  display: flex; flex-direction: column; gap: 22px;
}
.hero__lede { font-size: clamp(1.15rem, 1.5vw, 1.55rem); line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; max-width: 21ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__img { grid-column: 7 / 13; aspect-ratio: 5 / 6; overflow: hidden; background: var(--paper-2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }


@media (max-width: 860px) {
  .hero__grid { display: flex; flex-direction: column; margin-top: calc(var(--fs) * -0.42); }
  .hero__img { order: 1; aspect-ratio: 4 / 5; margin-inline: calc(var(--pad) * -1); }
  .hero__side { order: 3; padding-top: 14px; }
  .hero__lede { max-width: 24ch; }
}

/* ───────── sections ───────── */
.section { padding-block: clamp(56px, 7.4vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 80px); }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: clamp(24px, 3.2vw, 50px);
}


/* selected works — broken grid */
.selected { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.piece { position: relative; }
.piece a { display: block; overflow: hidden; background: var(--paper-2); }
.piece img { width: 100%; transition: transform 1.2s var(--ease); }
.piece a:hover img { transform: scale(1.035); }
.piece figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; }
.piece:nth-child(1) { grid-column: 1 / 6; }
.piece:nth-child(2) { grid-column: 8 / 12; margin-top: clamp(60px, 13vw, 220px); }
.piece:nth-child(3) { grid-column: 4 / 8; margin-top: clamp(-120px, -7vw, -30px); }
.piece:nth-child(4) { grid-column: 9 / 13; margin-top: clamp(40px, 7vw, 120px); }
.piece:nth-child(5) { grid-column: 2 / 6; margin-top: clamp(-60px, -3vw, -10px); }
.selected__more { grid-column: 7 / 13; align-self: end; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-bottom: 30px; }
.selected__more p { font-size: clamp(1.3rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; max-width: 18ch; }
@media (max-width: 860px) {
  .selected { display: flex; flex-direction: column; gap: 34px; }
  .piece { width: 82%; margin-top: 0 !important; }
  .piece:nth-child(even) { align-self: flex-end; }
  .piece:nth-child(3) { width: 100%; }
}

/* triad */
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.triad li { border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.triad h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; font-weight: 700; margin-top: clamp(20px, 4vw, 70px); }
.triad p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 860px) { .triad { grid-template-columns: 1fr; gap: 34px; } .triad h3 { margin-top: 14px; } }

/* ───────── dark band + footer ───────── */
.dark { background: var(--ink); color: var(--paper); }
.dark a:hover { color: #e8574a; }
.dark .asemic { color: var(--paper); }
.band { padding-block: clamp(70px, 10vw, 160px) clamp(40px, 5vw, 80px); position: relative; overflow: hidden; }
.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.band__title { grid-column: 1 / 9; font-size: clamp(2.4rem, 6.9vw, 7.6rem); line-height: 0.9; letter-spacing: -0.055em; font-weight: 800; }
.band__side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; padding-bottom: 0.6vw; }
.band__side p { color: #b9b3a7; max-width: 34ch; }
.band .asemic { margin-top: clamp(30px, 5vw, 70px); opacity: 0.9; }
@media (max-width: 860px) { .band__title, .band__side { grid-column: 1 / -1; } }

.foot { padding-top: clamp(30px, 4vw, 60px); overflow: hidden; }
.foot__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 34px var(--gap);
  border-top: 1px solid rgba(231, 227, 218, 0.28); padding-top: clamp(20px, 2.4vw, 34px);
}
.foot__lead { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 16px; }
.foot__lead .label { color: #8f897d; }
.foot__say { font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.06; max-width: 15ch; }
.foot__col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot__col--site { grid-column: 5 / 8; }
.foot__col--else { grid-column: 8 / 11; }
.foot__col--studio { grid-column: 11 / 13; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 9px var(--gap); }
.foot__col h2 { color: #8f897d; margin-bottom: 6px; }
.foot__col a, .foot__col p { font-size: 0.95rem; text-decoration: none; }
.foot__col a:hover { text-decoration: underline; }
/* the whole name, edge to edge */
.foot__mark {
  font-weight: 800; font-size: min(calc((100vw - 2 * var(--pad)) / var(--mark)), calc((1560px - 2 * var(--pad)) / var(--mark))); --mark: 10.36;
  line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; margin: clamp(40px, 6.4vw, 100px) 0 0 -0.055em; user-select: none;
  color: var(--paper);
}
/* measured against the footer's own width, so a scrollbar cannot push the last letter out */
@supports (width: 1cqw) {
  .foot > .wrap { container-type: inline-size; }
  .foot__mark { font-size: calc(100cqw / var(--mark)); }
}
.foot__base {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px 24px;
  border-top: 1px solid rgba(231, 227, 218, 0.28); margin-top: clamp(16px, 2vw, 28px); padding: 14px 0 22px; color: #8f897d;
}
.foot__legal { display: flex; gap: 22px; }
.foot__base a { text-decoration: none; }
@media (max-width: 860px) {
  .foot__lead, .foot__col--site { grid-column: 1 / -1; }
  .foot__col--else, .foot__col--studio { grid-column: span 6; }
  .foot__say { max-width: 18ch; }
  .foot__base { padding-bottom: 84px; } /* room for the booking button that floats at the bottom */
}

/* ───────── page head (inner pages) ───────── */
.phead { padding-top: clamp(26px, 4vw, 70px); padding-bottom: clamp(26px, 4vw, 60px); }
.phead__title {
  font-weight: 800; font-size: min(10.2vw, 168px); line-height: 0.86; letter-spacing: -0.06em;
  margin-left: -0.055em;
}
.phead__title sup { font-family: var(--mono); font-weight: 400; font-size: max(0.11em, 11px); letter-spacing: 0.08em; vertical-align: top; position: relative; top: 0.9em; margin-left: 0.6em; color: var(--red); }
.phead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; border-top: 1px solid var(--ink); margin-top: clamp(18px, 2.4vw, 34px); padding-top: 12px; }
.phead__intro { max-width: 46ch; color: var(--ink-2); }

/* ───────── works ───────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { columns: 3; column-gap: var(--gap); padding-bottom: clamp(60px, 9vw, 140px); }
.tile { break-inside: avoid; margin-bottom: clamp(22px, 2.6vw, 40px); display: block; text-decoration: none; }
.tile[hidden] { display: none; }
.tile__img { overflow: hidden; background: var(--paper-2); }
.tile img { width: 100%; transition: transform 1.2s var(--ease), filter 0.5s; }
.tile:hover img { transform: scale(1.035); }
.tile:hover { color: var(--ink); }
.tile__cap { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; }
.tile__cap span:last-child { color: var(--mute); }
@media (max-width: 1000px) { .grid { columns: 2; } }
@media (max-width: 520px) { .grid { column-gap: 10px; } .tile__cap span:last-child { display: none; } }

.lb {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: rgba(14, 13, 12, 0.97); color: var(--paper);
}
.lb::backdrop { background: rgba(14, 13, 12, 0.6); }
.lb__in { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); }
.lb__stage { min-height: 0; display: flex; align-items: center; justify-content: center; padding-inline: var(--pad); }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad) 18px; }
.lb button {
  background: none; border: 0; color: inherit; cursor: pointer; padding: 10px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.lb button:hover { color: #e8574a; }
.lb__nav { display: flex; gap: 26px; }

/* ───────── about ───────── */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.split__img { grid-column: 1 / 7; position: sticky; top: calc(var(--head-h) + 20px); overflow: hidden; background: var(--paper-2); }
.split__body { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 1.2em; padding-top: 4px; }
.split--flip .split__img { grid-column: 8 / 13; order: 2; }
.split--flip .split__body { grid-column: 1 / 7; order: 1; }
.lead { font-size: clamp(1.45rem, 2.7vw, 2.7rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.body-l { font-size: clamp(1.02rem, 1.2vw, 1.22rem); line-height: 1.5; max-width: 46ch; }
@media (max-width: 860px) {
  .split__img, .split__body, .split--flip .split__img, .split--flip .split__body { grid-column: 1 / -1; position: static; order: 0; }
}

.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { color: var(--mute); }
.facts dd { font-weight: 600; letter-spacing: -0.01em; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts div { grid-template-columns: 6.5em 1fr; } }

/* ───────── info ───────── */
.block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--ink); padding-block: 14px clamp(50px, 8vw, 120px); }
.block__label { grid-column: 1 / 4; position: sticky; top: calc(var(--head-h) + 16px); align-self: start; display: flex; gap: 14px; }
.block__body { grid-column: 5 / 12; }
.block__title { font-size: clamp(2rem, 5vw, 5rem); line-height: 0.92; letter-spacing: -0.05em; font-weight: 800; margin-bottom: clamp(24px, 3.4vw, 50px); }
@media (max-width: 860px) { .block__label, .block__body { grid-column: 1 / -1; position: static; } .block__label { margin-bottom: 18px; } }

.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4.2em 1fr; gap: 6px 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--red); padding-top: 0.55em; }
.steps h3 { font-size: clamp(1.25rem, 1.9vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 700; }
.steps p { grid-column: 2; color: var(--ink-2); max-width: 54ch; }

.dash li { position: relative; padding: 12px 0 12px 2.2em; border-top: 1px solid var(--line); max-width: 62ch; }
.dash li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 1.3em; height: 2px; background: var(--ink); transform: rotate(-4deg); border-radius: 2px; }
.note { margin-top: 22px; color: var(--mute); max-width: 56ch; font-size: 0.95em; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  padding: 18px 0; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.1rem; color: var(--red); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 56ch; color: var(--ink-2); }

/* ───────── booking ───────── */
.book { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) var(--gap); align-items: start; padding-bottom: clamp(70px, 9vw, 150px); }
.book__info { grid-column: 1 / 6; }
.book__slot { grid-column: 6 / 13; }
@media (min-width: 961px) { .book__info { position: sticky; top: calc(var(--head-h) + 20px); } }
@media (max-width: 960px) { .book__info, .book__slot { grid-column: 1 / -1; } .book__slot { order: -1; } .slot__body { min-height: 320px; } }

.slot { border: 1px solid var(--ink); background: color-mix(in srgb, var(--paper) 70%, #fff); position: relative; }
.slot__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ink); }
.slot__bar i { font-style: normal; display: inline-flex; align-items: center; gap: 8px; }
.slot__bar i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.slot__body { padding: clamp(22px, 3.4vw, 50px); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-height: 420px; justify-content: center; }
.slot__body h2 { font-size: clamp(1.7rem, 3.4vw, 3.3rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; max-width: 14ch; }
.slot__body p { max-width: 44ch; color: var(--ink-2); }
.slot iframe { display: block; width: 100%; height: min(86dvh, 900px); border: 0; background: #fff; }
.slot__alt { padding: 12px 16px; border-top: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ───────── prose (legal) ───────── */
.prose { max-width: 70ch; padding-bottom: clamp(70px, 9vw, 140px); }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; margin: 2.2em 0 0.6em; font-weight: 700; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { list-style: none; }
.prose ul li { padding-left: 1.6em; position: relative; margin-bottom: 0.4em; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--mute); }
.todo { background: #f1d9a8; padding: 0 0.3em; font-family: var(--mono); font-size: 0.86em; }
.draft { border: 1px dashed var(--red); padding: 14px 16px; margin-bottom: 2em; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--red); }

/* ───────── page transitions ───────── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; }

@media (min-width: 861px) {
  .nav a:not(.nav__book)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right center; transition: transform 0.4s var(--ease);
  }
  .nav a:not(.nav__book):hover::after { transform: scaleX(1); transform-origin: left center; }
}

.block, .tile { scroll-margin-top: calc(var(--head-h) + 12px); }

/* hero caption */
.hero__img { position: relative; }
.hero__img figcaption { position: absolute; left: 12px; bottom: 10px; color: var(--paper); mix-blend-mode: difference; }


/* ───────── index by placement ───────── */
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.places li:nth-child(even) { margin-top: clamp(18px, 3.4vw, 56px); }
.place { display: block; text-decoration: none; }
.place:hover { color: var(--ink); }
.place__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover .place__img img { transform: scale(1.04); }
.place__row { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; }
.place__n { color: var(--mute); }
.place__name {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px;
  font-weight: 800; font-size: clamp(1.2rem, 2.3vw, 2.3rem); letter-spacing: -0.045em; line-height: 1.02;
}
.place__name .arr { font-family: var(--mono); font-size: 0.5em; letter-spacing: 0; transition: transform 0.45s var(--ease), color 0.2s; }
.place:hover .place__name .arr { transform: translateX(6px); color: var(--red); }
@media (max-width: 860px) {
  .places { grid-template-columns: 1fr 1fr; gap: 26px 10px; }
  .places li:nth-child(even) { margin-top: 26px; }
}

/* cursor followers (fine pointers only, made by main.js) */
.peek {
  position: fixed; left: 0; top: 0; z-index: 150; width: clamp(190px, 17vw, 270px); aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden; background: var(--paper-2); opacity: 0; transition: opacity 0.25s; will-change: transform;
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.ctag {
  position: fixed; left: 0; top: 0; z-index: 151; pointer-events: none;
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 7px 11px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  opacity: 0; transition: opacity 0.2s; will-change: transform;
}
.peek.is-on, .ctag.is-on { opacity: 1; }

/* ───────── about teaser (dark) ───────── */
.teaser { padding-block: clamp(60px, 9vw, 150px); }
.teaser__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.teaser__img { grid-column: 1 / 6; overflow: hidden; background: var(--ink-2); }
.teaser__img img { width: 100%; height: 100%; object-fit: cover; }
.teaser__col { grid-column: 6 / 8; }
.teaser__col .asemic { height: 100%; min-height: 300px; }
.teaser__body { grid-column: 8 / 13; align-self: end; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.teaser__body h2 { color: #8f897d; }
.teaser__quote { font-size: clamp(1.7rem, 3.5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
.teaser__text { color: #b9b3a7; max-width: 40ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.5; }
@media (max-width: 860px) {
  .teaser__grid { display: flex; flex-direction: column; gap: 24px; }
  .teaser__img { margin-inline: calc(var(--pad) * -1); }
  .teaser__col .asemic { height: 80px; min-height: 0; }
}

/* ───────── process line ───────── */
.line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); position: relative; padding-top: 34px; }
.line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink);
  transform-origin: left center; transition: transform 1.7s var(--ease) 0.15s;
}
.js .line[data-reveal]:not(.is-in)::before { transform: scaleX(0); }
.line li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.line li::before { content: ""; position: absolute; left: 0; top: -34px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.line li:last-child::before { background: var(--red); }
.line h3 { font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -0.035em; line-height: 1; font-weight: 700; }
.line p { color: var(--ink-2); max-width: 26ch; font-size: 0.95em; }
@media (max-width: 860px) {
  .line { grid-template-columns: 1fr; padding-top: 0; padding-left: 30px; gap: 26px; }
  .line::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: center top; }
  .js .line[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
  .line li::before { left: -30px; top: 3px; }
  .line p { max-width: 40ch; }
}

/* ───────── practical ───────── */
/* one sheet, two halves, rows on the same lines */
.prac {
  --row: clamp(62px, 5.2vw, 82px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(30px, 5vw, 84px); align-items: start;
  background: var(--paper-2); padding: clamp(18px, 2.4vw, 36px) clamp(16px, 2.6vw, 40px) clamp(22px, 2.8vw, 42px);
}
.prac__half { min-width: 0; }
.prac__sub { margin-bottom: 12px; }
.prac__facts, .prac__faq { border-top: 1px solid var(--ink); }
.prac__facts div {
  display: grid; grid-template-columns: 8.4em minmax(0, 1fr); gap: 12px; align-items: center;
  min-height: var(--row); padding: 12px 0; border-bottom: 1px solid var(--line);
}
.prac__facts dt { color: var(--mute); }
.prac__facts dd, .prac .faq summary { font-size: clamp(1.05rem, 1.45vw, 1.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.prac__facts dd, .foot__say { text-wrap: balance; }
.prac .faq details { border-top: 0; border-bottom: 1px solid var(--line); }
.prac .faq summary { min-height: var(--row); padding: 12px 0; align-items: center; }
.prac .faq details p { padding: 0 0 20px; }
.prac__more {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: var(--row);
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.prac__more .arr { transition: transform 0.35s var(--ease); }
.prac__more:hover .arr { transform: translateX(5px); }
@media (max-width: 860px) {
  .prac { grid-template-columns: 1fr; --row: 58px; }
  .prac__facts div { grid-template-columns: 6.6em minmax(0, 1fr); }
}

/* ───────── home: approach and process in one block ───────── */
.way { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px var(--gap); align-items: start; }
.way__col { min-width: 0; }
.way__col:first-child { grid-column: 1 / 7; }
.way__col:last-child { grid-column: 8 / 13; }
.way__sub { margin-bottom: 14px; }
.rules li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 0 10px; border-top: 1px solid var(--ink); padding: 16px 0 clamp(22px, 2.6vw, 38px); }
.rules li:last-child { padding-bottom: 0; }
.rules .label { padding-top: 0.55em; }
.rules h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); letter-spacing: -0.04em; line-height: 1; font-weight: 700; }
.rules p { color: var(--ink-2); max-width: 40ch; margin-top: 10px; }
/* the process line, upright at every width */
.line--v { grid-template-columns: 1fr; padding-top: 22px; padding-left: 30px; gap: 0; }
.line--v::before { left: 4px; right: auto; top: 28px; bottom: 6px; width: 1px; height: auto; transform-origin: center top; }
.js .line--v[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
.line--v li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 0 10px; align-items: baseline; padding-bottom: clamp(18px, 2.1vw, 30px); }
.line--v li::before { left: -30px; top: 5px; }
.line--v li:last-child { padding-bottom: 0; }
.line--v li:last-child::after { content: ""; position: absolute; left: -30px; top: 16px; bottom: -8px; width: 10px; background: var(--paper); }
.line--v h3 { font-size: clamp(1.3rem, 2vw, 2rem); }
.line--v p { max-width: none; margin-top: 7px; }
@media (max-width: 860px) {
  .way__col:first-child, .way__col:last-child { grid-column: 1 / -1; }
}

/* ───────── about: studio ───────── */
.studio__name {
  font-weight: 800; font-size: min(calc((100vw - 2 * var(--pad)) / 10.4), 138px); line-height: 0.86; letter-spacing: -0.06em;
  margin-left: -0.05em; white-space: nowrap;
}
.studio__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(26px, 4vw, 60px); align-items: end; }
.studio__row > p { grid-column: 1 / 7; }
.studio__links { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
@media (max-width: 860px) { .studio__row > p, .studio__links { grid-column: 1 / -1; } }

/* ───────── info: jump + at a glance ───────── */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; transition: border-color 0.2s;
}
.jump a:hover { border-color: var(--ink); color: var(--ink); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: clamp(40px, 6vw, 90px); }
.glance div { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.glance dt { color: var(--mute); }
.glance dd { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.15; }
@media (max-width: 860px) { .glance { grid-template-columns: 1fr 1fr; gap: 22px var(--gap); } }

.filters sup { font-size: 9px; opacity: 0.6; margin-left: 3px; vertical-align: top; position: relative; top: -1px; letter-spacing: 0.04em; }

.lb__stage img { opacity: 0; transition: opacity 0.3s; }
.lb__stage img.is-on { opacity: 1; }

/* ───────── booking: request form ───────── */
.req { padding: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 32px); }
.req__title { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 0.96; letter-spacing: -0.05em; font-weight: 800; }
.req fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.req legend, .field > span {
  display: flex; align-items: baseline; gap: 10px; padding: 0; margin-bottom: 12px;
  font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em;
}
.req legend em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: block; border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; font-size: 0.95rem; line-height: 1.2; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.req__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.field { display: flex; flex-direction: column; min-width: 0; }
.field > span { margin-bottom: 4px; }
.field input, .field textarea {
  font: inherit; font-size: max(16px, 1em); color: inherit; background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0 10px; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); opacity: 1; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.req__out { border: 1px solid var(--ink); background: var(--paper); }
.req__outbar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.req__out pre { margin: 0; padding: 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 7em; }
.req__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.req__actions .textlink { background: none; border: 0; border-bottom: 1px solid currentColor; color: inherit; cursor: pointer; padding: 0 0 3px; }
.req__actions .textlink:hover { color: var(--red); }
.req__status { color: var(--red); }
.req .note { margin-top: 0; }
html:not(.js) .req__out, html:not(.js) [data-req-copy] { display: none; }
@media (max-width: 560px) { .req__row { grid-template-columns: 1fr; } }

/* ───────── footer extras + mobile dock ───────── */
.foot__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 16px; }
.foot__top a { text-decoration: none; }
.foot__status { display: inline-flex; align-items: center; gap: 9px; }
.foot__status i { width: 7px; height: 7px; border-radius: 50%; background: #e8574a; animation: pulse 2.4s ease-in-out infinite; }
.slot__bar i::before { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }

.dock { display: none; }
@media (max-width: 860px) {
  .dock {
    display: inline-flex; align-items: center; gap: 10px; position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55;
    transform: translate(-50%, 160%); background: var(--ink); color: var(--paper); border-radius: 999px; padding: 14px 20px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    box-shadow: 0 10px 30px rgba(14, 13, 12, 0.28); transition: transform 0.5s var(--ease);
  }
  .dock:hover { color: var(--paper); }
  .dock.is-on { transform: translate(-50%, 0); }
  body.nav-open .dock { transform: translate(-50%, 160%); }
}

/* ───────── 404 ───────── */
.lost { padding-block: clamp(40px, 7vw, 110px) clamp(70px, 10vw, 160px); display: flex; flex-direction: column; gap: clamp(20px, 3vw, 40px); align-items: flex-start; }
.lost__title { font-weight: 800; font-size: min(12vw, 190px); line-height: 0.86; letter-spacing: -0.06em; margin-left: -0.05em; }
.lost__cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

/* ───────── prices ───────── */
.rates { border-top: 1px solid var(--ink); }
.rates li {
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: baseline;
  gap: 8px var(--gap); padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
}
.rates h3 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.8rem); letter-spacing: -0.045em; line-height: 1; }
.rates p { grid-column: 2; color: var(--mute); max-width: 44ch; }
.rates__price {
  grid-column: 3; grid-row: 1 / span 2; align-self: center; text-align: right;
  font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -0.02em;
}
.terms div {
  display: grid; grid-template-columns: minmax(8em, 13em) minmax(0, 1fr); gap: 8px var(--gap);
  padding: 16px 0; border-top: 1px solid var(--line);
}
.terms dt { color: var(--mute); padding-top: 0.3em; }
.terms dd { max-width: 56ch; }
.terms__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: clamp(28px, 4vw, 50px); }
.wrap > .draft { max-width: 70ch; }
@media (max-width: 640px) {
  .rates li { grid-template-columns: 2.4em minmax(0, 1fr); }
  .rates__price { grid-column: 2; grid-row: auto; text-align: left; margin-top: 4px; }
  .terms div { grid-template-columns: 1fr; gap: 6px; }
}


/* ───────── ornaments laid over a block (asemic.js) ───────── */
[data-orn] { position: relative; }
[data-orn] > :not(.orn) { position: relative; z-index: 1; }
.orn { position: absolute; inset: 0; pointer-events: none; color: var(--ink); z-index: 0; }
/* one small svg per word: showing it only fades and moves a layer, nothing is repainted */
.orn__w {
  position: absolute; display: block; overflow: visible; opacity: 0; transform: translate3d(0, -6px, 0) scale(0.94);
  transition: opacity 0.45s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--j) * 40ms);
}
.orn__w path { fill: currentColor; }
.orn__w path.r { fill: var(--red); }
.orn__w.on { opacity: 1; transform: none; }
/* the writing passes behind the pictures and their captions */
[data-orn] .piece figcaption { background: var(--paper); padding-bottom: 6px; }
[data-orn="trace"] .selected__more { background: var(--paper); padding: 18px 0 30px 18px; }

/* ───────── home, version A: denser layout ───────── */
.hero__second { display: flex; flex-direction: column; }
.hero__second a { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--paper-2); }
.hero__second img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__second figcaption { padding-top: 8px; }
.hero__top { display: flex; flex-direction: column; gap: 20px; }
.mosaic { display: grid; gap: var(--gap); }
.mosaic__row { display: flex; gap: var(--gap); align-items: stretch; }
.mosaic .piece { flex: var(--r) 1 0%; min-width: 0; width: auto; margin-top: 0; align-self: auto; grid-column: auto; }
.mosaic .piece img { aspect-ratio: var(--r); object-fit: cover; }
.mosaic .piece figcaption span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mosaic .selected__more {
  flex: 0.9 1 0%; min-width: 0; align-self: stretch; justify-content: space-between; margin-bottom: 27px;
  background: var(--ink); color: var(--paper); padding: clamp(16px, 2vw, 30px);
}
@media (min-width: 861px) {
  .v-a .hero__side {
    grid-column: 1 / 7; align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 37%);
    grid-template-rows: minmax(0, 1fr) auto; gap: 24px var(--gap);
    padding-top: calc(var(--fs) * 0.8 + 44px); padding-bottom: 0;
  }
  .v-a .hero__top { grid-column: 1; grid-row: 1; }
  .v-a .hero__cta { grid-column: 1; grid-row: 2; flex-direction: column; align-items: flex-start; padding-bottom: 26px; }
  .v-a .hero__second { grid-column: 2; grid-row: 1 / 3; }
  .v-a .hero__lede { font-size: clamp(1.5rem, 3.1vw, 3.3rem); line-height: 1.03; letter-spacing: -0.04em; font-weight: 700; max-width: 13ch; }
}
@media (max-width: 860px) {
  .hero__second { display: none; }
  .mosaic, .mosaic__row { gap: 22px 10px; }
  .mosaic__row { display: grid; grid-template-columns: 1fr 1fr; }
  .mosaic__row:first-child .piece:first-child, .mosaic .selected__more { grid-column: 1 / -1; }
  .mosaic__row .piece:not(:first-child) img, .mosaic__row + .mosaic__row .piece img { aspect-ratio: 4 / 5; }
  .mosaic .piece figcaption span:last-child { display: none; }
  .mosaic .selected__more { margin-bottom: 0; gap: 26px; }
}

/* ───────── home, versions B and C: script in the free space ───────── */
.hero__field { flex: 1 1 0; min-height: 150px; margin-bottom: 6px; }
@media (min-width: 861px) {
  .v-b .hero__side, .v-c .hero__side { grid-column: 1 / 7; align-self: stretch; padding-top: calc(var(--fs) * 0.8 + 26px); padding-right: calc(var(--gap) * 2); }
}
@media (max-width: 860px) {
  .hero__field { flex: none; height: 120px; min-height: 0; }
  [data-orn] .piece { width: 80%; }
  [data-orn] .piece:nth-child(4) { width: 100%; }
}

/* ───────── preview switcher between the home versions (remove with the unused versions) ───────── */
.vsw {
  position: fixed; right: 14px; bottom: 14px; z-index: 58; display: flex; align-items: center; gap: 2px;
  background: var(--ink); color: var(--paper); padding: 5px 5px 5px 12px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.vsw .label { color: #8f897d; margin-right: 8px; }
.vsw a { display: flex; gap: 7px; align-items: baseline; padding: 7px 10px; text-decoration: none; color: var(--paper); }
.vsw a:hover { color: var(--paper); background: #2a2826; }
.vsw a[aria-current] { background: var(--red); }
@media (max-width: 860px) {
  .vsw { right: calc(var(--pad) + 50px); bottom: auto; top: calc((var(--head-h) - 32px) / 2); z-index: 61; padding: 3px; }
  .vsw a { padding: 6px 7px; }
  .vsw .label, .vsw a span { display: none; }
  body.nav-open .vsw { display: none; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .foot__status i, .slot__bar i::before { animation: none !important; }
  @view-transition { navigation: none; }
}
