/*main.layout-home[data-oe-footer-view] {
    & .oe-fullpage__nav { display: none; }
}*/

.line-rise__line { display: block; }

.oe-fullpage { --fp-ink: #172631; --fp-dark: #142632; --fp-muted: #51636e; --fp-line: #cbd5da; --fp-height: 100dvh; position: relative; }

#fullpage > .oe-panel { box-sizing: border-box; }
#fullpage > .oe-panel:not(.hero) { display: grid; align-content: safe center; min-block-size: 72svh; padding-block: clamp(80rem, 12vh, 130rem); color: var(--fp-ink); }

#fullpage > .oe-panel--business { background: #87bdd6; }
#fullpage > .oe-panel--projects { background: #b98213; }
#fullpage > .oe-panel--contact { background: var(--fp-dark); color: #11b34f; }

.oe-panel__content { inline-size: min(1160rem, calc(100% - clamp(48rem, 13vw, 192rem))); margin-inline: auto; }
.oe-panel__eyebrow { margin: 0 0 16rem; font-size: 13rem; font-weight: 700; letter-spacing: .16em; }
.oe-panel__title { max-inline-size: 18ch; margin: 0; font-size: clamp(34rem, 5.2vw, 72rem); font-weight: 700; line-height: 1.13; letter-spacing: -.055em; overflow-wrap: anywhere; }
.oe-panel__description { max-inline-size: 48ch; margin: 22rem 0 0; color: var(--fp-muted); font-size: clamp(16rem, 1.45vw, 21rem); line-height: 1.65; }
.oe-panel--contact .oe-panel__description { color: #c2d0d8; }

.oe-panel__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200rem), 1fr)); gap: 12rem; margin: clamp(28rem, 5vh, 56rem) 0 0; padding: 0; list-style: none; }
.oe-panel__card { min-inline-size: 0; padding: clamp(18rem, 2.3vw, 32rem); border: 1rem solid var(--fp-line); background: rgb(255 255 255 / 68%);
    & h3 { margin: 0 0 7rem; font-size: clamp(18rem, 1.9vw, 25rem); font-weight: 700; line-height: 1.2; }
    & p { margin: 0; color: var(--fp-muted); font-size: 15rem; line-height: 1.55; }
}

.oe-panel__top { display: inline-flex; align-items: center; gap: 12rem; margin-block-start: 30rem; padding: 12rem 16rem; border: 1rem solid #98afbd; color: inherit; font-size: 15rem; text-decoration: none;
    &:hover { background: #f4f8fa; color: var(--fp-dark); }
}

.oe-fullpage__nav { display: none;
    & a { display: grid; inline-size: 30rem; block-size: 30rem; place-items: center; border-radius: 50%; color: #f4f8fa;
        &::before { content: ""; inline-size: 7rem; block-size: 7rem; border: 1rem solid currentColor; border-radius: 50%; }
        &[aria-current="location"]::before { background: currentColor; }
    }
}

[data-oe-fullpage-active] {
    & .oe-fullpage { block-size: var(--fp-height); overflow: clip; }
    & #fullpage { transform: translate3d(0, calc(var(--fp-index, 0) * var(--fp-height) * -1), 0);
        &[data-oe-animate] { transition: transform 800ms cubic-bezier(.65, 0, .35, 1); }
        & > .oe-panel { block-size: var(--fp-height); min-block-size: 0; overflow-y: auto; }
    }
    & .oe-fullpage__nav { position: absolute; z-index: 3; inset-block-start: 50%; inset-inline-end: clamp(12rem, 2.5vw, 38rem); display: grid; padding: 8rem 2rem; border-radius: 24rem; background: var(--fp-dark); transform: translateY(-50%); background: rgba(255, 255, 255, 0.20); backdrop-filter: blur(15px); }
}

.oe-fullpage :is(a, button):focus-visible { outline: 2rem solid currentColor; outline-offset: 3rem; }

html:has([data-oe-fullpage-active]:not([data-oe-panel="hero", "business"])) .site-header { background-color: #142632; }

.home-intro { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding-inline: 24rem; background: transparent; overflow: clip; transition: visibility 0s linear 1600ms; color: var(--tertiary, #051a36); text-align: center; pointer-events: none;
    &::before, &::after { content: ""; position: absolute; inset-block: 0; z-index: -1; inline-size: calc(50% + 1px); background: #fff; transition: translate 800ms cubic-bezier(.65, 0, .35, 1) 160ms, opacity 450ms ease 1200ms; }
    &::before { left: 0; }
    &::after { right: 0; }
    &[hidden] { display: none; }
    & .home-intro__content { display: flex; flex-direction: column; max-inline-size: 540rem; transition: opacity 240ms ease, translate 320ms ease; justify-content: center; align-items: center;}
    & .home-intro__brand { margin: 0; font-family: var(--font-poppins, sans-serif); font-size: clamp(40rem, 5vw, 72rem); font-weight: 700; line-height: 1; width: 320rem; height: auto; }
    /* & .home-intro__description { margin: clamp(16rem, 2vw, 26rem) 0 0; color: var(--black); font-weight: 600; font-size: clamp(24rem, 1.5vw, 40rem); line-height: 1.6; word-break: keep-all; } */
    &[data-intro-exit] { visibility: hidden;
        & .home-intro__content { opacity: 0; translate: 0 -8rem; }
        &::before { translate: -100% 0; opacity: 0; }
        &::after { translate: 100% 0; opacity: 0; }
    }
    @media (prefers-reduced-motion: no-preference) {
        &:not([hidden]) {
            & :is(.home-intro__brand) {
                animation: home-intro-rise 1200ms cubic-bezier(.22, 1, .36, 1) backwards;
            }

            /*
            & .home-intro__description {
                animation-delay: 400ms;
            } */
        }
    }
}

@keyframes home-intro-rise {
    from {
        opacity: 0;
        translate: 0 28rem;
        filter: blur(20px);
    }
}

#hero { position: relative; isolation: isolate; display: grid; grid-template-rows: minmax(min-content, 1fr); row-gap: 0; width: 100%; min-height: 100svh; padding-block: clamp(72rem, 10svh, 100rem) clamp(24rem, 5svh, 40rem); overflow: hidden; background-color: var(--black, #142632); color: var(--white, #fff);
    & .hero__background { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
    & .hero__image, & .hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    & .hero__image { animation: hero-poster-zoom 6s cubic-bezier(.22, 1, .36, 1) both; }
    & .hero__video { opacity: 0;
        &[data-playing-frame] { opacity: 1; }
    }
    & .hero__media-clip { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; }
    & .hero__background { container-type: size; }
    & .hero__youtube-background { position: absolute; inset: 50% auto auto 50%; display: block; inline-size: max(100cqw, calc(100cqh * 16 / 9)); block-size: max(100cqh, calc(100cqw * 9 / 16)); border: 0; opacity: 0; transform: translate(-50%, -50%);
        &[data-playing-frame] { opacity: 1; }
    }
    & .hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(8 16 23 / 33%); }
    & .hero__inner { position: relative; z-index: 2; display: block; align-self: center; width: calc(100% - 32rem); min-height: 0; margin-inline: auto; text-align: center; }
    & .hero__content { width: 100%; }
    & .hero__title { margin: 0; font-family: var(--font-poppins, sans-serif); font-size: clamp(32rem, 7vw, 48rem); font-weight: 400; line-height: 1.25;
        & strong { font-weight: 700; }
    }
    & .hero__description { margin: 24rem 0 0; font-family: var(--font-sans, sans-serif); font-size: 16rem; font-weight: 300; line-height: 1.7;
        & strong { font-weight: 700; }
    }
    & .hero__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 32rem; margin-top: clamp(40rem, 6vw, 100rem); padding: 8rem 24rem; border-radius: 999rem; background: var(--white, #fff); color: var(--tertiary, #142632); font-size: var(--font-size-20, 20rem); font-weight: 500; text-decoration: none; --cta-motion: 420ms cubic-bezier(.28, .62, .36, 1); transition: background-color var(--cta-motion), color var(--cta-motion);
        &:is(:hover, :focus-visible) { background-color: #000; color: #fff; }
        &:focus-visible { outline: 2rem solid #fff; outline-offset: 4rem; }
        @media (prefers-reduced-motion: reduce) { transition: none; }
    }
    & .hero__video-toggle {
        &:not([hidden]) { position: absolute; inset-block-end: clamp(16rem, 3vw, 40rem); inset-inline-end: clamp(16rem, 3vw, 40rem); z-index: 2; display: grid; place-items: center; inline-size: 44rem; block-size: 44rem; padding: 0; border-radius: 50%; background: rgb(8 16 23 / 74%); color: #fff; cursor: pointer; background: rgba(255, 255, 255, 0.20); backdrop-filter: blur(15px); }
        &::before { content: ""; border-block: 6rem solid transparent; border-inline-start: 9rem solid currentColor; }
        &.is-playing::before { box-sizing: border-box; inline-size: 11rem; block-size: 13rem; border-block: 0; border-inline: 3rem solid currentColor; }
    }
    & .hero__scroll { position: relative; inset: auto; z-index: 2; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14rem; color: inherit; text-decoration: none; transform: none; }
    & .hero__scroll-icon { position: relative; display: block; width: 28rem; height: 42rem; border: 2rem solid currentColor; border-radius: 999rem;
        &::before { content: ""; position: absolute; top: 8rem; left: 50%; width: 2rem; height: 8rem; border-radius: 999rem; background: currentColor; transform: translateX(-50%); animation: scroll-line 1.8s cubic-bezier(.22, 1, .36, 1) infinite; }
    }
    & .hero__scroll-text { font-family: var(--font-sans, sans-serif); font-size: 14rem; font-weight: 600; line-height: 1; white-space: nowrap; }

    @media (max-height: 600px) and (orientation: landscape) { padding-block: clamp(64rem, 13svh, 80rem) 20rem;
        & .hero__title { font-size: clamp(26rem, 7svh, 48rem); line-height: 1.2; }
        & .hero__description { margin-block-start: 14rem; font-size: clamp(14rem, 3.2svh, 20rem); line-height: 1.5; }
        & .hero__cta { margin-block-start: 20rem; }
    }
    @media (max-width: 767px) {
        & .hero__overlay { background: linear-gradient(90deg, rgb(8 16 23 / 76%), rgb(8 16 23 / 61%)); }
    }
    @media (min-width: 768px) {
        & .hero__inner { width: calc(100% - 48rem); text-align: left; }
        & .hero__title { font-size: 64rem; line-height: 1.3; }
        & .hero__description { margin-top: 28rem; font-size: 24rem; }
        & .hero__cta { min-height: 44rem; padding: 10rem 32rem; }
    }
    @media (min-width: 1280px) { min-height: 100svh;
        & .hero__inner { width: min(calc(100% - 80rem), calc(var(--container, 1400) * 1rem)); }
        & .hero__title { font-size: clamp(56rem, 4.2vw, 80rem); }
        & .hero__description { margin-top: 32rem; }
    }
    @media (prefers-reduced-motion: reduce) {
        & .hero__image { animation: none; transform: none; }
        & .hero__scroll-icon::before { animation: none; }
    }
}

@keyframes scroll-line {
    0% { transform: translate(-50%, 0); opacity: 0; }
    20%, 70% { opacity: 1; }
    100% { transform: translate(-50%, 14rem); opacity: 0; }
}

#fullpage > .oe-panel.business { scrollbar-width: none; --business-top: clamp(88px, 13svh, 124px); display: block; padding-block: 0; color: var(--white); background: linear-gradient(100deg, rgb(6 15 24 / .01), rgb(9 20 31 / .01)), #142632 url('/assets/images/home/bg-business.png') center / cover no-repeat;
    & .business__layout { display: grid; align-items: start; gap: clamp(32px, 4vw, 72px); inline-size: min(1400px, calc(100% - clamp(40px, 10vw, 96px))); margin-inline: auto; padding-block: var(--business-top); }
    & .business__eyebrow { margin: 0 0 20px; font-size: 16px; font-weight: 600; }
    & .business__title { margin: 0; color: inherit; font-size: clamp(34px, 4vw, 64px); line-height: 1.35; letter-spacing: -.045em; word-break: keep-all; }
    & .business__link { display: inline-flex; align-items: center; gap: 18px; margin-block-start: clamp(80px, 18dvh, 150px); color: inherit; font-size: 14px; font-weight: 700; text-decoration: none;
        &::before { content: ""; inline-size: 64px; block-size: 1px; background: currentColor; }
    }
    & .business__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.1vw, 40px); margin: 0; padding: 0; list-style: none; scroll-margin-block-start: var(--business-top); }
    & .business__card { display: flex; flex-direction: column; justify-content: start; gap: 24px; box-sizing: border-box; min-block-size: 200rem; padding: clamp(24px, 2.6vw, 50px); border-radius: 24px; background: rgba(255, 255, 255, 0.20); backdrop-filter: blur(15px); overflow: hidden; --business-card-slide: 760ms; --business-card-color: 520ms; --business-card-fade: 320ms; --business-card-detail-delay: 140ms; --business-card-easing: cubic-bezier(.28, .62, .36, 1); --business-card-motion: var(--business-card-slide) var(--business-card-easing); transition: background-color var(--business-card-color) var(--business-card-easing), border-color var(--business-card-color) var(--business-card-easing);
        @media (prefers-reduced-motion: reduce) { --business-card-slide: 0ms; --business-card-color: 0ms; --business-card-fade: 0ms; --business-card-detail-delay: 0ms; }
    }
    & .business__card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
    & :is(.business__number, .business__label, .business__card-title) { transition: color var(--business-card-color) var(--business-card-easing); }
    & .business__number { display: grid; place-items: center; inline-size: clamp(44px, 3.4vw, 64px); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: clamp(20px, 1.7vw, 32px); font-weight: 600; }
    & .business__label { margin: 0 0 8px; font-size: clamp(16px, 1.2vw, 22px); }
    & .business__card-title { margin: 0; color: inherit; font-size: clamp(26px, 2.2vw, 42px); line-height: 1.2; word-break: keep-all; }
    & .business__card-details { margin: 0; padding-block-start: clamp(12px, 1vw, 18px); padding-inline-start: 1.5em; font-size: clamp(15px, 1.05vw, 20px); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere;
        & > li { list-style: disc; }
    }

    @media (hover: hover) and (pointer: fine) {
        & .business__card-body:has(> .business__card-details) { translate: 0 100%; transition: translate var(--business-card-motion);
            & > .business__card-summary { translate: 0 -100%; transition: translate var(--business-card-motion); }
            & > .business__card-details { opacity: 0; pointer-events: none; transition: opacity var(--business-card-fade) ease; }
        }
        & .business__card:is(:hover, :focus-visible) { background-color: #fff; border-color: #fff;
            & .business__number { color: #212121; }
            & .business__label { color: var(--primary, #ed1c24); }
            & .business__card-title { color: var(--tertiary, #051a36); }
            & .business__card-body:has(> .business__card-details), & .business__card-summary { translate: 0 0%; }
            & .business__card-details { color: #555; opacity: 1; pointer-events: auto; transition-delay: var(--business-card-detail-delay); }
        }
    }
    @media (min-width: 768px) { --business-top: clamp(96px, 22dvh, 220px);
        & .business__layout { grid-template-columns: minmax(0, 2fr) minmax(0, 2.5fr); }
        & .business__intro { position: sticky; inset-block-start: var(--business-top); }
        & .business__card { min-block-size: 310rem;  }
    }
    @media (min-width: 1280px) { --business-top: clamp(112px, 26dvh, 248px);
        & .business__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        & .business__card { min-block-size: 480rem; aspect-ratio: 74/100; justify-content: space-between;}
        & .business__card:nth-child(2) { transform: translateY(clamp(100px, 26dvh, 240px)); }
    }
}

#fullpage > .oe-panel.projects-panel { --projects-surface: #f2f2f2; --projects-ink: #212121; --projects-red: #ed1c2b; --projects-container: 1400px; display: block; box-sizing: border-box; padding-block: clamp(82px, 12.8svh, 150px) clamp(28px, 5.5svh, 74px); color: var(--projects-ink); background: linear-gradient(180deg, #f2f2f2 0% 54%, rgb(242 242 242 / .97) 70%, rgb(242 242 242 / .86) 100%) center / cover no-repeat, url('/assets/images/home/bg-case.png') center bottom / 100% auto no-repeat, var(--projects-surface);
    & .projects-panel__heading { display: grid; gap: 16px; align-items: end; inline-size: min(var(--projects-container), calc(100% - 40px)); margin: 0 auto clamp(34px, 7.5svh, 92px); }
    & .projects-panel__eyebrow { margin: 0 0 clamp(14px, 2.5svh, 30px); color: var(--projects-red); font-family: var(--font-poppins, 'Poppins', sans-serif); font-size: clamp(13px, 1.04vw, 20px); font-weight: 500; }
    & .projects-panel__title { margin: 0; color: inherit; font-size: clamp(30px, 3.35vw, 64px); font-weight: 700; line-height: 1.2; letter-spacing: -.05em; word-break: keep-all; overflow-wrap: anywhere; }
    & .projects-panel__more { display: inline-flex; align-items: center; justify-self: start; gap: clamp(12px, 1.05vw, 20px); min-block-size: 44px; color: inherit; font-size: clamp(12px, .84vw, 16px); font-weight: 700; text-decoration: none; white-space: nowrap;
        &::before { content: ""; inline-size: clamp(36px, 4.2vw, 80px); block-size: 1px; background: currentColor; opacity: .7; }
        &:hover { color: var(--projects-red); }
    }
    & .project-carousel { --project-width: clamp(188px, 68vw, 300px); --project-scale: .72; --project-gap: clamp(12px, 2.2vw, 22px); --project-step: calc(var(--project-width) * var(--project-scale) + var(--project-gap)); --project-clearance: calc(var(--project-width) * (1 - var(--project-scale)) / 2); --project-duration: 680ms; --project-easing: cubic-bezier(.22, 1, .36, 1); }
    & .project-carousel__viewport { overflow: hidden; touch-action: pan-y pinch-zoom; }
    & .project-carousel__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(208px, 100%), 1fr)); gap: 20px; inline-size: min(var(--projects-container), calc(100% - 40px)); margin-inline: auto; }
    & .project-carousel__card { position: relative; display: block; isolation: isolate; overflow: hidden; aspect-ratio: 19 / 26; border-radius: clamp(19px, 1.46vw, 28px); background: #34465a; color: #fff; text-decoration: none; cursor: pointer; -webkit-user-drag: none;
        &::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(9 21 39 / .12) 0%, rgb(9 21 39 / .15) 42%, rgb(9 21 39 / .68) 75%, rgb(9 21 39 / .94) 100%); }
        &:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
    }
    & .project-carousel__card[data-project-copy] { display: none; }
    & .project-carousel__image { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center; pointer-events: none; }
    & .project-carousel__icon { position: absolute; z-index: 2; inset: 8% auto auto 11.5%; inline-size: 20%; aspect-ratio: 1; pointer-events: none; background: url('../images/home/projects-icons.png') calc(var(--project-icon) * 20%) center / 600% 100% no-repeat; }
    & .project-carousel__label { position: absolute; z-index: 2; inset: auto 11.5% 9.5%; display: grid; gap: clamp(6px, 1.2svh, 18px); min-inline-size: 0; pointer-events: none; }
    & .project-carousel__english { font-family: var(--font-poppins, 'Poppins', sans-serif); font-size: clamp(15px, 1.04vw, 20px); line-height: 1.4; }
    & .project-carousel__korean { font-size: clamp(23px, 2.08vw, 40px); font-weight: 700; line-height: 1.18; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
    & .project-carousel[data-project-ready] {
        & .project-carousel__viewport { user-select: none; }
        & .project-carousel__track { position: relative; display: block; isolation: isolate; inline-size: 100%; block-size: calc(var(--project-width) * 26 / 19); margin: 0; translate: var(--project-drag, 0px) 0; transition: translate var(--project-duration) var(--project-easing); }
        & .project-carousel__card { position: absolute; inset: 50% auto auto 50%; display: block; z-index: 1; inline-size: var(--project-width); visibility: hidden; opacity: 0; pointer-events: none; scale: var(--project-scale); translate: calc(-50% + var(--project-offset) * var(--project-step) + var(--project-side) * var(--project-clearance)) -50%; transition: translate var(--project-duration) var(--project-easing), scale var(--project-duration) var(--project-easing), opacity 320ms ease, visibility 0s var(--project-duration); }
        & .project-carousel__card[data-project-visible] { visibility: visible; opacity: .65; pointer-events: auto; transition-delay: 0s; }
        & .project-carousel__card:is([data-distance="-1"], [data-distance="1"]) { z-index: 2; opacity: .9; }
        & .project-carousel__card:is([data-distance="-3"], [data-distance="3"]) { opacity: .44; }
        & .project-carousel__card[data-project-active] { z-index: 3; opacity: 1; scale: 1; }
        & .project-carousel__card[data-project-wrap] { transition: none; }
        &[data-project-dragging] .project-carousel__track { transition: none; }
        &[data-project-dragging] .project-carousel__card { cursor: grabbing; }
    }
    & .project-carousel__controls { display: flex; justify-content: center; gap: clamp(12px, 1.05vw, 20px); margin-block-start: clamp(22px, 5.5svh, 64px);
        &[hidden] { display: none; }
    }
    & .project-carousel__button { display: grid; place-items: center; block-size: clamp(48px, 6svh, 70px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: rgba(34, 34, 34, 0.32); color: #fff; font: inherit; font-size: clamp(24px, 1.8vw, 28px); cursor: pointer; transition: background-color 180ms ease;
        &:hover { background: rgb(34 34 34 / 64%); }
        &:focus-visible { outline: 2px solid var(--projects-red); outline-offset: 3px; }
    }
    & .project-carousel__sr { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

    @media (min-width: 768px) {
        & .projects-panel__heading { grid-template-columns: minmax(0, 1fr) auto; justify-content: space-between; inline-size: min(var(--projects-container), calc(100% - 80px)); }
        & .projects-panel__more { justify-self: end; }
        & .project-carousel { --project-width: min(330px, 39vw, 40svh); --project-scale: .71; --project-gap: clamp(18px, 2vw, 28px); }
    }
    @media (min-width: 1280px) {
        & .project-carousel { --project-width: min(360px, 35svh); --project-scale: .6923; --project-gap: clamp(22px, 1.667vw, 32px); }
    }
    @media (prefers-reduced-motion: reduce) {
        & .project-carousel { --project-duration: 0ms; }
        & .project-carousel[data-project-ready] .project-carousel__card, & .project-carousel__button { transition: none; }
    }
}

#fullpage > .oe-panel.contact-panel { --inquiry-ink: #fff; --inquiry-control: rgb(202 219 233 / .26); --inquiry-outline: rgb(222 236 248 / .33); --inquiry-error: #ffd0d4; display: grid; align-content: safe center; box-sizing: border-box; padding-block: clamp(88px, 12svh, 140px) clamp(40px, 9svh, 100px); color: var(--inquiry-ink); background: linear-gradient(100deg, rgb(3 18 35 / .84), rgb(5 24 42 / .71) 58%, rgb(3 17 33 / .86)) center / cover no-repeat, url('/assets/images/home/bg-contact.png') center / cover no-repeat, #091a2d;
    & .contact-panel__layout { display: grid; align-items: center; gap: clamp(34px, 6vw, 110px); inline-size: min(1400px, calc(100% - 40px)); margin-inline: auto; }
    & .contact-panel__intro { min-inline-size: 0; }
    & .contact-panel__overline { margin: 0 0 clamp(18px, 2.5svh, 30px); font-size: clamp(14px, 1.05vw, 20px); font-weight: 500; }
    & .contact-panel__title { margin: 0; color: inherit; font-size: clamp(29px, 3.35vw, 64px); font-weight: 700; line-height: 1.48; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
    & .contact-panel__description { max-inline-size: 37ch; margin-block: clamp(22px, 7svh, 88px) 0; color: rgb(255 255 255 / .92); font-size: clamp(16px, 1.5vw, 20px); line-height: 2; word-break: keep-all; }
    & .contact-form { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 3.1svh, 32px) clamp(16px, 1.25vw, 24px); min-inline-size: 0; margin: 0; }
    & .contact-form__group { display: grid; gap: 10px; min-inline-size: 0;
        & label { font-size: 16px; font-weight: 600; line-height: 1.4; }
    }
    & .contact-form__wide { grid-column: 1 / -1; }
    & .contact-form__input { box-sizing: border-box; display: block; inline-size: 100%; min-inline-size: 0; min-block-size: 53px; padding: 11px 14px; border: none; border-radius: 10px; background: var(--inquiry-control); color: inherit; font: inherit; font-size: 16px; line-height: 1.45; backdrop-filter: blur(8px); border-radius: 10px; background: rgba(255, 255, 255, 0.20); backdrop-filter: blur(15px);
        &:focus-visible { outline: 2px solid #e8f4ff; outline-offset: 2px; }
        &[aria-invalid='true'] { border-color: var(--inquiry-error); }
    }
    & .contact-form__textarea { min-block-size: 106px; resize: vertical; }
    & .contact-form__actions { display: grid; justify-items: center; gap: 12px; margin-block-start: clamp(24px, 6svh, 54px); }
    & .contact-form__submit { display: grid; place-items: center; inline-size: 100%; padding: 12px 24px; border: 0; border-radius: 999px; background: #fff; color: #0b203b; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
        &:hover:not(:disabled) { background: #e7f1fa; }
        &:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
        &:disabled { opacity: .7; cursor: progress; }
    }
    & .contact-form__privacy { color: rgb(255 255 255 / .86); font-size: 13px; text-underline-offset: .22em;
        &:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
    }
    & .contact-form__error { margin: 0; color: var(--inquiry-error); font-size: 14px; line-height: 1.5; }
    & .contact-form__status { margin: 0; padding: 12px 14px; border: 1px solid var(--inquiry-outline); border-radius: 10px; background: rgb(3 25 37 / .72); color: #d6f6e8; font-size: 15px; line-height: 1.5; }
    & .contact-form__status--error { color: var(--inquiry-error); }

    @media (min-width: 768px) {
        & .contact-panel__layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); inline-size: min(1400px, calc(100% - 80px)); }
        & .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (min-width: 1280px) {
        & .contact-panel__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
    }
}

html.lenis { scroll-behavior: auto; }

.layout-home #case { box-sizing: border-box; min-block-size: 60svh; padding-block: clamp(72px, 9vw, 128px); }

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