/* SPEC_V3_25 §1: the website makeover (film scene 2; js/makeover.js). The layer is the page's white (#FFFFFF, as the devices' white).
   Old site: a cheap contractor template (Arial, teal + orange: the "before", tasteless on purpose). New site: "RÉMO", light, in the
   Rolls-Royce-Bespoke direction: a full-bleed photo under a soft dark veil, Jost 300 in wide uppercase, ivory, warm ink and brass.
   The window keeps its frame (one hairline + a soft shadow); no frame inside the frame, no fade masks, no glass. */
@font-face { font-family: 'Mk Jost'; src: url('../fonts/jost-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
.l-make { z-index: 2; background: #fff; overflow: hidden;
  --lux: 'Mk Jost', 'Futura', 'Century Gothic', sans-serif; --ivory: #f7f3ed; --ink-w: #1f1b17; --body-w: #4d463e; --dim-w: #8a8175; --brass: #8f7148; --onph: #f4efe6; --onph-k: #e3cba0; }
.mk-wrap { position: absolute; inset: 0; perspective: 2200px; perspective-origin: 62% 40%; }
[data-mode="m"] .mk-wrap { perspective-origin: 50% 40%; }
.mk-win { position: absolute; will-change: transform, opacity; opacity: 0; }
.mk-shadow { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 70px 140px -50px rgba(30, 25, 20, .38), 0 20px 50px -25px rgba(30, 25, 20, .25); }
.mk-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #fff; transform: translateZ(0); }
/* the frame: one hairline, always (over the content, so the full-bleed hero keeps a clean edge) */
.mk-win::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(28, 26, 23, .12); z-index: 2; }
.mk-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.mk-bg { position: absolute; inset: 0; }
.mk-bg-old { background: #f4f6f7; }
.mk-bg-new { background: var(--ivory); opacity: 0; }
.mk-page { position: absolute; left: 0; top: 0; right: 0; will-change: transform; }
.mk-el { position: absolute; left: 0; top: 0; }
.mk-el > .o, .mk-el > .n { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }
.mk-el > .n { opacity: 0; visibility: hidden; }

/* ================= the old site: a cheap contractor template ================= */
.o-top { height: 100%; background: #fff; border-bottom: 1px solid #e3e3e3; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.o-logo { height: 100%; display: flex; align-items: center; gap: 10px; }
.o-logo svg { height: 76%; flex: none; }
.o-logo b { display: block; font: 900 30px/1 'Arial Black', Arial, sans-serif; color: #2a2a2a; letter-spacing: .02em; }
.o-logo small { display: block; font: bold 10px/1.3 Arial, sans-serif; color: #2a2a2a; letter-spacing: .06em; white-space: nowrap; }
[data-mode="m"] .o-logo b { font-size: 20px; } [data-mode="m"] .o-logo small { font-size: 7px; }
.mk-ltr { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; z-index: 7; }
.mk-ltr b { position: absolute; left: 0; top: 0; display: block; line-height: 1; white-space: pre; }
.mk-ltr .lo { font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; color: #2a2a2a; }
.mk-ltr .ln { font-family: var(--lux); font-weight: 400; color: var(--onph); opacity: 0; }
.o-tag { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; font: 15px/1.35 Arial, sans-serif; color: #333; text-align: right; }
.o-tag span { font-size: 14px; color: #555; }
.o-tag span::before { content: 'i'; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #555; color: #fff; font: bold 10px Georgia, serif; margin-right: 6px; vertical-align: 1px; }
[data-mode="m"] .o-tag { align-items: center; text-align: center; font-size: 11px; } [data-mode="m"] .o-tag span { font-size: 10px; }
.o-orange { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(#ffad4d, #f08a1c); border-radius: 6px; color: #fff; font: bold 22px Arial, sans-serif; box-shadow: 0 3px 0 #c56a0c, 0 6px 12px rgba(240, 138, 28, .35); text-shadow: 0 1px 0 rgba(0, 0, 0, .2); white-space: nowrap; }
.o-orange.flat { background: #ee9a45; box-shadow: none; text-shadow: none; border-radius: 2px; font-weight: 400; opacity: 0; }
[data-mode="m"] .o-orange { font-size: 14px; }
.o-nav { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(#3a96aa, #2b7a8c); color: #fff; font: bold 15px Arial, sans-serif; border-right: 1px solid rgba(255, 255, 255, .25); }
.o-nav.on { background: linear-gradient(#ffb54d, #f39c34); }
.o-nav.flat { background: #5c8f99; border-right: 0; font-weight: 400; opacity: 0; }
[data-mode="m"] .o-nav { font-size: 10px; }
.o-h { height: 100%; font: bold 40px/1.18 Arial, sans-serif; color: #2b7a8c; text-shadow: 1px 1px 0 rgba(0, 0, 0, .06); }
[data-mode="m"] .o-h { font-size: 26px; }
.o-p { height: 100%; font: 18px/1.45 Arial, sans-serif; color: #333; }
[data-mode="m"] .o-p { font-size: 14px; }
.o-teal { height: 100%; display: grid; place-items: center; background: linear-gradient(#5cc0d2, #3aa6ba); border-radius: 5px; color: #fff; font: 22px Arial, sans-serif; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
[data-mode="m"] .o-teal { font-size: 16px; }
/* the cheap photo: stretched into its box (the canvas fills the inner box; js counter-scales it back to 3:2 as it grows); v3.27: one canvas, no mosaic */
.o-photo { position: relative; height: 100%; overflow: hidden; background: #8c7a66; }
.o-photo .ob-in { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; }
.o-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.o-photo .ob-ov { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(24, 20, 16, .55) 0%, rgba(24, 20, 16, .22) 34%, rgba(24, 20, 16, .38) 66%, rgba(24, 20, 16, .6) 100%); }
.o-photo .ob-frame { position: absolute; inset: 0; border: 6px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.o-why { height: 100%; background: #fff; border-top: 1px solid #e6e6e6; padding: 22px 60px; box-sizing: border-box; }
.o-why h3 { margin: 0 0 22px; text-align: center; font: bold 30px Arial, sans-serif; color: #222; }
.o-why ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 30px; list-style: none; }
.o-why li { display: flex; align-items: center; gap: 12px; font: 17px Arial, sans-serif; color: #333; }
.o-why li i { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 3px solid #3aa6ba; display: grid; place-items: center; color: #3aa6ba; font: bold 18px Arial, sans-serif; box-sizing: border-box; }
[data-mode="m"] .o-why { padding: 14px; } [data-mode="m"] .o-why h3 { font-size: 20px; margin-bottom: 12px; }
[data-mode="m"] .o-why ul { grid-template-columns: 1fr 1fr; gap: 10px; } [data-mode="m"] .o-why li { font-size: 12px; gap: 6px; } [data-mode="m"] .o-why li i { width: 24px; height: 24px; font-size: 12px; border-width: 2px; }
.o-card { height: 100%; background: #fff; border: 1px solid #ddd; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); padding: 10px; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; }
.o-card .im { flex: 1; background: #b9a58c center / 100% 100% no-repeat; }
.o-card b { font: bold 20px Arial, sans-serif; color: #2b7a8c; }
.o-card a { font: 15px Arial, sans-serif; color: #1a6ad6; text-decoration: underline; }
.o-banner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; background: repeating-linear-gradient(45deg, #f39c34 0 22px, #f5a94f 22px 44px); color: #fff; font: bold 22px Arial, sans-serif; text-shadow: 1px 1px 0 #b55e00; white-space: nowrap; }
.o-banner u { background: #d62828; padding: 3px 10px; border-radius: 3px; text-decoration: none; }
.mk-old .o-banner u { animation: mk-blink 1s steps(2) infinite; }
@keyframes mk-blink { 50% { opacity: .35; } }
[data-mode="m"] .o-banner { font-size: 12px; gap: 8px; }

/* ================= the new site: RÉMO (Jost 300 / 400, wide uppercase, ivory, warm ink, brass) ================= */
.r-photo { position: relative; height: 100%; overflow: hidden; background: #d9cfc2; }
.r-photo picture { position: absolute; inset: 0; }
.r-photo img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
[data-mode="m"] .r-hero img { object-position: 60% 50%; }   /* the island and the pendants */
.r-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 20, 16, .55) 0%, rgba(24, 20, 16, .22) 34%, rgba(24, 20, 16, .38) 66%, rgba(24, 20, 16, .6) 100%); }
.mk-sweep { position: absolute; top: -10%; bottom: -10%; left: 0; width: 30%; z-index: 2; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 246, 230, 0), rgba(255, 246, 230, .32) 50%, rgba(255, 246, 230, 0)); will-change: transform, opacity; }
.r-menu { height: 100%; display: flex; align-items: center; gap: 12px; font: 400 13px var(--lux); letter-spacing: .22em; text-transform: uppercase; color: var(--onph); }
.r-menu i { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.r-menu i::before, .r-menu i::after { content: ''; height: 1px; background: var(--onph); }
.r-mark { height: 100%; display: flex; align-items: center; justify-content: center; font: 400 30px/1 var(--lux); letter-spacing: .42em; padding-left: .42em; color: var(--onph); }
[data-mode="m"] .r-mark { font-size: 20px; }
.r-link { height: 100%; display: flex; align-items: center; justify-content: flex-end; font: 400 13px var(--lux); letter-spacing: .22em; text-transform: uppercase; color: var(--onph); }
[data-mode="m"] .r-menu, [data-mode="m"] .r-link { font-size: 10px; letter-spacing: .16em; }
.r-rule { height: 100%; background: rgba(244, 239, 230, .35); }
.r-kick { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font: 400 12px var(--lux); letter-spacing: .34em; text-transform: uppercase; color: var(--onph-k); white-space: nowrap; }
[data-mode="m"] .r-kick { font-size: 9px; letter-spacing: .24em; }
.r-title { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font: 300 62px/1.12 var(--lux); letter-spacing: .12em; text-transform: uppercase; color: var(--onph); }
[data-mode="m"] .r-title { font-size: 25px; letter-spacing: .07em; line-height: 1.25; }
.r-btn { height: 100%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(244, 239, 230, .75); font: 400 12px var(--lux); letter-spacing: .28em; text-transform: uppercase; color: var(--onph); box-sizing: border-box; }
[data-mode="m"] .r-btn { font-size: 10px; letter-spacing: .2em; }
.r-scroll { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 400 10px var(--lux); letter-spacing: .3em; color: var(--onph); }
.r-scroll::after { content: ''; width: 1px; flex: 1; background: linear-gradient(var(--onph), rgba(244, 239, 230, 0)); }
.r-block { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.r-block.l { align-items: flex-start; text-align: left; }
.r-block .k { font: 400 12px var(--lux); letter-spacing: .34em; text-transform: uppercase; color: var(--brass); }
.r-block h3 { margin: 0; font: 300 44px/1.15 var(--lux); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-w); }
.r-block p { margin: 0; font: 300 18px/1.75 var(--lux); color: var(--body-w); max-width: 640px; }
.r-block .b { margin-top: 8px; border: 1px solid rgba(31, 27, 23, .6); padding: 16px 30px; font: 400 12px var(--lux); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-w); }
.r-block .u { margin-top: 6px; font: 400 12px var(--lux); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-w); border-bottom: 1px solid var(--brass); padding-bottom: 6px; }
[data-mode="m"] .r-block { gap: 18px; } [data-mode="m"] .r-block h3 { font-size: 26px; letter-spacing: .08em; } [data-mode="m"] .r-block p { font-size: 15px; }
.r-cap { height: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; border-top: 1px solid rgba(31, 27, 23, .16); padding-top: 22px; box-sizing: border-box; }
.r-cap h4 { margin: 0 0 10px; font: 400 20px var(--lux); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-w); }
.r-cap p { margin: 0; font: 300 16px/1.7 var(--lux); color: var(--body-w); max-width: 560px; }
.r-cap span { font: 400 12px var(--lux); letter-spacing: .24em; color: var(--dim-w); white-space: nowrap; display: flex; gap: 22px; align-items: center; }
[data-mode="m"] .r-cap { flex-direction: column; gap: 12px; } [data-mode="m"] .r-cap h4 { font-size: 15px; } [data-mode="m"] .r-cap p { font-size: 14px; }
.r-foot { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-top: 1px solid rgba(31, 27, 23, .14); font: 400 11px var(--lux); letter-spacing: .26em; text-transform: uppercase; color: var(--dim-w); }
.r-foot b { font: 400 26px var(--lux); letter-spacing: .42em; padding-left: .42em; color: var(--ink-w); }

/* ================= v3.27 §2c: PHONES, the makeover inside an iPhone (reference/makeover-phone/prototype; desktop untouched) =================
   Plain CSS, every size from the phone's height (js/makeover.js layout: --bz bezel, --r corner radius, --sw screen width). */
.mk-floor, .mk-btn, .mk-status, .mk-island, .mk-hbar { display: none; }
[data-mode="m"] .mk-wrap { perspective: 1800px; perspective-origin: 50% 30%; }
[data-mode="m"] .mk-win { border-radius: var(--r); padding: var(--bz); box-sizing: border-box; background: #0b0b0c;
  box-shadow: 0 0 0 calc(var(--bz) * .32) #c9c6c1, 0 0 0 calc(var(--bz) * .42) #a9a6a1, inset 0 0 0 1px rgba(255, 255, 255, .06); }
[data-mode="m"] .mk-win::after { display: none; }
[data-mode="m"] .mk-shadow { border-radius: var(--r); box-shadow: 0 60px 110px -40px rgba(30, 25, 20, .42), 0 24px 50px -24px rgba(30, 25, 20, .28); }
[data-mode="m"] .mk-clip { inset: var(--bz); border-radius: calc(var(--r) - var(--bz)); }
[data-mode="m"] .mk-floor { display: block; position: absolute; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(30, 25, 20, .22), rgba(30, 25, 20, 0)); }
[data-mode="m"] .mk-btn { display: block; position: absolute; width: calc(var(--bz) * .42); border-radius: 2px; background: linear-gradient(90deg, #b9b5af, #d8d5d0); }
.mk-b1 { left: calc(var(--bz) * -.62); top: 17%; height: 4%; }
.mk-b2 { left: calc(var(--bz) * -.62); top: 24%; height: 7.5%; }
.mk-b3 { left: calc(var(--bz) * -.62); top: 33%; height: 7.5%; }
[data-mode="m"] .mk-b4 { right: calc(var(--bz) * -.62); top: 27%; height: 11%; background: linear-gradient(270deg, #b9b5af, #d8d5d0); }
[data-mode="m"] .mk-island { display: block; position: absolute; z-index: 30; left: 50%; top: calc(var(--sw) * .028); transform: translateX(-50%); width: calc(var(--sw) * .32); height: calc(var(--sw) * .092); border-radius: 999px; background: #000; }
[data-mode="m"] .mk-status { display: flex; position: absolute; z-index: 29; left: 0; right: 0; top: 0; height: calc(var(--sw) * .15); align-items: center; justify-content: space-between;
  padding: 0 calc(var(--sw) * .085) 0 calc(var(--sw) * .1); box-sizing: border-box; color: #111; transition: color .35s; }
.mk-status b { font: 600 calc(var(--sw) * .042)/1 -apple-system, 'SF Pro Text', 'Inter Tight', sans-serif; letter-spacing: -.01em; }
.mk-ic { display: flex; align-items: center; gap: calc(var(--sw) * .016); }
.mk-status svg { height: calc(var(--sw) * .03); width: auto; fill: currentColor; }
.mk-bat { width: calc(var(--sw) * .064); height: calc(var(--sw) * .03); border: 1.2px solid currentColor; border-radius: 4px; padding: 1.5px; opacity: .9; box-sizing: border-box; }
.mk-bat i { display: block; height: 100%; width: 78%; background: currentColor; border-radius: 2px; }
.mk-status.light { color: #f4efe6; }
[data-mode="m"] .mk-hbar { display: block; position: absolute; z-index: 29; left: 50%; bottom: calc(var(--sw) * .022); transform: translateX(-50%); width: 34%; height: calc(var(--sw) * .012); border-radius: 9px; background: #111; transition: background-color .35s; }
.mk-hbar.light { background: rgba(244, 239, 230, .85); }
@media (prefers-reduced-motion: reduce) { .mk-status, .mk-hbar { transition: none; } }

/* ---------- reduced motion: inside the "before" beat; old -> new is one cross-fade (film.js adds .mk-rm-new when the block is in view) ---------- */
.mk-static { position: absolute; inset: 0; z-index: 0; }
.mk-static .mk-ltr { display: none; }
.mk-static .mk-el > .o, .mk-static .mk-el > .n, .mk-static .mk-bg, .mk-static .mk-shadow { transition: opacity .9s ease; }
.mk-static .mk-el > .n { visibility: visible; opacity: 0; }
.mk-static .o-orange.flat, .mk-static .o-nav.flat { display: none; }
.mk-static.mk-rm-new .mk-el > .o, .mk-static.mk-rm-new .mk-bg-old { opacity: 0; }
.mk-static.mk-rm-new .mk-el > .n, .mk-static.mk-rm-new .mk-bg-new { opacity: 1; }
.mk-static.mk-rm-new .mk-shadow { opacity: .45; }
