/* S&S Homes — site styles. Type pairing matches Vista Montaire & Palmetto Estates. */
:root {
  --ink: #23211e;
  --text: #45403a;
  --muted: #6b645b;
  --paper: #fbf8f3;
  --cream: #f3ede3;
  --line: #e4dccf;
  --oak: #85562a;        /* primary accent — 5.9:1 on --paper */
  --oak-dark: #6a4320;
  --oak-pale: #efe2d1;
  --sage: #56634f;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(35,33,30,.06), 0 8px 24px rgba(35,33,30,.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--oak); }
a:hover { color: var(--oak-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow { font: 500 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oak); margin-bottom: .9rem; display: block; }
.lede { font-size: 1.15rem; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: var(--radius); font: 500 .95rem/1.2 var(--sans); letter-spacing: .03em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--oak); color: #fff; }
.btn-primary:hover { background: var(--oak-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--oak-pale); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Utility bar + header */
.utility { background: var(--ink); color: #e9e2d6; font-size: .85rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; font-weight: 500; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility .u-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 600 1.55rem/1 var(--serif); letter-spacing: .06em; }
.brand-tag { white-space: nowrap; font: 400 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; padding: 10px 11px; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--oak); }
.nav a[aria-current="page"] { font-weight: 500; }
.nav .btn { margin-left: 8px; padding: .7em 1.2em; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 500 .9rem var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 12px 0 0; }
  .utility .u-hide-sm { display: none; }
}

/* Hero — slow crossfading photos with a gentle zoom */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero img.hero-bg, .hero .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; display: none; }
.hero.has-video .hero-video { display: block; }
.hero.has-video .slides, .hero.has-video .slide-bar { display: none; }
.hero .slide { opacity: 0; transition: opacity 1.6s ease; }
.hero .slide.is-active { opacity: 1; }
.hero.animate .slide.is-active { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,18,15,.8) 0%, rgba(20,18,15,.66) 55%, rgba(20,18,15,.15) 100%), linear-gradient(180deg, rgba(20,18,15,.25) 0%, rgba(20,18,15,0) 30%, rgba(20,18,15,.6) 100%); }
.hero .wrap { padding-block: 140px 110px; }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -.01em; }
.hero .lede { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 52ch; }
.hero .eyebrow { color: #f1d9bb; }
.hero .wrap > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > :nth-child(2) { animation-delay: .12s; }
.hero .wrap > :nth-child(3) { animation-delay: .24s; }
.hero .wrap > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide-ctrl { position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2)); bottom: 36px; display: flex; align-items: center; gap: 14px; }
.slide-ctrl[hidden] { display: none; }
.slide-bar { display: block; width: 120px; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.slide-bar span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero.animate .slide-bar span { animation: bar 7s linear infinite; }
.hero.paused .slide-bar span { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.slide-pause { background: rgba(20,18,15,.35); border: 1px solid rgba(255,255,255,.6); color: #fff; font: 500 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; cursor: pointer; }
.slide-pause:hover { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .hero .wrap { padding-block: 110px 96px; } .slide-ctrl { bottom: 24px; } }
.page-hero { background: var(--cream); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero.photo { position: relative; color: #fff; background: var(--ink); isolation: isolate; padding: 140px 0 64px; }
.page-hero.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,.2), rgba(20,18,15,.75)); }
.page-hero.photo h1, .page-hero.photo .lede { color: #fff; }
.page-hero.photo .eyebrow { color: #f1d9bb; }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--ink); color: #ddd5c8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #e3b98a; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Pillars */
.pillar { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar .num { font: 500 2.4rem/1 var(--serif); color: var(--oak); display: block; margin-bottom: 14px; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { margin: 0; color: var(--text); }

/* Community cards */
.comm-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.comm-card .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.comm-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.comm-card:hover .ph img { transform: scale(1.03); }
.comm-card .ph .tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; font-weight: 500; }
.comm-card .body { padding: 28px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.comm-card h3 { font-size: 2rem; margin-bottom: .2em; }
.comm-card .stats { display: flex; gap: 28px; margin: 12px 0 20px; padding: 16px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.stat b { display: block; font: 600 1.6rem/1.1 var(--serif); color: var(--ink); }
.stat span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.comm-card .btn-row { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li { font-size: .82rem; background: var(--cream); padding: 4px 10px; border-radius: 99px; color: var(--text); }

/* Home cards */
.home-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.home-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.home-card .ph { position: relative; aspect-ratio: 3/2; background: var(--cream); }
.home-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; background: var(--sage); color: #fff; }
.badge.construction { background: #fff; color: var(--ink); }
.home-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.home-card .comm { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oak); font-weight: 500; }
.home-card h3 { font-size: 1.45rem; margin: 4px 0 2px; }
.home-card .addr { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.home-card .specs { display: flex; gap: 14px; font-size: .88rem; color: var(--text); margin-bottom: 14px; flex-wrap: wrap; }
.home-card .price { margin-top: auto; font: 600 1.5rem/1 var(--serif); color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.home-card .price small { font: 500 .85rem var(--sans); color: var(--oak); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 .9rem var(--sans); padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 40px; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Plans table */
.plan-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.plan-card .body { padding: 20px; }
.plan-card h3 { margin-bottom: 2px; }
.plan-card .meta { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.plan-card dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .92rem; border-top: 1px solid var(--line); padding-top: 12px; }
.plan-card dt { color: var(--text); }
.plan-card dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.plan-card dd a { color: var(--ink); text-decoration-color: var(--oak); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 1.9rem/1 var(--serif); color: #e3b98a; }
.steps h3 { font-size: 1.35rem; margin-bottom: .25em; }
.steps p { margin: 0; }

/* Gallery */
.cat-tile { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(20,18,15,.75)); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span { position: absolute; left: 20px; bottom: 18px; font: 500 1.7rem/1 var(--serif); }
.cat-tile:hover { color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery-grid button { padding: 0; border: 0; background: var(--cream); cursor: zoom-in; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid button:hover img { transform: scale(1.04); }
.gallery-grid [hidden] { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(15,14,12,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Care */
.care-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.care-card.primary { background: var(--ink); color: #ddd5c8; border-color: var(--ink); }
.care-card.primary h3, .care-card.primary h2 { color: #fff; }
.care-card.alert { border-left: 4px solid #a8322a; }
.care-card .big { font: 600 1.7rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.care-card.primary .btn { margin-top: auto; align-self: flex-start; }
.care-band { background: var(--sage); color: #fff; }
.care-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.care-band h2 { color: #fff; margin: 0 0 .2em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.care-band p { margin: 0; color: rgba(255,255,255,.9); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--oak); border-bottom: 2px solid var(--oak); transform: rotate(-45deg); }

/* Blog */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; width: 100%; }
.post-card .date { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.post-card:hover h3 { color: var(--oak); }
.post-card p { color: var(--text); font-size: .98rem; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 3px solid var(--oak); font: italic 1.3rem/1.5 var(--serif); color: var(--ink); }
.post-hero-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); margin: 0 0 40px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.team div { padding: 20px 4px; border-bottom: 1px solid var(--line); }
.team b { display: block; font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.team span { font-size: .9rem; color: var(--muted); }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video button { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video button::after { content: "\25B6"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.4rem; display: grid; place-items: center; padding-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.office h3 { margin-bottom: .3em; }
.office p { margin: 0 0 .5em; }
.office .hrs { font-size: .92rem; color: var(--muted); }

/* Footer */
.site-footer { background: #1b1a17; color: #bdb4a6; font-size: .92rem; padding: 72px 0 32px; }
.site-footer a { color: #e9e2d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4, .site-footer .foot-h { color: #fff; font: 500 .8rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand-name { color: #fff; }
.foot-brand img { width: 72px; filter: brightness(0) invert(.85); margin-bottom: 14px; }
.legal { border-top: 1px solid #36332e; margin-top: 48px; padding-top: 24px; font-size: .8rem; line-height: 1.6; color: #a39a8c; display: grid; gap: 10px; }
.legal .eho { display: inline-flex; align-items: center; gap: 8px; }
.legal .eho svg { width: 22px; height: 22px; flex: none; }
.updated { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.plan-table th, .plan-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.plan-table td:last-child, .plan-table th:last-child { text-align: right; }
h1, h2, h3, .stat b, .home-card .price, .pillar .num, .steps li::before, .care-card .big, .team b { font-variant-numeric: lining-nums; }
.care-card.primary .eyebrow { color: #e3b98a; }
@media (max-width: 520px) { .utility .wrap { justify-content: center; padding-block: 6px; } .utility .u-links { gap: 4px 16px; justify-content: center; font-size: .8rem; } }


/* Home: intro statement */
.intro { padding-bottom: 72px; }
.statement { font: 400 clamp(1.7rem, 3.3vw, 2.6rem)/1.3 var(--serif); color: var(--ink); max-width: 40ch; margin: 0 auto 64px; text-align: center; text-wrap: balance; }
.statement em { color: var(--oak); }

/* Home: two divisions — large overlapping photos */
.divisions { padding: 40px 0 112px; }
.division { width: min(var(--wrap), 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.division + .division { margin-top: 128px; }
.division.flip .division-media { order: 2; }
.division-media { position: relative; padding: 0 0 56px 0; }
.division-media .main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(35,33,30,.35); }
.division-media .inset { position: absolute; right: -32px; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.division.flip .division-media .inset { right: auto; left: -32px; }
.division-text h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.division-text .eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 28px; }
.ticks li { padding: 12px 0 12px 28px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--oak); border-bottom: 2px solid var(--oak); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .division { grid-template-columns: 1fr; gap: 40px; }
  .division.flip .division-media { order: 0; }
  .division + .division { margin-top: 88px; }
  .division-media .inset, .division.flip .division-media .inset { right: 12px; left: auto; width: 38%; }
}

/* Home: featured custom home video */
.feature .split { grid-template-columns: 1fr 1.5fr; }
.feature video { width: 100%; height: auto; aspect-ratio: 16/9; background: #000; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (max-width: 860px) { .feature .split { grid-template-columns: 1fr; } }

/* Home: full-bleed quote with a fixed-feel photo */
.quote-band { position: relative; isolation: isolate; color: #fff; padding: 160px 0; overflow: hidden; text-align: center; }
.quote-band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; will-change: transform; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,18,15,.7); }
.quote-band blockquote { margin: 0 auto; max-width: 44ch; }
.quote-band p { font: italic 400 clamp(1.8rem, 3.6vw, 2.9rem)/1.3 var(--serif); margin-bottom: 20px; }
.quote-band cite { font: 500 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: #fff; }

/* Home: gallery mosaic */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 16px; }
.mosaic .cat-tile { aspect-ratio: auto; }
.mosaic .cat-tile:first-child { grid-row: span 2; }
.mosaic .cat-tile:last-child { grid-column: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .mosaic .cat-tile { aspect-ratio: 4/5; } .mosaic .cat-tile:first-child { grid-row: auto; } .mosaic .cat-tile:last-child { grid-column: auto; } }

/* Scroll reveal — only applied by site.js to content below the fold */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.home-card .ph, .plan-card { overflow: hidden; }
.home-card .ph img, .plan-card img, .post-card img { transition: transform .6s ease; }
.home-card:hover .ph img, .plan-card:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .quote-band img { transform: none !important; }
}

/* About: pull quote */
.pull { margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--oak); font: italic 400 1.45rem/1.4 var(--serif); color: var(--ink); }
.pull cite { display: block; margin-top: 10px; font: 500 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--oak); }
.split:has(.pull) { align-items: start; }

/* About: story photos */
.story-fig { margin: 0; }
.story-fig img { width: 100%; border-radius: 4px; box-shadow: var(--shadow); }
.split .story-fig img { aspect-ratio: auto; }
.story-fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.section.dark .story-fig figcaption { color: #bdb4a6; }
.story-pair img { aspect-ratio: 3/2; object-fit: cover; }
.story-early { margin-top: 28px; }
.story-early img { aspect-ratio: 3/2; object-fit: cover; }

/* Tall photo hero (About): keeps the people in frame above the headline */
.page-hero.photo.tall { min-height: min(90vh, 860px); display: grid; align-items: end; padding: 0 0 48px; }
.page-hero.photo.tall img { object-position: 50% 100%; }
@media (max-width: 640px) { .page-hero.photo.tall { min-height: 94vh; padding-bottom: 28px; } .page-hero.photo.tall h1 { font-size: 2.1rem; } .page-hero.photo.tall .lede { font-size: 1rem; } }
.page-hero.photo.tall::after { background: linear-gradient(180deg, rgba(20,18,15,.05) 35%, rgba(20,18,15,.82) 82%); }
.hero-caption { font-size: .85rem; color: rgba(255,255,255,.85); margin: 14px 0 0; }

/* Custom homes page */
.section.dark .gallery-grid button { background: #2b2925; }
.page-hero.photo.tall .btn-row { margin-top: 24px; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h2.h3 { font-size: 1.55rem; font-weight: 600; }
.care-card h2.h3 { margin-bottom: .5em; }

.story-wide { max-width: 980px; margin-inline: auto; }
