* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f3ee;
    color: #171717;
    line-height: 1.6;
}


/* NAVIGATION */

.navbar {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    background: #171717;
    border-bottom: none;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 260px;
    height: auto;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #f5f3ee;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #00c896;
}


/* HERO */

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8vw 6vw;
}

.hero-content {
    max-width: 900px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(58px, 8vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 600;
    margin-bottom: 40px;
}

.hero-text {
    max-width: 540px;
    font-size: 21px;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    background: #171717;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.button:hover {
    opacity: 0.8;
}


/* SECTIONS */

.section {
    padding: 120px 6vw;
    border-top: 1px solid #d8d5ce;
}

.section h2 {
    font-size: clamp(42px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 600;
    margin-bottom: 70px;
}


/* THREE COLUMNS */

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.card {
    border-top: 2px solid #00c896;
    padding-top: 20px;
}

.card span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #171717;
}

.card h3 {
    font-size: 30px;
    margin: 30px 0 15px;
    letter-spacing: -0.02em;
}

.card p {
    max-width: 330px;
}


/* INSTITUTE */

.institute {
    background: #171717;
    color: #f5f3ee;
}

.institute-content {
    max-width: 1200px;
}

.institute .eyebrow {
    color: #00c896;
}

.institute h2 {
    max-width: 950px;
}

.institute-bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: start;
    margin-top: 20px;
}

.institute-intro {
    max-width: 600px;
    font-size: 20px;
}

.institute-topics {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #555;
}

.institute-topics span {
    padding: 12px 0;
    border-bottom: 1px solid #555;
    font-size: 13px;
    letter-spacing: 0.12em;
}

.text-link {
    display: inline-block;
    margin-top: 60px;
    color: #f5f3ee;
    text-decoration: none;
    border-bottom: 1px solid #00c896;
    padding-bottom: 6px;
    font-size: 15px;
}

.text-link:hover {
    color: #00c896;
}


/* ABOUT */

.about {
    max-width: 1100px;
}

.about > p:last-child {
    max-width: 650px;
    font-size: 20px;
}

/* CONTACT */

.contact {
    background: #f5f3ee;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: end;
}

.contact h2 {
    margin-bottom: 0;
}

.contact-content {
    padding-bottom: 8px;
}

.contact-content p {
    max-width: 480px;
    font-size: 20px;
    margin-bottom: 40px;
}

.contact-link {
    display: inline-block;
    color: #171717;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #00c896;
    padding-bottom: 6px;
}

.contact-link:hover {
    color: #00c896;
}

/* FOOTER */

footer {
    padding: 40px 6vw;
    background: #171717;
    color: #f5f3ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-left strong {
    letter-spacing: 0.12em;
}

.footer-left span {
    color: #00c896;
    font-size: 12px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-right a {
    color: #f5f3ee;
    text-decoration: none;
}

.footer-right a:hover {
    color: #00c896;
}


/* MOBILE */

@media (max-width: 700px) {

    .navbar {
        padding: 0 5vw;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: 75vh;
        padding: 15vw 5vw;
    }

    h1 {
        font-size: 58px;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .section {
        padding: 90px 5vw;
    }

    footer {
        flex-direction: column;
        gap: 20px;
    }

.institute-bottom {
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-right {
    flex-wrap: wrap;
    gap: 15px 25px;
}

}

/* =========================================================
   THE SMART MOLE INSTITUTE
   ========================================================= */


/* INSTITUTE NAVIGATION */

.institute-page .navbar {
    background: #171717;
    border-bottom: 1px solid #333333;
}


/* INSTITUTE HERO */

.institute-hero {
    background: #171717;
    color: #f5f3ee;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 9vw 6vw 10vw;
}

.institute-hero-content {
    max-width: 1200px;
}

.institute-hero .eyebrow {
    color: #00c896;
    margin-bottom: 35px;
}

.institute-hero h1 {
    max-width: 1100px;
    font-size: clamp(58px, 7.5vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 600;
    margin-bottom: 55px;
}

.institute-hero-text {
    max-width: 670px;
    font-size: 22px;
    line-height: 1.55;
    color: #f5f3ee;
}


/* RESEARCH INTRO */

.research-section {
    background: #f5f3ee;
}

.research-heading {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 100px;
}

.research-heading h2 {
    margin-bottom: 0;
}

.research-heading > p {
    max-width: 470px;
    font-size: 19px;
    padding-bottom: 8px;
}


/* RESEARCH LIST */

.research-list {
    border-top: 2px solid #171717;
}

.research-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 50px 0 60px;
    border-bottom: 1px solid #aaa69e;
}

.research-number {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #00c896;
}

.research-main {
    max-width: 850px;
}

.research-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.research-main h3 {
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 25px;
}

.research-main p {
    max-width: 650px;
    font-size: 18px;
    margin-bottom: 30px;
}

.research-status {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-bottom: 2px solid #00c896;
    padding-bottom: 5px;
}


/* PRINCIPLES */

.principles {
    background: #ffffff;
}

.principle {
    border-top: 2px solid #00c896;
    padding-top: 20px;
}

.principle span {
    font-size: 15px;
    font-weight: 700;
}

.principle h3 {
    font-size: 30px;
    margin: 30px 0 15px;
    letter-spacing: -0.02em;
}

.principle p {
    max-width: 330px;
}


/* INSTITUTE CONTACT */

.institute-contact {
    background: #f5f3ee;
}


/* INSTITUTE MOBILE */

@media (max-width: 700px) {

    .institute-hero {
        min-height: 70vh;
        padding: 18vw 5vw;
    }

    .institute-hero h1 {
        font-size: 56px;
    }

    .institute-hero-text {
        font-size: 19px;
    }

    .research-heading {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 70px;
    }

    .research-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================
   THE SMART MOLE INSTITUTE — V2
   GREEN / WHITE EDITORIAL SYSTEM
   ========================================================= */

:root {
    --mole-green: #00c896;
    --mole-dark: #171717;
    --institute-white: #ffffff;
    --institute-soft: #f4faf8;
    --institute-line: #d8e6e1;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.institute-page {
    background: var(--institute-white);
    color: var(--mole-dark);
}

.institute-navbar {
    min-height: 105px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--institute-white);
    border-bottom: 1px solid var(--institute-line);
}

.institute-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--mole-dark);
    line-height: 1.1;
}

.institute-brand-main {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.institute-brand-sub {
    margin-top: 5px;
    color: var(--mole-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.institute-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.institute-nav a {
    color: var(--mole-dark);
    text-decoration: none;
    font-size: 14px;
}

.institute-nav a:hover {
    color: var(--mole-green);
}

.institute-nav .back-to-mole {
    margin-left: 15px;
    padding-left: 30px;
    border-left: 1px solid var(--institute-line);
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.institute-v2-hero {
    background: var(--mole-green);
    color: var(--institute-white);
    padding: 95px 6vw 105px;
}

.institute-v2-hero-inner {
    max-width: 1250px;
}

.institute-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 35px;
}

.institute-v2-hero h1 {
    max-width: 1100px;
    font-size: clamp(58px, 7.2vw, 108px);
    line-height: 0.94;
    letter-spacing: -0.055em;
    font-weight: 600;
    margin-bottom: 45px;
}

.institute-v2-intro {
    max-width: 680px;
    font-size: 21px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   RESEARCH AREAS
   --------------------------------------------------------- */

.research-areas {
    padding: 30px 6vw;
    background: var(--mole-dark);
    color: var(--institute-white);
    display: flex;
    align-items: center;
    gap: 45px;
}

.research-areas-label {
    flex-shrink: 0;
    color: var(--mole-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.research-area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.research-area-list a {
    color: var(--institute-white);
    text-decoration: none;
    border: 1px solid #4a4a4a;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 13px;
}

.research-area-list a:hover {
    background: var(--mole-green);
    border-color: var(--mole-green);
    color: var(--mole-dark);
}


/* ---------------------------------------------------------
   GENERAL INSTITUTE CONTENT
   --------------------------------------------------------- */

.institute-content-section {
    padding: 110px 6vw 130px;
    background: var(--institute-white);
}

.institute-section-label {
    color: var(--mole-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 22px;
}

.section-intro-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 70px;
}

.section-intro-row h2 {
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.section-description {
    max-width: 480px;
    font-size: 18px;
}


/* ---------------------------------------------------------
   SEARCH + FILTERS
   --------------------------------------------------------- */

.research-tools {
    margin-bottom: 55px;
}

.research-search {
    display: flex;
    align-items: center;
    max-width: 700px;
    border-bottom: 2px solid var(--mole-dark);
    margin-bottom: 25px;
}

.research-search span {
    font-size: 24px;
    margin-right: 12px;
}

.research-search input {
    width: 100%;
    padding: 15px 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 18px;
}

.research-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.research-filters button {
    background: var(--institute-white);
    color: var(--mole-dark);
    border: 1px solid #b8c4c0;
    border-radius: 30px;
    padding: 9px 16px;
    cursor: pointer;
    font-size: 13px;
}

.research-filters button:hover,
.research-filters button.active {
    background: var(--mole-green);
    border-color: var(--mole-green);
    color: var(--mole-dark);
}


/* ---------------------------------------------------------
   RESEARCH CARDS
   --------------------------------------------------------- */

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.research-card {
    border: 1px solid var(--institute-line);
    background: var(--institute-white);
    transition: transform 0.2s ease;
}

.research-card:hover {
    transform: translateY(-4px);
}

.research-card-top {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.research-id {
    color: var(--mole-green);
}

.research-card-visual {
    min-height: 190px;
    background: var(--mole-green);
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.research-card-visual span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.research-card-visual.secondary {
    background: var(--institute-soft);
}

.research-card-content {
    padding: 30px 25px 35px;
}

.research-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.research-card-content h3 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.research-card-content > p:last-child {
    max-width: 520px;
}


/* ---------------------------------------------------------
   METHODOLOGY
   --------------------------------------------------------- */

.methodology-section {
    padding: 120px 6vw;
    background: var(--institute-soft);
}

.methodology-heading h2 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 60px;
}

.methodology-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1050px;
    margin-bottom: 80px;
}

.methodology-intro p {
    font-size: 20px;
}

.methodology-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.methodology-item {
    border-top: 3px solid var(--mole-green);
    padding-top: 20px;
}

.methodology-item span {
    font-size: 13px;
    font-weight: 700;
}

.methodology-item h3 {
    font-size: 27px;
    margin: 25px 0 15px;
}

.methodology-note {
    margin-top: 80px;
    max-width: 900px;
    border-left: 4px solid var(--mole-green);
    padding: 8px 0 8px 25px;
}

.methodology-note p {
    font-size: 16px;
}


/* ---------------------------------------------------------
   PURPOSE
   --------------------------------------------------------- */

.purpose-section {
    padding: 120px 6vw;
    background: var(--institute-white);
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 100px;
}

.purpose-grid h2 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.purpose-text p {
    font-size: 19px;
    margin-bottom: 25px;
}


/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.institute-v2-contact {
    padding: 110px 6vw;
    background: var(--mole-green);
    color: var(--mole-dark);
}

.institute-v2-contact .institute-section-label {
    color: var(--mole-dark);
}

.institute-contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 100px;
    align-items: end;
}

.institute-contact-grid h2 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.institute-contact-grid p {
    max-width: 480px;
    font-size: 19px;
    margin-bottom: 35px;
}

.institute-contact-grid a {
    color: var(--mole-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid var(--mole-dark);
    padding-bottom: 5px;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.institute-footer {
    background: var(--mole-dark);
    color: var(--institute-white);
    padding: 45px 6vw;
}

.institute-footer > div:first-child {
    display: flex;
    flex-direction: column;
}

.institute-footer > div:first-child span {
    color: var(--mole-green);
    margin-top: 4px;
}

.institute-footer > div:nth-child(2) {
    display: flex;
    gap: 25px;
}

.institute-footer a {
    color: var(--institute-white);
    text-decoration: none;
}

.institute-footer a:hover {
    color: var(--mole-green);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .institute-navbar {
        padding: 22px 5vw;
    }

    .institute-nav {
        display: none;
    }

    .institute-v2-hero {
        padding: 80px 5vw;
    }

    .institute-v2-hero h1 {
        font-size: 54px;
    }

    .research-areas {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 25px 5vw;
    }

    .section-intro-row,
    .methodology-intro,
    .purpose-grid,
    .institute-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .methodology-principles {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .institute-content-section,
    .methodology-section,
    .purpose-section,
    .institute-v2-contact {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .institute-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .institute-footer > div:nth-child(2) {
        flex-wrap: wrap;
    }
}

/* SEARCH CLEAR BUTTON */

.clear-search {
    display: none;
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    border: 0;
    background: transparent;

    color: #171717;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.clear-search.visible {
    display: block;
}

.clear-search:hover {
    color: #00c896;
}
/* Institute introduction: accessible, click-to-play documentary. */
.institute-film{padding:70px 6vw;background:#f5f3ee;display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.5fr);gap:48px;align-items:start}
.institute-film-intro h2{font-size:clamp(30px,3.1vw,48px);line-height:1.06;letter-spacing:-.045em;margin:16px 0 24px;color:#123d32}
.institute-film-intro>p:last-child{max-width:420px;color:#496158}
.institute-film-player{min-width:0;margin:0}
.institute-film-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#123d32;border-radius:5px}
.institute-film-player figcaption{font-size:12px;color:#496158;margin-top:12px;line-height:1.5}
.institute-film-transcript{margin-top:16px;font-size:14px;color:#295247}
.institute-film-transcript summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px;width:fit-content}
.institute-film-transcript summary:focus-visible{outline:2px solid #087657;outline-offset:5px}
.institute-film-transcript p{margin-top:14px;max-width:75ch;line-height:1.7}
@media(max-width:800px){.institute-film{grid-template-columns:1fr;gap:28px;padding:44px 6vw}.institute-film-intro>p:last-child{max-width:650px}}
