@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --navy: #0c1a2e;
  --navy-deep: #071018;
  --ink: #16130f;
  --cream: #f3eee6;
  --sand: #e4d9c8;
  --gold: #c4a35a;
  --gold-bright: #d8bc74;
  --muted: #6d665c;
  --paper: #fffaf3;
  --line: #d7cebf;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.01em; text-wrap: balance; font-weight: 500; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(72rem, calc(100% - 4rem)); } }

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-lg { min-height: 3rem; padding: 0 2rem; }
.btn-sm { min-height: 2.25rem; padding: 0 1rem; font-size: 0.75rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline {
  background: transparent;
  border-color: rgba(196, 163, 90, 0.8);
  color: var(--cream);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s;
}
.site-header.is-solid {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(7, 16, 24, 0.3);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 4.25rem;
}
@media (min-width: 640px) { .header-bar { height: 5rem; } }
.brand-logo {
  height: auto;
  width: auto;
  max-height: 3rem;
  max-width: 46vw;
  object-fit: contain;
  object-position: left;
}
@media (min-width: 640px) {
  .brand-logo { max-height: 3.5rem; max-width: 15rem; }
}
.nav-desk {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav-desk a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.85);
}
.nav-desk a:hover, .nav-desk a.is-on { color: var(--gold); }
.phone-link { display: flex; align-items: center; gap: 0.5rem; color: var(--cream) !important; letter-spacing: 0 !important; text-transform: none !important; }
.header-mobile { display: flex; align-items: center; }
.icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--cream);
}
.mobile-panel {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(243, 238, 230, 0.1);
  padding: 1rem 1.25rem 1.25rem;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}
@media (min-width: 768px) {
  .nav-desk { display: flex; }
  .header-mobile { display: none; }
}

.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
}
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-kenburns { animation: hero-kenburns 14s ease-out forwards; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(7,16,24,0.88), rgba(12,26,46,0.55), rgba(7,16,24,0.25)),
    linear-gradient(to top, rgba(7,16,24,0.8), transparent, rgba(7,16,24,0.3));
}
.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 0 5rem;
}
.hero-logo {
  width: min(86vw, 20rem);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.55));
  animation: slide-in-logo 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 640px) { .hero-logo { width: min(70vw, 26rem); } }
.hero-title {
  margin: 0;
  max-width: 48rem;
  font-family: var(--sans);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--cream);
}
.hero-sub { margin: 1rem 0 0; max-width: 42rem; color: rgba(243,238,230,0.9); font-size: 1.05rem; }
.hero-scroll { margin: 0.75rem 0 0; font-size: 0.875rem; color: rgba(243,238,230,0.7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-arrows {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.hero-arrows button {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(243,238,230,0.3);
  background: rgba(12,26,46,0.4);
  color: var(--cream);
}
.hero-arrows button:hover { background: var(--navy); }

@keyframes hero-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
@keyframes slide-in-logo {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: translateX(0); }
}

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-paper { background: var(--paper); }
.section { padding: 4rem 0; }
.who-grid, .contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .who-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.display { margin: 0.75rem 0 0; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); }
.navy-section .display { color: var(--cream); }
.lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.7; color: rgba(22,19,15,0.85); }
.body { margin-top: 1rem; line-height: 1.7; color: rgba(22,19,15,0.8); }
.frame { overflow: hidden; border: 1px solid var(--line); background: var(--sand); border-radius: 2px; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cards { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  border: 1px solid rgba(243,238,230,0.15);
  background: rgba(7,16,24,0.5);
  padding: 1.5rem;
}
.card h3 { margin: 1rem 0 0; font-size: 1.5rem; }
.card p { margin: 0.5rem 0 0; color: var(--sand); }
.claim { margin: 2.5rem 0 0; max-width: 48rem; font-size: 1.125rem; }

.cta-band { position: relative; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .shade { position: absolute; inset: 0; background: rgba(7,16,24,0.78); }
.cta-inner { position: relative; text-align: center; padding: 5rem 0; }
.cta-inner h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); }
.cta-inner p { margin: 1rem 0 0; font-size: 1.125rem; color: var(--sand); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

.reviews-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: stretch; }
}
.review-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 2rem;
}
.rating { margin: 0.75rem 0 0; font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--navy); }
.stars { margin-top: 0.75rem; color: var(--gold); letter-spacing: 0.15em; font-size: 1.35rem; }
.map-frame { min-height: 320px; border: 1px solid var(--line); background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.page-hero { background: var(--navy); padding: 6.5rem 0 2rem; color: var(--cream); }
.page-hero h1 { margin: 0.5rem 0 0; font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); }
.page-hero p { margin: 0.75rem 0 0; max-width: 42rem; color: var(--sand); }
.page-hero.photo { position: relative; overflow: hidden; padding: 6.5rem 0 4rem; }
.page-hero.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero.photo .shade { position: absolute; inset: 0; background: rgba(12,26,46,0.7); }
.page-hero.photo .wrap { position: relative; }

.agent-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
.agent-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1rem;
  border-radius: 2px;
  border: 1px solid rgba(243,238,230,0.2);
  background: rgba(7,16,24,0.4);
  color: var(--cream);
}
.agent-card.on { border-color: var(--gold); background: var(--navy-deep); }
.agent-card img, .agent-fallback {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 0 0 2px rgba(196,163,90,0.7);
  flex-shrink: 0;
}
.agent-fallback {
  display: grid;
  place-items: center;
  background: rgba(243,238,230,0.1);
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold);
}
.flash-tldr {
  margin-right: 0.5rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  animation: flash-tldr 1.1s step-end infinite;
}
@keyframes flash-tldr {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
.gold-link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.mls-frame { overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.mls-frame iframe { width: 100%; height: 78vh; min-height: 640px; border: 0; background: var(--paper); }
.muted { color: var(--muted); font-size: 0.875rem; }
.hold { border: 1px solid var(--line); background: var(--paper); padding: 4rem 1.5rem; text-align: center; }
.paper-card { border: 1px solid var(--line); background: var(--paper); padding: 1.5rem; }
.paper-card h2 { margin: 0; font-size: 1.5rem; color: var(--navy); }
.paper-card p { margin: 0.5rem 0 0; color: rgba(22,19,15,0.8); }

form label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); }
form label + label { margin-top: 1rem; }
form input, form textarea {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 0.75rem;
}
form input { height: 2.75rem; }
.form-box { border: 1px solid var(--line); background: var(--paper); padding: 1.5rem; }

.site-footer { background: var(--navy-deep); color: var(--cream); }
.foot-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
.foot-logo { width: 12rem; max-width: 100%; margin-bottom: 1rem; }
.site-footer h2 { margin: 0 0 0.75rem; font-size: 1.25rem; color: var(--gold); }
.site-footer p, .site-footer li { color: var(--sand); font-size: 0.875rem; line-height: 1.6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.4rem 0; }
.site-footer a:hover { color: var(--gold-bright); }
.legal {
  border-top: 1px solid rgba(243,238,230,0.1);
  padding: 1rem 0;
  font-size: 0.75rem;
  color: rgba(228,217,200,0.8);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
