:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #5e5a54;
  --line: rgba(20, 20, 20, .14);
  --stone: #f4f2ee;
  --ochre: #8c6418;
  --night: #121212;
  --on-night: #f4f2ee;
  --on-night-muted: #b7b2a9;
  --night-line: rgba(255, 255, 255, .16);
  --on-photo: #ffffff;
  --display: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121212; --ink: #f1efea; --muted: #aaa59c; --line: rgba(255,255,255,.14); --stone: #1c1b19;
  --ochre: #caa25a; --night: #0a0a0a; --on-night: #f1efea; --on-night-muted: #aaa59c; --night-line: rgba(255,255,255,.14);
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #121212; --ink: #f1efea; --muted: #aaa59c; --line: rgba(255,255,255,.14); --stone: #1c1b19;
  --ochre: #caa25a; --night: #0a0a0a; --on-night: #f1efea; --on-night-muted: #aaa59c; --night-line: rgba(255,255,255,.14);
  color-scheme: dark }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.eyebrow { font: 500 12px/1.2 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--ochre); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; font: 500 15px/1 var(--text); letter-spacing: .04em; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); transition: background .25s, color .25s, transform .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--on-photo); color: #141414; border-color: var(--on-photo); }
.btn--light:hover { background: transparent; color: var(--on-photo); }
.btn--line-light { background: transparent; color: var(--on-photo); border-color: rgba(255,255,255,.7); }
.btn--line-light:hover { background: var(--on-photo); color: #141414; }
.tlink { font: 500 15px/1.4 var(--text); letter-spacing: .03em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.tlink:hover { color: var(--ochre); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; color: var(--on-photo); transition: background .35s, color .35s, border-color .35s; border-bottom: 1px solid transparent; }
.top.is-solid { background: var(--bg); color: var(--ink); border-color: var(--line); }
.top__bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 25px/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.logo img { width: 34px; height: 34px; }
.logo .dk { display: none; }
.top.is-solid .logo .lt { display: none; }
.top.is-solid .logo .dk { display: block; }
.top__nav { display: flex; gap: 30px; margin-left: auto; }
.top__nav a { font: 400 15px/1 var(--text); letter-spacing: .05em; text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s; }
.top__nav a:hover { background-size: 100% 1px; }
.lang { display: flex; gap: 2px; font: 500 13px/1 var(--text); letter-spacing: .1em; }
.lang button, .lang a { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; padding: 10px 6px; cursor: pointer; opacity: .55; }
.lang button[aria-pressed="true"], .lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: 14px; background: var(--on-photo); color: #141414; border-color: var(--on-photo); }
.top .btn:hover { background: transparent; color: var(--on-photo); }
.top.is-solid .btn { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.top.is-solid .btn:hover { background: transparent; color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid currentColor; color: inherit; font: 500 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; min-height: 44px; padding: 0 16px; cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--night); color: var(--on-night); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 28px) var(--gut); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.sheet nav { display: grid; margin-top: 40px; }
.sheet nav a { font: 400 38px/1.2 var(--display); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--night-line); }
.sheet .lang { margin-top: 28px; }
.sheet .btn { margin-top: auto; background: var(--on-night); color: var(--night); border-color: var(--on-night); }

/* hero */
.hero { position: relative; height: min(92svh, 900px); min-height: 600px; color: var(--on-photo); overflow: hidden; background: #0d1020; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,14,.78) 0%, rgba(8,8,14,.25) 45%, rgba(8,8,14,.35) 100%); }
.hero__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding-bottom: clamp(40px, 7vh, 88px); }
.hero .eyebrow { color: #e9cf96; }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); line-height: .98; margin-top: 20px; max-width: 11ch; }
.hero h1 em { font-style: italic; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 520px; margin-top: 22px; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__fade > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero__fade > *:nth-child(2) { animation-delay: .12s; } .hero__fade > *:nth-child(3) { animation-delay: .24s; } .hero__fade > *:nth-child(4) { animation-delay: .36s; }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* intro */
.intro { padding-block: clamp(80px, 11vw, 150px); }
.intro__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro__statement { font: 400 clamp(32px, 3.6vw, 52px)/1.14 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
.intro__statement em { font-style: italic; color: var(--ochre); }
.intro__side { display: grid; gap: 22px; color: var(--muted); }
.intro__side .tlink { color: var(--ink); justify-self: start; }

/* casas */
.homes { padding-bottom: clamp(60px, 8vw, 120px); }
.homes__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.homes__head h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.homes__head p { color: var(--muted); max-width: 360px; }
.home { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 7vw, 110px); border-bottom: 1px solid var(--line); align-items: start; }
.home:nth-of-type(even) { grid-template-columns: 5fr 7fr; }
.home:nth-of-type(even) .gallery { order: 2; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.gallery a { display: block; overflow: hidden; background: var(--stone); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.gallery a:not(:first-child) { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gallery a:hover img { transform: scale(1.035); }
.home__text { display: grid; gap: 22px; position: sticky; top: 120px; min-width: 0; }
.home__place { font: 500 12px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.home h3 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.home__tag { font: italic 400 clamp(21px, 1.8vw, 26px)/1.3 var(--display); color: var(--ochre); margin-top: -8px; }
.home__desc { color: var(--muted); max-width: 50ch; }
.home__desc + .home__desc { margin-top: -6px; }
.facts { display: grid; margin: 4px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 500 12px/1.6 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.home__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }

/* experiencia */
.band { position: relative; min-height: min(80svh, 760px); display: flex; align-items: end; color: var(--on-photo); overflow: hidden; background: #0d1020; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,14,.72), rgba(8,8,14,.05) 60%); }
.band .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 7vw, 96px); }
.band .eyebrow { color: #e9cf96; }
.band h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; max-width: 14ch; margin-top: 16px; }
.care { background: var(--stone); padding-block: clamp(64px, 8vw, 110px); }
.care__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.care__item { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ochre); }
.care__item h3 { font-size: 27px; line-height: 1.15; }
.care__item p { color: var(--muted); font-size: 16px; }

/* dueños */
.owners { background: var(--night); color: var(--on-night); padding-block: clamp(80px, 10vw, 150px); }
.owners__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.portrait figcaption { margin-top: 16px; font: italic 400 24px/1.2 var(--display); color: var(--on-night); }
.owners .eyebrow { color: #e9cf96; }
.owners h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.05; margin-top: 18px; }
.owners__lead { color: var(--on-night-muted); margin-top: 24px; max-width: 54ch; }
.services { list-style: none; padding: 0; margin: 34px 0 0; display: grid; }
.services li { display: grid; grid-template-columns: 1fr; padding: 16px 0; border-top: 1px solid var(--night-line); font: 400 22px/1.3 var(--display); }
.services li:last-child { border-bottom: 1px solid var(--night-line); }
.owners__close { margin-top: 28px; color: var(--on-night); }
.owners .btn { margin-top: 32px; background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.owners .btn:hover { background: transparent; color: var(--on-night); }

/* cierre */
.close { position: relative; min-height: min(72svh, 680px); display: flex; align-items: center; color: var(--on-photo); text-align: center; overflow: hidden; background: #111; }
.close img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.close::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,12,.5); }
.close .wrap { position: relative; z-index: 1; width: 100%; display: grid; justify-items: center; gap: 22px; padding-block: 80px; }
.close h2 { font-size: clamp(42px, 6vw, 92px); line-height: 1; max-width: 14ch; }
.close .eyebrow { color: #e9cf96; }
.close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }

/* footer */
.foot { background: var(--night); color: var(--on-night); padding-block: 72px 40px; }
.foot__grid { display: grid; grid-template-columns: 5fr 3fr 3fr 3fr; gap: 32px; }
.foot .logo { font-size: 30px; }
.foot__about { color: var(--on-night-muted); margin-top: 18px; max-width: 34ch; font-size: 16px; }
.foot h3 { font: 500 12px/1.4 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #e9cf96; }
.phone { user-select: all; font-variant-numeric: tabular-nums; }
.foot__legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-night-muted); font-size: 14px; }

/* barra móvil */
.mbar { display: none; }

@media (max-width: 980px) {
  .top__nav, .top .lang, .top .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .top__bar { height: 64px; }
  .intro__grid, .owners__grid { grid-template-columns: 1fr; }
  .home, .home:nth-of-type(even) { grid-template-columns: 1fr; }
  .home:nth-of-type(even) .gallery { order: 0; }
  .home__text { position: static; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-right: calc(-1 * var(--gut-r)); padding-right: var(--gut-r); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery a, .gallery a:first-child, .gallery a:not(:first-child) { flex: 0 0 84%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .care__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .portrait { max-width: 460px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--bg); border-top: 1px solid var(--line); padding: 10px var(--gut-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gut); transform: translateY(110%); transition: transform .35s; }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
  .foot { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 560px; height: 88svh; }
  .hero__actions .btn { flex: 1 1 100%; }
  .care__grid { grid-template-columns: 1fr; }
  .home__actions .btn { flex: 1 1 100%; }
  .close__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Sitio de varias páginas ===== */
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
.top__nav a[aria-current="page"] { background-size: 100% 1px; }
.section { padding-block: clamp(72px, 9vw, 130px); }
.section--stone { background: var(--stone); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1; }
.sec-head p { color: var(--muted); max-width: 380px; }

/* portada interior */
.hero--page { height: min(80svh, 780px); min-height: 520px; }
.hero--page h1 { max-width: 14ch; font-size: clamp(48px, 7vw, 104px); }
.crumbs { font: 400 14px/1.4 var(--text); letter-spacing: .04em; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.crumbs a:hover { border-color: #fff; }

/* tarjetas de casas en el inicio */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.card { display: grid; gap: 16px; align-content: start; text-decoration: none; min-width: 0; }
.card__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.03); }
.card h3 { font-size: clamp(32px, 2.8vw, 42px); line-height: 1.05; }
.card__tag { font: italic 400 21px/1.3 var(--display); color: var(--ochre); }
.card__facts { color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.card .tlink { justify-self: start; margin-top: 4px; }

/* resumen de casa */
.overview { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.overview__lead { font: 400 clamp(28px, 3vw, 42px)/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.overview__body { display: grid; gap: 20px; margin-top: 30px; color: var(--muted); max-width: 60ch; }
.panel { position: sticky; top: 110px; border: 1px solid var(--line); padding: clamp(24px, 2.4vw, 34px); display: grid; gap: 18px; min-width: 0; }
.panel .eyebrow { margin-bottom: -4px; }
.panel .btn { width: 100%; }
.panel .tlink { justify-self: center; }

/* galería con visor */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.mosaic button { all: unset; cursor: zoom-in; display: block; overflow: hidden; background: var(--stone); grid-column: span 4; aspect-ratio: 4 / 3; }
.mosaic button:nth-child(5n + 1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.mosaic button:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.mosaic button:hover img { transform: scale(1.03); }
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(8,8,10,.96); color: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 16px) var(--gut); }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; height: 52px; font: 400 14px/1 var(--text); letter-spacing: .1em; }
.viewer figure { margin: 0; min-height: 0; display: grid; place-items: center; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer__nav { display: flex; justify-content: center; gap: 12px; }
.viewer button { background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; font: 500 14px/1 var(--text); letter-spacing: .08em; min-height: 46px; padding: 0 20px; cursor: pointer; }
.viewer button:hover { background: #fff; color: #141414; }

/* espacios */
.spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.space { padding: 22px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.space h3 { font-size: 27px; line-height: 1.15; }
.space p { color: var(--muted); font-size: 16px; }

/* llegada y alrededores */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); }
.two h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; }
.ticks li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 10px; height: 1px; background: var(--ochre); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.near { margin: 0; display: grid; }
.near div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.near div:last-child { border-bottom: 1px solid var(--line); }
.near dt { min-width: 0; }
.near dd { margin: 0; color: var(--muted); text-align: right; white-space: nowrap; }
.near-note { color: var(--muted); font-size: 15px; margin-top: 16px; }

/* otras casas */
.others { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.other { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; text-decoration: none; background: #111; }
.other img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.other:hover img { transform: scale(1.03); }
.other::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,14,.75), rgba(8,8,14,0) 60%); }
.other span { position: absolute; z-index: 1; left: clamp(18px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); right: 18px; display: grid; gap: 4px; }
.other strong { font: 400 clamp(30px, 3vw, 44px)/1 var(--display); }
.other em { font: italic 400 19px/1.3 var(--display); color: #e9cf96; }

/* administración */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.svc .care__item h3 { font-size: 28px; }
.statement { font: 400 clamp(32px, 3.6vw, 52px)/1.14 var(--display); letter-spacing: -0.012em; max-width: 22ch; text-wrap: balance; }
.statement em { font-style: italic; color: var(--ochre); }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .card__img { aspect-ratio: 4 / 3; }
  .overview, .two { grid-template-columns: 1fr; }
  .panel { position: static; }
  .spaces, .svc { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mosaic button, .mosaic button:nth-child(5n + 1) { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic button:nth-child(5n + 1) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .spaces, .svc, .others { grid-template-columns: 1fr; }
  .hero--page { min-height: 500px; height: 82svh; }
  .viewer__nav button { flex: 1; }
}
.mosaic { grid-auto-flow: dense; }
.sheet nav a.sheet__sub { font-size: 24px; padding: 10px 0 10px 18px; }
[id] { scroll-margin-top: 96px; }

.lang a { text-decoration: none; display: inline-block; }
