/* Subpages use the homepage's scenes, glass cards, icons and spacing. */
.subpage-home-hero {
    padding: 0;
    min-height: 640px;
    background: var(--surface);
}
.subpage-home-hero .home-hero-layout {
    grid-template-columns: minmax(0, 580px) 240px;
    padding-block: 38px 58px;
}
.subpage-home-hero .hero-text { min-width: 0; }
.subpage-home-hero .breadcrumb { margin-bottom: 24px; }
.subpage-home-hero h1 {
    font-size: clamp(40px, 3.7vw, 54px);
    line-height: 1.1;
    letter-spacing: -.045em;
    max-width: 600px;
    margin-bottom: 22px;
}
.subpage-home-hero h1 span { display: inline; }
.subpage-home-hero .hero-text > .hero-intro { max-width: 470px; font-size: 17px; }
.subpage-home-hero .hero-text > .eyebrow { font-size: 12px; }
.subpage-home-hero .hero-text > .hero-note { font-size: 12px; }
.subpage-home-hero .hero-scene > figure { position: relative; height: 100%; }
.subpage-home-hero .hero-scene img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.subpage-home-hero .hero-scene figcaption {
    position: absolute;
    right: 18px;
    bottom: 12px;
    z-index: 1;
    max-width: calc(100% - 36px);
    min-height: 0;
    padding: 5px 9px;
    border-radius: 5px;
    background: #fffffff2;
    font-size: 10px;
    line-height: 1.5;
}
.subpage-home-hero .hero-scene::after { z-index: 0; pointer-events: none; }
.subpage-home-hero .hero-info { position: relative; z-index: 1; }
.subpage-home-hero .hero-info-card { min-width: 0; }
.subpage-home-hero .hero-info-card h2 { font-size: 15px; margin-bottom: 4px; }
.subpage-home-hero .hero-info-card p { font-size: 12px; }
.subpage-brand-hero .hero-scene { background: var(--surface); }
.subpage-brand-hero .hero-scene img { object-fit: contain; }
.subpage-brand-hero .hero-scene img {
    position: absolute;
    top: 50%;
    height: auto;
    max-height: 100%;
    transform: translateY(-50%);
    mask-image: linear-gradient(180deg, transparent, black 12%, black 86%, transparent);
}
.subpage-home-hero + .process-section { padding-block: 24px; }
.subpage-article { background: white; }
.subpage-article > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}
.subpage-article article { max-width: 880px; margin: 0; }
.subpage-article article > h2:first-child { font-size: clamp(28px, 2.8vw, 40px); }
.subpage-article article h3 { color: var(--petrol); }
.subpage-aside {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, white, var(--card));
    box-shadow: var(--shadow);
}
.subpage-aside > .glass-icon { width: 72px; height: 72px; margin-bottom: 16px; }
.subpage-aside h2 { font-size: 25px; }
.subpage-aside .check-list { margin-block: 20px 24px; font-size: 14px; }
.subpage-aside .btn-primary { width: 100%; }
.subpage-aside .text-link { margin-top: 18px; }
.page-content .subpage-contact {
    background: linear-gradient(180deg, var(--surface), white);
    border-top: 1px solid #eaf0f4;
}
.page-content .form-panel {
    max-width: 1000px;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.subpage-form-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
}
.subpage-form-heading > .glass-icon { width: 80px; height: 80px; }
.subpage-form-heading h2 { font-size: 30px; margin-bottom: 10px; }
.subpage-form-heading p { font-size: 14px; }
.subpage-form-heading .eyebrow { font-size: 11px; margin-bottom: 8px; }
.page-content .examples-section { background: var(--surface); }
.page-legal .legal-hero,
.page-thanks .thank-you-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface);
}
.page-legal .legal-hero { padding-block: 40px 58px; }
.legal-hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.page-legal .legal-hero h1 {
    font-size: clamp(34px, 4.2vw, 60px);
    letter-spacing: -.045em;
    color: var(--petrol);
    overflow-wrap: anywhere;
}
.legal-hero-icon {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    padding: 15px;
    border: 1px solid white;
    border-radius: 28px;
    background: linear-gradient(145deg, white, var(--pale));
    box-shadow: var(--shadow), inset 0 1px 1px white;
}
.page-legal .legal-content { background: linear-gradient(180deg, white, var(--surface)); }
.page-legal .legal-content .container { max-width: 1100px; }
.page-legal .legal-content article {
    padding: 40px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow-wrap: anywhere;
}
.page-legal .legal-content article > h2:first-child { margin-top: 0; }
.page-legal .legal-content h2 { color: var(--petrol); }
.page-thanks .thank-you-content { max-width: 1000px; }
.page-thanks .thank-you-hero h1 { color: var(--petrol); }
.page-thanks .thank-you-eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.page-thanks .thank-you-panel {
    background: linear-gradient(145deg, white, var(--card));
    box-shadow: var(--shadow);
    border-radius: 24px;
}
.page-thanks .thank-you-panel h2 { color: var(--petrol); }
.page-thanks .thank-you-faq { background: var(--surface); }
.page-thanks .section-header { margin-bottom: 28px; }
@media (max-width: 1279px) {
    .subpage-home-hero .home-hero-layout { grid-template-columns: minmax(0, 52%) 210px; }
    .subpage-home-hero h1 { font-size: 46px; }
    .subpage-article > .container { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
    .subpage-aside { padding: 24px; }
}
@media (max-width: 1023px) {
    .subpage-home-hero { min-height: 0; padding-top: 30px; }
    .subpage-home-hero .home-hero-layout { display: contents; }
    .subpage-home-hero h1 { max-width: 740px; font-size: 50px; }
    .subpage-home-hero .hero-text > .hero-intro { max-width: 650px; }
    .subpage-home-hero .hero-text > .hero-note { margin-bottom: 12px; }
    .subpage-home-hero .hero-scene { aspect-ratio: 1.95; }
    .subpage-home-hero .hero-info { margin-top: 10px; }
    .subpage-home-hero .hero-info-card h2 { font-size: 13px; }
    .subpage-home-hero .hero-info-card p { font-size: 12px; }
    .subpage-article > .container { grid-template-columns: minmax(0, 1fr); }
    .subpage-aside { max-width: 880px; width: 100%; }
}
@media (max-width: 899px) {
    .subpage-home-hero .hero-info-card h2 { font-size: 15px; }
    .legal-hero-layout { align-items: flex-start; gap: 24px; }
    .legal-hero-icon { width: 96px; height: 96px; flex-basis: 96px; padding: 10px; }
}
@media (max-width: 599px) {
    .subpage-home-hero { padding-top: 26px; }
    .subpage-home-hero .breadcrumb { font-size: 11px; margin-bottom: 20px; }
    .subpage-home-hero h1 { font-size: 36px; line-height: 1.12; }
    .subpage-home-hero .hero-text > .eyebrow { font-size: 10px; }
    .subpage-home-hero .hero-text > .hero-intro { font-size: 16px; }
    .subpage-home-hero .hero-text > .hero-note { font-size: 11px; }
    .subpage-home-hero .hero-scene { aspect-ratio: 1.5; }
    .subpage-home-hero .hero-scene figcaption { right: 10px; bottom: 5px; font-size: 9px; }
    .subpage-home-hero .hero-info-card h2 { font-size: 13px; }
    .subpage-home-hero .hero-info-card p { font-size: 11px; }
    .subpage-home-hero + .process-section { padding-block: 18px; }
    .subpage-aside { padding: 24px; }
    .page-content .form-panel { padding: 25px 20px; }
    .subpage-form-heading { display: block; }
    .subpage-form-heading > .glass-icon { width: 64px; height: 64px; margin-bottom: 12px; }
    .subpage-form-heading h2 { font-size: 27px; }
    .page-legal .legal-hero { padding-block: 26px 36px; }
    .legal-hero-layout { display: block; }
    .legal-hero-icon { display: none; }
    .page-legal .legal-content { padding-block: 36px 44px; }
    .page-legal .legal-content article { padding: 24px 20px; }
    .page-thanks .thank-you-panel { padding: 24px; }
    .subpage-brand-hero .hero-scene { height: clamp(185px, 58vw, 260px); }
    .subpage-brand-hero .hero-scene::after { display: none; }
    .subpage-brand-hero .hero-scene > .model-photo { display: flex; flex-direction: column; }
    .subpage-brand-hero .hero-scene .model-photo > img {
        position: static;
        top: auto;
        height: 0;
        min-height: 0;
        max-height: none;
        flex: 1 1 0;
        transform: none;
        mask-image: none;
        object-fit: contain;
    }
    .subpage-brand-hero .hero-scene .photo-credit {
        position: static;
        flex-shrink: 0;
        max-width: none;
        padding: 6px 10px;
        border-radius: 0;
        font-size: 9px;
        line-height: 1.45;
        background: #ffffffed;
    }
}
