/* Tara Hayes, Realtor — The Broker in a Hat
   Luxury + family: warm charcoal ink, brass, ivory light (matched to her brand shoot).
   Palette: pine #2B2A25 · pine-deep #1C1B17 · ink #26241F · brass #A87B2F · ivory #FDFBF6 · stone #F7F6F2
   Type: Fraunces (display) · Archivo (body)
*/
:root {
  --pine: #2B2A25;
  --pine-deep: #1C1B17;
  --ink: #26241F;
  --brass: #A87B2F;
  --brass-soft: #C29A55;
  --ivory: #FDFBF6;
  --stone: #F7F6F2;
  --line: #DDD9CF;
  --white: #FFFFFF;
  --max: 1120px;
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
p + p { margin-top: 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.8rem; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-family: "Archivo", sans-serif; font-size: 0.72rem; font-weight: 500; color: var(--pine); letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.nav a:hover { color: var(--pine); }
.nav .call { background: var(--pine); color: var(--white); padding: 0.55rem 1.1rem; border-radius: 4px; font-weight: 600; }
.nav .call:hover { background: var(--pine-deep); color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.4rem 0.7rem; font-size: 1.1rem; cursor: pointer; }

/* Video hero */
.video-hero {
  position: relative;
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 24px;
  background: var(--pine-deep);
}
.video-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-hero::after { content: ""; position: absolute; inset: 0; background: rgba(32, 38, 31, 0.18); z-index: 0; }
.video-hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 56px 52px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(168, 123, 47, 0.35);
  box-shadow: 0 24px 60px rgba(32, 38, 31, 0.25);
}
.video-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); margin-bottom: 1rem; }
.video-hero h1 em { font-style: italic; font-weight: 500; color: var(--pine); }
.video-hero .lede { font-size: 1.12rem; max-width: 36em; margin: 0 auto; }
.video-hero .lede-short { display: none; }
.video-hero .actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.hero-phone { margin-top: 1.4rem; font-size: 0.95rem; }
.hero-phone a { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .video-hero-bg { display: none; }
  .video-hero { background: url('../hero-poster.jpg') center / cover no-repeat; }
}
@media (max-width: 600px) {
  .video-hero { min-height: calc(100svh - var(--nav-h)); padding: 40px 28px; }
  .video-hero-panel { padding: 30px 22px; max-width: 330px; }
  .video-hero .lede { display: none; }
  .video-hero .lede-short { display: block; font-size: 1.02rem; }
}

/* Buttons */
.btn { display: inline-block; padding: 0.8rem 1.5rem; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 1.5px solid transparent; }
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-deep); color: var(--white); }
.btn-gold { background: var(--brass); color: var(--white); }
.btn-gold:hover { background: #8F6826; color: var(--white); }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: var(--white); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--pine); }

/* Sections */
.section { padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .intro { max-width: 44em; margin-bottom: 2rem; }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.creds div { border-left: 3px solid var(--brass); padding-left: 1rem; }
.creds strong { font-family: "Fraunces", serif; font-size: 1.35rem; display: block; }
.creds span { font-size: 0.95rem; }

/* Card grids */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; }
.section-alt .card { background: var(--stone); }
.card p { font-size: 0.98rem; margin-top: 0.35rem; }
.card a.more { display: inline-block; margin-top: 0.8rem; font-weight: 600; font-size: 0.95rem; }
.card .post-date { font-size: 0.85rem; color: var(--brass); font-weight: 600; letter-spacing: 0.04em; }

/* Areas list */
.area-links { columns: 2; column-gap: 2.5rem; list-style: none; }
.area-links li { margin-bottom: 0.55rem; break-inside: avoid; }
@media (min-width: 720px) { .area-links { columns: 3; } }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; }
.section-alt .quote { background: var(--stone); }
.quote blockquote { font-family: "Fraunces", serif; font-size: 1.08rem; line-height: 1.5; }
.quote cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.92rem; color: var(--pine); font-weight: 600; }
.stars { color: var(--brass); letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 0.5rem; }

/* Contact form */
.form { max-width: 560px; }
.form label { display: block; font-weight: 600; font-size: 0.95rem; margin-top: 1.1rem; margin-bottom: 0.3rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 4px;
  font: inherit; background: var(--white);
}
.form input:focus, .form textarea:focus { border-color: var(--pine); outline: none; }
.form button { margin-top: 1.4rem; cursor: pointer; }

/* Page hero (interior) */
.page-hero { background: var(--pine); color: var(--white); }
.page-hero .wrap { padding-top: clamp(2.4rem, 6vw, 3.8rem); padding-bottom: clamp(2.4rem, 6vw, 3.8rem); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { max-width: 42em; margin-top: 0.7rem; color: #EAE7E0; }
.page-hero .eyebrow { color: var(--brass-soft); }
.post-meta { font-size: 0.92rem; }

/* Prose */
.prose { max-width: 46em; }
.prose h2 { margin-top: 2.2rem; }
.prose ul, .prose ol { margin: 1em 0 1em 1.2em; }
.post-rule { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0 1.4rem; }

/* CTA band */
.cta-band { background: var(--pine); color: var(--white); text-align: center; }
.cta-band a:not(.btn), .page-hero a { color: var(--white); text-decoration-color: var(--brass-soft); }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 38em; margin: 0.6rem auto 1.5rem; color: #EAE7E0; }

/* Footer */
.site-footer { background: var(--ink); color: #CBC8C0; font-size: 0.92rem; }
.site-footer .wrap { padding-top: 2.6rem; padding-bottom: 2.2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.6rem; }
.site-footer a { color: #E6E3DB; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.compliance { border-top: 1px solid #3B3832; }
.compliance .wrap { display: block; padding-top: 1.1rem; padding-bottom: 1.3rem; font-size: 0.83rem; color: #9D9A91; }
.compliance a { color: #BBB8AF; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.4rem; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* IDX embed */
.idx-frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }

/* Brand photos */
.photo-split { display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; gap: 2.2rem; align-items: center; }
.photo-split img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
@media (max-width: 720px) { .photo-split { grid-template-columns: 1fr; } }
.about-photo { max-width: 420px; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 1.6rem; }

/* Nav dropdowns */
.has-drop { position: relative; }
.has-drop > button {
  background: none; border: 0; font: inherit; font-size: 0.95rem; color: var(--ink);
  cursor: pointer; padding: 0;
}
.has-drop > button:hover { color: var(--pine); }
.drop {
  display: none; position: absolute; top: calc(100% + 10px); left: -0.75rem; z-index: 60;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 14px 40px rgba(38, 36, 31, 0.14);
  padding: 0.6rem 0; min-width: 230px;
}
.drop a { display: block; padding: 0.42rem 1.1rem; text-decoration: none; font-size: 0.93rem; white-space: nowrap; }
.drop a:hover { background: var(--stone); color: var(--pine); }
.drop-wide {
  min-width: 480px; left: 50%; transform: translateX(-50%);
  columns: 2; column-gap: 0; padding: 0.6rem 0;
}
.drop-wide a { break-inside: avoid; }
@media (min-width: 861px) {
  .has-drop:hover > .drop, .has-drop:focus-within > .drop { display: block; }
  /* hover bridge so the menu doesn't close crossing the gap */
  .has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; display: none; }
  .has-drop:hover::after { display: block; }
}
@media (max-width: 860px) {
  .has-drop { width: 100%; }
  .has-drop > button { width: 100%; text-align: left; padding: 0.15rem 0; }
  .drop { position: static; border: 0; box-shadow: none; background: transparent; padding: 0.2rem 0 0.4rem 0.9rem; min-width: 0; }
  .drop-wide { transform: none; columns: 1; }
  .has-drop.open > .drop { display: block; }
}

/* Reversed photo split (text left, image right on desktop) */
.photo-split-rev { grid-template-columns: 3fr minmax(260px, 2fr); }
@media (max-width: 720px) { .photo-split-rev { grid-template-columns: 1fr; } .photo-split-rev img { order: -1; } }
