@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&family=Italiana&display=swap');

:root {
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --light:       #f0ede8;
  --slate:       #2c3e50;
  --slate-mid:   #3d5166;
  --slate-light: #4e6478;
  --copper:      #b87333;
  --copper-light:#d4956a;
  --text:        #1a2530;
  --text-muted:  rgba(26,37,48,.65);
  --border:      rgba(26,37,48,.1);

  --serif:  "Libre Baskerville", Georgia, serif;
  --sans:   "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --display: "Italiana", Georgia, serif;

  --max:      1200px;
  --pad:      clamp(18px, 3vw, 48px);
  --sectionY: clamp(64px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--text);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

.section { padding: var(--sectionY) 0; }
.section.white     { background: var(--white);     color: var(--text); }
.section.off-white { background: var(--off-white);  color: var(--text); }
.section.light     { background: var(--light);      color: var(--text); }
.section.slate {
  background:
    linear-gradient(rgba(44,62,80,.88), rgba(44,62,80,.88)),
    url('../real-estate-site/hero.png') center / cover no-repeat fixed;
  color: var(--white);
}
.section.slate-mid {
  background:
    linear-gradient(rgba(61,81,102,.86), rgba(61,81,102,.86)),
    url('../real-estate-site/hero.png') center top / cover no-repeat fixed;
  color: var(--white);
}

/* ── TYPOGRAPHY ── */
.huge-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .04em;
  font-size: clamp(28px, 5.5vw, 76px);
  margin: 0;
  line-height: .95;
  color: var(--slate);
}
.section.slate .huge-title,
.section.slate-mid .huge-title {
  color: var(--white);
}

.subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  margin-top: 16px;
  opacity: .8;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}

.p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.8;
  margin: 0;
  color: var(--text-muted);
}
.p.sm { font-size: clamp(13px, 1.5vw, 14px); }
.p.light-text { color: rgba(255,255,255,.75); }

/* copper divider */
.copper-line {
  width: 48px;
  height: 2px;
  background: var(--copper);
  margin: 20px 0;
}
.copper-line.center { margin: 20px auto; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--slate);
}
.hero-img {
  position: absolute; inset: 0;
  background-image: url('../real-estate-site/hero.png');
  background-size: cover;
  background-position: center;
  filter: brightness(.45) saturate(.5);
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(44,62,80,.85) 0%,
    rgba(44,62,80,.5)  50%,
    rgba(44,62,80,.3)  100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad);
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  max-width: 700px;
}
.hero-tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--copper-light);
  border: 1px solid rgba(184,115,51,.5);
  padding: 6px 14px;
  border-radius: 1px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0 0 8px;
  line-height: .95;
  color: var(--white);
}
.hero-address {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,.7);
  margin: 16px 0 0;
  letter-spacing: .04em;
}
.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--copper);
  margin: 24px 0;
  opacity: .8;
}
.hero-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── PROPERTY HIGHLIGHTS ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
}
.highlight-item {
  background: var(--white);
  padding: clamp(24px, 4vw, 44px) clamp(16px, 3vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.highlight-icon { font-size: 1.8rem; margin-bottom: 4px; }
.highlight-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
}
.highlight-value {
  font-family: var(--serif);
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.2;
}

/* ── PHOTO GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}
.gallery-grid .photo-main {
  grid-row: 1 / 3;
  overflow: hidden;
}
.gallery-grid .photo-main img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  filter: brightness(.95) saturate(.9);
  transition: transform .5s ease, filter .4s ease;
}
.gallery-grid .photo-main:hover img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}
.gallery-grid .photo-side {
  overflow: hidden;
}
.gallery-grid .photo-side img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  filter: brightness(.92) saturate(.85);
  transition: transform .5s ease, filter .4s ease;
}
.gallery-grid .photo-side:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-grid .photo-main { grid-row: auto; }
}

/* ── MESSAGE ── */
.message-wrap {
  max-width: 780px;
  margin: 0 auto;
}

/* ── EVENT DETAILS ── */
.details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
}
@media (max-width: 640px) {
  .details-list { grid-template-columns: 1fr; }
}
.details-item {}
.details-item .item-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.details-item .item-value {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
}
.details-item .item-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* ── SCHEDULE ── */
.program {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.5vw, 24px);
  max-width: 600px;
  margin: 0 auto;
}
.program .date {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
}
.schedule {
  display: grid;
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.12);
}
.row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.row:last-child { border-bottom: none; }
.time {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-light);
  min-width: 80px;
  flex-shrink: 0;
}
.what {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--white);
}

/* ── RSVP ── */
.rsvp-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.rsvp-head {
  margin-bottom: clamp(32px, 5vw, 52px);
}
.rsvp-deadline {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  margin: 12px 0 0;
  color: var(--text-muted);
}
.rsvp-deadline strong {
  font-weight: 500;
  color: var(--copper);
}

.rsvp-form { display: grid; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26,37,48,.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184,115,51,.1);
}
.form-group select option {
  background: var(--white);
  color: var(--text);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.radio-group {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 12px 0;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}
.radio-label input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--copper);
  padding: 0;
  border: none;
  background: none;
}

.form-submit { margin-top: 10px; }
.btn-rsvp {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--slate);
  color: var(--white);
  border: none;
  padding: 16px 52px;
  border-radius: 1px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-rsvp:hover {
  background: var(--slate-mid);
  transform: translateY(-1px);
}
.btn-rsvp:active { transform: translateY(0); }

.rsvp-success {
  padding: 40px 0;
}
.rsvp-success .serif-large {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--slate);
  margin: 0 0 12px;
}
.rsvp-success .p { color: var(--text-muted); }

/* ── FAQ ── */
.qa .qa-wrap { width: min(840px, 100%); margin: 0 auto; }
.qa .question {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  margin: 44px 0 10px;
  color: var(--slate);
}
.qa .answer {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
  color: var(--text-muted);
}

/* ── AGENT / CONTACT ── */
.agent-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: clamp(28px, 4vw, 56px);
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .agent-card { grid-template-columns: 1fr; }
}
.agent-photo {
  width: clamp(120px, 18vw, 200px);
  height: clamp(120px, 18vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--light);
  flex-shrink: 0;
}
.agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agent-name {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 42px);
  color: var(--slate);
  margin: 0 0 4px;
}
.agent-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.agent-details { display: grid; gap: 10px; margin-top: 16px; }
.agent-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-muted);
}
.agent-detail strong {
  font-weight: 500;
  color: var(--text);
  min-width: 60px;
}
.social { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.icon {
  width: 32px; height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s;
}
.icon:hover { background: rgba(184,115,51,.1); border-color: rgba(184,115,51,.4); }
.icon svg { width: 16px; height: 16px; fill: var(--slate); opacity: .8; }

/* ── FOOTER ── */
.footerbar {
  background:
    linear-gradient(rgba(30,44,56,.95), rgba(30,44,56,.95)),
    url('../real-estate-site/hero.png') center / cover no-repeat;
  color: rgba(255,255,255,.65);
  font-family: var(--sans);
  font-size: 12px;
}
.footerbar .inner {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footerbar a { color: rgba(255,255,255,.55); text-decoration: none; margin-right: 18px; }
.footerbar a:hover { color: var(--copper-light); }
.pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  color: rgba(255,255,255,.7);
}