@layer reset, base, components, sections, responsive;

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

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  img {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  select,
  textarea {
    font: inherit;
  }
}

@layer base {
  :root {
    color-scheme: light;
    --ink: #171717;
    --ink-soft: #252525;
    --paper: #f3f0e9;
    --paper-bright: #fbfaf6;
    --warm: #ddd5c8;
    --red: #a92e25;
    --red-dark: #7c201a;
    --rule-light: rgb(23 23 23 / 18%);
    --rule-dark: rgb(255 255 255 / 20%);
    --sans: Arial, Helvetica, sans-serif;
    --display: Arial, Helvetica, sans-serif;
    --shell: min(100% - 48px, 1380px);
    --section-space: clamp(76px, 9vw, 144px);
  }

  body {
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body.menu-open {
    overflow: hidden;
  }

  a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  :focus-visible {
    outline: 3px solid #ec6258;
    outline-offset: 4px;
  }

  h1,
  h2,
  h3 {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.96;
    text-transform: uppercase;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(3.25rem, 6vw, 6.25rem);
  }

  h2 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
  }

  h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.65rem);
  }

  .shell {
    width: var(--shell);
    margin-inline: auto;
  }

  .section {
    padding-block: var(--section-space);
  }

  .section-dark,
  .section-ink {
    background: var(--ink);
    color: var(--paper-bright);
  }

  .section-light {
    background: var(--paper-bright);
    color: var(--ink);
  }

  .section-warm {
    background: var(--warm);
    color: var(--ink);
  }

  .section-red {
    background: var(--red);
    color: #fff8ee;
  }

  .section-index {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .section-heading {
    display: grid;
    gap: 34px;
    margin-bottom: clamp(44px, 6vw, 80px);
  }

  .section-heading .section-index {
    padding-top: 9px;
    border-top: 1px solid currentcolor;
  }

  .split-heading {
    grid-template-columns: minmax(140px, 0.45fr) minmax(340px, 1.6fr) minmax(150px, 0.55fr);
    align-items: end;
  }

  .split-heading > a {
    justify-self: end;
    padding-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
}

@layer components {
  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 12px 18px;
    transform: translateY(-160%);
    background: var(--paper-bright);
    color: var(--ink);
    font-weight: 800;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    color: var(--paper-bright);
  }

  .header-solid .site-header {
    background: var(--ink);
  }

  .header-inner {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--rule-dark);
  }

  .wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    color: inherit;
    text-decoration: none;
  }

  .wordmark span {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
  }

  .wordmark small {
    max-width: 68px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.05;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 36px);
  }

  .site-nav > a {
    position: relative;
    padding-block: 36px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .site-nav > a:not(.nav-quote)::after {
    position: absolute;
    right: 0;
    bottom: 27px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: currentcolor;
    content: "";
    transition: transform 180ms ease;
  }

  .site-nav > a:hover::after,
  .site-nav > a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-quote {
    min-height: 48px;
    padding: 16px 20px !important;
    border: 1px solid var(--rule-dark);
    transition: background 180ms ease, color 180ms ease;
  }

  .nav-quote:hover {
    background: var(--paper-bright);
    color: var(--ink);
  }

  .menu-toggle {
    display: none;
    min-width: 52px;
    min-height: 48px;
    border: 1px solid var(--rule-dark);
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .no-js-nav {
    display: none;
  }

  .no-js-message {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--rule-light);
    font-size: 0.82rem;
  }

  .button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid currentcolor;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  }

  .button--primary {
    border-color: var(--red);
    background: var(--red);
    color: white;
  }

  .button--primary:hover {
    border-color: var(--red-dark);
    background: var(--red-dark);
  }

  .button--quiet,
  .button--light {
    background: transparent;
  }

  .button--quiet:hover,
  .button--light:hover {
    background: var(--paper-bright);
    color: var(--ink);
  }

  .button--dark {
    background: var(--ink);
    color: var(--paper-bright);
  }

  .action-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .price-grid {
    display: grid;
    border-top: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
    grid-template-columns: repeat(4, 1fr);
  }

  .section-light .price-grid {
    border-color: var(--rule-light);
  }

  .price-card {
    display: grid;
    min-height: 330px;
    padding: 26px;
    border-right: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
    grid-template-rows: auto 1fr auto;
  }

  .section-light .price-card {
    border-color: var(--rule-light);
  }

  .price-card > span,
  .price-card small {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .price-card h3 {
    max-width: 8ch;
    align-self: end;
    margin-bottom: 25px;
  }

  .price-card strong {
    font-family: var(--display);
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.9;
  }

  .price-card small {
    justify-self: end;
    margin-top: -10px;
  }

  .price-note {
    margin-top: 22px;
    font-size: 0.8rem;
  }
}

@layer sections {
  .home-hero {
    min-height: 820px;
    padding-top: 156px;
  }

  .hero-grid {
    display: grid;
    min-height: 664px;
    gap: clamp(32px, 6vw, 100px);
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  }

  .hero-copy {
    display: flex;
    padding-bottom: 44px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy .section-index {
    margin-bottom: auto;
  }

  .hero-copy h1 {
    margin-top: 34px;
  }

  .hero-lede {
    max-width: 650px;
    margin-block: 34px;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  }

  .hero-facts {
    display: grid;
    width: 100%;
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid var(--rule-dark);
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts div {
    padding-right: 18px;
  }

  .hero-facts dt {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
  }

  .hero-facts dd {
    margin-top: 6px;
    color: rgb(255 255 255 / 65%);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-media {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--ink-soft);
  }

  .hero-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(transparent, rgb(0 0 0 / 45%));
    content: "";
    pointer-events: none;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
  }

  .service-rows {
    border-top: 1px solid var(--rule-light);
  }

  .service-row {
    display: grid;
    min-height: 142px;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--rule-light);
    grid-template-columns: 72px minmax(250px, 1.25fr) minmax(250px, 1fr) 48px;
    text-decoration: none;
    transition: background 180ms ease, padding 180ms ease;
  }

  .service-row:hover {
    padding-inline: 18px;
    background: var(--warm);
  }

  .service-row > span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .service-row p {
    max-width: 36ch;
    color: rgb(23 23 23 / 65%);
  }

  .service-row b {
    justify-self: end;
    font-size: 1.2rem;
  }

  .property-intro {
    display: grid;
    gap: clamp(48px, 8vw, 120px);
    grid-template-columns: 0.8fr 1.2fr;
  }

  .property-intro h2 {
    margin-top: 34px;
  }

  .property-links {
    border-top: 1px solid var(--rule-light);
  }

  .property-links a {
    display: grid;
    min-height: 190px;
    padding-block: 28px;
    border-bottom: 1px solid var(--rule-light);
    gap: 24px;
    grid-template-columns: 0.35fr 1.2fr auto;
    text-decoration: none;
  }

  .property-links span,
  .property-links b {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .property-links strong {
    max-width: 18ch;
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.35vw, 2.45rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-transform: uppercase;
  }

  .property-links b {
    align-self: end;
  }

  .work-preview {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.45fr 0.55fr;
  }

  .work-preview figure {
    min-width: 0;
  }

  .work-preview picture {
    display: block;
    height: clamp(420px, 58vw, 760px);
    overflow: hidden;
    background: var(--warm);
  }

  .work-preview figure:last-child picture {
    height: 67%;
    margin-top: 33%;
  }

  .work-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
  }

  .work-preview figure:hover img,
  .work-tile:hover img {
    transform: scale(1.025);
  }

  .work-preview figcaption,
  .work-tile figcaption {
    display: flex;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid var(--rule-light);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .process-list {
    display: grid;
    padding: 0;
    border-top: 1px solid var(--rule-dark);
    border-left: 1px solid var(--rule-dark);
    list-style: none;
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li {
    display: grid;
    min-height: 300px;
    padding: 26px;
    border-right: 1px solid var(--rule-dark);
    border-bottom: 1px solid var(--rule-dark);
    grid-template-rows: auto 1fr auto;
  }

  .process-list span {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.11em;
  }

  .process-list h3 {
    max-width: 9ch;
    align-self: end;
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 3.5vw, 3.8rem);
  }

  .process-list p {
    max-width: 30ch;
    font-size: 0.86rem;
  }

  .review-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .review-grid blockquote {
    display: grid;
    min-height: 420px;
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid var(--rule-light);
    grid-template-rows: 1fr auto;
  }

  .review-grid blockquote p {
    max-width: 23ch;
    font-family: var(--display);
    font-size: clamp(1.65rem, 2.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
  }

  .review-grid footer {
    padding-top: 30px;
    border-top: 1px solid var(--rule-light);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .location-grid,
  .contact-grid {
    display: grid;
    gap: clamp(40px, 8vw, 140px);
    grid-template-columns: 1.1fr 0.9fr;
  }

  .location-grid h2,
  .contact-grid h2 {
    margin-top: 34px;
  }

  .location-card,
  .contact-links {
    display: grid;
    align-content: end;
    border-top: 1px solid var(--rule-light);
  }

  .location-card > *,
  .contact-links > * {
    padding-block: 20px;
    border-bottom: 1px solid var(--rule-light);
  }

  .location-card a,
  .contact-links a {
    font-weight: 800;
    text-decoration: none;
  }

  .final-cta-grid {
    display: grid;
    align-items: end;
    gap: 30px;
    grid-template-columns: 0.45fr 1.4fr auto;
  }

  .final-cta-grid .button {
    justify-self: end;
  }

  .page-hero {
    padding-top: 186px;
    padding-bottom: clamp(76px, 9vw, 134px);
  }

  .breadcrumb {
    display: flex;
    margin-bottom: 34px;
    gap: 10px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .breadcrumb a {
    text-decoration: none;
  }

  .breadcrumb a:hover {
    text-decoration: underline;
  }

  .breadcrumb span:last-child {
    opacity: 0.6;
  }

  .page-hero-grid {
    display: grid;
    align-items: end;
    gap: clamp(50px, 9vw, 150px);
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  }

  .page-hero-grid h1 {
    margin-top: 52px;
  }

  .page-hero-grid > div:last-child {
    display: grid;
    gap: 28px;
    justify-items: start;
  }

  .page-hero-grid > div:last-child > p {
    max-width: 38ch;
    font-size: 1.05rem;
  }

  .property-hero.section-warm {
    padding-top: 186px;
  }

  .property-hero.section-warm .page-hero-grid {
    border-top: 1px solid var(--rule-light);
    padding-top: 64px;
  }

  .need-grid {
    display: grid;
    border-top: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
    grid-template-columns: repeat(4, 1fr);
  }

  .need-grid article {
    display: grid;
    min-height: 310px;
    padding: 26px;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    grid-template-rows: auto 1fr auto;
  }

  .need-grid span {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .need-grid h3 {
    max-width: 9ch;
    align-self: end;
    margin-bottom: 22px;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
  }

  .need-grid p {
    max-width: 30ch;
    font-size: 0.82rem;
  }

  .detail-grid {
    display: grid;
    gap: clamp(50px, 9vw, 150px);
    grid-template-columns: 0.9fr 1.1fr;
  }

  .detail-grid h2 {
    margin-top: 34px;
  }

  .detail-list {
    border-top: 1px solid var(--rule-light);
  }

  .detail-list > div {
    display: grid;
    min-height: 96px;
    align-items: center;
    padding-block: 18px;
    border-bottom: 1px solid var(--rule-light);
    gap: 24px;
    grid-template-columns: 0.55fr 1fr;
  }

  .detail-list dt {
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
  }

  .detail-list dd {
    font-size: 0.86rem;
  }

  .work-grid {
    display: grid;
    gap: 68px 18px;
    grid-template-columns: 1.25fr 0.75fr;
  }

  .work-tile picture {
    display: block;
    height: clamp(410px, 52vw, 720px);
    overflow: hidden;
    background: var(--warm);
  }

  .work-open {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--warm);
    color: inherit;
    cursor: zoom-in;
    text-align: inherit;
  }

  .work-tile--portrait {
    margin-top: 180px;
  }

  .work-tile:nth-child(3) {
    margin-top: 30px;
  }

  .work-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
  }

  .work-tile figcaption span {
    color: rgb(23 23 23 / 50%);
  }

  .lightbox {
    width: min(92vw, 980px);
    max-width: none;
    max-height: 92vh;
    padding: 0;
    overflow: visible;
    border: 0;
    background: var(--ink);
    color: var(--paper-bright);
  }

  .lightbox::backdrop {
    background: rgb(0 0 0 / 82%);
  }

  .lightbox-inner {
    display: grid;
    max-height: 92vh;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .lightbox img {
    width: 100%;
    max-height: calc(92vh - 54px);
    object-fit: contain;
  }

  .lightbox p {
    min-height: 54px;
    padding: 17px 70px 14px 18px;
    border-top: 1px solid var(--rule-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .lightbox-close {
    position: absolute;
    right: 8px;
    bottom: 7px;
    min-width: 44px;
    min-height: 40px;
    border: 1px solid var(--rule-dark);
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
  }

  .contact-direct > a {
    font-family: var(--display);
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .quote-layout {
    display: grid;
    align-items: start;
    gap: clamp(50px, 8vw, 130px);
    grid-template-columns: 0.65fr 1.35fr;
  }

  .quote-intro {
    position: sticky;
    top: 34px;
  }

  .quote-intro h2 {
    margin-block: 34px 24px;
  }

  .quote-intro > p:last-child {
    max-width: 36ch;
  }

  .quote-builder {
    border-top: 1px solid var(--rule-light);
  }

  .quote-tabs {
    display: grid;
    border-right: 1px solid var(--rule-light);
    border-bottom: 1px solid var(--rule-light);
    border-left: 1px solid var(--rule-light);
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-tabs button {
    min-height: 58px;
    border: 0;
    border-right: 1px solid var(--rule-light);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .quote-tabs button:last-child {
    border-right: 0;
  }

  .quote-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: var(--paper-bright);
  }

  .quote-panel {
    padding-block: 40px;
  }

  .field-grid {
    display: grid;
    gap: 24px 18px;
    grid-template-columns: 1fr 1fr;
  }

  .field-span {
    grid-column: 1 / -1;
  }

  .field-grid label {
    display: grid;
    gap: 8px;
  }

  .field-grid label > span,
  .quote-preview-wrap > span {
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .field-grid label small {
    font-size: inherit;
    font-weight: 500;
    text-transform: none;
  }

  .field-grid input,
  .field-grid select,
  .field-grid textarea {
    width: 100%;
    min-height: 54px;
    padding: 13px 14px;
    border: 1px solid var(--rule-light);
    border-radius: 0;
    background: var(--paper-bright);
    color: var(--ink);
  }

  .field-grid textarea {
    min-height: 106px;
    resize: vertical;
  }

  .quote-preview-wrap {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--rule-light);
    background: var(--warm);
  }

  .quote-preview-wrap pre {
    min-height: 160px;
    padding: 20px;
    overflow: auto;
    background: var(--paper-bright);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 0.82rem;
    line-height: 1.55;
    white-space: pre-wrap;
  }

  .quote-preview-wrap .button {
    justify-self: start;
  }

  .prose {
    max-width: 780px;
  }

  .prose h2 {
    max-width: none;
    margin-top: 66px;
    font-size: clamp(1.85rem, 3vw, 3.25rem);
  }

  .prose h2:first-child {
    margin-top: 0;
  }

  .prose p {
    margin-top: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .site-footer {
    padding-top: 76px;
    background: var(--ink);
    color: var(--paper-bright);
  }

  .footer-grid {
    display: grid;
    gap: 54px;
    padding-bottom: 76px;
    border-bottom: 1px solid var(--rule-dark);
    grid-template-columns: 1.5fr repeat(3, 0.75fr);
  }

  .footer-brand p {
    max-width: 28ch;
    margin-top: 25px;
    color: rgb(255 255 255 / 64%);
    font-size: 0.82rem;
  }

  .footer-grid h2 {
    max-width: none;
    margin-bottom: 22px;
    color: rgb(255 255 255 / 54%);
    font-family: var(--sans);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
  }

  .footer-grid a {
    text-decoration: none;
  }

  .footer-grid a:hover,
  .footer-bottom a:hover {
    text-decoration: underline;
  }

  .footer-grid address {
    font-style: normal;
  }

  .footer-bottom {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    color: rgb(255 255 255 / 56%);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

@layer responsive {
  @media (max-width: 1023px) {
    :root {
      --shell: min(100% - 40px, 960px);
    }

    .site-nav {
      gap: 16px;
    }

    .site-nav > a {
      font-size: 0.66rem;
    }

    .home-hero {
      min-height: auto;
    }

    .hero-grid {
      min-height: 620px;
      gap: 34px;
      grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
    }

    .hero-media {
      min-height: 560px;
    }

    .price-grid,
    .need-grid {
      grid-template-columns: 1fr 1fr;
    }

    .price-card,
    .need-grid article {
      min-height: 260px;
    }

    .footer-grid {
      grid-template-columns: 1.4fr repeat(3, 1fr);
    }
  }

  @media (max-width: 800px) {
    :root {
      --shell: min(100% - 30px, 700px);
      --section-space: 78px;
    }

    h1 {
      width: 100%;
      font-size: clamp(2.2rem, 10vw, 4.6rem);
    }

    h2 {
      font-size: clamp(2rem, 9vw, 3.6rem);
    }

    .header-inner {
      min-height: 78px;
    }

    .wordmark span {
      font-size: 1.75rem;
    }

    .menu-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .menu-toggle i,
    .menu-toggle i::before {
      position: absolute;
      width: 18px;
      height: 1px;
      background: currentcolor;
      content: "";
    }

    .menu-toggle i {
      margin-top: 11px;
    }

    .menu-toggle i::before {
      transform: translateY(-6px);
    }

    .menu-toggle span {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
    }

    .site-nav {
      position: fixed;
      z-index: -1;
      inset: 0;
      display: flex;
      width: 100%;
      max-width: 100vw;
      padding: 110px 24px 32px;
      transform: translateY(-110%);
      background: var(--ink);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      opacity: 0;
      pointer-events: none;
      transition: transform 260ms ease, opacity 180ms ease;
    }

    @supports (padding: max(0px)) {
      .site-nav,
      .no-js-nav {
        padding-right: max(24px, env(safe-area-inset-right));
        padding-left: max(24px, env(safe-area-inset-left));
      }

      .site-footer {
        padding-bottom: env(safe-area-inset-bottom);
      }
    }

    .site-nav[data-open="true"] {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .no-js-nav {
      position: relative;
      z-index: 90;
      padding: 108px 15px 28px;
      background: var(--ink);
      color: var(--paper-bright);
      gap: 0;
    }

    .no-js-nav a {
      padding: 13px 0;
      border-bottom: 1px solid var(--rule-dark);
      font-weight: 800;
      text-decoration: none;
    }

    .site-nav > a {
      padding: 17px 0;
      border-bottom: 1px solid var(--rule-dark);
      font-family: var(--display);
      font-size: clamp(1.55rem, 7vw, 2.5rem);
      letter-spacing: -0.025em;
    }

    .site-nav > a:not(.nav-quote)::after {
      display: none;
    }

    .nav-quote {
      display: flex;
      margin-top: 20px;
      align-items: center;
      justify-content: center;
      font-family: var(--sans) !important;
      font-size: 0.8rem !important;
      letter-spacing: 0.1em !important;
    }

    .split-heading,
    .hero-grid,
    .property-intro,
    .location-grid,
    .contact-grid,
    .final-cta-grid,
    .page-hero-grid,
    .detail-grid,
    .quote-layout {
      grid-template-columns: 1fr;
    }

    .section-heading {
      gap: 28px;
    }

    .split-heading > a {
      justify-self: start;
    }

    .home-hero {
      padding-top: 118px;
    }

    .hero-grid {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .hero-copy {
      min-height: 565px;
      padding-bottom: 0;
    }

    .hero-copy .section-index {
      margin-bottom: 42px;
    }

    .hero-copy h1 {
      margin-top: 0;
    }

    .hero-facts {
      gap: 12px;
      margin-top: 48px;
    }

    .hero-facts dt {
      font-size: 1.2rem;
    }

    .hero-media {
      width: calc(100% + 30px);
      min-height: 0;
      margin-left: -15px;
      aspect-ratio: 3 / 4;
    }

    .service-row {
      min-height: 180px;
      gap: 16px;
      grid-template-columns: 44px 1fr 30px;
    }

    .service-row p {
      display: none;
    }

    .price-grid {
      grid-template-columns: 1fr 1fr;
    }

    .price-card {
      min-height: 230px;
      padding: 20px;
    }

    .price-card strong {
      font-size: clamp(2.75rem, 11vw, 4rem);
    }

    .property-links a {
      min-height: 195px;
      grid-template-columns: 1fr auto;
    }

    .property-links strong {
      grid-column: 1 / -1;
      grid-row: 2;
    }

    .property-links b {
      grid-column: 2;
      grid-row: 1;
    }

    .work-preview {
      grid-template-columns: 1fr;
    }

    .work-preview picture,
    .work-preview figure:last-child picture {
      height: auto;
      margin-top: 0;
      aspect-ratio: 4 / 3;
    }

    .process-list {
      grid-template-columns: 1fr;
    }

    .process-list li {
      min-height: 250px;
    }

    .review-grid {
      grid-template-columns: 1fr;
    }

    .review-grid blockquote {
      min-height: 350px;
    }

    .final-cta-grid .button {
      justify-self: start;
    }

    .page-hero {
      padding-top: 142px;
    }

    .page-hero-grid h1 {
      margin-top: 34px;
    }

    .property-hero.section-warm {
      padding-top: 128px;
    }

    .need-grid {
      grid-template-columns: 1fr;
    }

    .need-grid article {
      min-height: 250px;
    }

    .detail-list > div {
      grid-template-columns: 0.7fr 1fr;
    }

    .work-grid {
      gap: 48px;
      grid-template-columns: 1fr;
    }

    .work-tile--portrait,
    .work-tile:nth-child(3) {
      margin-top: 0;
    }

    .work-tile picture {
      height: auto;
      aspect-ratio: 4 / 3;
    }

    .quote-intro {
      position: static;
    }

    .quote-tabs {
      grid-template-columns: 1fr;
    }

    .quote-tabs button {
      border-right: 0;
      border-bottom: 1px solid var(--rule-light);
    }

    .quote-tabs button:last-child {
      border-bottom: 0;
    }

    .field-grid {
      grid-template-columns: 1fr;
    }

    .field-span {
      grid-column: auto;
    }

    .quote-preview-wrap {
      padding: 18px;
    }

    .footer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid > div {
      min-width: 0;
    }

    .footer-grid h2 {
      font-size: 0.66rem;
    }

    .footer-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 430px) {
    :root {
      --shell: calc(100% - 24px);
    }

    .action-pair {
      width: 100%;
    }

    .action-pair .button {
      flex: 1 1 100%;
    }

    .hero-copy {
      min-height: 590px;
    }

    .hero-media {
      width: calc(100% + 24px);
      margin-left: -12px;
    }

    .hero-lede {
      font-size: 1rem;
    }

    .hero-facts {
      grid-template-columns: 1fr 1fr;
    }

    .hero-facts div:last-child {
      display: none;
    }

    .price-grid {
      grid-template-columns: 1fr;
    }

    .price-card {
      min-height: 210px;
    }

    .review-grid blockquote {
      min-height: 310px;
    }

    .footer-grid {
      grid-template-columns: 1fr;
    }

    .footer-brand {
      grid-column: auto;
    }

    .footer-bottom {
      padding-block: 24px;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
  }
}
