/*
 * Landscape Design 1 (Grade Line), on the palette's slots.
 *
 * A strong accent and a near-black night over a pale stone page, which lets garden photos keep their own colors. The
 * accent is for buttons, small headings and prices; night fills each page's top, its darker bands and its footer.
 * Slots drawn from brand roles come from the theme (--nf-<slot>), so another studio's colors repaint everything; the
 * stones, muted text and hairlines are fixed here, though a palette may override them.
 *
 * A single typeface throughout: display sizes in medium weight, closely spaced, with each heading's second half
 * paler; small headings in spaced capitals. Spacing steps run 4 to 64 on a twelve-column grid.
 */

:root {
    --red: var(--nf-red, #d62229);
    --red-hover: color-mix(in srgb, var(--red) 88%, var(--black));
    --red-deep: var(--nf-red-deep, #b01d24);
    --red-on-dark: var(--nf-red-light, #f0454b);
    --black: var(--nf-black, #0a0b0f);
    --black-2: color-mix(in srgb, var(--black) 93%, var(--paper));

    --page: var(--nf-page, #f5f4f0);
    --paper: var(--nf-paper, #ffffff);
    --stone: var(--nf-stone, #ecebe6);
    --stone-100: var(--nf-stone-100, #e4e2db);
    --stone-300: var(--nf-stone-300, #cdc9c0);
    --stone-500: #8d8a83;
    --ink: var(--nf-ink, #0a0b0f);
    --ink-soft: var(--nf-ink-soft, #46474b);
    --ink-faint: var(--nf-ink-faint, #66655f);
    --line: var(--nf-line, #dddad3);
    --on-dark: var(--nf-on-dark, #f4f3ef);
    --on-dark-soft: var(--nf-on-dark-soft, #b8b6b0);
    --focus: var(--nf-focus, #1f6fa8);

    --sans: var(--font-body, 'Plus Jakarta Sans', 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif);
    --display: var(--font-display, var(--sans));

    --display-weight: 500;
    --title-weight: 550;
    --accent-weight: 300;
    --display-tracking: -0.028em;
    --label-tracking: 0.16em;

    --t-hero: clamp(2.7rem, 1.1rem + 4.4vw, 5.3rem);
    --t-h2: clamp(2.4rem, 1.3rem + 3.8vw, 4.6rem);
    --t-lede: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    --section-y: clamp(64px, 5.33vw + 43px, 128px);
    --head-gap: clamp(48px, 1.6vw + 42px, 64px);
    --col-gap: clamp(24px, 0.8vw + 21px, 32px);
    --two-thirds: calc((100% - 11 * var(--col-gap)) * 8 / 12 + 7 * var(--col-gap));

    --r-sm: 3px;
    --r-md: 6px;
    --r-lg: 10px;
    --cut-ratio: 0.85;
    --shadow-soft:
        0 2px 6px color-mix(in srgb, var(--black) 5%, transparent),
        0 30px 60px -32px color-mix(in srgb, var(--black) 34%, transparent);
    --shadow-lift:
        0 2px 8px color-mix(in srgb, var(--black) 6%, transparent),
        0 40px 80px -36px color-mix(in srgb, var(--black) 42%, transparent);
    --ease: cubic-bezier(0.22, 0.7, 0.18, 1);

    --max: 1280px;
    --gutter-l: max(24px, env(safe-area-inset-left, 0px));
    --gutter-r: max(24px, env(safe-area-inset-right, 0px));
    --header-h: 76px;
    --mobilebar-h: 70px;

    color-scheme: light;
}

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

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    z-index: 100;
    top: -80px;
    left: 12px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--r-sm);
    background: var(--black);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

:focus-visible {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
    border-radius: var(--r-md);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: var(--display-weight);
    text-wrap: balance;
}

:where([class*='__title'], [class*='__name']):not(p) {
    line-height: 1.3;
    text-wrap: balance;
}

.nowrap,
time {
    white-space: nowrap;
}

p,
li,
figcaption,
blockquote {
    text-wrap: pretty;
}

dd {
    text-wrap: balance;
}

a[href^='tel:'] {
    white-space: nowrap;
}

em {
    font-style: italic;
}

:is(h1, h2, h3, h4, figcaption) em {
    font-style: normal;
}

.wrap {
    width: 100%;
    max-width: calc(var(--max) + 48px);
    margin-inline: auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
}

.icon {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--fill {
    fill: currentColor;
    stroke: none;
}

.graded {
    filter: saturate(0.9) contrast(1.03);
}

.t-hero {
    font-size: var(--t-hero);
    font-weight: var(--display-weight);
    line-height: 1;
    letter-spacing: var(--display-tracking);
}

.t-h2 {
    font-size: var(--t-h2);
    font-weight: var(--display-weight);
    line-height: 1.02;
    letter-spacing: var(--display-tracking);
}

.t-h3 {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: var(--title-weight);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

:is(.t-hero, .t-h2, .t-h3, .lane__title, .planner__title, .est-step__title) em {
    font-weight: var(--accent-weight);
    color: var(--ink-faint);
}

.t-h2 {
    text-wrap: wrap;
}

.t-h2 em {
    display: inline-block;
    text-wrap: balance;
}

:is(.t-hero, .t-h2) em.is-red {
    color: var(--red);
}

:is(.hero, .page-hero, .section--dark, .dusk) :is(.t-hero, .t-h2) em:not(.is-red) {
    color: var(--on-dark-soft);
}

.section--dark em.is-red,
.section--inverse em.is-red {
    color: var(--red-on-dark);
}

.t-lede {
    font-family: var(--sans);
    font-size: var(--t-lede);
    font-weight: 350;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 40ch;
}

.t-label {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
    text-wrap: balance;
}

.figure {
    font-family: var(--display);
    font-variant-numeric: lining-nums tabular-nums;
}

.sprig {
    display: inline-grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: var(--space-3);
    color: var(--red-deep);
    letter-spacing: var(--label-tracking);
    text-wrap: balance;
}

.sprig::before {
    content: '';
    align-self: start;
    width: 28px;
    height: 2px;
    margin-top: calc(0.5lh - 1px);
    background: currentColor;
}

.cut {
    clip-path: polygon(
        0 0,
        calc(100% - var(--cut, 48px)) 0,
        100% calc(var(--cut, 48px) * var(--cut-ratio)),
        100% 100%,
        0 100%
    );
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section:has(+ .section--continues),
:has(+ .section--continues) > .section:last-child {
    padding-bottom: var(--head-gap);
}

.section--continues {
    padding-top: 0;
}

.section--continues > .wrap::before {
    content: '';
    display: block;
    grid-column: 1 / -1;
    height: 1px;
    margin-bottom: var(--head-gap);
    background: var(--line);
}

.section--tint {
    background: var(--stone);
}

.section--paper {
    background: var(--paper);
}

.section--dark {
    background: var(--black);
    color: var(--on-dark);
}

.section--dark .t-label {
    color: var(--on-dark-soft);
}

.section--dark .sprig {
    color: var(--red-on-dark);
}

.section--dark .t-lede {
    color: var(--on-dark-soft);
}

.section--inverse {
    --ink: var(--on-dark);
    --ink-soft: var(--on-dark-soft);
    --ink-faint: var(--stone-500);
    --line: color-mix(in srgb, var(--on-dark) 16%, transparent);
    --paper: var(--black-2);
    --page: var(--black-2);
    --stone: #18191e;
    --stone-100: var(--black-2);
    --stone-300: #55544f;
    --red-deep: var(--red-on-dark);
    --shadow-soft: 0 30px 60px -32px rgba(0, 0, 0, 0.7);
    --shadow-lift: 0 40px 80px -36px rgba(0, 0, 0, 0.75);
    background: var(--black);
    color: var(--on-dark);
}

.section--inverse .link-arrow {
    color: var(--on-dark);
    text-decoration-color: var(--red-on-dark);
}

.section--inverse .link-arrow:hover {
    color: #fff;
}

.section--inverse .btn--ghost {
    border-color: color-mix(in srgb, #f1f3ee 45%, transparent);
    color: var(--on-dark);
}

.section--inverse .btn--ghost:hover {
    --btn-bg: var(--on-dark);
    border-color: var(--on-dark);
    color: var(--black);
}

.section--inverse .plants i {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-dark) 30%, transparent);
}

.head {
    display: grid;
    gap: var(--space-5);
    margin-bottom: var(--head-gap);
}

.head__title {
    display: grid;
    gap: var(--space-4);
    align-content: start;
}

:is(.split__copy, .start-like__copy, .final__copy) > .t-label + :is(h2, .t-h2) {
    margin-top: calc(var(--space-4) - var(--space-5));
}

.js-reveal [data-reveal] {
    transform: translateY(26px);
    transition: transform 1.1s var(--ease) var(--d, 0s);
}

.js-reveal [data-reveal].is-in {
    transform: none;
}

@media (min-width: 1200px) {
    .head--split {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: baseline;
        gap: var(--space-4) var(--col-gap);
    }

    .head--split > .head__title {
        display: contents;
    }

    .head--split > .head__title > * {
        grid-column: 1 / span 8;
    }

    .head--split > .t-lede {
        grid-column: 9 / -1;
        grid-row: 2;
        text-wrap: balance;
    }
}

.btn {
    --btn-bg: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    min-height: 56px;
    padding: 0 var(--space-6);
    border: 1px solid var(--btn-bg);
    border-radius: var(--r-sm);
    background: var(--btn-bg);
    color: #fff;
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    text-wrap: balance;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s var(--ease);
}

.btn:hover {
    --btn-bg: var(--red-hover);
    box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--nf-red-deep, var(--nf-red-deep, #b01d24)) 55%, transparent);
    transform: translateY(-1px);
}

.btn .icon {
    width: 1.05em;
    height: 1.05em;
    transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--ghost {
    --btn-bg: transparent;
    border-color: color-mix(in srgb, var(--black) 30%, transparent);
    color: var(--ink);
}

.btn--ghost:hover {
    --btn-bg: var(--black);
    border-color: var(--black);
    color: var(--on-dark);
    box-shadow: none;
}

.btn--light {
    --btn-bg: transparent;
    border-color: color-mix(in srgb, #f1f3ee 45%, transparent);
    color: var(--on-dark);
}

.btn--light:hover {
    --btn-bg: var(--on-dark);
    color: var(--black);
    box-shadow: none;
}

.btn--sm {
    min-height: 48px;
    padding: 0 var(--space-5);
    font-size: 0.9rem;
}

@media (max-width: 599px) {
    .btn {
        padding-inline: var(--space-5);
    }
}

.btn--block {
    container-type: inline-size;
    width: 100%;
    padding-inline: var(--space-4);
}

@container (max-width: 300px) {
    .btn--block .icon {
        display: none;
    }
}

@media (max-width: 389px) {
    .btn {
        font-size: 0.9rem;
    }

    .btn--block {
        padding-inline: var(--space-3);
    }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: var(--space-2);
    font-weight: 650;
    color: var(--black);
    text-decoration: underline;
    text-decoration-color: var(--stone-300);
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    transition:
        text-decoration-color 0.25s ease,
        color 0.25s ease;
}

.link-arrow:hover {
    color: var(--red-deep);
    text-decoration-color: var(--red);
}

.link-arrow .icon {
    transition: transform 0.3s var(--ease);
}

:is(.work__more, .faq-layout__more, .investment__more, .t-lede) .link-arrow {
    margin-block: calc((1lh - 44px) / 2);
}

:is(.lane__body, .area__cities) > .link-arrow {
    margin-bottom: calc((1lh - 44px) / 2);
}

.link-arrow:has(.link-arrow__end) {
    display: inline-block;
    padding-block: calc((44px - 1lh) / 2);
    text-wrap: balance;
}

.link-arrow__end {
    white-space: nowrap;
}

.link-arrow__end .icon {
    margin-left: var(--space-2);
    vertical-align: middle;
}

.link-arrow:hover .icon {
    transform: translateX(3px);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.chip:hover {
    border-color: var(--stone-500);
}

.chip[aria-pressed='true'],
.chip:has(input:checked) {
    border-color: var(--black);
    background: var(--black);
    color: var(--on-dark);
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip:has(input:focus-visible) {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
}

.tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    max-width: calc(100% - 28px);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--r-sm);
    background: color-mix(in srgb, #ffffff 94%, transparent);
    backdrop-filter: blur(6px);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section--inverse .tag {
    --ink: var(--black);
}

.tag::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    background: var(--red);
}

.announce {
    background: var(--black);
    color: var(--on-dark-soft);
    font-size: 0.85rem;
}

.announce .wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1) var(--space-6);
    flex-wrap: wrap;
    padding-block: var(--space-2);
    text-align: center;
}

.announce strong {
    color: var(--on-dark);
    font-weight: 600;
}

.announce a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--on-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--red-on-dark);
    text-underline-offset: 4px;
}

@media (max-width: 639px) {
    .announce .announce__call {
        display: none;
    }
}

.site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
    background: color-mix(in srgb, #f5f4f0 90%, transparent);
    backdrop-filter: saturate(1.2) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, #dddad3 80%, transparent);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.site-header.is-on-hero {
    --logo-ink: #ffffff;
    border-bottom-color: color-mix(in srgb, var(--on-dark) 12%, transparent);
    background: transparent;
    backdrop-filter: none;
}

.site-header.is-on-hero.is-stuck {
    background: color-mix(in srgb, var(--black) 62%, transparent);
    backdrop-filter: saturate(1.2) blur(14px);
}

.site-header.is-on-hero .nav > a,
.site-header.is-on-hero .nav__trigger,
.site-header.is-on-hero .header-phone {
    color: var(--on-dark);
}

.site-header.is-on-hero .icon-btn {
    border-color: color-mix(in srgb, var(--on-dark) 35%, transparent);
    background: transparent;
    color: var(--on-dark);
}

.site-header.is-on-hero :focus-visible {
    outline-color: var(--on-dark);
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-right: auto;
    text-decoration: none;
}

.logo__img {
    display: block;
    height: 40px;
    width: auto;
    aspect-ratio: 1683 / 333;
}

@media (max-width: 399px) {
    .logo__img {
        height: 34px;
    }
}

.nav {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

.nav > a {
    position: relative;
    padding: var(--space-3) var(--space-4);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--ink);
}

.nav > a::after {
    content: '';
    position: absolute;
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-1);
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.nav > a:hover::after {
    transform: scaleX(1);
}

.header-phone {
    display: none;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    font-weight: 600;
    text-decoration: none;
    margin-right: var(--space-3);
    white-space: nowrap;
    color: var(--black);
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}

.header-cta {
    display: none;
}

.menu-toggle__close {
    display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__open {
    display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__close {
    display: block;
}

.menu-panel {
    position: fixed;
    z-index: 39;
    top: var(--menu-top, var(--header-h));
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    background: var(--page);
    animation: menu-in 0.28s var(--ease) both;
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

.menu-panel__inner {
    display: grid;
    gap: var(--space-6);
    align-content: start;
    padding-block: var(--space-2) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
}

.menu-panel__nav {
    display: grid;
}

.menu-panel__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 60px;
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-decoration: none;
}

.menu-panel__nav a::after {
    content: '';
    width: 8px;
    height: 8px;
    flex: none;
    margin-right: var(--space-1);
    border-top: 1.5px solid var(--red);
    border-right: 1.5px solid var(--red);
    transform: rotate(45deg);
}

.menu-panel__actions {
    display: grid;
    gap: var(--space-3);
}

.menu-panel__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.menu-panel__note {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    color: var(--ink-faint);
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

html.menu-open .mobilebar {
    display: none;
}

@media (min-width: 1100px) {
    .menu-panel {
        display: none !important;
    }
}

@media (min-width: 640px) {
    .header-cta {
        display: inline-flex;
    }
}

@media (min-width: 1100px) {
    .nav,
    .header-phone {
        display: inline-flex;
    }

    .logo {
        margin-right: var(--space-5);
    }

    .nav {
        margin-right: auto;
    }

    .menu-toggle {
        display: none;
    }
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(100svh, 1040px);
    margin-top: calc(-1 * (var(--header-h) + 1px));
    padding-top: calc(var(--header-h) + 1px + clamp(40px, 7svh, 104px));
    padding-bottom: clamp(32px, 1.6vw + 26px, 48px);
    overflow: hidden;
    background: var(--black);
    color: var(--on-dark);
}

.hero .wrap {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.hero__media {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.hero__media img,
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    animation: settle 1.8s var(--ease) both;
}

@keyframes settle {
    from {
        transform: scale(1.06);
    }
}

.hero__video {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero__video.is-ready {
    opacity: 1;
}

.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--black) 62%, transparent) 0,
            color-mix(in srgb, var(--black) 0%, transparent) 240px
        ),
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--black) 90%, transparent) 0,
            color-mix(in srgb, var(--black) 50%, transparent) 24%,
            color-mix(in srgb, var(--black) 0%, transparent) 50%
        ),
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--black) 86%, transparent) 0,
            color-mix(in srgb, var(--black) 76%, transparent) 44%,
            color-mix(in srgb, var(--black) 30%, transparent) 68%,
            color-mix(in srgb, var(--black) 10%, transparent) 100%
        );
}

.hero__copy {
    display: grid;
    gap: var(--space-5);
    align-content: start;
    align-self: center;
    max-width: 680px;
}

:is(.hero, .page-hero) .sprig {
    color: var(--on-dark);
}

:is(.hero, .page-hero) .sprig::before {
    background: var(--red-on-dark);
}

:is(.hero, .page-hero) h1 {
    text-shadow: 0 2px 28px color-mix(in srgb, var(--black) 35%, transparent);
}

:is(.hero, .page-hero) em.is-red {
    color: var(--red-on-dark);
}

:is(.hero, .page-hero) .t-lede {
    color: var(--on-dark-soft);
    text-wrap: pretty;
}

.hero .t-lede {
    max-width: 44ch;
}

:is(.hero, .page-hero) .hero__link {
    color: var(--on-dark);
    text-decoration-color: var(--red-on-dark);
}

:is(.hero, .page-hero) .hero__link:hover {
    color: #fff;
}

:is(.hero, .page-hero) :focus-visible {
    outline-color: var(--on-dark);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-5);
    margin-top: var(--space-2);
}

.hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    font-weight: 600;
    text-wrap: balance;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}

.hero__link:hover {
    color: var(--red-deep);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    margin: 0;
    padding: var(--space-5) 0 0;
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
    list-style: none;
    font-size: 0.92rem;
    color: var(--on-dark-soft);
}

.trust li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.trust strong {
    color: var(--on-dark);
    font-weight: 650;
}

/* On a phone, the trust line keeps to one row where its two facts fit side by side */
@media (max-width: 599px) {
    .trust {
        column-gap: var(--space-4);
        font-size: 0.8rem;
    }

    .trust li {
        gap: var(--space-1);
    }
}

.stars {
    display: inline-flex;
    color: var(--red-on-dark);
}

.stars .icon {
    width: 0.95em;
    height: 0.95em;
}

.hero__reel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: var(--space-3);
    max-width: 300px;
    padding: var(--space-2) var(--space-5) var(--space-2) var(--space-2);
    border: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--black) 72%, transparent);
    backdrop-filter: blur(10px);
}

.hero__reel-text {
    display: grid;
    gap: 2px;
}

.hero__reel-text b {
    font-family: var(--display);
    font-weight: 450;
    font-size: 1.05rem;
    line-height: 1.25;
}

.hero__reel-text span {
    font-size: 0.8rem;
    color: var(--on-dark-soft);
}

.reel-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--on-dark) 42%, transparent);
    border-radius: 50%;
    background: none;
    color: var(--on-dark);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.reel-toggle:hover {
    border-color: var(--on-dark);
    background: color-mix(in srgb, var(--on-dark) 8%, transparent);
}

.reel-toggle .icon {
    width: 18px;
    height: 18px;
}

.reel-toggle .icon--play {
    fill: currentColor;
    stroke-width: 1;
}

.reel-toggle[data-state='playing'] .icon--play,
.reel-toggle:not([data-state='playing']) .icon--pause {
    display: none;
}

@media (max-width: 999px) {
    .hero {
        padding-top: calc(var(--header-h) + 1px + clamp(150px, 30svh, 340px));
    }

    .hero__media {
        bottom: auto;
        height: min(100%, 100svh);
    }

    .hero__media::after {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--black) 74%, transparent) 0,
            color-mix(in srgb, var(--black) 52%, transparent) 9%,
            color-mix(in srgb, var(--black) 12%, transparent) 18%,
            color-mix(in srgb, var(--black) 16%, transparent) 27%,
            color-mix(in srgb, var(--black) 80%, transparent) 42%,
            color-mix(in srgb, var(--black) 90%, transparent) 62%,
            var(--black) 100%
        );
    }

    .hero__copy {
        align-self: end;
        max-width: none;
    }

    .hero__reel {
        position: absolute;
        top: calc(var(--header-h) + 1px + 16px);
        right: var(--gutter-r);
    }

    .hero__reel-text span {
        display: none;
    }
}

@media (min-width: 1000px) {
    .hero .wrap {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: var(--col-gap);
    }

    .hero__reel {
        align-self: end;
        margin-bottom: calc((0.92rem * 1.65 - 44px - 2 * var(--space-2)) / 2);
    }

    .hero .promises {
        grid-column: 1 / -1;
    }
}

.hero__reel:not(:has(.hero__reel-text)) {
    grid-template-columns: auto;
    padding: var(--space-2);
}

.planner {
    position: relative;
    display: grid;
    gap: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-lift);
}

.planner__inputs {
    container-type: inline-size;
    display: grid;
    gap: var(--space-5);
    min-width: 0;
}

.planner__head {
    display: grid;
    gap: var(--space-4);
}

.planner__title {
    font-family: var(--display);
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.planner__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.planner__group legend {
    margin-bottom: var(--space-3);
    padding: 0;
}

.planner__group legend small {
    font-size: inherit;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: none;
}

.planner__pair {
    display: grid;
    gap: var(--space-5);
}

.planner__pair .planner__group {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
}

.planner__pair .opts {
    grid-auto-rows: minmax(0, 1fr);
}

.opts {
    display: grid;
    gap: var(--space-2);
}

.opts--projects {
    grid-template-columns: minmax(0, 1fr);
}

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

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

.opt {
    position: relative;
    display: grid;
    gap: 2px;
    align-content: start;
    min-width: 0;
    min-height: 56px;
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.opt__label {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
}

.opt__hint {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--ink-faint);
    text-wrap: balance;
}

.opt:hover {
    border-color: var(--stone-500);
}

.opt:has(input:checked) {
    border-color: var(--black);
    background: #f8f7f4;
    box-shadow: inset 0 0 0 1px var(--black);
}

.opt:has(input:focus-visible) {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
}

.opt--card {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: var(--space-3);
    padding: var(--space-4);
}

.opt--card::before {
    content: '';
    grid-row: span 2;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--stone-500);
    transition: box-shadow 0.2s ease;
}

.opt--card:has(input:checked)::before {
    box-shadow: inset 0 0 0 5px var(--red);
}

.opt--card .opt__label {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 450;
}

.opt--card .opt__hint {
    font-size: 0.8rem;
}

.planner__result {
    display: grid;
    gap: var(--space-4);
    align-content: start;
}

.planner__live {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px var(--space-3);
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
    border-radius: var(--r-md);
    background: var(--black);
    color: var(--on-dark);
    box-shadow: 0 18px 32px -16px color-mix(in srgb, var(--black) 55%, transparent);
}

.planner__live .t-label {
    grid-column: 1;
    font-size: 0.75rem;
    color: var(--on-dark-soft);
}

.planner__range {
    grid-column: 1;
    font-family: var(--display);
    font-size: clamp(1.1rem, 0.7rem + 2.2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
    white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}

.planner__cta {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 46px;
    padding: 0 var(--space-4);
    font-size: 0.88rem;
}

.planner__cta-long {
    display: none;
}

@media (max-width: 479px) {
    .planner__live .t-label {
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    .planner__year {
        display: none;
    }

    .planner__cta {
        width: 48px;
        min-height: 48px;
        padding: 0;
    }

    .planner__cta-short {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.planner__more {
    display: grid;
    gap: var(--space-3);
}

.planner__fit {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink);
    text-wrap: balance;
}

.planner__fit[data-fit='below'],
.planner__fit[data-fit='stretch'],
.planner__fit[data-fit='beyond'] {
    padding: var(--space-3) var(--space-3);
    border-left: 3px solid var(--red);
    background: var(--stone);
}

.planner__summary {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--ink-faint);
}

.planner__submit {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 5px;
    cursor: pointer;
}

.planner__submit .icon {
    width: 1em;
    height: 1em;
}

.planner__fine {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ink-faint);
}

@media (max-width: 999px) {
    .planner__result {
        display: contents;
    }

    .planner__live {
        position: sticky;
        z-index: 3;
        bottom: calc(var(--mobilebar-h) + 10px + env(safe-area-inset-bottom, 0px));
        transition:
            opacity 0.2s ease,
            visibility 0.2s;
    }

    .planner__live.is-covering {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 559px) {
    .opts--3 {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-2);
    }

    .opts--3 .opt {
        grid-template-columns: 6.5rem minmax(0, 1fr);
        align-items: baseline;
        align-content: center;
        column-gap: var(--space-3);
        min-height: 48px;
    }
}

@container (min-width: 700px) {
    .opts--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 760px) {
    .planner {
        padding: var(--space-6);
    }

    .opts--projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .opt--card {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--space-2);
    }

    .opt--card::before {
        grid-row: auto;
        margin: 0 0 var(--space-1);
    }
}

@media (min-width: 900px) and (max-width: 999px) {
    .planner__live {
        bottom: 16px;
    }
}

@media (min-width: 1000px) {
    .planner {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--space-7) var(--col-gap);
        padding: var(--space-7);
    }

    .planner__inputs {
        grid-column: 1 / span 8;
    }

    .planner__result {
        container-type: inline-size;
        grid-column: 9 / -1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
        align-self: start;
        gap: var(--space-3);
        padding: var(--space-5);
        border-radius: var(--r-md);
        background: var(--stone);
    }

    .planner__live,
    .planner__more {
        display: contents;
    }

    .planner__live .t-label,
    .planner__range,
    .planner__cta {
        grid-column: auto;
        grid-row: auto;
    }

    .planner__live .t-label {
        order: 1;
        font-size: 0.75rem;
        color: var(--ink-faint);
    }

    .planner__range {
        order: 2;
        font-size: clamp(1.5rem, 10cqi, 2.3rem);
        line-height: 1.1;
        color: var(--ink);
    }

    .planner__fit {
        order: 3;
    }

    .planner__fit[data-fit='below'],
    .planner__fit[data-fit='stretch'],
    .planner__fit[data-fit='beyond'] {
        background: var(--paper);
    }

    .planner__summary {
        order: 4;
    }

    .planner__cta {
        order: 5;
        width: 100%;
        margin-top: var(--space-3);
        min-height: 54px;
        font-size: 0.98rem;
    }

    .planner__cta-short {
        display: none;
    }

    .planner__cta-long {
        display: inline;
    }

    .planner__submit {
        order: 6;
    }

    .planner__fine {
        order: 7;
    }
}

.promises {
    margin: var(--space-5) 0 0;
    padding: var(--space-5) 0 0;
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
    list-style: none;
    display: grid;
    gap: var(--space-5) var(--col-gap);
}

.promises li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: var(--space-3);
    font-size: 0.95rem;
    line-height: 1.5;
    text-wrap: balance;
    color: var(--on-dark-soft);
}

.promises .icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--red-on-dark);
}

.promises strong {
    display: block;
    font-family: var(--display);
    font-weight: 450;
    font-size: 1.08rem;
    color: var(--on-dark);
}

@media (min-width: 760px) {
    .promises {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .promises {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.section--dark .planner .t-label {
    color: var(--ink-faint);
}

.section--dark .planner .sprig {
    color: var(--red-deep);
}

@media (max-width: 999px) {
    .section--dark .planner__live .t-label {
        color: var(--on-dark-soft);
    }
}

.lanes {
    display: grid;
    gap: var(--space-7);
}

.lane {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    text-decoration: none;
}

.lane__photo {
    --cut: 52px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.8;
    background: var(--stone-100);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--cut-ratio)), 100% 100%, 0 100%);
}

.lane__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.lane:hover .lane__photo img {
    transform: scale(1.04);
}

.lane__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-3);
}

.lane__range {
    margin-top: auto;
}

.lane__body > .link-arrow {
    align-self: flex-start;
}

.lane__body p {
    color: var(--ink-soft);
}

.lane__range {
    font-size: 0.88rem;
    color: var(--ink-faint);
}

.lane__range strong {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 450;
    color: var(--ink);
}

.lane__title {
    font-family: var(--display);
    font-size: clamp(1.7rem, 1.4rem + 0.8vw, 2.1rem);
    font-weight: var(--display-weight);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

@media (max-width: 899px) {
    .lane__photo {
        aspect-ratio: 4 / 3.7;
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .lane {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--col-gap);
    }
}

@media (min-width: 900px) {
    .lanes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--col-gap);
    }
}

.work {
    display: grid;
    gap: var(--space-7) var(--col-gap);
}

.case {
    display: grid;
    gap: var(--space-5);
    align-content: start;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.case__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    background: var(--stone-100);
}

.case__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.case:hover .case__photo img {
    transform: scale(1.04);
}

.case__body {
    display: grid;
    gap: var(--space-3);
    align-content: start;
}

.case__title {
    font-family: var(--display);
    font-size: 1.32rem;
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    line-height: 1.22;
}

.case__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    margin: var(--space-1) 0 0;
}

.case__facts div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.case__facts dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.case__facts dd {
    margin: 0;
    font-family: var(--display);
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--ink);
}

.case--feature .case__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
}

.case--feature .case__photo--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.case--feature .case__title {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
    font-weight: var(--display-weight);
    line-height: 1.15;
}

@media (min-width: 700px) {
    .work {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case--feature {
        grid-column: 1 / -1;
    }
}

@media (min-width: 700px) and (max-width: 999px) {
    .work:not([data-project-grid]):not(:has(> .case--feature)) > .case:last-child:nth-child(odd),
    .work:has(> .case--feature:first-child) > .case:last-child:nth-child(even) {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--col-gap);
    }
}

@media (min-width: 1000px) {
    .work {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .case--feature {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .case--feature .case__gallery {
        grid-column: 1 / span 8;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        height: 460px;
    }

    .case--feature .case__photo--main {
        grid-column: 1;
        grid-row: 1 / span 2;
        aspect-ratio: auto;
    }

    .case--feature .case__photo:not(.case__photo--main) {
        aspect-ratio: auto;
    }

    .case--feature .case__body {
        grid-column: 9 / -1;
    }
}

.showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.showcase__shot {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    background: var(--stone-100);
}

.showcase__shot a {
    display: block;
    height: 100%;
    color: inherit;
}

.showcase__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.showcase__shot a:hover img,
.showcase__shot a:focus-visible img {
    transform: scale(1.04);
}

@media (max-width: 559px) {
    .showcase .tag {
        left: var(--space-2);
        bottom: var(--space-2);
        max-width: calc(100% - var(--space-4));
        padding: var(--space-1) var(--space-2);
        font-size: 0.7rem;
    }
}

.showcase__shot--feature,
.showcase__shot:last-child:nth-child(even) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

@media (min-width: 1000px) {
    .showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .showcase__shot--feature {
        grid-column: 1 / span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .showcase__shot:last-child:nth-child(even) {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }
}

.foot-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-6);
    margin-top: var(--head-gap);
}

.studio {
    display: grid;
    gap: var(--space-7);
}

.studio__plan {
    position: relative;
    margin: 0;
}

.siteplan {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    background: #fbfaf6;
}

.studio__plan figcaption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-4);
    font-size: 0.88rem;
    color: var(--ink-faint);
}

.studio__plan figcaption em {
    font-family: var(--display);
    font-size: 1.05rem;
    color: var(--ink);
}

.studio__notes {
    display: grid;
    gap: var(--space-6);
    align-content: start;
}

.studio__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-5);
}

.studio__note {
    max-width: 24ch;
    font-size: 0.88rem;
    text-wrap: balance;
    line-height: 1.45;
    color: var(--ink-faint);
}

.plan-art {
    position: relative;
    border-radius: var(--r-lg);
}

.studio__steps {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: st;
}

.studio__steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--space-3);
    color: var(--ink-soft);
}

.studio__steps li::before {
    counter-increment: st;
    content: counter(st);
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: var(--accent-weight);
    line-height: 1.1;
    color: var(--red-deep);
}

.studio__steps strong {
    display: block;
    font-family: var(--display);
    font-weight: 450;
    font-size: 1.12rem;
    color: var(--ink);
}

.palettes {
    display: grid;
    gap: var(--space-7);
}

.palette {
    display: grid;
    gap: var(--space-3);
    align-content: start;
}

.palette > .t-label + h3 {
    margin-top: var(--space-1);
}

.palette > p {
    margin-bottom: var(--space-3);
    color: var(--ink-soft);
    max-width: 52ch;
}

.swatches {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: start;
    gap: var(--space-5) var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.swatch {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: var(--space-3);
    justify-items: center;
    text-align: center;
}

.swatch img {
    width: 100%;
    max-width: 128px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow:
        0 0 0 5px var(--paper),
        var(--shadow-soft);
}

@media (max-width: 519px) {
    .swatch img {
        box-shadow:
            0 0 0 3px var(--paper),
            var(--shadow-soft);
    }
}

.swatch b {
    font-family: var(--display);
    font-weight: 450;
    font-size: 0.95rem;
    line-height: 1.2;
    text-wrap: balance;
}

.swatch span {
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-wrap: balance;
}

@media (max-width: 519px) {
    .swatches {
        gap: var(--space-5) var(--space-3);
    }

    .swatch b {
        font-size: 0.88rem;
    }

    .swatch {
        grid-row: span 2;
    }

    .swatch span {
        display: none;
    }
}

.plants {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.plants li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: var(--space-4);
    align-items: baseline;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
}

.plants i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--black) 22%, transparent);
    transform: translateY(2px);
}

.plants b {
    font-family: var(--display);
    font-weight: 450;
    font-size: 1.12rem;
}

.plants em {
    display: block;
    font-family: var(--display);
    font-size: 0.98rem;
    color: var(--ink-faint);
}

.plants small {
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-align: right;
}

@media (max-width: 519px) {
    .plants li {
        grid-template-columns: 22px minmax(0, 1fr);
        row-gap: var(--space-1);
    }

    .plants small {
        grid-column: 2;
        text-align: left;
    }
}

@media (min-width: 1000px) {
    .studio {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .studio__plan {
        grid-column: 1 / span 8;
    }

    .studio__notes {
        grid-column: 9 / -1;
    }

    .palettes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 var(--col-gap);
    }

    .palettes > .palette {
        grid-row: span 4;
        grid-template-rows: subgrid;
    }
}

.schedule {
    display: grid;
    gap: var(--space-7);
}

.svc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.svc {
    border-bottom: 1px solid var(--line);
}

.svc a {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) 0;
    text-decoration: none;
}

.svc__thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--stone-100);
}

.svc__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc__row {
    display: grid;
    gap: var(--space-1);
    min-width: 0;
}

.svc__name {
    font-family: var(--display);
    font-size: clamp(1.45rem, 1.1rem + 1.1vw, 1.9rem);
    font-weight: var(--display-weight);
    line-height: 1.1;
    letter-spacing: -0.01em;
    transition:
        color 0.3s ease,
        transform 0.4s var(--ease);
}

.svc__text {
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.svc a:hover .svc__name,
.svc a:focus-visible .svc__name {
    color: var(--red-deep);
    transform: translateX(8px);
}

.svc-viewer {
    display: none;
}

@media (min-width: 1000px) {
    .schedule {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .svc-list {
        grid-column: 1 / span 8;
    }

    .svc a {
        grid-template-columns: minmax(0, 1fr);
        padding: var(--space-5) 0;
    }

    .svc__thumb {
        display: none;
    }

    .svc__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: baseline;
        gap: var(--space-1) var(--col-gap);
    }

    .svc-viewer {
        grid-column: 9 / -1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-6));
        display: block;
        margin: 0;
    }

    .svc-viewer__img {
        --cut: 64px;
        position: relative;
        aspect-ratio: 4 / 5.2;
        overflow: hidden;
        background: var(--stone-100);
        clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--cut-ratio)), 100% 100%, 0 100%);
    }

    .svc-viewer__img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transform: scale(1.04);
        transition:
            opacity 0.5s ease,
            transform 1.2s var(--ease);
    }

    .svc-viewer__img img.is-on {
        opacity: 1;
        transform: scale(1);
    }

    .svc-viewer__cap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
        gap: var(--space-1) var(--space-3);
        margin-top: var(--space-4);
        font-size: 0.88rem;
        color: var(--ink-faint);
    }

    .svc-viewer__cap span:first-child {
        font-family: var(--display);
        font-size: 1.05rem;
        color: var(--ink);
    }
}

.process {
    display: grid;
    gap: var(--space-7);
}

.timeline {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline__step {
    --mark-offset: calc(var(--space-1) + 0.75rem * 1.65 + var(--space-2) + 1.6rem * 1.15 / 2 - 24px);
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--space-4);
    padding-bottom: var(--space-6);
}

.timeline__step::before {
    content: '';
    position: absolute;
    top: calc(var(--mark-offset) + 54px);
    bottom: calc(6px - var(--mark-offset));
    left: 23.5px;
    width: 1px;
    background: var(--line);
}

.timeline__step:last-child {
    padding-bottom: 0;
}

.timeline__step:last-child::before {
    display: none;
}

.timeline__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: var(--mark-offset);
    border-radius: 50%;
    background: var(--paper);
    color: var(--red-deep);
    box-shadow: inset 0 0 0 1px var(--line);
}

.timeline__mark .icon {
    width: 22px;
    height: 22px;
}

.timeline__body {
    display: grid;
    gap: var(--space-2);
    align-content: start;
    min-width: 0;
    padding-top: var(--space-1);
}

.timeline__when {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.timeline__body p {
    max-width: 58ch;
    font-size: 0.96rem;
    color: var(--ink-soft);
}

.timeline__cost {
    justify-self: start;
    margin-top: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--r-sm);
    background: var(--stone);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
}

.reassure {
    display: grid;
    gap: var(--space-5);
    align-content: start;
    min-width: 0;
    padding: var(--space-6) var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.reassure__list {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.reassure__list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: var(--space-3);
    font-size: 0.94rem;
    line-height: 1.5;
    text-wrap: balance;
}

.reassure__list .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--red);
    stroke-width: 2;
}

.guide-form {
    container-type: inline-size;
    display: grid;
    gap: var(--space-3);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.guide-form__title {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.guide-form__title strong {
    color: var(--ink);
}

.guide-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
}

.guide-form__row .input {
    min-height: 48px;
}

.guide-form__row .btn {
    min-height: 48px;
    padding: 0 var(--space-5);
}

.guide-form__fine {
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.guide-form.is-sent .guide-form__row {
    display: none;
}

@container (max-width: 419px) {
    .guide-form__row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.guide-form.is-sent .guide-form__fine {
    font-size: 0.9rem;
    color: var(--ink);
}

@media (min-width: 760px) and (max-width: 1239px) {
    .reassure {
        max-width: var(--two-thirds);
    }
}

@media (min-width: 1240px) {
    .process {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .timeline {
        grid-column: 1 / span 8;
    }

    .reassure {
        grid-column: 9 / -1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-6));
        padding: var(--space-6);
    }
}

.fit {
    display: grid;
    gap: var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fit__card {
    display: grid;
    gap: var(--space-2);
    align-content: start;
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    color: var(--ink-soft);
    box-shadow: var(--shadow-soft);
}

.fit__card p {
    font-size: 0.94rem;
    line-height: 1.55;
}

.fit__title {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    color: var(--ink);
}

.fit__card--main {
    border-color: var(--red);
    box-shadow:
        inset 0 0 0 1px var(--red),
        var(--shadow-soft);
}

.fit__card--main .t-label {
    color: var(--red-deep);
}

.investment__more {
    margin-top: var(--space-6);
}

@media (min-width: 800px) {
    .fit {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--col-gap);
    }

    .fit:not(:has(> :nth-child(3))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.here {
    display: grid;
    gap: var(--head-gap);
}

.here__head {
    display: grid;
    gap: var(--space-4);
    align-content: start;
}

.here__list {
    display: grid;
    gap: var(--space-6) var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.here__list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--space-1) var(--space-4);
    align-content: start;
}

.here__list .icon {
    grid-row: span 2;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    color: var(--red-deep);
}

.here__list strong {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 450;
    line-height: 1.3;
}

.here__list span {
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

@media (min-width: 700px) {
    .here__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .here__list:has(> li:nth-child(3):last-child) {
        grid-template-columns: minmax(0, 1fr);
        max-width: var(--two-thirds);
    }
}

@media (min-width: 960px) {
    .here__list:has(> li:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }
}

@media (min-width: 1100px) {
    .here__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.page-hero__byline {
    font-size: 0.86rem;
    color: var(--on-dark-soft);
}

.page-hero__byline a {
    color: var(--on-dark);
}

.page-hero__byline > span {
    white-space: nowrap;
}

.page-hero__byline > span + span::before {
    content: '· ';
}

@media (max-width: 599px) {
    .page-hero__byline > span {
        display: block;
    }

    .page-hero__byline > span + span::before {
        content: none;
    }
}

.section--answer {
    padding-top: var(--head-gap);
}

.answer-box {
    container: answer / inline-size;
    display: grid;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.answer-box__lede {
    max-width: 62ch;
    font-family: var(--display);
    font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
    line-height: 1.55;
}

.answer-box__lede strong {
    font-weight: 520;
}

.answer-box__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: var(--space-4) var(--space-5);
    margin: 0;
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

@container answer (max-width: 791px) {
    .answer-box__facts:has(> div:nth-child(4):last-child) {
        grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 180px), calc((100% - var(--space-5)) / 2)), 1fr));
    }
}

@container answer (max-width: 587px) {
    .answer-box__facts:has(> div:nth-child(3):last-child) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.answer-box__facts div {
    display: grid;
    gap: var(--space-1);
    align-content: start;
    min-width: 0;
}

.answer-box__facts dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.answer-box__facts dd {
    margin: 0;
    font-family: var(--display);
    font-size: 1.05rem;
    line-height: 1.35;
}

.guide-planner__answer {
    max-width: 640px;
    margin-top: var(--space-5);
    font-family: var(--display);
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--on-dark);
}

@media (min-width: 1000px) {
    .guide-planner__answer {
        max-width: calc((100% - var(--col-gap)) / 2);
    }
}

.guide-planner__answer a {
    white-space: nowrap;
    font-family: var(--sans);
    font-size: 0.86rem;
    color: var(--on-dark-soft);
    text-decoration-color: var(--red-on-dark);
    text-underline-offset: 4px;
}

.guide-body__grid {
    display: grid;
    gap: var(--space-7);
}

.guide-body__main {
    display: grid;
    gap: var(--space-4);
    align-content: start;
    min-width: 0;
}

@media (max-width: 999px) {
    .guide-body__main {
        max-width: 820px;
    }
}

.guide-body__main > p {
    max-width: 66ch;
    color: var(--ink-soft);
}

.guide-h2 {
    margin-top: var(--space-6);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

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

.movers,
.guide-steps,
.feature-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.movers li,
.guide-steps li,
.feature-list li {
    padding-block: var(--space-4);
    border-bottom: 1px solid var(--line);
    line-height: 1.6;
    color: var(--ink-soft);
}

.movers strong,
.guide-steps strong,
.feature-list strong {
    font-weight: 600;
    color: var(--ink);
}

.feature-list li {
    display: grid;
    gap: 2px;
}

.feature-list strong {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 450;
}

.guide-steps {
    counter-reset: guide-step;
}

.guide-steps li {
    position: relative;
    padding-left: var(--space-7);
}

.guide-steps li::before {
    display: inline-block;
    width: var(--space-7);
    margin-left: calc(-1 * var(--space-7));
    counter-increment: guide-step;
    content: counter(guide-step);
    font-family: var(--display);
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--red-deep);
}

.guide-card {
    display: grid;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.guide-card p {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

@media (min-width: 600px) and (max-width: 999px) {
    .guide-card {
        max-width: var(--two-thirds);
    }

    .guide-card .btn--block {
        container-type: normal;
        justify-self: start;
        width: auto;
        padding-inline: var(--space-6);
    }
}

.guide-card .link-arrow {
    display: block;
    margin-block: calc((1lh - 44px) / 2);
}

.guide-card__phone {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-block: calc((1lh - 44px) / 2);
    font-weight: 600;
    color: var(--ink);
}

@media (min-width: 900px) {
    .answer-box {
        padding: var(--space-6) var(--space-6);
    }
}

@media (min-width: 1000px) {
    .guide-body__grid {
        grid-template-columns: var(--two-thirds) minmax(0, 1fr);
        gap: var(--col-gap);
    }

    .guide-body__aside {
        position: sticky;
        top: calc(var(--header-h) + var(--space-6));
        align-self: start;
    }
}

.reviews {
    display: grid;
    gap: var(--space-7);
}

.pull {
    position: relative;
    display: grid;
    gap: var(--space-6);
    align-content: start;
    padding-top: var(--space-8);
}

.pull::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: -0.04em;
    font-family: var(--display);
    font-size: 7.5rem;
    line-height: 0.8;
    color: var(--stone-300);
}

.pull blockquote {
    position: relative;
    font-family: var(--display);
    font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem);
    font-weight: 330;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.pull footer,
.review footer {
    display: grid;
    gap: 2px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.pull footer strong,
.review footer strong {
    color: var(--ink);
    font-weight: 650;
}

.scores {
    display: grid;
    align-content: start;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.scores li a {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.scores__name {
    font-weight: 600;
}

.scores__lead {
    flex: 1;
    border-bottom: 1px dotted var(--stone-300);
    transform: translateY(-5px);
}

.scores__val {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 450;
    font-variant-numeric: lining-nums tabular-nums;
}

.scores__count {
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.review {
    position: relative;
    display: grid;
    gap: var(--space-4);
    align-content: start;
    padding: var(--space-6);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.review blockquote {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 380;
    line-height: 1.5;
}

.job {
    display: inline-flex;
    justify-self: start;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--red-deep);
}

@media (min-width: 960px) {
    .reviews {
        grid-template-columns: var(--two-thirds) minmax(0, 1fr);
        grid-template-areas: 'pull scores' 'a b';
        column-gap: var(--col-gap);
        row-gap: var(--head-gap);
    }

    .reviews .pull {
        grid-area: pull;
        padding-top: var(--space-8);
    }

    .scores {
        grid-area: scores;
        align-self: end;
    }

    .review--a {
        grid-area: a;
    }

    .review--b {
        grid-area: b;
    }
}

.review-row {
    display: grid;
    gap: var(--col-gap);
}

.review-row .review {
    grid-template-rows: auto 1fr auto;
}

@media (min-width: 600px) and (max-width: 959px) {
    .review-row {
        max-width: var(--two-thirds);
    }
}

@media (min-width: 960px) {
    .review-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .review-row:not(:has(> :nth-child(3))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.area {
    display: grid;
    gap: var(--space-7);
}

.section--inverse .valley {
    --ink: var(--black);
    --ink-faint: #66655f;
    --stone-300: #cdc9c0;
    --red-deep: var(--nf-red-deep, #b01d24);
}

.valley {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #f7f6f0;
    box-shadow: var(--shadow-soft);
}

.valley svg {
    display: block;
    width: 100%;
    height: auto;
}

.valley .river {
    fill: none;
    stroke: #a9c7d3;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.valley .river-hi {
    fill: none;
    stroke: #dbeaef;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.valley .road {
    fill: none;
    stroke: #dccfb8;
    stroke-width: 3.2;
    stroke-linecap: round;
}

.valley .road--minor {
    stroke: #e4d9c6;
    stroke-width: 1.8;
}

.valley .river--lake {
    stroke-width: 7;
}

.valley .shield rect {
    fill: #fbfaf6;
    stroke: #cdbf9f;
}

.valley .shield text {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    fill: #8a7a5a;
}

.valley .reach {
    fill: color-mix(in srgb, var(--red) 4.5%, transparent);
    stroke: color-mix(in srgb, var(--nf-red-deep, var(--nf-red-deep, #b01d24)) 55%, transparent);
    stroke-width: 1.4;
    stroke-dasharray: 2 6;
    stroke-linecap: round;
}

.valley .lbl {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.18em;
    fill: #66655f;
}

.valley .lbl--halo {
    fill: #5b6656;
    paint-order: stroke;
    stroke: #e6eadd;
    stroke-width: 4px;
    stroke-linejoin: round;
}

.valley .lbl-water {
    font-family: var(--display);
    font-size: 14px;
    fill: #44738a;
}

.valley .plate-title {
    font-family: var(--display);
    font-size: 24px;
    fill: var(--ink);
}

.valley .compass circle {
    fill: none;
    stroke: #9aa392;
    stroke-width: 1;
}

@media (pointer: coarse) {
    .valley .city a {
        pointer-events: none;
    }
}

.valley .compass path {
    fill: var(--ink-faint);
}

.valley .compass .compass__s {
    fill: var(--stone-300);
}

.valley .compass text {
    font-family: var(--display);
    font-size: 15px;
    fill: var(--ink-faint);
}

.valley .scale path {
    fill: none;
    stroke: #66655f;
    stroke-width: 1.2;
}

.valley .scale text {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    fill: #66655f;
}

.valley .city circle {
    fill: var(--black);
    stroke: #f7f6f0;
    stroke-width: 3;
    transition: fill 0.2s ease;
}

.valley .city text {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 450;
    fill: var(--ink);
    paint-order: stroke;
    stroke: #f7f6f0;
    stroke-width: 5px;
    stroke-linejoin: round;
}

.valley .city a:hover circle,
.valley .city a:focus-visible circle {
    fill: var(--red);
}

.valley .home circle {
    fill: var(--red);
    stroke: #fff;
    stroke-width: 3;
}

.valley .home .home__halo {
    fill: color-mix(in srgb, var(--red) 16%, transparent);
    stroke: none;
}

.valley .home text {
    font-size: 20px;
}

.valley .home .home__sub {
    font-family: var(--sans);
    font-style: normal;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    fill: var(--red-deep);
}

.valley .town circle {
    fill: #66655f;
    stroke: #f7f6f0;
    stroke-width: 2;
}

.valley .town text {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    fill: #4d4c47;
    paint-order: stroke;
    stroke: #f7f6f0;
    stroke-width: 4px;
    stroke-linejoin: round;
}

@media (max-width: 759px) {
    .valley .city text {
        font-size: 27px;
        stroke-width: 7px;
    }

    .valley .home text {
        font-size: 30px;
    }

    .valley .lbl-water {
        font-size: 22px;
    }

    .valley .lbl,
    .valley .town text,
    .valley .plate-title,
    .valley .scale,
    .valley .compass,
    .valley .shield,
    .valley .home .home__sub {
        display: none;
    }
}

.area__cities {
    display: grid;
    gap: var(--space-5);
    align-content: start;
    justify-items: start;
}

.area__cities .citylist {
    justify-self: stretch;
}

.citylist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.citylist a,
.citylist .citylist__plain {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.citylist a:hover {
    color: var(--red-deep);
}

.citylist small {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink-faint);
    white-space: nowrap;
}

.citylist--hoods {
    grid-template-columns: minmax(0, 1fr);
}

.citylist--hoods a,
.citylist--hoods .citylist__plain {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.citylist--hoods small {
    white-space: normal;
    line-height: 1.45;
}

@media (min-width: 560px) and (max-width: 1039px) {
    .citylist--hoods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1040px) {
    .area {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .area .valley {
        grid-column: 1 / span 8;
    }

    .area__cities {
        grid-column: 9 / -1;
    }
}

.table-wrap {
    container-type: inline-size;
    position: relative;
    overflow-x: auto;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.pricing {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.pricing caption {
    padding: var(--space-5) var(--space-6) var(--space-2);
    text-align: left;
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.pricing th,
.pricing td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    vertical-align: baseline;
    border-bottom: 1px solid var(--line);
}

.pricing thead th {
    padding-top: var(--space-4);
    padding-bottom: var(--space-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.pricing tbody th {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 420;
    line-height: 1.3;
}

.pricing:not(.money__table, .pricing--words):has(thead th:nth-child(3)) thead th:first-child {
    width: 30%;
}

/* A column of figures is as narrow as its longest figure; the words beside it take the rest */
.pricing td.price {
    width: 1%;
}

.pricing thead th.price {
    white-space: nowrap;
}

/* A table of words alone: the row's name a fifth, the columns after it sharing the rest, none narrower than a short
   line */
.pricing--words:has(thead th:nth-child(3)) thead th:first-child {
    width: 22%;
}

.pricing--words td {
    min-width: 16ch;
}

.money__table thead th:first-child {
    width: 18%;
}

.money__table thead th:nth-child(2) {
    width: 33%;
}

.pricing :is(th, td, caption) {
    text-wrap: pretty;
}

.pricing td {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.pricing td.price {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 450;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}

.pricing tbody tr:last-child th,
.pricing tbody tr:last-child td {
    border-bottom: 0;
}

@container (max-width: 679px) {
    .pricing {
        min-width: 0;
    }

    .pricing thead {
        display: none;
    }

    .pricing caption {
        padding: var(--space-5) var(--space-5) var(--space-1);
    }

    .pricing tbody,
    .pricing tr {
        display: block;
    }

    .pricing tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        gap: var(--space-1) var(--space-4);
        padding: var(--space-4) var(--space-5);
        border-bottom: 1px solid var(--line);
    }

    .pricing tbody tr:last-child {
        border-bottom: 0;
    }

    .pricing th,
    .pricing td {
        padding: 0;
        border: 0;
    }

    .pricing td:not(.price):last-child {
        grid-column: 1 / -1;
        font-size: 0.88rem;
    }

    .pricing th a {
        margin-block: calc((1lh - 44px) / 2);
    }

    .pricing:not(.money__table) tr {
        grid-template-columns: minmax(0, 1fr);
    }
}

.byline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.byline strong {
    color: var(--ink);
    font-weight: 600;
}

.faq-layout {
    display: grid;
    gap: var(--space-6);
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: var(--space-5);
    padding: var(--space-5) 0;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: var(--title-weight);
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-wrap: balance;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    flex: none;
    margin: calc((1lh - 1.2em) / 2) -0.25em 0 0;
    color: var(--stone-500);
    transition: transform 0.35s var(--ease);
}

.faq details[open] summary .icon {
    transform: rotate(45deg);
}

:is(.section:has(+ .section--continues), :has(+ .section--continues) > .section:last-child)
    :is(.faq-layout .faq, .faq-hub__group:last-child .faq)
    details:last-child {
    margin-bottom: calc(-1 * var(--space-5));
    border-bottom: 0;
}

.faq .answer {
    padding: 0 0 var(--space-5);
    max-width: 66ch;
    color: var(--ink-soft);
}

.faq .answer strong {
    color: var(--ink);
    font-weight: 650;
}

@media (min-width: 1000px) {
    .faq-layout {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: baseline;
    }

    .faq {
        grid-column: 1 / span 8;
    }

    .faq-layout__more {
        grid-column: 9 / -1;
    }
}

.dusk {
    position: relative;
    overflow: hidden;
    color: var(--on-dark);
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--red) 70%, var(--black)) 0,
        color-mix(in srgb, var(--red) 50%, var(--black)) 120px,
        color-mix(in srgb, var(--red) 22%, var(--black)) 210px,
        color-mix(in srgb, var(--red) 6%, var(--black)) 330px,
        color-mix(in srgb, #ffffff 1%, var(--black)) 520px,
        var(--black) 100%
    );
}

.dusk__stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 62%;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 85%);
    mask-image: linear-gradient(to bottom, #000 35%, transparent 85%);
}

@media (max-width: 759px) {
    .dusk__stars {
        height: 30%;
    }
}

.final .t-lede,
.final__alt {
    text-shadow:
        0 0 2px var(--black),
        0 0 8px var(--black);
}

.dusk__ridges {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(90px, 13vw, 200px);
    pointer-events: none;
}

.dusk .wrap {
    position: relative;
    z-index: 2;
}

.dusk .t-label {
    color: var(--on-dark-soft);
}

.dusk .sprig {
    color: var(--red-on-dark);
}

.final {
    display: grid;
    gap: var(--space-7);
    padding-block: var(--section-y) calc(var(--section-y) + clamp(90px, 13vw, 200px));
}

.final__copy {
    container-type: inline-size;
    display: grid;
    gap: var(--space-5);
}

.final__start {
    display: grid;
    gap: var(--space-4);
}

.final .t-h2 {
    font-size: clamp(2.8rem, 10.5cqi, 6rem);
}

.final .t-h2 em {
    display: block;
}

.final__hours {
    white-space: nowrap;
}

@media (max-width: 599px) {
    .final__hours {
        display: block;
    }

    .final__hours > span {
        display: none;
    }
}

.final .t-lede {
    color: #d9d8d3;
}

.final__alt {
    color: var(--on-dark-soft);
}

.final__alt a {
    color: var(--on-dark);
    font-weight: 650;
}

.starter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--space-3);
}

.starter > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.starter a {
    display: grid;
    gap: var(--space-4);
    align-content: start;
    justify-items: start;
    min-height: 128px;
    padding: var(--space-5);
    border: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
    border-radius: var(--r-md);
    background: color-mix(in srgb, #ffffff 5%, transparent);
    backdrop-filter: blur(10px);
    color: var(--on-dark);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: var(--title-weight);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.3s var(--ease);
}

.starter a:hover {
    background: color-mix(in srgb, #ffffff 14%, transparent);
    border-color: var(--red);
    transform: translateY(-2px);
}

.starter .icon {
    width: 26px;
    height: 26px;
    color: var(--red-on-dark);
}

@media (max-width: 419px) {
    .starter {
        grid-template-columns: minmax(0, 1fr);
    }

    .starter a {
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: center;
        min-height: 60px;
        padding: var(--space-4) var(--space-5);
    }
}

@media (min-width: 700px) and (max-width: 1039px) {
    .starter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .starter > a:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .starter:is(:has(> a:nth-child(2):last-child), :has(> a:nth-child(4):last-child)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .starter:not(:has(> a:nth-child(2):last-child)) > a:last-child:nth-child(3n + 2) {
        grid-column: span 2;
    }
}

@media (min-width: 1040px) {
    .final {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .final__copy {
        grid-column: 1 / span 8;
    }

    .final__start {
        grid-column: 9 / -1;
    }
}

.site-footer {
    padding-block: var(--space-6) calc(var(--space-7) + var(--mobilebar-h));
    background: var(--black);
    color: var(--on-dark-soft);
    font-size: 0.95rem;
}

main:not(:has(> .dusk)) ~ .site-footer {
    padding-top: var(--section-y);
}

.site-footer a {
    color: var(--on-dark);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--red);
}

.footer-grid {
    display: grid;
    gap: var(--space-7) var(--col-gap);
}

.footer-brand {
    display: grid;
    gap: var(--space-4);
    align-content: start;
    max-width: 360px;
}

.footer-logo {
    display: block;
    width: 172px;
    --logo-ink: #ffffff;
}

.footer-logo svg {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1268 / 836;
}

.footer-brand p {
    font-family: var(--display);
    font-size: 1.1rem;
    line-height: 1.5;
    text-wrap: balance;
}

.footer-col__title {
    margin: 0 0 var(--space-4);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

.footer-col ul {
    display: grid;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (pointer: coarse) {
    .footer-col ul {
        gap: 0;
    }

    .footer-col a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

.footer-legal a,
.footer-legal__credit {
    white-space: nowrap;
}

.footer-legal > span {
    text-wrap: balance;
}

@media (max-width: 599px) {
    .footer-legal__credit {
        display: block;
    }

    .footer-legal__credit > span {
        display: none;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3) var(--space-5);
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
    font-size: 0.8rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

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

    .footer-col {
        grid-column: span 3;
    }

    .site-footer {
        padding-bottom: var(--space-7);
    }
}

@media (min-width: 1200px) {
    .footer-brand {
        grid-column: 1 / span 3;
    }

    .footer-col {
        grid-column: span 2;
    }

    .footer-col:nth-child(2) {
        grid-column: span 3;
    }
}

.mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr 1.7fr;
    gap: var(--space-2);
    padding: var(--space-3) var(--gutter-r) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: color-mix(in srgb, #f5f4f0 95%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
}

.mobilebar a,
.mobilebar button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.mobilebar .icon {
    width: 19px;
    height: 19px;
}

.mobilebar .mobilebar__primary {
    flex-direction: row;
    gap: var(--space-2);
    border-color: var(--red);
    background: var(--red);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 479px) {
    .mobilebar {
        grid-template-columns: 60px 60px minmax(0, 1fr);
    }

    .mobilebar .mobilebar__primary {
        font-size: 0.88rem;
        white-space: nowrap;
    }
}

@media (max-width: 419px) {
    .mobilebar .mobilebar__primary .icon {
        display: none;
    }
}

@media (min-width: 900px) {
    .mobilebar {
        display: none;
    }
}

.estimate {
    width: 100%;
    max-width: 720px;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: var(--page);
    color: var(--ink);
}

.estimate::backdrop {
    background: color-mix(in srgb, var(--black) 55%, transparent);
    backdrop-filter: blur(4px);
}

@media (min-width: 760px) {
    .estimate {
        height: auto;
        max-height: min(900px, calc(100dvh - 48px));
        margin-block: auto;
        border-radius: var(--r-lg);
        box-shadow: var(--shadow-lift);
    }
}

.estimate form {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100%;
    max-height: inherit;
}

.est-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-5) var(--gutter-r) var(--space-3) var(--gutter-l);
}

.est-top .sprig {
    letter-spacing: 0.16em;
}

.est-progress {
    display: grid;
    gap: var(--space-2);
    padding: 0 var(--gutter-r) var(--space-2) var(--gutter-l);
}

.est-progress__bar {
    height: 3px;
    border-radius: 3px;
    background: var(--line);
    overflow: hidden;
}

.est-progress__bar span {
    display: block;
    width: var(--p, 20%);
    height: 100%;
    background: var(--red);
    transition: width 0.5s var(--ease);
}

.est-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.est-body {
    overflow-y: auto;
    padding: var(--space-5) var(--gutter-r) var(--space-6) var(--gutter-l);
}

.est-step {
    display: grid;
    gap: var(--space-5);
}

.est-step__title {
    font-family: var(--display);
    font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
    font-weight: var(--display-weight);
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.est-step__title:focus {
    outline: none;
}

.est-step__sub {
    margin-top: var(--space-4);
    color: var(--ink-soft);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.tile {
    position: relative;
    display: grid;
    gap: var(--space-3);
    align-content: start;
    min-height: 100px;
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    font-weight: 600;
    line-height: 1.3;
    text-wrap: balance;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tile .icon {
    width: 26px;
    height: 26px;
    color: var(--stone-500);
}

.tile:hover {
    border-color: var(--stone-500);
}

.tile:has(input:checked) {
    border-color: var(--black);
    background: #f8f7f4;
    box-shadow: inset 0 0 0 1px var(--black);
}

.tile:has(input:checked)::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
            center / 12px no-repeat,
        var(--black);
}

.tile:has(input:focus-visible) {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
}

.tile--wide {
    grid-column: 1 / -1;
    min-height: 0;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    padding-right: var(--space-7);
}

@media (max-width: 559px) {
    .tiles .tile:nth-child(9) {
        grid-column: 1 / -1;
        min-height: 0;
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: center;
        padding-right: var(--space-7);
    }
}

@media (max-width: 419px) {
    .tiles {
        grid-template-columns: minmax(0, 1fr);
    }

    .tiles .tile {
        min-height: 0;
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: center;
        padding-right: var(--space-7);
    }
}

@media (min-width: 560px) {
    .tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.field {
    display: grid;
    gap: var(--space-2);
}

.field label,
.field legend {
    font-weight: 600;
}

.field small {
    font-size: 0.82rem;
    color: var(--ink-faint);
}

.field fieldset {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    border: 0;
}

.input {
    width: 100%;
    min-height: 54px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
    font-size: 1.0625rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input:focus {
    border-color: var(--black);
    outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 16%, transparent);
}

.input--short {
    max-width: 240px;
}

.input--area {
    min-height: 96px;
    padding: var(--space-4) var(--space-4);
    line-height: 1.5;
    resize: vertical;
}

.budget-note {
    display: none;
    padding: var(--space-3) var(--space-4);
    border-left: 3px solid var(--red);
    background: var(--paper);
    font-size: 0.9rem;
    line-height: 1.5;
}

.budget-note.is-visible {
    display: block;
}

.input--zip {
    max-width: 200px;
    font-family: var(--display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
}

.field-row {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 560px) {
    .field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.zipcheck {
    display: none;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-4);
    border-radius: var(--r-sm);
    font-size: 0.95rem;
}

.zipcheck.is-in {
    display: flex;
    background: #e8f0e2;
    color: #284a35;
}

.zipcheck.is-out {
    display: flex;
    background: #fbf1d8;
    color: #5f4708;
}

.zipcheck .icon {
    margin-top: 2px;
}

.hint {
    display: grid;
    gap: var(--space-1);
    padding: var(--space-4) var(--space-4);
    border-radius: var(--r-sm);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
}

.hint strong {
    font-family: var(--display);
    font-weight: 450;
    font-size: 1.15rem;
}

.consent {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.recaptcha-note {
    margin: 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-wrap: pretty;
}

.recaptcha-note a {
    color: inherit;
}

.grecaptcha-badge {
    visibility: hidden;
}

.consent input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--black);
}

.upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px dashed var(--stone-300);
    border-radius: var(--r-sm);
    background: var(--paper);
    font-weight: 600;
    cursor: pointer;
}

.upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.upload:has(input:focus-visible) {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
}

.est-error {
    display: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--r-sm);
    background: #f9e4df;
    color: #7c2f22;
    font-size: 0.95rem;
    font-weight: 600;
}

.est-error.is-visible {
    display: block;
}

.est-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--gutter-r) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    border-top: 1px solid var(--line);
    background: var(--page);
}

.est-foot .btn {
    min-width: 170px;
}

.est-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-1);
    border: 0;
    background: transparent;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
}

.est-next {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: next;
}

.est-next li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: baseline;
    gap: var(--space-3);
}

.est-next li::before {
    counter-increment: next;
    content: counter(next);
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--red-deep);
}

body.dialog-open {
    overflow: hidden;
}

.est-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.no-js .est-progress {
    display: none;
}

.no-js .est-step + .est-step {
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
}

.js .estimate:not(.is-stepped) .est-step:not(:first-of-type) {
    display: none;
}

.nav__item {
    display: flex;
}

.nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
    border: 0;
    border-radius: var(--r-sm);
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.nav__trigger .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}

.nav__trigger[aria-expanded='true'] {
    background: var(--stone);
}

.nav__trigger[aria-expanded='true'] .icon {
    transform: rotate(180deg);
}

.nav__trigger:focus-visible {
    outline: 2px solid var(--red-deep);
    outline-offset: 2px;
}

.mega {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--page);
    box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--black) 35%, transparent);
    animation: menu-in 0.22s var(--ease) both;
}

.mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
    gap: var(--space-7);
    padding-block: var(--space-6) var(--space-6);
}

.mega .t-label {
    display: block;
    margin-bottom: var(--space-4);
    color: var(--ink-faint);
}

.mega ul {
    margin: 0 calc(-1 * var(--space-3));
    padding: 0;
    list-style: none;
}

.mega .mega__all {
    margin-left: calc(-1 * var(--space-3));
}

.mega__services ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px var(--space-5);
}

.mega__services li a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3);
    border-radius: var(--r-sm);
    color: var(--ink);
    text-decoration: none;
}

.mega__services li a:hover,
.mega__services li a:focus-visible {
    background: var(--paper);
}

.mega__services li .icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--red-deep);
}

.mega__services b {
    display: block;
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 450;
    line-height: 1.25;
}

.mega__services small {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ink-faint);
}

.mega__areas ul {
    display: grid;
    gap: 2px;
}

.mega__areas li a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding-inline: var(--space-3);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.08rem;
    text-decoration: none;
}

.mega__areas li a:hover,
.mega__areas li a:focus-visible {
    background: var(--paper);
}

.mega__card {
    display: grid;
    gap: var(--space-3);
    align-self: start;
    align-content: start;
    padding: var(--space-5);
    border-radius: var(--r-md);
    background: var(--black);
    color: var(--on-dark);
}

.mega__card .t-label {
    margin: 0;
    color: var(--red-on-dark);
}

.mega__card p {
    font-family: var(--display);
    font-size: 1.2rem;
    line-height: 1.35;
}

.mega__card .link-arrow {
    color: var(--on-dark);
}

.menu-panel__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
}

.menu-panel__groups .t-label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--ink-faint);
}

.menu-panel__groups ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-panel__groups a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: var(--space-2);
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.3;
    text-decoration: none;
}

.page-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(86svh, 880px);
    margin-top: calc(-1 * (var(--header-h) + 1px));
    padding-top: calc(var(--header-h) + 1px + clamp(48px, 9svh, 120px));
    padding-bottom: clamp(32px, 1.6vw + 26px, 48px);
    overflow: hidden;
    background: var(--black);
    color: var(--on-dark);
}

.page-hero--compact {
    min-height: min(60svh, 560px);
}

/* The home page's top is the studio's own: the whole first screen, its heading at the hero size, and on a phone the
   work clear under the header for longer before the words rise out of it */
.page-hero--home {
    min-height: min(100svh, 1040px);
    padding-top: calc(var(--header-h) + 1px + clamp(40px, 7svh, 104px));
}

.page-hero--home .page-hero__title {
    font-size: var(--t-hero);
}

/* The promises follow the trust line at its own gap, as the studio's do */
.page-hero--home .page-hero__foot {
    margin-top: 0;
}

.page-hero__media {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.page-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: settle 1.8s var(--ease) both;
}

/* The part of the top's photo and loop a narrow crop keeps (Home Page's focus) */
.page-hero__media.focus-left :is(img, video) {
    object-position: 12% 50%;
}

.page-hero__media.focus-left-middle :is(img, video) {
    object-position: 32% 50%;
}

.page-hero__media.focus-right-middle :is(img, video) {
    object-position: 68% 50%;
}

.page-hero__media.focus-right :is(img, video) {
    object-position: 88% 50%;
}

/* The loop's pause button, over the top's corner below the header */
.page-hero__reel {
    position: absolute;
    z-index: 2;
    top: calc(var(--header-h) + 1px + var(--space-4));
    right: var(--gutter-r);
    background: color-mix(in srgb, var(--black) 55%, transparent);
}

.page-hero__reel[hidden] {
    display: none;
}

.page-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--black) 62%, transparent) 0,
            color-mix(in srgb, var(--black) 0%, transparent) 240px
        ),
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--black) 92%, transparent) 0,
            color-mix(in srgb, var(--black) 62%, transparent) 30%,
            color-mix(in srgb, var(--black) 0%, transparent) 64%
        ),
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--black) 84%, transparent) 0,
            color-mix(in srgb, var(--black) 68%, transparent) 46%,
            color-mix(in srgb, var(--black) 22%, transparent) 74%,
            color-mix(in srgb, var(--black) 10%, transparent) 100%
        );
}

.page-hero__inner {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: end;
}

.page-hero__copy {
    display: grid;
    gap: var(--space-5);
    align-content: end;
    align-self: end;
    max-width: 780px;
}

.page-hero__title {
    max-width: 15ch;
    font-size: clamp(2.4rem, 1.2rem + 3.8vw, 4.6rem);
}

.page-hero .t-lede {
    max-width: 50ch;
}

.page-hero__credit {
    display: grid;
    align-items: baseline;
    align-self: end;
    justify-self: start;
    gap: var(--space-1) var(--space-3);
    max-width: 360px;
    margin: 0;
    padding: var(--space-3) var(--space-4);
    border: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
    border-radius: var(--r-lg);
    background: color-mix(in srgb, var(--black) 72%, transparent);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--on-dark-soft);
}

.page-hero__credit-label {
    grid-row: 1;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
}

.page-hero__credit a,
.page-hero__credit-place {
    grid-column: 2;
}

.page-hero__credit a {
    color: var(--on-dark);
    font-weight: 600;
}

.page-hero__foot {
    margin-top: var(--head-gap);
}

.frame-cut {
    --cut: clamp(48px, 6vw, 92px);
    overflow: hidden;
    border-radius: 0;
    background: var(--stone-100);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * var(--cut-ratio)), 100% 100%, 0 100%);
}

.frame-cut img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glance {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4) var(--col-gap);
    margin: 0;
    padding: var(--space-5) 0 0;
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 18%, transparent);
}

.glance div {
    display: grid;
    gap: var(--space-1);
    align-content: start;
    min-width: 0;
}

.glance dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--on-dark-soft);
}

.glance dd {
    margin: 0;
    font-family: var(--display);
    font-size: 1.1rem;
    line-height: 1.4;
    text-wrap: pretty;
    color: var(--on-dark);
}

@media (min-width: 600px) {
    .glance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glance:has(> div:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 999px) {
    .page-hero {
        padding-top: calc(var(--header-h) + 1px + clamp(120px, 24svh, 280px));
    }

    .page-hero--home {
        padding-top: calc(var(--header-h) + 1px + clamp(150px, 30svh, 340px));
    }

    .page-hero__media {
        bottom: auto;
        height: min(100%, 100svh);
    }

    .page-hero__media::after {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--black) 74%, transparent) 0,
            color-mix(in srgb, var(--black) 50%, transparent) 9%,
            color-mix(in srgb, var(--black) 14%, transparent) 18%,
            color-mix(in srgb, var(--black) 62%, transparent) 30%,
            color-mix(in srgb, var(--black) 86%, transparent) 46%,
            color-mix(in srgb, var(--black) 92%, transparent) 64%,
            var(--black) 100%
        );
    }

    .page-hero__credit {
        margin-top: var(--space-5);
    }
}

@media (min-width: 1000px) {
    .page-hero__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: var(--space-8);
    }

    .page-hero__credit {
        justify-self: end;
    }

    .page-hero__foot {
        grid-column: 1 / -1;
    }

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

    .glance:has(> div:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glance:has(> div:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* A town's top with the design's own line (What We Do) over the record's four facts: the line takes the whole row, so
   the four keep theirs */
@media (min-width: 600px) {
    .page-area .glance > div:first-child:nth-last-child(5) {
        grid-column: 1 / -1;
    }
}

.here__list--options {
    margin-top: var(--space-2);
}

.rules {
    display: grid;
    gap: var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.rule {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
}

.rule__figure {
    font-family: var(--display);
    font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
    font-weight: 350;
    line-height: 1;
    color: var(--red-deep);
    font-variant-numeric: lining-nums;
}

.rule__title {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 450;
    line-height: 1.3;
}

.rule p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.rule__source {
    display: inline-flex;
    align-items: flex-end;
    align-self: start;
    min-height: 44px;
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--ink-faint);
    text-decoration: underline;
    text-decoration-color: var(--stone-300);
    text-underline-offset: 3px;
}

.rules__checked {
    margin-top: var(--space-5);
    font-size: 0.85rem;
    color: var(--ink-faint);
}

/* As many columns as there are rules, up to four (a class the page sets: rules--1 to rules--4), so no row holds an
   empty column: one rule is full width; two side by side; three in a row once each has room, otherwise stacked; four
   two by two, then in a row */
@media (min-width: 700px) {
    .rules--2,
    .rules--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .rules--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .rules--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.split {
    display: grid;
    gap: var(--space-7);
}

.split__copy {
    display: grid;
    gap: var(--space-5);
    align-content: start;
}

.split__copy .movers {
    margin-top: var(--space-2);
}

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

@media (min-width: 1000px) {
    .split {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--space-7) var(--col-gap);
        align-items: start;
    }

    .split__copy {
        grid-column: 1 / span 8;
    }

    .split__media {
        grid-column: 9 / -1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-6));
    }

    .split--halves .split__copy {
        grid-column: 1 / span 6;
    }

    .split--halves .split__media {
        grid-column: 7 / -1;
    }
}

@media (min-width: 1000px) {
    .work--even {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .work--even:not(:has(> :nth-child(3))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.related__title {
    margin-bottom: var(--space-5);
}

.related {
    display: grid;
    gap: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
}

.section--continues .related {
    padding-top: 0;
    border-top: 0;
}

.related .t-label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--ink-faint);
}

.related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px var(--space-3);
    min-height: 44px;
    border-bottom: 1px solid var(--line);
}

.related a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: var(--space-2);
    line-height: 1.3;
    text-wrap: balance;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.1rem;
    text-decoration: none;
}

.related a:hover {
    color: var(--red-deep);
}

@media (min-width: 700px) {
    .related {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto repeat(var(--items, 1), auto);
        gap: 0 var(--col-gap);
    }

    .related__col {
        display: grid;
        grid-row: 1 / -1;
        grid-template-rows: subgrid;
    }

    .related__col ul {
        display: grid;
        grid-row: 2 / -1;
        grid-template-rows: subgrid;
    }

    .related:not(:has(> :nth-child(3))) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hoods {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--head-gap);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
}

.hoods .t-label {
    color: var(--ink-faint);
}

.hoods__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.hoods__list li {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-family: var(--display);
    font-size: 1.05rem;
}

.hoods__note {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.reviews--pair {
    align-items: start;
}

@media (min-width: 900px) {
    .reviews--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: none;
        gap: var(--col-gap);
    }

    .reviews--pair .pull {
        grid-area: auto;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--head-gap);
}

.gallery figure {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    background: var(--stone-100);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .gallery__main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
}

@media (min-width: 900px) {
    .gallery {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
    }

    .gallery .gallery__main {
        grid-column: 1 / span 8;
        grid-row: 1 / span 2;
        aspect-ratio: auto;
    }

    .gallery figure:nth-child(2),
    .gallery figure:nth-child(3) {
        grid-column: 9 / -1;
        aspect-ratio: auto;
    }

    .gallery figure:nth-child(n + 4) {
        grid-column: span 6;
        aspect-ratio: 16 / 9;
    }
}

.story {
    display: grid;
    gap: var(--space-7);
}

.story__chapters {
    display: grid;
    gap: var(--space-6);
}

.chapter {
    display: grid;
    gap: var(--space-3);
    max-width: 62ch;
}

.chapter p {
    font-family: var(--display);
    font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);
    line-height: 1.6;
}

.story__aside {
    display: grid;
    gap: var(--space-7);
    align-content: start;
}

.pull--story blockquote {
    font-family: var(--display);
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem);
    font-weight: 350;
    line-height: 1.3;
}

.pull--story footer {
    display: grid;
    gap: 2px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.team {
    display: grid;
    gap: var(--space-3);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.team .t-label {
    color: var(--ink-faint);
}

.team ul {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.team li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-4);
    font-size: 0.95rem;
}

.team li span {
    color: var(--ink-soft);
    text-align: right;
}

.team--materials li {
    display: grid;
    gap: 2px;
}

.team--materials li span {
    text-align: left;
}

.story__aside > .team:first-child {
    padding-top: 0;
    border-top: 0;
}

@media (min-width: 1000px) {
    .story {
        grid-template-columns: var(--two-thirds) minmax(0, 1fr);
        gap: var(--col-gap);
    }

    .story__aside {
        position: sticky;
        top: calc(var(--header-h) + var(--space-6));
    }
}

.start-like {
    display: grid;
    gap: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--stone);
}

.start-like__copy {
    display: grid;
    gap: var(--space-5);
}

.start-like__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-5);
}

@media (min-width: 1000px) {
    .start-like {
        padding: var(--space-7);
    }
}

@media (min-width: 1200px) {
    .start-like {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: last baseline;
        gap: var(--col-gap);
    }
}

.split > *,
.story > *,
.start-like > *,
.related > *,
.mega__inner > *,
.menu-panel__groups > *,
.process > *,
.guide-body__grid > *,
.studio > *,
.palettes > *,
.under > *,
.under__art > *,
.area > *,
.schedule > *,
.faq-layout > *,
.final > *,
.reviews > *,
.strata-card,
.studio__plan,
.plan-art,
.valley {
    min-width: 0;
}

@media (max-width: 759px) {
    .strata-card__art {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .strata-card__art .strata {
        min-width: 600px;
    }

    .strata-card__art .strata--shortcut {
        width: 600px;
    }

    .plan-art {
        overflow-x: auto;
        scrollbar-width: none;
        background: #fbfaf6;
        box-shadow: var(--shadow-lift);
    }

    .plan-art .siteplan {
        min-width: 780px;
        border-radius: 0;
        box-shadow: none;
    }

    .swipe-hint {
        display: block !important;
    }
}

.swipe-hint {
    display: none;
    margin-bottom: var(--space-2);
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-align: right;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        scroll-behavior: auto !important;
    }
}

.work__more {
    margin-top: var(--space-6);
    color: var(--ink-soft);
}

.mega__all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    margin-top: var(--space-2);
    padding: 0 var(--space-3);
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--stone-300);
    text-underline-offset: 5px;
}

.mega__card .mega__card-label {
    margin-top: var(--space-4);
}

.footer-col__title a {
    color: inherit;
    text-decoration: none;
}

.deliverables {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: deliverable;
}

@media (min-width: 600px) and (max-width: 999px) {
    .deliverables:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .deliverables:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.deliverable {
    position: relative;
    display: grid;
    gap: var(--space-3);
    align-content: start;
    padding: var(--space-5) var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    counter-increment: deliverable;
}

.deliverable::after {
    content: counter(deliverable, decimal-leading-zero);
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    font-family: var(--display);
    color: var(--stone-300);
}

@media (min-width: 600px) {
    .deliverable {
        grid-row: span 3;
        grid-template-rows: subgrid;
        row-gap: var(--space-3);
    }
}

.deliverable .icon {
    width: 28px;
    height: 28px;
    color: var(--red-deep);
}

.deliverable .t-h3 {
    font-size: 1.3rem;
}

.deliverable p {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.fee-note {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-5);
    border-left: 3px solid var(--red);
    background: var(--stone);
}

@media (min-width: 1000px) {
    .fee-note {
        max-width: var(--two-thirds);
    }
}

.fee-note p {
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1.55;
}

.gallery--n1 .gallery__main {
    aspect-ratio: 4 / 3;
}

.gallery--n1 .gallery__main img {
    object-position: 50% 18%;
}

@media (max-width: 899px) {
    .gallery--n2 figure:last-child,
    .gallery--n4 figure:last-child,
    .gallery--n6 figure:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 900px) {
    .gallery--n1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery--n1 .gallery__main {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 3 / 2;
        max-height: 82vh;
    }

    .gallery--n2 .gallery__main {
        grid-row: 1;
        aspect-ratio: 4 / 3;
    }

    .gallery--n2 figure:nth-child(2) {
        aspect-ratio: auto;
        contain: size;
    }

    .gallery--n4 figure:nth-child(4),
    .gallery--n6 figure:nth-child(6) {
        grid-column: 1 / -1;
        aspect-ratio: 21 / 9;
    }
}

.page-hero__title--long {
    max-width: 22ch;
    font-size: clamp(2.1rem, 1.1rem + 3.3vw, 4rem);
}

.toc,
.callout,
.checklist {
    padding: var(--space-5);
}

@media (min-width: 900px) {
    .toc,
    .checklist {
        padding: var(--space-6);
    }

    .callout {
        padding: var(--space-6) var(--space-6) var(--space-6) calc(var(--space-6) - 3px);
    }
}

@media (max-width: 899px) {
    .callout {
        padding-left: calc(var(--space-5) - 3px);
    }
}

.toc {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    border-radius: var(--r-lg);
    background: var(--stone);
}

.toc__title {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.toc ol,
.sources ol {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: entry;
}

.toc ol {
    margin-bottom: calc((1lh - 44px) / 2);
}

.toc li,
.sources li {
    display: grid;
    grid-template-columns: 1.8em minmax(0, 1fr);
    align-items: baseline;
    counter-increment: entry;
}

.toc li::before,
.sources li::before {
    content: counter(entry) '.';
    font-variant-numeric: tabular-nums;
}

.toc a {
    display: inline-block;
    padding-block: calc((44px - 1lh) / 2);
    color: var(--ink);
    text-decoration-color: var(--stone-300);
    text-underline-offset: 5px;
    text-wrap: balance;
}

.guide-body__main > p a,
.guide-body__main li a,
.legal a,
.step a,
.consult a:not(.btn) {
    text-decoration-color: var(--red);
    text-underline-offset: 4px;
}

.callout {
    display: grid;
    gap: var(--space-2);
    border-left: 3px solid var(--red);
    background: var(--stone);
}

.callout__title {
    font-weight: 650;
}

.callout p {
    color: var(--ink-soft);
}

.checklist {
    display: grid;
    gap: var(--space-4);
    margin-top: var(--space-6);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.checklist ul {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-3);
    line-height: 1.55;
    text-wrap: balance;
}

.checklist .icon {
    margin-top: 3px;
    color: var(--red-deep);
}

.sources {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-2);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.sources__title {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.sources ol {
    gap: var(--space-2);
}

.sources a {
    overflow-wrap: anywhere;
}

.guide-form--card {
    margin-top: var(--space-2);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.answer-box--lead {
    margin-bottom: var(--head-gap);
}

.consult {
    padding-block: var(--head-gap) var(--section-y);
}

.consult__grid {
    display: grid;
    gap: var(--space-6);
}

.estimate--page {
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.estimate--page form {
    display: block;
    height: auto;
    max-height: none;
}

.estimate--page .est-body {
    overflow: visible;
}

.estimate--page .est-foot {
    background: var(--paper);
}

@media (min-width: 900px) {
    .estimate--page .est-foot {
        position: sticky;
        bottom: 0;
    }
}

.consult__aside {
    display: grid;
    gap: var(--space-4);
    align-content: start;
}

.consult__card {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.consult__card--quiet {
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
}

.consult__card .t-h3 {
    font-size: 1.3rem;
}

.consult__steps {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.consult__steps li {
    padding-left: calc(1.2em + var(--space-3));
    counter-increment: step;
}

.consult__steps li::before {
    display: inline-block;
    width: calc(1.2em + var(--space-3));
    margin-left: calc(-1.2em - var(--space-3));
    content: counter(step) '.';
    font-variant-numeric: tabular-nums;
}

.consult__steps strong {
    color: var(--ink);
}

.consult__fit {
    display: grid;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
}

.consult__fit li {
    display: grid;
    grid-template-columns: 1.2em minmax(0, 1fr);
    gap: var(--space-3);
}

.consult__fit .icon {
    margin-top: var(--space-1);
    color: var(--red-deep);
}

.consult__not {
    color: var(--ink-faint);
}

.consult__not .icon {
    color: var(--ink-faint);
}

.consult__phone {
    font-weight: 650;
}

@media (min-width: 1000px) {
    .consult__grid {
        grid-template-columns: var(--two-thirds) minmax(0, 1fr);
        column-gap: var(--col-gap);
        row-gap: var(--space-6);
    }

    .consult__aside {
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
    }
}

.thanks {
    padding-block: var(--head-gap) var(--section-y);
}

.thanks__grid {
    display: grid;
    gap: var(--space-7);
}

.thanks__grid + .wrap {
    margin-top: var(--head-gap);
}

.thanks__next {
    display: grid;
    gap: var(--space-4);
    align-content: start;
    padding: var(--space-6);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.thanks__next .reading-list li:last-child a {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (min-width: 1000px) {
    .thanks__grid {
        grid-template-columns: var(--two-thirds) minmax(0, 1fr);
        gap: var(--col-gap);
        align-items: center;
    }
}

.people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: var(--space-6) var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

.person-card a,
.person-card .person-card__plain {
    display: grid;
    gap: var(--space-2);
    text-decoration: none;
}

.person-card__portrait {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    margin-bottom: var(--space-3);
    background: var(--stone-100);
    font-family: var(--display);
    font-size: 3rem;
    color: var(--stone-500);
    clip-path: polygon(0 0, calc(100% - 44px) 0, 100% calc(44px * var(--cut-ratio)), 100% 100%, 0 100%);
    transition: background-color 0.25s ease;
}

.person-card a:hover .person-card__portrait {
    background: var(--stone-300);
}

.person-card__name {
    font-family: var(--display);
    font-size: 1.3rem;
    line-height: 1.2;
}

.person-card__role {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.person-bio {
    max-width: 60ch;
    font-family: var(--display);
    font-size: 1.2rem;
    line-height: 1.6;
}

.split__note {
    max-width: 50ch;
    color: var(--ink-soft);
}

.lanes-card {
    display: grid;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.lanes-card__row {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-6);
}

.lanes-card__row + .lanes-card__row {
    border-top: 1px solid var(--line);
}

.lanes-card__row strong {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 420;
    line-height: 1.25;
}

.lanes-card__row span:last-child {
    color: var(--ink-soft);
}

@media (min-width: 1000px) {
    .about-facts {
        max-width: var(--two-thirds);
    }
}

.spec-list {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--line);
}

.spec-list div {
    display: grid;
    gap: var(--space-1);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
}

.spec-list dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.spec-list dd {
    margin: 0;
}

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

@media (min-width: 640px) {
    .spec-list div {
        grid-template-columns: 210px minmax(0, 1fr);
        align-items: baseline;
        gap: var(--space-5);
    }
}

@media (min-width: 1000px) {
    .about-facts div {
        grid-template-columns: calc((100% - 7 * var(--col-gap)) / 4 + var(--col-gap)) minmax(0, 1fr);
        column-gap: var(--col-gap);
    }
}

.scores--page {
    width: 100%;
    max-width: 640px;
    margin-top: var(--space-3);
}

.review-wall {
    column-gap: var(--space-6);
}

.review--card {
    break-inside: avoid;
    margin-bottom: var(--space-6);
}

@media (min-width: 760px) {
    .review-wall {
        columns: 2;
    }
}

@media (min-width: 1150px) {
    .review-wall {
        columns: 3;
    }
}

.steps {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--page);
}

.step__mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--black);
    color: var(--on-dark);
}

.step__head {
    display: grid;
    gap: var(--space-1);
    align-content: start;
}

.step__number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--red-deep);
}

.step__when {
    font-size: 0.9rem;
    color: var(--ink-faint);
}

.step__when::first-letter {
    text-transform: uppercase;
}

.step__text {
    color: var(--ink-soft);
}

.step__facts {
    display: grid;
    gap: var(--space-3);
    margin: auto 0 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

.step__facts div {
    display: grid;
    gap: 2px;
}

.step__facts dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.step__facts dd {
    margin: 0;
    font-size: 0.95rem;
}

@media (min-width: 560px) and (max-width: 719px), (min-width: 960px) {
    .step__facts div {
        grid-template-columns: 124px minmax(0, 1fr);
        align-items: baseline;
        gap: var(--space-4);
    }
}

@media (min-width: 720px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--col-gap);
    }

    .step {
        display: grid;
        grid-row: span 6;
        grid-template-rows: subgrid;
        row-gap: var(--space-4);
    }

    .step__facts {
        grid-row: span 3;
        grid-template-rows: subgrid;
        row-gap: var(--space-3);
        margin-top: 0;
    }
}

@media (min-width: 1000px) {
    .money {
        max-width: var(--two-thirds);
    }
}

.fit-cards {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 720px) and (max-width: 999px) {
    .fit-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--col-gap);
    }
}

.fit-card {
    display: grid;
    gap: var(--space-2);
    align-content: start;
    padding: var(--space-5) var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.fit-card p {
    color: var(--ink-soft);
}

.fit-card--no {
    border: 1px dashed var(--stone-300);
    background: transparent;
    box-shadow: none;
}

.season {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    --label: 64px;
}

.season__months {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-left: var(--label);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--ink-faint);
}

.season__row {
    position: relative;
    height: 30px;
    background: linear-gradient(var(--line), var(--line)) var(--label) 50% / calc(100% - var(--label)) 1px no-repeat;
}

.season__label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
}

.season__bar {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: calc(var(--label) + (100% - var(--label)) * (var(--from) - 1) / 12);
    width: calc((100% - var(--label)) * (var(--to) - var(--from)) / 12);
    border-radius: 999px;
}

.season__bar--design {
    background: var(--black);
}

.season__bar--build {
    background: var(--red);
}

.season__bar--plant {
    background: #5d7a4f;
}

.season__bar--water {
    background: #4a7690;
}

.faq-hub {
    display: grid;
    gap: var(--space-7);
}

.faq-hub__nav {
    display: grid;
    gap: var(--space-3);
    align-content: start;
}

.faq-hub__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-hub__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
}

.faq-hub__groups {
    display: grid;
    gap: var(--space-8);
}

.faq-hub__title {
    margin-bottom: var(--space-4);
}

@media (min-width: 1000px) {
    .faq-hub {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: var(--col-gap);
        align-items: start;
    }

    .faq-hub__groups {
        grid-column: 1 / span 8;
        grid-row: 1;
    }

    .faq-hub__nav {
        grid-column: 9 / -1;
        grid-row: 1;
        position: sticky;
        top: calc(var(--header-h) + var(--space-5));
        gap: var(--space-4);
    }

    .faq-hub__nav > .t-label {
        line-height: calc(1.6rem * 1.15);
    }

    .faq-hub__nav ul {
        display: grid;
        gap: 0;
        border-top: 1px solid var(--line);
    }

    .faq-hub__nav a {
        display: flex;
        padding: 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }
}

.zip-check {
    display: grid;
    gap: var(--space-3);
    width: 100%;
    max-width: 460px;
    padding: var(--space-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.zip-check label {
    font-weight: 650;
}

.zip-check__row {
    display: flex;
    gap: var(--space-3);
}

.zip-check__row .input {
    flex: 1;
    min-width: 0;
    max-width: none;
    font-size: 1.0625rem;
}

.zip-check__result {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.zip-check__result.is-yes {
    color: #2f6b3a;
    font-weight: 600;
}

.zip-check__result.is-near {
    color: var(--ink);
}

.city-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 600px) and (max-width: 999px) {
    .city-cards:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .city-cards:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.city-card a {
    display: grid;
    gap: var(--space-2);
    height: 100%;
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--page);
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.city-card a:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.city-card__name {
    font-family: var(--display);
    font-size: 1.7rem;
    line-height: 1.1;
}

.city-card__hoods {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.city-card__meta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--red-deep);
}

.city-cards__note {
    max-width: 70ch;
    margin-top: var(--space-6);
    color: var(--ink-soft);
}

.page-hero .zip-check {
    border: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
    background: color-mix(in srgb, var(--black) 72%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.page-hero .zip-check .input {
    color: var(--ink);
}

.page-hero .zip-check label {
    color: var(--on-dark);
}

.page-hero .zip-check__result {
    color: var(--on-dark-soft);
}

.page-hero .zip-check__result a {
    color: var(--on-dark);
}

@media (min-width: 1000px) {
    .valley--page {
        width: calc(100% - 2 * ((100% - 11 * var(--col-gap)) / 12 + var(--col-gap)));
        margin-inline: auto;
    }
}

.page-hero .zip-check__result.is-yes {
    color: #9fd8ab;
}

.page-hero .zip-check__result.is-near {
    color: var(--on-dark);
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--space-7) var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) and (max-width: 999px) {
    .type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .type-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .type-grid > :last-child:nth-child(odd) a {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--col-gap);
    }
}

.type-card a {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
    text-decoration: none;
}

.type-card__photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    background: var(--stone-100);
}

.type-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.type-card a:hover .type-card__photo img {
    transform: scale(1.04);
}

.type-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
}

.type-card__range {
    margin-top: auto;
}

.type-card__name {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-family: var(--display);
    font-size: 1.5rem;
    line-height: 1.15;
}

.type-card__name .icon {
    margin-top: calc((1lh - 1.2em) / 2);
    color: var(--red-deep);
}

.type-card__text {
    color: var(--ink-soft);
}

.type-card__range {
    font-size: 0.85rem;
    font-weight: 600;
}

.filters {
    display: grid;
    gap: var(--space-5);
    margin-bottom: var(--space-4);
}

.filters__group {
    display: grid;
    gap: var(--space-2);
}

.filters__options {
    display: flex;
    gap: var(--space-2);
    margin: calc(-1 * var(--space-2)) calc(-1 * var(--gutter-r)) calc(-1 * var(--space-2)) calc(-1 * var(--gutter-l));
    padding: var(--space-2) var(--gutter-r) var(--space-2) var(--gutter-l);
    overflow-x: auto;
    scrollbar-width: none;
}

.filters__options::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: none;
}

@media (min-width: 700px) {
    .filters__group {
        grid-template-columns: calc((100% - 11 * var(--col-gap)) / 12) minmax(0, 1fr);
        align-items: start;
        column-gap: var(--col-gap);
    }

    .filters__group .t-label {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .filters__options {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--page);
    font-size: 0.88rem;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.filter-chip small {
    font-size: 0.75rem;
    color: var(--ink-faint);
}

.filter-chip[aria-pressed='true'] {
    border-color: var(--black);
    background: var(--black);
    color: var(--on-dark);
}

.filter-chip[aria-pressed='true'] small {
    color: var(--on-dark-soft);
}

.filters__status {
    margin-bottom: var(--space-6);
    font-size: 0.9rem;
    color: var(--ink-faint);
}

.project-tile {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
}

.project-tile .save-toggle {
    align-self: flex-start;
    margin-top: auto;
}

.work__note {
    display: grid;
    place-items: center;
    padding: var(--space-5);
    border: 1px dashed var(--stone-300);
    border-radius: var(--r-md);
    color: var(--ink-faint);
    text-align: center;
    text-wrap: balance;
}

.save-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    justify-self: start;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--ink-soft);
    cursor: pointer;
}

.save-toggle[aria-pressed='true'] {
    color: var(--red-deep);
}

.save-toggle[aria-pressed='true'] .icon {
    color: var(--red-deep);
    fill: var(--red-deep);
}

.shortlist {
    position: sticky;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: flex;
    justify-content: center;
    margin-top: var(--space-6);
    padding-inline: var(--gutter-l) var(--gutter-r);
    pointer-events: none;
}

.shortlist__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3) var(--space-4);
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
    border-radius: 999px;
    background: var(--black);
    color: var(--on-dark);
    box-shadow: var(--shadow-lift);
    pointer-events: auto;
}

@media (max-width: 899px) {
    .shortlist {
        bottom: calc(var(--mobilebar-h) + 12px + env(safe-area-inset-bottom, 0px));
    }

    .shortlist__inner {
        padding: var(--space-3) var(--space-4);
        border-radius: var(--r-lg);
        font-size: 0.9rem;
    }

    .shortlist__inner .btn {
        display: none;
    }
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: var(--space-7) var(--col-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-tile a {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
    text-decoration: none;
}

.guide-tile__photo {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--r-md);
    background: var(--stone-100);
}

.guide-tile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.guide-tile a:hover .guide-tile__photo img {
    transform: scale(1.04);
}

.guide-tile__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
}

.guide-tile__meta {
    margin-top: auto;
}

.guide-tile__title {
    font-family: var(--display);
    font-size: 1.6rem;
    line-height: 1.15;
}

.guide-tile__text {
    color: var(--ink-soft);
}

.guide-tile__meta {
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.reading-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.reading-list a {
    display: grid;
    gap: 2px;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.reading-list strong {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 450;
    line-height: 1.3;
}

.reading-list span {
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-wrap: balance;
}

.code-list {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.code-list li {
    display: grid;
    gap: var(--space-2);
}

.code-list span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ink-faint);
}

.code-list code {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--r-sm);
    background: var(--stone);
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.guide-body__main code {
    font-size: 0.88em;
}

.legal {
    padding-block: var(--head-gap) var(--section-y);
}

.legal__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
}

@media (min-width: 1000px) {
    .legal__wrap {
        grid-template-columns: minmax(0, var(--two-thirds));
    }
}

.legal__h {
    margin-top: var(--space-5);
}

.legal__wrap > :first-child {
    margin-top: 0;
}

.legal p {
    max-width: 68ch;
    overflow-wrap: anywhere;
    color: var(--ink-soft);
}

.legal__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-5);
    margin-top: var(--space-2);
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

.legal__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.consult__grid > *,
.thanks__grid > *,
.about-facts > *,
.money > *,
.faq-hub > *,
.type-card,
.guide-tile,
.city-card,
.step {
    min-width: 0;
}

.cost-links {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.cost-links ul {
    display: grid;
    gap: 0 var(--col-gap);
    margin: 0 0 calc((1lh - 44px) / 2);
    padding: 0;
    list-style: none;
}

@media (min-width: 800px) {
    .cost-links ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.cost-links a {
    display: inline-block;
    padding-block: calc((44px - 1lh) / 2);
    text-wrap: balance;
    color: var(--ink);
    text-decoration-color: var(--red);
    text-underline-offset: 5px;
}

.pricing th a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration-color: var(--stone-300);
    text-underline-offset: 4px;
}

.planner-keep {
    container-type: inline-size;
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent);
}

@media (min-width: 1000px) {
    .planner-keep {
        max-width: calc((100% - var(--col-gap)) / 2);
    }
}

.planner-keep__title {
    color: var(--on-dark-soft);
}

.planner-keep__title strong {
    color: var(--on-dark);
}

.planner-keep .input {
    border-color: color-mix(in srgb, var(--on-dark) 28%, transparent);
    background: color-mix(in srgb, var(--on-dark) 6%, transparent);
    color: var(--on-dark);
}

.planner-keep .input::placeholder {
    color: var(--on-dark-soft);
}

.planner-keep .guide-form__fine {
    color: var(--on-dark-soft);
}

.planner-keep.is-sent .guide-form__row {
    display: none;
}

.case--feature .case__gallery--single {
    grid-template-columns: minmax(0, 1fr);
}

.case--feature .case__gallery--single .case__photo--main {
    grid-column: 1 / -1;
}

@media (min-width: 1000px) {
    .case--feature .case__gallery--single {
        grid-template-rows: minmax(0, 1fr);
    }

    .case--feature .case__gallery--single .case__photo--main {
        grid-row: 1;
    }
}

/* ---- The design's own additions ---- */
/* What the platform draws differently from the studio's site: the icon library, the logo from Brand (with its
   version for dark grounds), the header before the script runs, the towns' map drawn from latitudes, the sections
   built from content's parts, and the related lists' rows without a style attribute */

.icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Before the script runs (and without it), the header scrolls away with the dark top it sits on */
html.no-js .site-header.is-on-hero {
    position: relative;
}

.logo__img {
    max-width: min(240px, 46vw);
    object-fit: contain;
    object-position: left center;
}

.site-header .logo__img--dark,
.site-header.is-on-hero .logo__img--light,
.site-header .logo__words--light,
.site-header.is-on-hero .logo__words--dark {
    display: none;
}

.site-header.is-on-hero .logo__img--dark,
.site-header.is-on-hero .logo__words--light {
    display: block;
}

.logo__words {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
}

.site-header.is-on-hero .logo__words {
    color: var(--on-dark);
}

.footer-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* A stacked or square logo as the studio's stacked one, no taller than it; a wide one wider, so its words read as
   large */
.footer-logo:not(.logo--wide) img {
    width: auto;
    max-height: 116px;
}

.footer-logo.logo--wide {
    width: min(264px, 100%);
}

.footer-logo .logo__words {
    color: var(--on-dark);
    font-size: 1.8rem;
}

.no-js-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    padding-block: var(--space-4);
}

.page-hero--plain .page-hero__media {
    background: var(--black);
}

.related--rows-1 {
    --items: 1;
}
.related--rows-2 {
    --items: 2;
}
.related--rows-3 {
    --items: 3;
}
.related--rows-4 {
    --items: 4;
}
.related--rows-5 {
    --items: 5;
}
.related--rows-6 {
    --items: 6;
}
.related--rows-7 {
    --items: 7;
}
.related--rows-8 {
    --items: 8;
}
.related--rows-9 {
    --items: 9;
}
.related--rows-10 {
    --items: 10;
}
.related--rows-11 {
    --items: 11;
}
.related--rows-12 {
    --items: 12;
}

@media (min-width: 1000px) {
    .lanes--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .palettes--one {
        grid-template-columns: minmax(0, 1fr);
    }

    .studio--words {
        grid-template-columns: minmax(0, 1fr);
    }
}

.svc__range {
    display: block;
    margin-top: var(--space-1);
    color: var(--red-deep);
    font-weight: 600;
}

.section--inverse .svc__range {
    color: var(--red-on-dark);
}

/* The featured shot fills the two rows beside it, whatever its own proportions */
@media (min-width: 1000px) {
    .showcase__shot--feature a {
        position: absolute;
        inset: 0;
    }
}

.person-card__portrait--photo {
    overflow: hidden;
    padding: 0;
}

.person-card__portrait--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reassure__guides {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
}

.section-photo {
    margin: 0;
}

.section-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
}

.section-photo figcaption {
    margin-top: var(--space-3);
    color: var(--ink-faint);
    font-size: 0.9rem;
}

.band-parts > * + * {
    margin-top: var(--space-6);
}

.band-parts > p {
    max-width: 68ch;
}

.here__words p + p {
    margin-top: var(--space-4);
}

.back-soon {
    padding-block: var(--section-y);
}

/* The towns' map: a light plate wherever it sits, each town a dot at its true bearing, the home base the night's own */
.town-map svg {
    font-family: var(--sans);
}

.town-map__disc {
    fill: #fbfaf6;
}

.town-map__ring {
    fill: none;
    stroke: #cdc9c0;
    stroke-width: 1;
    stroke-dasharray: 3 5;
}

.town-map__north {
    fill: none;
    stroke: #66655f;
    stroke-width: 2;
}

.town-map__n,
.town-map__mi {
    fill: #66655f;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-anchor: middle;
}

.town-map__leader {
    stroke: #cdc9c0;
    stroke-width: 1;
}

.town-map__dot {
    fill: var(--nf-red-deep, #b01d24);
    stroke: #ffffff;
    stroke-width: 2;
}

.town-map__home {
    fill: var(--black);
    stroke: #ffffff;
    stroke-width: 3;
}

.town-map__label {
    fill: #0a0b0f;
    font-size: 19px;
    font-weight: 500;
    paint-order: stroke;
    stroke: #f7f6f0;
    stroke-width: 4px;
    stroke-linejoin: round;
}

.town-map__label.is-home {
    font-size: 23px;
    font-weight: 650;
}

/* The phone's plane, with larger names (map.ts's PHONE_LABEL), in place of the wide one below 600 wide */
.town-map__plane--phone .town-map__label {
    font-size: 22px;
}

.town-map__plane--phone .town-map__label.is-home {
    font-size: 26px;
}

.town-map__plane--phone .town-map__mi,
.town-map__plane--phone .town-map__n {
    font-size: 18px;
}

.town-map .town-map__plane--phone {
    display: none;
}

@media (max-width: 599px) {
    .town-map .town-map__plane--wide:has(+ .town-map__plane--phone) {
        display: none;
    }

    .town-map .town-map__plane--phone {
        display: block;
    }
}

/* The studio's own drawn map: whole where there's room, and on a phone cropped closer to its middle, where the towns
   gather, at twice the size, so its names read as the studio's own map draws them larger on a phone */
.town-map--drawn img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 759px) {
    .town-map--drawn {
        aspect-ratio: 1;
    }

    .town-map--drawn img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200%;
        max-width: none;
        transform: translate(-50%, -50%);
    }
}

/* The finale's sky and hills, colored from the palette */
.dusk__star {
    fill: color-mix(in srgb, var(--on-dark) 92%, var(--red));
}

.dusk__ridge--1 {
    fill: color-mix(in srgb, var(--black) 86%, var(--paper));
}

.dusk__ridge--2 {
    fill: color-mix(in srgb, var(--black) 93%, var(--paper));
}

.dusk__ridge--3 {
    fill: var(--black);
}

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

/* People on a phone: two to a row, and a portrait with no photo kept square */
@media (max-width: 639px) {
    .people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .person-card__portrait:not(.person-card__portrait--photo) {
        aspect-ratio: 1;
        font-size: 2rem;
    }
}

/* A town card's count on the dark band: the words in the light ink (the card's ground is a shade lighter than the
   band the accent is walked against), the arrow in the accent */
.section--inverse .city-card__meta {
    color: var(--on-dark);
}
.section--inverse .city-card__meta .icon {
    color: var(--red-on-dark);
}

/* Night Fox's credit is underlined, so it reads as a link inside its line */
.footer-legal__credit a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
