/* Ornate Homes, redesign 2026-11-04.
   Direction (unslop): a Colombo builder selling new teak-finished family homes and riverside land.
   Character: solid, sunlit, proud. World: white lime plaster, polished cement, teak, noon sun.
   Moments: the hero photo stage in front of the giant wordmark, and the sphere of finished homes.
   Signature: the architect's title block, a hairline spec plate on every listing.
   Light mode is locked (owner rule). Squircles on every image, card and panel; buttons stay pills. */

:root {
  color-scheme: light;
  --ground: #e4dccc;          /* lime plaster, reads as cream next to white */
  --surface: #d8cfbd;         /* one step down for cards */
  --paper: #ede7db;           /* one step up, used inside panels only */
  --ink: #12153a;             /* navy ink from the logo */
  --navy: #1c2470;            /* logo navy, the one accent: buttons, prices, selection */
  --muted: #4e4a52;
  --line: rgb(18 21 58 / 0.14);
  --night: #05060c;           /* matches the chairman cut-out background */
  --on-night: #ece6da;
  --on-night-muted: #a6a1b4;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: clip;            /* not on html: that breaks the sticky fly-through */
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--navy); color: var(--ground); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 200; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: var(--ground); font-weight: 600; transition: top 160ms var(--ease); }
.skip:focus-visible { top: 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.pad { padding-block: clamp(80px, 10vw, 144px); }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;            /* Anton has one weight */
  text-transform: uppercase;
  line-height: 0.92;
}
h2 { font-size: clamp(2.75rem, 6.4vw, 6rem); }
h2 em, h1 em { font-style: normal; color: var(--navy); }
h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--muted); max-width: 34em; line-height: 1.5; }

/* ---------- Squircles (apple-design local rule) ---------- */
.sq-img, .sq-card { border-radius: 18px; }
.sq-thumb { border-radius: 10px; }
.sq-panel { border-radius: 24px; }
@supports (corner-shape: squircle) {
  .sq-img, .sq-card, .sq-thumb, .sq-panel { corner-shape: squircle; }
  .sq-img, .sq-card { border-radius: 40px; }
  .sq-thumb { border-radius: 20px; }
  .sq-panel { border-radius: 52px; }
}
@media (max-width: 767px) {
  .sq-img, .sq-card { border-radius: 14px; }
  .sq-panel { border-radius: 18px; }
  @supports (corner-shape: squircle) { .sq-img, .sq-card { border-radius: 30px; } .sq-panel { border-radius: 36px; } }
}
/* image inside a padded card: outer radius minus the 12px padding */
.card .img { border-radius: 8px; }
@supports (corner-shape: squircle) { .card .img { corner-shape: squircle; border-radius: 28px; } }

/* ---------- Buttons: 21st.dev Interactive Hover Button, plain CSS port ---------- */
.btn {
  position: relative;
  display: inline-grid;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
.btn .t, .btn .s { grid-area: 1 / 1; transition: transform 300ms var(--ease), opacity 200ms; }
.btn .t { padding-left: 16px; }
.btn .s { display: inline-flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transform: translateX(24px); }
.btn .s svg { width: 16px; height: 16px; }
.btn .d {
  position: absolute; z-index: -1; left: 22px; top: calc(50% - 4px);
  width: 8px; height: 8px; border-radius: 999px;
  transition: transform 340ms var(--ease);
}
.btn:is(:hover, :focus-visible) .d { transform: scale(64); }
.btn:is(:hover, :focus-visible) .t { opacity: 0; transform: translateX(24px); }
.btn:is(:hover, :focus-visible) .s { opacity: 1; transform: none; }
.btn.solid { background: var(--navy); color: var(--ground); }
.btn.solid .d { background: var(--ground); }
.btn.solid .s { color: var(--navy); }
.btn.ghost { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn.ghost .d { background: var(--navy); }
.btn.ghost .s { color: var(--ground); }
.on-night .btn.solid { background: var(--on-night); color: var(--navy); }
.on-night .btn.solid .d { background: var(--ink); }
.on-night .btn.solid .s { color: var(--on-night); }
.on-night .btn.ghost { box-shadow: inset 0 0 0 1.5px rgb(236 230 218 / 0.28); color: var(--on-night); }
.on-night .btn.ghost .d { background: var(--on-night); }
.on-night .btn.ghost .s { color: var(--navy); }
@media (hover: none) { .btn .d, .btn .s { display: none; } .btn .t { padding-left: 0; } }
@media (prefers-reduced-motion: reduce) {
  .btn .d { transition: none; }
  .btn .t, .btn .s { transition: opacity 150ms; transform: none !important; }
}

/* ---------- Nav: floating glass pill ---------- */
.nav { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
}
/* the glass lives on its own layer: a backdrop-filter on the bar itself would trap the fixed phone menu inside it */
.nav-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgb(228 220 204 / 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.5) inset, 0 12px 32px -18px rgb(18 21 58 / 0.35);
}
.logo { display: flex; align-items: center; margin-right: auto; position: relative; z-index: 2; }
.logo img { height: 28px; width: auto; }  /* transparent navy logo, cut from logo.jpg */
.menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--muted);
  transition: background-color 160ms, color 160ms;
}
.menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--ink); background: rgb(18 21 58 / 0.06); }
.menu .btn { min-height: 44px; margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: var(--navy); position: relative; z-index: 2; flex: none; }
.burger i { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--ground); transition: transform 240ms var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (prefers-reduced-transparency: reduce) { .nav-bar::before { background: var(--ground); backdrop-filter: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: 120px; padding-bottom: 40px; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 56px);
  align-items: center; min-height: calc(100svh - 160px); position: relative; z-index: 2;
}
.hero h1 { font-size: clamp(3.25rem, 5.6vw, 7rem); margin-bottom: 24px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .lead { margin-bottom: 32px; max-width: 26em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-word {
  position: absolute; z-index: 1; left: 50%; bottom: -0.1em; transform: translateX(-50%);
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
  font-size: 31vw; line-height: 0.8; color: var(--surface); pointer-events: none; user-select: none;
}

/* Photo stage: drag or swipe with springs (apple-design §2-§6), auto-advances when idle */
.stage { position: relative; }
.stage-view {
  position: relative; aspect-ratio: 4 / 3; overflow: clip; background: var(--surface);
  touch-action: pan-y; cursor: grab; user-select: none;
  box-shadow: 0 40px 80px -40px rgb(18 21 58 / 0.55);
}
.stage-view:active { cursor: grabbing; }
.stage-track { display: flex; height: 100%; will-change: transform; }
.stage-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.plate {
  position: absolute; left: clamp(-40px, -2.5vw, -16px); bottom: 64px; z-index: 3;
  display: grid; grid-template-columns: auto auto; min-width: 300px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 40px -24px rgb(18 21 58 / 0.5);
  overflow: clip; border-radius: 16px;
}
@supports (corner-shape: squircle) { .plate { corner-shape: squircle; border-radius: 36px; } }
.plate > * { padding: 12px 18px; border-top: 1px solid var(--line); }
.plate > :nth-child(-n+2) { border-top: 0; }
.plate > :nth-child(odd) { border-right: 1px solid var(--line); }
.plate small { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.plate b { font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.stage-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.stage-count { font-weight: 600; font-variant-numeric: tabular-nums; margin-right: auto; color: var(--muted); }
.round {
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 160ms, color 160ms, transform 120ms;
}
.round:hover { background: var(--navy); color: var(--ground); box-shadow: none; }
.round:active { transform: scale(0.94); }
.round svg { width: 18px; height: 18px; }

/* Desktop: the hero photo runs off the right edge of the page (awwwards review: break the 50/50 split) */
@media (min-width: 1081px) {
  .stage-view {
    margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap)) / 2));
    border-top-right-radius: 0; border-bottom-right-radius: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--ground); overflow: clip; padding: 20px 0; position: relative; z-index: 3; }
.marquee > div { display: flex; width: max-content; animation: run 48s linear infinite; }
.marquee span { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1; padding-right: 40px; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); opacity: .5; }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee > div { animation: none; } }

/* ---------- Section heads ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { margin-bottom: 16px; }

/* ---------- For sale: two homes, then the land as one wide card ---------- */
.sale-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card { display: flex; flex-direction: column; background: var(--surface); overflow: clip; padding: 12px; transition: background-color 200ms var(--ease); }
.card:hover { background: #cfc5b1; }  /* one surface step, no lift (awwwards review: hover lift + zoom reads as template) */
.card h3 { transition: color 200ms var(--ease); }
.card:hover h3 { color: var(--navy); }
.card .img { position: relative; aspect-ratio: 4 / 3; overflow: clip; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 16px; left: 16px; height: 32px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; background: var(--paper); font-size: 0.8125rem; font-weight: 700;
}
.card .body { padding: 24px 12px 12px; display: grid; gap: 20px; }
.card .row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.loc { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.price { font-family: var(--font-display); font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
/* the title block, the signature detail */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
.specs > div { padding: 10px 14px; border-left: 1px solid var(--line); }
.specs > div:first-child { border-left: 0; }
.specs b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1.0625rem; line-height: 1.3; }
.specs small { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
@supports (corner-shape: squircle) { .specs { corner-shape: squircle; border-radius: 28px; } }
.card.wide { grid-column: 1 / -1; flex-direction: row; gap: 12px; }
.card.wide .img { flex: 0 0 56%; aspect-ratio: 16 / 10; }
.card.wide .body { flex: 1; align-content: center; padding: 24px clamp(12px, 2.4vw, 40px); }

/* ---------- Step inside: pinned fly-through ---------- */
.fly { position: relative; height: 520vh; background: var(--ink); color: var(--on-night); }
.stick { position: sticky; top: 0; height: 100vh; overflow: clip; perspective: 900px; }
.stage3d { position: absolute; inset: 0; transform-style: preserve-3d; display: grid; place-items: center; }
.f { position: absolute; width: min(420px, 60vw); aspect-ratio: 4 / 3; will-change: transform, opacity; overflow: clip; }
.f img { width: 100%; height: 100%; object-fit: cover; }
.fly .title { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; z-index: 5; pointer-events: none; }
.fly .title h2 { font-size: clamp(4rem, 12vw, 11rem); }
.fly .title h2 em { color: var(--on-night); opacity: .5; }
.fly .title p { margin-top: 16px; font-weight: 600; color: var(--on-night-muted); }
.fly .bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 2px; background: rgb(236 230 218 / 0.16); border-radius: 2px; overflow: clip; }
.fly .bar i { display: block; height: 100%; width: 0; background: var(--on-night); }

/* ---------- Portfolio: 21st.dev Image Sphere, vanilla port ---------- */
.port { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.port-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.port-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.port-list li span:last-child { color: var(--muted); }
.hint { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }
.sphere { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin-inline: auto; cursor: grab; touch-action: pan-y; user-select: none; outline-offset: 8px; }
.sphere:active { cursor: grabbing; }
.sphere button { position: absolute; top: 0; left: 0; will-change: transform, opacity; }
.sphere button span { display: block; width: 100%; height: 100%; overflow: clip; background: var(--surface); box-shadow: 0 12px 28px -14px rgb(18 21 58 / 0.55); }
.sphere img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 20px); }
.masonry figure { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px); overflow: clip; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform 600ms var(--ease); }
.masonry figure:hover img { transform: scale(1.03); }

/* ---------- About + Chairman ---------- */
.about .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about p { color: var(--muted); max-width: 36em; margin-top: 16px; font-size: 1.0625rem; }
.about h2 { margin-bottom: 8px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; border: 1px solid var(--line); border-radius: 16px; overflow: clip; }
.values > div { padding: 20px 24px; border-top: 1px solid var(--line); }
.values > div:nth-child(-n+2) { border-top: 0; }
.values > div:nth-child(odd) { border-right: 1px solid var(--line); }
.values b { display: block; font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: 4px; }
.values small { color: var(--muted); font-size: 0.9375rem; }
@supports (corner-shape: squircle) { .values { corner-shape: squircle; border-radius: 36px; } }
.chair { position: relative; background: var(--night); color: var(--on-night); overflow: clip; aspect-ratio: 4 / 5; }
.chair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.chair .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; background: linear-gradient(to top, rgb(5 6 12 / .92), rgb(5 6 12 / 0)); }
.chair .name h3 { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: 4px; }
.chair .name span { color: var(--on-night-muted); font-weight: 500; }

/* ---------- Contact ---------- */
.contact .box { background: var(--navy); color: var(--on-night); padding: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.contact .eyebrow { color: var(--on-night-muted); }
.contact h2 { color: var(--on-night); }
.contact h2 em { color: var(--on-night); opacity: .55; }
.contact .lead { color: var(--on-night-muted); margin-top: 16px; }
.phone { display: block; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; margin: 32px 0 24px; font-variant-numeric: tabular-nums; }
.social { display: grid; gap: 8px; }
.social a { display: flex; align-items: center; gap: 16px; padding: 16px; background: rgb(236 230 218 / 0.07); transition: background-color 160ms; border-radius: 14px; }
@supports (corner-shape: squircle) { .social a { corner-shape: squircle; border-radius: 32px; } }
.social a:hover { background: rgb(236 230 218 / 0.13); }
.social .ic { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--on-night); color: var(--navy); flex: none; }
.social .ic svg { width: 18px; height: 18px; }
.social b { display: block; font-weight: 600; }
.social small { color: var(--on-night-muted); }

/* ---------- Footer: stamped wordmark, the beat borrowed from the Doodle Crew Footer ---------- */
footer { padding: 64px 0 24px; overflow: clip; }
.foot-word { display: flex; justify-content: center; font-family: var(--font-display); text-transform: uppercase; color: var(--navy); font-size: 17vw; line-height: 0.82; }
.foot-word .gap { width: 0.18em; }
.foot-word span { display: inline-block; }
.foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; color: var(--muted); font-size: 0.9375rem; }
.foot-meta a:hover { color: var(--ink); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .foot-word span { animation: stamp linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .foot-word span:nth-child(even) { animation-range: entry 10% entry 80%; }
    .foot-word span:nth-child(3n) { animation-range: entry 20% entry 90%; }
  }
}
@keyframes stamp { from { transform: translateY(40%) rotate(-3deg); opacity: 0; } 50% { opacity: 1; } to { transform: none; opacity: 1; } }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; gap: 10px; }
.fab a { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: var(--ground); box-shadow: 0 12px 28px -12px rgb(18 21 58 / 0.6); transition: transform 160ms var(--ease); }
.fab a.wa { background: #1d7a45; }
.fab a:active { transform: scale(0.94); }
.fab svg { width: 22px; height: 22px; }

/* ---------- Listing pages ---------- */
.page-hero { padding: 168px 0 48px; }
.page-hero h1 { font-size: clamp(3.5rem, 10vw, 9.5rem); margin-bottom: 20px; }
.listing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-block: 48px; border-top: 1px solid var(--line); align-items: start; }
.listing:first-child { border-top: 0; }
.gal .main { aspect-ratio: 4 / 3; overflow: clip; cursor: zoom-in; background: var(--surface); }
.gal .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.thumbs img { flex: 0 0 96px; height: 72px; object-fit: cover; cursor: pointer; opacity: .55; transition: opacity 160ms; }
.thumbs img.on, .thumbs img:hover { opacity: 1; }
.info { position: sticky; top: 112px; display: grid; gap: 20px; }
.info h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.info .eyebrow { margin-bottom: 0; }
.feat { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.feat li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--muted); }
.feat li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--navy); transform: rotate(45deg); }
.info .cta { margin-top: 8px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgb(5 6 12 / 0.88); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 220ms var(--ease), visibility 220ms; }
.lb.on { opacity: 1; visibility: visible; }
.lb img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; transform: scale(.96); transition: transform 320ms var(--ease); }
.lb.on img { transform: none; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 999px; background: rgb(236 230 218 / 0.12); color: var(--on-night); display: grid; place-items: center; }
.lb button:hover { background: rgb(236 230 218 / 0.22); }
.lb button svg { width: 18px; height: 18px; }
.lb .x { top: 20px; right: 20px; } .lb .pv { left: 20px; top: calc(50% - 24px); } .lb .nx { right: 20px; top: calc(50% - 24px); }

/* ---------- Reveal: CSS view timelines; content stays visible without support ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .port, .about .grid, .contact .box, .listing { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; gap: 48px; }
  .plate { left: 16px; }
  .info { position: static; }
  .chair { max-width: 520px; }
}
@media (max-width: 860px) {
  .menu { position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 8px; background: var(--ground); opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), visibility 240ms; pointer-events: auto; }
  .menu.open { opacity: 1; visibility: visible; }
  .menu a:not(.btn) { font-family: var(--font-display); text-transform: uppercase; font-size: 2.5rem; height: 64px; color: var(--ink); }
  .menu .btn { margin: 16px 0 0; }
  .burger { display: block; }
  .sale-grid { grid-template-columns: minmax(0, 1fr); }
  .card.wide { flex-direction: column; }
  .card.wide .img { flex: none; aspect-ratio: 4 / 3; }
  .card.wide .body { padding: 24px 12px 12px; }
  .head { flex-direction: column; align-items: start; }
}
@media (max-width: 560px) {
  .hero { padding-top: 100px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > div:nth-child(3) { border-left: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plate { position: relative; left: 0; bottom: 0; margin: -32px 12px 0; min-width: 0; }
  .values, .feat { grid-template-columns: minmax(0, 1fr); }
  .values > div:nth-child(2) { border-top: 1px solid var(--line); }
  .values > div:nth-child(odd) { border-right: 0; }
  .masonry { columns: 2 140px; }
  .contact .box { padding: 28px 20px; }
  .social a { padding: 12px; }
  .fab { right: 12px; bottom: 12px; }
  .fab a { width: 48px; height: 48px; }
}
