/* Luxury Services v3 "Maison" – preview /luxury-services-preview (27.11.2026, "Projekt Sergio").
   Own design system, independent from the main site: Bodoni Moda (display) + Archivo (text, expanded width for labels),
   bone / ink / stone with one oxblood accent, editorial asymmetric grid, mask reveals, slow crossfades. */
:root {
  --bone: #f1ece3; --paper: #f7f4ee; --sand: #e2d9ca; --stone: #8a8174; --ink: #17140f; --ink2: #2a251f;
  --line: rgba(23, 20, 15, .16); --ox: #6b2a1f;
  --serif: "Bodoni Moda", "Noto Serif Display", "Noto Serif SC", "Songti SC", "STSong", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Archivo", "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1); --ease2: cubic-bezier(.76, 0, .24, 1);
  --g: clamp(20px, 4.4vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.m3 { margin: 0; background: var(--paper); color: var(--ink); font: 300 15px/1.7 var(--sans); font-variation-settings: "wdth" 100, "opsz" 28; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-synthesis: none; }
.m3 :where(img) { display: block; max-width: 100%; height: auto; }
.m3 :where(a) { color: inherit; text-decoration: none; }
.m3 :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; padding: 0; }
.m3 :where(ol, ul) { list-style: none; }
.m3 ::selection { background: var(--ox); color: var(--bone); }
.m3-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bone); padding: 8px 14px; }
.m3-skip:focus { left: 8px; }
.m3 :focus-visible { outline: 1px solid var(--ox); outline-offset: 4px; }

/* type */
.m3-label { font: 400 10.5px/1.4 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); display: flex; align-items: baseline; gap: 18px; }
.m3-no { white-space: nowrap; font: italic 400 15px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ox); min-width: 1.6em; }
.m3-h1 { font: 500 clamp(46px, min(6vw, 11vh), 112px)/1.06 var(--serif); letter-spacing: .004em; }
.m3-h1 em, .m3-h2 em { font-style: italic; }
.m3-h2 { font: 500 clamp(36px, 4.4vw, 70px)/1.08 var(--serif); letter-spacing: .004em; margin-top: 22px; max-width: 14em; }
.m3-sub { max-width: 34em; color: var(--ink2); margin-top: 22px; }
.m3-cap { font: 400 10px/1.4 var(--sans); font-variation-settings: "wdth" 115; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-top: 12px; }
.m3-cap i { font-style: normal; opacity: .75; }
.m3-cap span { color: var(--ox); margin-right: 14px; font: italic 400 13px/1 var(--serif); letter-spacing: 0; }
.m3-rn { font: italic 400 18px/1 var(--serif); color: var(--ox); }
/* Cyrillic: Noto Serif Display for display, Inter Tight for text (Bodoni Moda/Archivo have no Cyrillic) */
.m3-ru, .m3-uk { --sans: "Inter Tight", system-ui, sans-serif; }
.m3-ru .m3-h1, .m3-uk .m3-h1 { font-size: clamp(40px, min(5.4vw, 10vh), 96px); line-height: 1; }
/* Chinese: Noto Serif SC display, generous leading, no letter-spacing on labels */
.m3-zh body.m3 { line-height: 1.85; }
.m3-zh .m3-h1 { font-size: clamp(40px, min(5.6vw, 10vh), 100px); line-height: 1.16; letter-spacing: .02em; font-weight: 600; }
.m3-zh .m3-h2, .m3-zh .m3-statement, .m3-zh .m3-promo-h { letter-spacing: .02em; line-height: 1.25; }
.m3-zh .m3-label { letter-spacing: .14em; }
.m3-zh .m3-h1 em { color: var(--ox); }

/* links */
.m3-cta { display: inline-flex; align-items: center; gap: 18px; font: 400 11px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.m3-cta i { width: 42px; height: 1px; background: currentColor; position: relative; transition: width .7s var(--ease); }
.m3-cta i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.m3-cta:hover i { width: 64px; }
.m3-txt { font: 400 11px/1.4 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .6s var(--ease); }
.m3-txt:hover { background-size: 0 1px; background-position: 100% 100%; }

/* veil (first visit per session) */
.m3-veil { display: none; }
.m3-veiled .m3-veil { display: flex; position: fixed; inset: 0; z-index: 90; background: var(--bone); flex-direction: column; align-items: center; justify-content: center; gap: 22px; animation: m3veil 1.1s var(--ease2) 1.05s forwards; }
.m3-veil-mark { font: italic 400 22px/1 var(--serif); letter-spacing: .02em; opacity: 0; animation: m3fade .8s ease .15s forwards; }
.m3-veil-line { width: 120px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: m3line .9s var(--ease) .3s forwards; }
@keyframes m3veil { to { transform: translateY(-100%); } }
@keyframes m3fade { to { opacity: 1; } }
@keyframes m3line { to { transform: scaleX(1); } }

/* top bar */
.m3-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--g); transition: background .6s, padding .6s var(--ease), transform .6s var(--ease); }
.m3-top.solid { background: rgba(247, 244, 238, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.m3-top.hide { transform: translateY(-100%); }
.m3-mark { display: flex; flex-direction: column; line-height: 1.1; }
.m3-mark b { font: italic 400 21px/1 var(--serif); letter-spacing: .005em; }
.m3-mark span { font: 400 9px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); margin-top: 7px; }
.m3-nav { display: flex; align-items: center; gap: 34px; font: 400 10.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; }
.m3-nav > a { position: relative; padding: 6px 0; }
.m3-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.m3-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.m3-enq { border: 1px solid var(--ink); padding: 12px 20px !important; transition: background .4s, color .4s; }
.m3-enq::after { display: none; }
.m3-enq:hover { background: var(--ink); color: var(--bone); }
.m3-lang { position: relative; }
.m3-lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.m3-lang button::after { content: ""; width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-2px); }
.m3-lang ul { position: absolute; right: -16px; top: calc(100% + 12px); background: var(--paper); border: 1px solid var(--line); padding: 10px 0; min-width: 170px; text-transform: none; letter-spacing: .02em; font: 300 14px/1 var(--sans); }
.m3-lang a { display: block; padding: 9px 18px; }
.m3-lang a:hover, .m3-lang a[aria-current] { color: var(--ox); }
.m3-lang a[aria-current]::before { content: "— "; }

/* hero */
.m3-hero { position: relative; min-height: max(680px, 100svh); display: grid; grid-template-columns: 44fr 56fr; background: var(--bone); }
.m3-hero-txt { display: flex; flex-direction: column; justify-content: space-between; padding: 128px calc(var(--g) * .9) 56px calc(var(--g) + 28px); position: relative; z-index: 2; }
.m3-h1 { margin: 34px 0 0; position: relative; }
.m3-hero-foot { margin-top: 36px; display: grid; gap: 24px; max-width: 30em; }
.m3-lead { color: var(--ink2); font-size: 15px; }
.m3-acts { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.m3-hero-fig { position: relative; margin: 0; padding: 104px var(--g) 64px 0; display: flex; flex-direction: column; }
.m3-hero-im { position: relative; flex: 1; overflow: hidden; min-height: 420px; }
.m3-hero-im picture, .m3-hero-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m3-hero-fig .m3-cap { text-align: right; }
.m3-vert { position: absolute; left: calc(var(--g) * .45); bottom: 64px; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 9px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .3em; color: var(--stone); }
.m3-down { display: none !important; position: absolute; left: 0; bottom: 64px; display: flex; align-items: center; gap: 14px; font: 400 9.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); z-index: 3; }
.m3-down i { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.m3-down i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: m3drop 2.4s var(--ease2) infinite; }
@keyframes m3drop { to { top: 100%; } }

/* brand greeting: Buenos días = good morning / welcome to the coast */
.m3-greet { background: var(--bone); padding: clamp(70px, 8vw, 130px) var(--g) clamp(40px, 4vw, 60px); display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(30px, 5vw, 90px); align-items: end; border-bottom: 1px solid var(--line); }
.m3-greet-h { font: italic 500 clamp(54px, 8vw, 140px)/1.02 var(--serif); letter-spacing: .002em; color: var(--ink); }
.m3-greet-p { font: 500 clamp(19px, 1.55vw, 24px)/1.5 var(--serif); color: var(--ink2); max-width: 30em; padding-bottom: .5em; }
.m3-zh .m3-greet-p { line-height: 1.8; }

/* philosophy */
.m3-phil { padding: clamp(110px, 14vw, 220px) var(--g) clamp(90px, 10vw, 160px); }
.m3-phil-head { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: start; }
.m3-phil-head .m3-label { padding-top: 18px; }
.m3-statement { font: 500 clamp(30px, 3.9vw, 60px)/1.16 var(--serif); letter-spacing: .004em; max-width: 19em; text-indent: 2.2em; }
.m3-statement .w { color: rgba(23, 20, 15, .4); transition: color .6s; }
.m3-statement .w.on { color: var(--ink); }
.m3-phil-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(80px, 9vw, 150px); align-items: start; }
.m3-fig-a { grid-column: 1 / 6; }
.m3-phil-txt { grid-column: 7 / 11; padding-top: 18vw; display: grid; gap: 22px; color: var(--ink2); font-size: 16px; }
.m3-phil-txt p:first-child::first-letter { font: 400 4.2em/.8 var(--serif); float: left; margin: .06em .1em 0 0; color: var(--ox); }
.m3-fig-b { grid-column: 9 / 12; margin-top: -8vw; }
.m3-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(90px, 10vw, 160px); border-top: 1px solid var(--line); }
.m3-pillars li { padding-top: 30px; display: grid; gap: 14px; align-content: start; }
.m3-pillars h3 { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--serif); }
.m3-pillars p { color: var(--ink2); max-width: 24em; }

/* journey */
.m3-journey { --mbg: var(--bone); padding: clamp(100px, 11vw, 180px) var(--g); background: var(--bone); }
.m3-sec-head { max-width: 980px; }
.m3-jgrid { display: grid; grid-template-columns: 5fr 1fr 6fr; margin-top: clamp(70px, 8vw, 130px); }
.m3-chapters { grid-column: 1; }
.m3-chapters li { min-height: 62vh; padding: 34px 0 60px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; align-content: start; transition: opacity .8s; }
.m3-chapters li > .m3-rn { padding-top: 8px; }
.m3-chapters h3 { font: 500 clamp(27px, 2.7vw, 42px)/1.1 var(--serif); letter-spacing: .004em; }
.m3-chapters p, .m3-chapters .m3-txt { grid-column: 2; }
.m3-chapters p { margin-top: 20px; color: var(--ink2); max-width: 30em; }
.m3-chapters .m3-txt { justify-self: start; margin-top: 22px; }
.m3-chapters li.dim { opacity: .66; }
.m3-ch-fig { display: none; }
.m3-stage { grid-column: 3; position: relative; }
.m3-stage-in { position: sticky; top: 12vh; height: 76vh; display: flex; flex-direction: column; }
.m3-stage-ims { position: relative; flex: 1; overflow: hidden; }
.m3-stage-im { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease, transform 2.6s var(--ease); transform: scale(1.06); }
.m3-stage-im.on { opacity: 1; transform: scale(1); }
.m3-stage-im picture, .m3-stage-im img { width: 100%; height: 100%; object-fit: cover; }
.m3-stage-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; gap: 20px; }
.m3-stage-n { font: italic 400 15px/1 var(--serif); color: var(--stone); white-space: nowrap; }
.m3-stage-n b { font-weight: 400; color: var(--ox); font-size: 26px; }
.m3-stage-cap { font: 400 10px/1.4 var(--sans); font-variation-settings: "wdth" 115; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); text-align: right; }
.m3-stage-cap i { font-style: normal; opacity: .75; }

.m3-yt img { filter: brightness(1.03); }

/* portfolio strip */
.m3-strip { background: var(--paper); position: relative; }
.m3-strip-pin { padding: clamp(100px, 10vw, 160px) 0 clamp(80px, 8vw, 120px); }
.m3-strip.pinned .m3-strip-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
.m3-strip-head { padding: 0 var(--g); display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px 40px; align-items: end; }
.m3-strip-head .m3-label { grid-column: 1 / -1; }
.m3-strip-head .m3-h2 { margin: 0; }
.m3-strip-head .m3-sub { margin: 0; }
.m3-hint { justify-self: end; font: 400 9.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .26em; text-transform: uppercase; color: var(--stone); display: flex; gap: 12px; align-items: center; }
.m3-hint i { width: 50px; height: 1px; background: var(--stone); }
.m3-track { display: flex; align-items: flex-end; gap: clamp(24px, 3vw, 56px); padding: clamp(48px, 5vw, 80px) var(--g) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.m3-track::-webkit-scrollbar { display: none; }
.m3-strip.pinned .m3-track { overflow: visible; }
.m3-pf { flex: 0 0 auto; scroll-snap-align: start; }
.m3-pf picture, .m3-pf img { height: 100%; width: auto; object-fit: cover; }
.m3-pf { height: min(56vh, 600px); display: flex; flex-direction: column; }
.m3-pf picture { flex: 1; min-height: 0; overflow: hidden; }
.m3-pf img { transition: transform 1.6s var(--ease); }
.m3-pf:hover img { transform: scale(1.035); }
.m3-pf-p2, .m3-pf-p5 { height: min(46vh, 500px); }
.m3-pf-p3 { height: min(60vh, 650px); }

/* selected residences (live listings) */
.m3-sel { background: var(--paper); padding: clamp(100px, 10vw, 170px) var(--g); border-top: 1px solid var(--line); }
.m3-sel-head { max-width: 980px; }
.m3-sel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 70px) clamp(24px, 3vw, 48px); margin-top: clamp(60px, 6vw, 100px); }
.m3-sel-grid li:nth-child(3n+2) { margin-top: clamp(40px, 6vw, 110px); }
.m3-res { display: grid; gap: 6px; }
.m3-res-im { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.m3-res-im img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) brightness(1.02); transition: transform 1.8s var(--ease), filter .8s; }
.m3-res:hover .m3-res-im img { transform: scale(1.04); filter: none; }
.m3-res-loc { font: 400 10px/1.4 var(--sans); font-variation-settings: "wdth" 115; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.m3-res-t { font: 500 clamp(24px, 2vw, 32px)/1.1 var(--serif); }
.m3-res-f { font-size: 13px; color: var(--ink2); }
.m3-res-p { font: italic 400 19px/1.3 var(--serif); color: var(--ox); margin-top: 4px; }
.m3-sel-all { margin-top: clamp(60px, 6vw, 100px); }

/* atelier (inverted) */
.m3-atelier { --mbg: var(--ink); background: var(--ink); color: var(--bone); padding: clamp(100px, 11vw, 180px) var(--g); position: relative; }
.m3-atelier .m3-label { color: #a59b8c; }
.m3-atelier .m3-no, .m3-atelier .m3-rn { color: #c98e7b; }
.m3-at-mono { display: flex; align-items: baseline; gap: .4em; font: 500 clamp(44px, 8vw, 140px)/1.02 var(--serif); letter-spacing: .002em; white-space: nowrap; }
.m3-at-mono i { font-style: italic; color: #c98e7b; font-size: .7em; }
.m3-at-mono span:last-child { font-style: italic; }
.m3-at-grid { display: grid; grid-template-columns: 4fr 1fr 7fr; margin-top: clamp(60px, 7vw, 110px); }
.m3-at-txt { grid-column: 1; display: grid; gap: 22px; align-content: start; }
.m3-at-txt .m3-h2 { margin-top: 0; font-size: clamp(32px, 3.4vw, 54px); }
.m3-at-txt p { color: #d6cfc3; }
.m3-at-txt > div { display: grid; gap: 16px; }
.m3-chips { display: flex; flex-wrap: wrap; gap: 6px 0; font: italic 400 18px/1.4 var(--serif); color: var(--bone) !important; }
.m3-chips span:not(:last-child)::after { content: "·"; margin: 0 .6em; color: #c98e7b; font-style: normal; }
.m3-at-links { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 10px; }
.m3-at-media { grid-column: 3; position: relative; }
.m3-feature { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.m3-feature-im { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #2a251f; }
.m3-feature-im img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.98) brightness(1.03); transition: transform 1.8s var(--ease), filter 1s; }
.m3-feature:hover .m3-feature-im img { transform: scale(1.04); filter: none; }
.m3-feature-cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--serif); }
.m3-play { font: 400 10px/2 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .24em; text-transform: uppercase; color: #a59b8c; white-space: nowrap; }
.m3-films-h { margin-top: 60px; margin-bottom: 8px; }
.m3-films li { border-top: 1px solid rgba(241, 236, 227, .16); }
.m3-films li:last-child { border-bottom: 1px solid rgba(241, 236, 227, .16); }
.m3-films button { width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 20px 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; transition: padding .6s var(--ease), color .4s; }
.m3-fn { font: italic 400 14px/1 var(--serif); color: #c98e7b; }
.m3-ft { font: 500 clamp(19px, 1.7vw, 25px)/1.2 var(--serif); }
.m3-fp { font: 400 9.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .24em; text-transform: uppercase; color: #a59b8c; opacity: 0; transition: opacity .4s; }
.m3-films button:hover { padding-left: 14px; }
.m3-films button:hover .m3-fp, .m3-films button:focus-visible .m3-fp { opacity: 1; }
.m3-peek { position: fixed; left: 0; top: 0; width: 240px; aspect-ratio: 16 / 10; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .4s, transform .5s var(--ease); overflow: hidden; }
.m3-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.m3-peek img { width: 100%; height: 100%; object-fit: cover; }

/* promotions */
.m3-promo { background: var(--sand); padding: clamp(100px, 11vw, 180px) var(--g); }
.m3-promo-in { max-width: 1280px; }
.m3-promo-h { font: 500 clamp(34px, 4.6vw, 76px)/1.08 var(--serif); letter-spacing: .004em; margin-top: 26px; max-width: 15em; }
.m3-promo-cols { display: grid; grid-template-columns: 6fr 1fr 4fr; margin-top: 56px; }
.m3-promo-cols > p { font: 500 clamp(19px, 1.6vw, 24px)/1.5 var(--serif); color: var(--ink2); }
.m3-promo-acts { grid-column: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.m3-fees { margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(23, 20, 15, .22); display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.m3-fees h3 { font: italic 400 22px/1.2 var(--serif); }
.m3-fees p { color: var(--ink2); max-width: 40em; }

/* enquiry */
.m3-enquiry { display: grid; grid-template-columns: 5fr 1fr 6fr; padding: clamp(100px, 11vw, 180px) var(--g); background: var(--paper); }
.m3-enq-side { grid-column: 1; }
.m3-wa { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.m3-wa h3 { font: italic 400 24px/1.2 var(--serif); }
.m3-wa p { color: var(--ink2); }
.m3-legal { margin-top: 48px; font: 400 10px/1.9 var(--sans); font-variation-settings: "wdth" 115; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.m3-form { grid-column: 3; display: grid; gap: 30px; align-content: start; }
.m3-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.m3-f { display: grid; gap: 6px; }
.m3-f > span, .m3-svc legend { font: 400 9.5px/1.4 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); }
.m3-f input, .m3-f textarea { font: 400 20px/1.4 var(--serif); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(23, 20, 15, .3); padding: 8px 0 10px; border-radius: 0; outline: none; transition: border-color .4s; width: 100%; }
.m3-f input::placeholder { color: rgba(23, 20, 15, .3); font-style: italic; }
.m3-f input:focus, .m3-f textarea:focus { border-bottom-color: var(--ox); }
.m3-f textarea { resize: vertical; min-height: 110px; }
.m3-svc { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.m3-svc legend { margin-bottom: 14px; }
.m3-svc label { cursor: pointer; }
.m3-svc input { position: absolute; opacity: 0; pointer-events: none; }
.m3-svc span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(23, 20, 15, .22); font-size: 13px; transition: background .35s, color .35s, border-color .35s; }
.m3-svc label:hover span { border-color: var(--ink); }
.m3-svc input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.m3-svc input:focus-visible + span { outline: 1px solid var(--ox); outline-offset: 3px; }
.m3-consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 13px; color: var(--ink2); cursor: pointer; }
.m3-consent input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid rgba(23, 20, 15, .45); margin: 2px 0 0; cursor: pointer; display: grid; place-content: center; }
.m3-consent input:checked { background: var(--ink); border-color: var(--ink); }
.m3-consent input:checked::after { content: ""; width: 7px; height: 4px; border-left: 1.5px solid var(--bone); border-bottom: 1.5px solid var(--bone); transform: rotate(-45deg) translate(1px, -1px); }
.m3-consent a { text-decoration: underline; text-underline-offset: 3px; }
.m3-hp { position: absolute; left: -9999px; }
.m3-submit { justify-self: start; display: inline-flex; align-items: center; gap: 22px; background: var(--ink); color: var(--bone); border: 0; padding: 22px 34px; cursor: pointer; font: 400 11px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .24em; text-transform: uppercase; transition: background .5s; }
.m3-submit i { width: 34px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.m3-submit:hover { background: var(--ox); }
.m3-submit:hover i { width: 52px; }
.m3-submit:disabled { opacity: .5; cursor: wait; }
.m3-msg { min-height: 1.5em; font-size: 14px; }
.m3-msg.err { color: var(--ox); }
.m3-msg.ok { font: italic 400 20px/1.4 var(--serif); }

/* footer */
.m3-foot { background: var(--bone); padding: 80px var(--g) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.m3-foot-big { font: italic 500 clamp(52px, 11vw, 196px)/1 var(--serif); letter-spacing: 0; white-space: nowrap; color: var(--ink); }
.m3-foot-row { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 30px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); align-items: start; }
.m3-foot-row b { font-weight: 500; letter-spacing: .08em; }
.m3-foot-row li + li { margin-top: 4px; }
.m3-foot-links { display: grid; gap: 6px; justify-items: start; }
.m3-foot-links a:hover { color: var(--ox); }

/* cookie notice (consent.js) restyled for this page */
body.m3 .bdcc { border-radius: 0; border: 1px solid var(--line); border-top: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 18px 50px rgba(23, 20, 15, .16); font: 300 13px/1.6 var(--sans); padding: 18px 20px; }
body.m3 .bdcc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.m3 .bdcc button { border-radius: 0; font: 400 10px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; padding: 13px 20px; background: transparent; color: var(--ink); border: 1px solid var(--ink); box-shadow: none; }
body.m3 .bdcc button[data-c="1"] { background: var(--ink); color: var(--bone); }
body.m3 .bdcc button:hover, body.m3 .bdcc button:focus-visible { background: var(--ox); border-color: var(--ox); color: var(--bone); }

/* lightbox */
.m3-lb { position: fixed; inset: 0; z-index: 95; background: rgba(23, 20, 15, .96); display: flex; align-items: center; justify-content: center; padding: 70px 4vw 4vw; }
.m3-lb[hidden] { display: none; }
.m3-lb-frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; }
.m3-lb-frame iframe { width: 100%; height: 100%; border: 0; }
.m3-lb-x { position: absolute; top: 22px; right: var(--g); background: none; border: 0; color: var(--bone); cursor: pointer; font: 400 10.5px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .26em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid; }

/* cursor (fine pointers only) */
.m3-cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .m3-cursor.live.moved { display: block; position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ox); transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s; mix-blend-mode: normal; }
  .m3-cursor span { position: absolute; inset: 0; display: grid; place-items: center; font: 400 9px/1 var(--sans); font-variation-settings: "wdth" 125; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); opacity: 0; transition: opacity .3s; }
  .m3-cursor.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(23, 20, 15, .82); }
  .m3-cursor.big span { opacity: 1; }
  .m3-cursor.big.lt { background: rgba(241, 236, 227, .9); }
  .m3-cursor.big.lt span { color: var(--ink); }
}

/* motion states (only with JS + motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .m3-js .m3-in { opacity: 0; transform: translateY(18px); animation: m3up 1.2s var(--ease) var(--d, 0s) forwards; }
  .m3-veiled .m3-in { animation-delay: calc(var(--d, 0s) + 1.5s); }
  @keyframes m3up { to { opacity: 1; transform: none; } }
  .m3-js .m3-h1 .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .m3-js .m3-h1 .ln > span { display: inline-block; transform: translateY(105%); animation: m3rise 1.4s var(--ease) calc(.35s + var(--i) * .09s) forwards; }
  .m3-veiled .m3-h1 .ln > span { animation-delay: calc(1.75s + var(--i) * .09s); }
  @keyframes m3rise { to { transform: none; } }
  .m3-js .m3-hero-im { clip-path: inset(100% 0 0 0); animation: m3clip 1.8s var(--ease) .2s forwards; }
  .m3-js .m3-hero-im img { transform: scale(1.14); animation: m3zoom 3.2s var(--ease) .2s forwards; }
  .m3-veiled .m3-hero-im, .m3-veiled .m3-hero-im img { animation-delay: 1.5s; }
  @keyframes m3clip { to { clip-path: inset(0 0 0 0); } }
  @keyframes m3zoom { to { transform: scale(1); } }
  .m3-js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
  .m3-js [data-rv].in { opacity: 1; transform: none; }
  /* mask reveal: a section-coloured cover slides away (keeps images visible to the lazy loader) */
  .m3-js [data-mask] picture, .m3-js [data-mask].m3-feature-im { position: relative; display: block; overflow: hidden; }
  .m3-js [data-mask] picture::after, .m3-js [data-mask].m3-feature-im::after { content: ""; position: absolute; inset: 0; background: var(--mbg, var(--paper)); transform-origin: 50% 0; transition: transform 1.5s var(--ease2); z-index: 1; }
  .m3-js [data-mask].in picture::after, .m3-js [data-mask].m3-feature-im.in::after { transform: scaleY(0); }
  .m3-js [data-mask] img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
  .m3-js [data-mask].in img { transform: scale(1); }
  .m3-feature:hover .m3-feature-im.in img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m3-down i::after { animation: none; }
  .m3-stage-im { transition: none; transform: none; }
}

/* tablet / mobile */
@media (max-width: 1100px) {
  .m3-nav > a:not(.m3-enq) { display: none; }
  .m3-hero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body.m3 { font-size: 15px; }
  .m3-top { padding: 16px 20px; }
  .m3-mark b { font-size: 18px; }
  .m3-mark span { display: none; }
  .m3-nav { gap: 20px; }
  .m3-enq { padding: 10px 14px !important; }
  .m3-hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .m3-hero-fig { padding: 72px 0 0; }
  .m3-hero-im { flex: none; height: 46svh; min-height: 300px; margin: 0 20px; }
  .m3-hero-fig .m3-cap { padding: 0 20px; text-align: left; }
  .m3-hero-txt { padding: 28px 20px 70px; }
  .m3-hero-fig { padding-top: 76px; }
  .m3-h1 { margin: 22px 0 0; font-size: clamp(44px, 12.4vw, 68px); }
  .m3-ru .m3-h1, .m3-uk .m3-h1 { font-size: clamp(36px, 10vw, 56px); }
  .m3-zh .m3-h1 { font-size: clamp(38px, 10.5vw, 56px); }
  .m3-hero-foot { margin-top: 30px; }
  .m3-vert, .m3-down { display: none; }
  .m3-greet { grid-template-columns: 1fr; padding: 70px 20px 40px; }
  .m3-greet-h { font-size: clamp(52px, 15vw, 80px); }
  .m3-phil { padding: 90px 20px 80px; }
  .m3-phil-head { grid-template-columns: 1fr; gap: 28px; }
  .m3-phil-head .m3-label { padding: 0; }
  .m3-statement { text-indent: 0; font-size: clamp(28px, 7.4vw, 40px); }
  .m3-phil-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
  .m3-fig-a { grid-column: 1 / 6; }
  .m3-phil-txt { grid-column: 1 / -1; padding-top: 40px; order: 3; }
  .m3-fig-b { grid-column: 3 / 7; margin-top: 18px; order: 2; }
  .m3-pillars { grid-template-columns: 1fr; gap: 0; margin-top: 70px; }
  .m3-pillars li { padding: 26px 0; border-bottom: 1px solid var(--line); }
  .m3-journey { --mbg: var(--bone); padding: 90px 20px; }
  .m3-jgrid { display: block; margin-top: 50px; }
  .m3-stage { display: none; }
  .m3-chapters li { min-height: 0; padding: 28px 0 54px; grid-template-columns: 40px 1fr; }
  .m3-chapters li.dim { opacity: 1; }
  .m3-ch-fig { display: block; grid-column: 1 / -1; margin-bottom: 26px; }
  .m3-ch-fig picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
  .m3-ch-fig img { width: 100%; height: 100%; object-fit: cover; }
  .m3-chapters li:nth-child(even) .m3-ch-fig { margin-left: 18%; }
  .m3-chapters li:nth-child(odd) .m3-ch-fig { margin-right: 18%; }
  .m3-strip-pin { padding: 90px 0 70px; }
  .m3-strip-head { grid-template-columns: 1fr; padding: 0 20px; }
  .m3-hint { justify-self: start; }
  .m3-track { padding: 40px 20px 0; gap: 16px; scroll-padding-inline: 20px; }
  .m3-pf, .m3-pf-p2, .m3-pf-p3, .m3-pf-p5 { height: 52svh; max-height: 460px; }
  .m3-pf picture { max-width: 84vw; }
  .m3-sel { padding: 90px 0 80px; }
  .m3-sel-head, .m3-sel-all { padding: 0 20px; }
  .m3-sel-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 20px; scroll-padding-inline: 20px; margin-top: 44px; scrollbar-width: none; }
  .m3-sel-grid::-webkit-scrollbar { display: none; }
  .m3-sel-grid li { flex: 0 0 76vw; scroll-snap-align: start; }
  .m3-sel-grid li:nth-child(3n+2) { margin-top: 0; }
  .m3-atelier { padding: 90px 20px; }
  .m3-at-mono { flex-direction: column; gap: 0; font-size: clamp(44px, 13vw, 72px); white-space: normal; }
  .m3-at-grid { display: flex; flex-direction: column-reverse; gap: 60px; margin-top: 50px; }
  .m3-films-h { margin-top: 40px; }
  .m3-films button { grid-template-columns: 38px 1fr; }
  .m3-fp { display: none; }
  .m3-promo { padding: 90px 20px; }
  .m3-promo-cols { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .m3-promo-acts { grid-column: 1; }
  .m3-fees { grid-template-columns: 1fr; margin-top: 56px; }
  .m3-enquiry { display: block; padding: 90px 20px; }
  .m3-form { margin-top: 56px; }
  .m3-row { grid-template-columns: 1fr; }
  .m3-foot { padding: 60px 20px 32px; }
  .m3-foot-row { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 420px) {
  .m3-foot-row { grid-template-columns: 1fr; }
}

/* Legibility (27.11.2026, Anna): the `font` shorthand resets font-variation-settings, so the optical size is set here,
   after all display rules. Bodoni Moda's optical-size axis otherwise follows the font size (opsz 96 at 100 px =
   hairline strokes). opsz 28 + weight 500 keeps the couture contrast but makes big headlines readable. */
.m3-h1, .m3-h2, .m3-statement, .m3-greet-h, .m3-greet-p, .m3-chapters h3, .m3-pillars h3, .m3-at-mono, .m3-promo-h, .m3-promo-cols > p,
.m3-foot-big, .m3-feature-cap, .m3-ft, .m3-res-t, .m3-res-p, .m3-mark b, .m3-wa h3, .m3-fees h3, .m3-f input, .m3-f textarea, .m3-chips,
.m3-no, .m3-rn, .m3-stage-n, .m3-fn, .m3-msg.ok, .m3-veil-mark, .m3-phil-txt p:first-child::first-letter,
.p-mono, .p-duo h2, .p-steps h3, .p-svc-list h3, .p-svc-n, .p-promo-t { font-variation-settings: "opsz" 28; }

/* Gallery-print presentation for property images (28.11.2026, Anna): warm passe-partout, long diffused shadow,
   gentle lift + warm accent glow on hover (accent = --ox: oxblood here, terracotta on the ÁURA page). */
.m3-res-im, .m3-pf picture, .m3-fig picture, .m3-stage-ims, .m3-feature-im {
  background: #ebe3d4; padding: clamp(6px, .7vw, 11px); box-shadow: 0 30px 60px -20px rgba(23, 20, 15, .18), 0 2px 6px rgba(23, 20, 15, .04);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.m3-atelier .m3-feature-im { background: #2a241e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.m3-res-im img, .m3-pf img, .m3-fig img, .m3-feature-im img { display: block; }
.m3-stage-ims .m3-stage-im { inset: clamp(6px, .7vw, 11px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .m3-res:hover .m3-res-im, .m3-pf:hover picture, .m3-feature:hover .m3-feature-im {
    transform: translateY(-6px);
    box-shadow: 0 44px 80px -26px rgba(23, 20, 15, .22), 0 0 0 1px color-mix(in srgb, var(--ox) 18%, transparent), 0 24px 70px -30px color-mix(in srgb, var(--ox) 55%, transparent);
  }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .m3-res:hover .m3-res-im, .m3-pf:hover picture, .m3-feature:hover .m3-feature-im { box-shadow: 0 30px 60px -20px rgba(23, 20, 15, .18), 0 0 0 1px color-mix(in srgb, var(--ox) 25%, transparent); }
}
.m3-pf:hover img, .m3-res:hover .m3-res-im img, .m3-feature:hover .m3-feature-im img, .m3-feature:hover .m3-feature-im.in img { transform: none; }
