/* Luxury Home and Farm — one light look on purpose: navy brand on white, like the You're Home logo.
   Layout: a narrow reading column inside full-width color bands; navy carries the brand, brass marks one thing at a time. */
:root {
  --navy: #101D5B;
  --navy-deep: #0B1442;
  --ink: #1C2033;
  --muted: #565C72;
  --fog: #EEF0F6;
  --line: #D5D9E6;
  --brass: #A07A3C;
  --white: #FFFFFF;
  --display: "Marcellus", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--navy); text-wrap: balance; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
}

.band { width: 100%; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band > .wrap { padding-block: clamp(3rem, 7vw, 5.5rem); }
.prose { max-width: 66ch; }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0.8rem; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 4px;
  font-family: var(--body); font-weight: 500; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--navy); background: var(--navy); color: var(--white); cursor: pointer;
}
.btn:hover { background: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--fog); }
.phone { font-variant-numeric: tabular-nums; font-weight: 500; user-select: all; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .stack > * { min-width: 0; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 610 / 760; object-fit: cover; object-position: top; border-radius: 4px; }
.hero-photo figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }

/* Press strip */
.press { background: var(--navy); color: var(--white); }
.press .wrap { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding-block: 2.4rem; }
.press .eyebrow { color: #D9C08F; }
.press blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; }
.press cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.9rem; color: #C9CEE3; }
.press-label { font-family: var(--display); font-size: 1.5rem; border-right: 1px solid rgba(255,255,255,0.35); padding-right: 2rem; }

/* Specialties */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.2rem; }
.grid-3 > div { min-width: 0; border-top: 2px solid var(--navy); padding-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.grid-3 p { color: var(--muted); }

/* Guide callout */
.fog { background: var(--fog); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: var(--brass); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.facts div { min-width: 0; }
.facts dt { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.3rem; color: var(--navy); }

/* FAQ */
.faq { display: grid; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.2rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.7rem; color: var(--ink); max-width: 66ch; }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #D9C08F; }
.contact p { color: #DDE1EF; }
.contact .btn { background: var(--white); color: var(--navy); border-color: var(--white); }
.contact .btn.ghost { background: transparent; color: var(--white); }
.contact .btn.ghost:hover { background: rgba(255,255,255,0.1); }
.contact-lines { display: grid; gap: 0.3rem; font-size: 1.1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 2.5rem; display: grid; gap: 1.4rem; }
.logo-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.logo-pair img { height: 64px; width: auto; }
.legal { font-size: 0.85rem; color: var(--muted); display: grid; gap: 0.3rem; }

/* Article page */
.article h2 { margin-top: 3rem; }
.article h2:first-child { margin-top: 0; }
.article .prose > p + p, .article .prose > p + ul, .article .prose > ul + p, .article .prose > .table-wrap + p { margin-top: 1rem; }
.article .prose > h2 + p, .article .prose > h2 + .table-wrap { margin-top: 1rem; }
.article ul:not(.checks) { padding-left: 1.2rem; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem 0.75rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--navy); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
td:first-child { font-weight: 500; white-space: nowrap; }
.callout { background: var(--fog); padding: 1.4rem 1.6rem; border-radius: 4px; margin-top: 1.5rem; }
.byline { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.byline img { width: 56px; height: 56px; border-radius: 9999px; object-fit: cover; object-position: top; }
.byline p { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
  .grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .press .wrap { grid-template-columns: 1fr; gap: 1rem; }
  .press-label { border-right: 0; padding-right: 0; }
}
@media (max-width: 520px) {
  .brand img { height: 40px; }
  .nav { gap: 1rem; font-size: 0.9rem; }
  .logo-pair img { height: 48px; }
  td:first-child { white-space: normal; }
}
