/* V3: original editorial typography, photographic layers and translucent surfaces. */
:root {
    --parallax-bleed: 240px;
    --glass-line: rgba(255, 255, 255, .28);
}

.photo-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.photo-section > .photo-layer,
.photo-window > .photo-layer {
    position: absolute;
    inset: auto;
    top: calc(-1 * var(--parallax-bleed));
    left: 0;
    width: 100%;
    max-width: none;
    height: calc(100% + 2 * var(--parallax-bleed));
    object-fit: cover;
    border-radius: 0;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    pointer-events: none;
    z-index: -2;
}

.photo-section > .container {
    position: relative;
    z-index: 1;
}

.photo-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.photo-veil--blue {
    background: rgba(14, 39, 72, .88);
}

.photo-veil--paper {
    background: linear-gradient(105deg, rgba(253, 252, 249, .985) 0%, rgba(253, 252, 249, .91) 58%, rgba(245, 246, 244, .91) 100%);
}

.photo-veil--care {
    background: linear-gradient(90deg, rgba(20, 40, 63, .30), rgba(20, 40, 63, .35));
}

.photo-veil--process {
    background: linear-gradient(90deg, rgba(248, 248, 244, .94), rgba(248, 248, 244, .83));
}

.photo-veil--insurance {
    background: linear-gradient(90deg, rgba(18, 47, 82, .85), rgba(18, 47, 82, .74) 45%, rgba(18, 47, 82, .93));
}

.photo-veil--strip {
    background: rgba(247, 245, 240, .92);
}

.photo-veil--contact {
    background: linear-gradient(90deg, rgba(248, 246, 239, .96), rgba(248, 246, 239, .89) 46%, rgba(248, 246, 239, .77));
}

/* The first image holds the viewport while the page begins to move past it. */
.hero {
    min-height: 100svh;
    padding-block: calc(var(--header-height) + 100px) 150px;
    align-items: center;
}

.hero > .hero__image {
    object-position: center 27%;
    opacity: 1;
}

.hero__shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(14, 35, 63, .97), rgba(14, 35, 63, .76) 41%, rgba(14, 35, 63, .13) 84%), linear-gradient(0deg, rgba(14, 35, 63, .45), transparent 45%);
}

.hero h1 {
    max-width: 1000px;
    font-size: clamp(54px, 6.5vw, 94px);
    line-height: 1.08;
}

.hero h1 em,
.about h2 em,
.contact h2 em {
    font-weight: 400;
}

.hero .eyebrow {
    letter-spacing: .16em;
}

.hero__description {
    max-width: 600px;
    font-size: 18px;
    color: #edf1f6;
}

.hero-scroll {
    position: absolute;
    left: max(40px, calc((100% - 1280px) / 2));
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    font-size: 16px;
    min-height: 44px;
    z-index: 2;
}

.hero-scroll__line {
    width: 90px;
    height: 1px;
    background: rgba(255, 255, 255, .55);
    position: relative;
}

.hero-scroll__line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(-45deg);
}

.photo-caption {
    position: absolute;
    right: 40px;
    bottom: 55px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    letter-spacing: .14em;
    z-index: 1;
}

.site-header {
    background: rgba(253, 252, 249, .91);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow .3s, background .3s;
}

.site-header.has-scrolled {
    background: rgba(253, 252, 249, .96);
    box-shadow: 0 6px 24px rgba(11, 29, 51, .06);
}

.benefits {
    background: var(--color-primary);
    border-top: 1px solid var(--glass-line);
}

.benefit {
    padding-block: 46px;
    background: rgba(255, 255, 255, .025);
    border-color: var(--glass-line);
}

.benefit p {
    color: #e0e7f0;
}

/* The pricing section stays quiet enough to read and use. */
.services {
    padding-block: 110px;
}

.services__layout {
    gap: 80px;
}

.service-group {
    border-color: rgba(33, 55, 81, .22);
}

.service-option:hover,
.service-option:has(input:checked) {
    background: rgba(231, 237, 245, .86);
}

.selection-summary {
    background: rgba(242, 245, 248, .91);
    border: 1px solid rgba(32, 57, 85, .14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Foreground photo windows have a second, independent depth. */
.photo-window {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 2px;
    --parallax-bleed: 110px;
}

.photo-window > .photo-layer {
    z-index: -1;
}

.experience-v3 .photo-window > .photo-layer {
    height: calc(100% + 2 * var(--parallax-bleed));
    width: 100%;
}

.about {
    padding-block: 140px;
    min-height: 960px;
    background: #586471;
}

.about > .photo-layer--scanning {
    object-position: center 48%;
}

.about__layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 110px;
    align-items: center;
}

.about .section-intro {
    padding: 56px 48px;
    border: 1px solid var(--glass-line);
    background: rgba(16, 40, 70, .80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: white;
}

.about .eyebrow {
    color: var(--color-accent);
    letter-spacing: .13em;
}

.about .section-intro > p:not(.eyebrow) {
    color: #eef2f7;
}

.about .about__audience {
    border-top-color: rgba(255, 255, 255, .30);
}

.photo-grid {
    gap: 18px;
    align-items: start;
}

.photo-window--main {
    height: 520px;
    margin-top: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
}

.photo-grid__secondary {
    padding-top: 120px;
    gap: 24px;
}

.photo-window--probe {
    height: 230px;
}

.photo-window--controls {
    height: 290px;
}

.photo-window--main > .photo-layer {
    object-position: 78% 30%;
}

.photo-window--probe > .photo-layer {
    object-position: center 45%;
}

/* Equipment moves behind a restrained, translucent copy panel. */
.process {
    padding-block: 120px;
}

.process__layout {
    gap: 90px;
    grid-template-columns: 1fr 1.1fr;
}

.process__photo {
    height: 650px;
    --parallax-bleed: 155px;
}

.process__copy {
    padding: 44px 36px;
    background: rgba(253, 252, 249, .78);
    border: 1px solid rgba(255, 255, 255, .80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.process__steps li {
    border-color: rgba(39, 61, 85, .19);
}

/* Blue is a translucent treatment on an actual photographic background. */
.insurance {
    padding-block: 115px;
}

.insurance > .photo-layer--probe {
    object-position: center 43%;
}

.insurance__layout {
    gap: 100px;
    align-items: start;
}

.insurance .section-intro {
    padding-top: 30px;
}

.insurance .section-intro > p:not(.eyebrow),
.insurance__note,
.insurance-upload > p {
    color: #eef3f8;
}

.precheck-form {
    padding: 36px;
    border: 1px solid var(--glass-line);
    background: rgba(14, 38, 69, .65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.form-field input {
    background: rgba(255, 255, 255, .08);
}

.form-field small,
.precheck-form .fine-print,
.form-availability {
    color: #edf2f8;
}

.contact-strip {
    padding-block: 56px;
    border: 0;
}

.contact-actions--large .button--outline {
    background: rgba(253, 252, 249, .55);
    border-color: rgba(39, 65, 95, .5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact {
    padding-block: 120px 150px;
    min-height: 740px;
}

.contact > .photo-layer--personal {
    object-position: center 37%;
}

.contact__layout {
    align-items: center;
}

.contact .section-intro > p:not(.eyebrow) {
    color: #43576a;
}

.referral-card {
    background: rgba(255, 255, 255, .53);
    border-color: rgba(51, 73, 98, .20);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 2px;
    padding: 44px;
}

.site-footer {
    background: var(--color-paper);
}

.footer-top {
    background: rgba(237, 207, 155, .95);
    border: 1px solid rgba(127, 94, 43, .2);
    border-radius: 2px;
}

@media (max-width: 1100px) {
    .hero-scroll { left: 24px; }
    .photo-caption { right: 24px; }
    .services__layout { gap: 44px; }
    .about__layout { gap: 50px; }
    .about .section-intro { padding: 40px 30px; }
    .process__layout { gap: 40px; }
    .process__copy { padding: 36px 24px; }
    .insurance__layout { gap: 50px; }
    .precheck-form { padding: 28px; }
}

@media (max-width: 850px) {
    .about__layout { grid-template-columns: .8fr 1.2fr; gap: 30px; }
    .about .section-intro { padding: 36px 26px; }
    .photo-window--main { height: 430px; }
    .photo-window--probe { height: 190px; }
    .photo-window--controls { height: 250px; }
    .photo-grid__secondary { padding-top: 70px; gap: 18px; }
    .process__photo { height: 660px; }
    .process__copy { padding: 30px 22px; }
    .process__layout { gap: 24px; }
    .insurance__layout { gap: 30px; }
    .precheck-form { padding: 24px; }
}

@media (max-width: 700px) {
    :root { --parallax-bleed: 100px; }
    .hero { min-height: 100svh; padding-block: calc(var(--header-height) + 84px) 135px; align-items: center; }
    .hero h1 { font-size: clamp(40px, 9vw, 62px); }
    .hero__description { font-size: 16px; }
    .hero__shade { background: linear-gradient(90deg, rgba(14, 35, 63, .88), rgba(14, 35, 63, .46)), linear-gradient(0deg, rgba(14, 35, 63, .65), transparent); }
    .hero-scroll { bottom: 28px; left: 20px; font-size: 16px; gap: 16px; }
    .hero-scroll__line { width: 60px; }
    .photo-caption { display: none; }
    .benefit { padding-block: 32px; }
    .services { padding-block: 76px; }
    .services__layout { gap: 30px; }
    .about { min-height: 0; padding-block: 76px; }
    .about__layout { grid-template-columns: 1fr; gap: 40px; }
    .about .section-intro { padding: 36px 26px; }
    .about .eyebrow { letter-spacing: .1em; }
    .photo-grid { gap: 14px; }
    .photo-grid__secondary { padding-top: 50px; gap: 18px; }
    .photo-window { --parallax-bleed: 85px; }
    .photo-window--main { height: 440px; margin-top: 0; }
    .photo-window--probe { height: 185px; }
    .photo-window--controls { height: 235px; }
    .process { padding-block: 76px; }
    .process__layout { grid-template-columns: 1fr; gap: 32px; }
    .process__copy { padding: 32px 24px; order: -1; }
    .process__photo { height: 450px; --parallax-bleed: 90px; }
    .insurance { padding-block: 76px; }
    .insurance__layout { grid-template-columns: 1fr; gap: 34px; }
    .insurance .section-intro { padding-top: 0; }
    .precheck-form { padding: 28px 22px; }
    .contact-strip { padding-block: 44px; }
    .contact { min-height: 0; padding-block: 76px 115px; }
    .contact__layout { grid-template-columns: 1fr; gap: 40px; }
    .referral-card { padding: 30px; }
}

@media (max-width: 370px) {
    .hero h1 { font-size: 36px; }
    .hero { padding-top: calc(var(--header-height) + 64px); }
    .hero-scroll__line { width: 40px; }
    .about .section-intro { padding: 30px 22px; }
    .photo-window--main { height: 390px; }
    .photo-window--probe { height: 165px; }
    .photo-window--controls { height: 215px; }
    .process__copy { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .photo-layer { transform: none !important; }
}
