.serif { font-family: var(--font-display); }
html:not(.sold-out) [data-stock="out"], html.sold-out [data-stock="in"] { display: none !important; }
/* Set by the head script when the page is rendered in the other language; render() clears it after the swap. */
html.lang-swap [data-en][data-es] { visibility: hidden; }

/* NAV */
html { scroll-padding-top: var(--space-24); scroll-behavior: smooth; }
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--teal) 10%, transparent);
  padding: var(--space-4) 0;
}
nav.top .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand small { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--text-xs); margin-top: var(--space-1); letter-spacing: 0; font-family: var(--font-body); }
nav.top .links { display: flex; gap: var(--space-5); }
nav.top .links a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
nav.top .links a:hover { color: var(--teal); }
nav.top .links a[aria-current="location"] { color: var(--teal); box-shadow: inset 0 -2px var(--warm-strong); }
nav.top .links .nav-account, nav.top .links .lang-in-menu { display: none; }
nav.top .links .lang-in-menu a[aria-current="true"] { color: var(--cream); }
.nav-account-icon svg { width: 18px; height: 18px; }
.nav-actions { display: flex; gap: var(--space-2); align-items: center; }
.lang-toggle { display: inline-flex; border: 1px solid color-mix(in srgb, var(--teal) 20%, transparent); border-radius: 6px; overflow: hidden; font-family: var(--font-mono); font-size: var(--text-xs); }
.lang-toggle a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding: 0 var(--space-2); color: var(--ink-2); text-decoration: none; }
.lang-toggle a:hover { color: var(--teal); background: color-mix(in srgb, var(--teal) 8%, transparent); }
.lang-toggle a[aria-current="true"] { background: var(--teal); color: var(--cream); font-weight: 700; }
.nav-menu { display: none; }
.fab-wa { display: inline-flex; position: fixed; z-index: 60; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(var(--space-4) + var(--dock-h, env(safe-area-inset-bottom))); align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-radius: 999px; background: var(--teal); color: var(--cream); font-weight: 600; font-size: var(--text-base); text-decoration: none; border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); box-shadow: 0 6px 20px color-mix(in srgb, var(--teal-2) 35%, transparent); }
.fab-wa svg { width: 22px; height: 22px; }
.fab-wa { transition: opacity 0.2s, visibility 0.2s; }
.fab-wa.is-hidden, .consent-open .fab-wa { opacity: 0; visibility: hidden; }
.hero :focus-visible, .lots :focus-visible, footer :focus-visible, .skip-link:focus-visible { outline-color: var(--cream); }

/* HERO */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/images/hero.jpg');
  background-image: image-set(url('/images/hero-2000.webp') type('image/webp'), url('/images/hero.jpg') type('image/jpeg'));
  background-size: cover; background-position: center;
  filter: brightness(0.68) saturate(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--teal) 60%, transparent) 0%, color-mix(in srgb, var(--teal) 80%, transparent) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: var(--cream);
  padding: var(--space-24) var(--space-6) var(--space-20);
  display: grid; gap: var(--space-8); align-items: center;
}
/* A real lot card next to the pitch on desktop; below the stats on tablets and phones. */
.hero-preview { max-width: 340px; }
.hero-preview-title { font-family: var(--font-mono); font-weight: 400; font-size: var(--text-sm); letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream); margin-bottom: var(--space-3); }
.hero-preview-card .lot-pick { background: color-mix(in srgb, var(--teal-2) 75%, transparent); }
.hero-preview-note { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--cream); }
@media (min-width: 1024px) {
  .hero-content { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main preview" "stats preview"; column-gap: var(--space-12); row-gap: 0; }
  .hero-main { grid-area: main; }
  .hero-preview { grid-area: preview; }
  .hero-stats { grid-area: stats; margin-top: var(--space-12); }
}
.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm); letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: var(--space-5); text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display-xl);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  max-width: 900px;
}
.hero h1 em { font-style: italic; color: var(--cream); }
.hero p.lead {
  font-size: var(--text-lg);
  color: var(--cream);
  max-width: 620px;
  margin-bottom: var(--space-10);
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--cream) 25%, transparent);
}
.hero-stats .item { color: var(--cream); }
.hero-stats .num {
  font-family: var(--font-display);
  font-size: var(--text-3xl); font-weight: 400;
  line-height: 1;
}
.hero-stats .lbl {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 2px color-mix(in srgb, var(--teal-2) 60%, transparent);
  margin-top: var(--space-1);
}

/* SECTION */
section { padding: var(--space-20) 0; }
.section-head { max-width: 720px; margin-bottom: var(--space-12); }
.section-head .label, .contact-box .label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-strong);
  margin-bottom: var(--space-4);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display-lg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal);
}
.section-head h2 em { font-style: italic; }
.section-head .sub {
  font-size: var(--text-lg);
  color: var(--ink-2);
  max-width: 540px;
  margin-top: var(--space-4);
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-16); align-items: start; }
.about p { color: var(--ink-2); margin-bottom: var(--space-5); font-size: var(--text-lg); }
.about p strong { color: var(--ink); font-weight: 600; }
.about-side {
  background: var(--white);
  border-radius: 16px;
  padding: var(--space-8);
  border: 1px solid var(--line);
}
.about-side h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--teal);
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}
.about-side ul { list-style: none; display: grid; gap: var(--space-3); }
.about-side li { display: flex; align-items: baseline; gap: var(--space-3); font-size: var(--text-base); color: var(--ink-2); }
.about-side li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); transform: translateY(-0.2em); }
.about-side li strong { color: var(--ink); font-weight: 600; }
/* The link keeps its line height and gets a 44 px tap area from padding the margin takes back. */
.about-side a { display: inline-block; padding: var(--space-3) 0; margin: calc(-1 * var(--space-3)) 0; color: var(--teal); font-weight: 600; }

/* WHY OMOA */
.surface { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-12); }
.why-card {
  background: var(--cream);
  border-radius: 16px;
  padding: var(--space-8) var(--space-6);
}
.why-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
}
.ico svg { width: 24px; height: 24px; }
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--teal);
  margin-bottom: var(--space-3);
}
.why-card p { color: var(--ink-2); font-size: var(--text-base); }
.why-card .source { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: var(--space-1); font-size: var(--text-sm); font-weight: 600; color: var(--teal); }
.faq { margin-top: var(--space-10); max-width: 76ch; }
.faq details { border-top: 1px solid var(--line); padding: var(--space-4) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--text-base); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--tap); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { flex-shrink: 0; width: 20px; height: 20px; color: var(--warm-strong); transition: transform 0.2s; }
.faq details[open] .faq-ico { transform: rotate(45deg); }
.faq details p { margin: var(--space-3) 0 0; color: var(--ink-2); }

/* HOW TO BUY */
.steps-section { background: var(--sand); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.steps li { position: relative; padding-top: var(--space-16); }
.steps li:not(:last-child)::before { content: ''; position: absolute; top: 1.25rem; left: 3.25rem; right: -1.25rem; height: 2px; background: var(--warm); opacity: 0.45; }
.step-n { position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--warm-strong); color: var(--cream); font-family: var(--font-display); font-size: var(--text-xl); }
.steps h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); color: var(--teal); margin-bottom: var(--space-2); }
.steps p { color: var(--ink-2); font-size: var(--text-base); }

/* LOTS PREVIEW */
.lots {
  background: var(--teal);
  color: var(--cream);
  border-radius: 24px;
  padding: var(--space-16) var(--space-12);
  margin: var(--space-16) 0;
  text-align: center;
}
.lots h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display-lg);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.lots h2 em { font-style: italic; color: var(--cream); }
.lots > p { max-width: 540px; margin: 0 auto var(--space-10); color: color-mix(in srgb, var(--cream) 85%, transparent); }
.lots-status {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: color-mix(in srgb, var(--cream) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--cream);
}
.lots-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.lots-status.sold .dot { background: var(--warm); box-shadow: none; }
.lot-picks { margin: 0 auto var(--space-4); max-width: 920px; }
.lot-picks h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.lot-picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.lot-pick { position: relative; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); text-align: left; border-radius: 14px; background: color-mix(in srgb, var(--cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); color: var(--cream); transition: border-color 0.15s, background 0.15s, opacity 0.15s; }
.lot-pick:hover, .lot-pick:focus-within { background: color-mix(in srgb, var(--cream) 14%, transparent); border-color: var(--cream); }
.lot-pick .lp-name { font-weight: 600; }
.lot-pick .lp-size, .lot-pick .lp-down { font-size: var(--text-sm); color: color-mix(in srgb, var(--cream) 90%, transparent); }
.lot-pick .lp-price { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.2; }
.lp-plans { display: grid; gap: var(--space-1); margin: var(--space-2) 0 var(--space-1); padding-top: var(--space-2); border-top: 1px solid color-mix(in srgb, var(--cream) 25%, transparent); font-size: var(--text-sm); }
.lp-plans div { display: flex; justify-content: space-between; gap: var(--space-2); }
.lp-plans dd { font-variant-numeric: tabular-nums; font-weight: 600; }
.lot-pick .lp-link { margin-top: auto; padding-top: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--cream); }
/* The whole card is the link's tap target; the plan figures stay plain text. */
.lot-pick .lp-link::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.lot-pick .lp-link:focus-visible { outline: none; }
.lot-pick .lp-link:focus-visible::after { outline: 2px solid var(--cream); outline-offset: 3px; }
.lots-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.lots-3d { margin: var(--space-6) 0 0; font-size: var(--text-base); }
.lots-glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2) var(--space-6); max-width: 920px; margin: calc(-1 * var(--space-4)) auto var(--space-8); padding: var(--space-5) var(--space-6); text-align: left; font-size: var(--text-sm); border-radius: 14px; background: color-mix(in srgb, var(--cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); }
.lots-glossary dt { font-weight: 600; }
.lots-glossary dd { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.lot-calc { display: grid; justify-items: center; gap: var(--space-2); max-width: 420px; margin: var(--space-6) auto 0; }
.lot-calc label { font-weight: 600; font-size: var(--text-base); }
.lot-calc .control:focus-visible { outline-color: var(--cream); }
.lot-calc-card { width: 100%; max-width: 300px; }
.lot-calc-card:empty { display: none; }
.lots-3d a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--cream); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: var(--space-4);
}
.gallery-grid > div { position: relative; overflow: hidden; border-radius: 12px; background: var(--teal); }
.shot-tag { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: var(--space-1) var(--space-2); border-radius: 999px; background: color-mix(in srgb, var(--teal-2) 85%, transparent); color: var(--cream); font-size: var(--text-xs); font-weight: 600; }
.gallery-grid > div:first-child { grid-row: span 2; }
.gallery-grid > div:last-child { grid-column: span 2; }
.gallery-grid picture { display: block; width: 100%; height: 100%; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-grid > div:hover img { transform: scale(1.04); }

/* CONTACT */
.contact { background: var(--sand); }
.contact-box {
  background: var(--white);
  border-radius: 24px;
  padding: var(--space-12);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.contact-box h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-display-md);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-bottom: var(--space-4);
}
.contact-box p { color: var(--ink-2); margin-bottom: var(--space-6); }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.contact-channels { display: grid; gap: var(--space-3); }
.contact-channel {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--cream);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 0.15s;
}
.contact-channel:hover { border-color: var(--teal); }
.contact-channel .ico {
  width: 38px; height: 38px;
  background: var(--teal);
  color: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel .ico svg { width: 20px; height: 20px; }
.contact-channel .lbl { font-size: var(--text-xs); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-channel .val { font-weight: 600; font-size: var(--text-base); }
.contact-channel .hours { font-size: var(--text-xs); color: var(--ink-2); }
.lead-box { margin-top: var(--space-6); align-items: start; }
.lead-form { display: grid; gap: var(--space-4); }
.lead-form p { margin: 0; }
.field { display: grid; gap: var(--space-1); }
.field label { font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
/* Off screen for people, left in the form for bots that fill every field. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--danger); font-weight: 700; }
.req-note { font-size: var(--text-sm); color: var(--ink-2); }
.field-err { font-size: var(--text-sm); color: var(--danger); }
.lead-form .btn { justify-self: start; }
.lead-form .btn[disabled] { opacity: 0.85; cursor: progress; }
.spinner { display: none; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
[aria-busy="true"] > .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.lead-status:empty { display: none; }
.lead-status a, .lead-form .fine a { color: var(--teal); font-weight: 600; }

/* FOOTER */
footer { padding: var(--space-12) 0 calc(var(--space-24) + env(safe-area-inset-bottom)); background: var(--teal); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-8); }
footer h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-base); margin-bottom: var(--space-4); color: var(--cream); }
footer ul { list-style: none; }
footer li { padding: var(--space-1) 0; font-size: var(--text-sm); color: color-mix(in srgb, var(--cream) 75%, transparent); }
footer a { color: inherit; text-decoration: none; }
footer li > a { display: inline-flex; align-items: center; min-height: var(--tap); margin: calc(-1 * var(--space-1)) 0; }
footer a:hover { color: var(--cream); }
.footer-brand { color: var(--cream); margin-bottom: var(--space-3); }
.footer-brand img { background: var(--cream); padding: var(--space-1); }
.footer-brand small { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.footer-about { color: color-mix(in srgb, var(--cream) 75%, transparent); font-size: var(--text-sm); max-width: 22rem; }
.footer-bar .credit a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--cream); text-decoration: underline; }
.footer-bar {
  border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  padding-top: var(--space-6);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 var(--space-6);
  font-size: var(--text-xs);
  color: color-mix(in srgb, var(--cream) 60%, transparent);
  letter-spacing: 0.03em;
}

nav.top .btn { white-space: nowrap; }
@media (max-width: 1279px) {
  nav.top .links { gap: var(--space-4); }
}
@media (max-width: 959px) {
  nav.top .container { flex-wrap: wrap; }
  nav.top .links { display: none; }
  .nav-menu { display: inline-flex; }
  nav.top.open .links { display: flex; flex-direction: column; flex-basis: 100%; order: 3; gap: 0; padding: var(--space-1) 0 var(--space-2); }
  nav.top.open .links > a { padding: var(--space-3) 0; border-top: 1px solid color-mix(in srgb, var(--teal) 10%, transparent); font-size: var(--text-base); }
  nav.top.open .links a[aria-current="location"] { box-shadow: inset 3px 0 var(--warm-strong); padding-left: var(--space-3); }
  nav.top.open .links .nav-account { display: block; }
  .nav-actions .nav-account-icon { display: none; }
}
@media (max-width: 900px) {
  section { padding: var(--space-12) 0; }
  .section-head { margin-bottom: var(--space-8); }
  .about-grid, .why-grid, .contact-box, .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .steps { grid-template-columns: 1fr; gap: var(--space-7); }
  .steps li { padding: 0 0 0 var(--space-14); }
  .steps li:not(:last-child)::before { top: 3rem; bottom: -1.25rem; left: 1.2rem; right: auto; width: 2px; height: auto; }
  .hero-stats { gap: var(--space-6); }
  .hero-content { padding: var(--space-14) var(--space-6) var(--space-12); }
  .hero-bg { background-image: image-set(url('/images/hero-1200.webp') type('image/webp'), url('/images/hero.jpg') type('image/jpeg')); }
  .lots { padding: var(--space-10) var(--space-5); margin: var(--space-8) 0; }
  .lot-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-box { padding: var(--space-8) var(--space-5); }
  .contact-channel .val { overflow-wrap: anywhere; }
  nav.top .container { padding: 0 var(--space-4); gap: var(--space-2); flex-wrap: wrap; }
  .brand { font-size: var(--text-lg); gap: var(--space-2); }
  .brand img { width: 32px; height: 32px; }
  .nav-actions .btn { padding: var(--space-2) var(--space-3); font-size: var(--text-sm); white-space: nowrap; }
  .lang-toggle a { padding: 0 var(--space-2); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); }
  .gallery-grid > div:first-child, .gallery-grid > div:last-child { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 520px) {
  .lot-picks-grid { grid-template-columns: 1fr; }
  .lots-glossary { grid-template-columns: 1fr; }
  /* A 360 px phone fits the hero without scrolling past it: no forced height, stats in one row, a tighter lead. */
  .hero { min-height: 0; }
  .hero-content { padding: var(--space-12) var(--space-6) var(--space-10); }
  .hero .eyebrow { font-size: var(--text-xs); margin-bottom: var(--space-4); }
  .hero h1 { font-size: var(--text-4xl); margin-bottom: var(--space-4); }
  .hero p.lead { font-size: var(--text-base); margin-bottom: var(--space-6); }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); padding-top: var(--space-5); }
  .hero-stats .num { font-size: var(--text-2xl); }
  .hero-stats .lbl { font-size: var(--text-xs); }
}
@media (max-width: 420px) {
  nav.top .container { gap: var(--space-1); }
  .nav-actions { gap: var(--space-1); }
  .brand { font-size: var(--text-base); gap: var(--space-2); }
  .brand img { width: 28px; height: 28px; }
  .lang-toggle { font-size: var(--text-xs); }
  .nav-actions .btn { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
  .nav-menu { width: var(--tap); padding: 0; }
  .nav-menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* Four controls do not fit one row at 360-420 px: the language switch moves into the menu. */
  .nav-actions .lang-toggle { display: none; }
  nav.top.open .links .lang-in-menu { display: inline-flex; align-self: flex-start; margin-top: var(--space-3); font-family: var(--font-body); font-size: var(--text-sm); }
  nav.top.open .links .lang-in-menu a { padding: 0 var(--space-4); }
}
.plans-wrap { overflow-x: auto; margin-top: var(--space-4); }
.plans { width: 100%; border-collapse: collapse; font-size: var(--text-base); }
.plans th, .plans td { text-align: left; padding: var(--space-3) var(--space-3); border-bottom: 1px solid var(--line); }
.plans th { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.plans .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plans th.num { white-space: normal; }
/* Phones: each plan is a card (name and figure on top, terms under them); the price header stays as the cards' caption. */
@media (max-width: 520px) {
  .plans, .plans thead, .plans tbody, .plans tr, .plans td { display: block; }
  .plans thead tr { display: block; }
  .plans th:not(.num) { display: none; }
  .plans th.num { display: block; text-align: left; padding: 0 0 var(--space-2); border: 0; }
  .plans tbody { display: grid; gap: var(--space-3); }
  .plans tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "plan price" "terms terms"; gap: var(--space-1) var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
  .plans td { padding: 0; border: 0; }
  .plans td:nth-child(1) { grid-area: plan; font-weight: 600; }
  .plans td:nth-child(2) { grid-area: terms; color: var(--ink-2); font-size: var(--text-sm); }
  .plans td.num { grid-area: price; font-weight: 600; }
}
.fine { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--ink-2); max-width: 60ch; }
/* Says "updating" while the portal is read and "could not refresh" with a retry when it fails; up to date needs no line. */
.live-state { display: none; align-items: center; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-top: var(--space-4); font-size: var(--text-sm); color: var(--ink-2); }
.live-state[data-live-state="loading"], .live-state[data-live-state="stale"] { display: flex; }
.live-state [data-when] { display: none; }
.live-state[data-live-state="loading"] [data-when="loading"], .live-state[data-live-state="stale"] [data-when="stale"] { display: inline; }
.live-state[data-live-state="stale"] .btn[data-when="stale"] { display: inline-flex; }
.live-state::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-state[data-live-state="loading"]::before { animation: pulse 0.9s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.25; } }
/* While the portal is read, the lot cards' figures and the plans table's prices are skeleton bars (the baked text stays for screen readers). */
html[data-live="loading"] .lot-pick :is(.lp-size, .lp-price, dd, .lp-down),
html[data-live="loading"] .plans td.num {
  color: transparent; border-radius: 6px; background: linear-gradient(90deg, var(--skeleton-a), var(--skeleton-b), var(--skeleton-a)); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite;
}
html[data-live="loading"] .lot-pick { --skeleton-a: color-mix(in srgb, var(--cream) 18%, transparent); --skeleton-b: color-mix(in srgb, var(--cream) 34%, transparent); }
html[data-live="loading"] .plans { --skeleton-a: var(--sand); --skeleton-b: var(--white); }
/* Every figure the refresh may change is dimmed until it is current. */
html[data-live="loading"] [data-live-price], html[data-live="loading"] .lot-pick, html[data-live="loading"] [data-live-count], html[data-live="loading"] [data-live-available] { opacity: 0.55; transition: opacity 0.2s; }
.hero-preview .live-state { margin-top: var(--space-3); color: var(--cream); }
.steps-source { margin-top: var(--space-8); max-width: 70ch; font-size: var(--text-sm); color: var(--ink-2); }
.steps-source a, .assure a { color: var(--teal); font-weight: 600; }
/* Save-Data or 2G (html.lite, set in the page head): the hero keeps the brand color and skips the photo. */
html.lite .hero-bg { background-image: none; background-color: var(--teal); filter: none; }
@media (prefers-reduced-data: reduce) {
  .hero-bg { background-image: none; background-color: var(--teal); filter: none; }
}
.lots .live-state { justify-content: center; margin: 0 0 var(--space-8); color: color-mix(in srgb, var(--cream) 85%, transparent); }
.presale { margin-top: var(--space-14); padding: var(--space-8); border-radius: 16px; background: var(--cream); }
.presale-title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-display-sm); line-height: 1.2; color: var(--teal); }
.presale-count { margin-top: var(--space-2); font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-strong); }
.progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-1); margin-top: var(--space-6); }
.progress .seg { height: 8px; border-radius: 999px; background: var(--line); }
.progress .seg.done { background: var(--teal); }
.presale-next { margin-top: var(--space-4); font-weight: 600; color: var(--ink); }
.milestones-more { margin-top: var(--space-4); }
.milestones-more summary { display: flex; align-items: center; min-height: var(--tap); list-style: none; cursor: pointer; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.milestones-more summary::-webkit-details-marker { display: none; }
.milestones { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: var(--space-2); }
.ms { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-1); font-size: var(--text-sm); }
.ms .dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); background: var(--white); color: var(--teal); }
.ms .dot svg { width: 16px; height: 16px; }
.ms.done .dot { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.ms.active .dot { border-color: var(--warm-strong); color: var(--warm-strong); font-weight: 700; }
.ms .name { font-weight: 600; color: var(--ink); }
.ms .when { color: var(--ink-2); font-size: var(--text-xs); }
.ms.active .when { color: var(--warm-strong); font-weight: 600; }
.ms .step { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--warm-strong); min-height: 1em; }
.ladder { margin-top: var(--space-6); font-size: var(--text-base); max-width: 70ch; }
.assure { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin-top: var(--space-12); }
.assure li { border-left: 3px solid var(--warm-strong); padding-left: var(--space-5); }
.assure h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); color: var(--teal); margin-bottom: var(--space-2); }
.assure p { color: var(--ink-2); font-size: var(--text-base); }
@media (max-width: 900px) {
  .assure { grid-template-columns: 1fr; }
  .presale { padding: var(--space-6) var(--space-5); }
}
@media (max-width: 1100px) { .milestones { grid-template-columns: repeat(5, 1fr); row-gap: var(--space-5); } }
@media (max-width: 900px) {
  .milestones { grid-template-columns: 1fr; row-gap: var(--space-2); }
  .ms { display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: "dot name step" "dot when step"; column-gap: var(--space-3); row-gap: 0; align-items: center; text-align: left; }
  .ms .dot { grid-area: dot; }
  .ms .name { grid-area: name; }
  .ms .when { grid-area: when; }
  .ms .step { grid-area: step; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid > div:hover img { transform: none; }
}
.contact-box p .inline-link { color: var(--teal); font-weight: 600; }
.verify { margin-top: var(--space-12); padding: var(--space-8); border-radius: 16px; background: var(--sand); }
.verify h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); color: var(--teal); margin-bottom: var(--space-5); }
.verify ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.verify li { display: grid; gap: var(--space-1); align-content: start; font-size: var(--text-base); color: var(--ink-2); }
.verify li a { display: inline-flex; align-items: center; justify-self: start; min-height: var(--tap); color: var(--teal); font-weight: 600; }
@media (max-width: 1100px) { .verify ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .verify { padding: var(--space-6) var(--space-5); }
  .verify ul { grid-template-columns: 1fr; gap: var(--space-4); }
}
