/* Crowned Keys | Coldwell Banker Realty — Charlotte relocation guide
   Evergreen lifestyle preview. Black, gold, beige. Mobile first. */

:root {
  --black: #111111;
  --black-soft: #1c1c1c;
  --gold: #c4a35a;
  --gold-deep: #9a7a32;
  --gold-soft: #e8d7a8;
  --beige: #f3eadb;
  --cream: #faf7f1;
  --ivory: #fffdf8;
  --text: #1a1916;
  --muted: #5d584f;
  --line: #e4dac8;
  --line-strong: #d4c6aa;
  --max: 1120px;
  --radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--black); }

h1, h2, h3, .brand-word, .town-card h2, .hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2.15rem, 6vw, 4.1rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); margin: 0 0 0.55em; }
h3 { font-size: 1.2rem; margin: 0 0 0.35em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--black);
  color: var(--ivory);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(196, 163, 90, 0.35);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.35rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
  background: #000;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.logo-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfc8bb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav a {
  color: #f3eadb;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover { color: var(--gold); }

.nav .btn-talk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
}

.nav .btn-talk:hover {
  background: var(--gold);
  color: var(--black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--black); color: var(--gold); }

/* Landing hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: #1a1714 center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.28) 0%, rgba(10, 10, 10, 0.55) 48%, rgba(10, 10, 10, 0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 3.4rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1,
.hero-title { color: #fffaf0; }

.hero .lede {
  max-width: 38rem;
  font-size: 1.08rem;
  color: #f0e8d8;
}

.hero-credit {
  margin-top: 1.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #c9c0b0;
}

/* Intro band */
.intro-band {
  padding: 3.6rem 0 2.2rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.intro-band .wrap {
  display: grid;
  gap: 1.5rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-band p { color: var(--muted); font-size: 1.08rem; }

/* Community grid */
.communities {
  padding: 3.8rem 0 4.4rem;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.4rem;
}

.section-head p { color: var(--muted); }

.town-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.town-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8.4rem;
  padding: 1.45rem 1.4rem 1.3rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.town-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08);
  color: inherit;
}

.town-card h2 {
  font-size: 1.55rem;
  margin: 0 0 0.3rem;
}

.town-card .county {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.town-card .go {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* CTA */
.next-step {
  background: var(--beige);
  padding: 4.2rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.next-step .wrap { max-width: 40rem; }

.next-step p { color: var(--muted); margin-bottom: 1rem; }

.next-step .numbers-line {
  margin: 1.5rem 0 1.7rem;
  font-style: italic;
  color: var(--text);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #d8d0c4;
  padding: 3.2rem 0 2.2rem;
  font-size: 0.9rem;
}

.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: #fff; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.footer-brand img { height: 48px; width: auto; background: #000; }

.footer-brand div strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--gold-soft);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-meta { margin: 0 0 0.45rem; color: #cfc6b8; }
.footer-note { margin: 1.1rem 0 0; color: #b7aea0; font-size: 0.84rem; }
.eho { margin-top: 1.4rem; font-size: 0.82rem; color: #cfc6b8; }
.credits { margin-top: 1.1rem; font-size: 0.75rem; color: #8f877c; }

/* Town pages */
.town-hero {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: #1a1714 center / cover no-repeat;
}

.town-hero.no-photo {
  background:
    linear-gradient(160deg, #1b1916 0%, #2a241c 46%, #3a3224 100%);
  min-height: 18.5rem;
}

.town-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.78) 100%);
}

.town-hero.no-photo::before { background: transparent; }

.town-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.2rem 0 2.2rem;
}

.town-hero h1,
.town-hero .hero-title { color: #fffaf0; margin-bottom: 0.35em; }

.town-hero .county {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.town-hero .tagline {
  max-width: 36rem;
  color: #efe6d6;
  font-size: 1.08rem;
}

.crumb {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.crumb a { color: var(--gold-soft); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: #c9c0b0; }

.town-body { padding: 2.6rem 0 3.4rem; }

.town-intro {
  max-width: 46rem;
  margin: 0 auto 2.4rem;
  font-size: 1.08rem;
}

.blocks { display: grid; gap: 1.15rem; }

.block {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}

.icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.block h2 { font-size: 1.45rem; margin: 0; }

.place-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }

.place-list li { padding: 0; }

.place-list a.place-name,
.place-name {
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  display: inline-block;
}

.place-list a.place-name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.place-list a.place-name:hover { color: var(--gold-deep); }

.place-list p { color: var(--muted); margin: 0.2rem 0 0; font-size: 0.98rem; }

.schools p, .around p { color: var(--muted); }

.districts { margin: 0.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.districts a { font-weight: 600; }

.video-slot { display: none; }
.video-slot.is-on { display: block; }
.video-wrap { position: relative; padding-top: 56.25%; background: #000; border-radius: 12px; overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.town-cta {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  background: var(--beige);
  border-radius: var(--radius);
  text-align: center;
}

.town-cta p { color: var(--muted); margin-bottom: 1.2rem; }

.back-row { margin-top: 2rem; text-align: center; font-size: 0.9rem; }

@media (min-width: 640px) {
  .town-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
  .header-inner { min-height: 4.7rem; }
  .logo-link img { height: 50px; }
}

@media (min-width: 900px) {
  .town-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .town-card { min-height: 9.2rem; padding: 1.7rem 1.5rem 1.4rem; }
  .blocks { grid-template-columns: 1fr 1fr; }
  .block.span-2, .town-intro, .town-cta, .video-slot { grid-column: 1 / -1; }
  .hero { min-height: 86vh; align-items: center; }
  .hero-inner { padding: 7rem 0 4.5rem; }
}

@media (max-width: 520px) {
  .logo-text { display: none; }
  .nav a:not(.btn-talk) { display: none; }
}

.numbers-line { margin: 1.5rem 0 1.7rem; font-style: italic; color: var(--text); }
.town-cta .numbers-line { margin-bottom: 1.5rem; }