/* Luctar Tours and Travels - Our Team */
.team-page {
    --team-ink: #103348;
    --team-navy: #082d42;
    --team-navy-deep: #062536;
    --team-blue: #32b9ee;
    --team-blue-deep: #076c9e;
    --team-muted: #597182;
    --team-stroke: #dbeaf1;
    color: var(--team-ink);
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    overflow: clip;
}
.team-page *, .team-page *::before, .team-page *::after { box-sizing: border-box; }
.team-page h1, .team-page h2, .team-page h3, .team-page p { margin: 0; }
.team-page h1, .team-page h2, .team-page h3 {
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.team-page img { display: block; max-width: 100%; }
.team-page a { text-decoration: none; }
.team-page a:focus-visible { outline: 3px solid var(--team-blue-deep); outline-offset: 4px; }
.team-page .team-container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.team-section { padding-block: clamp(54px, 6.5vw, 96px); }
.team-eyebrow {
    display: inline-flex; align-items: center; gap: 11px;
    color: #076c9e; font: 800 12px/1.4 'Manrope', sans-serif;
    letter-spacing: .16em;
}
.team-dot { flex: 0 0 9px; width: 9px; height: 9px; background: var(--team-blue); border-radius: 50%; }
.team-eyebrow--inverse { color: #c5ebfc; }
.team-button {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; min-height: 48px; padding: 13px 24px; border-radius: 999px;
    font: 800 14px/1.4 'Manrope', sans-serif;
    transition: transform .2s ease, background-color .2s ease;
}
.team-button:hover { transform: translateY(-2px); }
.team-button--light { background: var(--team-blue); color: #062c40; }
.team-button--light:hover, .team-button--primary:hover { background: #91ddf7; }
.team-button--outline { border: 1px solid rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.08); }
.team-button--outline:hover { background: rgba(255,255,255,.17); }
.team-button--primary { background: var(--team-blue); color: #062c40; }
.team-hero {
    position: relative; isolation: isolate; overflow: hidden;
    color: white;
    background: radial-gradient(circle at 86% 20%, rgba(30,152,211,.28), transparent 46%),
                linear-gradient(115deg, var(--team-navy-deep), #0b4b69 110%);
}
.team-hero__content { position: relative; z-index: 1; padding-block: clamp(70px, 8vw, 112px); }
.team-hero h1 { max-width: 850px; font-size: clamp(39px, 6.3vw, 75px); line-height: 1.065; margin-top: 25px; }
.team-hero p { max-width: 680px; margin-top: 23px; color: #e1f0f6; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.75; }
.team-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.team-hero__pattern {
    position: absolute; z-index: 0; top: -200px; right: -130px;
    width: min(64vw, 750px); aspect-ratio: 1; pointer-events: none;
    border: 1px solid rgba(255,255,255,.09); border-radius: 50%;
    box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018);
}
.team-introduction { background: #fff; }
.team-introduction__layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 6vw, 90px); align-items: center; }
.team-introduction h2, .team-section-heading h2 { max-width: 690px; font-size: clamp(33px, 4.7vw, 55px); line-height: 1.13; margin-top: 17px; }
.team-introduction p { color: var(--team-muted); font-size: clamp(16px, 1.7vw, 18px); line-height: 1.85; }
.team-leadership { background: #eff8fd; }
.team-section-heading { margin-bottom: 34px; }
.team-section-heading p { max-width: 650px; margin-top: 13px; color: var(--team-muted); font-size: 16px; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.team-profile {
    display: grid; grid-template-columns: minmax(260px, .79fr) minmax(0, 1.21fr);
    align-items: stretch; gap: 0; min-width: 0; max-width: 1000px;
    background: #fff; border: 1px solid var(--team-stroke);
    border-radius: 26px; overflow: hidden;
    box-shadow: 0 18px 44px rgba(18,61,85,.07);
}
.team-profile__visual { position: relative; min-height: 360px; background: #cdebf9; overflow: hidden; }
.team-profile__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.team-profile__visual-fallback {
    width: 100%; height: 100%; min-height: 360px; display: grid; place-items: center;
    position: relative; background: linear-gradient(140deg, #a9e2f6, #276f94); color: rgba(255,255,255,.86);
}
.team-profile__visual-fallback > span { font: 800 clamp(72px, 12vw, 130px)/1 'Manrope', sans-serif; letter-spacing: -.09em; }
.team-profile__visual-fallback svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .42; }
.team-profile__information { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 5vw, 68px); justify-content: center; }
.team-profile__category { color: var(--team-blue-deep); letter-spacing: .17em; font: 800 11px/1.5 'Manrope', sans-serif; }
.team-profile h3 { margin-top: 19px; font-size: clamp(33px, 4vw, 49px); line-height: 1.12; }
.team-profile__role { margin-top: 9px !important; font: 700 15px/1.5 'Manrope', sans-serif; color: var(--team-blue-deep); }
.team-profile__bio { margin-top: 22px !important; color: var(--team-muted); font-size: 16px; line-height: 1.8; }
.team-invitation { background: #fff; }
.team-invitation__box {
    display: flex; align-items: center; justify-content: space-between; gap: 36px;
    padding: clamp(30px, 5vw, 58px); border-radius: 26px;
    background: radial-gradient(circle at 95% -20%, #11618b, transparent 55%), var(--team-navy-deep); color: #fff;
}
.team-invitation h2 { margin-top: 14px; font-size: clamp(31px, 4.1vw, 49px); line-height: 1.13; }
.team-invitation p { max-width: 620px; margin-top: 14px; color: #dcecf5; line-height: 1.75; font-size: 16px; }
.team-invitation .team-button { flex-shrink: 0; }
@media (max-width: 820px) {
    .team-introduction__layout { grid-template-columns: 1fr; gap: 20px; }
    .team-profile { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
    /* Keep portrait photographs compact rather than full-card width. */
    .team-profile__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 285px;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        padding: 20px;
        background: linear-gradient(145deg, #eaf6fc, #f8fbfd);
    }
    .team-profile__visual img {
        width: auto;
        height: 100%;
        max-width: 240px;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 14px;
    }
    .team-profile__visual-fallback { min-height: 0; height: 100%; border-radius: 14px; }

    .team-invitation__box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .team-page .team-container { width: calc(100% - 32px); }
    .team-section { padding-block: 55px; }
    .team-hero__content { padding-block: 60px 67px; }
    .team-hero h1 { font-size: clamp(35px, 10.7vw, 48px); }
    .team-hero__actions { display: grid; grid-template-columns: 1fr; }
    .team-button { width: 100%; }
    .team-profile { border-radius: 20px; }
    .team-profile__visual { height: 240px; padding: 16px; }
    .team-profile__visual img { max-width: 205px; }

    .team-profile__information { padding: 30px 24px 33px; }
    .team-invitation__box { border-radius: 20px; padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { .team-page *, .team-page *::before, .team-page *::after { scroll-behavior: auto !important; transition: none !important; } }
