/* ==========================================================================
   Las Mandarinas — styles
   ========================================================================== */

:root {
  --bg: #f3ede3;
  --bg-2: #ebe3d6;
  --bg-3: #e2d8c8;
  --card: #faf6ef;
  --ink: #1d1916;
  --ink-2: #5d544b;
  --ink-3: #8b8176;
  --line: rgba(29, 25, 22, 0.14);
  --accent: #8f2d2a;        /* the red walls of the house */
  --accent-2: #c8743c;      /* mandarin */
  --gold: #a4885a;
  --on-dark: #f4eee4;
  --shadow: 0 30px 80px -40px rgba(40, 25, 15, 0.45);
  --plan-filter: none;
  --plan-blend: multiply;

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 5vw, 80px);
  --maxw: 1480px;
  --nav-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #11100e; --bg-2: #181613; --bg-3: #221f1b; --card: #1c1a17;
    --ink: #eee7db; --ink-2: #b1a698; --ink-3: #7f766b; --line: rgba(238, 231, 219, 0.13);
    --accent: #d77d62; --accent-2: #e39a5a; --gold: #c9a972;
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
    --plan-filter: invert(1) sepia(0.25); --plan-blend: screen;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #11100e; --bg-2: #181613; --bg-3: #221f1b; --card: #1c1a17;
  --ink: #eee7db; --ink-2: #b1a698; --ink-3: #7f766b; --line: rgba(238, 231, 219, 0.13);
  --accent: #d77d62; --accent-2: #e39a5a; --gold: #c9a972;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --plan-filter: invert(1) sepia(0.25); --plan-blend: screen;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease);
}
img { display: block; max-width: 100%; height: auto; background-size: cover; background-position: center; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
em { font-style: italic; }
p { margin: 0 0 1.2em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1.5px solid var(--accent-2); outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; transition: top 0.3s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 14vw, 200px) 0; }
/* Native anchor jumps (no smooth-scroll JS): skip most of the top padding. */
.section[id] { scroll-margin-top: calc(var(--nav-h) + 90px - clamp(96px, 14vw, 200px)); }
@media (max-width: 899px) { .section[id] { scroll-margin-top: calc(var(--nav-h) + 44px - clamp(96px, 14vw, 200px)); } }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.6rem;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: 0.7; }

.h1, .h2, .h3 { font-family: var(--serif); font-weight: 300; margin: 0 0 0.5em; letter-spacing: -0.015em; }
.h1 { font-size: clamp(2.8rem, 7vw, 7.2rem); line-height: 0.98; }
.h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; }
.h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.15; }
.h1 em, .h2 em, .h3 em { color: var(--accent); font-weight: 300; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.85rem); line-height: 1.45; font-weight: 300; color: var(--ink); }
.rule { border: 0; height: 1px; background: var(--line); margin: 3rem 0; }

.split-line { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--b);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  will-change: transform;
}
.btn svg { fill: currentColor; stroke: currentColor; stroke-width: 0; flex: none; }
.btn--ghost svg { fill: none; stroke-width: 1.4; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--b);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover { color: var(--bg); }
.btn--small { padding: 11px 20px; font-size: 0.68rem; }
.btn--wa { --b: #1f8a55; background: #1f8a55; color: #fff; border-color: #1f8a55; }
.btn--wa::before { background: #176b42; }
.btn--wa:hover { color: #fff; }
.btn--ghost { --b: currentColor; }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0 1px;
  transition: background-size 0.6s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg); color: var(--ink);
  animation: loader-failsafe 0.6s 4s forwards;
}
.is-returning .loader { display: none; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__mark { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.loader__mark circle { stroke-dasharray: 352; stroke-dashoffset: 352; animation: draw 1.6s var(--ease) forwards; }
.loader__mark path { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.4s 0.4s var(--ease) forwards; }
.loader__word { overflow: hidden; font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.5em; text-transform: uppercase; padding-left: 0.5em; }
.loader__word span { display: block; transform: translateY(100%); animation: up 1s 0.5s var(--ease) forwards; }
.loader__bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: bar 1.6s 0.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes up { to { transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Progress / grain / cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); }
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--accent-2); mix-blend-mode: normal;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), opacity 0.3s, background-color 0.3s;
    opacity: 0;
  }
  .cursor span { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.3s; }
  .cursor.is-visible { opacity: 1; }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: color-mix(in srgb, var(--accent-2) 30%, transparent); }
  .cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); }
  .cursor.is-view span { opacity: 1; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--on-dark);
  transition: transform 0.6s var(--ease), background-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity 0.5s;
  border-bottom: 1px solid var(--line);
}
.nav.is-solid { color: var(--ink); }
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.nav__logo svg { fill: none; stroke: currentColor; stroke-width: 3; flex: none; }
.nav__links { display: none; gap: clamp(18px, 2.2vw, 40px); }
.nav__links a { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: flex; align-items: center; gap: 14px; }
.nav__lang { display: flex; gap: 6px; font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 400; padding: 8px 4px; }
.nav__lang span { opacity: 0.5; transition: opacity 0.3s; }
.nav__lang .is-current, .nav__lang:hover span { opacity: 1; }
.nav__lang .sep { opacity: 0.3 !important; }
.nav__theme { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); transition: border-color 0.3s, transform 0.6s var(--ease); }
.nav__theme:hover { border-color: currentColor; transform: rotate(40deg); }
.nav__theme svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.nav__theme .moon { display: none; fill: currentColor; stroke: none; }
[data-theme='dark'] .nav__theme .moon { display: block; }
[data-theme='dark'] .nav__theme .sun, [data-theme='dark'] .nav__theme .rays { display: none; }
.nav__cta { display: none; --b: currentColor; }
.nav__cta:hover { color: var(--bg); }
.nav:not(.is-solid) .nav__cta:hover { color: var(--ink); }
.nav:not(.is-solid) .nav__cta::before { background: var(--on-dark); }
.nav__burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 7px; }
.nav__burger i { display: block; width: 26px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.nav__burger[aria-expanded='true'] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded='true'] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
body.menu-open .nav { color: var(--ink); }
@media (min-width: 1180px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}
@media (max-width: 520px) {
  .nav__logo span { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1.25; font-weight: 300;
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(30px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.menu__links small { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.25s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: 0.3s; }
.menu__foot { display: flex; gap: 28px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  color: var(--on-dark); overflow: hidden;
  display: grid; place-items: center;
}
.hero__media, .hero__layer { position: absolute; inset: 0; }
.hero__layer img { width: 100%; height: 100%; object-fit: cover; }
.hero__back img { object-position: 50% 60%; }
.hero__front { will-change: transform, opacity; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.55) 0%, rgba(12, 10, 8, 0) 28%),
    linear-gradient(0deg, rgba(12, 10, 8, 0.7) 0%, rgba(12, 10, 8, 0.1) 45%),
    radial-gradient(ellipse at center, rgba(12, 10, 8, 0.25), rgba(12, 10, 8, 0.1) 60%);
}
.hero__content { position: relative; text-align: center; padding: 0 var(--gutter); }
.hero__eyebrow { justify-content: center; color: var(--on-dark); opacity: 0.9; }
.hero__eyebrow::before { display: none; }
.hero__title { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 0.82; letter-spacing: -0.02em; }
.hero__line { display: block; overflow: hidden; padding: 0.02em 0.06em 0.1em; }
.hero__line > span { display: inline-block; }
.hero__line:first-child { font-size: clamp(2.2rem, 6vw, 6rem); font-style: italic; transform: translateX(-28%); }
.hero__line--2 { font-size: clamp(3.6rem, 15.5vw, 17rem); }
.hero__line--2 em { font-style: normal; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.8rem); margin: 1.2rem 0 0; opacity: 0.92; }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding: 0 var(--gutter) max(28px, env(safe-area-inset-bottom));
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
}
.hero__foot > :last-child { justify-self: end; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; }
.hero__status b { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(227, 154, 90, 0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(227, 154, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 154, 90, 0); } }
.hero__scroll { display: grid; justify-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 54px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 50% { transform: none; } 100% { transform: translateY(100%); } }
@media (max-width: 640px) {
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .hero__line:first-child { transform: translateX(-18%); }
}

/* ---------- Manifesto ---------- */
.manifesto__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 3.7vw, 3.9rem); line-height: 1.22; letter-spacing: -0.01em;
  margin: 0 auto; text-align: center; max-width: 1200px;
}
.manifesto__text .w { opacity: 0.16; transition: none; }
.no-js .manifesto__text .w, .reduced .manifesto__text .w { opacity: 1; }

/* ---------- Facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: clamp(28px, 4vw, 56px) clamp(8px, 1.5vw, 24px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.fact:nth-child(2n) { border-right: 0; }
.fact:nth-last-child(-n + 2) { border-bottom: 0; }
.fact__num { font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: 1; margin: 0 0 12px; font-weight: 300; font-variant-numeric: lining-nums tabular-nums; }
.fact__num sup { font-size: 0.36em; vertical-align: top; margin-left: 4px; color: var(--accent); position: relative; top: 0.5em; }
.fact__label { margin: 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
@media (min-width: 760px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(2n) { border-right: 1px solid var(--line); }
  .fact:nth-child(3n) { border-right: 0; }
  .fact:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .fact:nth-last-child(-n + 3) { border-bottom: 0; }
}
@media (min-width: 1200px) {
  .facts__grid { grid-template-columns: repeat(6, 1fr); }
  .fact { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .fact:last-child { border-right: 0 !important; }
}

/* ---------- Architect ---------- */
.architect__grid { display: grid; gap: clamp(48px, 7vw, 120px); }
.architect__media { position: relative; }
.architect__archive img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.architect__archive figcaption { max-width: calc(64% - 24px); }
@media (max-width: 899px) { .architect__media { margin-bottom: 64px; } }
.architect__archive figcaption, .architect__portrait figcaption { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }
.architect__portrait { position: absolute; right: -4%; bottom: -14%; width: clamp(140px, 36%, 240px); background: var(--bg); padding: 10px 10px 4px; box-shadow: var(--shadow); }
.architect__portrait img { width: 100%; filter: grayscale(1); }
.architect__portrait figcaption { margin-top: 8px; font-size: 0.6rem; }
.architect__text > p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.pull { margin: 3rem 0; padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 1px solid var(--accent); }
.pull p { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.2; margin: 0 0 0.8rem; }
.pull em { color: var(--accent); }
.pull cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.timeline { list-style: none; margin: 3.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--accent); line-height: 1.2; }
.timeline span { color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 900px) {
  .architect__grid { grid-template-columns: 5fr 6fr; align-items: start; }
  .architect__media { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* ---------- The house (horizontal) ---------- */
.house { position: relative; background: var(--bg-2); overflow: hidden; }
.house__track {
  display: flex; flex-direction: column; gap: 56px;
  padding: clamp(96px, 12vw, 160px) var(--gutter);
}
.house__intro { max-width: 520px; }
.house__intro p:not(.eyebrow) { color: var(--ink-2); }
.house__hint { display: none; align-items: center; gap: 14px; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3) !important; margin-top: 2rem; }
.house__hint i { width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.house__hint i::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: hint 2s var(--ease) infinite; transform: translateX(-100%); }
@keyframes hint { 60%, 100% { transform: translateX(100%); } }
.panel { position: relative; flex: none; }
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { display: flex; gap: 14px; margin-top: 14px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.panel figcaption span { color: var(--accent); }
.panel--bw img { filter: grayscale(1) contrast(1.05); }
.panel > img { aspect-ratio: 4 / 3; }
.panel--tall > img { aspect-ratio: 1 / 1.02; }
@media (min-width: 900px) {
  .house.is-pinned { height: 100vh; height: 100svh; }
  .house__track { flex-direction: row; align-items: center; height: 100%; gap: 5vw; padding: calc(var(--nav-h) + 2vh) 6vw 4vh; overflow-x: auto; width: max-content; min-height: 100vh; }
  .house.is-pinned .house__track { overflow: visible; will-change: transform; }
  .house__intro { width: 34vw; max-width: 520px; flex: none; }
  .house__hint { display: flex; }
  .panel > img { aspect-ratio: auto; }
  .panel--xl { width: 62vh; width: min(58vw, 96vh); height: 68vh; }
  .panel--lg { width: min(52vw, 86vh); height: 60vh; }
  .panel--md { width: min(40vw, 66vh); height: 50vh; }
  .panel--tall { width: min(32vw, 58vh); height: 70vh; }
  .panel--low { align-self: flex-end; margin-bottom: 8vh; }
  .panel > img { height: 100%; }
  .panel { height: auto; }
  .panel--xl img, .panel--lg img, .panel--md img, .panel--tall img { height: 100%; }
  .panel figcaption { position: absolute; top: 100%; left: 0; }
}

/* ---------- Interiors ---------- */
.interiors__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; color: var(--on-dark); display: grid; place-items: center; }
.interiors__frame { position: absolute; inset: 0; will-change: clip-path; }
.interiors__frame img { width: 100%; height: 100%; object-fit: cover; }
.interiors__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 8, 6, 0.65), rgba(10, 8, 6, 0.1) 60%); }
.interiors__title { position: relative; text-align: center; padding: 0 var(--gutter); max-width: 1200px; }
.interiors__title .eyebrow { justify-content: center; color: var(--on-dark); }
.interiors__title .eyebrow::before { display: none; }
.interiors__title .h1 em { color: #f0b98a; }
.interiors__body { display: grid; gap: 48px; }
.interiors__text p:not(.lead) { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.98rem; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 14px; height: 1px; background: var(--accent); }
@media (min-width: 900px) {
  .interiors__body { grid-template-columns: 7fr 4fr; gap: 8vw; align-items: start; }
}
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: clamp(96px, 12vw, 180px); }
.mosaic .m { overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.m1, .m6 { grid-column: 1 / -1; }
.m1 img, .m6 img { aspect-ratio: 4 / 3; }
.m2 img, .m3 img, .m4 img, .m5 img, .m7 img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); gap: 2vw; row-gap: 8vw; align-items: start; }
  .m1 { grid-column: 1 / 8; }
  .m2 { grid-column: 9 / 13; margin-top: 18vw; }
  .m3 { grid-column: 2 / 6; }
  .m4 { grid-column: 7 / 10; margin-top: 10vw; }
  .m5 { grid-column: 10 / 13; margin-top: -4vw; }
  .m6 { grid-column: 3 / 10; }
  .m7 { grid-column: 10 / 13; margin-top: 16vw; }
  .m3 img { aspect-ratio: 1 / 1.08; }
}

/* ---------- Ceramics ---------- */
.ceramics { position: relative; background: var(--bg-2); overflow: hidden; }
.ceramics__head { position: relative; }
.ceramics__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 var(--gutter) 64px; }
.tile img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; box-shadow: var(--shadow); }
.ceramics__text { text-align: center; max-width: 900px; position: relative; z-index: 2; }
.ceramics__text .eyebrow { justify-content: center; }
.ceramics__text .eyebrow::before { display: none; }
.ceramics__text p:not(.lead):not(.eyebrow) { color: var(--ink-2); max-width: 640px; margin-left: auto; margin-right: auto; }
.ceramics__pair { display: grid; gap: 16px; margin-top: clamp(64px, 9vw, 140px); }
.ceramics__pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) {
  .ceramics { padding-top: clamp(160px, 18vw, 280px); }
  .ceramics__tiles { display: block; position: absolute; inset: 0; padding: 0; pointer-events: none; }
  .tile { position: absolute; }
  .ceramics__head { padding: 2vw 0 4vw; }
  .t1 { width: 15vw; left: 3vw; top: 0; rotate: -3deg; }
  .t2 { width: 14vw; right: 3vw; top: -6%; rotate: 2.5deg; }
  .t3 { width: 11vw; left: 7vw; top: 62%; rotate: 2deg; }
  .t4 { width: 16vw; right: 2vw; top: 52%; rotate: -2deg; }
  .t4 img { aspect-ratio: 1.12; }
  .ceramics__text { min-height: 30vw; max-width: min(900px, 58vw); }
  .ceramics__pair { grid-template-columns: 7fr 5fr; gap: 3vw; align-items: end; }
  .ceramics__pair figure:last-child { margin-bottom: 10vw; }
}

/* ---------- Quote ---------- */
.quote { position: relative; min-height: 110vh; display: grid; place-items: center; color: var(--on-dark); overflow: hidden; }
.quote__bg, .contact__bg { position: absolute; inset: -20% 0; }
.quote__bg img, .contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 6, 0.55), rgba(10, 8, 6, 0.25) 50%, rgba(10, 8, 6, 0.6)); }
.quote__inner { position: relative; margin: 0 auto; text-align: center; max-width: 1200px; padding-top: 120px; padding-bottom: 120px; }
.quote__inner p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4.6vw, 4.8rem); line-height: 1.12; margin: 0 0 2rem; }
.quote__inner cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; }
.quote .w { opacity: 0.25; }
.no-js .quote .w, .reduced .quote .w { opacity: 1; }

/* ---------- Grounds ---------- */
.grounds__head { max-width: 1100px; margin-bottom: clamp(56px, 8vw, 120px); }
.grounds__head .lead { max-width: 820px; }
.grounds__grid { display: grid; gap: 48px; }
.grounds__visual { display: none; }
.amenities { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.amenity { display: grid; grid-template-columns: 3rem 1fr; gap: 16px; padding: 36px 0; border-top: 1px solid var(--line); }
.amenity__n { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--accent); padding-top: 0.9em; }
.amenity h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.05; margin: 0 0 0.6rem; }
.amenity p { color: var(--ink-2); max-width: 540px; margin: 0; }
.amenity__img { margin-top: 24px; overflow: hidden; }
.amenity__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .grounds__grid { grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
  .grounds__visual { display: block; position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 8vh); }
  .grounds__frame { position: relative; height: 100%; overflow: hidden; }
  .gv { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
  .gv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
  .gv.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
  .gv.is-active img { transform: scale(1); }
  .gv.was-active { clip-path: inset(0 0 0 0); z-index: 1; }
  .grounds__count { position: absolute; z-index: 5; right: 20px; bottom: 16px; margin: 0; color: #fff; font-size: 0.72rem; letter-spacing: 0.2em; mix-blend-mode: difference; }
  .amenity { min-height: 62vh; align-content: center; opacity: 0.28; transition: opacity 0.6s var(--ease); border-top: 0; padding: 0; }
  .amenity.is-active { opacity: 1; }
  .amenity__img { display: none; }
  .amenities { padding: 12vh 0; }
}

/* ---------- Plan ---------- */
.plan { background: var(--bg-2); }
.plan__grid { display: grid; gap: 56px; align-items: center; }
.plan__drawing { padding: 5%; }
.plan__drawing img { width: 100%; filter: var(--plan-filter); mix-blend-mode: var(--plan-blend); background: none !important; }
.plan__text p:not(.eyebrow) { color: var(--ink-2); }
.plan__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) {
  .plan__grid { grid-template-columns: 5fr 5fr 3fr; gap: 5vw; }
  .plan__photo { margin-top: 20vh; }
}
@media (max-width: 899px) { .plan__photo { width: 70%; margin-left: auto; } }

/* ---------- Gallery ---------- */
.gallery__grid { columns: 2; column-gap: 12px; margin-top: clamp(40px, 6vw, 80px); }
.g-item { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; overflow: hidden; position: relative; cursor: zoom-in; background: var(--bg-3) center / cover no-repeat; }
.g-item img { width: 100%; opacity: 0; transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }
.g-item.is-loaded img, .no-js .g-item img { opacity: 1; }
.g-item::after { content: ''; position: absolute; inset: 0; background: var(--accent); opacity: 0; mix-blend-mode: multiply; transition: opacity 0.6s; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 0.12; }
@media (min-width: 700px) { .gallery__grid { columns: 3; column-gap: 20px; } .g-item { margin-bottom: 20px; } }
@media (min-width: 1200px) { .gallery__grid { columns: 4; } }

.lightbox {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(10, 9, 8, 0.96); color: #f4eee4;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 64px 0 24px; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; width: auto; height: auto; transition: opacity 0.4s, transform 0.6s var(--ease); background-size: contain; background-repeat: no-repeat; }
.lightbox__figure img.is-loading { opacity: 0.4; transform: scale(0.985); }
.lightbox__figure figcaption { font-family: var(--serif); font-style: italic; font-size: 1.2rem; padding-top: 16px; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 2.4rem; line-height: 1; width: 52px; height: 52px; font-weight: 200; }
.lightbox__nav { height: 100%; font-size: 1.6rem; opacity: 0.6; transition: opacity 0.3s; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__count { position: absolute; top: 26px; left: 24px; margin: 0; font-size: 0.72rem; letter-spacing: 0.2em; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 44px 1fr 44px; } }

/* ---------- Location ---------- */
.location__grid { display: grid; gap: 56px; align-items: center; }
.location__text .lead { margin-bottom: 2.4rem; }
.route { position: relative; aspect-ratio: 600 / 360; }
.route svg { width: 100%; height: 100%; overflow: visible; }
.route__grid { stroke: var(--line); stroke-width: 1; fill: none; }
.route__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 7; }
.route__dot { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.route__dot--to { fill: var(--accent); }
.route__pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-origin: 70px 104px; transform-box: view-box; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(4.5); opacity: 0; } }
.route__label { position: absolute; margin: 0; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); display: grid; gap: 4px; }
.route__label b { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.8rem); text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; }
.route__label--from { right: 0; top: 76%; text-align: right; }
.route__label--to { left: 6%; top: 36%; }
.route__label--mid { left: 42%; top: 58%; color: var(--accent); transform: rotate(14deg); }
@media (min-width: 900px) { .location__grid { grid-template-columns: 5fr 6fr; gap: 6vw; } }
@media (max-width: 600px) { .route__label--mid { display: none; } .route__label { font-size: 0.6rem; } .route__label--to { top: 38%; } }

/* ---------- Opportunity ---------- */
.opportunity { background: var(--bg-2); }
.opportunity__head { display: grid; gap: 32px; margin-bottom: clamp(56px, 7vw, 110px); }
.opportunity__turn { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.7vw, 1.6rem); color: var(--accent); margin: 0; }
.uses { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; gap: 56px; }
.use figure { margin-bottom: 22px; }
.use img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.use__n { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--accent); }
.use h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.1; margin: 8px 0 12px; }
.use p { color: var(--ink-2); margin: 0; }
.opportunity__motto {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.2; text-align: center;
  max-width: 1100px; margin: clamp(80px, 10vw, 160px) auto 0;
}
.opportunity__motto .w { opacity: 0.18; }
.no-js .opportunity__motto .w, .reduced .opportunity__motto .w { opacity: 1; }
@media (min-width: 900px) {
  .opportunity__head { grid-template-columns: 5fr 6fr; gap: 6vw; align-items: end; }
  .uses { grid-template-columns: repeat(3, 1fr); gap: 3vw; }
  .use:nth-child(2) { margin-top: 8vw; }
}

/* ---------- Fact sheet ---------- */
.sheet { border-top: 1px solid var(--line); }
.sheet__grid { display: grid; gap: 40px; }
.sheet__list { margin: 0; border-top: 1px solid var(--line); }
.sheet__list > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sheet__list dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.4em; }
.sheet__list dd { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.3; }
.sheet__price dd { color: var(--accent); font-style: italic; }
@media (min-width: 900px) { .sheet__grid { grid-template-columns: 4fr 7fr; gap: 8vw; } .sheet__grid > div:first-child { position: sticky; top: 20vh; align-self: start; } }

/* ---------- Contact ---------- */
.contact { position: relative; color: var(--on-dark); overflow: hidden; padding: clamp(110px, 14vw, 200px) 0; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 8, 0.86), rgba(12, 10, 8, 0.7) 50%, rgba(12, 10, 8, 0.9)); }
.contact__grid { position: relative; display: grid; gap: 64px; }
.contact .eyebrow { color: #f0b98a; }
.contact .h1 em { color: #f0b98a; }
.contact .lead { color: rgba(244, 238, 228, 0.86); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2.4rem 0 3rem; }
.contact .btn--ghost { color: var(--on-dark); }
.contact .btn--ghost::before { background: var(--on-dark); }
.contact .btn--ghost:hover { color: #14110e; }
.contact__direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__direct li { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; align-items: baseline; }
.contact__direct span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.contact__direct a { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); overflow-wrap: anywhere; }
.contact__direct a:hover { color: #f0b98a; }

.form {
  background: rgba(244, 238, 228, 0.06);
  border: 1px solid rgba(244, 238, 228, 0.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 4px;
}
.form__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 1.5rem; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244, 238, 228, 0.3);
  color: var(--on-dark); font: inherit; font-size: 1rem; padding: 26px 0 10px; border-radius: 0; resize: vertical;
  transition: border-color 0.4s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: #f0b98a; }
.field label { position: absolute; left: 0; top: 24px; font-size: 0.95rem; opacity: 0.65; pointer-events: none; transform-origin: left top; transition: transform 0.4s var(--ease), opacity 0.4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(0.75); opacity: 0.9; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.chips { border: 0; padding: 0; margin: 12px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-bottom: 12px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(244, 238, 228, 0.28); border-radius: 100px; font-size: 0.85rem; transition: all 0.35s var(--ease); }
.chips input:checked + span { background: var(--on-dark); color: #14110e; border-color: var(--on-dark); }
.chips input:focus-visible + span { outline: 1.5px solid #f0b98a; outline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.form__actions .btn { flex: 1 1 200px; justify-content: center; }
.form__error { color: #f0b98a; font-size: 0.9rem; margin: 0 0 10px; }
.form__note { font-size: 0.78rem; opacity: 0.55; margin: 18px 0 0; }
.btn--light { --b: var(--on-dark); background: var(--on-dark); color: #14110e; border-color: var(--on-dark); }
.btn--light::before { background: #f0b98a; }
.btn--light:hover { color: #14110e; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__done { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 6px; padding: clamp(24px, 4vw, 52px); background: rgba(20, 17, 14, 0.94); border-radius: 4px; animation: fade-in 0.6s var(--ease); }
.form__done[hidden] { display: none; }
.form__done-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; margin: 0 0 10px; color: #f0b98a; }
@keyframes fade-in { from { opacity: 0; } }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; } }

/* ---------- Footer ---------- */
.footer { padding: clamp(60px, 8vw, 110px) 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 13.5vw, 15rem); line-height: 0.9; letter-spacing: -0.03em; margin: 0 0 clamp(40px, 5vw, 80px); white-space: nowrap; }
.footer__big em { color: var(--accent); }
.footer__grid { display: grid; gap: 28px; font-size: 0.92rem; color: var(--ink-2); padding-top: 32px; border-top: 1px solid var(--line); }
.footer__credit { font-size: 0.85rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-3); margin: 40px 0 0; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1.4fr 1fr; } .footer__links { justify-content: flex-end; align-items: start; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8a55; color: #fff; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(120px) scale(0.8); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s;
}
.wa-float svg { fill: currentColor; }
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { transform: scale(1.08); }
.no-js .wa-float { transform: none; opacity: 1; }

/* ---------- Reveal helpers ---------- */
.reveal-img { overflow: hidden; }
.reveal-img img { will-change: transform; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .loader { display: none; }
  .gv { transition: none; }
}
