:root {
  --orange: #e2611b;
  --orange-deep: #b8460c;
  --cream: #f6f1e8;
  --paper: #fbf8f2;
  --ink: #1d1a17;
  --ink-soft: #4d4640;
  --muted: #7d746b;
  --line: #e4dccf;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(29, 26, 23, 0.06), 0 8px 24px rgba(29, 26, 23, 0.08);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, video { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep); font-weight: 600; margin-bottom: 0.9em;
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 242, 0.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand span { color: var(--orange); }
.nav { display: flex; gap: 22px; font-size: 0.92rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.12s ease, background 0.12s ease;
  font-family: var(--sans);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }

/* hero */
.hero { position: relative; color: #fff; background: var(--ink); }
.hero-img { width: 100%; height: min(86vh, 820px); object-fit: cover; object-position: 55% 60%; opacity: 0.94; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 16, 12, 0.88) 0%, rgba(20, 16, 12, 0.35) 45%, rgba(20, 16, 12, 0.05) 100%); }
.hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 5vw, 64px); }
.hero-body .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; }
.hero h1 em { font-style: italic; color: #ffb27a; }
.hero .sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-top: 12px; }
.price-card { background: rgba(251, 248, 242, 0.96); color: var(--ink); border-radius: 18px; padding: 18px 22px; min-width: 240px; box-shadow: var(--shadow); }
.price-card .label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-card .price { font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; margin: 4px 0 10px; }
.price-card .btn { width: 100%; }
.status-pending .price-card .price, .status-sold .price-card .price { color: var(--orange-deep); }
@media (max-width: 720px) {
  .hero-img { height: min(52vh, 460px); opacity: 1; }
  .hero-shade { display: none; }
  .hero-body { position: static; padding: 22px 0 30px; }
  .hero-body .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .price-card { min-width: 0; }
}

/* facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--cream); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.fact { padding: 20px 18px 18px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact + .fact { padding-left: 18px; }
.fact .k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact .v { font-family: var(--serif); font-size: 1.35rem; margin-top: 2px; }
@media (max-width: 720px) { .fact { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }

/* sections */
section { padding: clamp(48px, 7vw, 96px) 0; }
section + section { border-top: 1px solid var(--line); }
.lede { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--ink); max-width: 820px; margin-bottom: 1.2em; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.prose p { max-width: 68ch; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pillars li { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.pillars b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 2px; }
.pillars span { color: var(--ink-soft); font-size: 0.95rem; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 0.88rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; }
.grid figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--line); cursor: zoom-in; position: relative; }
.grid figure.wide { grid-column: span 2; }
.grid figure.tall { grid-row: span 2; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.grid figure:hover img { transform: scale(1.03); }
.grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 0.78rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent); opacity: 0; transition: opacity 0.2s; }
.grid figure:hover figcaption { opacity: 1; }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .grid figure.wide { grid-column: span 2; } .grid figure.tall { grid-row: span 1; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15, 12, 10, 0.96); z-index: 50; display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox[open] { display: flex; }
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox .cap { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-top: 14px; text-align: center; padding: 0 20px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 14px; top: 50%; transform: translateY(-50%); }

/* video */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.video-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.video-card video { width: 100%; aspect-ratio: 9 / 16; background: #000; display: block; object-fit: cover; }
.video-card figcaption { padding: 12px 14px 14px; font-size: 0.9rem; }
.video-card figcaption b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 3px; }
.video-card figcaption span { color: var(--ink-soft); }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; } .video-card video { aspect-ratio: 3 / 4; } }

/* specs */
.specs { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 32%; font-weight: 600; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .spec-grid { grid-template-columns: 1fr; } }

/* history */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .when { color: var(--muted); font-size: 0.85rem; padding-top: 3px; }
.timeline b { font-weight: 600; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.work-list { columns: 2; column-gap: 32px; padding-left: 18px; margin: 0; }
.work-list li { break-inside: avoid; margin-bottom: 6px; font-size: 0.95rem; }
@media (max-width: 700px) { .work-list { columns: 1; } }
.callout { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.callout .big { font-family: var(--serif); font-size: 2rem; line-height: 1; }

/* condition */
.honest { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.honest .item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 0.95rem; }
.honest b { display: block; margin-bottom: 3px; }

/* docs */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); }
.doc img { height: 220px; width: 100%; object-fit: cover; object-position: top; }
.doc .doc-pdf { height: 220px; display: grid; place-items: center; background: var(--cream); font-family: var(--serif); font-size: 1.4rem; color: var(--orange-deep); }
.doc div.t { padding: 12px 14px; font-size: 0.92rem; }
.doc div.t small { display: block; color: var(--muted); }

/* delivery */
.places { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.places span { background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 0.88rem; }

/* contact */
.contact { background: var(--ink); color: #fff; }
.contact h2, .contact .eyebrow { color: #fff; }
.contact .eyebrow { color: #ffb27a; }
.contact p { color: rgba(255, 255, 255, 0.78); }
.form { display: grid; gap: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.form input, .form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .status { min-height: 1.4em; font-size: 0.92rem; }
.form .status.ok { color: #9be39b; }
.form .status.err { color: #ffb0a0; }

footer { padding: 28px 0; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
