:root {
  --ink: #171915;
  --forest: #252a24;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --stone: #d9d2c7;
  --bronze: rgb(187, 151, 83);
  --line: rgba(23, 25, 21, 0.18);
  --serif: "Prata", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --header-height: 92px;
  --nav-height: 58px;
  --logo-scale: 1;
  --hero-scale: 1.06;
  --hero-shift: 0px;
  --header-opacity: 0;
  --header-shadow: 0;
  --section-header-height: 122px;
  --section-text-gap: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main > section[id] { scroll-margin-top: 0; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; font-weight: 600; }
.shell { width: min(100% - 64px, 1380px); margin-inline: auto; }
.section { padding: 130px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--white); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--white); background: rgb(23 25 21 / var(--header-opacity)); box-shadow: 0 14px 35px rgb(0 0 0 / var(--header-shadow)); transition: box-shadow .18s ease; }
.header-primary { height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { grid-column: 2; display: inline-flex; align-items: center; gap: 12px; letter-spacing: .06em; justify-self: center; transform: scale(var(--logo-scale)); transform-origin: center; will-change: transform; }
.header-primary > .wordmark { position: relative; top: 4px; }
.wordmark span { font: 42px/1 var(--serif); }
.wordmark small { font-size: 10px; letter-spacing: .28em; line-height: 1.3; border-left: 1px solid rgba(255,255,255,.45); padding-left: 12px; }
.header-tools { font-weight: 500; grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.header-cta { border: 1px solid rgba(255,255,255,.55); padding: 11px 15px; background: transparent; color: inherit; font: inherit; font-weight: 600; text-transform: inherit; letter-spacing: inherit; white-space: nowrap; cursor: pointer; }
.menu-toggle { grid-column: 1; display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; width: 22px; margin: 6px 0; background: currentColor; }
.header-secondary { position: relative; border-block: 2px solid rgba(255,255,255,.2); background: rgb(16 18 15 / calc(.2 + var(--header-opacity) * .65)); backdrop-filter: blur(8px); }
.nav-inner { font-weight: 500; height: var(--nav-height); display: flex; align-items: center; justify-content: center; gap: clamp(32px, 5vw, 76px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: var(--paper); color: var(--ink); box-shadow: 0 18px 35px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; pointer-events: none; }
.nav-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-dropdown-inner { height: 280px; display: grid; grid-template-columns: 30fr 35fr 35fr; column-gap: 18px; padding-block: 18px; }
.nav-dropdown-links { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 27px; padding: 0 38px 0 20px; font: 21px/1.3 var(--serif); letter-spacing: -.02em; text-transform: none; }
.nav-dropdown-links a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-dropdown-links a:hover, .nav-dropdown-links a:focus-visible { color: var(--bronze); border-color: currentColor; }
.nav-dropdown-inner img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.nav-dropdown-inner img:first-of-type { object-position: center 55%; }

.hero { position: relative; min-height: 780px; height: 92vh; color: var(--white); overflow: hidden; }
.hero-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(var(--hero-scale)); transform-origin: center; will-change: transform; animation: heroFade 1.1s ease-out both; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,14,18,.72) 0%, rgba(12,15,18,.35) 42%, rgba(10,10,10,.08) 74%), linear-gradient(180deg, rgba(0,0,0,.4), transparent 35%, rgba(0,0,0,.2)); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: 125px; transform: translateY(var(--hero-shift)); will-change: transform; }
.eyebrow { margin: 0 0 28px; font: 700 12px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; flex: 0 0 36px; width: 36px; height: 2px; background: #808080; }
.hero .eyebrow::before { background: var(--white); }
.eyebrow.light { color: var(--white); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; }
h1 { font-size: clamp(56px, 6.1vw, 104px); max-width: 1040px; }
h1 em, h2 em { color: var(--bronze); font-style: italic; font-weight: 400; }
.hero-copy { width: min(850px, 100%); margin: 30px 0 28px; color: var(--white); font-size: 18px; font-weight: 400; }
.text-link { display: inline-flex; gap: 20px; align-items: center; text-transform: uppercase; font-size: 11px; letter-spacing: .18em; font-weight: 600; line-height: 1.6; border-bottom: 2px solid currentColor; padding-bottom: 8px; }
.text-link span { transition: transform .2s; }
.text-link > span[aria-hidden="true"] { font-weight: 600; }
.text-link:hover span { transform: translateX(5px); }
.text-link.light { color: var(--white); }

.journey-bar { position: relative; z-index: 4; margin-top: -42px; }
.journey-grid { background: var(--white); min-height: 128px; display: grid; grid-template-columns: repeat(3, 1fr); box-shadow: 0 8px 30px rgba(25,25,20,.25); }
.journey-item { padding: 28px 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border-right: 1px solid var(--ink); transition: background .25s, color .25s; }
.journey-item:last-child { border-right: 0; }
.journey-item:hover { background: var(--ink); color: var(--white); }
.journey-number { color: var(--bronze); font-size: 11px; }
.journey-item small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 5px; }
.journey-item strong { font: 22px/1.2 var(--serif); font-weight: 400; }
.service-key { flex: 0 0 48px; width: 48px; height: 48px; background: url("assets/service-key.png") center / contain no-repeat; mix-blend-mode: multiply; transition: transform .3s ease; }
.journey-item:hover .service-key { filter: invert(1); mix-blend-mode: screen; }
.journey-item:hover .service-key, .journey-item:focus-visible .service-key { transform: rotate(-90deg); }

.intro { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; min-height: calc(100vh - 72px); }
.intro-label { display: flex; gap: 28px; align-items: flex-start; }
.section-number { color: var(--bronze); font-size: 11px; }
.intro-label .eyebrow { margin-top: -2px; }
.intro-copy h2, .section-heading h2, .story-panel h2, .owner-copy h2, .portfolio-content h2, .contact-copy h2 { font-size: clamp(50px, 5vw, 82px); }
.intro-copy h2 { line-height: 1.2; }
.intro-bottom { display: grid; grid-template-columns: minmax(0, 630px) auto; width: min(100%, 790px); gap: 24px; align-items: end; margin-top: 60px; padding-top: 34px; border-top: 2px solid transparent; background: linear-gradient(#808080, #808080) top left / calc(100% - 24px) 2px no-repeat; background-origin: border-box; }
.intro-bottom p { margin: 0; max-width: 630px; color: #5f615a; font-size: 18px; font-weight: 400; }
.intro-bottom .text-link { justify-self: end; position: relative; top: 24px; left: -10px; white-space: nowrap; }

.image-story { display: grid; grid-template-columns: 48% 52%; min-height: 760px; }
.story-image { overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-panel { background: #ddd7cd; padding: clamp(60px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.story-panel h2 { font-size: clamp(50px, 5vw, 82px); line-height: 1.2; margin-bottom: 38px; }
.story-panel > p:not(.eyebrow) { color: #5d5f58; font-weight: 400; font-size: 17px; max-width: 530px; }
.story-points { list-style: none; padding: 0; margin: 48px 0 0; border-top: 2px solid rgba(23,25,21,.2); }
.story-points li { padding: 19px 0; border-bottom: 2px solid rgba(23,25,21,.2); font-family: var(--serif); font-size: 21px; }
.story-points span { display: inline-block; width: 60px; color: var(--bronze); font: 10px var(--sans); }
.story-points .story-point-expandable { padding: 0; }
.story-point-toggle { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr) 24px; align-items: center; border: 0; background: transparent; padding: 19px 0; text-align: left; cursor: pointer; }
.story-point-toggle .story-point-title { width: auto; color: inherit; font: inherit; }
.story-point-toggle .story-point-arrow { width: auto; color: var(--ink); font: 22px/1 var(--sans); text-align: right; transition: transform .2s ease; }
.story-point-toggle[aria-expanded="true"] .story-point-arrow { transform: rotate(90deg); }
.story-point-detail { padding: 0 24px 24px 60px; }
.story-point-detail p { margin: 0; color: #5d5f58; font: 400 16px/1.65 var(--sans); }

.services { display: grid; grid-template-columns: 52% 48%; min-height: 760px; background: #ddd7cd; }
.services-content { min-width: 0; padding: clamp(60px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.services-image { position: relative; min-height: 760px; overflow: hidden; }
.services-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.section-heading { display: grid; grid-template-columns: 1fr 1.55fr; align-items: start; margin-bottom: 78px; }
.section-heading > div { display: flex; gap: 25px; }
.residents .section-heading { grid-template-columns: minmax(200px, .6fr) 1.95fr; column-gap: 32px; }
.residents .section-heading .resident-intro { display: block; min-width: 0; container-type: inline-size; }
.residents .resident-intro h2 { font-size: clamp(18px, 6.8cqi, 72px); white-space: nowrap; margin-bottom: 28px; }
.resident-intro p { margin: 0; width: 850px; max-width: 100%; color: #5f615a; font-size: 18px; font-weight: 400; line-height: 1.65; }
.services .section-heading { display: block; margin-bottom: 48px; }
.services .section-heading > div { margin-bottom: 28px; }
.service-list { border-top: 2px solid var(--line); }
.service-item { border-bottom: 2px solid var(--line); }
.service-row { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 90px 1fr 36px; text-align: left; align-items: center; gap: 24px; padding: 30px 8px; cursor: pointer; transition: padding .25s, background .25s; }
.service-row:hover { padding-inline: 22px; background: rgba(217,210,199,.2); }
.service-no { font-size: 11px; color: var(--bronze); }
.service-name { font: 29px var(--serif); }
.service-icon { font: 22px/1 var(--sans); text-align: center; transition: transform .2s ease; }
.service-row[aria-expanded="true"] .service-icon { transform: rotate(90deg); }
.service-detail { padding: 0 68px 30px 122px; }
.service-detail p { margin: 0; max-width: 720px; color: #62645e; font-size: 16px; font-weight: 400; line-height: 1.65; }

.owner-section { background: var(--forest); color: var(--white); padding: 135px 0; }
.owner-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.owner-image img { width: 100%; height: auto; }
.owner-copy > p:not(.eyebrow) { color: var(--white); max-width: 620px; font-size: 18px; font-weight: 400; margin: 34px 0; }
.about-page { background: var(--paper); }
.about-section { min-height: 100vh; background: var(--paper); color: var(--ink); }
.about-section .eyebrow.light { color: var(--ink); }
.about-section .owner-copy > p:not(.eyebrow) { color: #5f615a; max-width: 700px; }
.about-section .button-light { color: var(--ink); }
.about-section .owner-copy h1 { font-size: clamp(44px, 5vw, 82px); }
.about-heading-white { color: #000; }
.owner-services-details { padding-top: 32px; padding-bottom: 90px; }
.hero .resident-services-title { white-space: nowrap; font-size: clamp(30px, 6.1vw, 104px); }
.owner-services-details section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-block: 40px; border-top: 2px solid var(--line); }
.owner-services-details section:first-child { border-top: 0; }
.owner-services-details section:last-of-type { border-bottom: 2px solid var(--line); margin-bottom: 40px; }
.owner-services-details h2 { font-size: clamp(26px, 3vw, 38px); }
.owner-services-details ul { margin: 0; padding-left: 20px; color: #5f615a; }
.owner-services-details li { padding-left: 6px; margin-bottom: 20px; }
.owner-services-details strong { color: var(--ink); font-weight: 600; }
.owner-services-details .owner-services-contact { min-width: 0; padding: 12px 30px; font-size: 11px; font-weight: 600; letter-spacing: .12em; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 700px) {
  .owner-services-details section { grid-template-columns: 1fr; gap: 28px; }
}
.button { font-weight: 600; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 16px 20px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; border: 1px solid currentColor; min-width: 210px; background: transparent; cursor: pointer; }
.button-light { color: var(--white); }
.button:hover { background: var(--bronze); color: var(--ink); border-color: var(--bronze); }

.resident-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resident-card { display: grid; min-width: 0; position: relative; perspective: 1200px; container-type: inline-size; }
.resident-card-inner { position: relative; display: grid; min-height: 100cqi; -webkit-transform-style:preserve-3d; transform-style: preserve-3d; transition: transform .65s ease; }
.resident-card.is-flipped .resident-card-inner { transform: rotateY(180deg); }
.resident-flip-toggle { position:absolute; inset:0; z-index:2; width:100%; height:100%; padding:0; border:0; border-radius:0; background:transparent; cursor:pointer; }
.resident-flip-toggle:focus-visible { outline:2px solid var(--bronze); outline-offset:5px; }
.resident-face { position: relative; grid-area: 1 / 1; min-width: 0; padding: clamp(20px, 2.2vw, 32px); display: flex; flex-direction: column; justify-content: space-between; background: #ded8cf; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.resident-front { transform:rotateY(0deg) translateZ(1px); }
.resident-back { transform: rotateY(180deg) translateZ(1px); }
/* Explicit face visibility also prevents mirrored front text in mobile browsers. */
.resident-card.is-flipped .resident-front,
.resident-card:not(.is-flipped) .resident-back { visibility:hidden; }
.resident-card:first-child .resident-back { background: #c8bea6; }
.resident-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resident-photo-front .resident-photo { transform: translate(-10px, -30px) scale(1.3); }
.resident-card:nth-child(2) .resident-photo { transform: translate(-10px, -35px) scale(1.3); }
.resident-card:nth-child(3) .resident-photo { transform: translate(-15px, -5px) scale(1.33); }
.resident-photo-front { color: var(--white); }
.resident-photo-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,15,.25), rgba(17,19,15,.72)); }
.resident-photo-front > :not(img) { position: relative; z-index: 1; }
.resident-front { justify-content: flex-start; }
.resident-photo-front::before { content: ""; flex: 0 0 50px; }
.resident-front .card-icon { flex-shrink: 0; }
.resident-front .resident-home-icon { margin-bottom: 5px; }
.resident-card .resident-front > div { position: relative; margin-top: max(24px, calc(50cqi - 120px - clamp(20px, 2.2vw, 32px))); }
.resident-front .resident-arrow { margin-top: auto; padding-top: 24px; box-sizing: content-box; }
.resident-image-back { padding: 0; }
.resident-arrow { width: 36px; height: 36px; flex-shrink: 0; align-self: flex-end; color: #fff; }
.resident-back .resident-arrow { transform: rotate(-45deg); }
.resident-image-back .resident-arrow { position: absolute; right: clamp(20px, 2.2vw, 32px); bottom: clamp(20px, 2.2vw, 32px); }
.card-icon { font: 45px var(--serif); color: var(--bronze); }
.resident-home-icon { width: 45px; height: 45px; flex-shrink: 0; }
.outline-card .card-icon { transform: translate(-1px, -1px); }
.resident-find-home-icon { width: 50px; height: 50px; flex-shrink: 0; }
.resident-card small { text-transform: uppercase; font-size: 12px; letter-spacing: .18em; }
.resident-card h3 { font: 34px var(--serif); line-height: 1.2; margin: 10px 0 8px; font-weight: 400; }
.resident-card p { margin: 0; color: #656761; font-weight: 400; max-width: 300px; }
.resident-card:nth-child(2) .resident-front p,
.resident-card:nth-child(3) .resident-front p { max-width: none; }
.resident-back-copy h3 { font-size: 26px; margin-bottom: 13px; }
.resident-back-copy p { max-width: none; font-size: 16px; line-height: 1.5; color: var(--ink); }
.resident-card:first-child .resident-back { gap: 12px; }
.resident-photo-front p { color: var(--white); }
.dark-card .resident-front { background: #ded8cf; color: var(--ink); }
.dark-card p { color: #656761; }
.outline-card .resident-front { background: var(--forest); color: var(--white); border: 1px solid var(--ink); }
.outline-card p { color: var(--white); }

.portfolio { position: relative; min-height: 680px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.portfolio-backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,22,24,.87), rgba(17,22,24,0)), url("assets/collection-twilight-color-edit.webp") center bottom/cover; filter: saturate(1); transform: scale(1.01); transform-origin: center top; }
.portfolio-content { position: relative; z-index: 1; }
.portfolio-content p:not(.eyebrow) { max-width: 670px; color: var(--white); font-size: 18px; font-weight: 400; margin: 32px 0; }

.contact { background: #d7cec0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10vw; }
.contact-copy > p:last-child { color: #5f615a; max-width: 520px; font-size: 17px; margin-top: 30px; }
@media (min-width: 981px) { .contact-copy > p:last-child { width: calc(100% + 20px); max-width: 540px; } }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; align-content: start; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label:first-child, .full-width { grid-column: 1 / -1; }
.contact-form label span { text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select { border: 0; border-bottom: 1px solid rgba(23,25,21,.42); background: transparent; border-radius: 0; padding: 11px 0; outline: 0; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--ink); }
.contact-form textarea { resize: vertical; }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); width: fit-content; }
.form-status { margin: 0; align-self: center; font-size: 13px; color: #455443; }

.site-footer { background: var(--forest); color: var(--white); padding-top: 70px; }
.footer-bottom { background: #11130f; border-top:2px solid rgba(255,255,255,.15); }
.footer-main { display: grid; grid-template-columns: 1fr auto minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 0; }
.footer-mark { grid-column: 2; grid-row: 1; justify-self: center; }
.footer-brand { position: relative; grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand > .footer-mark { position: absolute; bottom: calc(100% + 2px); }
.footer-brand > strong { white-space: nowrap; }
.footer-main > p { grid-column: 3; grid-row: 1; justify-self: end; width: 350px; max-width: 100%; margin: 0; color: var(--white); font-size:14px; font-weight: 400; text-align: left; }
@media (min-width: 1101px) {
  .footer-brand { top:10px; }
  .footer-main > p, .footer-links { position:relative; top:calc(10px - 2px - 42px + 21px * (1 - var(--logo-scale))); }
  .footer-main > p { top:calc(10px - 2px - 42px + 21px * (1 - var(--logo-scale)) - 2px); }
}
.footer-links { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; text-align: left; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }
.footer-base { display: flex; align-items:center; justify-content: space-between; padding-block: 13.5px; color: var(--white); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.footer-base > span:last-child { text-transform: none; }

.reveal { transform: translateY(32px); transition: transform .8s ease; }
.reveal.visible { transform: none; }
@keyframes heroFade { from { opacity: .65; } to { opacity: 1; } }

/* Give the footer room before its three desktop columns become cramped. */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; grid-row: 1; }
  .footer-brand > .footer-mark { position: static; }
  .footer-brand > strong { white-space: normal; }
  .footer-links { grid-column: 1; grid-row: 2; }
  .footer-main > p { grid-column: 2; grid-row: 2; }
}

@media (max-width: 980px) {
  .intro { min-height: calc(100vh - 66px); }
  .shell { width: min(100% - 40px, 900px); }
  .section { padding: 95px 0; }
  :root { --header-height: 78px; }
  .header-primary { height: var(--header-height); grid-template-columns: 1fr auto 1fr; }
  .nav-inner { gap: clamp(20px, 4vw, 44px); font-size: 11px; }
  .wordmark span { font-size: 34px; }
  .hero { height: 88vh; min-height: 700px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-item { border-right: 0; border-bottom: 1px solid var(--ink); }
  .intro { grid-template-columns: minmax(0, 1fr); }
  .intro-label { margin-bottom: 25px; }
  .image-story { grid-template-columns: minmax(0, 1fr); }
  .story-image { min-height: 550px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .services-image { min-height: 550px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .residents .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .residents .section-heading .eyebrow { margin-bottom: 0; }
  .service-row { grid-template-columns: 50px 1fr 36px; }
  .service-detail { padding-left: 82px; }
  .owner-grid { grid-template-columns: 1fr; gap: 32px; }
  .resident-cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 65px; }
}

@media (max-width: 700px) {
  .nav-dropdown { display: none; }
  .header-primary { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 8px; }
  .menu-toggle { width: 44px; height: 44px; }
  .header-tools { flex-direction: column; gap: 4px; font-size: 8px; }
  .header-tools .header-cta { padding: 4px 8px; text-align: center; width: 100%; min-height: 30px; display: flex; align-items: center; justify-content: center; }
  .header-primary .wordmark span { font-size: clamp(23px, 4.4vw, 30px); }
  .menu-toggle { display: block; color: white; }
  .header-secondary { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--ink); }
  .header-secondary.is-open { display: block; }
  .nav-inner { font-weight: 500; height: auto; flex-direction: column; align-items: flex-start; padding-block: 28px; gap: 22px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 600px); }
  .section { padding: 76px 0; }
  .header-primary { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .header-tools { flex-direction: column; gap: 4px; font-size: 8px; }
  .header-tools .header-cta { padding: 4px 8px; text-align: center; width: 100%; }
  .wordmark { gap: 7px; }
  .wordmark span { font-size: 23px; }
  .wordmark small { font-size: 7px; padding-left: 7px; }
  .hero { min-height: 690px; }
  .hero-content { padding-bottom: 88px; }
  .hero-copy { font-size: 16px; }
  .journey-bar { margin-top: 0; }
  .journey-grid { width: 100%; }
  .journey-item { padding: 24px 20px; }
  .intro-bottom { grid-template-columns: 1fr; gap: 35px; margin-top: 40px; }
  .intro-bottom .text-link { justify-self: start; }
  .image-story { min-height: 0; }
  .story-image { min-height: 390px; }
  .story-panel { padding: 70px 26px; }
  .services-content { padding: 104px 26px 70px; }
  .services-image { min-height: 390px; }
  .service-row { padding-block: 24px; gap: 10px; }
  .service-detail { padding-left: 60px; padding-right: 0; }
  .service-name { font-size: 24px; }
  .owner-section { padding: 80px 0; }
  .resident-cards { grid-template-columns: 1fr; }
  .portfolio { min-height: 610px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-main > p, .footer-links { grid-column: 1; justify-self: start; }
  .footer-main > p { grid-row: 2; width: 100%; }
  .footer-mark { grid-column: 1; }
  .footer-brand { grid-column: 1; width: 100%; margin-top: 0; }
  .footer-brand > .footer-mark { position: static; }
  .footer-brand > strong { white-space: normal; }
  .footer-links { grid-row: 3; text-align: left; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
  .footer-base { gap: 16px; flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .hero { min-height: 760px; }
  h1 { font-size: 50px; }
  .intro-copy h2, .section-heading h2, .story-panel h2, .owner-copy h2, .portfolio-content h2, .contact-copy h2 { font-size: 44px; }
  .story-panel, .services-content { min-width: 0; }
  .story-panel { padding-inline: 20px; }
  .services-content { padding-inline: 20px; }
  .service-row { grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 8px; padding-inline: 0; }
  .service-row:hover { padding-inline: 4px; }
  .service-name { font-size: 22px; }
  .service-detail { padding-left: 40px; }
}

/* Keep section text at the same distance below the compact fixed header. */
.section, .owner-section, .portfolio {
  padding-top: calc(var(--section-header-height) + var(--section-text-gap));
}
.story-panel, .services-content {
  padding-top: calc(var(--section-header-height) + var(--section-text-gap));
  justify-content: flex-start;
}
.owner-grid { align-items: start; }
.about-page main { padding-top: var(--about-header-height, var(--section-header-height)); }
.about-page .about-section { padding-top: var(--section-text-gap); }
.portfolio { align-items: flex-start; padding-bottom: 80px; }
@media (min-width: 981px) {
  .portfolio { min-height: max(100vh, calc(100vw * 941 / 1672)); }
}
.portfolio.portfolio-fullscreen { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--section-text-gap) + var(--section-header-height)); }
main > #portfolio { scroll-margin-top: 0; }
.intro-label .eyebrow { margin-top: 0; }

@media (max-width: 980px) {
  :root { --section-header-height: 112px; --section-text-gap: 40px; }
  .story-panel { grid-row: 1; }
  .owner-copy { grid-row: 1; }
}
@media (max-width: 700px) {
  :root { --section-header-height: 66px; --section-text-gap: 32px; }
}

/* Let content shrink and wrap without hiding page overflow. */
.intro-copy, .story-panel, .owner-copy, .contact-copy, .contact-form,
.footer-main > *, .owner-services-details section > *, .journey-item > div { min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; }
p, h1, h2, h3 { overflow-wrap: break-word; }

@media (max-width: 700px) {
  .nav-inner > a { display: flex; align-items: center; min-height: 44px; }
  .nav-inner { gap: 8px; padding-block: 16px; }
  .header-secondary { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
}

@media (max-width: 640px) {
  .hero { height: auto; min-height: max(690px, 100svh); }
  .hero-content { min-height: inherit; padding-top: 160px; }
  h1 { font-size: clamp(40px, 10vw, 56px); }
  .about-section .owner-copy h1 { font-size: clamp(34px, 8vw, 50px); }
  .intro-copy h2, .section-heading h2, .story-panel h2, .owner-copy h2,
  .portfolio-content h2, .contact-copy h2 { font-size: clamp(34px, 8vw, 50px); }
  .residents .resident-intro h2 { font-size: clamp(30px, 7.5vw, 44px); white-space: normal; }
  .resident-intro p, .intro-bottom p, .owner-copy > p:not(.eyebrow) { font-size: 16px; }
  .resident-card h3 { font-size: clamp(26px, 7.5vw, 34px); }
  .resident-back-copy h3 { font-size: 26px; }
  .resident-card .resident-front > div { margin-top: 32px; }
  .resident-card-inner { min-height: max(100cqi, 380px); }
  .story-point-toggle { grid-template-columns: 32px minmax(0, 1fr) 24px; }
  .story-point-detail { padding-left: 32px; padding-right: 0; }
  .service-row { grid-template-columns: 32px minmax(0, 1fr) 24px; padding-inline: 0; }
  .service-row:hover { padding-inline: 0; }
  .service-detail { padding-left: 42px; }
  .button { min-width: 0; max-width: 100%; }
  .header-tools .header-cta { min-height: 30px; display: flex; align-items: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { transform: none; }
  .hero-image, .hero-content, .wordmark { transform: none !important; }
}

/* Keep the contact content below the fixed header and bring the footer closer. */
main > #contact { scroll-margin-top: 0; padding-top: calc(var(--section-text-gap) + var(--section-header-height)); padding-bottom:18px; }

.owner-find-more span { transition: transform .2s; }
.owner-find-more:hover span, .owner-find-more:focus-visible span { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .owner-find-more span { transition: none; } }

.owner-find-more { font-size: 11px; width: 200px; min-width: 0; }

/* Shared action button styling across pages. */
.button, .owner-services-details .owner-services-contact {
  width: 200px; min-width: 0; max-width: 100%; min-height: 52px;
  padding: 16px 20px; display: inline-flex; align-items: center;
  justify-content: space-between; gap: 20px; font-family: var(--sans);
  font-size: 11px; font-weight: 600; line-height: 1.6;
  text-transform: uppercase; letter-spacing: .16em;
  border: 1px solid currentColor; background: transparent; color: inherit;
  text-align: left; cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--bronze); color: var(--ink); border-color: var(--bronze); }
.button span { transition: transform .2s; }
.button:hover span, .button:focus-visible span { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .button span { transition: none; } }

.resident-intro-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.resident-intro-bottom .text-link { justify-self: end; white-space: nowrap; position: relative; top: 37px; left: -175px; }
@media (max-width: 700px) {
  .resident-intro-bottom { grid-template-columns: 1fr; gap: 35px; }
}

.portfolio-text-bottom { display: grid; grid-template-columns: 1fr; gap: 28px; width: 670px; max-width: 100%; margin-top: 32px; }
.portfolio-content .portfolio-text-bottom p { margin: 0; }
.portfolio-text-bottom .text-link { justify-self: end; white-space: nowrap; position: relative; top: 10px; left: 20px; }
@media (max-width: 700px) { .portfolio-text-bottom { grid-template-columns: 1fr; gap: 28px; } }

.owner-learn-more-row { display: flex; justify-content: flex-end; max-width: 620px; }

.owner-learn-more { position: relative; left: 20px; }

@media (max-width: 700px) { .intro-bottom .text-link { left: 0; } }

@media (min-width: 981px) {
  #owners .owner-grid { grid-template-columns: 1.12fr 1.33fr; }
}

#owners .owner-image { position: relative; top: 5px; }


/* Responsive refinements shared by the public pages. */
@media (min-width: 701px) and (max-width: 980px) {
  .nav-inner { gap: clamp(12px, 2vw, 20px); font-size: 10px; letter-spacing: .08em; }
}
@media (max-width: 980px) {
  .resident-intro-bottom { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .resident-intro-bottom .text-link,
  .portfolio-text-bottom .text-link,
  .owner-learn-more { left: 0; top: 0; }
  .resident-intro-bottom .text-link { justify-self: end; }
}
@media (max-width: 700px) {
  .header-primary .wordmark { min-width: 0; }
  .eyebrow { overflow-wrap: anywhere; }
  .text-link { max-width: 100%; min-height: 44px; align-items: flex-end; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; }
  .hero .resident-services-title { white-space: normal; }
}
@media (max-width: 380px) {
  .header-primary .wordmark small { display: none; }
  .header-primary .wordmark span { font-size: 22px; }
}

.service-overview p { max-width: 900px; }
.service-overview p a { text-decoration: underline; text-underline-offset: 4px; }

/* Shared header arrangement on phones across all website pages. */
@media (max-width:700px) {
  .site-header .header-primary { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  .site-header .header-primary > .wordmark { grid-column:2; grid-row:1; }
  .site-header .header-tools { grid-column:1; grid-row:1; justify-self:start; }
  .site-header .header-tools .header-cta:not(.client-portal-link) { display:none; }
  .site-header .header-tools .client-portal-link { width:auto; min-height:44px; padding:8px; }
  .site-header .menu-toggle { grid-column:3; grid-row:1; justify-self:end; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; width:44px; height:44px; }
  .site-header .menu-toggle span:not(.sr-only) { height:2px; width:22px; margin:0; }
}
