/* ==========================================================================
   CASA DO TROVADOR — identity & styles
   One day at the house: the page moves from morning mist to fireside night.
   Palette pulled from the property's own photos: lake blue, pine, limewash,
   terracotta roof tiles, bedroom turquoise and the Castelo de Bode sunset.
   ========================================================================== */

/* Animatable theme tokens (registered so they can transition smoothly) */
@property --bg      { syntax: '<color>'; inherits: true; initial-value: #110E18; }
@property --fg      { syntax: '<color>'; inherits: true; initial-value: #F2EBDD; }
@property --accent  { syntax: '<color>'; inherits: true; initial-value: #F3B65B; }
@property --accent2 { syntax: '<color>'; inherits: true; initial-value: #E8798C; }
@property --soft    { syntax: '<color>'; inherits: true; initial-value: #1C1726; }

:root {
  /* Brand constants */
  --ink: #110E18;
  --limewash: #F2EBDD;
  --lake: #2D6A86;
  --pine: #3F5233;
  --terracotta: #C0582F;
  --turquoise: #17767C;
  --rose: #E8798C;
  --ember: #F0773E;
  --gold: #F3B65B;
  --dusk: #2A2145;
  --sunset: linear-gradient(90deg, #2A2145 0%, #6B3F7A 22%, #E8798C 48%, #F0773E 72%, #F3B65B 100%);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(1.1rem, 4vw, 4rem);
  --max: 1680px;
  --radius: clamp(14px, 1.6vw, 26px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --fs-h2: clamp(2.6rem, 6.4vw, 7rem);
  --fs-h3: clamp(1.5rem, 2.4vw, 2.5rem);
  --fs-body: clamp(1rem, .45vw + .82rem, 1.18rem);

  --line: color-mix(in oklab, var(--fg) 14%, transparent);
  --line-strong: color-mix(in oklab, var(--fg) 30%, transparent);
  --muted: color-mix(in oklab, var(--fg) 64%, var(--bg));

  transition: --bg 1.1s var(--ease), --fg 1.1s var(--ease), --accent 1.1s var(--ease), --accent2 1.1s var(--ease), --soft 1.1s var(--ease);
}

/* Time-of-day themes */
html[data-theme="night"] { --bg:#110E18; --fg:#F2EBDD; --accent:#F3B65B; --accent2:#E8798C; --soft:#1D1828; }
html[data-theme="mist"]  { --bg:#E5E2DE; --fg:#1B1925; --accent:#2D6A86; --accent2:#8C7FA8; --soft:#D8D4CF; }
html[data-theme="day"]   { --bg:#F3ECDF; --fg:#1A1520; --accent:#C0582F; --accent2:#2D6A86; --soft:#E8DECC; }
html[data-theme="linen"] { --bg:#EEE4D2; --fg:#1A1520; --accent:#17767C; --accent2:#C0582F; --soft:#E3D6BF; }
html[data-theme="pool"]  { --bg:#D3E8E7; --fg:#0D2B33; --accent:#0B6D86; --accent2:#E8773E; --soft:#C1DCDB; }
html[data-theme="dusk"]  { --bg:#2A2145; --fg:#F7EADF; --accent:#F28A6B; --accent2:#F3B65B; --soft:#362C57; }
html[data-theme="dawn"]  { --bg:#EFE3DE; --fg:#241B2B; --accent:#B24F69; --accent2:#2D6A86; --soft:#E5D5CF; }

/* ---------- Reset ---------- */
*, *::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 [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--fs-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--fg); color: var(--bg); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(6rem, 14vw, 13rem); }

/* ---------- Type ---------- */
.label {
  font: 500 .72rem/1.3 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.label--dim { opacity: .6; }
.h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 330;
  line-height: .98;
  letter-spacing: -.028em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 360;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100;
}
.body { max-width: 52ch; color: var(--muted); }
.body--lg { font-size: clamp(1.1rem, 1.2vw, 1.35rem); color: var(--fg); opacity: .86; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: clamp(1.4rem, 2.6vw, 2.4rem);
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow__num {
  display: inline-grid; place-items: center;
  min-width: 2.5rem; height: 2.5rem; padding-inline: .4rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font: italic 400 1.05rem/1 var(--serif); letter-spacing: 0; text-transform: none;
  color: var(--accent);
}
.eyebrow__time { display: inline-flex; align-items: center; gap: .9rem; color: var(--accent); }
.eyebrow__time::before { content: ""; width: 3rem; height: 1px; background: currentColor; opacity: .55; }

/* split text helpers */
.split .line-mask, .split-lines .line-mask { padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.3rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  height: var(--h); padding-inline: 1.5rem;
  border-radius: 999px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn__arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); color: #fff; }
.btn--line { border: 1px solid var(--line-strong); }
.btn--line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--glass { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: #fff; color: var(--ink); }
.btn--big { --h: 3.9rem; padding-inline: 2rem; font-size: 1.02rem; }
.btn__count { font: 500 .7rem/1 var(--mono); padding: .35rem .5rem; border-radius: 99px; background: var(--accent); color: #fff; }
.link { display: inline-flex; gap: .4rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; align-content: center; gap: 1.4rem;
  background: var(--ink); color: var(--limewash);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.js .loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__rose { width: 112px; height: 112px; color: var(--gold); }
.loader__rose use { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s var(--ease) forwards; }
.loader__line { font: italic 300 1.15rem/1 var(--serif); opacity: .8; }
.loader__dots { display: inline-block; animation: blink 1.2s steps(2) infinite; }
.loader__count { position: absolute; right: var(--pad); bottom: var(--pad); font: 200 clamp(4rem, 12vw, 10rem)/.8 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Grain, progress, cursor ---------- */
.grain { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-size: 180px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 160; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sunset); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
  .has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 500; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); transition: opacity .3s, background-color .3s; }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1px solid var(--fg); display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease), opacity .3s;
    opacity: .55;
  }
  .cursor__label { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: .9; }
  .cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); opacity: 1; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
}

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 1rem var(--pad);
  color: var(--fg);
  transition: transform .7s var(--ease), background-color .6s, padding .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .6s;
}
.nav.is-scrolled { padding-block: .7rem; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; }
.brand__rose { width: 34px; height: 34px; color: var(--accent); transition: transform 1.2s var(--ease); }
.brand:hover .brand__rose { transform: rotate(180deg); }
.brand__word { font: 400 1.22rem/1 var(--serif); letter-spacing: -.01em; font-variation-settings: "SOFT" 100; }
.brand__word em { font-style: italic; font-weight: 300; opacity: .75; }
.nav__links { display: flex; gap: .3rem; padding: .3rem; border-radius: 999px; border: 1px solid var(--line); }
.nav__links a { position: relative; padding: .55rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: background-color .4s, color .4s; }
.nav__links a:hover, .nav__links a.is-active { background: var(--fg); color: var(--bg); }
.nav__tools { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.nav__cta { --h: 2.75rem; padding-inline: 1.2rem; font-size: .88rem; }


.lang { position: relative; display: inline-flex; padding: .25rem; border-radius: 999px; border: 1px solid var(--line); }
.lang button { position: relative; z-index: 1; width: 2.4rem; height: 2.15rem; border-radius: 999px; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; transition: color .4s; }
.lang button[aria-pressed="true"] { color: var(--bg); }
.lang__pill { position: absolute; top: .25rem; left: .25rem; width: 2.4rem; height: 2.15rem; border-radius: 999px; background: var(--fg); transition: transform .55s var(--ease); }
.lang[data-active="en"] .lang__pill { transform: translateX(2.4rem); }

.burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 50%; width: 16px; height: 1.5px; margin-left: -8px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: calc(50% - 3px); }
.burger span:last-child { top: calc(50% + 3px); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 110; padding: 7rem var(--pad) 2rem;
  background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font: 300 clamp(2.2rem, 9vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; }
.menu nav small { font: 500 .72rem/1 var(--mono); color: var(--accent); width: 2rem; }
.menu__foot { font: 500 .72rem/1.6 var(--mono); letter-spacing: .08em; opacity: .7; }

/* ---------- Sundial ---------- */
.dial {
  position: fixed; right: var(--pad); bottom: 1.4rem; z-index: 100;
  display: flex; align-items: center; gap: .8rem;
  padding: .55rem .9rem .55rem .7rem; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--fg);
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.dial.is-on { opacity: 1; transform: none; }
.dial__arc { width: 44px; height: 25px; overflow: visible; color: var(--line-strong); }
.dial__sun { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.dial__txt { display: grid; gap: .15rem; }
.dial__time { font: 500 .95rem/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.dial__label { font: 500 .6rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 560px; color: var(--limewash); }
.hero__stage { position: relative; height: 100%; overflow: hidden; }
.hero__media {
  --it: 15vh; --ix: 32vw; --r: 18vw;
  position: absolute; inset: 0; z-index: 2;
  clip-path: inset(var(--it) var(--ix) 0 var(--ix) round var(--r) var(--r) 0 0);
  will-change: clip-path;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.22); transform-origin: 50% 60%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,14,24,.35) 0%, rgba(17,14,24,0) 30%, rgba(17,14,24,0) 60%, rgba(17,14,24,.55) 100%); }
.hero__title {
  position: absolute; left: 0; right: 0; bottom: 19vh; z-index: 1;
  display: grid; justify-items: center;
  font-family: var(--serif); font-weight: 300;
  line-height: .78; letter-spacing: -.045em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  pointer-events: none; user-select: none;
}
.hero__l1 { font-size: clamp(1.6rem, 4.6vw, 5.4rem); font-style: italic; font-weight: 300; letter-spacing: -.02em; margin-bottom: .08em; transform: translateX(-1.9em); }
.hero__l2 { font-size: clamp(4.6rem, 18.5vw, 22rem); }
.hero__title--base { color: var(--limewash); }
.hero__title--inner { z-index: 3; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 244, 230, .95); }
.hero__title--inner .hero__l1 { color: rgba(255,244,230,.95); -webkit-text-stroke: 0; }
.hero__caption { position: absolute; left: var(--pad); bottom: 2rem; z-index: 4; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: 0; }
.hero__meta { position: absolute; z-index: 5; left: var(--pad); top: clamp(6rem, 15vh, 9rem); display: grid; gap: .5rem; }
.badge { position: absolute; z-index: 5; right: var(--pad); top: clamp(5.5rem, 13vh, 8rem); width: clamp(104px, 9vw, 142px); aspect-ratio: 1; display: block; color: var(--limewash); }
/* The ring spins on its own layer: nothing else may set a transform on it */
.badge__ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 50%; animation: spin 26s linear infinite; }
.badge__text { font: 500 14px/1 var(--mono); text-transform: uppercase; fill: currentColor; }
.badge__rose { position: absolute; left: 31%; top: 31%; width: 38%; height: 38%; color: var(--gold); transform-origin: 50% 50%; transition: transform 1s var(--ease); }
.badge:hover .badge__rose { transform: rotate(90deg) scale(1.1); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero__bottom {
  position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: clamp(1.4rem, 4vh, 2.6rem);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1.5rem;
}
.hero__tag { max-width: 31ch; font-size: clamp(.95rem, 1.05vw, 1.12rem); line-height: 1.45; opacity: .85; }
.hero__scroll { display: grid; justify-items: center; gap: .7rem; font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(currentColor, transparent); transform-origin: top; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__bottom .btn { justify-self: end; }

/* ==========================================================================
   PRELUDE
   ========================================================================== */
.prelude { padding-bottom: 0; }
.prelude .stats { margin-top: clamp(4rem, 8vw, 8rem); }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.15vw, 4.6rem);
  font-weight: 320; line-height: 1.1; letter-spacing: -.022em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  max-width: 1400px;
  text-wrap: pretty;
}
.lead .word { transition: none; }
.pill {
  display: inline-block; vertical-align: -.08em;
  width: 1.9em; height: .82em; margin-inline: .08em;
  border-radius: 999px; overflow: hidden;
  transition: width .7s var(--ease);
}
.pill--round { width: .82em; }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill:hover { width: 3.2em; }


.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(5rem, 10vw, 10rem); border-top: 1px solid var(--line-strong); }
.stat { display: grid; gap: .6rem; padding: 1.6rem 1.2rem 1.4rem 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(1rem, 2vw, 2rem); }
.stat:last-child { border-right: 0; }
.stat__num { font: 200 clamp(3.6rem, 9vw, 9.5rem)/.85 var(--serif); letter-spacing: -.05em; font-variation-settings: "SOFT" 100, "WONK" 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .4em; vertical-align: .9em; color: var(--accent); margin-left: .05em; }
.stat__label { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.marquee { overflow: hidden; margin-top: clamp(3rem, 6vw, 6rem); padding-block: 1.4rem; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; white-space: nowrap; font: italic 300 clamp(2rem, 4.6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; }
.marquee__item svg { width: .62em; height: .62em; color: var(--accent); flex: none; }

/* ==========================================================================
   CANTO I — THE VIEW (horizontal)
   ========================================================================== */
.view { position: relative; }
.view__pin { position: relative; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.view__track { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding-inline: var(--pad) 12vw; height: 100%; width: max-content; will-change: transform; }
.view__intro { flex: none; width: min(36vw, 560px); display: grid; gap: 1.6rem; align-content: center; }
.view__intro .eyebrow { margin-bottom: 0; }
.view__hint { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); }
.view__hint svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.5; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.vcard { flex: none; display: grid; gap: 1rem; width: min-content; }
.vcard__img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.vcard__img img { width: 120%; max-width: none; height: 100%; object-fit: cover; margin-left: -10%; will-change: transform; }
.vcard--wide .vcard__img { width: clamp(300px, 50vw, 900px); aspect-ratio: 16 / 10.5; }
.vcard--mid .vcard__img { width: clamp(280px, 42vw, 760px); aspect-ratio: 4 / 3; }
.vcard--tall .vcard__img { width: clamp(240px, 27vw, 480px); aspect-ratio: 3 / 4.1; border-radius: 999px 999px var(--radius) var(--radius); }
.vcard figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .2rem; max-width: 42ch; }
.vcard__time { grid-row: span 2; font: 500 .74rem/1.6 var(--mono); color: var(--accent); letter-spacing: .1em; }
.vcard figcaption strong { font: 400 1.5rem/1.1 var(--serif); letter-spacing: -.01em; }
.vcard figcaption span:last-child { color: var(--muted); font-size: .92rem; }
.view__end { flex: none; width: 18vw; display: grid; place-items: center; }
.view__end svg { width: 9vw; height: 9vw; color: var(--accent); animation: spin 30s linear infinite; }
.view__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.4rem, 4vh, 2.4rem); height: 1px; background: var(--line); }
.view__progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   CANTO II — THE HOUSE
   ========================================================================== */
.contour { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: clamp(50px, 8vw, 120px); color: var(--accent); }
.house__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.house__copy { position: sticky; top: 14vh; display: grid; gap: 1.8rem; justify-items: start; }
.house__copy .eyebrow { margin-bottom: 0; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.6rem; width: 100%; max-width: 560px; }
.features li { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.features svg { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.house__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2.6rem); padding-top: 4vh; }
.hcard:nth-child(even) { margin-top: 16vh; }
.hcard { display: grid; gap: .8rem; cursor: pointer; }
.hcard__img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.hcard:hover .hcard__img img { transform: scale(1.04); }
.hcard--a .hcard__img { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); }
.hcard--b .hcard__img { aspect-ratio: 4 / 5; }
.hcard--c .hcard__img { aspect-ratio: 1; border-radius: 50%; }
.hcard--d .hcard__img { aspect-ratio: 4 / 3; }
.hcard--e .hcard__img { aspect-ratio: 4 / 5; }
.hcard--f .hcard__img { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); }
.hcard figcaption { color: var(--muted); }

/* ==========================================================================
   CANTO III — ROOMS (strings)
   ========================================================================== */
.rooms__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.rooms__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.rooms__head .body { justify-self: end; }
.strings { position: relative; border-top: 1px solid var(--line); }
.string { position: relative; }
.string__row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr);
  align-items: baseline; gap: 1.5rem;
  width: 100%; padding: clamp(1.4rem, 2.6vw, 2.6rem) 0; text-align: left;
}
.string__num { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; color: var(--accent); }
.string__name {
  font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1; letter-spacing: -.03em;
  font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: font-weight .6s var(--ease), transform .7s var(--ease), color .5s;
}
.string__gloss { font: italic 300 clamp(1rem, 1.3vw, 1.3rem)/1.3 var(--serif); color: var(--muted); }
.string__desc { font-size: .92rem; color: var(--muted); }
.string__thumb { display: none; }
.string__line { position: absolute; left: 0; bottom: -20px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.string__line path { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .5s; }
.string:hover .string__name, .string.is-active .string__name { font-weight: 480; transform: translateX(1.2rem); color: var(--accent); }
.string:hover .string__line path { stroke: var(--accent); }
.strings__preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(200px, 19vw, 320px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  opacity: 0; visibility: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.45);
}
.strings__frame { position: absolute; inset: 0; }
.strings__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.strings__frame img.is-on { opacity: 1; transform: scale(1); }
.rooms__foot { display: flex; justify-content: flex-end; margin-top: clamp(2rem, 4vw, 3.5rem); }


/* ==========================================================================
   CANTO IV — OUTSIDE (bento)
   ========================================================================== */
.outside__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 5vw, 5rem); }
.outside__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.outside__head .body { justify-self: end; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 17vw, 300px); gap: clamp(.7rem, 1.4vw, 1.4rem); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--soft); isolation: isolate; }
.tile__img { position: absolute; inset: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.02); }
.tile figcaption {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .55rem .9rem .55rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.82); color: #12202a;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .9rem; font-weight: 500;
}
.tile__n { font: 500 .66rem/1 var(--mono); letter-spacing: .08em; padding: .35rem .45rem; border-radius: 99px; background: var(--accent); color: #fff; }
.tile--pool { grid-column: span 7; grid-row: span 2; cursor: pointer; }
.tile--hammock { grid-column: span 5; cursor: pointer; }
.tile--bbq { grid-column: span 5; cursor: pointer; }
.tile--pitch { grid-column: span 4; background: var(--accent); color: #fff; display: grid; align-content: space-between; padding: 1.3rem; }
.tile--garden { grid-column: span 4; cursor: pointer; }
.tile--park { grid-column: span 4; display: grid; align-content: space-between; padding: 1.3rem; }
.tile__txt { display: grid; gap: .3rem; justify-items: start; }
.tile__txt strong { font: 400 clamp(1.3rem, 1.8vw, 1.9rem)/1.1 var(--serif); }
.tile__txt span:last-child { opacity: .75; font-size: .9rem; }
.tile--pitch .tile__n { background: #fff; color: var(--accent); }
.pitch { width: 46%; justify-self: end; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .9; }
.pitch__ball { fill: currentColor; stroke: none; transition: transform 1.2s cubic-bezier(.3,1.6,.5,1); }
.tile--pitch:hover .pitch__ball, .tile--pitch:focus .pitch__ball { transform: translate(128px, -10px); }
.tile__big { font: 200 clamp(5rem, 9vw, 9rem)/.8 var(--serif); color: var(--accent); justify-self: end; font-variation-settings: "SOFT" 100, "WONK" 1; }
.ripples { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ripple { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); animation: ripple 1.6s var(--ease) forwards; }
@keyframes ripple { from { transform: scale(.1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   INTERLUDE — GOLDEN HOUR
   ========================================================================== */
.golden { position: relative; }
.golden__pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; align-content: center; gap: .4rem; text-align: center; padding-inline: var(--pad); }
.golden__pin::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 60vmin; height: 60vmin; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(243,138,74,.55), rgba(232,121,140,.18) 55%, transparent 75%);
  filter: blur(10px);
}
.golden__sun { --sun: 6vmax; position: absolute; inset: 0; clip-path: circle(var(--sun) at 50% 50%); will-change: clip-path; }
.golden__sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; transform: scale(1.25); }
.golden__sun::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,33,69,.25), rgba(42,33,69,.05) 40%, rgba(17,14,24,.55)); }
.golden__eyebrow { position: absolute; top: clamp(6rem, 14vh, 8rem); left: 0; right: 0; color: var(--accent); z-index: 2; }
.golden__l1, .golden__l2 {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 300; letter-spacing: -.03em; line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: #FFF4EA; text-shadow: 0 2px 40px rgba(17,14,24,.35);
}
.golden__l1 { font-size: clamp(2.4rem, 6.6vw, 7.4rem); max-width: 14ch; }
.golden__l2 { font-size: clamp(1.4rem, 3vw, 3.2rem); font-style: italic; opacity: .92; margin-top: 1rem; }

/* ==========================================================================
   CANTO V — FIRESIDE + VOICES
   ========================================================================== */
.fire { overflow: hidden; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fire > .wrap { position: relative; z-index: 1; }
.fire__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.fire__media { position: relative; cursor: pointer; }
.fire__img { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); }
.fire__img img { width: 100%; height: 115%; object-fit: cover; }
.fire__glow { position: absolute; inset: 10% -12% -6%; z-index: 0; background: radial-gradient(closest-side, rgba(240,119,62,.55), rgba(243,182,91,.15) 60%, transparent); filter: blur(30px); animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker { 0%,100% { opacity: .8; transform: scale(1); } 30% { opacity: 1; transform: scale(1.04); } 55% { opacity: .7; transform: scale(.98); } 75% { opacity: .95; transform: scale(1.02); } }
.fire__copy { display: grid; gap: 1.8rem; }
.fire__copy .eyebrow { margin-bottom: 0; }
.fire__copy .h2 { font-size: clamp(3rem, 8vw, 9rem); }

.voices { position: relative; z-index: 1; margin-top: clamp(6rem, 12vw, 12rem); }
.voices__title { margin-bottom: 2.5rem; }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.score { display: grid; gap: .5rem; padding: 1.8rem 1.5rem 1.8rem 0; border-right: 1px solid var(--line); }
.score + .score { padding-left: clamp(1rem, 2vw, 2rem); }
.score:last-child { border-right: 0; }
.score__num { font: 200 clamp(3.2rem, 7vw, 7.5rem)/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100; }
.score__num small { font-size: .32em; color: var(--accent); letter-spacing: 0; margin-left: .15em; }
.score__src { font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.score__meta { color: var(--muted); font-size: .9rem; }
.quotes { position: relative; display: grid; margin-top: clamp(3rem, 6vw, 6rem); min-height: 14rem; }
.quote { grid-area: 1 / 1; display: grid; gap: 1.4rem; align-content: start; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote { font: italic 300 clamp(1.8rem, 4vw, 4.2rem)/1.1 var(--serif); letter-spacing: -.02em; max-width: 26ch; font-variation-settings: "SOFT" 100, "WONK" 1; text-wrap: balance; }
.quote figcaption { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.quotes__nav { grid-area: 2 / 1; display: flex; gap: .6rem; margin-top: 2.5rem; }
.quotes__nav button { width: 4.5rem; padding: .8rem 0; }
.quotes__nav i { display: block; height: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.quotes__nav i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.quotes__nav button[aria-selected="true"] i::after { animation: fill 6.5s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

/* ==========================================================================
   CANTO VI — AROUND
   ========================================================================== */
.around__head { max-width: 1100px; margin-bottom: clamp(3rem, 6vw, 6rem); }
.around__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.places { border-top: 1px solid var(--line-strong); }
.place { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.place:hover { padding-left: .8rem; }
.place__km { font: 500 .74rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.place__name { font: 380 clamp(1.35rem, 2vw, 2rem)/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: .45rem; font-variation-settings: "SOFT" 100; }
.place p { color: var(--muted); font-size: .95rem; max-width: 46ch; }
.map { position: sticky; top: 14vh; height: min(72vh, 720px); border-radius: calc(var(--radius) * 1.4); overflow: hidden; background: var(--soft); }
.map iframe { position: absolute; inset: -40px 0 0 0; width: 100%; height: calc(100% + 40px); border: 0; pointer-events: none; filter: grayscale(1) sepia(.18) contrast(1.06) brightness(1.04); }
.map__tint { position: absolute; inset: 0; background: var(--accent); mix-blend-mode: color; opacity: .35; pointer-events: none; }
.map__pin { position: absolute; left: 50%; top: calc(50% + 20px); width: 54px; height: 54px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.map__pin svg { position: relative; z-index: 1; width: 100%; height: 100%; color: var(--accent); background: var(--bg); border-radius: 50%; padding: 4px; animation: spin 20s linear infinite; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.map__pin span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.map__card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: color-mix(in oklab, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .95rem; }
.map__card .label { color: var(--accent); }
.map__card .link { justify-self: start; margin-top: .3rem; }

/* ==========================================================================
   FINALE — BOOK
   ========================================================================== */
.book { overflow: hidden; color-scheme: dark; }
.book__sky { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(60% 50% at 85% 110%, rgba(240,119,62,.55), transparent 70%),
    radial-gradient(50% 45% at 10% 100%, rgba(232,121,140,.45), transparent 70%),
    radial-gradient(70% 60% at 50% -10%, rgba(17,14,24,.7), transparent 70%);
  animation: breathe 12s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.08) translateY(-2%); } }
.book .wrap { position: relative; }
.book__title { font: 300 clamp(3.6rem, 12.5vw, 15rem)/.88 var(--serif); letter-spacing: -.05em; font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: clamp(3rem, 6vw, 6rem); }
.book__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.book__intro { display: grid; gap: 2.2rem; }
.contact { border-top: 1px solid var(--line-strong); }
.contact a { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font: 360 clamp(1.1rem, 1.6vw, 1.5rem)/1.2 var(--serif); transition: padding .6s var(--ease), color .4s; word-break: break-word; }
.contact a:hover { padding-left: .8rem; color: var(--accent); }
.contact .label { color: var(--accent); font-size: .68rem; }
.platforms { display: flex; flex-wrap: wrap; gap: .7rem; }

.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; padding: clamp(1.4rem, 3vw, 2.8rem); border-radius: calc(var(--radius) * 1.3); background: color-mix(in oklab, var(--fg) 6%, transparent); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: 1.6rem 0 .7rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--fg); font: 400 1.05rem/1.4 var(--sans); outline: none; resize: vertical;
  transition: border-color .4s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field label { position: absolute; left: 0; top: 1.6rem; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .4s; }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field input[type="date"] + label { transform: translateY(-1.35rem) scale(.72); color: var(--accent); }
.field input[type="date"] { min-height: 3.4rem; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.85); opacity: .7; cursor: pointer; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line-strong); }
.stepper__label { color: var(--muted); }
.stepper__ctrl { display: flex; align-items: center; gap: 1rem; }
.stepper__ctrl button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 1.2rem; transition: background-color .3s, color .3s; }
.stepper__ctrl button:hover { background: var(--fg); color: var(--bg); }
.stepper output { min-width: 2.5ch; text-align: center; font: 300 2rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.enquiry .btn { grid-column: 1 / -1; justify-self: start; margin-top: .6rem; }
.enquiry__note { grid-column: 1 / -1; color: var(--muted); }
.enquiry__error { grid-column: 1 / -1; color: var(--accent); font-weight: 500; }

.rules { margin-top: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.rules summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; list-style: none; font: 360 clamp(1.3rem, 2vw, 2rem)/1.1 var(--serif); cursor: pointer; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary i { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.rules summary i::before, .rules summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.rules summary i::after { transform: rotate(90deg); }
.rules[open] summary i::after { transform: rotate(0deg); }
.rules__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2rem; padding-bottom: 1.5rem; }
.rules__grid div { padding: 1rem 0; border-top: 1px solid var(--line); }
.rules__grid dt { font: 500 .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.rules__note { padding-bottom: 1.6rem; color: var(--muted); font-size: .88rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { position: relative; padding: clamp(4rem, 8vw, 7rem) 0 2rem; overflow: hidden; }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.foot__line { font: italic 300 clamp(1.2rem, 2vw, 2rem)/1.2 var(--serif); opacity: .8; }
.foot__up { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, color .4s; }
.foot__up:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.foot__up svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.foot__word { display: grid; margin: clamp(2rem, 5vw, 5rem) 0; font-family: var(--serif); line-height: .78; letter-spacing: -.05em; font-variation-settings: "SOFT" 100, "WONK" 1; user-select: none; }
.foot__casa { font-size: clamp(1.6rem, 4.6vw, 5.4rem); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--accent); margin-left: .4vw; }
.foot__trov { font-size: clamp(5rem, 21.5vw, 26rem); font-weight: 300; white-space: nowrap; }
.foot__trov .ch { display: inline-block; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 2rem; padding-block: 2.4rem; border-top: 1px solid var(--line); font-size: .95rem; }
.foot__cols .label { color: var(--accent); margin-bottom: .8rem; }
.foot__cols a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot__cols a:hover { border-color: currentColor; }
.foot__rose svg { width: 88px; height: 88px; color: var(--accent); animation: spin 40s linear infinite; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font: 500 .68rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   GALLERY (dialog)
   ========================================================================== */
.gallery {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #110E18; color: #F2EBDD; overflow: hidden;
  --bg: #110E18; --fg: #F2EBDD; --accent: #F3B65B;
}
.gallery::backdrop { background: rgba(17,14,24,.6); backdrop-filter: blur(6px); }
.gallery[open] { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); animation: galIn .7s var(--ease); }
@keyframes galIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.gallery__bar { display: flex; align-items: center; gap: 1.5rem; padding: 1rem var(--pad); border-bottom: 1px solid rgba(242,235,221,.12); }
.gallery__title { display: flex; align-items: center; gap: .7rem; font: 360 1.4rem/1 var(--serif); white-space: nowrap; }
.gallery__title svg { width: 28px; height: 28px; color: var(--accent); }
.gallery__filters { display: flex; gap: .4rem; overflow-x: auto; flex: 1; scrollbar-width: none; }
.gallery__filters button { flex: none; padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(242,235,221,.18); font-size: .85rem; transition: background-color .3s, color .3s; }
.gallery__filters button[aria-selected="true"], .gallery__filters button:hover { background: #F2EBDD; color: #110E18; }
.gallery__close { position: relative; width: 3rem; height: 3rem; flex: none; border-radius: 50%; border: 1px solid rgba(242,235,221,.25); }
.gallery__close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: currentColor; transform: rotate(45deg); }
.gallery__close span + span { transform: rotate(-45deg); }
.gallery__grid { overflow-y: auto; overflow-x: hidden; min-height: 0; padding: 1.2rem var(--pad) 4rem; overscroll-behavior: contain; }
.gallery__cols { columns: 4 260px; column-gap: 1rem; }
.gallery__grid button { display: block; width: 100%; margin-bottom: 1rem; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; background: #1D1828; animation: tileIn .8s var(--ease) both; }
.gallery__grid img { width: 100%; height: auto; transition: transform 1s var(--ease), opacity .6s; }
.gallery__grid button:hover img { transform: scale(1.05); }
.gallery__grid button span { position: absolute; left: .7rem; bottom: .7rem; padding: .35rem .6rem; border-radius: 99px; background: rgba(17,14,24,.7); font: 500 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .4s; }
.gallery__grid button:hover span { opacity: 1; }
@keyframes tileIn { from { opacity: 0; transform: translateY(30px); } }
.viewer { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 5rem var(--pad) 2rem; background: rgba(17,14,24,.97); }
.viewer[hidden] { display: none; }
.viewer__fig { display: grid; justify-items: center; gap: 1rem; height: 100%; min-height: 0; }
.viewer__fig img { max-width: 100%; max-height: calc(100dvh - 10rem); object-fit: contain; border-radius: 12px; animation: tileIn .5s var(--ease); }
.viewer__btn { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid rgba(242,235,221,.25); font-size: 1.2rem; transition: background-color .3s, color .3s; }
.viewer__btn:hover { background: #F2EBDD; color: #110E18; }
.viewer__back { position: absolute; top: 1.4rem; left: var(--pad); padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid rgba(242,235,221,.25); font-size: .85rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav .burger { display: block; }
}
@media (max-width: 900px) {
  :root { --radius: 16px; }
  .nav__cta { display: none; }
  .brand__word { font-size: 1.05rem; }
  .hero__media { --it: 19vh; --ix: 9vw; --r: 41vw; }
  .hero__title { bottom: max(22vh, 13.5rem); }
  .hero__l1 { transform: translateX(-1.2em); }
  .hero__meta { top: 5.6rem; }
  .badge { top: 5.2rem; right: var(--pad); width: 84px; }
  .hero__meta { max-width: calc(100% - 84px - var(--pad) * 3); }
  .hero__bottom { grid-template-columns: 1fr; gap: 1rem; }
  .hero__scroll { display: none; }
  .hero__bottom .btn { justify-self: start; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .view__pin { height: auto; display: block; padding-block: 6rem 4rem; }
  .view__track { width: auto; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-inline: var(--pad); padding-bottom: 1rem; scrollbar-width: none; }
  .view__intro { scroll-snap-align: start; }
  .view__track::-webkit-scrollbar { display: none; }
  .view__intro { width: 82vw; }
  .vcard { scroll-snap-align: start; }
  .vcard--wide .vcard__img, .vcard--mid .vcard__img { width: 82vw; }
  .vcard--tall .vcard__img { width: 64vw; }
  .view__progress, .view__end { display: none; }
  .house__grid { grid-template-columns: 1fr; }
  .house__copy { position: static; }
  .features { grid-template-columns: 1fr; }
  .hcard:nth-child(even) { margin-top: 8vh; }
  .rooms__head, .outside__head { grid-template-columns: 1fr; }
  .rooms__head .body, .outside__head .body { justify-self: start; }
  .string__row { grid-template-columns: 2.4rem 1fr 4.6rem; grid-template-areas: "num name thumb" "num gloss thumb" "num desc thumb"; gap: .25rem 1rem; align-items: center; }
  .string__num { grid-area: num; align-self: start; padding-top: .6rem; }
  .string__name { grid-area: name; }
  .string__gloss { grid-area: gloss; }
  .string__desc { grid-area: desc; }
  .string__thumb { display: block; grid-area: thumb; width: 4.6rem; height: 5.8rem; object-fit: cover; border-radius: 999px 999px 10px 10px; }
  .strings__preview { display: none; }
  .bento { grid-auto-rows: 52vw; }
  .tile--pool { grid-column: span 12; grid-row: span 1; }
  .tile--hammock, .tile--bbq, .tile--garden { grid-column: span 12; }
  .tile--pitch, .tile--park { grid-column: span 6; }
  .fire__grid { grid-template-columns: 1fr; }
  .fire__media { width: 78%; }
  .scores { grid-template-columns: 1fr; }
  .score { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .around__grid { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; height: 70vh; }
  .book__grid { grid-template-columns: 1fr; }
  .rules__grid { grid-template-columns: 1fr 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__rose { display: none; }
  .dial { bottom: .9rem; }
}
@media (max-width: 560px) {
  .lang button { width: 2.2rem; }
  .lang__pill { width: 2.2rem; }
  .lang[data-active="en"] .lang__pill { transform: translateX(2.2rem); }
  .brand__word em { display: none; }
  .place { grid-template-columns: 1fr; gap: .4rem; }
  .contact a { grid-template-columns: 1fr; gap: .3rem; }
  .enquiry { grid-template-columns: 1fr; }
  .tile--pitch, .tile--park { grid-column: span 12; }
  .rules__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr; }
  .dial__label { display: none; }
  .badge { display: none; }
}

/* Reduced motion: keep the identity, drop the choreography */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__media { --it: 0vh; --ix: 0vw; --r: 0vw; }
  .hero__img { transform: none; }
}

/* ==========================================================================
   HOUSE INFO — every practical detail, in a calm high-contrast reading panel
   ========================================================================== */
.nav__info {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.05rem 0 .85rem; border-radius: 999px;
  border: 1px solid var(--line-strong); font: 500 .88rem/1 var(--sans);
  transition: background-color .4s, color .4s, border-color .4s;
}
.nav__info svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.nav__info:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.menu nav button { display: flex; align-items: baseline; gap: 1rem; width: 100%; padding: .55rem 0; border-bottom: 1px solid var(--line); font: 300 clamp(2.2rem, 9vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; text-align: left; }
.menu nav button small { font: 500 .72rem/1 var(--mono); color: var(--accent); width: 2rem; }
.foot__link { font: inherit; border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot__link:hover { border-color: currentColor; }
.book__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.book__more p { color: var(--muted); }
.book__more .btn svg:not(.btn__arrow) { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.info {
  --i-ink: #17131F;
  --i-paper: #F8F3EA;
  --i-card: #FFFDF9;
  --i-soft: #EFE6D6;
  --i-accent: #A3461F;
  --i-teal: #146469;
  --i-line: rgba(23, 19, 31, .13);
  --i-muted: #4A4352;
  --i-scale: 1;
  --accent: #A3461F;
  position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto;
  width: min(780px, 100vw); max-width: none; height: 100dvh; max-height: none;
  padding: 0; border: 0; overflow: hidden;
  background: var(--i-paper); color: var(--i-ink);
  font-size: calc(1rem * var(--i-scale)); line-height: 1.6;
  box-shadow: -40px 0 90px rgba(17, 14, 24, .35);
}
.info[open] { display: flex; flex-direction: column; animation: infoIn .65s var(--ease); }
.info::backdrop { background: rgba(17, 14, 24, .55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
@keyframes infoIn { from { transform: translateX(100%); } }

.info__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1.1rem, 3vw, 2rem); border-bottom: 1px solid var(--i-line); }
.info__heading { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.info__rose { width: 46px; height: 46px; flex: none; color: var(--i-accent); }
.info__kicker { font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--i-muted); }
.info__title { font: 400 clamp(1.6rem, 3.4vw, 2.2rem)/1.05 var(--serif); letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.info__tools { display: flex; align-items: center; gap: .6rem; flex: none; }
.info__size { display: flex; border: 1px solid var(--i-line); border-radius: 999px; padding: .2rem; }
.info__size button { width: 2.75rem; height: 2.5rem; border-radius: 999px; font: 600 1rem/1 var(--sans); color: var(--i-ink); transition: background-color .3s, opacity .3s; }
.info__size button + button { font-size: 1.2rem; }
.info__size button:hover { background: var(--i-soft); }
.info__size button:disabled { opacity: .35; cursor: default; }
.info__size sup { font-size: .6em; }
.info__close { position: relative; width: 3rem; height: 3rem; border-radius: 50%; background: var(--i-ink); color: var(--i-paper); flex: none; transition: transform .5s var(--ease); }
.info__close:hover { transform: rotate(90deg); }
.info__close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; transform: rotate(45deg); }
.info__close span + span { transform: rotate(-45deg); }

.info__tabs { display: flex; gap: .45rem; padding: .8rem clamp(1.1rem, 3vw, 2rem); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--i-line); background: var(--i-paper); }
.info__tabs::-webkit-scrollbar { display: none; }
.info__tabs button { flex: none; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--i-line); font: 500 .95rem/1 var(--sans); color: var(--i-ink); transition: background-color .3s, color .3s, border-color .3s; }
.info__tabs button:hover { border-color: var(--i-ink); }
.info__tabs button[aria-current="true"] { background: var(--i-ink); color: var(--i-paper); border-color: var(--i-ink); }

.info__body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.1rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2rem) 3rem; }
.info__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.info__facts li { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--i-card); border: 1px solid var(--i-line); }
.info__facts strong { font: 300 2.4em/1 var(--serif); letter-spacing: -.03em; color: var(--i-accent); font-variation-settings: "SOFT" 100; }
.info__facts span { font-size: .92em; color: var(--i-muted); }

.info__sec { padding-top: 2.4em; }
.info__sec h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1em; font: 400 1.55em/1.15 var(--serif); letter-spacing: -.015em; font-variation-settings: "SOFT" 100; }
.info__sec h3::before { content: ""; width: .5rem; height: 1.1em; border-radius: 99px; background: var(--i-accent); flex: none; }
.info__sec h4 { margin-bottom: .6em; font: 600 .8em/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--i-teal); }

.info__dl > div { display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: .4rem 1.4rem; padding: .85em 0; border-bottom: 1px solid var(--i-line); }
.info__dl > div:first-child { border-top: 1px solid var(--i-line); }
.info__dl dt { font-weight: 600; color: var(--i-muted); }
.info__dl dd { font-size: 1.04em; }
.info__dl--times > div:nth-child(-n+2) dd { font-weight: 600; font-size: 1.12em; }

.info__card { padding: 1.2em 1.3em; border-radius: 18px; background: var(--i-card); border: 1px solid var(--i-line); }
.info__floors, .info__cols { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.info__rooms li { display: grid; gap: .1rem; padding: .7em 0; border-bottom: 1px solid var(--i-line); }
.info__rooms li:last-child { border-bottom: 0; padding-bottom: 0; }
.info__rooms strong { font-weight: 600; }
.info__rooms span { color: var(--i-muted); font-size: .95em; }
.info__checks li { display: flex; align-items: flex-start; gap: .65rem; padding: .45em 0; }
.info__checks svg { width: 1.3em; height: 1.3em; flex: none; margin-top: .12em; padding: .2em; border-radius: 50%; background: var(--i-teal); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.info__note { margin-top: 1em; padding: .9em 1.1em; border-radius: 14px; background: var(--i-soft); font-size: .95em; }

.info__address { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.04em; }
.info__address svg { width: 1.6em; height: 1.6em; flex: none; fill: none; stroke: var(--i-accent); stroke-width: 1.6; }
.info__gps { margin-top: .4em; font: 500 .85em/1.4 var(--mono); color: var(--i-muted); }
.info__dist { margin: 1em 0 1.4em; }
.info__dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .8em 0; border-bottom: 1px solid var(--i-line); }
.info__dist b { font: 500 .95em/1.5 var(--mono); color: var(--i-teal); white-space: nowrap; }

.info__contact { display: grid; gap: .6rem; }
.info__contact a { display: flex; align-items: center; gap: 1rem; padding: 1em 1.2em; border-radius: 16px; background: var(--i-card); border: 1px solid var(--i-line); font-size: 1.08em; word-break: break-word; transition: border-color .3s, transform .4s var(--ease); }
.info__contact a:hover { border-color: var(--i-ink); transform: translateX(4px); }
.info__contact svg { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: var(--i-accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.info__contact span { display: grid; }
.info__contact small { font: 500 .7em/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--i-muted); }
.info__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.info .btn { font-size: .95em; }
.btn--dark { background: var(--i-ink, #17131F); color: var(--i-paper, #F8F3EA); }
.btn--dark:hover { background: var(--i-accent, #A3461F); color: #fff; }
.btn--outline { border: 1px solid var(--i-line, rgba(0,0,0,.15)); color: var(--i-ink, #17131F); }
.btn--outline:hover { border-color: var(--i-ink, #17131F); }
.info__source { margin-top: 2.4em; font-size: .88em; color: var(--i-muted); }
.info :focus-visible { outline: 3px solid var(--i-accent); outline-offset: 3px; }

@media (max-width: 700px) {
  .info { width: 100vw; box-shadow: none; animation-name: infoUp; }
  .info[open] { animation-name: infoUp; }
  .info__head { padding: .9rem 1rem; }
  .info__rose { display: none; }
  .info__size button { width: 2.6rem; }
  .info__facts { grid-template-columns: 1fr 1fr; }
  .info__floors, .info__cols { grid-template-columns: 1fr; }
  .info__dl > div { grid-template-columns: 1fr; gap: .15rem; }
  .info__dl dt { font-size: .9em; }
}
@keyframes infoUp { from { transform: translateY(100%); } }

/* ==========================================================================
   Phones & small tablets — extra polish
   ========================================================================== */
@media (max-width: 700px) {
  .gallery__bar { flex-wrap: wrap; gap: .7rem; padding: .8rem 1rem; }
  .gallery__title { flex: 1; font-size: 1.15rem; }
  .gallery__filters { order: 3; flex-basis: 100%; }
  .gallery__grid { padding: .9rem .8rem 3rem; }
  .gallery__cols { columns: 2; column-gap: .6rem; }
  .gallery__grid button { margin-bottom: .6rem; border-radius: 10px; }
  .viewer { grid-template-columns: 1fr; padding: 4.6rem .6rem 6.2rem; }
  .viewer__fig img { max-height: calc(100dvh - 12.5rem); border-radius: 8px; }
  .viewer__prev, .viewer__next { position: absolute; bottom: 1.4rem; }
  .viewer__prev { left: calc(50% - 4.4rem); }
  .viewer__next { right: calc(50% - 4.4rem); }
  .book__more { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .nav { padding-inline: 1rem; }
  .nav__tools { gap: .4rem; }
  .nav__info { width: 2.75rem; padding: 0; justify-content: center; }
  .nav__info span { display: none; }
  .lang button { height: 2.35rem; }
  .lang__pill { height: 2.35rem; }
  .hero__l1 { transform: translateX(-.9em); }
  .foot__trov { font-size: clamp(3.6rem, 21vw, 6rem); }
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-block: .75rem; text-align: center; line-height: 1.2; }
  .platforms .btn { flex: 1 1 100%; }
  .rooms__foot .btn, .book__more .btn { width: 100%; }
}

/* Phones: the sundial appears while scrolling, then steps out of the way */
@media (max-width: 900px) {
  .dial.is-on { opacity: 0; transform: translateY(12px); }
  .dial.is-on.is-moving { opacity: 1; transform: none; }
  .view__pin > .view__intro { width: auto; padding-inline: var(--pad); margin-bottom: 2.2rem; }
}
@media (max-width: 700px) {
  .info__kicker { display: none; }
  .info__title { font-size: 1.55rem; }
  .gallery__filters { min-width: 0; }
}
