/* ════════════════════════════════════════════════════════════════
   TRUENORTH CAPITAL GROUP — styles.css
   Awwwards-tier private equity site
   ════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
    --paper:    #f4f4f0;
    --navy:     #0a0f1a;
    --charcoal: #111827;
    --gold:     #c9a96e;
    --gold-dim: rgba(201, 169, 110, 0.3);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;

    --nav-h:      80px;
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-font-smoothing:  antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--paper);
    color:       var(--charcoal);
    font-family: var(--font-sans);
    overflow-x:  hidden;
}

/* Lenis overrides */
html.lenis              { height: auto; }
.lenis.lenis-smooth     { scroll-behavior: auto; }
.lenis.lenis-stopped    { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* Selection */
::selection { background: rgba(201,169,110,0.2); }

/* ── Custom cursor (desktop only) ──────────────────────────── */
@media (pointer: fine) {
    * { cursor: none !important; }
}

.cursor {
    position: fixed; top: 0; left: 0;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s, height 0.25s, opacity 0.25s;
    will-change: transform;
}
.cursor-ring {
    position: fixed; top: 0; left: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(201,169,110,0.35);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}
@media (max-width: 768px) {
    .wrap { padding: 0 24px; }
}

.section-light { background: var(--paper); }
.section-dark  { background: var(--navy);  }
.section-dark--border { border-top: 1px solid rgba(255,255,255,0.05); }


/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border: none;
    box-shadow: none;
    transition: background 0.6s var(--ease-out),
                backdrop-filter 0.6s var(--ease-out),
                box-shadow 0.6s var(--ease-out);
}
.nav-bar.is-scrolled {
    background: rgba(10,15,26,0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .nav-inner { padding: 0 24px; }
}

/* Logo */
.nav-logo-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo {
    height: 31px;
    width: auto;
    filter: invert(1) brightness(10);
    opacity: 1;
    transition: height 0.5s var(--ease-out), opacity 0.4s;
}
.nav-bar.is-scrolled .nav-logo {
    height: 18px;
}
.nav-logo-link:hover .nav-logo { opacity: 0.6; }

.nav-sub {
    font-family: var(--font-sans);
    font-size: 8px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding-left: 1px;
}

/* Desktop links */
.nav-links {
    list-style: none;
    gap: 36px;
    align-items: center;
}
.nav-link {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.4s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.45s var(--ease-out);
}
.nav-link:hover { color: rgba(255,255,255,0.7); }
.nav-link:hover::after { width: 100%; }

.nav-cta-btn {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    padding: 9px 18px;
    border: 1px solid var(--gold-dim);
    transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.nav-cta-btn:hover {
    background: rgba(201,169,110,0.08);
    border-color: rgba(201,169,110,0.55);
    color: var(--gold);
}

/* Hamburger */
.nav-hamburger {
    background: none;
    border: none;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ham-bar {
    display: block;
    width: 22px; height: 1px;
    background: rgba(255,255,255,0.7);
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-hamburger.is-open .ham-bar:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-open .ham-bar:last-child  { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
    background: rgba(10,15,26,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-menu[data-open="true"] { max-height: 360px; }

.mob-link {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    padding: 18px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.35s, padding-left 0.35s;
}
.mob-link:hover { color: rgba(255,255,255,0.9); padding-left: 68px; }
.mob-link--cta  { color: var(--gold); }
.mob-link--cta:hover { opacity: 1; }


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    background: var(--navy);
    overflow: hidden;
}

/* Background */
.hero-bg-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform-origin: center center;
    will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,15,26,0.55) 0%,
        rgba(10,15,26,0.25) 35%,
        rgba(10,15,26,0.75) 75%,
        rgba(10,15,26,0.97) 100%
    );
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px 96px;
}
@media (max-width: 768px) {
    .hero-content { padding: 0 24px 72px; }
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    margin-bottom: 28px;
    display: block;
}

/* Headline */
.hero-headline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(36px, 5vw, 76px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: #fff;
}
/* Mask per line */
.h-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.04em; /* prevents descender clip */
}
.h-inner {
    display: block;
    transform: translateY(105%);
    will-change: transform;
}

/* Footer row */
.hero-footer-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(16px);
    will-change: opacity, transform;
}
.hero-sub {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.85;
    color: #fff;
    max-width: 390px;
}

/* Ghost CTA */
.hero-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-decoration: none;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.5s;
    white-space: nowrap;
}
.hero-ghost-btn span:first-child {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #fff;
}
.hero-ghost-btn:hover { border-color: var(--gold-dim); }
.hero-ghost-btn:hover .ghost-arrow { transform: translateX(6px); background: var(--gold); }
.hero-ghost-btn:hover .ghost-arrow::after { border-color: var(--gold); }

.ghost-arrow {
    display: inline-block;
    width: 36px; height: 1px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.5s var(--ease-out), background 0.4s;
}
.ghost-arrow::after {
    content: '';
    position: absolute;
    right: 0; top: -3px;
    width: 7px; height: 7px;
    border-right: 1px solid #fff;
    border-top:   1px solid #fff;
    transform: rotate(45deg);
    transition: border-color 0.4s;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px; right: 48px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
@media (max-width: 768px) { .scroll-indicator { right: 24px; } }

.scroll-line-inner {
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(201,169,110,0.7));
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%,100% { opacity: 0.3; transform: scaleY(1) translateY(0); }
    50%      { opacity: 1;   transform: scaleY(1.08) translateY(4px); }
}


/* ══════════════════════════════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════════════════════════════ */
.label-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.label-rule {
    display: block;
    width: 28px; height: 1px;
    background: var(--navy);
    flex-shrink: 0;
    transform-origin: left;
}
.label-rule--light { background: #fff; }

.label-text {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy);
}
.label-text--light { color: #fff; }

.gold-rule {
    width: 28px; height: 1px;
    background: var(--gold);
}


/* ══════════════════════════════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════════════════════════════ */

/* Full-width header block */
.phil-header {
    padding: 128px 0 64px;
}
@media (max-width: 768px) {
    .phil-header { padding: 80px 0 40px; }
}

/* Two-col layout: text left, image right */
.phil-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 0 80px;
    align-items: stretch;   /* both columns same height */
    padding-bottom: 128px;
}
@media (max-width: 900px) {
    .phil-grid { grid-template-columns: 1fr; gap: 60px 0; padding-bottom: 80px; }
}

/* Left column */
.phil-left {
    padding-top: 0;
    padding-bottom: 0;
}
@media (max-width: 768px) {
    .phil-left { padding: 0; }
}

.phil-body-block {
    margin-top: 52px;
}

/* Key metrics */
.phil-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    border-top: 1px solid rgba(17,24,39,0.08);
    border-bottom: 1px solid rgba(17,24,39,0.08);
}

.phil-metric {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 36px 40px 36px 0;
}

.phil-metric + .phil-metric {
    padding-left: 40px;
    padding-right: 0;
    border-left: 1px solid rgba(17,24,39,0.08);
}

.phil-metric-num {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(38px, 3.5vw, 54px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--charcoal);
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1, "tnum" 0;
}

.phil-metric-num sup {
    font-size: 0.4em;
    vertical-align: super;
    color: var(--gold);
    letter-spacing: 0;
}

.phil-metric-label {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17,24,39,0.38);
}

.phil-detail-block {
    margin-top: 40px;
}

.detail-copy {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: var(--charcoal);
}

/* Right column — image matches left column height exactly */
.phil-right {
    position: relative;
    min-height: 400px;
}

/* Thin vertical gold accent between columns */
.phil-col-accent {
    position: absolute;
    left: -41px;         /* sits in the middle of the 80px column gap */
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--gold) 25%,
        var(--gold) 75%,
        transparent 100%
    );
    opacity: 0.35;
    pointer-events: none;
}
@media (max-width: 900px) { .phil-col-accent { display: none; } }

.phil-img-stick {
    position: absolute;
    top: 52px;   /* aligns image top with first text element */
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.phil-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: scale(1.04);
    transition: transform 0.9s var(--ease-out);
}
.phil-right:hover .phil-img {
    transform: scale(1.0);
}

.phil-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,15,26,0.1)  0%,
        rgba(10,15,26,0.05) 40%,
        rgba(10,15,26,0.65) 100%
    );
}

/* Image caption */
.phil-img-caption {
    position: absolute;
    bottom: 28px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.phil-caption-rule {
    display: block;
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,0.45);
    flex-shrink: 0;
}

.phil-caption-text {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.phil-primary {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(28px, 4.2vw, 60px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--charcoal);
}
.phil-muted {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(28px, 4.2vw, 60px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--gold);
    margin-top: 8px;
}
.body-copy {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.85;
    color: var(--charcoal);
}


/* ══════════════════════════════════════════════════════════════
   STAKEHOLDERS / BENTO
══════════════════════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
}

.bento-card {
    position: relative;
    overflow: hidden;
    height: 600px;
    will-change: opacity, transform;
}
.bento-card--wide  { grid-column: span 1; }
.bento-card--narrow{ grid-column: span 1; }

@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: 7fr 5fr; }
}


/* Background image — full colour, full strength */
.bento-img-wrap {
    position: absolute; inset: 0;
    transition: transform 1s var(--ease-out);
}
.bento-card:hover .bento-img-wrap { transform: scale(1.05); }

.bento-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: none;
    opacity: 1;
}

/* Cinematic gradient — transparent top, dark bottom for text */
.bento-content {
    position: absolute; inset: 0;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(
        to top,
        rgba(4, 7, 14, 0.96) 0%,
        rgba(4, 7, 14, 0.80) 30%,
        rgba(4, 7, 14, 0.35) 60%,
        rgba(4, 7, 14, 0.0)  100%
    );
}
@media (max-width: 768px) {
    .bento-card    { height: 460px; }
    .bento-content { padding: 28px; }
}

.bento-label {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
    display: block;
}
.bento-heading {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(32px, 3.8vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.bento-body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: #fff;
    max-width: 360px;
}

.bento-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.bento-cta-text {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
}
.bento-cta-line {
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.55s var(--ease-out);
}
.bento-card:hover .bento-cta-line { width: 40px; }


/* ══════════════════════════════════════════════════════════════
   ACQUISITION CRITERIA — Split Panel
══════════════════════════════════════════════════════════════ */

/* Outer two-col grid */
.crit-outer {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 0 80px;
    padding: 128px 0;
    align-items: start;
}
@media (max-width: 960px) {
    .crit-outer {
        grid-template-columns: 1fr;
        gap: 64px 0;
        padding: 80px 0;
    }
}

/* ── Left column ─────────────────────────────────────────── */
.crit-list {
    margin-top: 64px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.crit-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    position: relative;
    transition: border-color 0.45s;
}
.crit-item:hover { border-color: rgba(201,169,110,0.1); }

/* Gold left-edge accent — grows in on active */
.crit-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: var(--gold);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: opacity 0.4s, transform 0.55s var(--ease-out);
}
.crit-item.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.crit-item-inner {
    padding: 36px 0 36px 28px;
}

/* Head row: number | title | chevron */
.crit-item-head {
    display: grid;
    grid-template-columns: 44px 1fr 20px;
    align-items: flex-start;
    gap: 0 16px;
}

.crit-num {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.18);
    padding-top: 9px;
    transition: color 0.4s;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
    flex-shrink: 0;
}
.crit-item.is-active .crit-num,
.crit-item:hover .crit-num { color: var(--gold); }

.crit-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(26px, 2.8vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.38);
    transition: color 0.5s var(--ease-out);
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1, "tnum" 0;
}
.crit-item.is-active .crit-title { color: rgba(255,255,255,0.94); }
.crit-item:hover:not(.is-active) .crit-title { color: rgba(255,255,255,0.65); }

.crit-chevron {
    color: rgba(255,255,255,0.18);
    padding-top: 12px;
    justify-self: end;
    transition: color 0.4s, transform 0.5s var(--ease-out);
}
.crit-item.is-active .crit-chevron {
    color: var(--gold);
    transform: rotate(180deg);
}

/* Expanding body */
.crit-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.65s var(--ease-out);
}
.crit-item.is-active .crit-body { max-height: 220px; }

.crit-desc {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: #fff;
    margin-top: 18px;
    margin-left: 60px; /* align under title */
    padding-right: 20px;
}

.crit-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-left: 60px;
    margin-bottom: 8px;
}
.crit-tag {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 4px 10px;
    border: 1px solid rgba(201,169,110,0.3);
}

/* ── Right column — sticky image panel ───────────────────── */
.crit-right {
    position: sticky;
    top: 15vh;
}

.crit-img-panel {
    position: relative;
    height: 65vh;
    min-height: 420px;
    overflow: hidden;
    background: #0d1420;
}
@media (max-width: 960px) {
    .crit-right { position: relative; top: auto; }
    .crit-img-panel { height: 52vw; min-height: 280px; }
}

/* Each image layer — crossfade */
.crit-img-wrap {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s var(--ease-out);
}
.crit-img-wrap.is-active { opacity: 1; }

.crit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.1s var(--ease-out);
}
.crit-img-wrap.is-active .crit-img { transform: scale(1.0); }

.crit-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,15,26,0.15) 0%,
        rgba(10,15,26,0.04) 40%,
        rgba(10,15,26,0.6)  100%
    );
}

/* Progress dots — bottom left */
.crit-dots {
    position: absolute;
    bottom: 24px;
    left: 28px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.crit-dot {
    display: block;
    width: 16px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    transition: width 0.4s var(--ease-out), background 0.4s;
    cursor: pointer;
}
.crit-dot.is-active {
    width: 28px;
    background: var(--gold);
}

/* Counter — bottom right */
.crit-img-counter {
    position: absolute;
    bottom: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
.crit-counter-cur,
.crit-counter-tot {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.35);
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}
.crit-counter-cur { color: rgba(255,255,255,0.75); }
.crit-counter-sep {
    width: 18px;
    height: 1px;
    background: rgba(255,255,255,0.18);
}

@media (max-width: 768px) {
    .crit-title { font-size: clamp(22px, 6vw, 36px); }
    .crit-desc  { margin-left: 0; }
    .crit-tags  { margin-left: 0; }
    .crit-item-inner { padding-left: 20px; }
}


/* ══════════════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════════════ */
.port-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .port-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.port-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(28px, 4.2vw, 60px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--charcoal);
    margin-top: 16px;
}
.port-desc {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: var(--charcoal);
    max-width: 240px;
    flex-shrink: 0;
}

.port-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .port-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.port-card { will-change: opacity, transform; }

.port-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--charcoal);
}
.port-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.85s var(--ease-out);
}
.port-card:hover .port-img {
    transform: scale(1.05);
}
.port-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10,15,26,0.35) 100%);
    mix-blend-mode: multiply;
}
.port-img-wrap--dark { background: #0d1420; }
.port-undisclosed {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a1120 0%, #162033 50%, #0a1120 100%);
    position: relative;
}
.port-undisclosed::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 18px,
        rgba(255,255,255,0.015) 18px, rgba(255,255,255,0.015) 19px
    );
}

.port-body { padding: 20px 0 0; }

.port-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.port-sector, .port-year {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(17,24,39,0.45);
}
.port-name {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(20px, 2vw, 26px);
    letter-spacing: -0.01em;
    color: var(--charcoal);
    margin-top: 10px;
}
.port-copy {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: var(--charcoal);
    margin-top: 10px;
}
.port-rule {
    width: 0; height: 1px;
    background: var(--gold);
    margin-top: 20px;
    transition: width 0.6s var(--ease-out);
}
.port-card:hover .port-rule { width: 100%; }


/* ══════════════════════════════════════════════════════════════
   FOUNDER
══════════════════════════════════════════════════════════════ */
#founder { background: #fff; }

.founder-grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 0 80px;
    padding: 120px 0 128px;
    align-items: start;
}
@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 56px 0;
        padding: 80px 0;
    }
}

/* Left column */
.founder-name-block {
    margin-top: 52px;
}
.founder-name {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--charcoal);
}
.founder-role {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 14px;
}

.founder-bio-block {
    margin-top: 48px;
}
.founder-bio {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: var(--charcoal);
}

.founder-quote {
    margin-top: 48px;
    padding: 32px 0 0;
    border-top: 1px solid rgba(17,24,39,0.08);
}
.founder-quote-text {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--gold);
}
.founder-quote-cite {
    display: block;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(17,24,39,0.35);
    margin-top: 18px;
    font-style: normal;
}

/* Right column — portrait */
.founder-right {
    position: sticky;
    top: 15vh;
}
.founder-img-wrap {
    position: relative;
    overflow: hidden;
    height: 65vh;
    min-height: 480px;
    background: #0d1420;
}
@media (max-width: 900px) {
    .founder-right { position: relative; top: auto; }
    .founder-img-wrap { height: 60vw; min-height: 320px; }
}
.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.03);
    transition: transform 0.9s var(--ease-out);
    filter: grayscale(25%);
}
.founder-right:hover .founder-img {
    transform: scale(1.0);
    filter: grayscale(0%);
}
.founder-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,15,26,0.1)  0%,
        rgba(10,15,26,0.0)  40%,
        rgba(10,15,26,0.5)  100%
    );
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: var(--navy); }

/* ── Contact block ───────────────────────────────────────── */
.contact-block {
    padding: 128px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
    .contact-block { padding: 80px 0; }
}

/* Two-col split: intro left, form right */
.contact-split {
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 0 100px;
    align-items: start;
    margin-top: 0;
}
@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 56px 0;
    }
}

/* Left: intro */
.contact-intro { padding-top: 0; }

.contact-headline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(48px, 7vw, 108px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    margin-top: 52px;
    margin-bottom: 44px;
}

/* "True North." — gold */
.contact-headline .f-line:last-child .f-inner { color: var(--gold); }

/* Reuse masked line reveal */
.f-line {
    display: block;
    overflow: hidden;
}
.f-inner {
    display: block;
    color: #fff;
    will-change: transform;
}
.f-line--outline .f-inner {
    color: transparent;
    -webkit-text-stroke: 1px rgba(201,169,110,0.4);
}

.contact-body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.85;
    color: #fff;
    max-width: 320px;
}

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-detail-label {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-detail-value {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
a.contact-detail-value:hover { color: var(--gold); }

/* ── Form ────────────────────────────────────────────────── */
.contact-form-wrap {
    padding-top: 12px; /* optical alignment with label */
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    margin-bottom: 44px;
}
.form-row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 36px;
}
@media (max-width: 480px) {
    .form-row--split { grid-template-columns: 1fr; gap: 44px 0; }
}

.form-field {
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    transition: color 0.35s;
}
.form-field:focus-within .form-label { color: #fff; }

.form-input {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(17px, 1.5vw, 20px);
    letter-spacing: -0.01em;
    color: #fff;
    padding: 0 0 14px;
    caret-color: var(--gold);
    line-height: 1.3;
}
.form-input::placeholder { color: transparent; }

/* Animated underline */
.form-line {
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.form-line::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0; height: 100%;
    background: var(--gold);
    transition: width 0.55s var(--ease-out);
}
.form-field:focus-within .form-line::after { width: 100%; }

/* Textarea */
.form-textarea {
    resize: none;
    overflow: hidden;
    line-height: 1.7;
}

/* Submit */
.form-submit-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border: 1px solid rgba(201,169,110,0.45);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.5s, border-color 0.5s, color 0.5s, gap 0.5s;
}
.form-submit-btn:hover {
    background: rgba(201,169,110,0.1);
    border-color: var(--gold);
    color: var(--gold);
    gap: 22px;
}

/* Footer bottom */
.footer-bottom {
    padding: 56px 0 44px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.footer-col {}
.footer-logo {
    height: 18px; width: auto;
    filter: invert(1) brightness(10);
}
.footer-subbrand {
    font-family: var(--font-sans);
    font-size: 8px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 6px;
}
.footer-col-title {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.footer-col-body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.9;
    color: #fff;
}
.footer-legal {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 11px;
    line-height: 1.8;
    color: rgba(255,255,255,0.2);
}

.footer-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 48px;
    padding-top: 28px;
}
@media (min-width: 768px) {
    .footer-bar { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-copy {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.06em;
}
.footer-bar-links { display: flex; gap: 20px; }
.footer-bar-link {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255,255,255,0.18);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.3s;
}
.footer-bar-link:hover { color: rgba(255,255,255,0.45); }


/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL — initial hidden states
   (GSAP animates these to visible)
══════════════════════════════════════════════════════════════ */
[data-reveal="fade"] {
    opacity: 0;
    transform: translateY(18px);
}
[data-reveal="slide"] {
    opacity: 0;
    transform: translateY(28px);
}
[data-reveal="card"] {
    opacity: 0;
    transform: translateY(44px);
}

[data-reveal="portfolio"] {
    opacity: 0;
    transform: translateY(32px);
}
[data-reveal="footer-line"] {
    /* controlled by gsap from translateY(100%) */
}
