.lg-page {
    --lg-ink: #102f41;
    --lg-ink-strong: #082537;
    --lg-blue: #39bdf2;
    --lg-blue-deep: #027aaf;
    --lg-muted: #607788;
    --lg-line: #dcebf3;
    --lg-surface: #f1f9fd;
    color: var(--lg-ink);
    background: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
}

.lg-page *,
.lg-page *::before,
.lg-page *::after,
.lg-lightbox,
.lg-lightbox * { box-sizing: border-box; }

.lg-page h1,
.lg-page h2,
.lg-page h3,
.lg-page p,
.lg-lightbox p { margin: 0; }

.lg-page a { text-decoration: none; }
.lg-page button, .lg-lightbox button { font: inherit; }
.lg-page img, .lg-lightbox img { display: block; max-width: 100%; }
.lg-page :focus-visible,
.lg-lightbox :focus-visible { outline: 3px solid var(--lg-blue, #39bdf2); outline-offset: 4px; }

.lg-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.lg-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(115deg, #082b3f, #0b4867 62%, #06648b);
    color: #fff;
}

.lg-hero::before {
    content: '';
    position: absolute;
    inset: auto -140px -330px auto;
    width: min(65vw, 750px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 100px rgba(255,255,255,.025), 0 0 0 210px rgba(255,255,255,.022);
    z-index: -1;
}

.lg-hero__inner {
    display: grid;
    grid-template-columns: 1.07fr .93fr;
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding-block: clamp(60px, 8vw, 108px);
}

.lg-hero__copy { min-width: 0; }
.lg-eyebrow,
.lg-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}
.lg-eyebrow { color: #bce9ff; }
.lg-eyebrow > span { width: 9px; height: 9px; border-radius: 50%; background: #55c8f9; }

.lg-hero h1,
.lg-section-head h2,
.lg-cta h2,
.lg-empty h3 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.038em;
    font-weight: 700;
}
.lg-hero h1 {
    margin-top: 22px;
    max-width: 700px;
    font-size: clamp(2.8rem, 5.5vw, 5.15rem);
    line-height: 1.07;
}
.lg-hero h1 em { color: #79d6ff; font-style: normal; }
.lg-hero__description {
    max-width: 540px;
    margin-top: 22px !important;
    color: #d0e4ef;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.78;
}

.lg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 13px 23px;
    border-radius: 999px;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.4;
    transition: background .18s ease, transform .18s ease;
}
.lg-button:hover { transform: translateY(-2px); }
.lg-button--light {
    margin-top: 30px;
    color: #082c40;
    background: #fff;
}
.lg-button--light:hover { background: #dff5ff; }
.lg-button--primary { color: #082c40; background: #45c3f4; white-space: nowrap; }
.lg-button--primary:hover { background: #82dbff; }

.lg-hero__visual {
    position: relative;
    min-height: 390px;
    aspect-ratio: 5 / 4;
    border-radius: 24px 82px 24px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(136,223,255,.38), transparent 38%),
        linear-gradient(155deg, #247dad, #0c3e59 72%);
    box-shadow: 0 25px 55px rgba(0,17,30,.28);
}
.lg-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4,34,48,.65), transparent 50%);
    pointer-events: none;
}
.lg-hero__visual > img { width: 100%; height: 100%; object-fit: cover; }
.lg-hero__visual-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 1;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.lg-collection { padding-block: clamp(66px, 7vw, 106px); background: #fff; scroll-margin-top: 115px; }
.lg-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 32px;
}
.lg-section-kicker { color: var(--lg-blue-deep); }
.lg-section-head h2 {
    margin-top: 12px;
    font-size: clamp(2.25rem, 4vw, 3.85rem);
    line-height: 1.12;
}
.lg-section-intro { max-width: 650px; margin-top: 17px !important; color: var(--lg-muted); line-height: 1.75; }
.lg-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 25px; }
.lg-filter {
    min-height: 42px;
    padding: 9px 17px;
    border: 1px solid var(--lg-line);
    border-radius: 100px;
    color: var(--lg-ink);
    background: #f4f9fc;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 750;
    transition: background .18s ease, color .18s ease;
}
.lg-filter:hover { background: #e6f5fc; }
.lg-filter.is-active { border-color: #087db2; background: #087db2; color: #fff; }

.lg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.lg-card { margin: 0; min-width: 0; }
.lg-card[hidden] { display: none !important; }
.lg-card__open {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 18px;
    text-align: left;
    color: #fff;
    background: #e2eff6;
    cursor: zoom-in;
    box-shadow: 0 10px 28px rgba(19,62,82,.09);
}
.lg-card__open > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.lg-card__open:hover > img { transform: scale(1.045); }
.lg-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 16px;
    padding: 22px;
    background: linear-gradient(0deg, rgba(3,30,43,.84), rgba(3,30,43,0) 63%);
}
.lg-card__title { margin-right: auto; font-size: clamp(.95rem, 1.25vw, 1.05rem); font-weight: 800; line-height: 1.35; }
.lg-card__zoom {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-size: .85rem;
}

.lg-empty { padding: clamp(60px, 9vw, 96px) 24px; border: 1px dashed #b7d6e6; border-radius: 24px; background: #f3faff; text-align: center; }
.lg-empty__icon { display: grid; place-items: center; margin: 0 auto 21px; width: 60px; height: 60px; border-radius: 18px; color: #087db2; background: #dff3fd; font-size: 1.6rem; }
.lg-empty h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.lg-empty p { max-width: 510px; margin: 13px auto 0; color: var(--lg-muted); line-height: 1.75; }

.lg-cta { padding: clamp(48px, 6vw, 82px) 0; background: #edf8fe; }
.lg-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.lg-cta h2 { max-width: 700px; margin-top: 10px; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.14; }
.lg-cta p:not(.lg-section-kicker) { max-width: 660px; margin-top: 16px; color: var(--lg-muted); line-height: 1.75; }

.lg-dialog-open { overflow: hidden; }
.lg-lightbox {
    width: min(1100px, calc(100% - 36px));
    max-width: 1100px;
    max-height: calc(100dvh - 28px);
    padding: 0;
    border: 0;
    border-radius: 17px;
    color: #fff;
    background: #092635;
    box-shadow: 0 35px 100px rgba(0,0,0,.4);
}
.lg-lightbox::backdrop { background: rgba(2,14,21,.91); backdrop-filter: blur(9px); }
.lg-lightbox__frame { padding: 15px; }
.lg-lightbox__toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 37px; margin-bottom: 9px; }
.lg-lightbox__index { color: #bcdae7; font-size: .84rem; }
.lg-lightbox__close,
.lg-lightbox__nav { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lg-lightbox__close { width: 39px; height: 39px; }
.lg-lightbox__media { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 10px; }
.lg-lightbox__media img { width: 100%; max-height: min(73dvh, 760px); object-fit: contain; }
.lg-lightbox__nav { width: 40px; height: 40px; }
.lg-lightbox__nav[hidden] { display: none; }
.lg-lightbox__caption { margin: 15px 0 5px; color: #e4eff4; font-size: .98rem; text-align: center; line-height: 1.45; }
.lg-lightbox__caption[hidden] { display: none; }

@media (max-width: 980px) {
    .lg-hero__inner { grid-template-columns: 1.05fr .95fr; }
    .lg-hero__visual { min-height: 290px; border-top-right-radius: 55px; }
    .lg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}

@media (max-width: 700px) {
    .lg-container { width: calc(100% - 36px); }
    .lg-hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 54px 36px; gap: 35px; }
    .lg-hero h1 { font-size: clamp(2.55rem, 9.4vw, 4.2rem); }
    .lg-hero__visual { width: 100%; min-height: 220px; max-height: 380px; aspect-ratio: 16 / 9; border-radius: 19px 57px 19px 19px; }
    .lg-section-head, .lg-cta__inner { align-items: start; flex-direction: column; }
    .lg-collection { padding-block: 62px 72px; scroll-margin-top: 94px; }
    .lg-cta__inner { gap: 25px; }
    .lg-button--primary { white-space: normal; }
}

@media (max-width: 520px) {
    .lg-container { width: calc(100% - 30px); }
    .lg-hero h1 { letter-spacing: -.044em; }
    .lg-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .lg-card__open { aspect-ratio: 5 / 4; }
    .lg-lightbox { width: calc(100% - 16px); }
    .lg-lightbox__frame { padding: 11px; }
    .lg-lightbox__media { grid-template-columns: 35px minmax(0, 1fr) 35px; gap: 5px; }
    .lg-lightbox__nav { width: 35px; height: 35px; }
    .lg-lightbox__media img { max-height: 70dvh; }
    .lg-lightbox__caption { font-size: .84rem; }
    .lg-button--primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .lg-page *, .lg-lightbox * { scroll-behavior: auto; transition-duration: .01ms !important; }
}
