/* ============================================================
   "The Cedar House" property theme (ported from the Luxury
   Property Microsite design). Palette: cream / forest / brass.
   ============================================================ */

:root {
  --cream: #f5f2ec;
  --cream2: #efe9df;
  --card: #fffdf9;
  --ink: #1c1b19;
  --ink2: #2b2a27;
  --green: #26332b;
  --green2: #324338;
  --brass: #a9814e;
  --brass-dark: #946e3d;
  --gold: #c9a86a;
  --muted: #6f675b;
  --faint: #8a8073;
  --line: rgba(28, 27, 25, .08);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--cream); line-height: 1.65; font-size: 16px;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brass); color: var(--cream); }
img { max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 5vw, 56px); padding-right: clamp(20px, 5vw, 56px); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

.fade-up { animation: fadeUp .9s both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; }
.d4 { animation-delay: .46s; } .d5 { animation-delay: .58s; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

.preview-banner { background: #b45309; color: #fff; text-align: center; padding: 9px 16px; font-size: .9rem; position: relative; z-index: 80; }
.preview-banner a { color: #fff; font-weight: 700; margin-left: 6px; }

/* ---- Type & shared bits ---- */
.eyebrow {
  display: inline-block; font: 600 12px/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
}
.eyebrow.gold { color: var(--gold); }
.h-serif {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05;
  letter-spacing: -.01em; margin: 12px 0 0; color: var(--ink);
}
.h-serif.light { color: #efe9df; }
.h-serif.h-sm { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; }
.copy { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 14px 0 0; max-width: 48ch; }
.dark-copy { font-size: 16px; line-height: 1.7; color: rgba(239, 233, 223, .8); margin: 20px 0 0; max-width: 46ch; }

.section { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.section-cream2 { background: var(--cream2); }
.section-dark { background: var(--green); color: #efe9df; padding: clamp(70px, 9vw, 140px) 0; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -26px rgba(28,27,25,.4); border-color: rgba(169,129,78,.4); }

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(169, 129, 78, .1); color: var(--brass); flex: none;
}
.icon-tile.lg { width: 44px; height: 44px; border-radius: 12px; }

/* ---- Pill buttons ---- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em;
  padding: 15px 26px; border-radius: 100px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .3s, background .3s, box-shadow .3s, border-color .3s;
}
.pill-sm { font-size: 13px; padding: 11px 20px; }
.pill-wide { width: 100%; }
.pill-brass { background: var(--brass); color: var(--cream); }
.pill-brass:hover { background: var(--brass-dark); transform: translateY(-1px); }
.pill-light { background: var(--cream); color: var(--ink); }
.pill-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.pill-ghost { background: rgba(245,242,236,.08); color: var(--cream); border: 1px solid rgba(245,242,236,.4); backdrop-filter: blur(6px); }
.pill-ghost:hover { background: rgba(245,242,236,.16); }
.pill-dark { background: var(--ink); color: var(--cream); }
.pill-dark:hover { transform: translateY(-2px); background: var(--ink2); }
.pill-green { background: var(--green); color: var(--cream); }
.pill-green:hover { background: var(--green2); transform: translateY(-2px); }
.pill-outline { background: transparent; color: var(--green); border: 1px solid rgba(28,27,25,.2); }
.pill-outline:hover { border-color: var(--brass); }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--cream); background: transparent; border-bottom: 1px solid transparent;
  transition: background .45s, color .45s, box-shadow .45s, border-color .45s;
}
.site-header.scrolled {
  background: rgba(245, 242, 236, .86); color: var(--ink);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 22px -12px rgba(28,27,25,.4); border-color: rgba(28,27,25,.07);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark {
  flex: none; width: 30px; height: 30px; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; font-weight: 600;
}
.brand-name {
  font-family: var(--serif); font-size: 20px; letter-spacing: .14em; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.desk-nav { display: flex; align-items: center; gap: 26px; }
.desk-nav > a:not(.pill) {
  color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: .02em; opacity: .9; padding-bottom: 2px;
  border-bottom: 1.5px solid transparent; transition: border-color .25s, opacity .25s;
}
.desk-nav > a:not(.pill):hover { opacity: 1; border-color: var(--brass); }
.menu-btn {
  display: none; background: none; border: 1px solid currentColor; color: inherit;
  border-radius: 8px; width: 42px; height: 42px; cursor: pointer;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; }

.drawer {
  position: fixed; inset: 0; z-index: 70; background: rgba(38, 51, 43, .97);
  backdrop-filter: blur(8px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.drawer.open { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer-link { color: var(--cream); text-decoration: none; font-family: var(--serif); font-size: 30px; letter-spacing: .02em; }
.drawer-link.pill { font-family: var(--sans); font-size: 14px; margin-top: 14px; }
.drawer-close { position: absolute; top: 22px; right: 24px; background: none; border: none; color: var(--cream); font-size: 26px; cursor: pointer; line-height: 1; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--green); }
.hero-parallax { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hero-media {
  position: absolute; inset: 0;
  background: var(--green) center / cover no-repeat;
  animation: slowzoom 18s ease-in-out infinite alternate;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,22,.35) 0%, rgba(20,26,22,.2) 35%, rgba(20,26,22,.55) 72%, rgba(20,26,22,.85) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(46px, 7vw, 90px); padding-top: 120px; color: var(--cream); }
.status-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid rgba(245,242,236,.4); padding: 8px 14px; border-radius: 100px; backdrop-filter: blur(4px);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #8fbf9a; box-shadow: 0 0 0 4px rgba(143,191,154,.25); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 8vw, 6.6rem); line-height: .98; letter-spacing: -.015em;
  margin: 20px 0 0; max-width: 15ch;
}
.hero-tagline { font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.5; max-width: 44ch; margin: 20px 0 0; color: rgba(245,242,236,.9); }
.hero-priceline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin: 26px 0 0; }
.hero-price { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
.hero-address { font-size: 14px; letter-spacing: .03em; color: rgba(245,242,236,.75); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 0; }
.hero-stat {
  flex: 1 1 130px; min-width: 120px;
  background: rgba(245,242,236,.1); border: 1px solid rgba(245,242,236,.2);
  backdrop-filter: blur(10px); border-radius: 16px; padding: 16px 18px;
  animation: floatY 6s ease-in-out infinite;
}
.hero-stat-v { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.hero-stat-l { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,242,236,.7); margin-top: 6px; }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(245,242,236,.7);
}
.scroll-hint span:first-child { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 34px; background: linear-gradient(rgba(245,242,236,.7), transparent); animation: bob 2s ease-in-out infinite; }

/* ---- Snapshot ---- */
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 44px; }
.snap-card { padding: 22px 22px 24px; }
.snap-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-top: 18px; }
.snap-value { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-top: 4px; }

/* ---- Story ---- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: center; }
.story-copy { margin-top: 24px; }
.story-copy p { font-size: 16px; line-height: 1.75; color: rgba(239,233,223,.82); margin: 0 0 16px; max-width: 54ch; }
.story-photo { margin: 0; position: relative; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 26px 22px;
  background: linear-gradient(transparent, rgba(20,26,22,.7));
  font: 500 11px/1 ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase; color: rgba(201,168,106,.9);
}

/* ---- Gallery ---- */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tab {
  cursor: pointer; font: 600 12.5px/1 var(--sans); letter-spacing: .03em;
  padding: 9px 16px; border-radius: 100px;
  border: 1px solid rgba(28,27,25,.16); background: transparent; color: var(--muted);
  transition: all .25s;
}
.tab.active { border-color: var(--brass); background: var(--brass); color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 26px; }
.g-item {
  position: relative; overflow: hidden; border: none; cursor: pointer;
  border-radius: 14px; padding: 0; aspect-ratio: 4/3; background: var(--green);
}
.g-item.g-main { grid-column: span 2; aspect-ratio: 16/9; min-height: 260px; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.06); }
.g-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,26,22,.72)); opacity: 0; transition: opacity .35s; }
.g-item:hover .g-scrim { opacity: 1; }
.g-meta { position: absolute; left: 16px; bottom: 14px; text-align: left; z-index: 2; opacity: 0; transition: opacity .35s; }
.g-item:hover .g-meta { opacity: 1; }
.g-cat { display: block; font: 500 10px/1 ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,242,236,.7); }
.g-label { display: block; font-family: var(--serif); font-size: 19px; color: var(--cream); margin-top: 3px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 20, 17, .92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 60px); animation: fadeUp .3s ease;
}
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; position: relative; max-width: min(1100px, 92vw); max-height: 82vh; }
.lb-stage img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 14px; display: block; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(transparent, rgba(20,26,22,.7)); border-radius: 0 0 14px 14px; }
.lb-cat { display: block; font: 500 11px/1 ui-monospace, monospace; letter-spacing: .18em; text-transform: uppercase; color: rgba(201,168,106,.9); }
.lb-label { display: block; font-family: var(--serif); font-size: 28px; color: var(--cream); margin-top: 6px; }
.lb-btn {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(245,242,236,.12); border: 1px solid rgba(245,242,236,.3);
  color: var(--cream); font-size: 22px; cursor: pointer;
}
.lb-btn:hover { background: rgba(245,242,236,.25); }
.lb-close { top: 22px; right: 26px; width: 44px; height: 44px; }
.lb-prev { left: clamp(10px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(10px, 3vw, 40px); top: 50%; transform: translateY(-50%); }

/* ---- Amenities ---- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 40px; }
.amenity { border-radius: 14px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.amenity:hover { transform: translateY(-4px); }
.amenity:hover .icon-tile { transform: scale(1.12) rotate(-4deg); background: rgba(169,129,78,.18); }
.amenity .icon-tile { transition: transform .35s ease, background .35s; }
.amenity-n { font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--ink2); }

/* ---- Video / map ---- */
.media-frame { position: relative; padding-top: 56.25%; border-radius: 20px; overflow: hidden; margin-top: 34px; background: var(--green); }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wrap { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(28,27,25,.1); margin-top: 38px; }
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: var(--card); border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 16px 34px -22px rgba(28,27,25,.4); max-width: min(340px, calc(100% - 40px));
}
.map-card-eyebrow { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.map-card-addr { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-top: 6px; }
.map-card-city { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---- Open house ---- */
.oh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.oh-card {
  background: rgba(245,242,236,.06); border: 1px solid rgba(245,242,236,.16);
  border-radius: 18px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.oh-when { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.oh-date { font-family: var(--serif); font-size: 28px; color: var(--cream); margin-top: 6px; }
.add-to-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; font-size: 12px; font-family: var(--sans); }
.add-to-cal-label { color: rgba(245,242,236,.5); }
.add-to-cal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.add-to-cal a:hover { color: var(--cream); }
.oh-badge {
  flex: none; font: 600 11px/1 var(--sans); letter-spacing: .08em;
  padding: 8px 13px; border-radius: 100px;
  background: rgba(143,191,154,.16); color: #a9d5b3; border: 1px solid rgba(143,191,154,.35);
}

/* ---- Modal ---- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 20, 17, .7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeUp .3s ease;
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(520px, 94vw); max-height: 90vh; overflow: auto;
  background: var(--cream); border-radius: 22px; padding: clamp(24px, 4vw, 40px);
  position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.modal-card .h-serif { margin-bottom: 22px; }
.modal-close {
  position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(28,27,25,.06); border: none; color: var(--ink); font-size: 20px; cursor: pointer;
}

/* ---- Forms ---- */
.form-stack { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 13px; }
.field {
  width: 100%; font: 400 15px/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid rgba(28,27,25,.16); border-radius: 12px;
  padding: 14px 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,129,78,.18); }
textarea.field { resize: vertical; }
.fine-print { font-size: 12px; line-height: 1.5; color: var(--faint); margin: 2px 0 0; }
.fine-print.dim { color: rgba(239,233,223,.5); margin-top: 18px; }
.sent-card {
  margin-top: 26px; background: var(--card); border: 1px solid rgba(143,191,154,.4);
  border-radius: 18px; padding: 32px; text-align: center;
}
.sent-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(143,191,154,.2); color: #3a7a4c; margin-bottom: 8px;
}
.sent-card .copy { max-width: none; }

/* ---- Agent ---- */
.agent-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 3vw, 44px);
}
.agent-portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  background: var(--green); max-width: 340px;
  display: flex; align-items: center; justify-content: center;
}
.agent-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.agent-initial { font-family: var(--serif); font-size: 96px; font-weight: 600; color: var(--gold); }
.agent-name { font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); }
.agent-brokerage { font-size: 15px; font-weight: 600; color: var(--ink2); margin-top: 8px; }
.agent-license { font: 500 12px/1 var(--sans); letter-spacing: .04em; color: #a9a090; margin-top: 6px; }
.agent-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.agent-ctas .pill { font-size: 13px; padding: 13px 20px; }

/* ---- Request + mortgage ---- */
.request-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(24px, 4vw, 50px); align-items: start; }
.mortgage-card { background: var(--green); color: #efe9df; border-radius: 22px; padding: clamp(24px, 3vw, 38px); }
.m-total-box {
  text-align: center; background: rgba(245,242,236,.06); border: 1px solid rgba(245,242,236,.14);
  border-radius: 16px; padding: 24px; margin-top: 24px;
}
.m-total-label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.m-total { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; color: var(--cream); margin-top: 6px; }
.m-breakdown { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 12.5px; color: rgba(239,233,223,.7); }
.m-slider { display: block; margin-top: 20px; }
.m-slider-head { display: flex; justify-content: space-between; font-size: 13px; color: rgba(239,233,223,.8); margin-bottom: 7px; }
.m-slider-head strong { color: var(--cream); }
.m-slider input[type="range"] { width: 100%; accent-color: var(--brass); cursor: pointer; }
.m-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.m-inputs label span { display: block; font-size: 12px; color: rgba(239,233,223,.8); margin-bottom: 6px; }
.field.dark {
  color: var(--cream); background: rgba(245,242,236,.08);
  border-color: rgba(245,242,236,.2); border-radius: 10px; padding: 12px 13px;
}
.field.dark:focus { border-color: var(--brass); box-shadow: none; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cbc6bb; padding: clamp(50px, 7vw, 90px) 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(245,242,236,.12);
}
.brand.light { color: var(--cream); }
.footer-addr { font-size: 14px; line-height: 1.7; margin: 16px 0 0; max-width: 34ch; }
.footer-h { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.footer-agent { font-family: var(--serif); font-size: 20px; color: var(--cream); margin-top: 14px; }
.footer-line { font-size: 14px; margin-top: 6px; }
.footer-line.dim { font-size: 13px; color: var(--faint); }
.footer-links { display: grid; gap: 9px; margin-top: 14px; }
.footer-links a { color: #cbc6bb; text-decoration: none; font-size: 14px; transition: color .25s; }
.footer-links a:hover { color: var(--cream); }
.badges { display: flex; gap: 10px; margin-top: 14px; }
.badges span {
  width: 46px; height: 46px; border: 1px solid rgba(245,242,236,.2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font: 600 9px/1.2 var(--sans); text-align: center; color: var(--faint);
}
.disclaimer { font-size: 12px; line-height: 1.7; color: var(--faint); margin: 26px 0 0; max-width: 80ch; }
.copyright { font-size: 12px; color: #6b665d; margin-top: 16px; }

/* ---- Sticky mobile CTA ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px; align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(245,242,236,.92); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(28,27,25,.08);
}
.cta-call {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--green); color: var(--cream);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 899px) {
  .desk-nav { display: none; }
  .menu-btn { display: flex; }
  .sticky-cta { display: flex; }
  .g-item.g-main { grid-column: span 1; aspect-ratio: 4/3; min-height: 0; }
  .m-inputs { grid-template-columns: 1fr; }
  body { padding-bottom: 80px; }
}

/* ===== Price gate / unlock form ===== */
.unlock { margin-top: 22px; max-width: 560px; }
.unlock-copy { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.unlock-err { font-size: 13px; color: #ffb4ab; margin-bottom: 10px; }
.unlock-form { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock-form input { flex: 1 1 160px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; }
.unlock-form input::placeholder { color: rgba(255,255,255,.6); }

/* ===== Share bar ===== */
.share-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 8px; }
.share-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-right: 6px; }
.share-bar a, .share-bar .share-copy { font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 0; font-family: inherit; }
