:root {
  --navy: #16344d;
  --navy-deep: #101f2d;
  --mist: #f3f6f8;
  --paper: #ffffff;
  --ink: #18212b;
  --muted: #61707b;
  --blue: #4f78a6;
  --line: rgba(24, 33, 43, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; letter-spacing: -0.035em; }
h1 em, h2 em { color: #b9d0e4; font-weight: 400; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 24px; color: var(--blue); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow.light { color: #cfe0ec; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; padding-bottom: 7px; font-size: 0.85rem; font-weight: 600; }
.text-link.light { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border-radius: 2px; padding: 16px 20px; font-size: 0.8rem; font-weight: 600; }
.button span { font-size: 1rem; }
.button-light { background: #fff; color: var(--navy-deep); }

.site-header { position: absolute; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 92px; padding: 0 clamp(22px, 4.5vw, 78px); border-bottom: 1px solid rgba(255, 255, 255, 0.22); color: #fff; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: clamp(210px, 18vw, 275px); height: auto; }
.brand-logo-light { filter: brightness(0) invert(1); }
.site-header nav { display: flex; gap: 36px; font-size: 0.9rem; font-weight: 600; }
.site-header nav a:hover { opacity: 0.72; }
.header-cta { display: flex; gap: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.6); padding: 8px 0; font-size: 0.9rem; }

.hero { position: relative; height: min(860px, 94vh); min-height: 680px; overflow: hidden; background: var(--navy); color: #fff; }
.hero-image { position: absolute; inset: 0; background: url("../assets/properties/denton.png") center 44% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 36, 0.95) 0%, rgba(13, 34, 50, 0.72) 46%, rgba(14, 34, 50, 0.12) 80%), linear-gradient(0deg, rgba(10, 25, 37, 0.5), transparent 45%); }
.hero-copy { position: absolute; z-index: 2; top: 52%; left: clamp(24px, 8vw, 136px); max-width: 930px; transform: translateY(-44%); }
.hero h1 { margin-bottom: 30px; font-size: clamp(4rem, 6.5vw, 7rem); line-height: 0.91; }
.hero-lede { max-width: 590px; color: rgba(255, 255, 255, 0.8); font-size: clamp(1rem, 1.45vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 38px; }
.hero-proof { position: absolute; z-index: 2; right: clamp(24px, 4.8vw, 80px); bottom: 42px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, 0.5); padding-left: 20px; }
.hero-proof strong { font-family: "Libre Caslon Display", Georgia, serif; font-size: 19px; font-weight: 400; }
.hero-proof span { color: rgba(255, 255, 255, 0.7); font-size: 25px; letter-spacing: 0.12em; text-transform: uppercase; }

.intro { display: grid; grid-template-columns: 1.15fr 0.85fr 0.35fr; align-items: start; gap: clamp(36px, 6vw, 100px); padding: clamp(90px, 10vw, 160px) clamp(24px, 8vw, 136px); }
.intro h2, .section-head h2, .article-section h2 { margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.7rem); line-height: 0.98; }
.intro-copy { padding-top: 55px; }
.intro-copy p { color: var(--muted); font-size: 0.98rem; line-height: 1.8; }
.intro-copy .text-link { margin-top: 16px; }
.intro-stat { padding-top: 62px; }
.intro-stat span { color: var(--blue); font-family: "Libre Caslon Display", Georgia, serif; font-size: 38px; }
.intro-stat p { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 15px; color: #6d7c86; font-size: 0.72rem; line-height: 1.6; }

.portfolio { background: var(--mist); padding: clamp(80px, 9vw, 140px) clamp(24px, 4vw, 64px); }
.section-head { display: flex; align-items: end; justify-content: space-between; padding: 0 clamp(0px, 4vw, 72px) 48px; }
.section-intro { max-width: 330px; margin-bottom: 8px; color: #62717d; font-size: 0.84rem; line-height: 1.7; }
.community-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.property-card { min-width: 0; background: var(--paper); transition: transform 0.25s, box-shadow 0.25s; }
.property-card:hover { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(18, 40, 58, 0.13); }
.property-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #dce2e5; }
.property-photo img { height: 100%; object-fit: cover; filter: saturate(0.82) contrast(0.98); transition: transform 0.5s; }
.property-card:hover .property-photo img { transform: scale(1.035); }
.property-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(16, 35, 51, 0.3), transparent 45%); }
.property-photo > span { position: absolute; z-index: 2; top: 12px; right: 13px; color: #fff; font-size: 0.62rem; letter-spacing: 0.12em; }
.property-body { display: flex; flex-direction: column; min-height: 190px; padding: 20px 17px 18px; }
.property-city { color: var(--blue); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.property-body h3 { margin: 9px 0 14px; font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(1.15rem, 1.35vw, 1.55rem); font-weight: 400; line-height: 1.12; }
.property-body small { display: block; border-top: 1px solid var(--line); padding-top: 12px; color: #6d7982; font-size: 0.61rem; line-height: 1.45; }
.property-body strong { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; color: var(--navy); font-size: 0.67rem; }

.promise { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: var(--navy); color: #fff; }
.promise-photo { background: linear-gradient(90deg, transparent 75%, rgba(24, 48, 71, 0.12)), url("../assets/properties/whitesboro.jpg") center / cover no-repeat; }
.promise-copy { align-self: center; padding: clamp(70px, 8vw, 130px); }
.promise h2 { font-size: clamp(3.6rem, 5vw, 5.6rem); line-height: 0.96; }
.promise-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255, 255, 255, 0.72); line-height: 1.8; }
.promise-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 25px; }
.promise-points span { font-size: 0.68rem; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; }

.article-section { display: grid; grid-template-columns: minmax(280px, 0.7fr) minmax(400px, 1fr); align-items: start; gap: clamp(60px, 10vw, 170px); padding: clamp(90px, 10vw, 160px) clamp(24px, 8vw, 136px); }
.article-section aside { position: sticky; top: 35px; }
.article-section h2 { font-size: clamp(3rem, 4.2vw, 4.7rem); }
.article-note { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 20px; color: #75838d; font-size: 0.78rem; line-height: 1.6; }
.article-index { display: flex; gap: 24px; margin-top: 26px; }
.article-index a { color: var(--blue); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-aside-image { margin-top: 34px; }
.article-aside-image img { width: 100%; height: 250px; object-fit: cover; filter: saturate(0.78); }
.article-aside-image span { display: block; background: var(--navy); padding: 12px 14px; color: #fff; font-size: 0.59rem; letter-spacing: 0.12em; text-transform: uppercase; }
.longform { max-width: 720px; }
.longform p { color: #4d5b64; font-family: Georgia, serif; font-size: 1rem; line-height: 1.9; }
.longform .dropcap::first-letter { float: left; padding: 12px 10px 4px 0; color: var(--blue); font-family: "Libre Caslon Display", Georgia, serif; font-size: 5rem; line-height: 0.7; }
.longform h3 { margin: 52px 0 20px; color: var(--navy); font-family: "Libre Caslon Display", Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.2; }
.longform blockquote { margin: 52px 0; border-top: 1px solid var(--blue); border-bottom: 1px solid var(--blue); padding: 36px 0; color: var(--navy); font-family: "Libre Caslon Display", Georgia, serif; font-size: 2.15rem; line-height: 1.3; }

.contact { background: var(--blue); padding: 100px 24px; color: #fff; text-align: center; }
.contact h2 { margin: 0 0 35px; font-size: clamp(3.6rem, 6vw, 6.6rem); }
.contact h2 em, .contact .eyebrow { color: #e5f0f8; }
.contact .button { min-width: 235px; }

footer { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr; gap: 60px; background: var(--navy-deep); padding: 70px clamp(24px, 8vw, 136px) 25px; color: #fff; }
.footer-logo { width: min(340px, 100%); height: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 16px; color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong, .footer-contact strong { margin-bottom: 8px; color: #a9c6dc; font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links a, .footer-contact a, .footer-contact p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.76rem; }
.footer-links a { display: flex; justify-content: space-between; max-width: 160px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 35px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; color: rgba(255, 255, 255, 0.45); font-size: 0.61rem; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .community-grid { grid-template-columns: repeat(3, 1fr); }
  .property-photo { aspect-ratio: 5 / 4; }
  .property-body { min-height: 155px; }
}

@media (max-width: 900px) {
  .site-header nav, .header-cta { display: none; }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgba(10, 24, 36, 0.94), rgba(13, 34, 50, 0.28)), linear-gradient(0deg, rgba(10, 25, 37, 0.58), transparent); }
  .hero-proof { right: auto; left: 24px; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy, .intro-stat { padding-top: 0; }
  .intro-stat { max-width: 270px; }
  .promise { grid-template-columns: 1fr; }
  .promise-photo { min-height: 420px; }
  .promise-points { grid-template-columns: 1fr; }
  .article-section { grid-template-columns: 1fr; }
  .article-section aside { position: static; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { height: 78px; }
  .brand-logo { width: 190px; }
  .hero-copy { top: 45%; transform: translateY(-40%); }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-proof { bottom: 25px; }
  .hero-proof span { font-size: 8px; }
  .intro, .article-section { padding-right: 22px; padding-left: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-intro { margin-top: 24px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .property-photo { aspect-ratio: 1 / 1; }
  .property-body { min-height: 160px; padding: 15px 12px; }
  .property-body h3 { font-size: 1.15rem; }
  .property-body small { font-size: 0.56rem; }
  .promise-photo { min-height: 320px; }
  .promise-copy { padding: 70px 24px; }
  .article-section { gap: 55px; }
  .article-index { flex-wrap: wrap; }
  .longform p { font-size: 0.96rem; }
  .longform blockquote { font-size: 1.75rem; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .property-card, .property-photo img { transition: none; }
}
