/* ============================================================
   SOUTH HAVEN INVESTMENT GROUP — Main Stylesheet
   ============================================================ */

/* --- TOKENS --- */
:root {
    --navy:      #0F1F2E;
    --gold:      #C9A84C;
    --gold-lt:   #E2C47A;
    --cream:     #F8F5EF;
    --white:     #FFFFFF;
    --text:      #1C1C1C;
    --muted:     #6B7280;
    --border:    #DDD8CE;
    --serif:     'Playfair Display', 'Book Antiqua', Georgia, serif;
    --sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max:       1100px;
    --pad:       clamp(1.5rem, 5vw, 5rem);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
ul { list-style: none; }

/* --- BASE --- */
body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

/* --- TYPE SCALE --- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); margin-bottom: .75rem; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600;
     letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

p { max-width: 68ch; }

/* --- LABEL --- */
.sh-label {
    display: block;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* --- LINKS --- */
.sh-link {
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-block;
    margin-top: .75rem;
}
.sh-link-light {
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-block;
    margin-top: 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(201,168,76,.18);
}
.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.header-logo img { height: 44px; width: auto; }

/* Nav */
.site-nav { display: flex; align-items: center; }
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}
.nav-menu a {
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(248,245,239,.8);
    transition: color .2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--gold); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.sh-hero {
    background: var(--navy);
    padding: clamp(80px, 12vw, 140px) var(--pad) clamp(80px, 10vw, 120px);
}
.sh-hero-inner { max-width: var(--max); margin: 0 auto; }
.sh-hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.sh-hero p  { color: rgba(248,245,239,.78); font-size: 1.125rem; max-width: 60ch; margin-bottom: 2.5rem; }
.sh-scroll-cta {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}

/* ============================================================
   PILLARS (Home)
   ============================================================ */
.sh-pillars { padding: clamp(60px,8vw,100px) var(--pad); }
.sh-pillars-inner { max-width: var(--max); margin: 0 auto; }
.sh-pillars-header { margin-bottom: 3rem; }
.sh-pillars-intro { font-size: 1.05rem; color: var(--muted); max-width: 58ch; margin-top: .5rem; }

.sh-pillar {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}
.sh-pillar:last-child { border-bottom: 1px solid var(--border); }
.sh-pillar-num {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold);
    opacity: .35;
    line-height: 1;
    padding-top: .2rem;
}
.sh-pillar-content h3 { margin-bottom: .6rem; }
.sh-pillar-content p  { color: var(--muted); margin-bottom: 0; }

/* ============================================================
   DARK BAND
   ============================================================ */
.sh-dark-band {
    background: var(--navy);
    padding: clamp(60px,8vw,100px) var(--pad);
    text-align: center;
}
.sh-dark-band-inner { max-width: 720px; margin: 0 auto; }
.sh-dark-band p { color: rgba(248,245,239,.82); font-size: 1.1rem; max-width: 65ch; margin: 0 auto 1rem; }
.sh-dark-band-sub { font-size: .95rem !important; opacity: .7; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.sh-page-header {
    background: var(--navy);
    padding: clamp(70px,10vw,110px) var(--pad) clamp(60px,8vw,90px);
}
.sh-page-header-inner { max-width: var(--max); margin: 0 auto; }
.sh-page-header h1 { color: var(--white); margin-top: .75rem; }
.sh-page-subhead {
    color: rgba(248,245,239,.72);
    font-size: 1.05rem;
    max-width: 60ch;
    margin-top: 1.5rem;
    line-height: 1.75;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.sh-section {
    padding: clamp(50px,7vw,90px) var(--pad);
}
.sh-section-alt {
    background: var(--white);
}
.sh-section-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.sh-prose p {
    margin-bottom: 1.4rem;
    font-size: 1.0rem;
    line-height: 1.82;
    color: var(--text);
}
.sh-prose p:last-child { margin-bottom: 0; }

/* ============================================================
   ARENAS (Investments)
   ============================================================ */
.sh-arena { display: grid; grid-template-columns: 200px 1fr; gap: 0 4rem; align-items: start; }
.sh-arena-label { padding-top: .3rem; }
.sh-arena-num {
    display: block;
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--gold);
    opacity: .3;
    line-height: 1;
    margin-bottom: .75rem;
}

/* ============================================================
   VALUES GRID (About)
   ============================================================ */
.sh-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem 4rem;
    margin-top: 2.5rem;
}
.sh-value h4 { margin-bottom: .75rem; }
.sh-value p   { font-size: .975rem; color: var(--muted); max-width: 36ch; }

/* ============================================================
   CLOSING LINE (About)
   ============================================================ */
.sh-closing-line {
    background: var(--navy);
    padding: clamp(40px,5vw,60px) var(--pad);
}
.sh-closing-line p {
    color: rgba(248,245,239,.7);
    font-size: .95rem;
    max-width: 68ch;
}

/* ============================================================
   JOB CARD (Careers)
   ============================================================ */
.sh-job-card {
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    padding: clamp(2rem,4vw,3.5rem);
    background: var(--white);
}
.sh-job-card h2 { margin-top: 1rem; margin-bottom: .5rem; }
.sh-job-card h3 {
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--navy);
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.sh-job-card h3:first-of-type { border-top: none; padding-top: 0; }
.sh-job-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    padding: 4px 14px;
}
.sh-job-meta {
    font-size: .875rem;
    color: var(--muted);
    margin-bottom: 2rem;
}
.sh-list { list-style: none; padding: 0; }
.sh-list li {
    padding-left: 1.25rem;
    position: relative;
    font-size: .975rem;
    color: var(--text);
    margin-bottom: .6rem;
    line-height: 1.7;
}
.sh-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: .8em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.sh-contact-section { text-align: left; }
.sh-contact-block {
    max-width: var(--max);
    margin: 3rem auto 2rem;
    padding: 0 var(--pad);
}
.sh-contact-email {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.3rem,3vw,1.9rem);
    color: var(--navy);
    margin-bottom: .5rem;
    transition: color .2s;
}
.sh-contact-email:hover { color: var(--gold); }
.sh-contact-location {
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.sh-contact-footnote {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 3rem;
    max-width: 52ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    padding: 3rem var(--pad);
    border-top: 1px solid rgba(201,168,76,.15);
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-logo img { height: 36px; width: auto; opacity: .85; }
.footer-meta { text-align: center; }
.footer-location {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(248,245,239,.45);
    margin-bottom: .35rem;
}
.footer-email {
    font-size: .85rem;
    color: rgba(201,168,76,.7);
}
.footer-email:hover { color: var(--gold); }
.footer-copy p {
    font-size: .75rem;
    color: rgba(248,245,239,.3);
    max-width: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .sh-arena { grid-template-columns: 1fr; gap: 1rem; }
    .sh-arena-num { font-size: 2rem; opacity: .25; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-top: 1px solid rgba(201,168,76,.15);
        padding: 1.5rem var(--pad);
        display: none;
    }
    .site-nav.is-open { display: block; }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

    .sh-pillar { grid-template-columns: 40px 1fr; gap: 0 1.25rem; }
    .sh-values-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-meta { text-align: left; }
}
