@charset "utf-8";
/* ==========================================================================
   RS Design Lab, Option B: "Drawn, rendered, built"
   One idea carries the site: the house from the logo is a window into the work, and every
   render is measured like a drawing (its real tentative size, drawn as a dimension line).

   Where each rule comes from (the installed skills):
   - landing-page-design: Tailwind type scale and named text styles, spacing table, Tailwind radii,
     nested radius rule, one primary action, no hyphens in copy, word-by-word tagline section.
   - figma-designer: colour tokens in two layers (core palettes, then a semantic colour system).
   - design-taste-frontend: one section per screen, equal edges, photographs lead, hover micro-motion,
     hero enters once, no captions under pictures, real full-colour brand icons.
   - emil-design-eng, apple-design, review-animations: strong ease-out curves, press feedback at 0.97,
     UI motion under 300 ms, hover gated to real pointers, springs for the sheet, materials,
     reduced motion and reduced transparency.
   - airbnb-design-analysis: photo-first tiles with clipped corners, one shadow tier, soft pills.
   - xai-inspired-design-analysis: Geist Mono for codes and numbers, tight tracking on large type.
   - 1win-analysis: content carries the colour, the chrome stays quiet; rails for discovery.
   ========================================================================== */

/* ---------- Layer 1: core colours (raw palettes, never used directly in components) ---------- */
:root {
  --primary-00: #F3F6FB; --primary-50: #E7EDF6; --primary-100: #D0DAEC; --primary-150: #B9C8E2;
  --primary-200: #A2B5D8; --primary-300: #7591C3; --primary-350: #6382B9; --primary-400: #5172AF;
  --primary-450: #43639E; --primary-500: #34548C; --primary-600: #2C4777; --primary-700: #243B63;
  --primary-800: #1C2E4E; --primary-850: #182841; --primary-900: #132035; --primary-950: #0E1828;
  --primary-1000: #08101B;

  --accent-00: #FFFBF0; --accent-50: #FEF6DD; --accent-100: #FDEDBC; --accent-150: #FBE39A;
  --accent-200: #F9D978; --accent-300: #F5C94A; --accent-400: #F2BE2E; --accent-500: #E8AE1A;
  --accent-600: #C99514; --accent-700: #A27810; --accent-800: #7A5A0C; --accent-850: #5E450A;
  --accent-900: #433107; --accent-950: #2A1F05; --accent-1000: #140F02;

  --gray-00: #FFFFFF; --gray-50: #FAF9F7; --gray-100: #F4F2EE; --gray-150: #ECE9E3; --gray-200: #E1DDD5;
  --gray-250: #D3CEC4; --gray-300: #BEB8AD; --gray-400: #9C958A; --gray-450: #8A8378; --gray-500: #736C62;
  --gray-600: #5C564E; --gray-700: #46423C; --gray-750: #38352F; --gray-800: #2C2A26; --gray-850: #24221F;
  --gray-870: #1F1E1B; --gray-900: #181715; --gray-950: #100F0E; --gray-1000: #000000;

  --red-100: #FBE9E7; --red-500: #B3261E; --red-700: #8C1D17;
  --green-100: #E3F2E8; --green-500: #2F7D4F; --green-700: #225C3A;
  --whatsapp: #25D366; --whatsapp-ink: #128C4B; --instagram: #E4405F; --youtube: #FF0000;
}

/* ---------- Layer 2: colour system (what components bind to) ---------- */
:root {
  --surface-primary: var(--gray-00);
  --surface-primary-subtle: var(--gray-100);
  --surface-secondary: var(--gray-150);
  --surface-accent: var(--accent-300);
  --surface-accent-subtle: var(--accent-50);
  --surface-info: var(--primary-700);
  --surface-info-subtle: var(--primary-50);
  --surface-inverted: var(--gray-870);

  --text-primary: var(--gray-870);
  --text-secondary: var(--gray-600);
  --text-tertiary: var(--gray-500);
  --text-inverted: var(--gray-00);
  --text-inverted-subtle: var(--gray-250);
  --text-info: var(--primary-500);
  --text-error: var(--red-500);
  --text-success: var(--green-700);

  --border-primary: var(--gray-200);
  --border-secondary: var(--gray-150);
  --border-tertiary: var(--gray-300);
  --border-strong: var(--gray-870);
  --border-action-primary: var(--primary-500);
  --border-error: var(--red-500);

  --action-primary: var(--primary-500);
  --action-primary-hover: var(--primary-600);
  --action-primary-click: var(--primary-700);
  --action-primary-disabled: var(--primary-150);
  --action-secondary: var(--gray-870);

  --icon-default: var(--gray-870);
  --icon-subtle: var(--gray-500);

  --overlay-sm: rgb(31 30 27 / 0.24);
  --overlay-md: rgb(31 30 27 / 0.40);
  --overlay-lg: rgb(31 30 27 / 0.64);

  --shadow-float: 0 0 0 1px rgb(0 0 0 / 0.02), 0 2px 6px rgb(0 0 0 / 0.04), 0 4px 8px rgb(0 0 0 / 0.10);
  --shadow-sheet: 0 0 0 1px rgb(0 0 0 / 0.04), 0 24px 48px rgb(0 0 0 / 0.18);

  --f-sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* spacing (landing-page-design B2): nothing between these */
  --sp-0: 0; --sp-25: 2px; --sp-50: 4px; --sp-75: 8px; --sp-100: 12px; --sp-200: 16px; --sp-300: 24px;
  --sp-400: 32px; --sp-500: 40px; --sp-600: 48px; --sp-700: 64px; --sp-800: 80px; --sp-900: 96px;

  /* radius (Tailwind values only) */
  --r-2: 2px; --r-4: 4px; --r-6: 6px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-full: 9999px;

  /* motion: strong ease-out for anything entering or answering the user; drawer curve for the sheet */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 140ms;
  --t-hover: 240ms;
  --t-ui: 220ms;
  --t-layout: 500ms;

  --gutter: 32px;
  --wrap: 1280px;
  --nav-h: 64px;
  color-scheme: light;
}
@media (max-width: 1023px) { :root { --gutter: 24px; } }
@media (max-width: 767px) { :root { --gutter: 16px; --nav-h: 56px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--surface-primary); color: var(--text-primary);
  font: 400 1rem/1.5rem var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--accent-200); color: var(--gray-870); }
:focus-visible { outline: 2px solid var(--border-action-primary); outline-offset: 3px; border-radius: var(--r-4); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: var(--sp-200); top: var(--sp-200); z-index: 100; padding: var(--sp-100) var(--sp-300);
  background: var(--surface-inverted); color: var(--text-inverted); border-radius: var(--r-full);
  transform: translateY(-160%); transition: transform var(--t-ui) var(--ease-out);
}
.skip:focus { transform: none; }
.alias { position: relative; top: -96px; display: block; width: 0; height: 0; }

/* ---------- named text styles (landing-page-design B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 3.75rem; font-weight: 600; letter-spacing: -0.03em; }
.heading-2 { font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.015em; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.005em; }
.title-1 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-1 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.body-2 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-lg { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
.mono { font-family: var(--f-mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }
/* type moments (one per page part): sizes from the same Tailwind steps */
.display-8 { font-size: 6rem; line-height: 6rem; font-weight: 600; letter-spacing: -0.04em; }
.display-9 { font-size: 8rem; line-height: 8rem; font-weight: 600; letter-spacing: -0.045em; }

@media (max-width: 1023px) {
  .heading-1 { font-size: 3rem; line-height: 3rem; }
  .heading-2 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .display-8 { font-size: 4.5rem; line-height: 4.5rem; }
  .display-9 { font-size: 6rem; line-height: 6rem; }
}
@media (max-width: 767px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.025em; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: -0.02em; }
  .heading-3 { font-size: 1.5rem; line-height: 2rem; }
  .heading-4 { font-size: 1.5rem; line-height: 2rem; }
  .display-8 { font-size: 3.75rem; line-height: 3.75rem; }
  .display-9 { font-size: 3.75rem; line-height: 3.75rem; }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sp-900); }
@media (min-width: 1024px) and (min-height: 640px) {
  .sec { min-height: calc(var(--h, 1) * 100svh); }
}
@media (max-width: 1023px) { .sec { padding-block: var(--sp-800); } }
@media (max-width: 767px) { .sec { padding-block: var(--sp-700); } }
.lede { color: var(--text-secondary); max-width: 680px; }
.on-dark .lede, .on-dark { color: var(--text-inverted); }

/* ---------- buttons and links ---------- */
.btn {
  --btn-bg: var(--action-primary); --btn-fg: var(--text-inverted); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-75);
  min-height: 48px; padding: var(--sp-100) var(--sp-300); border-radius: var(--r-full);
  background: var(--btn-bg); color: var(--btn-fg); box-shadow: inset 0 0 0 1px var(--btn-bd);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn--primary { --btn-bg: var(--action-primary); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--text-primary); --btn-bd: var(--border-strong); }
.btn--light { --btn-bg: var(--surface-primary); --btn-fg: var(--text-primary); }
.btn--ink { --btn-bg: var(--surface-inverted); --btn-fg: var(--text-inverted); }
.btn--sm { min-height: 40px; padding: var(--sp-75) var(--sp-200); font-size: 0.875rem; line-height: 1.25rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { --btn-bg: var(--action-primary-disabled); --btn-fg: var(--primary-700); cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { --btn-bg: var(--action-primary-hover); transform: translateY(-1px); }
  .btn--line:hover { --btn-bg: var(--surface-inverted); --btn-fg: var(--text-inverted); transform: translateY(-1px); }
  .btn--light:hover { --btn-bg: var(--accent-300); transform: translateY(-1px); }
  .btn--ink:hover { --btn-bg: var(--gray-750); transform: translateY(-1px); }
  .btn:active { transform: scale(0.97); }
}
/* text link whose underline draws in */
.link {
  position: relative; display: inline-flex; align-items: center; gap: var(--sp-75);
  font-weight: 600; color: var(--text-primary); padding-block: var(--sp-100);
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: currentColor;
  transform: scaleX(0.28); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.link svg { width: 20px; height: 20px; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover::after { transform: scaleX(1); }
  .link:hover svg { transform: translateX(4px); }
}
.link:active { transform: scale(0.98); }
.inline-link { color: var(--text-info); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.on-dark .inline-link { color: var(--accent-200); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--surface-primary); color: var(--icon-default); box-shadow: var(--shadow-float);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--accent-300); } }

/* tick lists */
.ticks { display: grid; gap: var(--sp-100); }
.ticks li { position: relative; padding-left: var(--sp-400); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: var(--r-full);
  background: var(--accent-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpolyline points='88 136 112 160 168 104' fill='none' stroke='%231F1E1B' stroke-width='24' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- drafting: dimension lines (the signature detail) ---------- */
.dim { position: absolute; display: flex; align-items: center; gap: var(--sp-75); color: var(--text-primary); pointer-events: none; }
.dim i { position: relative; flex: 1; height: 1px; background: currentColor; transform-origin: center; }
.dim i::before, .dim i::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: currentColor; }
.dim i::before { left: 0; } .dim i::after { right: 0; }
.dim b { flex: none; font: 500 0.75rem/1rem var(--f-mono); letter-spacing: 0.04em; white-space: nowrap; }

/* ---------- navigation: floating translucent pill ---------- */
.nav { position: fixed; z-index: 50; top: var(--sp-200); left: 0; right: 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; margin-inline: auto; width: max-content; max-width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: var(--sp-300); height: var(--nav-h); padding: var(--sp-75) var(--sp-75) var(--sp-75) var(--sp-200);
  border-radius: var(--r-full); background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: var(--shadow-float);
  transition: background-color var(--t-hover) var(--ease-out);
}
.nav__brand { display: flex; align-items: center; gap: var(--sp-100); min-height: 44px; font-weight: 600; font-size: 1rem; line-height: 1.5rem; white-space: nowrap; }
.nav__brand img { height: 40px; width: auto; mix-blend-mode: multiply; }
.nav__links { display: flex; gap: var(--sp-50); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding-inline: var(--sp-100);
  border-radius: var(--r-full); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--t-hover) var(--ease-out), background-color var(--t-hover) var(--ease-out);
}
.nav__link[aria-current] { color: var(--text-primary); background: var(--surface-secondary); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--text-primary); background: var(--surface-primary-subtle); } }
.nav__toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--surface-inverted); color: var(--text-inverted);
  transition: transform var(--t-press) var(--ease-out);
}
.nav__toggle:active { transform: scale(0.94); }
.nav__bars { position: absolute; left: 13px; right: 13px; top: 50%; height: 0; }
.nav__bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 240ms var(--ease-out); }
.nav__bars i:first-child { transform: translateY(-4px); }
.nav__bars i:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] .nav__bars i:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars i:last-child { transform: rotate(-45deg); }
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__bar { width: auto; justify-content: space-between; gap: var(--sp-100); }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 767px) {
  .nav { top: var(--sp-100); }
  .nav__cta { display: none; }
  .nav__brand img { height: 36px; }
}
/* full height menu panel */
.menu {
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + var(--sp-600)) var(--gutter) var(--sp-600);
  background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4);
  opacity: 0; visibility: hidden; transition: opacity 160ms var(--ease-out), visibility 0s linear 160ms;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-ui) var(--ease-out), visibility 0s; }
.menu__links { display: grid; gap: var(--sp-50); margin-bottom: var(--sp-500); }
.menu__links a { display: flex; align-items: baseline; gap: var(--sp-200); padding-block: var(--sp-75); }
.menu__links a span.mono { color: var(--text-tertiary); }
.menu__links li, .menu__foot > * { opacity: 0; transform: translateY(24px); transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out); }
.menu.is-open .menu__links li, .menu.is-open .menu__foot > * { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(1) { transition-delay: 0ms; }
.menu.is-open .menu__links li:nth-child(2) { transition-delay: 40ms; }
.menu.is-open .menu__links li:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu__links li:nth-child(4) { transition-delay: 120ms; }
.menu.is-open .menu__links li:nth-child(5) { transition-delay: 160ms; }
.menu.is-open .menu__foot > * { transition-delay: 160ms; }
.menu__foot { display: grid; gap: var(--sp-200); }
.menu__ways { display: flex; flex-wrap: wrap; gap: var(--sp-100); }
@media (min-width: 1024px) { .menu { display: none; } }

/* ---------- hero: the house you fly into ---------- */
.hero { position: relative; height: 100svh; }
.hero__pin { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hero.is-fly { height: calc(100svh + 150svh); }
.hero.is-fly .hero__pin { position: sticky; top: 0; }
.hero__grid {
  position: relative; z-index: 3; height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--sp-300); align-items: center; padding-top: calc(var(--nav-h) + var(--sp-400)); padding-bottom: var(--sp-600);
}
.hero__copy { grid-column: 1 / span 6; max-width: 680px; }
.hero__title { margin-bottom: var(--sp-300); }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .ln > span { display: inline-block; }
.hero__lead { color: var(--text-secondary); max-width: 520px; margin-bottom: var(--sp-400); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-300); margin-bottom: var(--sp-400); }
.hero__proof { color: var(--text-secondary); display: flex; gap: var(--sp-100); align-items: center; }
.hero__proof .mono { color: var(--text-primary); }
.hero__fine { color: var(--text-tertiary); margin-top: var(--sp-75); }
.hero__stage { grid-column: 8 / span 5; position: relative; align-self: stretch; display: grid; place-items: center; }
.house { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.08; }
.house__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); }
.house__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gray-870); stroke-width: 1.5; stroke-linejoin: round; }
.house .dim { left: 0; right: 0; bottom: calc(-1 * var(--sp-500)); }
.hero.is-fly .house { visibility: hidden; }
.hero.is-fly .house .dim { visibility: visible; }

.fly { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.fly[hidden] { display: none; }
.fly__clip { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.fly__img { position: absolute; max-width: none; transform-origin: 0 0; will-change: transform; }
.fly__shade { position: absolute; inset: 0; background: rgb(14 24 40 / 0.4); opacity: 0; }
.fly__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--gray-870); stroke-width: 1.5; stroke-linejoin: round; }
.fly__word {
  position: absolute; margin: 0; color: var(--text-inverted); opacity: 0; white-space: nowrap;
  text-shadow: 0 1px 24px rgb(0 0 0 / 0.25);
}
.fly__word--tl { left: var(--gutter); top: calc(var(--nav-h) + var(--sp-600)); }
.fly__word--tr { right: var(--gutter); top: calc(var(--nav-h) + var(--sp-600)); text-align: right; }
.fly__word--bl { left: var(--gutter); bottom: var(--sp-600); }
.fly__word--br { right: var(--gutter); bottom: var(--sp-600); text-align: right; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; align-content: start; row-gap: var(--sp-400); padding-top: calc(var(--nav-h) + var(--sp-600)); }
  .hero__copy, .hero__stage { grid-column: 1; }
  .hero__stage { place-items: start; align-self: auto; }
  .house { width: min(100%, 420px); }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-content: center; }
  .hero__copy { grid-column: 1 / span 7; }
  .hero__stage { grid-column: 8 / span 5; place-items: center; }
}
@media (max-width: 767px) {
  .hero__pin { min-height: 640px; }
  .hero__grid { row-gap: var(--sp-300); padding-bottom: var(--sp-300); }
  .hero__title { margin-bottom: var(--sp-200); }
  .hero__lead { margin-bottom: var(--sp-300); }
  .hero__actions { gap: var(--sp-100) var(--sp-300); margin-bottom: var(--sp-200); }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { display: none; }
  .hero__stage { place-items: center; }
  .house { width: min(76%, 300px); }
  .house .dim { bottom: calc(-1 * var(--sp-400)); }
  .fly__word { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (max-width: 359px) { .fly__word { font-size: 1.875rem; line-height: 2.25rem; } }

/* ---------- section heads ---------- */
.head { max-width: 680px; }
.head > * + * { margin-top: var(--sp-200); }
.head p { color: var(--text-secondary); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .w > span { display: inline-block; }

/* ---------- why: a bento of reasons, one of them you can play with ---------- */
.why__head { margin-bottom: var(--sp-600); }
.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 276px 276px auto auto; gap: var(--sp-300);
}
.bx { position: relative; overflow: hidden; border-radius: var(--r-24); background: var(--surface-primary-subtle); color: var(--text-primary); }

/* try a drawer colour: the new colour is painted across the kitchen, left to right */
.bx--try { grid-column: 1 / span 8; grid-row: 1 / span 2; background: var(--gray-150); }
.try__media { position: absolute; inset: 0; }
.try__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; opacity: 0; }
.try__img.is-on { opacity: 1; z-index: 1; }
.try__img.is-in { opacity: 1; z-index: 2; clip-path: inset(0 100% 0 0); }
.try__img.is-in.go { clip-path: inset(0 0 0 0); transition: clip-path 640ms var(--ease-in-out); }
.try__tag {
  position: absolute; z-index: 3; top: var(--sp-200); right: var(--sp-200); padding: var(--sp-50) var(--sp-100);
  border-radius: var(--r-full); background: rgb(255 255 255 / 0.88); color: var(--text-primary);
}
.try__panel {
  position: absolute; z-index: 3; left: var(--sp-200); top: var(--sp-200); width: min(420px, calc(100% - 2 * var(--sp-200)));
  display: grid; gap: var(--sp-100); padding: var(--sp-300); border-radius: var(--r-16);
  background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-sheet);
}
.try__panel p { color: var(--text-secondary); }
.try__panel .try__label { margin-top: var(--sp-75); color: var(--text-tertiary); }
.try__swatches { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.try__swatches button {
  display: inline-flex; align-items: center; gap: var(--sp-75); min-height: 44px; padding: 0 var(--sp-200) 0 var(--sp-75);
  border-radius: var(--r-full); border: 1px solid var(--border-primary); background: var(--surface-primary);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  transition: border-color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out);
}
.try__swatches i { width: 28px; height: 28px; border-radius: var(--r-full); background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14); }
.try__swatches button[aria-checked="true"] { border-color: var(--border-strong); box-shadow: inset 0 0 0 1px var(--border-strong); }
.try__swatches button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .try__swatches button[aria-checked="false"]:hover { border-color: var(--gray-400); } }

/* the numbers */
.bx--stat { display: grid; grid-template-rows: auto 1fr auto; padding: var(--sp-400); }
.bx__num { position: relative; display: flex; align-items: baseline; gap: var(--sp-100); font-size: 6rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.bx__unit { letter-spacing: 0; }
.bx__cur { align-self: flex-start; font-size: 3rem; line-height: 1; font-weight: 500; margin-top: 0.4rem; }
.bx__text { grid-row: 3; position: relative; display: grid; gap: var(--sp-50); max-width: 36ch; }
.bx__text p { opacity: 0.82; }
.bx--yellow { grid-column: 1 / span 4; grid-row: 3; min-height: 264px; background: var(--accent-300); color: var(--gray-870); }
.bx--blue { grid-column: 5 / span 4; grid-row: 3; min-height: 264px; background: var(--primary-700); color: var(--text-inverted); }
.bx--ink { grid-column: 9 / span 4; grid-row: 3; min-height: 264px; background: var(--gray-870); color: var(--text-inverted); padding-bottom: var(--sp-500); }
.bx__seal { position: absolute; right: var(--sp-200); top: var(--sp-200); width: 136px; height: 136px; color: var(--gray-870); opacity: 0.1; }
.bx__seal svg { width: 100%; height: 100%; }
/* 45 days, one tick for each */
.bx__days { grid-row: 2; align-self: center; display: flex; gap: 3px; height: 24px; margin-block: var(--sp-200); }
.bx__days i { flex: 1; max-width: 6px; border-radius: 1px; background: rgb(255 255 255 / 0.18); transition: background-color 120ms var(--ease-out); }
.bx__days i.on { background: var(--accent-300); }
/* 45 days: an odometer, each wheel turning the next as it passes 9 */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; transition: opacity 300ms var(--ease-out); }
.odo__col.is-lead { opacity: 0.3; }
.odo__reel { display: flex; flex-direction: column; will-change: transform; }
.odo__reel span { display: block; height: 1em; line-height: 1; text-align: center; }
/* hidden costs: the amount runs down from one lakh, then the 0 grows back to full size */
.bx__count { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; transition: font-size 600ms var(--ease-out); }
/* a clear quote: the card ends like a torn receipt */
.bx__tear {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 12px;
  background: linear-gradient(-45deg, var(--surface-primary) 6px, transparent 0) 0 0 / 12px 12px repeat-x,
              linear-gradient(45deg, var(--surface-primary) 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}
/* before and after: drag the line (a tap moves it there; up and down swipes still scroll the page) */
.bx--ba { grid-column: 9 / span 4; grid-row: 1 / span 2; }
.ba { --pos: 50%; position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; background: var(--gray-150); }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: var(--sp-200); padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full);
  background: rgb(255 255 255 / 0.9); color: var(--text-primary); pointer-events: none; transition: opacity var(--t-ui) var(--ease-out);
}
.ba__tag--b { left: var(--sp-200); }
.ba__tag--a { right: var(--sp-200); }
.ba.is-left .ba__tag--b, .ba.is-right .ba__tag--a { opacity: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: grid; place-items: center; outline: none; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #FFFFFF; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08); }
.ba__handle > span {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--r-full); background: #FFFFFF; color: var(--text-primary); box-shadow: var(--shadow-sheet);
  transition: transform var(--t-press) var(--ease-out);
}
.ba__handle svg { width: 14px; height: 14px; }
.ba__handle:focus-visible > span { outline: 2px solid var(--border-action-primary); outline-offset: 3px; }
.ba.is-dragging .ba__handle > span { transform: scale(0.94); }
.ba__body {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: var(--sp-50); pointer-events: none;
  padding: var(--sp-700) var(--sp-300) var(--sp-300); color: var(--text-inverted);
  background: linear-gradient(to top, rgb(20 19 17 / 0.78), rgb(20 19 17 / 0));
}
.ba__body p { opacity: 0.88; }
/* the brands */
.bx--brands { grid-column: 1 / -1; grid-row: 4; display: grid; gap: var(--sp-200); padding-block: var(--sp-400) var(--sp-200); }
.bx__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-300); padding-inline: var(--sp-400); }
.bx__head p { margin-top: var(--sp-50); color: var(--text-secondary); }
.bx__head .icon-btn { flex: none; }
.bx--brands .marquee {
  border-block: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; }
  .bx--try { grid-column: 1 / -1; grid-row: auto; display: grid; background: var(--surface-primary-subtle); }
  .try__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .try__panel { position: relative; left: auto; top: auto; width: auto; margin: calc(-1 * var(--sp-200)) var(--sp-200) var(--sp-200); }
  .bx--try { grid-row: 1; }
  .bx--ba { grid-column: 1 / span 3; grid-row: 2 / span 2; min-height: 480px; }
  .bx--yellow { grid-column: 4 / span 3; grid-row: 2; min-height: 228px; }
  .bx--blue { grid-column: 4 / span 3; grid-row: 3; min-height: 228px; }
  .bx--ink { grid-column: 1 / -1; grid-row: 4; min-height: 0; }
  .bx--brands { grid-row: 5; }
  .bx__num { font-size: 4.5rem; }
  .bx__cur { font-size: 2.25rem; }
}
@media (max-width: 767px) {
  .why__head { margin-bottom: var(--sp-400); }
  .bento { grid-template-columns: minmax(0, 1fr); gap: var(--sp-200); }
  .bx--yellow, .bx--blue, .bx--ink { grid-column: 1 / -1; min-height: 0; padding: var(--sp-300); }
  .bx--ink { padding-bottom: var(--sp-500); }
  .bx__num { font-size: 3.75rem; }
  .bx__text { margin-top: var(--sp-300); }
  .bx--blue .bx__text { margin-top: 0; }
  .bx__seal { width: 96px; height: 96px; }
  .bx--try, .bx--ba, .bx--yellow, .bx--blue, .bx--ink, .bx--brands { grid-column: 1 / -1; grid-row: auto; }
  .bx--ba { min-height: 0; aspect-ratio: 3 / 4; }
  .bx--brands { padding-block: var(--sp-300) var(--sp-100); }
  .bx__head { align-items: flex-start; padding-inline: var(--sp-300); }
  .try__panel { padding: var(--sp-200) var(--sp-200) var(--sp-300); margin-inline: var(--sp-100); }
  .try__swatches button { padding-right: var(--sp-100); }
}

/* drum: numbers roll into place */
.drum { display: inline-flex; font-family: var(--f-sans); font-variant-numeric: tabular-nums; line-height: 1; }
.drum__col { display: inline-block; height: 1em; overflow: hidden; }
.drum__reel { display: flex; flex-direction: column; transition: transform 1400ms var(--ease-out), filter 900ms var(--ease-out); }
.drum__reel span { display: block; height: 1em; line-height: 1; text-align: center; }
.drum__reel.is-blur { filter: blur(2.5px); }
.pk__price .drum__reel { transition-duration: 2400ms, 1200ms; }   /* the package prices roll a little slower */
.drum__sep { display: inline-block; }

/* marquee of partner logos */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--border-primary); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee ul { display: flex; align-items: center; }
.marquee li { flex: none; width: 176px; height: 88px; display: grid; place-items: center; padding: var(--sp-200) var(--sp-300); }
.marquee img { max-height: 40px; width: auto; max-width: 128px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-toggle { width: 44px; height: 44px; }

/* ---------- evening: one room from daylight to sunset to night, then the lights come on ---------- */
.eve { position: relative; height: 320svh; background: var(--gray-950); color: var(--text-inverted); }
.eve__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.eve__scene { position: absolute; inset: 0; isolation: isolate; transform-origin: 30% 45%; will-change: transform; }
.eve__l { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.eve__glow { mix-blend-mode: screen; opacity: 0; transition: opacity 360ms var(--ease-out); }
.eve__glow.on { opacity: 1; }
.eve__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgb(8 10 18 / 0.78) 0%, rgb(8 10 18 / 0.42) 30%, rgb(8 10 18 / 0) 58%),
              linear-gradient(to bottom, rgb(8 10 18 / 0.32), rgb(8 10 18 / 0) 24%);
}
.eve__clock {
  position: absolute; top: calc(var(--nav-h) + var(--sp-300)); left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: inline-flex; align-items: center; gap: var(--sp-75); padding: var(--sp-50) var(--sp-100) var(--sp-50) var(--sp-75);
  border-radius: var(--r-full); background: rgb(8 10 18 / 0.42); color: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.eve__dot { width: 10px; height: 10px; border-radius: var(--r-full); background: var(--accent-300); box-shadow: 0 0 10px var(--accent-300); transition: background-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.eve.is-night .eve__dot { background: #DCE4FF; box-shadow: 0 0 10px rgb(220 228 255 / 0.8); }
.eve__copy { position: absolute; left: 0; right: 0; bottom: var(--sp-800); }
.eve__text { max-width: 760px; }
.js .eve:not(.is-still) .eve__copy { opacity: 0; }
.eve__text .w { color: rgb(255 255 255 / 0.24); transition: color 420ms var(--ease-out), text-shadow 420ms var(--ease-out); }
.eve__text .w.on { color: #FFF6E6; text-shadow: 0 0 22px rgb(255 190 110 / 0.55), 0 0 2px rgb(255 214 160 / 0.5); }
.eve__sign { margin-top: var(--sp-300); display: flex; align-items: center; gap: var(--sp-200); color: rgb(255 255 255 / 0.8); opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.eve__sign::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.eve__sign.on { opacity: 1; transform: none; }
html:not(.js) .eve { height: auto; }
html:not(.js) .eve__day, html:not(.js) .eve__sunset { display: none; }
html:not(.js) .eve__glow { opacity: 1; }
html:not(.js) .eve__text .w { color: #FFF6E6; }
html:not(.js) .eve__sign { opacity: 1; transform: none; }
html:not(.js) .eve__clock { display: none; }
.eve.is-still { height: auto; }
.eve.is-still .eve__clock { display: none; }
@media (max-width: 767px) {
  .eve__l { object-position: 4% 50%; }
  .eve__scene { transform-origin: 10% 50%; }
  .eve__copy { bottom: var(--sp-600); }
  .eve__clock { top: calc(var(--nav-h) + var(--sp-200)); }
}

/* ---------- steps: cards that stack ---------- */
.steps { background: var(--surface-primary-subtle); }
.steps__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); align-items: start; }
.steps__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + var(--sp-600)); }
.steps__index { margin-block: var(--sp-500); display: grid; gap: var(--sp-50); counter-reset: none; }
.steps__index li { display: flex; gap: var(--sp-200); align-items: center; padding: var(--sp-75) 0; color: var(--text-tertiary); transition: color var(--t-hover) var(--ease-out); }
.steps__index li .mono { width: 24px; }
.steps__index li::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.4; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.steps__index li.on { color: var(--text-primary); }
.steps__index li.on::after { transform: scaleX(1); }
.steps__cta { display: grid; justify-items: start; gap: var(--sp-100); }
.steps__cta p { color: var(--text-secondary); }
.steps__cards { grid-column: 6 / span 7; display: grid; gap: var(--sp-400); padding-bottom: var(--sp-300); }
.card {
  --bg: var(--surface-primary); --fg: var(--text-primary); --sub: var(--text-secondary);
  position: sticky; top: calc(var(--nav-h) + var(--sp-600) + var(--i, 0) * 16px);
  display: grid; grid-template-rows: auto 1fr; min-height: min(520px, calc(100svh - var(--nav-h) - 160px));
  border-radius: var(--r-24); overflow: hidden; background: var(--bg); color: var(--fg);
  box-shadow: var(--shadow-float); transform-origin: 50% 0; will-change: transform;
}
.card--yellow { --bg: var(--accent-300); --sub: var(--gray-800); }
.card--blue { --bg: var(--primary-700); --fg: var(--text-inverted); --sub: var(--primary-100); }
.card--stone { --bg: var(--gray-150); }
.card--ink { --bg: var(--gray-870); --fg: var(--text-inverted); --sub: var(--gray-250); }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; margin: var(--sp-100) var(--sp-100) 0; border-radius: var(--r-12); background: var(--gray-150); }
@media (min-width: 768px) {
  .card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: none; min-height: 0; }
  .card__media { margin: var(--sp-100); align-self: start; }
  .card__body { grid-template-columns: minmax(0, 1fr); align-content: center; padding: var(--sp-400) var(--sp-400) var(--sp-400) var(--sp-200); }
  .card .ticks { grid-column: 1; grid-row: auto; }
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  position: absolute; top: var(--sp-200); left: var(--sp-200); padding: var(--sp-50) var(--sp-100);
  border-radius: var(--r-full); background: rgb(255 255 255 / 0.9); color: var(--text-primary);
}
@media (max-width: 1023px) {
  .steps__head { grid-column: 1 / -1; position: static; margin-bottom: var(--sp-500); }
  .steps__index { display: none; }
  .steps__cards { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .card { min-height: 0; top: calc(var(--nav-h) + var(--sp-300) + var(--i, 0) * 8px); }
  .card__body { grid-template-columns: 1fr; padding: var(--sp-300); }
  .card .ticks { grid-column: 1; grid-row: auto; }
}

/* ---------- design gallery: pick a room, look inside it through the house ---------- */
.rooms { background: var(--surface-info); color: var(--text-inverted); }
.rooms__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--sp-300); row-gap: var(--sp-500); align-items: start; }
.rooms__head { grid-column: 1 / span 6; }
.rooms__head p { color: var(--primary-100); }
.rooms__list { grid-column: 1 / span 6; grid-row: 2; columns: 2; column-gap: var(--sp-400); }
.rooms__list li { break-inside: avoid; }
.rm {
  position: relative; display: flex; align-items: center; gap: var(--sp-100); min-height: 48px; padding: var(--sp-75) 0;
  color: rgb(255 255 255 / 0.62); font-size: 1.125rem; line-height: 1.75rem; font-weight: 500;
  transition: color var(--t-hover) var(--ease-out);
}
.rm svg { width: 22px; height: 22px; flex: none; transition: color var(--t-hover) var(--ease-out); }
.rm::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgb(255 255 255 / 0.14); }
.rm__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent-300); transform: scaleX(0); transform-origin: left; z-index: 1; }
.rm[aria-current="true"] { color: var(--text-inverted); }
.rm[aria-current="true"] svg { color: var(--accent-300); }
.rm[aria-current="true"] .rm__bar { transform: scaleX(1); }
.rooms.is-auto .rm[aria-current="true"] .rm__bar { animation: rm-fill var(--rm-t, 2600ms) linear both; }
@keyframes rm-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .rm:hover { color: var(--text-inverted); } }
.rooms__stage { grid-column: 7 / span 6; grid-row: 1 / span 2; display: grid; justify-items: center; gap: var(--sp-300); }
.rooms__frame { position: relative; display: block; width: min(100%, 520px); aspect-ratio: 1 / 1.08; }
.rooms__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); transition: opacity 360ms var(--ease-out);
}
.rooms__img.is-on { opacity: 1; animation: develop-in 520ms var(--ease-out) both; }
.rooms__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--accent-300); stroke-width: 1.5; stroke-linejoin: round; pointer-events: none; }
.rooms__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-100) var(--sp-400); max-width: 100%; }
.rooms__go .btn { max-width: 100%; white-space: normal; text-align: center; }
.link--light { color: var(--text-inverted); }
@media (max-width: 1023px) {
  .rooms__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--sp-400); }
  .rooms__head, .rooms__list, .rooms__stage { grid-column: 1; grid-row: auto; }
  .rooms__list {
    columns: auto; display: flex; gap: var(--sp-75); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: var(--sp-25) var(--gutter) var(--sp-75);
  }
  .rooms__list::-webkit-scrollbar { display: none; }
  .rooms__list li { flex: none; scroll-snap-align: start; }
  .rm {
    min-height: 44px; padding: 0 var(--sp-200) 0 var(--sp-100); border-radius: var(--r-full); overflow: hidden;
    background: rgb(255 255 255 / 0.1); font-size: 0.875rem; line-height: 1.25rem; white-space: nowrap;
  }
  .rm::after { display: none; }
  .rm svg { width: 18px; height: 18px; }
  .rm[aria-current="true"] { background: var(--surface-primary); color: var(--text-primary); }
  .rm[aria-current="true"] svg { color: var(--text-primary); }
  .rm__bar { height: 3px; }
}

/* ---------- services: tap what your home needs ---------- */
.svc__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: end; gap: var(--sp-400); margin-bottom: var(--sp-500); }
.svc__board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 176px; gap: var(--sp-200); }
.svc__board li:first-child { grid-column: span 2; grid-row: span 2; }
.svc-tile {
  position: relative; display: block; width: 100%; height: 100%; border-radius: var(--r-16); overflow: hidden; text-align: left;
  background: var(--surface-secondary); transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out);
}
.svc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.svc-tile__tag {
  position: absolute; left: var(--sp-75); bottom: var(--sp-75); right: var(--sp-75); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-75);
  padding: var(--sp-75) var(--sp-75) var(--sp-75) var(--sp-100); border-radius: var(--r-full); background: var(--surface-primary); color: var(--text-primary);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; box-shadow: var(--shadow-float);
}
.svc-tile__tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-tile__mark { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1.5px var(--border-tertiary); transition: background-color var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out); }
.svc-tile__mark svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.6); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.svc-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--action-primary); }
.svc-tile[aria-pressed="true"] .svc-tile__mark { background: var(--action-primary); box-shadow: none; color: var(--text-inverted); }
.svc-tile[aria-pressed="true"] .svc-tile__mark svg { opacity: 1; transform: none; }
.svc-tile:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .svc-tile:hover { transform: translateY(-2px); }
  .svc-tile:hover img { transform: scale(1.03); }
}
.svc__list {
  display: flex; align-items: center; gap: var(--sp-300); padding: var(--sp-200) var(--sp-200) var(--sp-200) var(--sp-300);
  border-radius: var(--r-24); background: var(--surface-primary-subtle);
}
.svc__list-text { flex: 1; display: grid; gap: var(--sp-75); min-width: 0; }
.svc__list .btn { flex: none; }
.svc__list ul { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.svc__list ul:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-75); min-height: 32px; padding: var(--sp-50) var(--sp-50) var(--sp-50) var(--sp-100);
  border-radius: var(--r-full); background: var(--surface-primary); box-shadow: inset 0 0 0 1px var(--border-primary);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
}
.chip button { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-full); color: var(--icon-subtle); position: relative; }
.chip button::before { content: ""; position: absolute; inset: -10px; }
.chip button svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .chip button:hover { background: var(--surface-secondary); color: var(--icon-default); } }
.chip--enter { animation: chip-in 220ms var(--ease-out); }
@keyframes chip-in { from { opacity: 0; transform: scale(0.94); } }
@media (max-width: 1279px) { .svc__board { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 168px; } }
@media (max-width: 1023px) {
  .svc__top { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 767px) {
  .svc__list { flex-direction: column; align-items: stretch; padding: var(--sp-200); }
  .svc__board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 148px; gap: var(--sp-100); }
  .svc__board li:first-child { grid-row: span 1; }
  .svc__board li:last-child { grid-column: span 2; }
  .svc-tile__tag { align-items: end; border-radius: var(--r-12); }
  .svc-tile__tag span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ---------- packages ---------- */
.pk { background: var(--surface-accent-subtle); }
.pk__top { display: flex; align-items: end; justify-content: space-between; gap: var(--sp-400); margin-bottom: var(--sp-400); }
.pk__switch {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: var(--sp-50);
  border-radius: var(--r-full); background: var(--surface-primary); box-shadow: inset 0 0 0 1px var(--border-primary);
}
.pk__switch button {
  position: relative; z-index: 1; min-width: 96px; height: 48px; padding-inline: var(--sp-300); border-radius: var(--r-full);
  font-weight: 600; color: var(--text-secondary); transition: color var(--t-ui) var(--ease-out);
}
.pk__switch button[aria-selected="true"] { color: var(--text-inverted); }
.pk__thumb {
  position: absolute; z-index: 0; top: var(--sp-50); bottom: var(--sp-50); left: var(--sp-50); width: calc((100% - 2 * var(--sp-50)) / 3);
  border-radius: var(--r-full); background: var(--surface-inverted); transition: transform 240ms var(--ease-out);
}
.pk__switch.no-anim .pk__thumb { transition: none; }
.pk__panels { position: relative; }
.pk__panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); align-items: stretch; }
.pk__panel[hidden] { display: none; }
.pk__plan {
  grid-column: 1 / span 7; position: relative; display: grid; place-items: center; padding: var(--sp-400) var(--sp-400) var(--sp-600);
  border-radius: var(--r-24); background: var(--surface-primary);
}
.pk__plan button { display: block; width: 100%; border-radius: var(--r-12); cursor: zoom-in; }
.pk__plan img { width: 100%; max-height: 48svh; object-fit: contain; }
.pk__plan .dim { left: var(--sp-400); right: var(--sp-400); bottom: var(--sp-200); color: var(--text-tertiary); }
.pk__card { grid-column: 8 / span 5; display: grid; align-content: start; gap: var(--sp-200); padding: var(--sp-400); border-radius: var(--r-24); background: var(--surface-primary); box-shadow: var(--shadow-float); }
.pk__price { display: flex; align-items: baseline; gap: var(--sp-75); }
.pk__price .num { display: inline-flex; align-items: baseline; font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.03em; }
.pk__price .unit { color: var(--text-secondary); }
.pk__card .body-3 { color: var(--text-secondary); }
.pk__note { color: var(--text-tertiary); }
.pk__card h4 { margin-top: var(--sp-100); }
.pk__card .btn { margin-top: var(--sp-100); justify-self: start; }
.pk__fine { color: var(--text-tertiary); }
@media (max-width: 1023px) {
  .pk__top { display: grid; justify-items: start; gap: var(--sp-300); }
  .pk__plan, .pk__card { grid-column: 1 / -1; }
  .pk__panel { row-gap: var(--sp-300); }
}
@media (max-width: 767px) {
  .pk__switch { width: 100%; }
  .pk__switch button { min-width: 0; padding-inline: var(--sp-100); }
  .pk__plan { padding: var(--sp-200) var(--sp-200) var(--sp-500); }
  .pk__card { padding: var(--sp-300); }
  .pk__card .btn { justify-self: stretch; }
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); row-gap: var(--sp-600); align-items: center; }
.about__title { grid-column: 7 / span 6; grid-row: 1; align-self: end; }
.about__people { grid-column: 1 / span 5; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-300); }
.person { display: grid; gap: var(--sp-200); }
.person__house { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; padding-top: 18%; }
.person__house::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); background: var(--bg); }
.person__house span { position: relative; font-size: 6rem; line-height: 6rem; font-weight: 600; letter-spacing: -0.04em; color: var(--fg); }
.person--r .person__house { --bg: var(--accent-300); --fg: var(--gray-870); }
.person--s .person__house { --bg: var(--primary-500); --fg: var(--gray-00); }
.person p:last-child { color: var(--text-secondary); }
.about__story { grid-column: 7 / span 6; grid-row: 2; align-self: start; display: grid; gap: var(--sp-300); }
.about__hi { max-width: 560px; }
.about__body { display: grid; gap: var(--sp-200); color: var(--text-secondary); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-300); }
.about__stats li { position: relative; padding-top: var(--sp-200); display: grid; gap: var(--sp-75); }
.about__stats li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--border-strong); }
.about__stats li::after { content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 13px; background: var(--border-strong); }
.about__stats .big { display: flex; align-items: baseline; font-size: 3rem; line-height: 3rem; font-weight: 600; letter-spacing: -0.03em; }
.about__stats p { color: var(--text-secondary); }
.about__sign { font-weight: 600; }
@media (max-width: 1023px) {
  .about__title, .about__people, .about__story { grid-column: 1 / -1; grid-row: auto; }
  .about__people { max-width: 520px; }
  .about__grid { row-gap: var(--sp-500); }
}
@media (max-width: 767px) {
  .person__house span { font-size: 4.5rem; line-height: 4.5rem; }
  .about__stats .big { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ---------- questions ---------- */
.faq { background: var(--surface-primary-subtle); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); row-gap: var(--sp-500); align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + var(--sp-600)); }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--border-tertiary); }
.qa { border-bottom: 1px solid var(--border-tertiary); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-300); min-height: 64px; padding-block: var(--sp-200);
  cursor: pointer; list-style: none; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: var(--r-full); background: var(--surface-primary); transition: background-color var(--t-hover) var(--ease-out); }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--icon-default); transition: transform 200ms var(--ease-out); }
.qa summary .pm::after { transform: rotate(90deg); }
.qa[open] summary .pm { background: var(--accent-300); }
.qa[open] summary .pm::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover .pm { background: var(--accent-200); } }
.qa__a { padding-bottom: var(--sp-300); max-width: 620px; color: var(--text-secondary); }
.qa[open] .qa__a { animation: qa-in 240ms var(--ease-out); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 1023px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__head { position: static; }
}

/* ---------- consultation ---------- */
.ask { padding-block: 0; }
.ask__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: inherit; }
.ask__side { background: var(--surface-accent); }
.ask__side-in { height: 100%; display: grid; align-content: space-between; gap: var(--sp-500); padding: var(--sp-900) var(--sp-600) var(--sp-900) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.ask__side .head p { color: var(--gray-800); }
.ask__ways { display: grid; gap: var(--sp-100); }
.ask__ways a {
  display: flex; align-items: center; gap: var(--sp-200); min-height: 56px; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-16);
  background: rgb(255 255 255 / 0.55); font-weight: 500;
  transition: background-color var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out);
}
.ask__ways a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .ask__ways a:hover { background: var(--surface-primary); } }
.ask__ways svg { width: 24px; height: 24px; flex: none; }
.ask__ways .wa { color: var(--whatsapp-ink); }
.ask__ways small { display: block; color: var(--gray-700); font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; }
.ask__photo { position: relative; width: min(100%, 280px); aspect-ratio: 1 / 1.08; }
.ask__photo img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%); }
.ask__main { display: grid; align-items: center; padding: var(--sp-900) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) var(--sp-900) var(--sp-600); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-200) var(--sp-300); }
.field { display: grid; gap: var(--sp-75); align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.field label .req { color: var(--text-tertiary); font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-12); border: 0;
  background: var(--surface-primary-subtle); box-shadow: inset 0 0 0 1px var(--border-primary); font-size: 1rem; line-height: 1.5rem;
  transition: box-shadow var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out); appearance: none; -webkit-appearance: none;
}
.input:focus { outline: none; background: var(--surface-primary); box-shadow: inset 0 0 0 2px var(--border-action-primary); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--border-error); background: var(--red-100); }
select.input { padding-right: var(--sp-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpolyline points='208 96 128 176 48 96' fill='none' stroke='%231F1E1B' stroke-width='16' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
.input-group { display: flex; align-items: stretch; border-radius: var(--r-12); }
.input-group .pre { display: grid; place-items: center; padding-inline: var(--sp-200); border-radius: var(--r-12) 0 0 var(--r-12); background: var(--surface-secondary); font-weight: 500; }
.input-group .input { border-radius: 0 var(--r-12) var(--r-12) 0; }
.field__err { min-height: 1rem; color: var(--text-error); font-size: 0.75rem; line-height: 1rem; }
.field__err:empty { min-height: 0; }
.form__picked { grid-column: 1 / -1; display: grid; gap: var(--sp-75); padding: var(--sp-200); border-radius: var(--r-16); background: var(--surface-primary-subtle); }
.form__picked[hidden] { display: none; }
.form__picked ul { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.form__send { grid-column: 1 / -1; display: grid; gap: var(--sp-100); margin-top: var(--sp-100); }
.form__status { min-height: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; }
.form__status.is-error { color: var(--text-error); }
.form__status.is-warn { color: var(--gray-700); }
.form__alt { color: var(--text-secondary); }
.hp { position: absolute; left: -9999px; }
.done { display: grid; gap: var(--sp-200); justify-items: start; padding: var(--sp-500); border-radius: var(--r-24); background: var(--green-100); }
.done[hidden] { display: none; }
.done .tick { width: 48px; height: 48px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--green-500); color: var(--text-inverted); }
.done .tick svg { width: 24px; height: 24px; }
@media (max-width: 1023px) {
  .ask__grid { grid-template-columns: 1fr; }
  .ask__side-in { padding: var(--sp-800) var(--gutter); grid-template-columns: 1fr; }
  .ask__main { padding: var(--sp-800) var(--gutter); }
  .ask__photo { display: none; }
}
@media (max-width: 767px) {
  .ask__side-in { padding: var(--sp-700) var(--gutter); }
  .ask__main { padding: var(--sp-600) var(--gutter) var(--sp-700); }
  .form { grid-template-columns: 1fr; }
}

/* ---------- footer: a curtain lifts off it ---------- */
.page { position: relative; z-index: 1; background: var(--surface-primary); }
.foot { position: relative; z-index: 0; background: var(--surface-inverted); color: var(--text-inverted); }
@media (min-width: 768px) and (min-height: 700px) { .foot { position: sticky; bottom: 0; } }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); row-gap: var(--sp-500); padding-top: var(--sp-800); }
.foot__brand { grid-column: 1 / span 4; display: grid; gap: var(--sp-200); align-content: start; }
.foot__brand .logo { width: 64px; height: 64px; border-radius: var(--r-16); background: var(--surface-primary); display: grid; place-items: center; }
.foot__brand .logo img { height: 48px; width: auto; mix-blend-mode: multiply; }
.foot__brand p { color: var(--text-inverted-subtle); max-width: 280px; }
.foot__col { grid-column: span 2; display: grid; gap: var(--sp-200); align-content: start; }
.foot__col--wide { grid-column: span 4; }
.foot__col h2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--accent-300); }
.foot__col ul { display: grid; gap: var(--sp-50); }
.foot__col a { display: inline-flex; align-items: center; gap: var(--sp-100); min-height: 44px; color: var(--text-inverted); transition: color var(--t-hover) var(--ease-out); }
.foot__col a svg { width: 24px; height: 24px; flex: none; }
.foot__place { color: var(--text-inverted-subtle); display: inline-flex; gap: var(--sp-100); min-height: 44px; align-items: center; }
.foot__place svg { width: 24px; height: 24px; flex: none; }
@media (hover: hover) and (pointer: fine) { .foot__col a:hover { color: var(--accent-200); } }
.brand-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-8); background: var(--surface-primary); }
.brand-ic svg { width: 20px; height: 20px; }
.brand-ic--wa svg { color: var(--whatsapp); }
.brand-ic--ig svg { color: var(--instagram); }
.foot__word { display: flex; flex-wrap: wrap; column-gap: 0.22em; padding-top: var(--sp-700); color: var(--accent-300); user-select: none; }
.foot__word .wd { display: inline-flex; overflow: hidden; padding-bottom: 0.06em; }
.foot__word .wd > span { display: inline-block; transform: translateY(110%); transition: transform 900ms var(--ease-out); }
.foot.is-up .foot__word .wd > span { transform: none; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-200) var(--sp-400); padding-block: var(--sp-300) var(--sp-400); border-top: 1px solid rgb(255 255 255 / 0.14); color: var(--text-inverted-subtle); }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: var(--sp-100) var(--sp-300); }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-inverted); }
@media (hover: hover) and (pointer: fine) { .foot__legal a:hover { color: var(--accent-200); } }
@media (max-width: 1023px) {
  .foot__brand { grid-column: 1 / -1; }
  .foot__col, .foot__col--wide { grid-column: span 6; }
}
@media (max-width: 767px) {
  .foot__col, .foot__col--wide { grid-column: 1 / -1; }
}

/* ---------- design gallery page ---------- */
.g-head { padding: calc(var(--nav-h) + var(--sp-800)) 0 var(--sp-500); }
.g-head__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); row-gap: var(--sp-300); align-items: end; }
.g-head__text { grid-column: 1 / span 7; display: grid; gap: var(--sp-200); }
.g-head__text p { color: var(--text-secondary); max-width: 620px; }
.g-head__note { grid-column: 9 / span 4; display: flex; gap: var(--sp-200); align-items: start; padding: var(--sp-200); border-radius: var(--r-16); background: var(--surface-accent-subtle); }
.g-head__note svg { width: 24px; height: 24px; flex: none; }
.crumbs { display: flex; gap: var(--sp-75); align-items: center; color: var(--text-tertiary); margin-bottom: var(--sp-200); }
.crumbs a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 1023px) { .g-head__text, .g-head__note { grid-column: 1 / -1; } }
@media (max-width: 767px) { .g-head { padding-top: calc(var(--nav-h) + var(--sp-600)); } }

.rooms-bar { position: sticky; top: calc(var(--nav-h) + var(--sp-200) + var(--sp-100)); z-index: 40; pointer-events: none; }
@media (max-width: 767px) { .rooms-bar { top: calc(var(--nav-h) + var(--sp-100) + var(--sp-100)); } }
.rooms-bar__in {
  pointer-events: auto; position: relative; display: flex; gap: var(--sp-50); overflow-x: auto; scrollbar-width: none;
  padding: var(--sp-50); border-radius: var(--r-full); background: rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--shadow-float);
}
.rooms-bar__in::-webkit-scrollbar { display: none; }
.rb {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: var(--sp-75); height: 44px; padding-inline: var(--sp-200);
  border-radius: var(--r-full); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--text-secondary); white-space: nowrap;
  transition: color var(--t-ui) var(--ease-out);
}
.rb svg { width: 20px; height: 20px; flex: none; }
.rb-list > li { flex: none; }
@media (hover: hover) and (pointer: fine) { .rb:hover { color: var(--text-primary); } }
/* the highlight is a dark copy of the bar, clipped to the current room (exact colour change, no width animation) */
.rb-scroll { position: relative; display: flex; }
.rb-list { display: flex; gap: var(--sp-50); }
.rb-list--on {
  position: absolute; inset: 0; border-radius: var(--r-full); background: var(--surface-inverted); pointer-events: none;
  clip-path: inset(0 100% 0 0 round 9999px); transition: clip-path 220ms var(--ease-out);
}
.rb-list--on .rb { color: var(--text-inverted); }

.g-room { padding-block: var(--sp-700); scroll-margin-top: 140px; }
.g-room + .g-room { border-top: 1px solid var(--border-secondary); }
.g-room__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-300); row-gap: var(--sp-200); align-items: end; margin-bottom: var(--sp-400); }
.g-room__head h2 { grid-column: 1 / span 6; display: flex; align-items: center; gap: var(--sp-200); }
.g-room__head h2 svg { width: 36px; height: 36px; flex: none; padding: 6px; border-radius: var(--r-12); background: var(--surface-accent-subtle); }
.g-room__head p { grid-column: 8 / span 5; color: var(--text-secondary); }
@media (max-width: 1023px) { .g-room__head h2, .g-room__head p { grid-column: 1 / -1; } }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-300); }
.g-grid > li:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1023px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-200); } }
@media (max-width: 767px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-100); }
  .g-grid > li:first-child { grid-row: span 1; }
  .g-grid > li:first-child .tile { aspect-ratio: 4 / 3; min-height: 0; }
}
.tile {
  position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-16); overflow: visible;
  transition: transform var(--t-hover) var(--ease-out);
}
@media (min-width: 768px) { .g-grid > li:first-child .tile { aspect-ratio: auto; min-height: 100%; } }
.tile__frame { position: absolute; inset: 0; border-radius: var(--r-16); overflow: hidden; background: var(--surface-secondary); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.tile__code {
  position: absolute; left: var(--sp-100); top: var(--sp-100); padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full);
  background: var(--surface-primary); box-shadow: var(--shadow-float); font: 500 0.75rem/1rem var(--f-mono); letter-spacing: 0.04em;
}
.tile__by { position: absolute; right: var(--sp-100); top: var(--sp-100); display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-full); background: var(--accent-300); box-shadow: var(--shadow-float); }
.tile__by svg { width: 16px; height: 16px; }
/* the drafting lines that draw in on hover: width along the bottom, depth up the side */
.tile__dims { position: absolute; inset: 0; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .tile__dims { display: block; } }
.tile__dims .dx { position: absolute; left: 0; right: 0; bottom: -18px; height: 1px; background: var(--gray-870); transform: scaleX(0); transition: transform 300ms var(--ease-out); }
.tile__dims .dx::before, .tile__dims .dx::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: inherit; }
.tile__dims .dx::before { left: 0; } .tile__dims .dx::after { right: 0; }
.tile__dims b { position: absolute; left: 50%; bottom: -26px; transform: translate(-50%, 4px); padding: 0 var(--sp-75); background: var(--surface-primary); font: 500 0.75rem/1rem var(--f-mono); letter-spacing: 0.04em; white-space: nowrap; opacity: 0; transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-2px); }
  .tile:hover img { transform: scale(1.03); }
  .tile:hover .dx { transform: scaleX(1); }
  .tile:hover b { opacity: 1; transform: translate(-50%, 0); transition-delay: 120ms; }
}
.tile:active { transform: scale(0.98); }
.g-cta { padding-block: var(--sp-800); background: var(--surface-accent); }
.g-cta__in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-400); flex-wrap: wrap; }

/* design detail: a centred dialog on large screens, a sheet that drags on phones */
.dd { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.dd::backdrop { background: rgb(16 15 14 / 0.56); opacity: 0; transition: opacity 260ms var(--ease-out), overlay 260ms allow-discrete, display 260ms allow-discrete; }
.dd[open]::backdrop { opacity: 1; }
@starting-style { .dd[open]::backdrop { opacity: 0; } }
.dd.is-closing::backdrop { opacity: 0; transition-duration: 180ms; }
.dd__wrap { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--sp-500); }
.dd__sheet {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); grid-template-rows: minmax(0, 1fr);
  width: min(1180px, 100%); height: min(800px, 100%);
  border-radius: var(--r-24); overflow: hidden; background: var(--surface-primary); box-shadow: var(--shadow-sheet);
  transform-origin: 50% 50%; transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out);
}
.dd[open] .dd__sheet { transform: none; opacity: 1; }
@starting-style { .dd[open] .dd__sheet { transform: scale(0.96); opacity: 0; } }
.dd.is-closing .dd__sheet { transform: scale(0.97); opacity: 0; transition-duration: 160ms; }
.dd__grab { display: none; }
.dd__media { position: relative; background: var(--gray-100); display: grid; place-items: center; padding: var(--sp-400) var(--sp-400) var(--sp-700); }
.dd__media img { width: 100%; height: 100%; max-height: calc(min(800px, 100svh - 80px) - 104px); object-fit: contain; border-radius: var(--r-8); transition: opacity 180ms var(--ease-out); }
.dd__media img.is-swapping { opacity: 0.2; }
.dd__media .dim { left: var(--sp-400); right: var(--sp-400); bottom: var(--sp-300); }
.dd[open] .dd__media .dim i { animation: measure 600ms var(--ease-out) 160ms both; }
.dd__info { position: relative; overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-400); display: grid; align-content: start; gap: var(--sp-200); }
.dd__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-200); }
.dd__code { padding: var(--sp-50) var(--sp-100); border-radius: var(--r-full); background: var(--surface-accent-subtle); }
.dd__ctrl { display: flex; gap: var(--sp-75); }
.dd__by { display: flex; align-items: center; gap: var(--sp-75); color: var(--text-secondary); }
.dd__by svg { width: 18px; height: 18px; }
.dd__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-200); padding-block: var(--sp-200); border-block: 1px solid var(--border-primary); }
.dd__facts div { display: grid; gap: var(--sp-25); }
.dd__facts dt { font-size: 0.75rem; line-height: 1rem; color: var(--text-tertiary); }
.dd__facts dd { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.dd__about { color: var(--text-secondary); }
.dd__info h3 { margin-top: var(--sp-100); }
.dd__swatches { display: flex; flex-wrap: wrap; gap: var(--sp-200); }
.dd__swatches li { display: flex; align-items: center; gap: var(--sp-75); font-size: 0.875rem; line-height: 1.25rem; }
.dd__swatches i { width: 28px; height: 28px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
.dd__note { color: var(--text-tertiary); }
.dd__actions { display: flex; flex-wrap: wrap; gap: var(--sp-100); margin-top: var(--sp-100); }
.dd__actions .btn { flex: 1 1 auto; }
.dd__actions .wa svg { color: var(--whatsapp); }
@media (max-width: 1023px) {
  .dd__sheet { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; max-height: calc(100svh - 48px); overflow-y: auto; }
  .dd__media { padding: var(--sp-300) var(--sp-300) var(--sp-600); }
  .dd__media img { max-height: 52svh; }
  .dd__info { overflow: visible; }
}
@media (max-width: 767px) {
  .dd__wrap { padding: 0; place-items: end stretch; }
  .dd__sheet {
    width: 100%; max-height: calc(100svh - var(--sp-500)); border-radius: var(--r-24) var(--r-24) 0 0; overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(0); transition: transform 400ms var(--ease-drawer); touch-action: pan-y;
  }
  @starting-style { .dd[open] .dd__sheet { transform: translateY(100%); opacity: 1; } }
  .dd.is-closing .dd__sheet { transform: translateY(100%); opacity: 1; transition: transform 240ms var(--ease-out); }
  .dd__sheet.is-dragging { transition: none; }
  .dd__grab { display: grid; place-items: center; position: sticky; top: 0; z-index: 2; height: 28px; background: var(--surface-primary); cursor: grab; touch-action: none; }
  .dd__grab span { width: 40px; height: 4px; border-radius: var(--r-full); background: var(--border-tertiary); }
  .dd__media { padding: 0 var(--sp-200) var(--sp-600); background: var(--surface-primary); touch-action: none; }
  .dd__media img { max-height: 46svh; border-radius: var(--r-12); }
  .dd__media .dim { left: var(--sp-200); right: var(--sp-200); bottom: var(--sp-200); }
  .dd__info { padding: 0 var(--sp-200) var(--sp-500); }
  .dd__facts { grid-template-columns: 1fr 1fr; }
  .dd__actions .btn { flex: 1 1 100%; }
}

/* floor plan viewer */
.pv { padding: 0; border: 0; width: min(1100px, calc(100% - 32px)); max-height: calc(100svh - 32px); border-radius: var(--r-24); background: var(--surface-primary); box-shadow: var(--shadow-sheet); }
.pv::backdrop { background: rgb(16 15 14 / 0.56); }
.pv[open] { animation: pv-in 240ms var(--ease-out); }
@keyframes pv-in { from { opacity: 0; transform: scale(0.96); } }
.pv__in { position: relative; padding: var(--sp-300); }
.pv__in img { width: 100%; max-height: calc(100svh - 96px); object-fit: contain; }
.pv__close { position: absolute; right: var(--sp-200); top: var(--sp-200); }

/* ---------- small pages ---------- */
.plain { min-height: 100svh; display: grid; align-content: center; padding: calc(var(--nav-h) + var(--sp-800)) 0 var(--sp-800); }
.plain__in { display: grid; gap: var(--sp-300); justify-items: start; max-width: 720px; }
.plain__in p { color: var(--text-secondary); }
.plain__actions { display: flex; flex-wrap: wrap; gap: var(--sp-200); }
.prose { display: grid; gap: var(--sp-200); max-width: 720px; }
.prose h2 { margin-top: var(--sp-300); }
.prose p, .prose li { color: var(--text-secondary); }
.prose ul { display: grid; gap: var(--sp-75); padding-left: var(--sp-300); list-style: disc; }

/* ---------- entrance on load (the hero, once) ---------- */
.js [data-enter] .hero__title .ln > span { animation: rise 900ms var(--ease-out) both; }
.js [data-enter] .hero__title .ln:nth-child(2) > span { animation-delay: 90ms; }
.js [data-enter] .hero__lead { animation: lift 700ms var(--ease-out) 260ms both; }
.js [data-enter] .hero__actions { animation: lift 700ms var(--ease-out) 400ms both; }
.js [data-enter] .hero__proof, .js [data-enter] .hero__fine { animation: lift 700ms var(--ease-out) 470ms both; }
.js [data-enter] .fly__img { animation: develop 900ms var(--ease-out) 450ms both; }
.js [data-enter] .house__img { animation: develop-in 900ms var(--ease-out) 450ms both; }
.js [data-enter] .fly__line polygon, .js [data-enter] .fly__line path, .js [data-enter] .house__line path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); animation: draw 1400ms var(--ease-in-out) 100ms forwards; }
.js [data-enter] .house .dim i, .js [data-enter] .hero .dim i { animation: measure 700ms var(--ease-out) 1100ms both; }
.js [data-enter] .house .dim b, .js [data-enter] .hero .dim b { animation: lift 500ms var(--ease-out) 1400ms both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } }
@keyframes develop { from { opacity: 0; } }
@keyframes develop-in { from { opacity: 0; transform: scale(1.04); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes measure { from { transform: scaleX(0); } }

/* split headings rise word by word when they arrive (once) */
.js .split:not(.is-in) .w > span { transform: translateY(105%); }
.js .split .w > span { transition: transform 600ms var(--ease-out); transition-delay: calc(var(--k, 0) * 45ms); }

/* ---------- reduced motion: gentler, not none; reduced transparency: frostier, then solid ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .btn, .icon-btn, .svc-tile, .tile, .qa summary .pm, .menu, .dd::backdrop, .dd__media img { transition-duration: 200ms !important; transition-property: opacity, background-color, color, box-shadow !important; }
  .js .split:not(.is-in) .w > span { transform: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee__track > ul + ul { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
  .marquee-toggle { display: none; }
  .eve__text .w { color: #FFF6E6; }
  .eve__sign { opacity: 1; transform: none; }
  .try__img.is-in.go { transition: none; }
  .foot__word .wd > span { transform: none; }
  .card { position: relative; top: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .rooms-bar__in { background: var(--surface-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu { background: var(--surface-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .try__panel { background: var(--surface-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .eve__clock { background: var(--gray-870); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .nav__bar, .rooms-bar__in { background: var(--surface-primary); box-shadow: 0 0 0 1px var(--gray-870); }
}
