/* Castle Homes — Georgia */
:root {
  color-scheme: light;
  --burgundy: #99002b;
  --burgundy-deep: #3b0c1c;
  --burgundy-dark: #270813;
  --gold: #e8ad20;
  --gold-soft: #f1c85c;
  --paper: #f7f5f0;
  --paper-dark: #eeeae2;
  --ink: #262322;
  --ink-muted: #69635f;
  --white: #fff;
  --line: rgba(38, 35, 34, .16);
  --line-light: rgba(255, 255, 255, .2);
  --font: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1440px;
  --gutter: clamp(16px, 4.8vw, 76px);
  --section-y: clamp(76px, 10vw, 148px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }
button,
input,
select,
textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, figcaption, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { color: var(--white); background: var(--burgundy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--burgundy-deep);
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.display {
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}
.display--hero { max-width: 960px; font-size: clamp(2.7rem, 7.15vw, 6.8rem); }
.display--section { font-size: clamp(2.4rem, 5vw, 5.25rem); }
.display--feature { font-size: clamp(2rem, 3.6vw, 3.7rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--burgundy);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow__rule { width: 25px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { color: var(--burgundy-dark); background: var(--gold); }
.btn--gold:hover { background: var(--gold-soft); }
.btn__mark { font-size: 1rem; }
.btn__detail { font-weight: 450; letter-spacing: .02em; text-transform: none; }

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.text-link:hover { gap: 15px; }
.text-link--light { color: var(--white); border-color: rgba(255, 255, 255, .56); }
.text-link--burgundy { color: var(--burgundy); }
.text-link--gold { color: var(--gold-soft); }

/* Header and navigation */
.masthead {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--white);
  background: rgba(39, 8, 19, .93);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.masthead__inner {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
}
.masthead__brand { display: inline-flex; flex: 0 1 190px; align-items: center; }
.masthead__brand img { width: 144px; height: 72px; object-fit: contain; object-position: left center; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, .84);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { transform: scaleX(1); }
.masthead__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.masthead__phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.masthead__phone span:first-child { font-size: 1rem; }
.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 8px 0 8px 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 21px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { position: absolute; left: 0; content: ""; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Full-image editorial hero */
.hero {
  position: relative;
  min-height: 770px;
  min-height: max(720px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--burgundy-deep);
}
.hero__shell { position: relative; z-index: 2; display: flex; min-height: inherit; flex-direction: column; justify-content: flex-end; padding-top: 125px; padding-bottom: 34px; }
.hero__panels { position: relative; display: flex; min-height: 490px; flex: 1 1 auto; align-items: center; }
.hero__panel { position: relative; width: 100%; min-height: 400px; display: flex; align-items: center; isolation: isolate; }
.hero__panel[hidden],
.feature__panel[hidden] { display: none !important; }
.hero__picture { position: absolute; z-index: -1; inset: calc(-125px - 1px) calc(var(--gutter) * -1) -55px; overflow: hidden; }
.hero__picture::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 5, 12, .84) 0%, rgba(32, 7, 15, .66) 44%, rgba(32, 7, 15, .14) 100%), linear-gradient(0deg, rgba(31, 7, 15, .57), transparent 38%); content: ""; }
.hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero__copy { width: min(100%, 910px); padding-block: 58px 72px; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__lede { max-width: 560px; margin-top: 24px; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 27px; margin-top: 30px; }
.hero__dock { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .34); }
.hero__tabs { display: flex; min-width: 0; flex: 1 1 auto; gap: clamp(15px, 2.7vw, 44px); overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; }
.hero__tab {
  display: flex;
  min-width: 130px;
  min-height: 55px;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  cursor: pointer;
  text-align: left;
  transition: color .2s ease;
}
.hero__tab:hover,
.hero__tab.is-active { color: var(--white); }
.hero__tab-number { align-self: flex-start; padding-top: 17px; color: var(--gold-soft); font-size: .65rem; letter-spacing: .1em; }
.hero__tab-label { font-size: .8rem; font-weight: 600; letter-spacing: .035em; white-space: nowrap; }
.hero__controls { display: flex; flex: 0 0 auto; gap: 8px; }
.round-btn {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.round-btn:hover { color: var(--burgundy-deep); background: var(--gold); border-color: var(--gold); }
.hero__image-note { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; color: rgba(255, 255, 255, .74); font-size: .66rem; letter-spacing: .04em; }
.hero__image-note-mark { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__scroll { position: absolute; z-index: 3; right: 26px; top: 50%; display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .72); font-size: .61rem; letter-spacing: .14em; text-transform: uppercase; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }
.hero__scroll-line { display: block; width: 44px; height: 1px; background: var(--gold); }

/* About */
.about { padding-bottom: clamp(76px, 8vw, 116px); }
.about__intro { display: grid; grid-template-columns: 1.05fr .72fr; align-items: end; gap: clamp(36px, 8vw, 130px); }
.about__heading .eyebrow { margin-bottom: 25px; }
.about__copy { max-width: 480px; padding-bottom: 6px; }
.about__copy p { color: var(--ink-muted); }
.about__copy p + p { margin-top: 15px; }
.about__copy .text-link { margin-top: 19px; }
.about__figure { position: relative; width: min(100%, 1100px); margin: clamp(42px, 6.5vw, 92px) auto 0; }
.about__figure img { width: 100%; max-height: 670px; object-fit: cover; aspect-ratio: 1.72 / 1; }
.about__figure figcaption,
.home-gallery figcaption,
.feature__figure figcaption {
  display: flex;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-muted);
  font-size: .66rem;
  letter-spacing: .055em;
}
.about__figure figcaption span:first-child,
.home-gallery figcaption span:first-child { color: var(--burgundy); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.about__paths { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.about__path { display: grid; min-height: 82px; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 10px; padding: 13px 20px 13px 0; border-bottom: 1px solid var(--line); }
.about__path + .about__path { padding-left: clamp(14px, 2.7vw, 38px); border-left: 1px solid var(--line); }
.about__path-num { align-self: start; padding-top: 3px; color: var(--burgundy); font-size: .68rem; letter-spacing: .1em; }
.about__path > span:nth-child(2) { font-size: .86rem; font-weight: 550; }
.about__path-arrow { color: var(--burgundy); font-size: 1.1rem; transition: transform .2s ease; }
.about__path:hover .about__path-arrow { transform: translate(3px, -3px); }

/* Feature tabs */
.feature { padding-block: clamp(74px, 9vw, 126px); color: var(--white); background: var(--burgundy-deep); }
.feature__top { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 36px; }
.feature__top .eyebrow { margin-bottom: 24px; }
.feature__intro { max-width: 390px; padding-bottom: 6px; color: rgba(255, 255, 255, .73); }
.feature__body { display: grid; grid-template-columns: 1.07fr .93fr; gap: clamp(32px, 6vw, 82px); margin-top: clamp(44px, 6vw, 84px); }
.feature__figure { align-self: stretch; min-width: 0; }
.feature__figure img { width: 100%; height: 100%; min-height: 420px; max-height: 640px; object-fit: cover; aspect-ratio: 1.08 / 1; }
.feature__figure figcaption { color: rgba(255, 255, 255, .67); }
.feature__tabs { display: flex; flex-wrap: wrap; gap: 8px 21px; border-bottom: 1px solid var(--line-light); }
.feature__tab { position: relative; min-height: 48px; padding: 7px 0 13px; border: 0; background: transparent; color: rgba(255, 255, 255, .62); cursor: pointer; font-size: .76rem; font-weight: 550; text-align: left; transition: color .2s ease; }
.feature__tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.feature__tab:hover,
.feature__tab.is-active { color: var(--white); }
.feature__tab.is-active::after { transform: scaleX(1); }
.feature__panels { min-height: 340px; padding-top: 39px; }
.feature__panel-index { margin-bottom: 19px; color: var(--gold-soft); font-size: .66rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.feature__panel h3 { margin-bottom: 22px; }
.feature__panel > p:not(.feature__panel-index) { max-width: 460px; color: rgba(255, 255, 255, .76); }
.feature__panel .text-link { margin-top: 20px; }

/* Archive home imagery */
.homes { background: var(--paper-dark); }
.homes__heading { display: grid; grid-template-columns: 1fr .58fr; align-items: end; gap: clamp(38px, 8vw, 120px); }
.homes__heading .eyebrow { margin-bottom: 24px; }
.homes__aside { max-width: 430px; padding-bottom: 5px; }
.homes__aside p { color: var(--ink-muted); }
.homes__aside .text-link { margin-top: 14px; }
.home-gallery { display: grid; grid-template-columns: 1.28fr .82fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: clamp(20px, 3vw, 42px); margin-top: clamp(45px, 6.5vw, 90px); }
.home-gallery__item { min-width: 0; }
.home-gallery__item--lead { grid-row: 1 / span 2; }
.home-gallery__item--lead img { aspect-ratio: .96 / 1; }
.home-gallery__item--mid img,
.home-gallery__item--last img { aspect-ratio: 1.52 / 1; }
.home-gallery__item img { width: 100%; height: 100%; max-height: 740px; object-fit: cover; }
.home-gallery__item--lead img { max-height: 780px; }
.home-gallery figcaption { border-bottom: 1px solid var(--line); }

/* Nine-step process */
.process { padding-block: clamp(78px, 9.5vw, 136px); color: var(--white); background: #242020; }
.process__heading { display: grid; grid-template-columns: 1.1fr .65fr; align-items: end; gap: clamp(35px, 8vw, 120px); }
.process__heading .eyebrow { margin-bottom: 25px; }
.process__lead { max-width: 450px; padding-bottom: 5px; color: rgba(255, 255, 255, .76); }
.process__note { margin-top: 14px; color: rgba(255, 255, 255, .56); font-size: .82rem; }
.process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(47px, 6vw, 84px); border-top: 1px solid var(--line-light); }
.process__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; min-height: 149px; padding: 24px 21px 22px 0; border-bottom: 1px solid var(--line-light); }
.process__steps li:not(:nth-child(3n + 1)) { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line-light); }
.process__num { color: var(--gold); font-size: .7rem; letter-spacing: .1em; }
.process__steps h3 { margin: -3px 0 8px; font-size: 1rem; font-weight: 570; letter-spacing: -.02em; line-height: 1.35; }
.process__steps p { max-width: 290px; color: rgba(255, 255, 255, .67); font-size: .84rem; line-height: 1.6; }
.process__figure { width: min(100%, 340px); margin-top: 24px; }
.process__figure img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.process__figure figcaption { margin-top: 6px; color: rgba(255, 255, 255, .59); font-size: .65rem; }
.process__link { margin-top: 29px; }

/* Contact */
.contact { position: relative; overflow: hidden; padding-block: clamp(78px, 9.5vw, 136px); color: var(--white); background: var(--burgundy); }
.contact::after { position: absolute; top: -230px; right: -200px; width: min(58vw, 720px); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018); content: ""; pointer-events: none; }
.contact__shell { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(42px, 8vw, 122px); }
.contact__intro .eyebrow { margin-bottom: 25px; }
.display--contact { font-size: clamp(2.65rem, 5.7vw, 5.8rem); }
.contact__lede { max-width: 430px; margin-top: 22px; color: rgba(255, 255, 255, .81); }
.contact__direct { margin-top: 31px; }
.contact__phone { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 10px; padding-block: 15px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.contact__phone > span:first-child { color: rgba(255, 255, 255, .76); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact__phone strong { color: var(--gold-soft); font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; white-space: nowrap; }
.contact__arrow { font-size: 1.15rem; transition: transform .2s ease; }
.contact__phone:hover .contact__arrow { transform: translate(3px, -3px); }
.contact__email { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--white); font-size: .83rem; }
.contact__email:hover { color: var(--gold-soft); }
.contact__form-wrap { padding: clamp(23px, 4vw, 48px); color: var(--ink); background: var(--paper); }
.contact__form-kicker { color: var(--burgundy); font-size: .67rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.contact__form-wrap h3 { margin-top: 8px; font-size: clamp(1.45rem, 2.4vw, 2.15rem); font-weight: 560; letter-spacing: -.035em; line-height: 1.15; }
.contact__form-note { max-width: 520px; margin-top: 11px; color: var(--ink-muted); font-size: .8rem; line-height: 1.55; }
.contact-form { margin-top: 23px; }
.contact-form[hidden] { display: none !important; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { color: var(--ink); font-size: .73rem; font-weight: 650; }
.field label span { color: var(--ink-muted); font-weight: 400; }
.field input,
.field select,
.field textarea { width: 100%; min-width: 0; min-height: 45px; padding: 10px 11px; border: 1px solid #cfc8c2; border-radius: 0; background: #fff; color: var(--ink); font-size: .87rem; }
.field textarea { min-height: 102px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--burgundy); outline: 2px solid rgba(153, 0, 43, .2); outline-offset: 1px; }
.contact-form__status { min-height: 0; color: var(--burgundy); font-size: .78rem; }
.contact-form__status:not(:empty) { margin-bottom: 12px; }
.contact-form__submit { border: 0; cursor: pointer; }
.contact__fallback { margin-top: 16px; color: var(--ink-muted); font-size: .77rem; }
.contact__fallback a { color: var(--burgundy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { color: var(--white); background: var(--burgundy-dark); }
.footer__top { display: grid; min-height: 145px; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 144px; height: 72px; object-fit: contain; object-position: left center; }
.footer__line { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer__back { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--gold-soft); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer__back span { font-size: 1rem; }
.footer__bottom { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255, 255, 255, .62); font-size: .7rem; }
.footer__bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 21px; }
.footer__bottom a { min-height: 38px; display: inline-flex; align-items: center; transition: color .2s ease; }
.footer__bottom a:hover { color: var(--white); }
.footer__legal { white-space: nowrap; }

/* 404 */
.error-page { display: grid; min-height: 100svh; grid-template-rows: auto 1fr auto; color: var(--white); background: var(--burgundy-deep); }
.error-page__header { min-height: 82px; border-bottom: 1px solid var(--line-light); }
.error-page__header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; }
.error-page__brand img { width: 144px; height: 72px; object-fit: contain; }
.error-page__header a:last-child { color: var(--gold-soft); font-size: .78rem; font-weight: 600; }
.error-page__main { display: grid; align-content: center; padding-block: 80px; }
.error-page__main .eyebrow { margin-bottom: 24px; }
.error-page__main h1 { max-width: 880px; font-size: clamp(3rem, 8vw, 7rem); }
.error-page__main > p:not(.eyebrow) { max-width: 540px; margin-top: 20px; color: rgba(255, 255, 255, .77); }
.error-page__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 29px; }
.error-page__footer { padding-block: 22px; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .62); font-size: .75rem; }

@media (min-width: 1500px) {
  .hero__scroll { right: max(26px, calc((100vw - var(--shell)) / 2)); }
}

@media (max-width: 1080px) {
  .masthead__inner { min-height: 76px; }
  .masthead__brand { flex-basis: 155px; }
  .masthead__brand img { width: 130px; height: 65px; }
  .site-nav ul { gap: 17px; }
  .site-nav a { font-size: .66rem; letter-spacing: .08em; }
  .masthead__actions { gap: 10px; }
  .masthead__phone { font-size: .67rem; }
  .hero__scroll { right: 14px; }
  .process__steps li { grid-template-columns: 27px 1fr; gap: 8px; padding-right: 13px; }
}

@media (max-width: 900px) {
  .masthead__inner { min-height: 72px; }
  .masthead__brand { flex: 0 1 150px; }
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: .63rem; }
  .masthead__phone span:first-child { display: none; }
  .about__intro,
  .feature__top,
  .homes__heading,
  .process__heading { grid-template-columns: 1fr .8fr; gap: 38px; }
  .feature__body { gap: 36px; }
  .feature__figure img { min-height: 360px; }
  .feature__tabs { gap: 4px 14px; }
  .feature__tab { font-size: .69rem; }
  .contact__shell { gap: 38px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .masthead__inner { min-height: 70px; }
  .masthead__brand { flex-basis: 135px; }
  .masthead__brand img { width: 108px; height: 54px; }
  .masthead__actions { gap: 9px; }
  .masthead__phone { min-height: 40px; font-size: .66rem; }
  .menu-toggle { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { position: absolute; top: 100%; right: var(--gutter); left: var(--gutter); display: none; padding: 10px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .14); background: var(--burgundy-dark); box-shadow: 0 18px 26px rgba(15, 3, 7, .25); }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { display: grid; gap: 0; }
  .js .site-nav a { width: 100%; min-height: 48px; font-size: .75rem; }
  .js .site-nav a::after { display: none; }
  .no-js .masthead__inner { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-nav { order: 3; flex: 1 0 100%; padding-bottom: 10px; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 0 18px; }
  .no-js .site-nav a { min-height: 36px; }

  .hero { min-height: 700px; min-height: max(700px, 100svh); }
  .hero__shell { padding-top: 100px; padding-bottom: 25px; }
  .hero__panels { min-height: 470px; }
  .hero__panel { min-height: 420px; }
  .hero__picture { inset: -100px calc(var(--gutter) * -1) -60px; }
  .hero__picture::after { background: linear-gradient(90deg, rgba(26, 5, 12, .8), rgba(32, 7, 15, .36)), linear-gradient(0deg, rgba(31, 7, 15, .66), transparent 55%); }
  .hero__copy { padding-block: 60px 78px; }
  .display--hero { font-size: clamp(2.65rem, 9vw, 4.8rem); }
  .hero__lede { max-width: 470px; margin-top: 19px; font-size: 1rem; }
  .hero__actions { gap: 9px 17px; margin-top: 22px; }
  .hero__dock { align-items: flex-end; gap: 11px; }
  .hero__tabs { gap: 18px; }
  .hero__tab { min-width: auto; min-height: 54px; gap: 7px; }
  .hero__tab-label { font-size: .73rem; }
  .hero__tab-number { font-size: .6rem; }
  .hero__controls { gap: 6px; }
  .round-btn { width: 38px; height: 38px; }
  .hero__image-note { font-size: .61rem; }
  .hero__scroll { display: none; }

  .about__intro,
  .feature__top,
  .homes__heading,
  .process__heading { grid-template-columns: 1fr; gap: 23px; }
  .about__copy { max-width: 600px; }
  .about__figure { margin-top: 39px; }
  .about__figure img { aspect-ratio: 1.33 / 1; }
  .about__paths { grid-template-columns: 1fr; margin-top: 34px; }
  .about__path { min-height: 68px; }
  .about__path + .about__path { padding-left: 0; border-left: 0; }

  .feature__intro { max-width: 560px; }
  .feature__body { grid-template-columns: 1fr; gap: 27px; margin-top: 34px; }
  .feature__figure { order: 2; }
  .feature__figure img { min-height: 0; max-height: 490px; aspect-ratio: 1.2 / 1; }
  .feature__content { order: 1; }
  .feature__tabs { gap: 6px 19px; }
  .feature__tab { font-size: .75rem; }
  .feature__panels { min-height: 300px; padding-top: 27px; }

  .homes__aside { max-width: 600px; }
  .home-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 35px; }
  .home-gallery__item--lead { grid-column: 1 / -1; grid-row: auto; }
  .home-gallery__item--lead img { aspect-ratio: 1.35 / 1; }
  .home-gallery__item--mid img,
  .home-gallery__item--last img { aspect-ratio: .92 / 1; }
  .home-gallery figcaption { min-height: 51px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; font-size: .61rem; }

  .process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__steps li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .process__steps li:nth-child(2n) { padding-left: 15px; border-left: 1px solid var(--line-light); }
  .process__steps li { min-height: 140px; }

  .contact__shell { grid-template-columns: 1fr; gap: 39px; }
  .contact__intro { max-width: 620px; }
  .contact__form-wrap { max-width: 700px; }
  .footer__top { min-height: 122px; }
  .footer__line { display: none; }
  .footer__top { grid-template-columns: 1fr auto; }
  .footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .footer__bottom nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .masthead__inner { gap: 7px; }
  .masthead__brand { flex-basis: 112px; }
  .masthead__brand img { width: 96px; height: 48px; }
  .masthead__actions { gap: 7px; }
  .masthead__phone { font-size: .62rem; letter-spacing: .04em; }
  .menu-toggle { gap: 6px; padding-left: 2px; font-size: .62rem; }
  .menu-toggle__bars,
  .menu-toggle__bars::before,
  .menu-toggle__bars::after { width: 17px; }
  .hero__shell { padding-top: 89px; padding-bottom: 18px; }
  .hero__panels { min-height: 465px; }
  .hero__panel { min-height: 415px; }
  .hero__copy { padding-block: 39px 72px; }
  .hero__copy .eyebrow { margin-bottom: 18px; font-size: .61rem; letter-spacing: .15em; }
  .display--hero { font-size: clamp(2.35rem, 11.1vw, 3rem); letter-spacing: -.06em; }
  .hero__lede { margin-top: 17px; font-size: .93rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 17px; }
  .btn { min-height: 49px; padding: 11px 15px; font-size: .7rem; }
  .hero__dock { gap: 7px; }
  .hero__tabs { gap: 13px; }
  .hero__tab { min-height: 51px; gap: 5px; }
  .hero__tab-number { padding-top: 16px; font-size: .53rem; }
  .hero__tab-label { font-size: .65rem; }
  .hero__controls { gap: 4px; }
  .round-btn { width: 32px; height: 32px; font-size: 1rem; }
  .hero__image-note { font-size: .55rem; }
  .hero__break { display: none; }
  .display--hero { font-size: clamp(2.1rem, 10vw, 2.8rem); }

  .about__figure figcaption { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; padding-block: 5px; }
  .home-gallery { gap: 10px; }
  .home-gallery figcaption { font-size: .55rem; }
  .feature__tabs { gap: 4px 13px; }
  .feature__tab { font-size: .68rem; }
  .feature__panels { min-height: 325px; }
  .process__steps { grid-template-columns: 1fr; }
  .process__steps li,
  .process__steps li:nth-child(2n) { min-height: 0; padding: 18px 0; border-left: 0; }
  .process__steps p { max-width: none; }
  .contact__phone { grid-template-columns: 1fr auto 16px; gap: 6px; }
  .contact__phone strong { font-size: .93rem; }
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form-wrap { padding: 21px 17px; }
  .footer__brand img { width: 120px; height: 60px; }
  .footer__bottom nav { gap: 5px 15px; }
  .error-page__header-inner { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
