.residential-page {
  --res-ink: #242820;
  --res-muted: #6e7068;
  --res-paper: #f3f0e8;
  --res-olive: #73765b;
  --res-line: rgba(36, 40, 32, .18);
  overflow-x: clip;
  color: var(--res-ink);
  background: var(--res-paper);
}

.residential-page *,
.residential-page *::before,
.residential-page *::after { box-sizing: border-box; }

.residential-page h1,
.residential-page h2,
.residential-page h3,
.residential-page p,
.residential-page figure { margin-top: 0; }

.residential-page h1,
.residential-page h2,
.residential-page h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.residential-page em { color: var(--res-olive); font-weight: 400; }
.residential-page img { display: block; width: 100%; height: 100%; object-fit: cover; }

.res-hero {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(410px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  padding: 48px clamp(28px, 7.2vw, 112px) 56px;
  background: var(--res-paper);
}

.res-hero-copy { position: relative; z-index: 2; max-width: 560px; padding: 34px 0; }
.res-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--res-olive); font-size: .68rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.res-eyebrow > span { width: 25px; height: 1px; background: currentColor; }
.res-hero h1 { max-width: 570px; margin: 0; font-size: clamp(3.8rem, 7vw, 7.3rem); letter-spacing: -.065em; line-height: .91; }
.res-hero h1 em { display: block; margin-left: .48em; }
.res-hero-intro { max-width: 400px; margin: 31px 0 0; color: var(--res-muted); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.75; }
.res-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.res-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 28px; padding: 14px 18px; border: 1px solid transparent; text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .04em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.res-button:hover { transform: translateY(-2px); }
.res-button-dark { background: var(--res-ink); color: #fff; }
.res-button-dark:hover { background: var(--res-olive); color: #fff; }
.res-button span { font-size: 1rem; }
.res-text-link,.res-underlined-link { color: var(--res-ink); font-size: .76rem; font-weight: 700; text-decoration: none; }
.res-text-link { border-bottom: 1px solid var(--res-line); padding-bottom: 5px; }
.res-text-link:hover,.res-underlined-link:hover { color: var(--res-olive); }
.res-hero-caption { margin: 48px 0 0; color: var(--res-muted); font-size: .62rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.res-hero-visual { position: relative; height: min(590px, 68vw); min-height: 440px; margin: 0 0 0 -18px; }
.res-hero-visual::before { position: absolute; z-index: 1; top: -18px; left: -18px; width: 38%; height: 40%; border-top: 1px solid rgba(36,40,32,.5); border-left: 1px solid rgba(36,40,32,.5); content: ""; pointer-events: none; }
.res-hero-visual img { object-position: center; }
.res-hero-visual figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px; background: linear-gradient(transparent,rgba(0,0,0,.58)); color: #fff; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.res-hero-stamp { position: absolute; z-index: 2; right: -32px; bottom: 72px; display: grid; width: 104px; height: 104px; align-content: center; justify-items: center; border: 1px solid rgba(243,240,232,.8); border-radius: 50%; background: var(--res-paper); color: var(--res-ink); font-size: .53rem; font-weight: 700; letter-spacing: .15em; line-height: 1.6; }
.res-hero-stamp i { color: var(--res-olive); font-size: 1rem; font-style: normal; }
.res-hero-index { position: absolute; right: 18px; bottom: 15px; color: var(--res-muted); font-size: .54rem; font-weight: 700; letter-spacing: .14em; writing-mode: vertical-rl; }

.res-marquee { overflow: hidden; border-top: 1px solid var(--res-line); border-bottom: 1px solid var(--res-line); background: #e8e5da; }
.res-marquee > div { display: flex; min-width: max-content; align-items: center; justify-content: space-around; gap: clamp(30px, 7vw, 100px); padding: 20px 24px; }
.res-marquee span { color: #505347; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-style: italic; }
.res-marquee i { color: var(--res-olive); font-size: .72rem; font-style: normal; }

.res-intro { padding: 112px clamp(28px, 11vw, 170px) 125px; }
.res-section-kicker { display: flex; align-items: center; gap: 15px; margin-bottom: 32px; color: var(--res-olive); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.res-section-kicker span { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--res-line); border-radius: 50%; color: var(--res-ink); font-size: .58rem; }
.res-intro-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.72fr); align-items: end; gap: clamp(44px,10vw,155px); }
.res-intro h2,.res-section-heading h2,.res-details h2,.res-locations h2 { margin: 0; font-size: clamp(2.9rem,5.8vw,6rem); letter-spacing: -.055em; line-height: .98; }
.res-intro-copy { padding-bottom: 6px; }
.res-intro-copy p,.res-location-main p { color: var(--res-muted); font-size: .94rem; line-height: 1.9; }
.res-intro-copy p:first-child { color: var(--res-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; }
.res-underlined-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--res-ink); }

.res-feature { display: grid; min-height: 560px; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: #e4e1d6; }
.res-feature-image { position: relative; min-height: 470px; margin: 0; }
.res-feature-image img { position: absolute; inset: 0; }
.res-feature-image figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; color: #fff; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.res-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px,8vw,118px); }
.res-feature-copy h2 { max-width: 500px; margin: 0; font-size: clamp(2.8rem,5.1vw,5.5rem); letter-spacing: -.06em; line-height: .97; }
.res-feature-copy > p:not(.res-eyebrow) { max-width: 425px; margin: 27px 0 0; color: var(--res-muted); font-size: .92rem; line-height: 1.9; }
.res-feature-note { display: flex; max-width: 430px; align-items: baseline; gap: 22px; margin-top: 48px; padding-top: 17px; border-top: 1px solid var(--res-line); }
.res-feature-note span { flex: 0 0 auto; color: var(--res-olive); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.res-feature-note p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: .96rem; font-style: italic; }

.res-services { padding: 120px clamp(28px,8vw,120px) 128px; background: #292c25; color: #f3f0e8; }
.res-services .res-section-kicker { color: #c1b792; }
.res-services .res-section-kicker span { border-color: rgba(243,240,232,.35); color: #f3f0e8; }
.res-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 47px; }
.res-section-heading h2 { font-size: clamp(2.8rem,5.4vw,5.6rem); }
.res-section-heading h2 em { color: #c1b792; }
.res-section-heading > p { max-width: 320px; margin: 0 0 5px; color: rgba(243,240,232,.68); font-size: .9rem; line-height: 1.85; }
.res-service-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-auto-rows: 280px; gap: 14px; }
.res-service-card { position: relative; min-width: 0; overflow: hidden; background: #47493f; }
.res-service-card::after { position: absolute; inset: 20% 0 0; background: linear-gradient(transparent,rgba(17,19,16,.82)); content: ""; }
.res-service-card img { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.res-service-card:hover img { transform: scale(1.035); }
.res-service-card-tall { grid-row: span 2; }
.res-service-card-wide { grid-column: 1 / -1; }
.res-service-overlay { position: absolute; z-index: 1; right: 25px; bottom: 23px; left: 25px; }
.res-service-overlay > span { color: #d9c99f; font-size: .57rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.res-service-overlay h3 { max-width: 480px; margin: 10px 0 7px; color: #fff; font-size: clamp(1.5rem,2.8vw,2.45rem); letter-spacing: -.025em; }
.res-service-overlay p { max-width: 450px; margin: 0; color: rgba(255,255,255,.78); font-size: .77rem; line-height: 1.7; }

.res-details { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(45px,10vw,150px); padding: 120px clamp(28px,11vw,170px); }
.res-details h2 { font-size: clamp(2.8rem,5vw,5.2rem); }
.res-details h2 em { display: block; }
.res-detail-list { border-top: 1px solid var(--res-line); }
.res-detail-list article { display: grid; grid-template-columns: 35px minmax(0,1fr) 25px; align-items: start; gap: 14px; padding: 21px 0; border-bottom: 1px solid var(--res-line); }
.res-detail-list article > span:first-child { padding-top: 5px; color: var(--res-olive); font-size: .6rem; font-weight: 700; letter-spacing: .1em; }
.res-detail-list h3 { margin: 0 0 6px; font-size: 1.22rem; }
.res-detail-list p { max-width: 440px; margin: 0; color: var(--res-muted); font-size: .79rem; line-height: 1.75; }
.res-detail-mark { color: var(--res-olive); font-size: .9rem; }

.res-quote-band { display: grid; min-height: 410px; grid-template-columns: .9fr 1.1fr; background: #dedbcf; }
.res-quote-image { position: relative; min-height: 360px; }
.res-quote-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(46px,8vw,120px); }
.res-quote-symbol { position: absolute; top: 25px; left: 45px; color: rgba(115,118,91,.45); font-family: Georgia,serif; font-size: 7rem; line-height: 1; }
.res-quote-copy h2 { position: relative; max-width: 650px; margin: 0; font-size: clamp(2.4rem,4.4vw,4.8rem); letter-spacing: -.055em; line-height: 1.04; }
.res-quote-copy p { margin: 27px 0 0; color: var(--res-olive); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.res-locations { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(40px,9vw,130px); padding: 112px clamp(28px,11vw,170px); }
.res-location-aside { display: flex; flex-direction: column; justify-content: space-between; color: var(--res-olive); font-size: .6rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.res-location-main h2 { max-width: 690px; margin-bottom: 25px; font-size: clamp(2.8rem,5.3vw,5.5rem); }
.res-location-main h2 em { display: block; }
.res-location-main p { max-width: 680px; }
.res-location-main strong { color: var(--res-ink); font-weight: 650; }

.res-consultation { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px,10vw,145px); padding: 100px clamp(28px,10vw,150px); background: #292c25; color: #f3f0e8; }
.res-consultation-top .res-eyebrow { color: #c1b792; }
.res-consultation-top h2 { margin: 0; font-size: clamp(3rem,5.8vw,6rem); letter-spacing: -.06em; line-height: .95; }
.res-consultation-top > p:last-child { max-width: 370px; margin: 23px 0 0; color: rgba(243,240,232,.68); font-size: .87rem; line-height: 1.8; }
.res-enquiry-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; gap: 19px 16px; }
.res-form-field { display: grid; gap: 8px; }
.res-form-field label { color: #d4ceb9; font-size: .59rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.res-form-field input,.res-form-field select { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid rgba(243,240,232,.28); border-radius: 0; background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: .76rem; }
.res-form-field input::placeholder { color: rgba(243,240,232,.55); }
.res-form-field select option { color: var(--res-ink); }
.res-form-field input:focus,.res-form-field select:focus { border-color: #c1b792; outline: 2px solid rgba(193,183,146,.26); }
.res-button-light { grid-column: 1 / -1; margin-top: 4px; background: var(--res-paper); color: var(--res-ink); cursor: pointer; text-align: left; }
.res-button-light:hover { background: #d8d2c0; color: var(--res-ink); }
.res-form-note { grid-column: 1 / -1; margin: -10px 0 0; color: rgba(243,240,232,.57); font-size: .65rem; }

.res-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(42px,10vw,150px); padding: 110px clamp(28px,11vw,170px); }
.res-faq-intro h2 { max-width: 450px; margin: 0; font-size: clamp(2.6rem,4.8vw,4.8rem); letter-spacing: -.055em; line-height: 1; }
.res-faq-list { border-top: 1px solid var(--res-line); }
.res-faq-list details { padding: 20px 0; border-bottom: 1px solid var(--res-line); }
.res-faq-list summary { position: relative; padding-right: 38px; color: var(--res-ink); cursor: pointer; font-family: Georgia,"Times New Roman",serif; font-size: 1.05rem; list-style: none; }
.res-faq-list summary::-webkit-details-marker { display: none; }
.res-faq-list summary::after { position: absolute; top: -4px; right: 3px; color: var(--res-olive); content: "+"; font-family: Arial,sans-serif; font-size: 1.35rem; }
.res-faq-list details[open] summary::after { content: "−"; }
.res-faq-list details p { max-width: 630px; margin: 12px 38px 0 0; color: var(--res-muted); font-size: .8rem; line-height: 1.8; }

.res-footer { display: flex; min-height: 115px; align-items: center; justify-content: space-between; gap: 20px; padding: 26px clamp(28px,7vw,110px); background: #dedbcf; }
.res-footer-brand { color: var(--res-ink); font-family: Georgia,"Times New Roman",serif; font-size: 1.2rem; letter-spacing: .08em; text-decoration: none; }
.res-footer-brand span { display: block; color: var(--res-olive); font-family: Arial,sans-serif; font-size: .48rem; font-weight: 700; letter-spacing: .28em; }
.res-footer p { margin: 0; color: var(--res-muted); font-family: Georgia,"Times New Roman",serif; font-size: .9rem; font-style: italic; }
.res-footer > a:last-child { color: var(--res-ink); font-size: .72rem; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .res-hero { min-height: 600px; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); padding-inline: 40px; }
  .res-hero h1 { font-size: clamp(3.6rem,8vw,5.7rem); }
  .res-hero-visual { height: 510px; min-height: 380px; }
  .res-intro,.res-details,.res-locations,.res-faq { padding-inline: 55px; }
  .res-feature-copy { padding: 48px; }
  .res-services { padding-inline: 40px; }
  .res-consultation { padding-inline: 50px; }
}

@media (max-width: 700px) {
  .res-hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 55px 25px 63px; }
  .res-hero-copy { padding: 0; }
  .res-hero h1 { max-width: 500px; font-size: clamp(3.65rem,16vw,6rem); }
  .res-hero-intro { max-width: 390px; margin-top: 23px; font-size: 1rem; }
  .res-hero-actions { gap: 18px; margin-top: 24px; }
  .res-hero-caption { margin-top: 28px; }
  .res-hero-visual { height: min(112vw,540px); min-height: 350px; margin: 0 8px 0 0; }
  .res-hero-stamp { right: -12px; bottom: 53px; width: 84px; height: 84px; }
  .res-hero-index { right: 8px; bottom: 4px; writing-mode: horizontal-tb; }
  .res-marquee > div { justify-content: flex-start; gap: 26px; padding-block: 16px; }
  .res-marquee span { font-size: .88rem; }
  .res-intro { padding: 76px 25px 82px; }
  .res-intro-grid,.res-feature,.res-details,.res-quote-band,.res-locations,.res-consultation,.res-faq { grid-template-columns: 1fr; }
  .res-intro-grid { gap: 24px; }
  .res-intro h2 { font-size: clamp(3rem,12vw,4.8rem); }
  .res-section-kicker { margin-bottom: 25px; }
  .res-feature-image { min-height: 390px; }
  .res-feature-copy { padding: 53px 27px 60px; }
  .res-feature-copy h2 { font-size: clamp(3rem,12vw,4.8rem); }
  .res-feature-note { gap: 14px; margin-top: 36px; }
  .res-services { padding: 80px 22px; }
  .res-section-heading { align-items: start; flex-direction: column; gap: 19px; margin-bottom: 30px; }
  .res-section-heading h2 { font-size: clamp(2.8rem,11vw,4.6rem); }
  .res-section-heading > p { max-width: 450px; }
  .res-service-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; gap: 12px; }
  .res-service-card-tall { grid-row: auto; }
  .res-service-card-wide { grid-column: auto; }
  .res-service-overlay { right: 18px; bottom: 18px; left: 18px; }
  .res-details { gap: 34px; padding: 80px 25px; }
  .res-details h2 { font-size: clamp(2.9rem,11vw,4.5rem); }
  .res-quote-image { min-height: 300px; }
  .res-quote-copy { min-height: 330px; padding: 65px 28px; }
  .res-quote-symbol { top: 16px; left: 24px; font-size: 6rem; }
  .res-quote-copy h2 { font-size: clamp(2.5rem,10vw,4rem); }
  .res-locations { gap: 27px; padding: 78px 25px; }
  .res-location-aside { flex-direction: row; gap: 10px; }
  .res-location-main h2 { font-size: clamp(2.9rem,11vw,4.7rem); }
  .res-consultation { gap: 35px; padding: 76px 25px; }
  .res-consultation-top h2 { font-size: clamp(3.2rem,13vw,5.3rem); }
  .res-enquiry-form { gap: 15px 10px; }
  .res-faq { gap: 30px; padding: 78px 25px; }
  .res-faq-intro h2 { font-size: clamp(2.8rem,11vw,4.5rem); }
}

@media (max-width: 460px) {
  .res-hero { padding-inline: 20px; }
  .res-hero h1 { font-size: clamp(3.4rem,16.2vw,4.5rem); }
  .res-hero-actions { align-items: flex-start; flex-direction: column; }
  .res-button-dark { width: 100%; }
  .res-hero-visual { min-height: 310px; }
  .res-feature-image { min-height: 320px; }
  .res-service-grid { grid-auto-rows: 300px; }
  .res-enquiry-form { grid-template-columns: 1fr; }
  .res-button-light,.res-form-note { grid-column: auto; }
  .res-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .residential-page *, .residential-page *::before, .residential-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
