/* ============================================================
   LENTOR GARDENS RESIDENCES — landing page styles
   Tokens first, then base, then components, then sections.
   ============================================================ */

:root {
  /* Colour */
  --ink:        #15120D;
  --ink-2:      #2A2520;
  --ink-3:      #0F0D09;
  --ink-soft:   #4A4439;
  --muted:      #6E6657;
  --paper:      #FFFFFF;
  --paper-2:    #F8F8F6;
  --paper-3:    #F0EFEC;
  --gold:       #B0863A;
  --gold-2:     #CDA763;
  --gold-deep:  #8A6727;
  --forest:     #33402E;
  --forest-2:   #4C5C41;
  --error:      #b4452f;
  --line:       rgba(21, 18, 13, 0.12);
  --line-light: rgba(246, 241, 232, 0.18);
  --white:      #ffffff;
  --white-92:   rgba(255,255,255,.92);
  --white-90:   rgba(255,255,255,.9);
  --white-78:   rgba(255,255,255,.78);
  --white-50:   rgba(255,255,255,.5);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --container: 1200px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(21,18,13,.06);
  --shadow-md: 0 14px 40px rgba(21,18,13,.12);
  --shadow-lg: 0 30px 70px rgba(21,18,13,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul,ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-weight: 600; font-size: .94rem; letter-spacing: .02em;
  border: 1px solid transparent; transition: transform .18s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-gold { background: var(--gold); color: var(--ink-3); box-shadow: 0 8px 22px rgba(176,134,58,.32); }
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 10px 26px rgba(138,103,39,.4); }
.btn-dark { background: var(--ink); color: var(--paper-2); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--white-50); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background .35s var(--ease), box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
/* 601×136 natural size → 52px tall = 230px wide */
.brand-logo { display: block; height: 52px; width: 230px; object-fit: contain; object-position: left center; }
.brand-logo--dark { display: none; }

/* scrolled state swaps to dark logo */
.site-header.scrolled .brand-logo--light { display: none; }
.site-header.scrolled .brand-logo--dark  { display: block; }

.nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: fixed; inset: 76px 0 auto 0;
  background: var(--paper-2); padding: 8px 22px 22px;
  box-shadow: var(--shadow-md);
  transform: translateY(-130%); transition: transform .4s var(--ease);
}
.nav.open { transform: translateY(0); }
.nav a { color: var(--ink-soft); font-size: .9rem; font-weight: 500; transition: color .2s; position: relative; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nav a:not(.nav-cta)::after { content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:0; background: var(--gold-2); transition: width .25s var(--ease); display: none; }
.nav a:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; border-radius: 2px; }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav a.is-active:not(.nav-cta) { color: var(--gold-deep); }
.nav-cta { padding: 9px 44px; border: none; border-radius: var(--r-sm); color: var(--ink-soft); text-align: center; margin-top: 12px; }
.nav-cta:hover { background: var(--gold); color: var(--ink-3); }

/* scrolled state */
.site-header.scrolled { background: var(--paper-2); box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .nav a { color: var(--ink-soft); }
.site-header.scrolled .nav-cta { color: var(--ink-3); background: var(--gold); border-color: var(--gold); }
.site-header.scrolled .nav-cta:hover { background: var(--gold-deep); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; }
.nav-toggle:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; border-radius: var(--r-sm); }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,9,6,.42) 0%, rgba(10,9,6,0) 28%),
  linear-gradient(0deg, rgba(8,7,4,.86) 4%, rgba(8,7,4,.32) 38%, rgba(8,7,4,0) 64%); }
.hero-content { position: relative; padding-bottom: 90px; padding-top: 120px; }
.hero-eyebrow { font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 18px; }
.hero-title { font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 600; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-lede { max-width: 540px; font-size: 1.12rem; color: var(--white-90); margin-top: 18px; }

.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); font-size: .86rem; font-weight: 500; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(205,167,99,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(205,167,99,.6);} 70%{box-shadow:0 0 0 9px rgba(205,167,99,0);} 100%{box-shadow:0 0 0 0 rgba(205,167,99,0);} }
.hero-pill .countdown { color: var(--gold-2); font-weight: 600; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.28); }

.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-chips li { font-size: .9rem; color: var(--white-78); }
.hero-chips strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--white); font-weight: 600; line-height: 1; margin-bottom: 3px; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; z-index: 3; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--white); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0);} 40%{opacity:1;} 80%{opacity:0;transform:translateY(12px);} 100%{opacity:0;} }

/* ---------- Stats strip ---------- */
.stats { background: var(--ink); color: var(--paper); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.stat { padding: 38px 18px; text-align: center; border-bottom: 1px solid rgba(246,241,232,.1); }
.stat:nth-child(odd) { border-right: 1px solid rgba(246,241,232,.1); }
.stat:last-child { grid-column: 1 / -1; border-right: none; border-bottom: none; }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.9rem; font-weight: 600; color: var(--gold-2); line-height: 1; }
.stat-num small { font-size: 1.3rem; }
.stat-label { display: block; font-size: .82rem; color: rgba(246,241,232,.66); margin-top: 10px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.overline { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.section-intro { font-size: 1.12rem; color: var(--ink-soft); margin-top: 18px; }
.section-intro strong { color: var(--ink); }

/* ---------- Opportunity ---------- */
.opp-points { display: flex; flex-direction: column; gap: 22px; }
.opp-points--full { margin-top: 0; }
.opp-point { display: flex; gap: 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; transition: box-shadow .25s, transform .25s; }
.section.alt .opp-point { background: var(--paper); }
.opp-point:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.opp-fig { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--gold-deep); line-height: 1; flex-shrink: 0; min-width: 86px; }
.opp-point h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.opp-point p { margin: 0; font-size: .94rem; color: var(--muted); }

/* timeline */
.timeline-wrap { margin-top: 72px; }
.timeline-title { font-size: 1.6rem; margin-bottom: 34px; text-align: center; }
.chart-caption { font-size: .78rem; color: var(--muted); text-align: center; margin: -20px 0 24px; }
.timeline { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--gold) 90%); }
.timeline li { position: relative; padding: 6px 0 24px 34px; text-align: left; }
.tl-dot { position: absolute; top: 8px; left: 7px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--gold); z-index: 2; }
.section:not(.alt) .tl-dot { background: var(--paper); }
.tl-now .tl-dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(176,134,58,.18); }
.tl-card { display: flex; flex-direction: column; gap: 4px; }
.tl-date { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.tl-card strong { font-size: .92rem; line-height: 1.2; }
.tl-meta { font-size: .78rem; color: var(--muted); }
.tl-now .tl-card strong { color: var(--gold-deep); }

/* ---------- Location ---------- */
.pano { margin: 0 0 54px; }
.pano img { width: 100%; height: auto; display: block; }
.pano figcaption, figure figcaption { font-size: .76rem; color: var(--muted); padding: 10px 22px 0; text-align: center; }
.tabs { max-width: 880px; margin-inline: auto; }
.tab-buttons { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { background: none; border: none; padding: 14px 20px; font-size: .96rem; font-weight: 600; color: var(--muted); position: relative; transition: color .2s; }
.tab-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.tab-btn::after { content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:2.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.tab-btn:hover:not(.is-active) { color: var(--ink-soft); }
.tab-btn.is-active { color: var(--ink); }
.tab-btn.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; animation: fade .4s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.info-list { display: grid; grid-template-columns: 1fr; gap: 2px 40px; }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.il-key { font-weight: 600; }
.il-val { color: var(--muted); text-align: right; font-size: .92rem; }

/* ---------- Facilities ---------- */
.fac-feature { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.fac-main { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.fac-main img { width: 100%; }
.fac-main figcaption { background: var(--ink); color: rgba(246,241,232,.6); text-align: right; padding: 8px 16px; }
.fac-list h3 { font-size: 1.5rem; margin-bottom: 18px; }
.fac-list ul { display: flex; flex-direction: column; gap: 0; }
.fac-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .98rem; }
.fac-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; border: 1.5px solid var(--gold); border-radius: 50%; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 10px; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { background: var(--paper-2); padding: 12px; font-weight: 500; color: var(--ink-soft); }

/* ---------- Site plan ---------- */
.siteplan-fig { margin: 0; }
.zoomable { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); overflow: hidden; position: relative; }
.zoomable img { width: 100%; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; background: rgba(21,18,13,.82); color: var(--white); font-size: .76rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; letter-spacing: .03em; }
.zoomable:hover { border-color: var(--gold); }
.zoomable:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.siteplan-fig .zoomable { box-shadow: var(--shadow-md); }

/* ---------- Units ---------- */
.mix-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 64px; }
.mix-card { background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r-md); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s, box-shadow .25s; }
.section:not(.alt) .mix-card { background: var(--paper-2); }
.mix-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mix-type { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.mix-count { font-weight: 700; color: var(--gold-deep); }
.mix-size { color: var(--muted); font-size: .92rem; }
.mix-share { margin-top: 8px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.mix-rare { border-top-color: var(--forest); }
.mix-rare .mix-count, .mix-rare .mix-share { color: var(--forest-2); }


/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.section.alt .price-table { background: var(--white); }
.price-table th { background: var(--ink); color: var(--paper); text-align: left; padding: 16px 22px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.price-table td { padding: 16px 22px; border-top: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: rgba(176,134,58,.05); }
.price-table td:last-child { font-weight: 700; color: var(--gold-deep); font-family: var(--font-display); font-size: 1.1rem; }
.price-aside { display: flex; flex-direction: column; gap: 16px; }
.pa-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-sm); padding: 22px; }
.section.alt .pa-card { background: var(--white); }
.pa-card h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pa-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.fineprint { margin-top: 28px; font-size: .8rem; color: var(--muted); font-style: italic; }

/* ---------- Stamp Duties ---------- */
.sd-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
.sd-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.stamp-duty.alt .sd-card { background: var(--white); }
.sd-card h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.sd-sub { font-size: .8rem; color: var(--muted); margin: 0 0 16px; }
.sd-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sd-table th { background: var(--ink); color: var(--paper); text-align: left; padding: 10px 14px; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.sd-table td { padding: 10px 14px; border-top: 1px solid var(--line); }
.sd-table tbody tr:nth-child(even) { background: rgba(176,134,58,.04); }
.sd-nil { color: var(--forest-2); font-weight: 700; }
.sd-high { color: var(--error); font-weight: 700; }
.sd-example { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.sd-notes { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
.sd-note-item { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-sm); padding: 20px; }
.stamp-duty.alt .sd-note-item { background: var(--white); }
.sd-note-item h4 { font-family: var(--font-sans); font-size: .96rem; font-weight: 700; margin-bottom: 8px; }
.sd-note-item p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ---------- Stamp Duty — Story Mode ---------- */
.story-scenario { background: var(--paper-2); border-left: 4px solid var(--gold); border-radius: var(--r-md); padding: 28px 32px; margin-bottom: 52px; }
.story-eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); margin-bottom: 10px; }
.story-scenario h3 { font-size: 1.35rem; margin-bottom: 16px; }
.story-scenario p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 10px; line-height: 1.65; }
.story-scenario p:last-child { margin-bottom: 0; }

.story-block { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
.story-text h3 { font-size: 1.2rem; margin-bottom: 14px; }
.story-text p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.65; }
.story-text p:last-child { margin-bottom: 0; }
.story-text a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.story-text a:hover { color: var(--gold); }
.story-text a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.authority-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.authority-link { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.authority-link:hover { color: var(--gold); }
.authority-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.story-calc-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; align-self: start; }
.scc-heading { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.scc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.scc-pass { border-bottom: none; }
.scc-row span { color: var(--ink-soft); }
.scc-row strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); text-align: right; }
.scc-sub span { padding-left: 14px; font-size: .84rem; }
.scc-sub strong { font-size: .9rem; color: var(--muted); }
.scc-total { border-top: 2px solid var(--line); border-bottom: none !important; margin-top: 4px; padding-top: 12px; }
.scc-total strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-deep); }
.scc-pass strong { color: var(--forest-2); }
.scc-note { font-size: .76rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }

.story-absd-block { display: flex; flex-direction: column; gap: 20px; align-self: start; }
.absd-rate-box { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(176,134,58,.06); border: 2px solid var(--gold); border-radius: var(--r-md); padding: 22px; text-align: center; gap: 5px; }
.absd-profile { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.absd-rate { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--gold-deep); line-height: 1; }
.absd-nil { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-2); }
.absd-ref-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.absd-ref-table caption { font-size: .76rem; color: var(--muted); text-align: left; padding-bottom: 8px; }
.absd-ref-table th { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.absd-ref-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.absd-ref-table th:not(:first-child), .absd-ref-table td:not(:first-child) { text-align: right; }
.absd-highlight td { background: rgba(176,134,58,.05); color: var(--ink); font-weight: 500; }
.absd-ref-table tbody tr:last-child td { border-bottom: none; }

.story-day1 { background: var(--ink); border-radius: var(--r-lg); padding: 36px 32px; margin-bottom: 52px; }
.story-day1 h3 { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); margin-bottom: 28px; }
.day1-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.day1-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(246,241,232,.1); }
.day1-item:last-child { border-bottom: none; }
.day1-label { font-size: .82rem; color: var(--white-78); }
.day1-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); text-align: right; flex-shrink: 0; }
.day1-value--gold { color: var(--gold-2); }
.day1-note { font-size: .76rem; color: var(--white-50); margin: 24px 0 0; line-height: 1.55; }

/* bank rate rows inside story-calc-card */
.scc-section-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); margin: 16px 0 8px; }
.bank-rate-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.bank-rate-row:last-of-type { border-bottom: none; }
.br-bank { font-weight: 600; color: var(--ink-soft); flex: 0 0 56px; }
.br-rate { color: var(--muted); flex: 1; }
.br-monthly { font-family: var(--font-display); font-size: 1rem; color: var(--gold-deep); white-space: nowrap; }

/* Financing disclaimer */
.financing-disclaimer { background: var(--paper-3); border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: var(--r-sm); padding: 18px 22px; margin-bottom: 52px; }
.financing-disclaimer p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.65; }
.financing-disclaimer strong { color: var(--ink-soft); }

/* Purchase timeline */
.ptl-wrap { margin-bottom: 52px; padding-top: 52px; border-top: 1px solid var(--line); }
.ptl-title { font-size: 1.6rem; margin-bottom: 10px; }
.ptl-sub { font-size: .94rem; color: var(--muted); margin-bottom: 36px; }
.ptl-list { list-style: none; display: flex; flex-direction: column; gap: 0; position: relative; padding: 0; margin: 0; }
.ptl-list::before { content: ""; position: absolute; left: 17px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--line)); z-index: 0; }
.ptl-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.ptl-item:last-child { padding-bottom: 0; }
.ptl-item--wait { opacity: .75; }
.ptl-marker { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; }
.section.alt .ptl-marker { background: var(--paper-2); }
.ptl-marker--gold { background: var(--gold); border-color: var(--gold); }
.ptl-marker--wait { background: var(--paper-3); border-color: var(--line); border-style: dashed; }
.section.alt .ptl-marker--wait { background: var(--paper-3); }
.ptl-num { font-size: .78rem; font-weight: 700; color: var(--gold-deep); }
.ptl-marker--gold .ptl-num { color: var(--white); }
.ptl-wait-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ptl-body { padding-top: 7px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ptl-body strong { font-size: .98rem; font-family: var(--font-sans); color: var(--ink); }
.ptl-wait-text { color: var(--muted) !important; font-style: italic; }
.ptl-meta { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.ptl-stages { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.ptl-stages li { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: var(--paper-3); border-radius: var(--r-sm); font-size: .82rem; }
.section.alt .ptl-stages li { background: var(--paper-2); border: 1px solid var(--line); }
.ptl-stages li span:last-child { font-weight: 700; color: var(--gold-deep); }
.ptl-note { font-size: .76rem; color: var(--muted); margin-top: 24px; line-height: 1.6; font-style: italic; }

@media (min-width: 860px) {
  .story-block { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .ptl-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
}


/* ---------- Developer ---------- */
.dev-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.dev-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.dev-body h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 6px 0 18px; }
.dev-body > p { color: var(--ink-soft); }
.dev-stats { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 30px 0; padding: 26px 0; border-block: 1px solid var(--line); }
.ds-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.ds-label { display: block; font-size: .82rem; color: var(--muted); margin-top: 8px; }
.dev-note { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Register ---------- */
.register { background: var(--ink); color: var(--paper); }
.register .overline { color: var(--gold-2); }
.reg-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.reg-intro h2 { color: var(--white); font-size: clamp(2.2rem,4vw,3rem); margin: 6px 0 14px; }
.reg-intro > p { color: rgba(246,241,232,.78); max-width: 440px; }
.reg-events { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.reg-event { background: rgba(246,241,232,.06); border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 18px 22px; }
.re-tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-bottom: 6px; }
.reg-event strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.reg-event span { font-size: .9rem; color: rgba(246,241,232,.7); }
.reg-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.reg-photo img { width: 100%; height: 200px; object-fit: cover; }
.reg-photo figcaption { color: rgba(246,241,232,.55); text-align: left; }

.reg-form { background: var(--paper-2); color: var(--ink); border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1fr; gap: 18px; box-shadow: var(--shadow-lg); align-content: start; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .96rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:not(:placeholder-shown), .field textarea:not(:placeholder-shown) { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,134,58,.16); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180,69,47,.14); }
.field.is-error label { color: var(--error); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--paper-3); color: var(--muted); cursor: not-allowed; opacity: .7; }
.field textarea { resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.reg-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-direction: column; }
.reg-actions .btn { flex: 1; min-width: 150px; }
.form-status { grid-column: 1/-1; margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--forest-2); }
.form-status.err { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-3); color: rgba(246,241,232,.7); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(246,241,232,.12); }
.foot-brand .brand-name { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); }
.foot-brand p { margin-top: 12px; font-size: .9rem; max-width: 320px; }
.foot-facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.foot-facts div { display: flex; flex-direction: column; gap: 3px; }
.foot-facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.foot-facts dd { margin: 0; font-size: .94rem; color: rgba(246,241,232,.85); }
.foot-cea { padding: 24px 0; border-bottom: 1px solid rgba(246,241,232,.1); margin-top: 0; }
.foot-cea .cea-line { font-size: .82rem; color: rgba(246,241,232,.75); margin: 0 0 4px; }
.foot-cea .cea-note { font-size: .76rem; color: rgba(246,241,232,.5); margin: 10px 0 0; line-height: 1.6; }
.foot-legal { padding-top: 26px; }
.foot-legal p { font-size: .76rem; line-height: 1.7; color: rgba(246,241,232,.5); margin: 0 0 10px; }
.foot-legal .copy { color: rgba(246,241,232,.4); }
.pdpa-note { font-size: .76rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8,7,4,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-width: 95vw; max-height: 92vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 18px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); color: var(--white); font-size: 2rem; line-height: 1; }
.lb-close:hover { background: rgba(255,255,255,.15); }
.lb-close:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Cookie banner ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; background: var(--ink-2); color: rgba(246,241,232,.85); padding: 18px 24px 80px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; box-shadow: 0 -4px 24px rgba(0,0,0,.25); }
.cookie-bar p { margin: 0; font-size: .84rem; line-height: 1.6; flex: 1; }
.cookie-link { color: var(--gold-2); text-decoration: underline; }
.cookie-actions { flex-shrink: 0; }
.cookie-bar.hidden { display: none; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; display: block; text-align: center; padding: 16px; background: var(--gold); color: var(--ink-3); font-weight: 700; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }

/* ---------- Reveal animation ---------- */
/* Hidden state is gated behind .js so content is always visible if JS fails. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — mobile-first
   Base styles above target ≤ 559 px.
   Each breakpoint adds layout for progressively wider screens.
   ============================================================ */

@media (min-width: 560px) {
  .cookie-bar { flex-direction: row; align-items: center; gap: 24px; padding-bottom: 18px; }
  .hero-content { padding-bottom: 64px; }
  .hero-chips strong { font-size: 1.7rem; }
  .mix-grid { grid-template-columns: repeat(2, 1fr); }
.reg-form { grid-template-columns: 1fr 1fr; padding: 48px; }
  .dev-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .foot-facts { grid-template-columns: 1fr 1fr; gap: 16px 40px; }
  .reg-actions { flex-direction: row; }
}

@media (min-width: 860px) {
  .nav {
    position: static;
    flex-direction: row; align-items: center; gap: 28px;
    background: none; padding: 0; box-shadow: none;
    transform: none; transition: none;
  }
  .nav a { color: var(--white-92); padding: 0; border-bottom: none; }
  .nav a:not(.nav-cta)::after { display: block; }
  .nav-cta { text-align: left; margin-top: 0; border: 1px solid var(--gold-2); color: var(--white); }
  .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink-3); }
  .nav a.is-active:not(.nav-cta) { color: var(--gold-2); }
  .site-header.scrolled .nav a { color: var(--ink-soft); }
  .site-header.scrolled .nav a.is-active:not(.nav-cta) { color: var(--gold-deep); }
  .site-header.scrolled .nav-cta { color: var(--ink-3); background: var(--gold); border-color: var(--gold); }
  .nav-toggle { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mix-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .info-list { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  .section { padding: 96px 0; }
}

@media (min-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .stat { border-bottom: none; border-right: 1px solid rgba(246,241,232,.1); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(246,241,232,.1); }
  .stat:last-child { grid-column: auto; border-right: none; }
  .opp-points--full { flex-direction: row; flex-wrap: wrap; }
  .opp-points--full .opp-point { flex: 1 1 calc(50% - 11px); }
  .price-grid { grid-template-columns: 1.4fr 1fr; }
  .fac-feature { grid-template-columns: 1.6fr 1fr; gap: 36px; }
  .dev-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
  .reg-grid { grid-template-columns: 1fr 1fr; gap: 54px; }
  .footer-grid { grid-template-columns: 1fr 1.4fr; }
  .sd-grid { grid-template-columns: 1fr 1fr; }
  .sd-notes { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(7, 1fr); }
  .timeline::before { left: 7%; right: 7%; top: 7px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--line), var(--gold) 90%); }
  .timeline li { text-align: center; padding: 28px 10px 0; }
  .tl-dot { left: 50%; transform: translateX(-50%); top: 0; }
  .mix-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
