/* Homepage redesign: editorial hero, nail tunnel, and studio gallery. */

.home-hero {
    --hero-ink: #2d211c;
    --hero-muted: #6f625a;
    --hero-bronze: #9a7552;
    --hero-line: rgba(91, 65, 47, 0.14);
    position: relative;
    isolation: isolate;
    min-height: min(820px, calc(100vh - 150px));
    overflow: hidden;
    color: var(--hero-ink);
    background:
        radial-gradient(circle at 76% 48%, rgba(255, 255, 255, 0.96) 0 7%, rgba(250, 240, 230, 0.54) 23%, transparent 48%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9), transparent 32%),
        linear-gradient(118deg, #f8f4ef 0%, #f1e9df 50%, #eadbcd 100%);
}

.home-hero::before,
.home-hero::after {
    position: absolute;
    z-index: -1;
    width: 44vw;
    height: 44vw;
    border: 1px solid rgba(132, 96, 68, 0.1);
    border-radius: 50%;
    content: "";
}

.home-hero::before {
    top: -28vw;
    left: -12vw;
}

.home-hero::after {
    right: -18vw;
    bottom: -30vw;
}

.home-hero__ambient {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.home-hero__ambient::before {
    position: absolute;
    top: -25%;
    left: 43%;
    width: 22%;
    height: 140%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
    filter: blur(32px);
    content: "";
    transform: rotate(17deg);
}

.home-hero__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.84fr) minmax(560px, 1.16fr);
    align-items: center;
    width: min(100% - 72px, 1540px);
    min-height: inherit;
    margin: 0 auto;
}

.home-hero__copy {
    position: relative;
    z-index: 20;
    max-width: 640px;
    padding: 72px 0 88px;
}

.home-hero__eyebrow,
.studio-gallery__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 24px;
    padding: 4px 13px;
    border: 1px solid rgba(136, 98, 67, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    color: #7f5f45;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 690px;
    margin: 0;
    color: var(--hero-ink);
    font-family: var(--font-display);
    font-size: clamp(58px, 5.6vw, 92px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.88;
}

.home-hero__title span,
.home-hero__title em {
    display: block;
}

.home-hero__title em {
    min-height: 1em;
    margin-top: 0.12em;
    color: var(--hero-bronze);
    font-weight: 400;
    transition: opacity 260ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.home-hero__title em.is-exiting {
    opacity: 0;
    transform: translateY(14px);
}

.home-hero__title em.is-entering {
    animation: home-title-in 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

@keyframes home-title-in {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
}

.home-hero__intro {
    max-width: 550px;
    margin: 31px 0 0;
    color: var(--hero-muted);
    font-family: var(--font-ui);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.65;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    gap: 10px 24px;
    margin-top: 30px;
}

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    min-height: 52px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.home-hero__button:hover {
    transform: translateY(-2px);
}

.home-hero__button--primary {
    padding: 0 15px 0 22px;
    background: var(--hero-ink);
    color: #fff;
    box-shadow: 0 14px 28px rgba(46, 31, 24, 0.16);
}

.home-hero__button--primary > span:last-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.home-hero__button--primary:hover {
    color: #fff;
    background: #4a352a;
}

.home-hero__button--text {
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(59, 42, 34, 0.25);
    background: rgba(255, 252, 248, 0.48);
    color: var(--hero-ink);
}

.home-hero__button--text:hover {
    border-color: var(--hero-ink);
    color: #fff;
    background: var(--hero-ink);
}

.home-hero__button:active {
    transform: translateY(1px) scale(0.985);
}

.home-hero__details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 31px 0 0;
    padding: 0;
    color: #756a62;
    font-family: var(--font-ui);
    font-size: 11px;
    list-style: none;
}

.home-hero__details li {
    display: flex;
    align-items: center;
}

.home-hero__details li > span:first-child {
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #b89569;
    box-shadow: 0 0 0 4px rgba(184, 149, 105, 0.1);
}

.image-tunnel {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 680px;
}

.image-tunnel__rings {
    position: absolute;
    inset: 7% -6% 11% 0;
    background:
        radial-gradient(circle at center, transparent 0 18%, rgba(144, 106, 77, 0.1) 18.15% 18.35%, transparent 18.5% 34%, rgba(144, 106, 77, 0.09) 34.15% 34.35%, transparent 34.5% 50%, rgba(144, 106, 77, 0.08) 50.15% 50.35%, transparent 50.5% 66%, rgba(144, 106, 77, 0.07) 66.15% 66.35%, transparent 66.5%);
    pointer-events: none;
}

.image-tunnel__rings::after {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 250, 244, 0.98), rgba(246, 224, 209, 0.35) 36%, transparent 70%);
    filter: blur(18px);
    content: "";
}

.image-tunnel__viewport {
    position: absolute;
    inset: 5% -2% 11% -2%;
    overflow: hidden;
    perspective: 900px;
    perspective-origin: 50% 50%;
    clip-path: ellipse(50% 48% at 50% 50%);
    -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 0 68%, rgba(0, 0, 0, 0.88) 80%, rgba(0, 0, 0, 0.28) 93%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 48% at 50% 50%, #000 0 68%, rgba(0, 0, 0, 0.88) 80%, rgba(0, 0, 0, 0.28) 93%, transparent 100%);
}

.image-tunnel__scene {
    --tunnel-rx: 0deg;
    --tunnel-ry: 0deg;
    position: absolute;
    inset: 0;
    transform: rotateX(var(--tunnel-rx)) rotateY(var(--tunnel-ry));
    transform-style: preserve-3d;
    transition: transform 110ms linear;
}

.tunnel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(118px, 10vw, 164px);
    aspect-ratio: 1.12 / 1;
    margin: 0;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.86);
    border-radius: 19px;
    background: #e5d7cd;
    box-shadow: 0 22px 45px rgba(58, 40, 31, 0.21), 0 4px 12px rgba(58, 40, 31, 0.12);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: center;
    will-change: transform, opacity, filter;
}

.tunnel-card--portrait {
    width: clamp(105px, 8.6vw, 142px);
    aspect-ratio: 0.76 / 1;
}

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

.image-tunnel__core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 140;
    display: grid;
    width: clamp(118px, 9.3vw, 146px);
    aspect-ratio: 1;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(142, 105, 76, 0.18);
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.94);
    box-shadow: 0 20px 65px rgba(82, 52, 36, 0.2), inset 0 0 0 8px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
}

.image-tunnel__core::before {
    position: absolute;
    inset: -44%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 220, 0.95), rgba(212, 169, 134, 0.22) 42%, transparent 69%);
    filter: blur(6px);
    content: "";
    animation: tunnel-halo 4.5s ease-in-out infinite;
}

@keyframes tunnel-halo {
    50% {
        opacity: 0.62;
        transform: scale(1.12);
    }
}

.image-tunnel__core img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.image-tunnel__core small {
    position: absolute;
    top: calc(100% + 13px);
    width: max-content;
    color: #8a6b55;
    font-family: var(--font-ui);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.image-tunnel__footer {
    position: absolute;
    right: 4%;
    bottom: 4%;
    left: 5%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.image-tunnel__footer a,
.image-tunnel__toggle {
    color: #4a3a30;
}

.image-tunnel__footer a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.image-tunnel__toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 0;
    border: 0;
    background: transparent;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

.image-tunnel__toggle > span {
    width: 8px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.image-tunnel__toggle[aria-pressed="true"] > span {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 0;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}

.image-tunnel__toggle b {
    font: inherit;
}

.home-hero a:focus-visible,
.home-hero button:focus-visible {
    outline: 2px solid #6d4935;
    outline-offset: 5px;
}

/* Studio image grid replacing the former homepage services section. */
.studio-gallery {
    width: min(100% - 72px, 1440px);
    margin: 0 auto;
    padding: clamp(92px, 9vw, 150px) 0;
}

.studio-gallery__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 46px;
}

.studio-gallery__heading h2 {
    max-width: 850px;
    margin: 0;
    color: #3b2a22;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.studio-gallery__heading > p {
    max-width: 440px;
    margin: 0 0 7px;
    color: #75675e;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.75;
}

.studio-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(3, clamp(190px, 17vw, 260px));
    gap: 12px;
}

.studio-gallery__item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ddcec2;
}

.studio-gallery__item:nth-child(1) {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.studio-gallery__item:nth-child(2) {
    grid-column: 7 / 10;
    grid-row: 1 / 3;
}

.studio-gallery__item:nth-child(3) {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
}

.studio-gallery__item:nth-child(4) {
    grid-column: 1 / 8;
    grid-row: 3;
}

.studio-gallery__item:nth-child(5) {
    grid-column: 8 / 13;
    grid-row: 3;
}

.studio-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.studio-gallery__item:hover img {
    transform: scale(1.035);
}

.studio-gallery__item::after {
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent, rgba(39, 27, 21, 0.6));
    content: "";
    pointer-events: none;
}

.studio-gallery__item figcaption {
    position: absolute;
    right: 20px;
    bottom: 17px;
    left: 20px;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    font-family: var(--font-ui);
}

.studio-gallery__item figcaption span {
    font-size: 9px;
    letter-spacing: 0.15em;
    opacity: 0.72;
}

.studio-gallery__item figcaption b {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

@media (max-width: 1199px) {
    .home-hero__layout {
        grid-template-columns: minmax(330px, 0.78fr) minmax(490px, 1.22fr);
        width: min(100% - 48px, 1180px);
    }

    .home-hero__title {
        font-size: clamp(54px, 6.2vw, 76px);
    }

    .home-hero__details {
        gap: 10px 15px;
    }
}

@media (max-width: 991px) {
    .home-hero {
        min-height: 1050px;
    }

    .home-hero__layout {
        display: block;
        width: 100%;
    }

    .home-hero__copy {
        max-width: 720px;
        margin: 0 auto;
        padding: 68px 32px 0;
        text-align: center;
    }

    .home-hero__title {
        max-width: 720px;
        font-size: clamp(56px, 9.3vw, 82px);
    }

    .home-hero__intro {
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero__actions,
    .home-hero__details {
        justify-content: center;
    }

    .image-tunnel {
        min-height: 590px;
        margin-top: -10px;
    }

    .image-tunnel__viewport {
        inset: 1% 0 11%;
    }

    .image-tunnel__rings {
        inset: 0 -8% 8%;
    }

    .studio-gallery {
        width: min(100% - 40px, 920px);
    }

    .studio-gallery__heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        min-height: 890px;
    }

    .home-hero__copy {
        padding: 40px 20px 0;
    }

    .home-hero__eyebrow {
        margin-bottom: 18px;
    }

    .home-hero__title {
        font-size: clamp(42px, 11.8vw, 52px);
        line-height: 0.91;
    }

    .home-hero__intro {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.55;
    }

    .home-hero__actions {
        gap: 12px;
        margin-top: 22px;
    }

    .home-hero__button--primary {
        min-height: 48px;
        padding-left: 17px;
        font-size: 11px;
    }

    .home-hero__button--text {
        display: none;
    }

    .home-hero__details {
        gap: 9px 16px;
        margin-top: 20px;
        font-size: 9px;
    }

    .home-hero__details li:last-child {
        display: none;
    }

    .image-tunnel {
        min-height: 430px;
        margin-top: 0;
    }

    .image-tunnel__viewport {
        inset: -2% -9% 10%;
        clip-path: ellipse(56% 48% at 50% 50%);
        -webkit-mask-image: radial-gradient(ellipse 56% 48% at 50% 50%, #000 0 68%, rgba(0, 0, 0, 0.88) 80%, rgba(0, 0, 0, 0.28) 93%, transparent 100%);
        mask-image: radial-gradient(ellipse 56% 48% at 50% 50%, #000 0 68%, rgba(0, 0, 0, 0.88) 80%, rgba(0, 0, 0, 0.28) 93%, transparent 100%);
        perspective: 760px;
    }

    .image-tunnel__rings {
        inset: -6% -24% 3%;
    }

    .tunnel-card {
        width: 94px;
        border-width: 2px;
        border-radius: 14px;
    }

    .tunnel-card--portrait {
        width: 78px;
    }

    .image-tunnel__core {
        width: 92px;
        padding: 11px;
    }

    .image-tunnel__core small {
        top: calc(100% + 9px);
        font-size: 6px;
    }

    .image-tunnel__footer {
        right: 18px;
        bottom: 10px;
        left: 18px;
        font-size: 8px;
    }

    .studio-gallery {
        width: calc(100% - 28px);
        padding: 80px 0;
    }

    .studio-gallery__heading {
        margin-bottom: 28px;
    }

    .studio-gallery__heading h2 {
        font-size: clamp(39px, 11.5vw, 54px);
    }

    .studio-gallery__heading > p {
        font-size: 13px;
    }

    .studio-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 250px 300px 180px;
        gap: 8px;
    }

    .studio-gallery__item {
        border-radius: 12px;
    }

    .studio-gallery__item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .studio-gallery__item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .studio-gallery__item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .studio-gallery__item:nth-child(4) {
        grid-column: 1;
        grid-row: 3;
    }

    .studio-gallery__item:nth-child(5) {
        grid-column: 2;
        grid-row: 3;
    }

    .studio-gallery__item figcaption {
        right: 12px;
        bottom: 11px;
        left: 12px;
    }

    .studio-gallery__item figcaption b {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__title em,
    .tunnel-card,
    .image-tunnel__scene,
    .image-tunnel__core::before,
    .studio-gallery__item img {
        animation: none !important;
        transition: none !important;
    }
}

/* July 2026 refinement: compact hero, lighter studio story, crawlable services. */
.home-hero {
    min-height: min(760px, calc(100dvh - 88px));
}

.home-hero__layout {
    grid-template-columns: minmax(490px, 0.96fr) minmax(520px, 1.04fr);
}

.home-hero__copy {
    max-width: 720px;
}

.home-hero__title {
    max-width: none;
    font-size: clamp(54px, 5.1vw, 82px);
}

.home-hero__title em {
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    font-size: 0.88em;
    letter-spacing: -0.06em;
}

.image-tunnel {
    min-height: 620px;
}

.studio-gallery {
    padding: clamp(76px, 7vw, 112px) 0 clamp(84px, 8vw, 128px);
}

.studio-gallery__heading {
    margin-bottom: 34px;
}

.studio-gallery__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: stretch;
}

.studio-gallery__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.68fr);
    grid-template-rows: repeat(2, clamp(190px, 17vw, 250px));
    gap: 10px;
}

.studio-gallery__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.studio-gallery__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.studio-gallery__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.studio-gallery__item:nth-child(n+4) {
    display: none;
}

.studio-gallery__story {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 3.2vw, 52px);
    border: 1px solid rgba(122, 92, 62, 0.16);
    border-radius: 4px 28px 4px 4px;
    background:
        radial-gradient(circle at 100% 0, rgba(218, 193, 168, 0.25), transparent 38%),
        rgba(255, 252, 248, 0.56);
}

.studio-gallery__kicker,
.local-services__eyebrow {
    margin: 0 0 15px;
    color: #8a674c;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.studio-gallery__story h3 {
    margin: 0;
    color: #3b2a22;
    font-family: var(--font-display);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-wrap: balance;
}

.studio-gallery__story > p:not(.studio-gallery__kicker) {
    margin: 24px 0 0;
    color: #6f625a;
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.75;
}

.studio-gallery__story ul {
    margin: 24px 0 0;
    padding: 0;
    color: #4d4038;
    font-family: var(--font-ui);
    font-size: 12px;
    list-style: none;
}

.studio-gallery__story li {
    position: relative;
    padding: 10px 0 10px 21px;
    border-top: 1px solid rgba(90, 67, 52, 0.11);
    line-height: 1.55;
}

.studio-gallery__story li::before {
    position: absolute;
    top: 17px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b89569;
    content: "";
}

.studio-gallery__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
}

.studio-gallery__links a {
    color: #3b2a22;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.studio-gallery__links a:first-child {
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
}

.studio-gallery__links a:hover {
    color: #9a7552;
}

.local-services {
    width: min(100% - 72px, 1440px);
    margin: 0 auto;
    padding: clamp(88px, 8vw, 132px) 0;
}

.local-services__header {
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.1fr);
    gap: clamp(30px, 6vw, 100px);
    align-items: start;
    padding-bottom: 42px;
}

.local-services__header h2 {
    max-width: 980px;
    margin: 0;
    color: #3b2a22;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.98;
    text-wrap: balance;
}

.local-services__header > div > p {
    max-width: 680px;
    margin: 24px 0 0;
    color: #72645b;
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.75;
}

.local-services__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(91, 65, 47, 0.18);
}

.local-services__list article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    gap: 16px;
    align-items: start;
    min-height: 170px;
    padding: 28px 28px 30px 0;
    border-bottom: 1px solid rgba(91, 65, 47, 0.18);
}

.local-services__list article:nth-child(even) {
    padding-right: 0;
    padding-left: 28px;
    border-left: 1px solid rgba(91, 65, 47, 0.18);
}

.local-services__list article > span {
    padding-top: 4px;
    color: #a58870;
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.12em;
}

.local-services__list h3 {
    margin: 0;
    color: #3b2a22;
    font-family: var(--font-display);
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.local-services__list p {
    max-width: 540px;
    margin: 12px 0 0;
    color: #72645b;
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1.7;
}

.local-services__list article > a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(91, 65, 47, 0.22);
    border-radius: 50%;
    color: #3b2a22;
    font-size: 13px;
    text-decoration: none;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.local-services__list article > a:hover {
    color: #fff;
    background: #3b2a22;
    transform: translateY(-2px);
}

.local-services__action {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 32px;
}

.local-services__action a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid rgba(59, 42, 34, 0.28);
    border-radius: 999px;
    color: #3b2a22;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.local-services__action a:last-child {
    border-color: #3b2a22;
    background: #3b2a22;
    color: #fff;
}

@media (max-width: 1199px) {
    .home-hero__layout {
        grid-template-columns: minmax(430px, 0.9fr) minmax(440px, 1.1fr);
    }

    .home-hero__title {
        font-size: clamp(50px, 5.6vw, 68px);
    }

    .home-hero__title em {
        font-size: 0.72em;
    }

    .studio-gallery__content {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
        gap: 28px;
    }
}

@media (max-width: 991px) {
    .home-hero {
        min-height: 980px;
    }

    .home-hero__layout {
        display: block;
    }

    .home-hero__title {
        max-width: none;
        font-size: clamp(52px, 8.6vw, 76px);
    }

    .home-hero__title em {
        margin-right: auto;
        margin-left: auto;
    }

    .image-tunnel {
        min-height: 520px;
    }

    .studio-gallery__content {
        grid-template-columns: 1fr;
    }

    .studio-gallery__story {
        max-width: none;
    }

    .local-services {
        width: min(100% - 40px, 920px);
    }

    .local-services__header {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .home-hero {
        min-height: 785px;
    }

    .home-hero__copy {
        padding-top: 34px;
    }

    .home-hero__title {
        font-size: clamp(39px, 11vw, 48px);
        line-height: 0.94;
    }

    .home-hero__title em {
        font-size: 0.72em;
        letter-spacing: -0.055em;
    }

    .home-hero__actions {
        width: 100%;
    }

    .home-hero__button--primary {
        width: min(100%, 310px);
        justify-content: space-between;
    }

    .image-tunnel {
        min-height: 345px;
    }

    .studio-gallery {
        padding: 70px 0 78px;
    }

    .studio-gallery__heading h2 {
        font-size: clamp(36px, 10.5vw, 48px);
    }

    .studio-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 220px 150px;
    }

    .studio-gallery__item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .studio-gallery__item:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .studio-gallery__item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .studio-gallery__story {
        padding: 28px 22px 30px;
        border-radius: 3px 22px 3px 3px;
    }

    .studio-gallery__story h3 {
        font-size: 34px;
    }

    .local-services {
        width: calc(100% - 28px);
        padding: 72px 0 82px;
    }

    .local-services__header {
        padding-bottom: 28px;
    }

    .local-services__header h2 {
        font-size: clamp(36px, 10.5vw, 48px);
    }

    .local-services__header > div > p {
        margin-top: 18px;
        font-size: 13px;
    }

    .local-services__list {
        grid-template-columns: 1fr;
    }

    .local-services__list article,
    .local-services__list article:nth-child(even) {
        min-height: 0;
        padding: 24px 0 26px;
        border-left: 0;
    }

    .local-services__list h3 {
        font-size: 28px;
    }

    .local-services__action {
        flex-direction: column;
    }

    .local-services__action a {
        width: 100%;
    }
}

/* Viewport hero refinement: navbar + hero form the complete first screen. */
.home-page .preloader {
    display: none !important;
}

.home-hero {
    min-height: calc(100svh - 96px);
    min-height: calc(100dvh - 96px);
}

.home-hero__layout,
.image-tunnel {
    min-height: inherit;
}

@media (max-width: 991px) and (min-width: 769px) {
    .home-hero {
        min-height: calc(100svh - 96px);
        min-height: calc(100dvh - 96px);
    }
}

@media (max-width: 768px) {
    .home-hero {
        height: calc(100svh - 82px);
        height: calc(100dvh - 82px);
        min-height: 620px;
    }

    .home-hero__layout {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .home-hero__copy {
        position: absolute;
        inset: 0;
        z-index: 30;
        display: flex;
        width: 100%;
        max-width: none;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 54px 20px 0;
        text-align: center;
        pointer-events: none;
    }

    .home-hero__eyebrow {
        position: static;
        width: max-content;
        max-width: calc(100% - 32px);
        margin: 0;
        transform: none;
    }

    .home-hero__title {
        position: absolute;
        top: 55%;
        left: 50%;
        z-index: 40;
        width: 100%;
        max-width: 430px;
        margin: 0;
        font-size: clamp(44px, 12.4vw, 64px);
        line-height: 0.9;
        text-align: center;
        text-shadow: 0 2px 24px rgba(255, 252, 248, 0.92), 0 0 56px rgba(255, 252, 248, 0.95);
        transform: translate(-50%, -50%);
        isolation: isolate;
    }

    .home-hero__title::before {
        position: absolute;
        inset: -38px 3%;
        z-index: -1;
        border-radius: 50%;
        background: radial-gradient(ellipse, rgba(255, 252, 248, 0.9) 0 34%, rgba(255, 249, 242, 0.44) 52%, transparent 72%);
        filter: blur(5px);
        content: "";
    }

    .home-hero__title em {
        width: max-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        font-size: 0.68em;
        transition-duration: 180ms, 420ms;
    }

    .home-hero__title em.is-entering {
        animation-duration: 440ms;
    }

    .home-hero__intro {
        max-width: 330px;
        margin-top: 16px;
        color: #5f5149;
        font-size: 13px;
        line-height: 1.55;
        text-shadow: 0 1px 20px rgba(255, 252, 248, 0.98);
    }

    .home-hero__actions,
    .home-hero__details {
        display: none;
    }

    .image-tunnel {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 0;
        margin: 0;
        opacity: 0.96;
    }

    .image-tunnel__rings {
        inset: 15% -24% -3%;
    }

    .image-tunnel__viewport {
        inset: 19% -12% 9%;
        clip-path: ellipse(64% 49% at 50% 50%);
        -webkit-mask-image: radial-gradient(ellipse 64% 49% at 50% 50%, #000 0 66%, rgba(0, 0, 0, 0.86) 78%, rgba(0, 0, 0, 0.24) 92%, transparent 100%);
        mask-image: radial-gradient(ellipse 64% 49% at 50% 50%, #000 0 66%, rgba(0, 0, 0, 0.86) 78%, rgba(0, 0, 0, 0.24) 92%, transparent 100%);
        perspective: 660px;
        transform: none;
    }

    .image-tunnel__footer {
        display: none;
    }

    .tunnel-card {
        width: clamp(78px, 21vw, 100px);
        border-color: rgba(255, 255, 255, 0.92);
        box-shadow: 0 24px 46px rgba(58, 40, 31, 0.25), 0 5px 14px rgba(58, 40, 31, 0.16);
    }

    .tunnel-card:nth-child(n + 11) {
        display: none;
    }

    .tunnel-card--portrait {
        width: clamp(66px, 18vw, 86px);
    }

    .image-tunnel__core {
        display: none;
    }
}

@media (max-width: 420px) {
    .home-hero__copy {
        padding: 48px 17px 0;
    }

    .home-hero__eyebrow {
        font-size: 8px;
    }

    .home-hero__title {
        font-size: clamp(42px, 12.2vw, 52px);
    }

    .home-hero__intro {
        max-width: 300px;
        font-size: 12px;
    }
}
