/* CIC editorial hero system: editorial, service, portrait and content-detail families. */
.cic-v2-hero {
    --hero-navy: #063c62;
    --hero-deep: #072f4a;
    --hero-gold: #b99d68;
    --hero-paper: #f5f3ed;
    --hero-line: #d5dddf;
    color: var(--hero-deep);
    background: #fff;
}
.cic-v2-hero h1,
.cic-v2-hero p,
.cic-v2-hero figure { margin: 0; }
.cic-v2-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px !important;
    color: #536b79;
    font: 500 12px/1.5 var(--cic-mono, "Ubuntu Mono", Consolas, monospace);
    letter-spacing: .07em;
    text-transform: uppercase;
}
.cic-v2-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.cic-v2-breadcrumb a:hover { color: var(--hero-deep); }
.cic-v2-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px !important;
    color: #876a37;
    font: 600 12px/1.6 var(--cic-sans, Inter, Arial, sans-serif);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cic-v2-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--hero-gold);
}
.cic-v2-hero h1 {
    color: var(--hero-deep);
    font: 400 clamp(48px, 4.4vw, 70px)/1.05 var(--cic-display, Gelasio, Georgia, serif);
    letter-spacing: -2px;
    text-wrap: balance;
}
.cic-v2-hero h1 em {
    color: #9a7840;
    font-style: italic;
}
.cic-v2-hero__intro {
    margin-top: 26px !important;
    color: #526877;
    font-size: 17px;
    line-height: 1.75;
}
.cic-v2-jump {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 48px;
    margin-top: 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid #9e8250;
    color: var(--hero-deep);
    font-size: 14px;
    font-weight: 600;
}
.cic-v2-jump span {
    color: #8a6b34;
    font: 23px/1 Arial, sans-serif;
}
.cic-v2-jump:hover { color: #755b2e; }

/* Editorial: a light masthead with photography kept as an independent object. */
.cic-v2-hero--editorial {
    padding: 28px 0 64px;
    background: var(--hero-paper);
}
.cic-v2-hero--editorial .cic-v2-breadcrumb { margin-bottom: 20px !important; }
.cic-v2-hero__editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: clamp(48px, 7vw, 104px);
    align-items: center;
    min-height: 510px;
    padding-top: 18px;
}
.cic-v2-hero__editorial-copy h1 { max-width: 760px; }
.cic-v2-hero__editorial-copy .cic-v2-hero__intro { max-width: 610px; }
.cic-v2-hero__editorial-media {
    width: min(100%, 560px);
    margin-left: auto !important;
}
.cic-v2-hero__editorial-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.cic-v2-hero__editorial-media figcaption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    border-top: 2px solid var(--hero-gold);
    color: #637482;
    font-size: 12px;
    line-height: 1.5;
}

/*
 * Editorial sub-families
 *
 * Editorial describes the voice of these pages, not one fixed composition.
 * These variants give photography enough visual weight while keeping it clear
 * of the heavy overlays used by the retired page hero.
 */
@media (min-width: 1200px) {
    body.cic-theme .cic-v2-hero--editorial-split > .container,
    body.cic-theme .cic-v2-hero--editorial-panorama > .container,
    body.cic-theme .cic-v2-hero--editorial-feature > .container {
        width: calc(100% - 96px);
        max-width: 1504px;
    }
}

/* Image-led split: 40% copy and 60% documentary photography. */
.cic-v2-hero--editorial-split .cic-v2-hero__editorial-grid {
    grid-template-columns: minmax(360px, .4fr) minmax(0, .6fr);
    gap: clamp(56px, 5vw, 96px);
    min-height: 580px;
    padding-top: 22px;
}
.cic-v2-hero--editorial-split .cic-v2-hero__editorial-copy h1 { max-width: 650px; }
.cic-v2-hero--editorial-split .cic-v2-hero__editorial-copy .cic-v2-hero__intro { max-width: 560px; }
.cic-v2-hero--editorial-split .cic-v2-hero__editorial-media {
    width: 100%;
    max-width: none;
}
.cic-v2-hero--editorial-split .cic-v2-hero__editorial-media img { aspect-ratio: 3 / 2; }

/* Panorama: a magazine headline followed by a large, unobscured scene. */
.cic-v2-hero--editorial-panorama {
    padding-bottom: 52px;
}
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding-top: 18px;
}
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: 14px clamp(48px, 7vw, 112px);
    align-items: end;
}
.cic-v2-hero--editorial-panorama .cic-v2-eyebrow { grid-column: 1 / -1; }
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy h1 { max-width: 900px; }
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy .cic-v2-hero__intro {
    max-width: 500px;
    margin-top: 0 !important;
    padding-bottom: 5px;
}
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-media {
    width: 100%;
    max-width: none;
    margin: 0 !important;
}
.cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-media img {
    height: clamp(390px, 31vw, 500px);
    aspect-ratio: auto;
}

/* Feature: 16:9 media leads the first screen, including film and journal pages. */
.cic-v2-hero--editorial-feature .cic-v2-hero__editorial-grid {
    grid-template-columns: minmax(340px, .36fr) minmax(0, .64fr);
    gap: clamp(56px, 5vw, 96px);
    min-height: 600px;
    padding-top: 22px;
}
.cic-v2-hero--editorial-feature .cic-v2-hero__editorial-copy h1 { max-width: 610px; }
.cic-v2-hero--editorial-feature .cic-v2-hero__editorial-copy .cic-v2-hero__intro { max-width: 520px; }
.cic-v2-hero--editorial-feature .cic-v2-hero__editorial-media {
    width: 100%;
    max-width: none;
}
.cic-v2-hero--editorial-feature .cic-v2-hero__editorial-media img { aspect-ratio: 16 / 9; }

/* Immersive editorial: a single documentary scene becomes the full-width cover. */
.cic-v2-hero--editorial-immersive {
    position: relative;
    isolation: isolate;
    min-height: 660px;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: var(--hero-deep);
}
.cic-v2-hero--editorial-immersive::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4,30,59,.94) 0%, rgba(4,30,59,.78) 30%, rgba(4,30,59,.22) 58%, rgba(4,30,59,.04) 100%),
        linear-gradient(180deg, rgba(4,30,59,.26) 0%, transparent 42%, rgba(4,30,59,.34) 100%);
}
body.cic-theme .cic-v2-hero--editorial-immersive > .container {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 660px;
    padding: 28px max(24px, calc((100vw - 1320px) / 2)) 60px;
}
.cic-v2-hero--editorial-immersive .cic-v2-breadcrumb,
.cic-v2-hero--editorial-immersive .cic-v2-breadcrumb a { color: #fff; }
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-grid {
    display: flex;
    min-height: 555px;
    padding: 0;
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-copy {
    align-self: flex-end;
    width: min(100%, 700px);
    padding-bottom: 46px;
}
.cic-v2-hero--editorial-immersive .cic-v2-eyebrow { color: #ead8b4; }
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-copy h1 {
    max-width: 700px;
    color: #fff;
    font-size: clamp(52px, 5.2vw, 78px);
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-copy .cic-v2-hero__intro {
    max-width: 590px;
    color: rgba(255,255,255,.9);
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    max-width: none;
    margin: 0 !important;
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media figcaption {
    position: absolute;
    right: max(24px, calc((100vw - 1320px) / 2));
    bottom: 24px;
    display: block;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.82);
}
.cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media figcaption span:first-child { display: none; }
.cic-v2-hero__media-link {
    position: relative;
    display: block;
    color: var(--hero-deep);
}
.cic-v2-hero__play {
    position: absolute;
    left: 28px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 18px 8px 9px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(7, 47, 74, .18);
    color: var(--hero-deep);
    font-size: 14px;
    font-weight: 600;
}
.cic-v2-hero__play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hero-deep);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}
.cic-v2-hero__media-link:hover .cic-v2-hero__play { background: #fff; }
.cic-v2-hero__media-link:focus-visible {
    outline: 3px solid #8a6b34;
    outline-offset: 5px;
}

/* Service: structured editorial copy beside an unfiltered contextual image. */
.cic-v2-hero--service { background: var(--hero-paper); }
.cic-v2-hero__service-grid {
    display: grid;
    grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
    min-height: 570px;
}
.cic-v2-hero__service-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 64px 62px max(32px, calc((100vw - 1280px) / 2 + 32px));
}
.cic-v2-hero__service-copy h1 { max-width: 650px; }
.cic-v2-hero__service-copy .cic-v2-hero__intro { max-width: 570px; }
.cic-v2-hero__service-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #dbe5e9;
}
.cic-v2-hero__service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cic-v2-hero__service-media figcaption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    max-width: calc(100% - 40px);
}
.cic-v2-hero__service-media figcaption a {
    display: block;
    padding: 7px 10px;
    background: rgba(7, 47, 74, .88);
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

/* Profile: preserve a square portrait instead of stretching it into scenery. */
.cic-v2-hero--profile {
    position: relative;
    overflow: hidden;
    background: var(--hero-paper);
}
.cic-v2-hero--profile::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34%;
    background: var(--hero-deep);
}
.cic-v2-hero__profile-shell {
    position: relative;
    padding-block: 38px 54px;
}
.cic-v2-hero__profile-shell > .cic-v2-breadcrumb {
    margin-bottom: 12px !important;
}
.cic-v2-hero__profile-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: 88px;
    align-items: center;
    min-height: 516px;
}
.cic-v2-hero__profile-copy { padding: 24px 0 38px; }
.cic-v2-hero__profile-copy h1 { max-width: 760px; }
.cic-v2-hero__profile-copy .cic-v2-hero__intro { max-width: 610px; }
.cic-v2-hero__profile-media {
    position: relative;
    width: min(100%, 500px);
    margin-left: auto !important;
    background: #fff;
    box-shadow: 0 20px 52px rgba(7, 47, 74, .18);
}
.cic-v2-hero__profile-media::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -18px;
    right: -18px;
    width: 116px;
    height: 116px;
    border-top: 2px solid var(--hero-gold);
    border-right: 2px solid var(--hero-gold);
}
.cic-v2-hero__profile-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: 50% 38%;
}
.cic-v2-hero__profile-media--portrait { width: min(100%, 362px); }
.cic-v2-hero__profile-media--portrait img { aspect-ratio: 4 / 5; }
.cic-v2-hero__profile-media figcaption {
    padding: 16px 18px 18px;
    color: #526877;
    font-size: 13px;
}
.cic-v2-hero__profile-media figcaption strong {
    display: block;
    margin-bottom: 2px;
    color: var(--hero-deep);
    font: 500 18px/1.35 var(--cic-display, Gelasio, Georgia, serif);
}

/* Detail: title and facts lead; photography remains a separate document image. */
.cic-v2-hero--detail {
    padding: 28px 0 64px;
    background: #fff;
}
.cic-v2-hero--detail .cic-v2-breadcrumb { margin-bottom: 28px !important; }
.cic-v2-hero__detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 80px;
    align-items: end;
    padding: 28px 0 46px;
    border-bottom: 1px solid var(--hero-line);
}
.cic-v2-hero__detail-heading h1 {
    max-width: 820px;
    font-size: clamp(46px, 4.2vw, 66px);
}
.cic-v2-hero__detail-summary { padding-bottom: 8px; }
.cic-v2-hero__detail-summary .cic-v2-hero__intro { margin-top: 0 !important; }
.cic-v2-hero__detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 24px;
    color: #876a37;
    font: 600 12px/1.6 var(--cic-sans, Inter, Arial, sans-serif);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.cic-v2-hero__detail-media {
    width: min(100%, 1027px);
    margin: 48px 0 0 auto !important;
}
.cic-v2-hero__detail-media--compact { width: min(100%, 690px); }
.cic-v2-hero__detail-media--source-limited { width: min(100%, 752px); }
.cic-v2-hero__detail-media img {
    display: block;
    width: 100%;
    height: auto;
}
.cic-v2-hero__detail-media figcaption {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 12px;
    color: #637482;
    font-size: 12px;
}

@media (max-width: 991px) {
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-grid {
        display: flex;
        min-height: 555px;
        gap: 0;
    }
    .cic-v2-hero__editorial-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
        gap: 48px;
        min-height: 470px;
    }
    .cic-v2-hero__editorial-copy h1 { font-size: 49px; }
    .cic-v2-hero--editorial-split .cic-v2-hero__editorial-grid,
    .cic-v2-hero--editorial-feature .cic-v2-hero__editorial-grid {
        grid-template-columns: minmax(0, .44fr) minmax(300px, .56fr);
        gap: 40px;
        min-height: 500px;
    }
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
        gap: 36px;
    }
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-media img {
        height: clamp(360px, 45vw, 450px);
    }
    .cic-v2-hero__service-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .cic-v2-hero__service-copy { padding: 56px 32px; }
    .cic-v2-hero__service-media { min-height: 480px; }
    .cic-v2-hero--profile::before { width: 29%; }
    .cic-v2-hero__profile-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
        gap: 48px;
        min-height: 500px;
    }
    .cic-v2-hero__profile-copy h1 { font-size: 49px; }
    .cic-v2-hero__detail-heading { gap: 42px; }
}

@media (max-width: 767px) {
    .cic-v2-breadcrumb { margin-bottom: 30px !important; }
    .cic-v2-hero h1 {
        font-size: clamp(40px, 11vw, 54px);
        letter-spacing: -1.2px;
    }
    .cic-v2-hero__intro { font-size: 16px; }
    .cic-v2-hero--editorial { padding: 20px 0 44px; }
    .cic-v2-hero__editorial-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
        min-height: 0;
        padding-top: 0;
    }
    .cic-v2-hero__editorial-media {
        width: 100%;
        margin: 0 !important;
    }
    .cic-v2-hero--editorial-split .cic-v2-hero__editorial-grid,
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-grid,
    .cic-v2-hero--editorial-feature .cic-v2-hero__editorial-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
        min-height: 0;
        padding-top: 0;
    }
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy { display: block; }
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-copy .cic-v2-hero__intro {
        margin-top: 24px !important;
        padding-bottom: 0;
    }
    .cic-v2-hero--editorial-panorama .cic-v2-hero__editorial-media img,
    .cic-v2-hero--editorial-feature .cic-v2-hero__editorial-media img,
    .cic-v2-hero--editorial-split .cic-v2-hero__editorial-media img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
    .cic-v2-hero--editorial-immersive,
    body.cic-theme .cic-v2-hero--editorial-immersive > .container { min-height: 600px; }
    body.cic-theme .cic-v2-hero--editorial-immersive > .container { padding: 20px 24px 46px; }
    .cic-v2-hero--editorial-immersive::after {
        background: linear-gradient(0deg, rgba(4,30,59,.96) 0%, rgba(4,30,59,.72) 54%, rgba(4,30,59,.24) 100%);
    }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-grid {
        display: flex;
        min-height: 510px;
        padding: 0;
    }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-copy { padding-bottom: 42px; }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-copy h1 { font-size: 46px; }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media {
        position: absolute;
        width: 100%;
        margin: 0 !important;
    }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media img {
        height: 100%;
        aspect-ratio: auto;
        object-position: 68% 50% !important;
    }
    .cic-v2-hero--editorial-immersive .cic-v2-hero__editorial-media figcaption { display: none; }
    .cic-v2-hero__play {
        left: 16px;
        bottom: 16px;
        min-height: 48px;
    }
    .cic-v2-hero__service-copy { padding: 44px 24px 48px; }
    .cic-v2-hero__service-media { min-height: 0; }
    .cic-v2-hero__service-media img {
        height: auto;
        aspect-ratio: 3 / 2;
    }
    .cic-v2-hero--profile::before { display: none; }
    .cic-v2-hero__profile-shell {
        padding: 30px 24px 56px;
    }
    .cic-v2-hero__profile-shell > .cic-v2-breadcrumb {
        margin-bottom: 30px !important;
    }
    .cic-v2-hero__profile-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 0;
    }
    .cic-v2-hero__profile-copy { padding: 0; }
    .cic-v2-hero__profile-media {
        order: -1;
        width: min(78vw, 360px);
        margin: 0 auto 32px !important;
    }
    .cic-v2-hero__profile-media::before { display: none; }
    .cic-v2-hero--detail { padding: 20px 0 44px; }
    .cic-v2-hero__detail-heading {
        display: block;
        padding: 18px 0 32px;
    }
    .cic-v2-hero__detail-summary { margin-top: 24px; }
    .cic-v2-hero__detail-media { margin-top: 32px !important; }
    .cic-v2-hero__detail-media figcaption {
        flex-direction: column;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cic-v2-hero * { transition: none !important; }
}
