/* ══════════════════════════════════════
   SITE 36 — "Deep Current"
   Navy dominant + warm coral accent
   Zodiak (display) + Switzer (body)
   ══════════════════════════════════════ */

:root {
    --navy: #0F1B2D;
    --navy-mid: #1A2B45;
    --navy-light: #243B5C;
    --coral: #E86540;
    --coral-light: #F2845E;
    --ice: #E8EDF4;
    --ice-warm: #F5F3F0;
    --white: #FFFFFF;
    --text-body: #64748B;
    --text-light: #94A3B8;
    --border: rgba(255,255,255,0.06);
}

* { box-sizing: border-box; }

body {
    font-family: 'Switzer', sans-serif;
    margin: 0;
    background: var(--navy);
    color: var(--ice);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.display-font { font-family: 'Zodiak', serif; }

/* ── Scrolling ticker ── */
.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ticker-track {
    display: inline-flex;
    animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.ticker-item {
    font-family: 'Zodiak', serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(232, 237, 244, 0.06);
    padding: 0 2rem;
    white-space: nowrap;
    user-select: none;
}
.ticker-item .accent { color: var(--coral); opacity: 0.3; }

/* ── Nav ── */
.nav-dark {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(15, 27, 45, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1440px; margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    color: var(--text-light); text-decoration: none;
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 1px solid var(--coral);
    color: var(--coral); padding: 0.65rem 1.5rem;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-cta:hover {
    background: var(--coral); color: var(--white);
    box-shadow: 0 8px 30px rgba(232, 101, 64, 0.25);
}

/* ── Hero ── */
.hero-deep {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 8rem 2rem 4rem;
    position: relative;
}
.hero-deep::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 30%, var(--navy-light) 0%, var(--navy) 70%);
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; width: 100%; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--coral); margin-bottom: 2rem;
}
.hero-tag::before {
    content: ''; width: 2rem; height: 1px; background: var(--coral);
}
.hero-headline {
    font-family: 'Zodiak', serif; font-weight: 300;
    font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 1;
    letter-spacing: -0.025em; margin: 0 0 2rem;
    max-width: 900px;
}
.hero-headline em {
    font-style: italic; color: var(--coral);
}
.hero-sub {
    font-size: 1.15rem; color: var(--text-light);
    max-width: 540px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-coral {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--coral); color: var(--white);
    padding: 1rem 2rem; font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-coral:hover {
    background: var(--coral-light);
    box-shadow: 0 12px 35px rgba(232, 101, 64, 0.3);
    transform: translateY(-2px);
}
.btn-ghost-light {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 1px solid rgba(232, 237, 244, 0.15);
    color: var(--ice); padding: 1rem 2rem;
    font-weight: 600; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 0.06em; text-decoration: none;
    transition: all 0.3s;
}
.btn-ghost-light:hover {
    border-color: var(--ice); background: rgba(232, 237, 244, 0.05);
}

/* ── Stats bar ── */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    max-width: 1440px; margin: 0 auto;
}
.stat-cell {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background 0.3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(232, 101, 64, 0.04); }
.stat-num {
    font-family: 'Zodiak', serif; font-size: 2.5rem;
    font-weight: 400; color: var(--white); line-height: 1;
}
.stat-label {
    font-size: 0.75rem; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-top: 0.5rem;
}

/* ── Sections (on light bg) ── */
.section-light {
    background: var(--ice-warm); color: var(--navy);
    padding: 6rem 2rem;
}
.section-dark {
    background: var(--navy-mid); color: var(--ice);
    padding: 6rem 2rem;
}
.section-navy {
    background: var(--navy); color: var(--ice);
    padding: 6rem 2rem;
}
.container { max-width: 1440px; margin: 0 auto; }

/* ── Accordion Services ── */
.accordion-item {
    border-bottom: 1px solid rgba(15, 27, 45, 0.08);
    overflow: hidden;
}
.section-dark .accordion-item { border-color: var(--border); }
.accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2rem 0; cursor: pointer; gap: 2rem;
    transition: padding-left 0.3s;
}
.accordion-header:hover { padding-left: 1rem; }
.accordion-num {
    font-family: 'Zodiak', serif; font-size: 1.5rem;
    color: var(--coral); min-width: 3rem; font-weight: 400;
}
.accordion-title {
    font-family: 'Zodiak', serif; font-size: 1.5rem;
    font-weight: 400; flex: 1;
}
.accordion-toggle {
    width: 2.5rem; height: 2.5rem;
    border: 1px solid currentColor; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--coral);
    transition: all 0.3s;
    flex-shrink: 0;
}
.accordion-header:hover .accordion-toggle {
    background: var(--coral); color: var(--white); border-color: var(--coral);
}
.accordion-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-body-inner {
    padding: 0 0 2rem 3rem;
    max-width: 600px;
    font-size: 0.95rem; line-height: 1.7;
}
.accordion-item.active .accordion-body { max-height: 300px; }
.accordion-item.active .accordion-toggle { transform: rotate(45deg); }

/* ── Partner pills ── */
.partner-row {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: center; align-items: center;
}
.partner-pill {
    font-family: 'Zodiak', serif; font-size: 1rem;
    font-weight: 400; letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(15, 27, 45, 0.1);
    color: var(--navy); opacity: 0.5;
    transition: all 0.3s;
}
.section-dark .partner-pill { border-color: var(--border); color: var(--ice); }
.partner-pill:hover { opacity: 1; border-color: var(--coral); color: var(--coral); }

/* ── QEHS horizontal scroll cards ── */
.qehs-track {
    display: flex; gap: 1.5rem; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;
}
.qehs-track::-webkit-scrollbar { display: none; }
.qehs-card {
    min-width: 300px; flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--navy-light);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    transition: all 0.4s;
}
.qehs-card:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
}
.qehs-icon {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.2rem;
}

/* ── Contact split ── */
.contact-split {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}
.contact-left {
    background: var(--coral);
    color: var(--white);
    padding: 5rem 4rem;
    display: flex; flex-direction: column; justify-content: center;
}
.contact-right {
    background: var(--navy);
    padding: 5rem 4rem;
    display: flex; flex-direction: column; justify-content: center;
}

/* ── Footer ── */
.footer-minimal {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem; color: var(--text-light);
}

/* ── Animations ── */
.anim-up {
    opacity: 0; transform: translateY(40px);
    animation: animUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes animUp { to { opacity: 1; transform: none; } }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; } .d4 { animation-delay: 0.4s; }
.d5 { animation-delay: 0.5s; }

/* ── Section headers (reusable) ── */
.sec-tag {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--coral); margin-bottom: 1rem;
    display: inline-flex; align-items: center; gap: 0.75rem;
}
.sec-tag::before {
    content: ''; width: 1.5rem; height: 1px; background: currentColor;
}
.sec-heading {
    font-family: 'Zodiak', serif; font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1;
    letter-spacing: -0.02em; margin: 0 0 1.5rem;
}
.sec-body {
    font-size: 1.05rem; color: var(--text-light);
    line-height: 1.7; max-width: 600px;
}
.section-light .sec-body { color: var(--text-body); }
.section-light .sec-heading { color: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .contact-split { grid-template-columns: 1fr; }
    .contact-left, .contact-right { padding: 3rem 2rem; }
}
@media (max-width: 640px) {
    .hero-deep { padding: 7rem 1.25rem 3rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-cell { padding: 1.5rem 1rem; }
    .stat-num { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
    .btn-coral, .btn-ghost-light { width: 100%; justify-content: center; }
    .section-light, .section-dark, .section-navy { padding: 4rem 1.25rem; }
    .accordion-header { padding: 1.5rem 0; }
    .accordion-title { font-size: 1.15rem; }
}

::selection { background: var(--coral); color: var(--white); }
