.tt-page {
    --tt-primary: #08807e;
    --tt-primary-dark: #055f5d;
    --tt-secondary: #0b6f78;
    --tt-ink: #14313b;
    --tt-muted: #607577;
    --tt-line: #d6e8e8;
    --tt-soft: #f1fbfa;
    --tt-white: #ffffff;
    --tt-accent: #59c8c3;
    overflow: hidden;
    background: var(--tt-white);
    color: var(--tt-ink);
}

.tt-page,
.tt-page * {
    box-sizing: border-box;
}

.tt-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--tt-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.tt-eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: "";
}

.tt-hero {
    position: relative;
    isolation: isolate;
    min-height: 500px;
    overflow: hidden;
    background: var(--tt-primary-dark);
    color: #fff;
}

.tt-hero__media,
.tt-hero__overlay {
    position: absolute;
    inset: 0;
}

.tt-hero__media {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.tt-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 57, 59, 0.96) 0%, rgba(5, 77, 77, 0.9) 44%, rgba(5, 77, 77, 0.5) 72%, rgba(5, 77, 77, 0.2) 100%);
}

.tt-hero__content {
    display: flex;
    min-height: 500px;
    max-width: 680px;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 76px;
}

.tt-hero .tt-eyebrow {
    color: #8ee4df;
}

.tt-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 4.55rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
}

.tt-hero__lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
    line-height: 1.75;
}

.tt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.tt-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tt-btn:hover,
.tt-btn:focus {
    text-decoration: none;
}

.tt-btn:focus-visible,
.tt-modal__close:focus-visible {
    outline: 3px solid rgba(226, 167, 43, 0.48);
    outline-offset: 3px;
}

.tt-btn--hero {
    border-color: #fff;
    background: #fff;
    color: var(--tt-primary-dark);
}

.tt-btn--hero:hover,
.tt-btn--hero:focus {
    border-color: #dff7f5;
    background: #dff7f5;
    color: var(--tt-primary-dark);
}

.tt-btn--ghost {
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(5, 63, 64, 0.3);
    color: #fff;
}

.tt-btn--ghost:hover,
.tt-btn--ghost:focus {
    border-color: #fff;
    background: #fff;
    color: var(--tt-primary-dark);
}

.tt-btn--primary {
    border-color: var(--tt-primary);
    background: var(--tt-primary);
    color: #fff;
}

.tt-btn--primary:hover,
.tt-btn--primary:focus {
    border-color: var(--tt-primary-dark);
    background: var(--tt-primary-dark);
    color: #fff;
}

.tt-btn--secondary {
    border-color: var(--tt-primary);
    background: transparent;
    color: var(--tt-primary);
}

.tt-btn--secondary:hover,
.tt-btn--secondary:focus {
    background: var(--tt-primary);
    color: #fff;
}

.tt-scope {
    border-bottom: 1px solid var(--tt-line);
    background: var(--tt-white);
}

.tt-scope__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tt-scope__item {
    display: grid;
    min-width: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 25px 28px;
    border-left: 1px solid var(--tt-line);
}

.tt-scope__item:last-child {
    border-right: 1px solid var(--tt-line);
}

.tt-scope__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--tt-soft);
    color: var(--tt-primary);
    font-size: 1.2rem;
}

.tt-scope__item > div > strong,
.tt-scope__item > div > span {
    display: block;
}

.tt-scope__item > div > strong {
    margin-bottom: 4px;
    color: var(--tt-ink);
    font-size: 1rem;
    font-weight: 800;
}

.tt-scope__item > div > span {
    color: var(--tt-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.tt-section {
    padding: 82px 0;
}

.tt-section--soft {
    border-top: 1px solid var(--tt-line);
    background: var(--tt-soft);
}

.tt-section__head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 38px;
}

.tt-section__head h2 {
    margin: 0;
    color: var(--tt-ink);
    font-size: 2.65rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
}

.tt-section__head p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.tt-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--tt-line);
}

.tt-principle {
    min-width: 0;
    padding: 30px 28px 2px 0;
}

.tt-principle + .tt-principle {
    padding-left: 28px;
    border-left: 1px solid var(--tt-line);
}

.tt-principle__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 4px;
    background: var(--tt-primary);
    color: #fff;
}

.tt-principle:nth-child(2) .tt-principle__icon {
    background: var(--tt-secondary);
}

.tt-principle:nth-child(3) .tt-principle__icon {
    background: var(--tt-primary);
    color: #fff;
}

.tt-principle h3 {
    margin: 0 0 10px;
    color: var(--tt-ink);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.tt-principle p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.tt-directory-head {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 34px;
}

.tt-directory-head h2 {
    max-width: 700px;
    margin: 0;
    color: var(--tt-ink);
    font-size: 2.65rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.12;
}

.tt-directory-count {
    flex: 0 0 auto;
    margin: 0 0 4px;
    color: var(--tt-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.tt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tt-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 168px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--tt-line);
    border-radius: 4px;
    background: var(--tt-white);
    box-shadow: 0 12px 30px rgba(20, 49, 59, 0.05);
}

.tt-card__image-wrap {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #dcebea;
}

.tt-card__image {
    width: 100%;
    height: 100%;
    min-height: 292px;
    object-fit: cover;
    object-position: center top;
    transition: transform 220ms ease;
}

.tt-card:hover .tt-card__image {
    transform: scale(1.025);
}

.tt-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
}

.tt-card__department {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
    color: var(--tt-primary);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.tt-card h3 {
    margin: 0;
    color: var(--tt-ink);
    font-size: 1.36rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
}

.tt-role {
    margin: 6px 0 0;
    color: var(--tt-primary);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.tt-card__profile {
    margin: 18px 0 0;
    color: var(--tt-ink);
    font-size: 0.91rem;
    font-weight: 700;
    line-height: 1.6;
}

.tt-card__bio {
    margin: 10px 0 0;
    color: var(--tt-muted);
    font-size: 0.89rem;
    line-height: 1.65;
}

.tt-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.tt-card .tt-btn {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.88rem;
}

.tt-empty {
    grid-column: 1 / -1;
    padding: 44px;
    border: 1px solid var(--tt-line);
    border-left: 4px solid var(--tt-primary);
    background: var(--tt-white);
}

.tt-empty h3 {
    margin: 0 0 8px;
    color: var(--tt-ink);
    font-size: 1.3rem;
}

.tt-empty p {
    margin: 0;
    color: var(--tt-muted);
}

.tt-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 31, 35, 0.78);
}

.tt-modal.is-open {
    display: flex;
}

body.tt-modal-open {
    overflow: hidden;
}

.tt-modal__dialog {
    position: relative;
    width: min(940px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    border: 1px solid var(--tt-line);
    border-top: 4px solid var(--tt-primary);
    border-radius: 6px;
    background: var(--tt-white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.tt-modal__close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tt-line);
    border-radius: 4px;
    background: var(--tt-white);
    color: var(--tt-ink);
    cursor: pointer;
}

.tt-modal__close:hover {
    border-color: var(--tt-primary);
    color: var(--tt-primary);
}

.tt-modal__layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    min-height: 520px;
}

.tt-modal__portrait {
    min-height: 100%;
    background: #dcebea;
}

.tt-modal__image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center top;
}

.tt-modal__content {
    padding: 46px 50px 44px;
}

.tt-modal__department {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 56px 15px 0;
    color: var(--tt-primary);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.tt-modal__content h3 {
    margin: 0;
    color: var(--tt-ink);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
}

.tt-modal__profile {
    margin: 24px 0 0;
    padding: 18px 0;
    border-top: 1px solid var(--tt-line);
    border-bottom: 1px solid var(--tt-line);
    color: var(--tt-ink);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.65;
}

.tt-modal__bio {
    margin-top: 22px;
}

.tt-modal__bio h4 {
    margin: 0 0 10px;
    color: var(--tt-ink);
    font-size: 1rem;
    font-weight: 850;
}

.tt-modal__bio p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 0.94rem;
    line-height: 1.75;
    white-space: pre-line;
}

.tt-modal .tt-card__actions {
    margin-top: 0;
}

html[data-theme="dark"] .tt-page {
    --tt-ink: #edf8f7;
    --tt-muted: #afc4c5;
    --tt-line: #2c5054;
    --tt-soft: #12363a;
    --tt-white: #0e292d;
    background: var(--tt-white);
}

html[data-theme="dark"] .tt-hero {
    background: var(--tt-primary-dark) !important;
    border-color: transparent !important;
}

html[data-theme="dark"] .tt-modal__dialog,
html[data-theme="dark"] .tt-modal__close {
    background: var(--tt-white) !important;
    border-color: var(--tt-line) !important;
}

.tt-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

@media (max-width: 1050px) {
    .tt-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .tt-grid {
        grid-template-columns: 1fr;
    }

    .tt-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .tt-hero__overlay {
        background: linear-gradient(90deg, rgba(5, 57, 59, 0.96) 0%, rgba(5, 77, 77, 0.88) 62%, rgba(5, 77, 77, 0.52) 100%);
    }

    .tt-hero h1 {
        font-size: 4rem;
    }

    .tt-section__head {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tt-modal__layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .tt-modal__content {
        padding: 42px 34px 38px;
    }
}

@media (max-width: 767.98px) {
    .tt-wrap {
        width: min(calc(100% - 28px), 680px);
    }

    .tt-hero,
    .tt-hero__content {
        min-height: 455px;
    }

    .tt-hero__media {
        object-position: 58% center;
    }

    .tt-hero__overlay {
        background: rgba(5, 64, 65, 0.84);
    }

    .tt-hero__content {
        max-width: 560px;
        padding: 52px 0 58px;
    }

    .tt-hero h1 {
        font-size: 3.2rem;
    }

    .tt-hero__lead {
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .tt-hero__actions {
        margin-top: 25px;
    }

    .tt-scope__grid,
    .tt-principles,
    .tt-modal__layout {
        grid-template-columns: 1fr;
    }

    .tt-scope__item,
    .tt-scope__item:last-child {
        padding: 20px 0;
        border-right: 0;
        border-left: 0;
    }

    .tt-scope__item + .tt-scope__item {
        border-top: 1px solid var(--tt-line);
    }

    .tt-section {
        padding: 58px 0;
    }

    .tt-section__head {
        margin-bottom: 28px;
    }

    .tt-section__head h2,
    .tt-directory-head h2 {
        font-size: 2.1rem;
    }

    .tt-principles {
        border-top: 0;
    }

    .tt-principle,
    .tt-principle + .tt-principle {
        padding: 22px 0;
        border-top: 1px solid var(--tt-line);
        border-left: 0;
    }

    .tt-directory-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .tt-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .tt-card__body {
        padding: 20px;
    }

    .tt-card__image {
        min-height: 310px;
    }

    .tt-modal {
        padding: 12px;
    }

    .tt-modal__dialog {
        max-height: 92vh;
    }

    .tt-modal__portrait {
        height: 290px;
        min-height: 0;
    }

    .tt-modal__image {
        min-height: 0;
        object-position: center 20%;
    }

    .tt-modal__content {
        padding: 30px 22px 32px;
    }
}

@media (max-width: 575.98px) {
    .tt-hero h1 {
        font-size: 2.75rem;
    }

    .tt-hero__actions {
        flex-direction: column;
    }

    .tt-hero__actions .tt-btn {
        width: 100%;
    }

    .tt-card {
        grid-template-columns: 1fr;
    }

    .tt-card__image-wrap {
        height: 260px;
        min-height: 0;
    }

    .tt-card__image {
        min-height: 0;
    }

    .tt-card__body {
        min-height: 330px;
    }

    .tt-card .tt-btn,
    .tt-modal .tt-btn {
        width: 100%;
    }

    .tt-modal__content h3 {
        padding-right: 48px;
        font-size: 1.65rem;
    }
}


/* Think Tank motion */
.tt-hero__media {
    animation: ttHeroMedia 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-hero__content > * {
    opacity: 0;
    animation: ttHeroRise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tt-hero__content > :nth-child(1) { animation-delay: 100ms; }
.tt-hero__content > :nth-child(2) { animation-delay: 190ms; }
.tt-hero__content > :nth-child(3) { animation-delay: 280ms; }
.tt-hero__content > :nth-child(4) { animation-delay: 370ms; }

.tt-btn {
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tt-btn i {
    transition: transform 180ms ease;
}

.tt-btn:hover {
    transform: translateY(-2px);
}

.tt-btn:hover i {
    transform: translateX(3px);
}

.tt-scope__icon,
.tt-principle__icon {
    transition: transform 220ms ease, background-color 220ms ease;
}

.tt-scope__item:hover .tt-scope__icon,
.tt-principle:hover .tt-principle__icon {
    transform: translateY(-3px);
}

.tt-card {
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.tt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(20, 49, 59, 0.11);
}

.tt-card[data-aos].aos-animate:hover {
    transform: translateY(-5px);
}

.tt-modal.is-open {
    animation: ttModalFade 180ms ease-out both;
}

.tt-modal.is-open .tt-modal__dialog {
    animation: ttModalEnter 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ttHeroMedia {
    from { opacity: 0.6; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes ttHeroRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ttModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ttModalEnter {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .tt-page *,
    .tt-page *::before,
    .tt-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }

    .tt-hero__content > * {
        opacity: 1;
    }
}


/* Complete theme-toggle component coverage. */
html[data-theme="dark"] .tt-page{color-scheme:dark}
html[data-theme="dark"] .tt-page :is(.tt-card,.tt-empty,.tt-modal__dialog){
    background:linear-gradient(180deg,#142128,#17262d);
    border-color:rgba(143,208,205,.16);
    box-shadow:0 18px 44px rgba(0,0,0,.26)
}
html[data-theme="dark"] .tt-page :is(.tt-scope,.tt-section--soft,.tt-principles,.tt-principle + .tt-principle){border-color:rgba(143,208,205,.16)}
html[data-theme="dark"] .tt-page .tt-scope__icon{background:rgba(89,200,195,.14)}
html[data-theme="dark"] .tt-page :is(.tt-card__image-wrap,.tt-modal__portrait){background:#14252b}
html[data-theme="dark"] .tt-page .tt-modal__close{background:#14252b!important;border-color:rgba(143,208,205,.22)!important;color:#edf6f8!important}
html[data-theme="dark"] .tt-page .tt-modal__close:hover{border-color:#7ad7d3!important;color:#aaefeb!important}
html[data-theme="dark"] .tt-page .tt-btn--hero{background:#fff;border-color:#fff;color:#055f5d!important}
html[data-theme="dark"] .tt-page .tt-btn--hero:hover,
html[data-theme="dark"] .tt-page .tt-btn--hero:focus{background:#dff7f5;border-color:#dff7f5;color:#055f5d!important}
html[data-theme="dark"] .tt-page .tt-btn--ghost{background:rgba(5,63,64,.35);border-color:rgba(255,255,255,.68);color:#fff!important}
html[data-theme="dark"] .tt-page .tt-btn--ghost:hover,
html[data-theme="dark"] .tt-page .tt-btn--ghost:focus{background:#fff;border-color:#fff;color:#055f5d!important}
html[data-theme="dark"] .tt-page .tt-btn--primary{background:#59c8c3;border-color:#59c8c3;color:#09282c!important}
html[data-theme="dark"] .tt-page .tt-btn--primary:hover,
html[data-theme="dark"] .tt-page .tt-btn--primary:focus{background:#8ce7e1;border-color:#8ce7e1;color:#09282c!important}
html[data-theme="dark"] .tt-page .tt-btn--secondary{background:transparent;border-color:#7ad7d3;color:#7ad7d3!important}
html[data-theme="dark"] .tt-page .tt-btn--secondary:hover,
html[data-theme="dark"] .tt-page .tt-btn--secondary:focus{background:#59c8c3;color:#09282c!important}
