:root {
  --bg: #f8f6f2;
  --ink: #1a1814;
  --muted: #8a8680;
  --line: #ddd9d3;
  --gold: #b8a06a;
  --card: #ffffff;
  --radius: 2px;
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .04em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(248,246,242,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.spacer { flex: 1; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav.main-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}

nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}

nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a:hover::after { width: 100%; }

.nav-cta {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 9px 22px;
  transition: background .2s, color .2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink) !important; color: var(--bg) !important; }

@media (max-width: 768px) {
  header { padding: 0 24px; }
  nav.main-nav a:not(.nav-cta) { display: none; }
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-left {
  position: relative;
  overflow: hidden;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 8s ease;
}

.hero:hover .hero-left img {
  transform: scale(1.04);
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--bg);
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 52px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ghost {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: 'Jost', sans-serif;
  display: inline-block;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-ghost.light {
  border-color: var(--line);
  color: var(--muted);
}

.btn-ghost.light:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-left { height: 55vw; min-height: 320px; max-height: 560px; }
  .hero-right { padding: 52px 28px; }
  .hero-actions { justify-content: center; }
}

/* ─── DIVIDER ─── */
.divider {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 1px;
  background: var(--line);
}

/* ─── SECTION ─── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 48px;
}

@media (max-width: 768px) {
  .section { padding: 64px 24px; }
}

.section-label {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 52px;
  font-weight: 300;
}

/* ─── FILTERS ─── */
.filters {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.chip {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
  position: relative;
  font-weight: 400;
}

.chip::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.chip[data-active="true"],
.chip:hover { color: var(--ink); }

.chip[data-active="true"]::after { transform: scaleX(1); }

/* ─── GRID ─── */
.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) { .grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  filter: saturate(.95);
}

.card:hover .thumb img {
  transform: scale(1.06);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,24,20,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}

.card:hover .thumb-overlay { background: rgba(26,24,20,.18); }

.thumb-cta {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
  padding: 10px 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.card:hover .thumb-cta {
  opacity: 1;
  transform: translateY(0);
}

.meta {
  padding: 20px 20px 24px;
  border-top: 1px solid var(--line);
}

.art-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}

.art-spec {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}

.art-price {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.art-price-val {
  font-size: 15px;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}

.art-status {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.art-status.sold { color: #9a8070; }
.art-status.available { color: #5a7a6a; }

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.about-img-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 400;
}

.about-text p {
  font-size: 15px;
  line-height: 1.85;
  color: #4a4740;
  margin-bottom: 20px;
  font-weight: 300;
}

.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  margin: 44px 0 20px;
}

.timeline-list {
  list-style: none;
}

.timeline-list li {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #5a5750;
}

.timeline-list li b {
  color: var(--gold);
  font-weight: 400;
  min-width: 38px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-cell {
  background: var(--card);
  padding: 48px 44px;
}

.contact-cell:first-child { background: var(--bg); }

.contact-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  transition: color .2s;
}

.social-link:first-child { border-top: 1px solid var(--line); }

.social-link:hover { color: var(--ink); }

.social-link-name {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
}

.social-arrow {
  font-size: 14px;
  transition: transform .2s;
}

.social-link:hover .social-arrow { transform: translateX(4px); }

.contact-ctas {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
}

details {
  border-bottom: 1px solid var(--line);
}

details:first-child { border-top: 1px solid var(--line); }

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .2s;
}

summary::-webkit-details-marker { display: none; }

summary:hover { color: var(--gold); }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s;
}

.faq-icon::before { width: 12px; height: 1px; }
.faq-icon::after { width: 1px; height: 12px; }

details[open] .faq-icon::after {
  transform: translate(-50%,-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: rgba(248,246,242,.6);
  padding: 52px 48px;
}

.foot-inner {
  max-width: var(--maxw);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(248,246,242,.85);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.foot-copy {
  font-size: 11px;
  letter-spacing: .1em;
}

.foot-links {
  display: flex;
  gap: 28px;
}

.foot-links a {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(248,246,242,.4);
  transition: color .2s;
}

.foot-links a:hover { color: rgba(248,246,242,.85); }

@media (max-width: 640px) {
  footer { padding: 40px 24px; }
}

/* ─── MODAL ─── */
dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}

dialog::backdrop {
  background: rgba(10,8,6,.75);
  backdrop-filter: blur(4px);
}

.modal-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-inner {
  background: var(--card);
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(10, 8, 6, .35);
}

.modal-media {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(184, 160, 106, .1) 0%, transparent 55%),
    var(--card);
  border-bottom: 1px solid var(--line);
}

.modal-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 160, 106, .28), transparent);
  pointer-events: none;
}

.modal-media img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 820px);
  object-fit: contain;
  object-position: center top;
  display: block;
}

.modal-body {
  padding: 36px 40px 44px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .modal-body { padding: 28px 22px 36px; }
}

.modal-eyebrow {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 14px;
}

.modal-specs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
}

.modal-status {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.modal-status.sold { color: #9a8070; }
.modal-status.available { color: #5a7a6a; }

.modal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.modal-actions a {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 13px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  transition: border-color .2s, color .2s;
}

.modal-actions a:hover { border-color: var(--ink); color: var(--ink); }

.modal-actions a.primary {
  border-color: var(--ink);
  color: var(--ink);
}

.modal-actions a.primary:hover {
  background: var(--ink);
  color: var(--bg);
}

.modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(248,246,242,.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close:hover { color: #fff; }

/* ─── FAB ─── */
.fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(26,24,20,.2);
  transition: transform .2s;
}

.fab:hover { transform: scale(1.08); }

.fab-menu {
  position: fixed;
  bottom: 88px; right: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .22s ease;
}

.fab-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-menu a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 4px 16px rgba(26,24,20,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform .2s;
}

.fab-menu a:hover { transform: scale(1.1); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}
