/* ============================================================
   MMINN Group of Companies — Corporate Stylesheet
   Palette   : navy #0C033B family ONLY (no black) + gold #C9A24B
   Type      : Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
    --navy: #0C033B;
    --navy-soft: #140A4F;
    --navy-card: #170E56;
    --navy-deep: #0A0230;
    --ink: #F2EEE3;
    --muted: #C2BBD9;
    --gold: #C9A24B;
    --gold-light: #E6CF9A;
    --gold-deep: #A5823A;
    --line: rgba(201, 162, 75, 0.30);
    --line-soft: rgba(201, 162, 75, 0.14);
    --head: 'Playfair Display', Georgia, serif;
    --body: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 22px;
    --sp-sm: 1rem;
    --sp-md: 2.25rem;
    --sp-lg: 4rem;
    --sp-xl: 6.5rem;
    --shadow: 0 24px 60px rgba(5, 1, 25, 0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--navy);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { color: var(--muted); }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-md); }

/* Subtle gold monogram watermark */
.watermark {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    display: grid; place-items: center;
    font-family: var(--head); font-weight: 700; white-space: nowrap; user-select: none;
    font-size: clamp(16rem, 42vw, 30rem);
    color: rgba(201, 162, 75, 0.03);
    letter-spacing: 0.08em;
}

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.8rem;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ''; height: 1px; width: 38px; background: var(--line); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-lg); }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head h2 { margin-bottom: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: 0.95rem 2.2rem; border-radius: 4px;
    font-family: var(--body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
    background: var(--gold); color: var(--navy); border: 1px solid var(--gold);
    transition: all .22s ease; cursor: pointer;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--navy); }

/* ---------- Navigation ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(12, 3, 59, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 1rem var(--sp-md);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-md);
}
.brand { display: flex; align-items: baseline; gap: 0.7rem; justify-self: start; }
.brand-mark {
    font-family: var(--head); font-weight: 700; font-size: 1.55rem; color: var(--gold); letter-spacing: 0.06em;
}
.brand-sub {
    font-family: var(--body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--muted);
}

.nav-mono { display: flex; align-items: center; gap: 0.5rem; justify-self: center; }
.nav-mono a {
    font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--gold);
    width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(20, 10, 79, 0.5); transition: all .2s ease;
}
.nav-mono a:hover, .nav-mono a.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.nav-pages { display: flex; align-items: center; gap: var(--sp-md); justify-self: end; list-style: none; }
.nav-pages a {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink); padding: 4px 0; position: relative;
}
.nav-pages a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
    background: var(--gold); transition: width .25s ease;
}
.nav-pages a:hover, .nav-pages a.active { color: var(--gold); }
.nav-pages a:hover::after, .nav-pages a.active::after { width: 100%; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 6px; justify-self: end;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); transition: .25s ease; }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--sp-xl) + 40px) var(--sp-md) var(--sp-lg);
    background:
        radial-gradient(1200px 700px at 50% -10%, rgba(43, 26, 143, 0.55) 0%, transparent 60%),
        linear-gradient(180deg, rgba(12, 3, 59, 0.60) 0%, rgba(12, 3, 59, 0.94) 55%, var(--navy) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1900&q=80') center/cover;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero .monogram-line { margin: 1.6rem 0 1.1rem; }
.monogram-line { display: flex; justify-content: center; gap: clamp(0.35rem, 1.6vw, 1.1rem); }
.monogram-line span {
    font-family: var(--head); font-weight: 700; line-height: 1;
    font-size: clamp(1.7rem, 4.5vw, 3.2rem); color: var(--gold);
}
.hero h1 { text-shadow: 0 6px 30px rgba(5, 1, 25, 0.6); margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin: 0 auto var(--sp-md); }
.hero-actions { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ---------- Company showcase (home) ---------- */
.showcase { position: relative; z-index: 1; padding: var(--sp-xl) 0; }
.featured {
    display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
    background: var(--navy-card); border: 1px solid var(--line-soft);
    border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-md);
    min-height: 340px; box-shadow: var(--shadow);
}
.featured-copy { padding: var(--sp-lg); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-media { position: relative; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.featured:hover .featured-media img { transform: scale(1.05); }

.company-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }
.company-card {
    position: relative; border-radius: var(--r-md); overflow: hidden;
    border: 1px solid var(--line-soft); min-height: 320px;
    display: flex; align-items: flex-end; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    box-shadow: 0 12px 34px rgba(5, 1, 25, 0.4);
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.company-card .cc-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease;
}
.company-card:hover .cc-img { transform: scale(1.06); }
.company-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 3, 59, 0.05) 20%, rgba(12, 3, 59, 0.92) 78%);
}
.company-card .cc-body { position: relative; z-index: 2; padding: 1.6rem; width: 100%; }
.cc-badge {
    position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2;
    font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--gold);
    width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 10px;
    background: rgba(12, 3, 59, 0.72); display: inline-flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.cc-sector { color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.company-card h3, .featured h3 { margin: 0.45rem 0 0.5rem; font-size: 1.6rem; }
.cc-blurb { color: #D8D2EC; font-size: 0.95rem; margin-bottom: 0.9rem; }
.cc-link { font-weight: 600; font-size: 0.92rem; }
.cc-link:hover { color: var(--gold-light); }

/* ---------- Head office ---------- */
.head-office { position: relative; z-index: 1; padding: var(--sp-xl) 0; }
.head-panel {
    max-width: 960px; margin: 0 auto; text-align: center;
    background: linear-gradient(180deg, var(--navy-card), var(--navy-soft));
    border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: var(--sp-lg) var(--sp-md); box-shadow: var(--shadow);
}
.head-panel .monogram-line span { font-size: clamp(1.4rem, 3.5vw, 2.3rem); gap: 0.45rem; }
.head-panel h2 { margin: 1rem 0 0.4rem; }
.head-panel > p { max-width: 520px; margin: 0 auto var(--sp-md); }
.head-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-md); text-align: left; padding-top: var(--sp-md); border-top: 1px solid var(--line-soft); }
.head-item h4 { color: var(--gold); font-family: var(--body); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 0.5rem; }
.head-item p, .head-item a { color: var(--muted); font-size: 0.98rem; }
.head-item a:hover { color: var(--gold-light); }

/* ---------- Page head (board) ---------- */
.page-head {
    position: relative; z-index: 1; text-align: center;
    padding: calc(var(--sp-xl) + 60px) var(--sp-md) var(--sp-lg);
    background:
        radial-gradient(1000px 600px at 50% -8%, rgba(43, 26, 143, 0.5) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 100%);
    border-bottom: 1px solid var(--line-soft);
}
.page-head .monogram-line span { font-size: clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { margin-bottom: 0.6rem; }
.page-head .sub { max-width: 620px; margin: 0 auto; }

/* ---------- Board ---------- */
.board-intro { text-align: center; max-width: 720px; margin: 0 auto var(--sp-lg); }
.board-chair-wrap { display: flex; justify-content: center; margin-bottom: var(--sp-md); }
.member {
    background: linear-gradient(180deg, var(--navy-card), var(--navy-soft));
    border: 1px solid var(--line-soft); border-radius: var(--r-md);
    padding: 2rem 1.7rem; text-align: center; transition: all .25s ease;
}
.member:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow); }
.member-photo {
    width: 118px; height: 118px; margin: 0 auto 1.2rem; border-radius: 50%;
    border: 2px solid var(--line); background: rgba(27, 15, 94, 0.7);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--head); font-size: 0.9rem; color: var(--gold);
    overflow: hidden; letter-spacing: 0.1em;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.member .pos { color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.7rem; }
.member p.desc { font-size: 0.92rem; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-md); }
.board-note { text-align: center; max-width: 680px; margin: var(--sp-lg) auto 0; font-size: 0.85rem; border-top: 1px solid var(--line-soft); padding-top: var(--sp-md); }

/* ---------- Subsites ---------- */
.subsite-hero {
    position: relative; z-index: 1; min-height: 86vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: calc(var(--sp-xl) + 40px) var(--sp-md) var(--sp-lg);
    overflow: hidden;
}
.subsite-hero .sh-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.subsite-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12, 3, 59, 0.82) 0%, rgba(12, 3, 59, 0.55) 45%, rgba(12, 3, 59, 0.92) 100%);
}
.sh-letter {
    position: absolute; z-index: 1; right: -1rem; bottom: -3.5rem;
    font-family: var(--head); font-weight: 700; line-height: 1;
    font-size: clamp(14rem, 32vw, 24rem); color: rgba(201, 162, 75, 0.10);
    pointer-events: none; user-select: none;
}
.sh-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.sector-line {
    display: flex; justify-content: center; align-items: center; gap: 0.9rem;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.sector-line::before, .sector-line::after { content: ''; height: 1px; width: 46px; background: var(--line); }
.sh-inner h1 {
    font-size: clamp(2.8rem, 7vw, 5.4rem); color: var(--gold); text-shadow: 0 8px 34px rgba(5, 1, 25, 0.7);
    margin: 1.4rem 0 1rem;
}
.sh-inner .tagline { font-size: 1.16rem; color: #D8D2EC; max-width: 600px; margin: 0 auto var(--sp-md); }
.sh-inner .monogram-line span { font-size: clamp(1.2rem, 3vw, 2rem); letter-spacing: 0.1em; margin-bottom: 0.4rem; }

.subsite-section { position: relative; z-index: 1; padding: var(--sp-lg) 0 var(--sp-xl); }
.subsite-section.alt { background: linear-gradient(180deg, var(--navy-soft), var(--navy)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.about-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.about-wrap p { font-size: 1.07rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-md); }
.feature {
    background: var(--navy-card); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold);
    border-radius: var(--r-md); padding: 1.9rem 1.7rem; transition: all .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--gold-light); }
.feature .f-num { font-family: var(--head); font-weight: 700; font-size: 1.9rem; color: var(--gold); opacity: 0.85; line-height: 1; }
.feature h3 { margin: 0.9rem 0 0.55rem; font-size: 1.3rem; }
.feature p { font-size: 0.95rem; }
.feature-list { margin: 0.9rem 0 0; padding-left: 1.1rem; }
.feature-list li { font-size: 0.9rem; line-height: 1.6; color: inherit; opacity: 0.88; margin-bottom: 0.35rem; }
.feature-list li::marker { color: var(--gold); }

.strip {
    position: relative; z-index: 1; text-align: center; padding: var(--sp-lg) 0;
    background: linear-gradient(120deg, var(--navy-card), var(--navy-soft));
    border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.strip-inner { max-width: 620px; margin: 0 auto; }
.strip-inner h2 { margin-bottom: 0.6rem; }
.strip-inner p { margin-bottom: var(--sp-md); }

.contact-block { text-align: center; }
.contact-block .monogram-line span { font-size: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 1.2rem; }
.contact-block h2 { margin-bottom: 0.6rem; }
.contact-block p { font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--navy-deep); border-top: 1px solid var(--line-soft); padding-top: var(--sp-lg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: var(--sp-lg); padding-bottom: var(--sp-md); }
.footer h4 { color: var(--gold); font-family: var(--body); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: var(--muted); font-size: 0.95rem; }
.footer ul a:hover { color: var(--gold-light); }
.footer p { font-size: 0.95rem; }
.footer .brand-mark { font-size: 1.35rem; }
.footer-logo { width: 110px; height: auto; margin-top: 1.25rem; opacity: 0.95; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 1.2rem 0; text-align: center; }
.footer-bottom p { font-size: 0.84rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .featured { grid-template-columns: 1fr; }
    .featured-media { min-height: 240px; order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav-inner { grid-template-columns: 1fr auto; }
    .nav-mono { display: none; }
    .nav-toggle { display: flex; }
    .nav-pages {
        position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: rgba(12, 3, 59, 0.98); border-bottom: 1px solid var(--line);
        padding: 0.8rem var(--sp-md); transform: translateY(-115%); opacity: 0; visibility: hidden;
        transition: all .3s ease;
    }
    .nav-pages.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-pages li { width: 100%; border-bottom: 1px solid var(--line-soft); }
    .nav-pages a { display: block; padding: 0.9rem 0; }
    .nav-pages a::after { display: none; }
    .company-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .brand-sub { display: none; }
}