/* ruko123 design system — Quiet Wealth × Commercial Intelligence. Mobile-first. No framework. */
@layer reset, tokens, base, layout, components, motion;

@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; interpolate-size: allow-keywords; }
  body, h1, h2, h3, p, figure, dl, dd, ol, ul, fieldset { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  img, picture, svg { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  fieldset { border: 0; padding: 0; min-width: 0; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    --petrol: #10201D; --petrol-2: #172B27; --petrol-3: #21403A; --petrol-line: #2E4A44;
    --ivory: #F5F0E7; --paper: #FBF8F2; --data: #E7E3DA; --line: #D6CFC2;
    --ink: #151819; --muted: #4A5250; --muted-d: #B7C6C1;
    --brass: #B08A52; --brass-ink: #82612E; --brass-hi: #D9B77E;
    --sage: #789A90; --sage-ink: #3F6158; --sage-soft: #DCE6E2;
    --serif: "Fraunces", "Fraunces Fallback", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --gut: max(20px, env(safe-area-inset-left)); --wrap: 1240px; --r: 14px; --r-lg: 22px;
    --hdr: 68px; --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgb(16 32 29 / .06), 0 12px 32px -12px rgb(16 32 29 / .18);
  }
}

@layer base {
  body { background: var(--ivory); color: var(--ink); font: 400 1.125rem/1.65 var(--sans); font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
  @media (min-width: 1024px) { body { font-size: 1.1875rem; } }
  h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; font-optical-sizing: auto; }
  h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
  h3 { font-size: 1.375rem; line-height: 1.25; }
  p, li, dd { text-wrap: pretty; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
  a:hover { color: var(--brass-ink); }
  :focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--brass-hi); color: var(--ink); }
  strong { font-weight: 700; }
  .num, .price, .price-lg, .price-md, td.num { font-family: var(--sans); font-variant-numeric: tabular-nums lining-nums; }
}

@layer layout {
  .wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
  .sec { padding-block: clamp(64px, 9vw, 120px); }
  .sec-tight { padding-block: clamp(40px, 6vw, 72px); }
  .sec-data { background: var(--data); }
  .sec-petrol { background: var(--petrol); color: var(--ivory); }
  .sec-dark { background: var(--petrol-2); color: var(--ivory); }
  .sec-head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 52px); }
  .row2 { display: grid; gap: 16px; }
  @media (min-width: 720px) { .row2 { grid-template-columns: 1fr 1fr; } }
  .stack { display: grid; gap: 12px; }
  .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
}

@layer components {
  /* type helpers */
  .eyebrow { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 14px; }
  :is(.sec-petrol, .sec-dark, .hero, .final, .kpr-out, .menu) .eyebrow { color: var(--brass-hi); }
  .lede { font: italic 400 clamp(1.1rem, 2.1vw, 1.375rem)/1.55 var(--serif); color: var(--muted); max-width: 44ch; margin-top: 18px; font-variation-settings: "SOFT" 50; }
  :is(.sec-petrol, .sec-dark, .hero, .final) .lede { color: var(--muted-d); }
  .fine { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
  :is(.sec-petrol, .sec-dark, .final, .kpr-out, .ftr) .fine { color: var(--muted-d); }
  .src { margin-top: 18px; }
  .h-sm { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 16px; }
  .skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--brass-hi); color: var(--ink); padding: 12px 16px; border-radius: 10px; }
  .skip:focus { top: 12px; }
  .i { width: 1.25em; height: 1.25em; flex: none; }
  .badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid currentColor; border-radius: 999px; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-right: 10px; color: var(--brass-hi); }
  .promo .badge { background: var(--sage-soft); color: var(--sage-ink); border-color: transparent; }

  /* buttons — large, obvious, ≥52px */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--petrol); background: var(--petrol); color: var(--ivory); font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
  .btn:hover { background: var(--petrol-3); border-color: var(--petrol-3); color: var(--ivory); transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn-wa { background: var(--petrol); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--ivory); }
  .btn-light, .btn-wa-light { background: var(--ivory); color: var(--petrol); border-color: var(--ivory); }
  .btn-light:hover, .btn-wa-light:hover { background: #fff; border-color: #fff; color: var(--petrol); }
  .btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgb(245 240 231 / .55); }
  .btn-ghost-light:hover { background: var(--ivory); color: var(--petrol); border-color: var(--ivory); }
  .btn-link { background: none; border-color: transparent; color: inherit; text-decoration: underline; }
  .btn-sm { min-height: 46px; padding: 10px 18px; font-size: 1rem; }
  .btn-block { width: 100%; }

  /* header */
  .hdr { position: sticky; top: 0; z-index: 50; background: rgb(16 32 29 / .96); color: var(--ivory); padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--petrol-line); backdrop-filter: saturate(1.3) blur(10px); }
  .hdr-in { display: flex; align-items: center; gap: 20px; min-height: var(--hdr); }
  .brand { display: grid; text-decoration: none; color: var(--ivory); line-height: 1; }
  .brand:hover { color: var(--ivory); }
  .brand-word { font: 500 1.6rem/1 var(--serif); letter-spacing: -.02em; }
  .brand-word b { color: var(--brass); font-weight: 500; }
  .brand-sub { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-top: 4px; }
  .nav { display: none; margin-left: auto; }
  .nav ul { display: flex; gap: 18px; }
  .nav li { white-space: nowrap; }
  .nav a { color: var(--muted-d); text-decoration: none; font-size: .9875rem; padding-block: 8px; border-bottom: 1.5px solid transparent; }
  .nav a:hover, .nav a[aria-current] { color: var(--ivory); border-bottom-color: var(--brass); }
  .hdr-act { display: flex; gap: 10px; align-items: center; margin-left: auto; white-space: nowrap; }
  .hdr-brief { display: none; }
  .menu-btn { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgb(245 240 231 / .4); background: none; color: var(--ivory); font: 600 1rem var(--sans); cursor: pointer; }
  @media (min-width: 760px) { .hdr-brief { display: inline-flex; } }
  @media (min-width: 1240px) { .nav { display: block; } .hdr-act { margin-left: 8px; } .menu-btn { display: none; } }
  @media (max-width: 420px) { .brand-sub { display: none; } .hdr .btn-wa-light { padding-inline: 14px; } }

  /* popover menu */
  .menu { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(420px, 100vw); border: 0; padding: 0; background: var(--petrol); color: var(--ivory); }
  .menu::backdrop { background: rgb(10 18 16 / .55); backdrop-filter: blur(2px); }
  .menu-in { padding: calc(28px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 22px; }
  .menu ul a { display: flex; justify-content: space-between; align-items: center; min-height: 60px; border-bottom: 1px solid var(--petrol-line); text-decoration: none; font: 500 1.375rem var(--serif); color: var(--ivory); }
  .menu .btn-ghost { color: var(--ivory); border-color: rgb(245 240 231 / .5); }

  /* hero — edge to edge, mobile stacked, desktop overlaid */
  .hero { position: relative; background: var(--petrol); color: var(--ivory); isolation: isolate; }
  .hero-media { aspect-ratio: 4 / 3; overflow: hidden; }
  .hero-media picture, .cg-card picture { height: 100%; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
  .hero-in { display: grid; gap: 28px; padding-block: 32px 44px; }
  .kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font: 600 .875rem/1.4 var(--sans); letter-spacing: .06em; color: var(--muted-d); margin-bottom: 18px; }
  .display { font-size: clamp(2.5rem, 8.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 500; }
  .hero-sub { font: 500 1.0625rem/1.4 var(--sans); color: var(--muted-d); margin-top: 12px; letter-spacing: .02em; }
  .hero-price { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
  .hero-price span { font: 500 1rem var(--sans); color: var(--muted-d); }
  .hero-price strong { font: 800 clamp(1.9rem, 5.6vw, 2.75rem)/1 var(--sans); color: var(--brass-hi); letter-spacing: -.02em; }
  .hero-price small { width: 100%; font-size: .9375rem; color: var(--muted-d); }
  @media (min-width: 1000px) { .only-m { display: none; } }
  .welcome { margin-top: 16px; font: 600 1rem var(--sans); color: var(--brass-hi); }
  .feature { display: grid; gap: 6px; padding: 26px 26px 22px; border-radius: var(--r-lg); background: var(--petrol-2); border: 1px solid var(--petrol-line); border-top: 2px solid var(--brass); text-decoration: none; color: var(--ivory); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .5); transition: transform .3s var(--ease), border-color .3s; }
  .feature:hover { color: var(--ivory); transform: translateY(-3px); border-color: var(--brass); }
  .feature-k { font: 600 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); }
  .feature-t { font: 500 2rem/1.1 var(--serif); margin-top: 4px; }
  .feature-s, .feature-m { color: var(--muted-d); font-size: 1rem; }
  .feature-p { margin-top: 8px; font-size: 1rem; color: var(--muted-d); }
  .feature-p strong { display: block; font: 800 clamp(1.75rem, 5vw, 2.25rem)/1.1 var(--sans); color: var(--brass-hi); letter-spacing: -.02em; }
  .feature-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; color: var(--ivory); }
  @media (min-width: 1000px) {
    .hero { min-height: min(calc(100svh - var(--hdr)), 900px); display: grid; }
    .hero-media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
    .hero-panel { display: grid; align-items: end; background: linear-gradient(90deg, rgb(16 32 29 / .95) 0%, rgb(16 32 29 / .84) 40%, rgb(16 32 29 / .2) 72%, rgb(16 32 29 / .05)), linear-gradient(0deg, rgb(16 32 29 / .7), transparent 45%); }
    .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .7fr); align-items: end; gap: 56px; padding-block: 96px 72px; }
    .hero-product .hero-in { grid-template-columns: minmax(0, 1fr); max-width: var(--wrap); }
    .hero-product .hero-copy { max-width: 720px; }
  }

  /* key numbers */
  .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .keys li { background: var(--paper); padding: 22px 16px; display: grid; gap: 6px; }
  .keys strong { font: 800 clamp(1.4rem, 4.4vw, 2.25rem)/1 var(--sans); letter-spacing: -.02em; }
  .keys span { font-size: .9375rem; color: var(--muted); line-height: 1.35; }
  .sec-petrol .keys { background: var(--petrol-line); border-color: var(--petrol-line); }
  .sec-petrol .keys li { background: var(--petrol-2); }
  .sec-petrol .keys strong { color: var(--brass-hi); }
  .sec-petrol .keys span { color: var(--muted-d); }
  .keys-band { background: var(--petrol); padding-block: 0 40px; }
  .keys-band .keys { background: var(--petrol-line); border-color: var(--petrol-line); }
  .keys-band .keys li { background: var(--petrol-2); }
  .keys-band .keys strong { color: var(--ivory); }
  .keys-band .keys span { color: var(--muted-d); }
  @media (max-width: 520px) { .keys { grid-template-columns: 1fr; } .keys li { grid-template-columns: 9.5rem 1fr; align-items: center; } }

  /* price desk */
  .pd { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px); }
  .pd-grid { display: grid; gap: 36px; }
  .pd-h { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
  .pd-list { margin-top: 22px; }
  .pd-row { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); }
  .pd-row dt a { font: 600 1.125rem var(--sans); text-decoration: none; }
  .pd-row dt span { display: block; font-size: .9375rem; color: var(--muted); }
  .pd-row dd small { display: block; color: var(--muted); font-size: .9375rem; margin-top: 4px; }
  .price { font: 800 clamp(1.75rem, 4.8vw, 2.4rem)/1.1 var(--sans); color: var(--brass-ink); letter-spacing: -.02em; }
  .promo { margin-top: 18px; font-size: 1.0625rem; }
  .pd-side { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line); }
  .stamp { font-size: .9375rem; color: var(--muted); }
  .stamp time { font: 700 1.25rem/1.4 var(--sans); color: var(--ink); }
  .stale { background: #FBEBDD; border: 1px solid #D9A274; color: #6B3A16; border-radius: 12px; padding: 12px 14px; font-size: .9375rem; }
  .is-stale .price { opacity: .55; }
  @media (min-width: 900px) { .pd-grid { grid-template-columns: 1.45fr 1fr; gap: 64px; } .pd-row { grid-template-columns: 1fr auto; align-items: end; } .pd-row dd { text-align: right; } }

  /* cards */
  .cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
  .card-k { font: 700 .8125rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
  .card p { color: var(--muted); font-size: 1.0625rem; }
  .sec-data .card { background: var(--paper); }
  .sec-petrol .card { background: var(--petrol-2); border-color: var(--petrol-line); }
  .sec-petrol .card p { color: var(--muted-d); }
  @media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-5 { grid-template-columns: repeat(5, 1fr); } .cards-5 .card { padding: 24px; } }

  /* concierge */
  .concierge { background: var(--ivory); }
  .cg { display: grid; gap: 30px; }
  .cg legend { display: flex; align-items: center; gap: 12px; font: 600 1.125rem var(--sans); margin-bottom: 14px; }
  .cg legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--petrol); color: var(--brass-hi); font-size: .9375rem; }
  .cg-result { margin-top: 36px; }
  .cg-card { display: grid; text-decoration: none; color: var(--ivory); background: var(--petrol); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
  .cg-card:hover { color: var(--ivory); }
  .cg-card picture { aspect-ratio: 16 / 9; }
  .cg-card img { width: 100%; height: 100%; object-fit: cover; }
  .cg-body { padding: 26px; display: grid; gap: 8px; }
  .cg-body h3 { font-size: 2rem; }
  .cg-meta { color: var(--muted-d); }
  .price-md { font: 800 1.75rem/1.1 var(--sans); color: var(--brass-hi); }
  .cg-why { font: italic 400 1.1875rem/1.55 var(--serif); color: var(--ivory); }
  .cg-go { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; margin-top: 6px; }
  @media (min-width: 900px) { .cg-card { grid-template-columns: 1fr 1fr; } .cg-card picture { aspect-ratio: auto; } }

  /* chips (radio cards) */
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chip { position: relative; }
  .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .chip span { display: inline-flex; align-items: center; min-height: 50px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 500 1.0625rem/1.2 var(--sans); transition: background .18s, border-color .18s, color .18s; }
  .chips-lg .chip span { min-height: 56px; padding-inline: 22px; }
  .chip:hover span { border-color: var(--petrol); }
  .chip input:checked + span { background: var(--petrol); border-color: var(--petrol); color: var(--ivory); box-shadow: inset 0 -2px 0 var(--brass); }
  .chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
  .sec-dark .chip span { background: transparent; border-color: var(--petrol-line); color: var(--ivory); }
  .sec-dark .chip input:checked + span { background: var(--ivory); color: var(--petrol); border-color: var(--ivory); }

  /* tables */
  .tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
  .tbl { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 1.0625rem; }
  .tbl caption { caption-side: bottom; text-align: left; padding: 14px 18px; font-size: .875rem; color: var(--muted); }
  .tbl th, .tbl td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
  .tbl thead th { background: var(--petrol); color: var(--ivory); font: 600 .9375rem var(--sans); }
  .tbl thead a { color: var(--brass-hi); }
  .tbl tbody th { font-weight: 600; width: 26%; }
  .tbl tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
  .tbl td.num { font-weight: 800; color: var(--brass-ink); white-space: nowrap; }

  /* purchase view & fact sheet */
  .pv { display: grid; gap: 18px; }
  .pv-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .pv-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--paper); padding: 18px 22px; }
  .pv-list dt { color: var(--muted); }
  .pv-list dd { font: 700 1.1875rem var(--sans); }
  .pv-m { background: var(--petrol) !important; color: var(--ivory); }
  .pv-m dt { color: var(--muted-d) !important; }
  .pv-m dd { font: 800 clamp(1.5rem, 4vw, 2rem)/1 var(--sans) !important; color: var(--brass-hi); }
  .pv-m small { font: 500 1rem var(--sans); color: var(--muted-d); margin-left: 4px; }
  @media (max-width: 560px) { .pv-list > div { flex-direction: column; gap: 4px; } }
  .facts { display: grid; border-top: 1px solid var(--line); }
  .facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .facts dt { font: 600 .9375rem var(--sans); color: var(--sage-ink); }
  @media (min-width: 800px) { .facts > div { grid-template-columns: 300px 1fr; gap: 24px; } }

  /* gallery — native scroll-snap, no library */
  .gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(88vw, 1040px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 16px; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .gallery figure { scroll-snap-align: center; }
  .gallery img, .wide img, .floors-fig img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .gallery figcaption, .wide figcaption, .floors-fig figcaption { font-size: .9375rem; color: var(--muted); margin-top: 10px; }
  .credit { padding-inline: var(--gut); max-width: var(--wrap); margin-inline: auto; }

  /* floors */
  .floors-wrap { display: grid; gap: 28px; }
  .floors { display: grid; gap: 12px; }
  .floors li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
  .fl-n { display: grid; place-items: center; height: 64px; border-radius: 12px; background: var(--petrol); color: var(--brass-hi); font: 800 1.25rem var(--sans); }
  .floors p { color: var(--muted); }
  @media (min-width: 1000px) { .floors-wrap { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }

  /* lists */
  .steps { counter-reset: s; display: grid; gap: 12px; }
  .steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 74px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
  .steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font: 800 1.125rem var(--sans); color: var(--brass-ink); }
  .ticks { display: grid; gap: 4px; margin-bottom: 20px; }
  .ticks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
  .ticks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 18px; height: 10px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }
  .sec-dark .ticks li, .chat-aside .ticks li { border-color: var(--line); }

  /* page head */
  .page-head { padding-block: clamp(44px, 7vw, 96px) clamp(32px, 4vw, 56px); }
  .page-head h1 { font-size: clamp(2.375rem, 6.6vw, 4.25rem); letter-spacing: -.025em; max-width: 18ch; }
  .page-head .ctas { margin-top: 26px; }
  .price-lg { font: 800 clamp(2rem, 6vw, 3rem)/1 var(--sans); color: var(--brass-ink); margin-top: 26px; letter-spacing: -.02em; }
  .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .specs li { padding: 8px 14px; border-radius: 999px; background: var(--data); font: 600 1rem var(--sans); }
  .intro-q { font: 500 clamp(1.25rem, 2.6vw, 1.6rem)/1.4 var(--serif); margin-top: 26px; padding-left: 20px; border-left: 3px solid var(--brass); max-width: 36ch; }
  .links-inline { margin-top: 20px; }

  /* forms */
  .brief { display: grid; gap: 40px; }
  .brief-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
  .assure { display: grid; gap: 8px; margin-block: 24px; }
  .assure li { padding-left: 28px; position: relative; color: var(--muted-d); }
  .assure li::before { content: ""; position: absolute; left: 0; top: .7em; width: 14px; height: 2px; background: var(--brass); }
  @media (min-width: 1000px) { .brief { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .brief-head { position: sticky; top: calc(var(--hdr) + 32px); } }
  .form { display: grid; gap: 22px; }
  .fld { display: grid; gap: 8px; }
  .fld label, .fld legend { font: 600 1rem var(--sans); margin-bottom: 2px; }
  input:not([type=radio], [type=range]), textarea, select { width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 1.0625rem; }
  textarea { field-sizing: content; min-height: 110px; resize: vertical; }
  .sec-dark :is(input:not([type=radio]), textarea) { background: var(--petrol); border-color: var(--petrol-line); color: var(--ivory); }
  .sec-dark ::placeholder { color: #8DA19B; }
  input:focus, textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; }
  input[aria-invalid=true] { border-color: #D07A4F; }
  input[type=range] { width: 100%; accent-color: var(--petrol); height: 44px; }
  .err { color: #F2A37E; font-size: .9375rem; min-height: 0; }
  .form-status, .chat-status { font-weight: 600; min-height: 1.4em; }
  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .cf-turnstile { min-height: 68px; }

  /* KPR */
  .kpr-grid { display: grid; gap: 32px; }
  .kpr { display: grid; gap: 22px; }
  .kpr-out { background: var(--petrol); color: var(--ivory); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; align-content: start; }
  .kpr-out dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--petrol-line); }
  .kpr-out dt { color: var(--muted-d); }
  .kpr-out dd { font: 700 1.125rem var(--sans); text-align: right; }
  .kpr-out .big { display: grid; border-bottom-color: var(--brass); }
  .kpr-out .big dd { text-align: left; font: 800 clamp(2rem, 6vw, 2.75rem)/1.1 var(--sans); color: var(--brass-hi); }
  .warn { font: 800 .9375rem/1.3 var(--sans); letter-spacing: .1em; color: var(--brass-hi); border: 1.5px solid var(--brass); border-radius: 10px; padding: 10px 14px; justify-self: start; }
  @media (min-width: 960px) { .kpr-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .kpr-out { position: sticky; top: calc(var(--hdr) + 24px); } }

  /* rent calculator */
  .rent { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); max-width: 860px; }
  .rent h3 { font-size: 1.6rem; }
  .rent-out { display: block; font: 500 clamp(1.2rem, 2.6vw, 1.5rem)/1.45 var(--serif); padding: 18px 20px; border-radius: 14px; background: var(--petrol); color: var(--ivory); }
  .rent-out strong { font-family: var(--sans); font-weight: 800; color: var(--brass-hi); }

  /* siteplan */
  .sp-grid { display: grid; gap: 28px; }
  .sp-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; }
  @media (min-width: 1000px) { .sp-grid { grid-template-columns: 1.4fr 1fr; align-items: center; } }

  /* FAQ — details with animated content */
  .faq { max-width: 880px; display: grid; gap: 12px; }
  .faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; }
  .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding-block: 14px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary h2 { font-size: 1.3125rem; letter-spacing: -.01em; }
  .faq summary::after { content: "+"; font: 400 1.75rem/1 var(--sans); color: var(--brass-ink); transition: transform .25s var(--ease); }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details p { padding-bottom: 20px; color: var(--muted); }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }

  /* related, final, crumbs */
  .related { padding-block: clamp(48px, 6vw, 72px); }
  .related-h { font: 600 .8125rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 14px; }
  .related ul { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
  .related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.125rem var(--serif); }
  .final { background: var(--petrol); color: var(--ivory); padding-block: clamp(72px, 11vw, 150px); border-top: 2px solid var(--brass); }
  .final-h { font-size: clamp(2rem, 5.4vw, 4rem); max-width: 20ch; letter-spacing: -.025em; }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 18px; font-size: .9375rem; color: var(--muted); }
  .crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--brass); }
  .crumbs a { text-decoration: none; }

  /* footer */
  .ftr { background: #0B1715; color: var(--muted-d); padding-block: 64px calc(40px + env(safe-area-inset-bottom)); }
  .ftr-in { display: grid; gap: 40px; }
  .ftr .brand-word { color: var(--ivory); font-size: 2rem; }
  .ftr-tag { font: italic 400 1.125rem var(--serif); color: var(--ivory); margin-block: 10px 14px; }
  .ftr-h { font: 600 .8125rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: 14px; }
  .ftr ul { display: grid; gap: 4px; }
  .ftr a { color: var(--ivory); text-decoration: none; display: inline-block; padding-block: 8px; }
  .ftr a:hover { color: var(--brass-hi); }
  .secret { opacity: .7; font-style: italic; }
  @media (min-width: 960px) { .ftr-in { grid-template-columns: 1.2fr 1.3fr 1fr; } }

  /* mobile action bar — Minta Detail · WhatsApp · Jadwalkan Kunjungan */
  .mbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.15fr 1fr; background: var(--petrol); border-top: 1px solid var(--brass); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -10px rgb(0 0 0 / .4); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 6px; color: var(--ivory); text-decoration: none; text-align: center; font: 600 .9375rem/1.15 var(--sans); }
  .mbar a + a { border-left: 1px solid var(--petrol-line); }
  .mbar .mbar-wa { background: var(--sage); color: var(--ink); font-weight: 700; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  @media (min-width: 900px) { .mbar { display: none; } body { padding-bottom: 0; } }

  /* chat — Ruang Tamu & Meja */
  .chat-grid { display: grid; gap: 32px; }
  .chat { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
  .chat-log { display: flex; flex-direction: column; gap: 10px; height: min(56svh, 520px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
  .msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; line-height: 1.5; }
  .msg small { display: block; font-size: .8125rem; opacity: .75; margin-top: 4px; }
  .msg-me { align-self: flex-end; background: var(--petrol); color: var(--ivory); border-bottom-right-radius: 6px; }
  .msg-them { align-self: flex-start; background: var(--data); border-bottom-left-radius: 6px; }
  .msg-sys { align-self: center; text-align: center; font: italic 400 1.0625rem var(--serif); color: var(--muted); max-width: 46ch; }
  .chat-form { display: grid; gap: 12px; }
  .desk { display: grid; gap: 20px; }
  .desk-rooms ul { display: grid; gap: 8px; }
  .desk-rooms button { width: 100%; text-align: left; min-height: 56px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
  .desk-rooms button[aria-current=true] { border-color: var(--petrol); background: var(--sage-soft); }
  .desk-rooms button b { display: block; }
  .desk-rooms .unread { color: var(--brass-ink); font-weight: 700; }
  .desk-login { display: grid; gap: 14px; max-width: 420px; }
  @media (min-width: 960px) { .chat-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .desk { grid-template-columns: 300px 1fr; } }
  .prose { display: grid; gap: 14px; max-width: 70ch; margin-top: 28px; }
}

@layer motion {
  @view-transition { navigation: auto; }
  .vt-americano { view-transition-name: americano; }
  ::view-transition-group(americano) { animation-duration: .5s; animation-timing-function: var(--ease); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise .6s var(--ease) both; }
    .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(n+4) { animation-delay: .18s; }
    .feature { animation: rise .7s .2s var(--ease) both; }
    .cg-result:not([hidden]) { animation: rise .45s var(--ease) both; }
    .menu:popover-open { animation: slide-in .32s var(--ease); }
    @supports (animation-timeline: view()) {
      .card, .steps li, .floors li, .sec-head { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
    }
  }
  @keyframes rise { from { opacity: .2; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } @view-transition { navigation: none; } }
}

@media print { .hdr, .mbar, .final, .form, .cf-turnstile, .menu { display: none !important; } body { padding: 0; } }

/* ================= MOBILE-FIRST REFINEMENTS (phones are the primary device) ================= */
@layer components {
  html { -webkit-tap-highlight-color: transparent; }
  body { overflow-wrap: break-word; }
  a, button, .chip, summary, label { touch-action: manipulation; }
  .btn:active, .chip:active span, .topic:active, .mbar a:active { transform: scale(.97); }
  @media (hover: none) { .btn:hover, .feature:hover { transform: none; } }
  .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :target, #brief { scroll-margin-top: 80px; }

  /* keyboard open → hide the fixed action bar so it never covers a field */
  .mbar { transition: transform .25s var(--ease); }
  body:has(:is(input:not([type=radio], [type=range]), textarea):focus) .mbar { transform: translateY(115%); }

  /* phones: rhythm, full-width actions, lighter chrome */
  @media (max-width: 640px) {
    :root { --hdr: 60px; }
    .sec { padding-block: 56px; }
    .sec-tight { padding-block: 36px; }
    .sec-head { margin-bottom: 26px; }
    .ctas { flex-direction: column; align-items: stretch; }
    .ctas .btn { width: 100%; }
    .hero-in { padding-block: 26px 36px; gap: 22px; }
    .hero-media { aspect-ratio: 16 / 11; }
    .feature { padding: 22px 20px 18px; }
    .pd-side { padding: 20px; }
    .stack .btn { width: 100%; }
    .page-head { padding-block: 36px 24px; }
    .lede { margin-top: 14px; }
    .final { padding-block: 64px; }
    .gallery { grid-auto-columns: 86vw; }
    .floors li { grid-template-columns: 52px 1fr; gap: 14px; padding: 14px; }
    .fl-n { height: 52px; font-size: 1.05rem; }
    .steps li { padding: 16px 16px 16px 58px; }
    .steps li::before { left: 16px; top: 16px; }
    .chips { gap: 8px; }
    .chip span { min-height: 48px; padding: 10px 16px; font-size: 1rem; }
    .chips-lg .chip span { min-height: 52px; }
    .related a { font-size: 1.0625rem; }
    .crumbs ol { padding-top: 12px; font-size: .875rem; }

    /* comparison table → two clear columns, row labels above the values */
    .tbl-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
    .tbl { min-width: 0; font-size: 1rem; }
    .tbl caption { display: block; padding: 10px 2px 0; }
    .tbl-cmp, .tbl-cmp thead, .tbl-cmp tbody { display: block; }
    .tbl-cmp { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
    .tbl-cmp tr { display: grid; grid-template-columns: 1fr 1fr; }
    .tbl-cmp thead th:first-child { display: none; }
    .tbl-cmp thead th { padding: 14px; }
    .tbl-cmp tbody th { grid-column: 1 / -1; width: auto; background: var(--data); padding: 8px 14px; font: 600 .8125rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--sage-ink); }
    .tbl-cmp td { padding: 12px 14px; }
    .tbl-cmp td + td { border-left: 1px solid var(--line); }
    .tbl-cmp td.num { white-space: normal; font-size: 1.0625rem; }
    .tbl-cmp .btn-sm { width: 100%; padding-inline: 10px; }
    /* travel-time table → one card per destination */
    .tbl-near, .tbl-near tbody { display: block; }
    .tbl-near thead { display: none; }
    .tbl-near tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px; margin-bottom: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
    .tbl-near th, .tbl-near td { border: 0; padding: 0; width: auto; }
    .tbl-near td.num { align-self: start; background: var(--petrol); color: var(--brass-hi); border-radius: 999px; padding: 4px 12px; font-size: .9375rem; }
    .tbl-near td:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; }
  }

  /* Property Brief: short by default, details folded */
  .more { border: 1px solid var(--petrol-line); border-radius: var(--r); padding: 0 16px; }
  .more summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font: 600 1.0625rem var(--sans); }
  .more summary::-webkit-details-marker { display: none; }
  .more summary span { font: 400 .875rem var(--sans); color: var(--muted-d); }
  .more summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--brass-hi); transition: transform .25s var(--ease); }
  .more[open] summary::after { transform: rotate(45deg); }
  .more-in { display: grid; gap: 20px; padding-bottom: 18px; }
  .more::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
  .more[open]::details-content { block-size: auto; }

  /* range slider: a thumb you can actually hold */
  input[type=range]::-webkit-slider-thumb { width: 30px; height: 30px; }
  input[type=range]::-moz-range-thumb { width: 30px; height: 30px; }

  /* ================= Ruang Bicara ================= */
  .page-chat .mbar { display: none; }
  .page-chat { padding-bottom: 0; }
  .rb { padding-bottom: 40px; }
  .rb-head { padding-block: 28px 14px; }
  .rb-head h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
  .rb-app { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
  .rb-net { font-size: .9375rem; line-height: 1.45; color: var(--sage-ink); background: var(--sage-soft); border-radius: 12px; padding: 10px 14px; }
  .rb-net.is-off { background: #FBEBDD; color: #6B3A16; }
  .rb-log { display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: min(52dvh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 14px 4px; scroll-padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; line-height: 1.5; font-size: 1.0625rem; }
  .msg p { margin: 0; }
  .msg a { display: inline-block; margin-top: 8px; font-weight: 600; color: inherit; }
  .msg small { display: block; font-size: .78rem; opacity: .72; margin-top: 4px; }
  .msg-me { align-self: flex-end; background: var(--petrol); color: var(--ivory); border-bottom-right-radius: 6px; }
  .msg-me.is-pending { opacity: .72; }
  .msg-them { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
  .msg-quick { align-self: flex-start; background: var(--sage-soft); color: var(--ink); border-bottom-left-radius: 6px; }
  .msg-sys { align-self: center; text-align: center; font: italic 400 1.0625rem/1.5 var(--serif); color: var(--muted); max-width: 40ch; padding: 4px 8px; }
  .rb-typing { display: flex; align-items: center; gap: 10px; font: italic 400 1rem var(--serif); color: var(--muted); padding-left: 4px; }
  .dots { display: inline-flex; gap: 4px; }
  .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
  .rb-topics { display: flex; flex-wrap: wrap; gap: 8px; }
  .topic { min-height: 50px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 600 1rem/1.2 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; }
  .topic:hover { border-color: var(--petrol); }
  .topic.is-asked { background: var(--sage-soft); border-color: var(--sage); }
  .topic-other { border-style: dashed; color: var(--sage-ink); }
  .rb-composer { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 28px; background: var(--paper); border: 1.5px solid var(--line); box-shadow: 0 12px 30px -16px rgb(16 32 29 / .35); transition: border-color .2s, box-shadow .2s; }
  .rb-composer:focus-within { border-color: var(--sage); box-shadow: 0 0 0 4px rgb(120 154 144 / .18), 0 12px 30px -16px rgb(16 32 29 / .35); }
  .rb-composer textarea { flex: 1; min-height: 44px; max-height: 160px; padding: 11px 0; border: 0; outline: 0; background: transparent; resize: none; font: 400 1.0625rem/1.45 var(--sans); field-sizing: content; caret-color: var(--sage-ink); }
  .rb-composer textarea:focus { outline: 0; }
  .rb-send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--petrol); color: var(--ivory); cursor: pointer; transition: transform .15s var(--ease), background .2s; }
  .rb-send svg { width: 22px; height: 22px; }
  .rb-composer:has(textarea:placeholder-shown) .rb-send { background: var(--line); color: var(--muted); }
  .rb-name { display: grid; gap: 6px; }
  .rb-name label { font: 600 .9375rem var(--sans); }
  .rb-status { font-size: .9375rem; color: var(--muted); min-height: 1.3em; }
  .rb-aside { max-width: 760px; margin-top: 36px; display: grid; gap: 14px; }
}

@layer motion {
  @media (prefers-reduced-motion: no-preference) {
    .msg { animation: msg-in .22s var(--ease) both; }
    .dots i { animation: dot 1.2s infinite ease-in-out; }
    .dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
    .rb-composer:not([hidden]) { animation: rise .3s var(--ease) both; }
  }
  @keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
}
@layer components {
  .brand { min-height: 44px; align-content: center; }
  @media (max-width: 400px) {
    .hdr-in { gap: 10px; }
    .brand-word { font-size: 1.45rem; }
    .hdr-wa { width: 46px; padding: 0; }
    .hdr-wa .lbl { display: none; }
    .hdr-wa .i { width: 1.5em; height: 1.5em; }
    .menu-btn { padding: 0 14px; }
    .mbar a { font-size: .875rem; padding-inline: 4px; }
  }
}
@layer components {
  .more summary { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; padding-block: 10px; }
  .more summary span { grid-column: 1; display: block; }
  .more summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  @media (max-width: 640px) { main > .crumbs:has(+ .hero) { display: none; } }
}
