/* =========================================================
   MYT Prime Plots Ltd — "Prime Architectural Heritage"
   Design tokens from DESIGN.md. Titles: Cormorant Garamond.
   Body: Verdana (company font). Maroon-led public theme.
   ========================================================= */

:root {
  /* Brand pigments */
  --plum: #3d0420;
  --plum-ink: #070002;
  --plum-deep: #2a0216;
  --plum-line: #541e3a;
  --plum-wash: rgba(61, 4, 32, 0.06);
  --peach: #f3b07d;
  --peach-soft: #ffdcc4;
  --peach-deep: #865228;
  --champagne: #e8c99b;
  --cream: #f9f1ea;
  --on-dark: #f3e3e8;          /* body text on maroon */
  --on-dark-muted: #d9bcc8;    /* secondary text on maroon (AA on --plum) */

  /* Surfaces */
  --canvas: #fcfaf8;
  --card: #ffffff;
  --subtle: #f8f5f1;
  --dim: #e9e0e1;
  --ivory: #fcfaf8;

  /* Text & lines */
  --ink: #231f20;
  --muted: #686163;
  --hair: #ebdcd0;
  --outline-var: #d7c1c6;

  /* Status */
  --green: #1d6b3f;
  --green-wash: #e6f4ec;
  --amber-wash: #fff3e2;
  --error: #ba1a1a;

  /* Effects */
  --shadow-lift: 0 16px 36px -8px rgba(61, 4, 32, 0.08);
  --shadow-card: 0 8px 30px -10px rgba(61, 4, 32, 0.05);
  --shadow-hover: 0 20px 40px -15px rgba(61, 4, 32, 0.12);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Verdana, Geneva, Tahoma, sans-serif;

  /* Shape */
  --r-sm: 0.25rem;
  --r: 0.5rem;
  --r-lg: 0.75rem;
  --r-xl: 1rem;

  /* Layout */
  --container: 1320px;
  --gutter: 1.25rem;
  --section: clamp(3.5rem, 7vw, 6.5rem);
}

@media (min-width: 768px) { :root { --gutter: 2.5rem; } }
@media (min-width: 1200px) { :root { --gutter: 4rem; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); color: var(--plum); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
::selection { background: var(--peach-soft); color: var(--plum); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-size: 20px;
}
.material-symbols-outlined.filled { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.icon-sm { font-size: 16px; }
.icon-lg { font-size: 28px; }

/* ---------- Typography ---------- */
.h-display { font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.01em; }
.h-lg { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -0.01em; }
.h-md { font-size: clamp(25px, 2.6vw, 31px); line-height: 1.25; font-weight: 700; }
.h-sm { font-size: 23px; line-height: 1.3; font-weight: 700; }
.lead { font-size: 16px; line-height: 1.75; color: var(--muted); }
@media (min-width: 768px) { .lead { font-size: 17px; } }
.small { font-size: 12px; line-height: 1.6; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peach-deep);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--champagne); }
.eyebrow.no-line::before { display: none; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price { font-family: var(--font-display); font-weight: 700; color: var(--plum); }
.text-peach { color: var(--peach); }
.text-plum { color: var(--plum); }
.text-champagne { color: var(--champagne); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .h-lg { margin: .75rem 0 1rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } .split.even { grid-template-columns: 1fr 1fr; } }
.dark, .deep { background: var(--plum); color: var(--on-dark); }
.deep { background: linear-gradient(180deg, var(--plum-deep), #33031b); }
.dark h1, .dark h2, .dark h3, .dark h4, .deep h1, .deep h2, .deep h3, .deep h4 { color: var(--ivory); }
.dark .muted, .dark .lead, .deep .muted, .deep .lead { color: var(--on-dark-muted); }
.dark .eyebrow, .deep .eyebrow { color: var(--peach); }
.dark .eyebrow::before, .deep .eyebrow::before { background: rgba(243,176,125,.5); }
.subtle { background: var(--subtle); }
.cream { background: var(--cream); }
.divider { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--r-sm);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: normal; text-align: center;
}
.btn .material-symbols-outlined { font-size: 18px; }
.btn-primary { background: var(--plum); color: var(--ivory); border-color: var(--plum); box-shadow: inset 0 -2px 0 rgba(0,0,0,0); }
.btn-primary:hover { background: var(--plum-deep); box-shadow: inset 0 -3px 0 var(--peach); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--subtle); }
.btn-accent { background: var(--peach); color: var(--plum); border-color: var(--peach); }
.btn-accent:hover { background: #f5bc90; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-light { background: transparent; color: var(--ivory); border-color: rgba(243,176,125,.45); }
.btn-light:hover { background: rgba(243,176,125,.12); border-color: var(--peach); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.75rem; font-size: 13px; }
.btn-sm { padding: .55rem .9rem; font-size: 11px; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); border-bottom: 1px solid var(--champagne); padding-bottom: 2px; transition: gap .2s, border-color .2s; }
.link-arrow:hover { gap: .6rem; border-color: var(--peach); }
.link-arrow .material-symbols-outlined { font-size: 16px; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: var(--r-sm);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--plum-wash); color: var(--plum); border: 1px solid transparent;
}
.badge-plum { background: rgba(61,4,32,.9); color: var(--ivory); border-color: var(--plum-line); backdrop-filter: blur(4px); }
.badge-peach { background: var(--peach); color: var(--plum); }
.badge-glass { background: rgba(255,255,255,.9); color: var(--plum); backdrop-filter: blur(8px); border-color: var(--hair); }
.badge-green { background: var(--green-wash); color: var(--green); }
.badge-outline { background: transparent; border-color: var(--hair); color: var(--muted); }
.badge-pill { border-radius: 999px; }
.badge .material-symbols-outlined { font-size: 14px; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--plum-ink); color: var(--on-dark); border-bottom: 1px solid var(--plum-deep);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  padding: .5rem var(--gutter); display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; text-align: center;
}
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); animation: pulse 1.8s infinite; }
.topbar .sep, .topbar .promo { display: none; }
.topbar .promo { color: var(--champagne); }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: var(--peach); }
@media (min-width: 640px) { .topbar .sep, .topbar .promo { display: inline; } .topbar .sep { color: var(--outline-var); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(42,2,22,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--plum-line); box-shadow: 0 6px 24px -6px rgba(7,0,2,.35);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand img { height: 42px; width: auto; transition: transform .2s; }
.brand:hover img { transform: scale(1.02); }
@media (min-width: 768px) { .brand img { height: 50px; } }
.nav { display: none; align-items: center; gap: 1.35rem; }
.nav a { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--ivory); }
.nav a.active { border-color: var(--peach); }
.header-actions { display: none; align-items: center; gap: .6rem; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--hair); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: var(--card); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--plum); border-color: var(--champagne); }
.site-header .nav-toggle { display: inline-flex; background: transparent; border-color: var(--plum-line); color: var(--ivory); }
@media (min-width: 1200px) { .nav, .header-actions { display: flex; } .site-header .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--plum-line); background: var(--plum-deep); padding: 1rem var(--gutter) 1.5rem; max-height: calc(100vh - 76px); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--plum-line); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark); }
.mobile-nav a.active { color: var(--peach); }
.mobile-nav a.btn { margin-top: 1rem; color: var(--plum); border-bottom: 0; padding: .9rem 1rem; }
@media (min-width: 1200px) { .mobile-nav { display: none !important; } }

/* ---------- Hero (maroon, logo watermark - no photo) ---------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; color: var(--on-dark);
  background: radial-gradient(120% 90% at 85% 15%, #5a0a32 0%, rgba(90,10,50,0) 55%), linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 55%, #1c0110 100%); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-mark { position: absolute; pointer-events: none; background: url("../logo/mark-outline.svg") no-repeat center / contain; }
.hero .hero-bg .hero-mark { right: clamp(-6rem, -4vw, -1rem); top: 46%; width: min(46vw, 560px); aspect-ratio: 31 / 36; transform: translateY(-55%); opacity: .15; }
@media (max-width: 767px) { .hero .hero-bg .hero-mark { width: 78vw; right: -22vw; top: 30%; opacity: .12; } }
.hero > .container { position: relative; }
.hero-content { position: relative; max-width: 760px; padding-bottom: clamp(5rem, 9vw, 7rem); }
.hero-content h1 { color: var(--ivory); margin: 1.25rem 0 1.25rem; }
.hero-content h1 em { font-style: italic; font-weight: 600; color: var(--peach); }
.hero-content .lead { color: var(--on-dark-muted); max-width: 620px; }
.hero-chip { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(243,176,125,.35); background: rgba(7,0,2,.3); color: var(--peach); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font-size: 12px; color: var(--on-dark); }
.hero-points .material-symbols-outlined { color: var(--peach); font-size: 18px; }

/* Search bar */
.search-wrap { position: relative; margin: 0 0 -3.25rem; z-index: 5; }
.search-bar { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: .5rem; display: grid; gap: .5rem; }
.search-bar .seg { padding: .55rem .85rem; }
.search-bar label { display: flex; align-items: center; gap: .35rem; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.search-bar label .material-symbols-outlined { font-size: 15px; color: var(--peach-deep); }
.search-bar select { width: 100%; border: 0; background: transparent; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer; text-overflow: ellipsis; }
.search-bar select:disabled { color: var(--muted); cursor: not-allowed; }
.search-bar select:focus { outline: none; }
.search-bar .submit { display: flex; }
.search-bar .submit .btn { width: 100%; height: 100%; min-height: 54px; }
@media (min-width: 640px) { .search-bar { grid-template-columns: 1fr 1fr; } .search-bar .submit { grid-column: span 2; } }
@media (min-width: 1024px) {
  .search-bar { grid-template-columns: repeat(5, minmax(0, 1fr)) 170px; gap: 0; }
  .search-bar .seg { border-right: 1px solid var(--hair); }
  .search-bar .submit { grid-column: auto; padding-left: .5rem; }
}
.hero + .section { padding-top: calc(var(--section) + 3.25rem); }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg); box-shadow: var(--shadow-card); transition: border-color .3s, box-shadow .3s, transform .3s; }
.card:hover { border-color: var(--peach-soft); }
.card-pad { padding: clamp(1.5rem, 3vw, 2rem); }
.pillar { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.pillar::before { content: ""; position: absolute; right: -2rem; top: -2rem; width: 8rem; height: 8rem; border-radius: 50%; background: rgba(243,176,125,.12); filter: blur(28px); pointer-events: none; }
.pillar-dark { background: var(--plum); border-color: var(--plum-line); color: var(--on-dark); }
.pillar-dark h3 { color: var(--ivory); }
.pillar-dark .muted { color: var(--on-dark-muted); }
.pillar-dark .icon-box { background: rgba(243,176,125,.1); border-color: var(--plum-line); color: var(--peach); }
.pillar-dark .eyebrow { color: var(--peach); }
.icon-box { width: 48px; height: 48px; border-radius: var(--r); background: var(--subtle); border: 1px solid var(--hair); display: inline-flex; align-items: center; justify-content: center; color: var(--plum); margin-bottom: 1.25rem; }
.icon-box .material-symbols-outlined { font-size: 24px; }
.pillar h3 { margin: .15rem 0 0; }
/* icon sits beside the eyebrow + title, centred on them */
.pillar-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.pillar-head .icon-box { margin: 0; flex-shrink: 0; }
.pillar-head .eyebrow { display: block; line-height: 1.2; }
.pillar blockquote { margin: 0; font-style: italic; color: var(--muted); }
.pillar .foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--hair); display: flex; align-items: center; gap: .5rem; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-deep); }
.pillar.pillar-dark .foot { border-color: var(--plum-line); color: var(--peach); }
.pillar-dark blockquote { color: var(--on-dark-muted); }

.metrics-ribbon { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.metric-big { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--plum); line-height: 1; }
.metric-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

.value-row { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r); }
.value-item .material-symbols-outlined { color: var(--peach-deep); font-size: 24px; margin-top: 2px; }
.value-item strong { display: block; font-size: 13px; color: var(--plum); }
.value-item span { font-size: 12px; color: var(--muted); }

/* Listing card */
.listing { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); }
.listing:hover { box-shadow: var(--shadow-hover); }
.listing .frame { position: relative; height: 240px; overflow: hidden; background: var(--dim); }
.listing .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.listing:hover .frame img { transform: scale(1.05); }
.listing .frame .tl { position: absolute; top: 1rem; left: 1rem; }
.listing .frame .br { position: absolute; bottom: .75rem; right: .75rem; }
.listing .body { padding: 1.5rem; flex: 1; }
.listing .loc { display: flex; align-items: flex-start; gap: .3rem; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--peach-deep); margin-bottom: .5rem; }
.listing .loc .material-symbols-outlined { font-size: 15px; flex: none; margin-top: -1px; }
.listing h3 { font-size: 24px; font-weight: 600; margin-bottom: 1rem; }
.listing p { font-size: 12.5px; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .9rem 0; margin-bottom: 1rem; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.specs > div { text-align: center; }
.specs .material-symbols-outlined { color: var(--plum); font-size: 20px; }
.specs b { display: block; font-size: 12px; color: var(--ink); margin-top: .25rem; }
.specs span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.listing .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--hair); background: var(--subtle); }
.listing .foot .label { color: var(--muted); font-size: 9.5px; display: block; }
.listing .foot .price { font-size: 26px; }
.listing .foot .price small { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--muted); margin-right: .2rem; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-tabs button { padding: .55rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--hair); background: var(--card); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.filter-tabs button:hover { border-color: var(--champagne); color: var(--plum); }
.filter-tabs button.active { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.listings-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.listings-head .section-head { margin-bottom: 0; }

.banner { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 2rem; background: var(--subtle); border: 1px solid var(--hair); border-radius: var(--r-lg); }
.banner .left { display: flex; align-items: center; gap: 1.25rem; }
.banner .icon-box { margin: 0; flex-shrink: 0; }
.banner h4 { font-size: 23px; }
.banner p { font-size: 12.5px; color: var(--muted); }

/* Services */
.service { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; }
.service h3 { font-size: 24px; margin-bottom: .75rem; }
.service p { font-size: 12.5px; color: var(--muted); margin-bottom: 1.5rem; }
.service ul { margin: 0 0 1.5rem; }
.service li { position: relative; padding-left: 1.4rem; font-size: 12.5px; color: var(--ink); margin-bottom: .4rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }

/* Trust / stats / steps */
.trust-head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 1024px) { .trust-head { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--plum-line); border: 1px solid var(--plum-line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat .metric-label { overflow-wrap: break-word; }
.stat { background: var(--plum); padding: 1.75rem 1.5rem; }
.stat .metric-big { color: var(--peach); font-size: clamp(30px, 4vw, 40px); }
.stat .metric-label { color: var(--on-dark-muted); }
.steps { margin-top: 3.5rem; }
.steps h3 { text-align: center; margin-bottom: 2rem; }
.step { padding: 1.5rem; border-radius: var(--r-lg); background: rgba(84,30,58,.3); border: 1px solid var(--plum-line); }
.step .num { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: rgba(243,176,125,.45); display: block; margin-bottom: .5rem; line-height: 1; }
.step h4 { font-size: 23px; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: 12.5px; color: var(--on-dark-muted); }

/* Testimonials */
.testimonial { padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--r-xl); }
.testimonial .quote { font-family: var(--font-display); font-size: 56px; line-height: .8; color: rgba(243,176,125,.55); margin-bottom: 1rem; }
.testimonial p { font-size: 13.5px; margin-bottom: 1.5rem; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--plum); color: var(--peach); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .04em; flex-shrink: 0; }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.who strong { display: block; font-size: 13px; color: var(--plum); }
.who span { font-size: 11px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--plum); color: var(--on-dark); padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 2.5rem; }
.dark .cta, .deep .cta { background: linear-gradient(150deg, var(--plum-deep), #1c0110); border: 1px solid var(--plum-line); }
@media (min-width: 1024px) { .cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta::before { width: 320px; height: 320px; right: -80px; top: -120px; background: rgba(243,176,125,.18); }
.cta::after { width: 260px; height: 260px; left: -60px; bottom: -120px; background: rgba(232,201,155,.1); }
.cta > * { position: relative; min-width: 0; }
.cta { grid-template-columns: minmax(0, 1fr); }
.cta h2 { color: var(--ivory); margin: 1rem 0 1.25rem; }
.cta .lead { color: var(--on-dark-muted); }
.cta .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta .form-card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 1.75rem; border: 1px solid var(--hair); }
.cta .form-card h3 { margin-bottom: .35rem; }
.cta .form-card > p { font-size: 12px; color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border-radius: var(--r-sm); border: 1px solid var(--hair); background: var(--ivory);
  font-size: 13px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--peach); box-shadow: inset 0 0 0 1px var(--peach); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 11px; color: var(--muted); margin-top: .75rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem); color: var(--on-dark);
  background: radial-gradient(110% 120% at 90% 0%, #5a0a32 0%, rgba(90,10,50,0) 55%), linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 70%, #1c0110 100%); }
.page-hero .hero-mark { right: clamp(-3rem, -2vw, 0rem); top: 50%; height: 130%; aspect-ratio: 31 / 36; transform: translateY(-50%); opacity: .2; }
@media (max-width: 767px) { .page-hero .hero-mark { opacity: .1; right: -25%; } }
.page-hero .container { position: relative; }
.page-hero h1 { margin: .75rem 0 1rem; color: var(--ivory); }
.page-hero .lead { max-width: 720px; color: var(--on-dark-muted); }
.page-hero .eyebrow { color: var(--peach); }
.page-hero .eyebrow::before { background: rgba(243,176,125,.5); }
.page-hero .breadcrumb { color: var(--on-dark-muted); }
.page-hero .breadcrumb a:hover, .page-hero .breadcrumb .current { color: var(--peach); }
.page-hero .breadcrumb .sep { color: #7a3d5c; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 1rem 0; }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb .sep { color: var(--outline-var); }
.breadcrumb .current { color: var(--plum); }

/* ---------- Property detail ---------- */
.detail-title { display: grid; gap: 1.5rem; padding-block: 1rem 2rem; }
@media (min-width: 1024px) { .detail-title { grid-template-columns: 1fr auto; align-items: start; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.detail-title h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin-bottom: .6rem; }
.detail-title .sub { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: 13px; }
.detail-title .sub .material-symbols-outlined { color: var(--peach-deep); font-size: 18px; }
.price-card { padding: 1.5rem; text-align: right; }
@media (min-width: 1024px) { .price-card { min-width: 300px; } }
@media (max-width: 1023px) { .price-card { text-align: left; } .price-card .actions { justify-content: flex-start; } }
.price-card .label { color: var(--muted); font-size: 9.5px; }
.price-card .price { font-size: 34px; display: block; margin: .25rem 0; }
.price-card .price small { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--muted); }
.price-card .alt { font-size: 11.5px; color: var(--muted); }
.price-card .actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }

.gallery { display: grid; gap: .75rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: 3fr 1fr; } }
.gallery .main { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: var(--dim); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
@media (min-width: 900px) { .gallery { grid-template-rows: minmax(0, auto); } .gallery .main { min-height: 0; } }
.gallery .main .tl { position: absolute; top: 1rem; left: 1rem; }
.gallery .main .caption { position: absolute; left: 1rem; bottom: 1rem; right: 4rem; color: var(--ivory); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.gallery .main .caption .label { color: var(--peach); font-size: 9.5px; }
.gallery .main .caption .coord { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.gallery .main .expand { position: absolute; right: 1rem; bottom: 1rem; }
.gallery .main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,0,2,.65)); pointer-events: none; }
.thumbs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: .75rem; }
.thumbs-col { min-height: 0; }
@media (min-width: 900px) { .thumbs-col { position: relative; } .thumbs { position: absolute; inset: 0; grid-template-columns: 1fr; grid-template-rows: repeat(var(--n, 5), minmax(0, 1fr)); } }
.thumb { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; background: var(--dim); cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { border-color: var(--peach); }
.thumb span { position: absolute; left: .5rem; bottom: .5rem; background: rgba(255,255,255,.9); color: var(--plum); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 3px; }
@media (max-width: 899px) { .thumb span { display: none; } }
@media (min-width: 900px) { .thumb { aspect-ratio: auto; min-height: 0; height: 100%; } }

.detail-layout { display: grid; gap: 2rem; padding-block: 2rem 4rem; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.detail-layout > *, .detail-title > *, .split > *, .grid > * { min-width: 0; }
.detail-main > .card { margin-bottom: 1.5rem; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.card-head h2 { font-size: 28px; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.metric { padding: 1.1rem; border: 1px solid var(--hair); border-radius: var(--r); background: var(--subtle); }
.metric .top { display: flex; align-items: center; gap: .5rem; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.metric .top .material-symbols-outlined { color: var(--peach-deep); font-size: 18px; }
.metric b { display: block; font-size: 14px; color: var(--plum); }
.metric span { font-size: 11.5px; color: var(--muted); }

.legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 11px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -2px; margin-right: .35rem; border: 1px solid var(--hair); }
.plan-map { border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--subtle); padding: 1rem; }
.plan-map .road { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .6rem; border: 1px dashed var(--outline-var); border-radius: var(--r-sm); margin-bottom: .75rem; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(61,4,32,.04) 14px 28px); }
.plots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (min-width: 640px) { .plots { grid-template-columns: repeat(8, 1fr); } }
.plot { padding: .6rem .3rem; text-align: center; border-radius: var(--r-sm); border: 1px solid var(--hair); background: var(--card); font-size: 10px; line-height: 1.3; }
.plot b { display: block; font-size: 10.5px; color: var(--ink); letter-spacing: .04em; }
.plot span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.plot.sold { background: var(--dim); color: var(--muted); }
.plot.sold b { color: var(--muted); }
.plot.reserved { background: var(--amber-wash); }
.plot.available { border-color: #cfe3d6; }
.plot.selected { background: var(--peach); border-color: var(--peach); grid-row: span 1; }
.plot.selected b, .plot.selected span { color: var(--plum); }
.plot.selected .material-symbols-outlined { font-size: 14px; color: var(--plum); }
.plan-facilities { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; font-size: 11.5px; color: var(--muted); }
.plan-facilities span { display: inline-flex; align-items: center; gap: .35rem; }
.plan-facilities .material-symbols-outlined { color: var(--peach-deep); font-size: 16px; }

.dossier { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dossier-item { padding: 1.25rem; border: 1px solid var(--hair); border-radius: var(--r); display: flex; flex-direction: column; }
.dossier-item .head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .75rem; }
.dossier-item .icon-box { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.dossier-item h3 { font-size: 20px; }
.dossier-item .tag { font-size: 11px; color: var(--peach-deep); font-weight: 700; }
.dossier-item p { font-size: 12.5px; color: var(--muted); flex: 1; margin-bottom: 1rem; }

.amenities { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .amenities { grid-template-columns: repeat(4, 1fr); } }
.amenity { padding: 1.25rem; border: 1px solid var(--hair); border-radius: var(--r); background: var(--subtle); }
.amenity .material-symbols-outlined { color: var(--peach-deep); font-size: 24px; margin-bottom: .5rem; }
.amenity h3 { font-size: 26px; }
.amenity b { display: block; font-size: 12.5px; color: var(--ink); margin: .25rem 0; }
.amenity span { font-size: 11.5px; color: var(--muted); }

.plans { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) and (max-width: 1180px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; padding: 1.5rem; border: 1px solid var(--hair); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--peach); background: #fffaf5; }
.plan .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--peach); color: var(--plum); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan .label { color: var(--muted); font-size: 10px; }
.plan h3 { font-size: 30px; margin: .5rem 0; }
.plan h3 small { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--muted); }
.plan p { font-size: 12px; color: var(--muted); margin-bottom: 1rem; }
.plan ul { flex: 1; margin-bottom: 1.25rem; }
.plan li { display: flex; gap: .4rem; align-items: flex-start; font-size: 12px; margin-bottom: .45rem; }
.plan li .material-symbols-outlined { color: var(--green); font-size: 16px; margin-top: 2px; }

.sticky-card { position: sticky; top: 96px; }
.sticky-card .card { padding: 1.5rem; }
.sticky-card h2 { font-size: 28px; margin: .35rem 0 .5rem; }
.sticky-card > .card > p { font-size: 12px; color: var(--muted); margin-bottom: 1.25rem; }
.contact-lines { margin-top: 1rem; display: grid; gap: .5rem; }
.consultant { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hair); }
.consultant h4 { font-size: 20px; }
.consultant p { font-size: 11.5px; color: var(--muted); }

/* ---------- About page ---------- */
.qa-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.qa { padding: 1.75rem; }
.qa .q { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--plum); margin: .5rem 0 .75rem; }
.qa p { font-size: 13px; color: var(--muted); }
.qa .num { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--champagne); line-height: 1; }
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.person { padding: 1.75rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.person h3 { font-size: 25px; }
.person .role { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-deep); margin: .25rem 0 .9rem; }
.person a { display: flex; align-items: center; gap: .4rem; font-size: 12.5px; color: var(--ink); margin-bottom: .3rem; }
.person a:hover { color: var(--plum); }
.person a .material-symbols-outlined { font-size: 16px; color: var(--peach-deep); }
.feel { display: flex; flex-wrap: wrap; gap: .75rem; }
.feel span { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--plum-line); background: rgba(84,30,58,.3); color: var(--peach); font-family: var(--font-display); font-size: 21px; font-weight: 600; font-style: italic; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } }
.contact-block { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--hair); }
.contact-block:last-child { border-bottom: 0; }
.contact-block .icon-box { margin: 0; width: 42px; height: 42px; flex-shrink: 0; }
.contact-block strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.contact-block a, .contact-block p { font-size: 13.5px; color: var(--ink); display: block; }
.contact-block a:hover { color: var(--plum); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair); background: var(--dim); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #1c0110; color: var(--on-dark); border-top: 1px solid var(--plum-line); }
.footer-top { display: grid; gap: 2.5rem; padding-block: 3.5rem 3rem; border-bottom: 1px solid var(--plum-line); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-brand img { height: 48px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 12.5px; color: var(--on-dark-muted); max-width: 380px; margin-bottom: 1.25rem; }
.footer-brand .reg { display: inline-flex; align-items: center; gap: .5rem; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--champagne); }
.footer-brand .reg .material-symbols-outlined { font-size: 16px; }
.site-footer h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--peach); margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li a, .site-footer address { font-size: 12.5px; color: var(--on-dark-muted); font-style: normal; transition: color .2s; }
.site-footer li a:hover { color: var(--peach); }
.site-footer address { line-height: 1.8; }
.site-footer address a { color: var(--ivory); }
.site-footer address a:hover { color: var(--peach); }
.hours { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--champagne); }
.hours .material-symbols-outlined { font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; font-size: 11px; color: var(--on-dark-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom nav a { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.footer-bottom nav a:hover { color: var(--peach); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .items-center { align-items: center; } .between { justify-content: space-between; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa { color: #128c4a; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Print */
@media print { .topbar, .site-header, .site-footer, .sticky-card, .search-wrap { display: none !important; } }

/* Clickable listing cards */
.listing h3 a { display: block; color: inherit; transition: color .2s; }
.listing .foot .link-arrow { white-space: nowrap; }
.listing h3 a:hover { color: var(--peach-deep); }
.listing .frame > a { display: block; height: 100%; }

.listing .loc .code { color: var(--muted); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.thumbs { --n: 5; }

/* staff preview banner on plot.html?preview=1 */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .7rem var(--gutter); background: var(--amber-wash); color: var(--peach-deep); font-size: 12.5px; border-bottom: 1px solid #f5d3b4; }
.preview-bar a { margin-left: auto; font-weight: 700; color: var(--plum); text-decoration: underline; }

/* =========================================================
   Maroon sections: components that sit on --plum / --plum-deep
   ========================================================= */
.dark .metrics-ribbon, .deep .metrics-ribbon { border-color: var(--plum-line); }
.dark .metric-big, .deep .metric-big { color: var(--peach); }
.dark .metric-label, .deep .metric-label { color: var(--on-dark-muted); }
.dark .value-item, .deep .value-item { background: rgba(255,255,255,.04); border-color: var(--plum-line); }
.dark .value-item strong, .deep .value-item strong { color: var(--ivory); }
.dark .value-item span, .deep .value-item span { color: var(--on-dark-muted); }
.dark .value-item .material-symbols-outlined, .deep .value-item .material-symbols-outlined { color: var(--peach); }
.dark .pillar-dark, .deep .pillar-dark { background: var(--plum-deep); border-color: rgba(243,176,125,.35); }
.pillar-light { background: var(--ivory); color: var(--ink); }
.dark .pillar-light h3, .deep .pillar-light h3 { color: var(--plum); }
.dark .pillar-light .eyebrow, .deep .pillar-light .eyebrow { color: var(--peach-deep); }
.dark .card.service, .deep .card.service { background: rgba(255,255,255,.04); border-color: var(--plum-line); box-shadow: none; }
.dark .card.service:hover, .deep .card.service:hover { border-color: rgba(243,176,125,.5); background: rgba(255,255,255,.06); }
.dark .service h3, .deep .service h3 { color: var(--ivory); }
.dark .service p, .deep .service p { color: var(--on-dark-muted); }
.dark .service li, .deep .service li { color: var(--on-dark); }
.dark .icon-box, .deep .icon-box { background: rgba(243,176,125,.1); border-color: var(--plum-line); color: var(--peach); }
.dark .pillar-light .icon-box { background: var(--subtle); border-color: var(--hair); color: var(--plum); }
.dark .link-arrow, .deep .link-arrow { color: var(--peach); border-color: rgba(243,176,125,.4); }
.dark .map-frame { border-color: var(--plum-line); }
.cream .banner { background: var(--card); }
.cream .card { border-color: #eedfd3; }

/* =========================================================
   Preloader: the logo icon draws its lines, fills, then opens
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: radial-gradient(80% 70% at 50% 40%, #4a0628 0%, var(--plum-deep) 60%, #160009 100%);
  transition: opacity .6s ease, visibility .6s ease; animation: preloader-out .6s ease 6s forwards; }
.preloader svg { width: clamp(84px, 14vw, 120px); height: auto; overflow: visible; }
.preloader polygon { fill: transparent; stroke-width: 3; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-line 1.1s cubic-bezier(.6,.05,.3,1) forwards, fill-in .45s ease 1.45s forwards; }
.preloader .p-plum { stroke: var(--ivory); --fill: var(--ivory); }
.preloader .p-peach { stroke: var(--peach); --fill: var(--peach); }
.preloader polygon:nth-child(2) { animation-delay: .18s, 1.45s; }
.preloader polygon:nth-child(3) { animation-delay: .36s, 1.45s; }
.preloader polygon:nth-child(4) { animation-delay: .54s, 1.45s; }
.preloader span { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .04em; color: var(--champagne); opacity: 0; animation: fade-up .6s ease 1.2s forwards; }
.preloader.done { opacity: 0; visibility: hidden; }
.no-intro .preloader { display: none; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill: var(--fill); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .preloader polygon { animation: none; stroke-dashoffset: 0; fill: var(--fill); }
  .preloader span { animation: none; opacity: 1; }
}

/* =========================================================
   Gallery, Announcements, Careers
   ========================================================= */
.content-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.content-empty .material-symbols-outlined { font-size: 40px; color: var(--peach-deep); display: block; margin: 0 auto .75rem; }
.album-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.album { overflow: hidden; border-radius: var(--r-xl); display: flex; flex-direction: column; cursor: pointer; text-align: left; padding: 0; width: 100%; }
.album:hover { box-shadow: var(--shadow-hover); }
.album .cover { position: relative; aspect-ratio: 4 / 3; background: var(--dim); overflow: hidden; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album:hover .cover img { transform: scale(1.05); }
.album .cover .badge { position: absolute; right: .75rem; bottom: .75rem; }
.album .body { padding: 1.25rem 1.4rem 1.4rem; }
.album .date { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-deep); }
.album h3 { font-size: 23px; margin: .35rem 0 .4rem; }
.album p { font-size: 12.5px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(12,0,6,.95); display: none; flex-direction: column; color: var(--on-dark); }
.lightbox.open { display: flex; }
.lightbox .lb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter); }
.lightbox .lb-head h3 { color: var(--ivory); font-size: 23px; }
.lightbox .lb-head span { font-size: 12px; color: var(--on-dark-muted); }
.lightbox .lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 0 var(--gutter); }
.lightbox .lb-stage figure { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox .lb-stage img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: var(--r); }
.lightbox figcaption { margin-top: .75rem; font-size: 13px; color: var(--on-dark-muted); text-align: center; }
.lightbox .icon-btn { background: rgba(255,255,255,.08); border-color: var(--plum-line); color: var(--ivory); flex-shrink: 0; }
.lightbox .lb-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem var(--gutter); }
.lightbox .lb-thumbs button { flex: 0 0 72px; height: 54px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; opacity: .6; padding: 0; }
.lightbox .lb-thumbs button.active { border-color: var(--peach); opacity: 1; }
.lightbox .lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.news-list { display: grid; gap: 1.25rem; max-width: 920px; margin-inline: auto; }
.news { padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .news.has-img { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.news .n-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dim); }
.news .n-img img { width: 100%; height: 100%; object-fit: cover; }
.news .meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--peach-deep); }
.news h2 { font-size: clamp(25px, 2.6vw, 31px); margin-bottom: .6rem; }
.news .n-body { font-size: 13.5px; color: var(--ink); white-space: pre-line; }
.news .n-body.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news .more { margin-top: .9rem; }
.pinned { background: var(--peach); color: var(--plum); padding: .15rem .55rem; border-radius: 999px; }

.jobs { display: grid; gap: 1.25rem; max-width: 980px; margin-inline: auto; }
.job { padding: clamp(1.5rem, 3vw, 2rem); }
.job .top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.job h2 { font-size: clamp(25px, 2.6vw, 31px); }
.job .chips { margin: .75rem 0 0; }
.job .deadline { font-size: 12px; color: var(--muted); }
.job .deadline b { color: var(--plum); }
.job details { margin-top: 1rem; border-top: 1px solid var(--hair); padding-top: 1rem; }
.job summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: "expand_more"; font-family: "Material Symbols Outlined"; font-size: 18px; transition: transform .2s; }
.job details[open] summary::after { transform: rotate(180deg); }
.job .j-body { margin-top: 1rem; display: grid; gap: 1.25rem; }
.job .j-body h3 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--peach-deep); margin-bottom: .4rem; }
.job .j-body p { font-size: 13px; white-space: pre-line; }
.job .j-body ul li { position: relative; padding-left: 1.2rem; font-size: 13px; margin-bottom: .35rem; }
.job .j-body ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.job .apply { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.job.closed { opacity: .7; }
