/* ==========================================================================
   IJTMSA — International Journal of Tsunagari Management & Sciences Academy
   Brand: deep navy + gold, classic academic
   ========================================================================== */

:root {
    --navy:        #142a5c;
    --navy-deep:   #0d1b3e;
    --navy-soft:   #1d3a75;
    --gold:        #c3a14c;
    --gold-light:  #d9bd73;
    --ink:         #1b1d21;
    --muted:       #5d6470;
    --paper:       #ffffff;
    --paper-warm:  #faf9f6;
    --line:        #e5e2d9;

    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

[hidden] { display: none !important; }


/* --------------------------------------------------------------- masthead */

.masthead {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 0;
}

.masthead__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 78rem;
    padding: 0 1rem;
}

.brand {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

.brand__mark {
    width: 190px;
}

.brand__fallback {
    display: block;
    line-height: 1.25;
    text-align: center;
}

.brand__fallback em {
    color: var(--navy);
    display: block;
    font-family: var(--serif);
    font-size: 0.7rem;
    font-style: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brand__fallback strong {
    color: var(--navy);
    display: block;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    max-width: 16rem;
}

.brand__fallback span {
    color: var(--gold);
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    margin-top: 0.15rem;
}


/* -------------------------------------------------------------------- nav */

.nav {
    align-items: stretch;
    background: var(--navy);
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
}

.nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__links a {
    border-radius: 2px;
    color: #eef1f7;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    padding: 0.7rem 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    background: var(--navy-soft);
    color: var(--gold-light);
}

.nav__links a.is-active { color: var(--gold); }

.nav__cta {
    align-items: center;
    background: var(--gold);
    border-radius: 2px;
    color: var(--navy-deep);
    display: flex;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    margin-left: 0.4rem;
    padding: 0.7rem 1.15rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.18s ease;
    white-space: nowrap;
}

.nav__cta:hover,
.nav__cta:focus-visible { background: var(--gold-light); }


/* ------------------------------------------------------------------- hero */

.hero {
    background-color: var(--paper-warm);
    background-image: url("../images/hero-globe.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}

.hero__inner {
    margin: 0 auto;
    max-width: 78rem;
    padding: 6rem 1rem 6.5rem;
}

.hero__text { max-width: 34rem; }

.hero__eyebrow {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
}

.hero__title {
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin: 0;
}

.hero__lede {
    color: var(--muted);
    font-size: 1.06rem;
    margin: 1.4rem 0 0;
    max-width: 30rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}


/* ---------------------------------------------------------------- buttons */

.btn {
    border-radius: 2px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    padding: 0.9rem 1.7rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn--gold:hover,
.btn--gold:focus-visible { background: var(--gold-light); }

.btn--outline {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--navy);
    color: #fff;
}


/* ----------------------------------------------------------------- footer */

.foot {
    background: var(--navy-deep);
    color: #c8cfdd;
    font-size: 0.88rem;
}

.foot__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 78rem;
    padding: 2rem 1rem;
}

.foot p { margin: 0; }

.foot a {
    color: var(--gold-light);
    text-decoration: none;
}

.foot a:hover { text-decoration: underline; }


/* ------------------------------------------------------------ responsive  */

@media (max-width: 1080px) {
    .masthead__inner { justify-content: center; }
    .brand__mark { width: 165px; }

    .hero {
        background-position: center bottom;
        background-size: 130% auto;
    }

    .hero__inner { padding-bottom: 14rem; }
}

@media (max-width: 720px) {
    .nav {
        border-radius: 0;
        margin: 0 -1rem;
        overflow-x: auto;
        padding: 0.35rem 0.75rem;
        width: calc(100% + 2rem);
        -webkit-overflow-scrolling: touch;
    }

    .nav__links { flex-wrap: nowrap; }

    .nav__links a,
    .nav__cta {
        font-size: 0.72rem;
        padding: 0.65rem 0.8rem;
    }

    .hero__inner { padding: 3.5rem 1rem 11rem; }
    .hero__lede { font-size: 1rem; }
}
