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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #000; color: #fff; }

/* ── Graph paper texture ── */
.bg-graph {
    background-color: #fafafa;
    background-image:
        linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

.bg-graph-dark {
    background-color: #060606;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

/* ── Navigation ── */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid #e8e8e8;
    transition: border-color 0.3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { height: 22px; width: auto; }

.nav-wordmark {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #000;
    text-transform: uppercase;
    font-style: normal;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0;
    user-select: none;
    transition: opacity 0.2s;
}

.nav-wordmark:hover { opacity: 0.65; }

.nav-wordmark-accent {
    display: inline-block;
    font-weight: 900;
    color: #000;
    position: relative;
    margin: 0 -1px;
}

.nav-wordmark-accent::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 2px;
    background: #000;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.15s;
    white-space: nowrap;
}

.nav-links a:hover { color: #000; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #000;
    transition: all 0.25s;
}

.nav-links.nav-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid #e8e8e8;
    padding: 4px 0 12px;
    backdrop-filter: blur(20px);
}

.nav-links.nav-open li a {
    display: block;
    padding: 13px 24px;
    font-size: 15px;
    border-bottom: 1px solid #f2f2f2;
}

/* ── Buttons ── */
.btn-dark {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.15s;
}

.btn-dark:hover { background: #222; transform: translateY(-1px); }

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 100px;
    border: 1.5px solid #ccc;
    transition: border-color 0.2s, transform 0.15s;
}

.btn-ghost:hover { border-color: #000; transform: translateY(-1px); }

.btn-underline {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    border-bottom: 1px solid #bbb;
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.btn-underline:hover { border-color: #000; }

.btn-underline-light {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.btn-underline-light:hover { border-color: #fff; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
    padding-top: 56px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: calc(100vh - 56px);
}

.hero-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-kicker::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #bbb;
    flex-shrink: 0;
}

.hero-headline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #000;
    margin-bottom: 28px;
}

.hero-headline em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 800;
    color: #111;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #444;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual { position: relative; }

.hero-img-stack { position: relative; }

.hero-img-main {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}


/* ── Stats Strip ── */
.stats-strip {
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.stats-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
}

.stat {
    flex: 1;
    padding: 36px 24px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #000;
    margin-bottom: 4px;
}

.stat span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.stat-div {
    width: 1px;
    height: 48px;
    background: #e8e8e8;
    flex-shrink: 0;
}

/* ── Feature Block ── */
.feature-block { padding: 100px 0; }

.feature-block-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-block-flip .feature-block-inner {
    direction: rtl;
}

.feature-block-flip .feature-block-inner > * {
    direction: ltr;
}

.section-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
}

.section-headline {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #000;
    margin-bottom: 22px;
}

.section-body {
    font-size: 16px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 460px;
}

.feature-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    font-size: 15px;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000;
}

.feature-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.media-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.media-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.media-frame:hover img { transform: scale(1.03); }

.media-frame-sm img { aspect-ratio: 4 / 3; height: auto; }

.media-frame-tall img { aspect-ratio: unset; height: auto; width: 100%; object-fit: contain; background: #f5f5f7; }

/* ── Grid Features ── */
.grid-features { padding: 0 0 100px; }

.grid-features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gf-card {
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5f5f7;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}

.gf-card-dark { background: #111; }

.gf-card .gf-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.gf-card .gf-text {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.gf-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #000;
}

.gf-card-dark h3 { color: #fff; }

.gf-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}

.gf-card-dark p { color: #aaa; }

/* ── Image Strip ── */
.img-strip {
    padding: 0 0 100px;
    overflow: hidden;
}

.img-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.strip-img {
    border-radius: 14px;
    overflow: hidden;
}

.strip-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.strip-img:hover img { transform: scale(1.05); }

/* ── Leadership Section ── */
.leadership-section {
    padding: 100px 0;
    background: #fff;
}

.leadership-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.leadership-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.leadership-intro {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-top: 20px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.leader-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    cursor: default;
}

.leader-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f5f5f7;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1),
                filter 0.4s ease;
    filter: grayscale(20%);
}

.leader-card:hover .leader-img img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.leader-info {
    padding: 0 4px;
}

.leader-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #000;
    margin-bottom: 4px;
}

.leader-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.leader-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .leadership-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .leadership-inner { padding: 0 24px; }
    .leadership-section { padding: 60px 0; }
}

@media (max-width: 600px) {
    .leadership-grid { grid-template-columns: 1fr; }
}

/* ── Company Section ── */
.company-section { padding: 120px 0; }

.company-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.section-kicker-light {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 16px;
}

.section-headline-light {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #fff;
    margin-bottom: 40px;
}


.company-body {
    font-size: 17px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 24px;
}

.company-right { padding-top: 6px; }

/* ── Footer ── */
footer {
    background: #000;
    color: #fff;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 48px 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: 32px;
}

.footer-logo {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    flex-shrink: 0;
}

.footer-wordmark {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    user-select: none;
}

.footer-wordmark-accent {
    display: inline-block;
    position: relative;
    margin: 0 -1px;
}

.footer-wordmark-accent::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
}

.company-wordmark {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.12);
    text-transform: uppercase;
    display: inline-block;
    user-select: none;
    margin-top: 40px;
}

.company-wordmark-accent {
    display: inline-block;
    position: relative;
    margin: 0 -1px;
}

.footer-nav { display: flex; gap: 64px; }

.footer-col { display: flex; flex-direction: column; gap: 11px; }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: #888;
    transition: color 0.15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom p {
    font-size: 12px;
    color: #444;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}

.reveal.active { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .nav-inner { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 60px 24px 60px;
        min-height: auto;
        gap: 48px;
    }

    .hero-img-main { height: 380px; }
    .hero-img-card { left: 12px; bottom: 16px; }

    .stats-strip-inner { padding: 0 24px; flex-wrap: wrap; }
    .stat { min-width: 50%; }
    .stat-div { display: none; }

    .feature-block { padding: 60px 0; }
    .feature-block-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
    .feature-block-flip .feature-block-inner { direction: ltr; }
    .media-frame img { height: 280px; }
    .media-frame-tall img { height: 320px; }
    .media-frame-sm { display: none; }

    .grid-features-inner { grid-template-columns: 1fr; padding: 0 24px; }
    .gf-card { grid-template-columns: 1fr; }
    .gf-card .gf-img img { height: 220px; }

    .img-strip-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; }
    .strip-img img { height: 180px; }

    .company-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
    .company-section { padding: 80px 0; }

    .footer-top { flex-direction: column; gap: 40px; }
    .footer-nav { flex-wrap: wrap; gap: 32px; }
    .footer-inner { padding: 52px 24px 32px; }
}

@media (max-width: 540px) {
    .img-strip-inner { grid-template-columns: 1fr 1fr; }
    .strip-img:nth-child(3), .strip-img:nth-child(4) { display: none; }
    .hero-headline { font-size: 42px; }
    .section-headline { font-size: 36px; }
}

/* ══════════════════════════════════════
   COMPLEX ANIMATIONS
══════════════════════════════════════ */

/* ── Scroll progress bar ── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.05s linear;
}

/* ── Nav scrolled state ── */
#nav.nav-scrolled {
    box-shadow: 0 1px 0 #d8d8d8, 0 4px 24px rgba(0,0,0,0.06);
}

/* ── Hamburger morph ── */
.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Split text ── */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.word {
    display: inline-block;
    transition: transform 0.75s cubic-bezier(0.16,1,0.3,1), opacity 0.75s cubic-bezier(0.16,1,0.3,1);
}

.word-hidden {
    transform: translateY(110%);
    opacity: 0;
}

.word-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ── Scroll reveal variants ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
                transform 0.85s cubic-bezier(0.16,1,0.3,1);
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── Image lazy fade ── */
.img-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1);
}

.img-fade.img-loaded {
    opacity: 1;
}

/* ── Media frame tilt (3D) ── */
.media-frame, .hero-img-stack {
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

/* ── Hero image entrance ── */
.hero-img-main {
    animation: heroImgIn 1.1s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

@keyframes heroImgIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(20px);
        clip-path: inset(6% 6% 6% 6% round 20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        clip-path: inset(0% 0% 0% 0% round 20px);
    }
}


/* ── Hero kicker entrance ── */
.hero-kicker {
    animation: fadeSlideRight 0.8s cubic-bezier(0.16,1,0.3,1) 0.05s both;
}

.hero-sub {
    animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}

.hero-actions {
    animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.65s both;
}

@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Tile hover lift with shadow ── */
.tile {
    transition: background 0.25s, transform 0.3s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.3s cubic-bezier(0.23,1,0.32,1);
}

.tile:hover {
    background: #f4f4f4;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.07);
    z-index: 1;
    position: relative;
}

/* ── GF card reveal ── */
.gf-card {
    transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.4s cubic-bezier(0.23,1,0.32,1);
    will-change: transform;
}

/* ── Strip images scale ── */
.strip-img {
    overflow: hidden;
}

.strip-img img {
    transition: transform 0.7s cubic-bezier(0.23,1,0.32,1),
                filter 0.4s ease;
    filter: grayscale(15%);
}

.strip-img:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ── Section entrance line ── */
.feature-block::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent);
    margin: 0 48px;
}

/* ── Stats counter number ── */
.stat strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #000;
    margin-bottom: 4px;
    transition: transform 0.3s;
}

.stat:hover strong {
    transform: scale(1.08);
}

/* ── Feature list item stagger ── */
.feature-list li {
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1),
                color 0.2s;
}

.feature-list li:hover {
    transform: translateX(6px);
    color: #000;
}

/* ── Footer link hover ── */
.footer-col a {
    position: relative;
    transition: color 0.15s;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #fff;
    transition: width 0.25s cubic-bezier(0.23,1,0.32,1);
}

.footer-col a:hover::after { width: 100%; }

/* ── Button transition polish ── */
.btn-dark, .btn-ghost {
    transition: background 0.2s, border-color 0.2s,
                transform 0.4s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.3s;
    will-change: transform;
}

/* ── Company section text entrance ── */
.company-body {
    font-size: 17px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 24px;
    transition: color 0.3s;
}

.company-body:hover { color: #bbb; }

/* ── Graph paper animated shift ── */
.bg-graph {
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    from { background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px; }
    to   { background-position: 79px 79px, 79px 79px, 15px 15px, 15px 15px; }
}

/* ── Media frame shine sweep on hover ── */
.media-frame {
    position: relative;
    overflow: hidden;
}

.media-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,255,255,0.15) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0s;
    pointer-events: none;
}

.media-frame:hover::after {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

/* ── Nav link underline slide ── */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 1px;
    background: #000;
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1);
}

.nav-links a:hover::after {
    transform: translateX(0);
}

/* ── Scroll-driven scale for hero grid bg ── */
.hero-grid-bg {
    will-change: transform;
    transition: opacity 0.5s;
}

/* ══════════════════════════════════════
   SCROLL ANIMATION VARIANTS
══════════════════════════════════════ */

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.active { opacity: 1; transform: none; }

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.active { opacity: 1; transform: none; }

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Clip reveal — text wipes in from bottom */
.reveal-clip {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.85s cubic-bezier(0.16,1,0.3,1);
}
.reveal-clip.active { clip-path: inset(0 0 0% 0); }

/* Rotate + fade in */
.reveal-rotate {
    opacity: 0;
    transform: rotate(-4deg) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
                transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-rotate.active { opacity: 1; transform: none; }

/* Horizontal line draw */
.reveal-line {
    position: relative;
    overflow: hidden;
}
.reveal-line::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.reveal-line.active::after { transform: scaleX(1); }

/* Blur in */
.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(16px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                filter 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-blur.active { opacity: 1; filter: blur(0); transform: none; }

/* ── Playfair headline letter-spacing override ── */
.hero-headline,
.section-headline,
.section-headline-light {
    letter-spacing: -0.02em;
    font-style: normal;
}

/* Optional italic accent on specific spans */
.italic-accent { font-style: italic; }

/* ── Section kicker line decoration ── */
.section-kicker,
.section-kicker-light {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-kicker::before,
.section-kicker-light::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

/* ── Stats strong scale on count finish ── */
@keyframes countPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.count-done { animation: countPop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards; }

/* ── Product Pages ── */
.product-media-section {
    padding: 80px 0;
    background: #fff;
}

.product-media-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.product-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.product-media-single {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.product-features-section {
    padding: 80px 0 100px;
    background: #fafafa;
}

.product-features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.product-features-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
}

.product-feature-tile {
    padding: 40px 36px;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.2s, transform 0.3s cubic-bezier(0.23,1,0.32,1);
}

.product-feature-tile:hover {
    background: #f5f5f7;
}

.product-feature-tile h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #000;
    margin-bottom: 12px;
}

.product-feature-tile p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Distribution stats */
.dist-stats-section {
    padding: 80px 0;
}

.dist-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
}

.dist-stat {
    padding: 56px 48px;
    border-right: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}

.dist-stat:last-child { border-right: none; }

.dist-stat strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #000;
    margin-bottom: 8px;
}

.dist-stat span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

/* CTA section */
.product-cta-section {
    padding: 120px 48px;
    text-align: center;
}

.product-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.product-cta-sub {
    font-size: 18px;
    color: #888;
    line-height: 1.7;
    margin: 20px 0 36px;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #fff;
    color: #000;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.4s cubic-bezier(0.23,1,0.32,1);
}

.btn-light:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .product-media-grid { grid-template-columns: 1fr; }
    .product-features-grid { grid-template-columns: 1fr 1fr; }
    .dist-stats-inner { grid-template-columns: 1fr; }
    .dist-stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
    .product-media-inner, .product-features-inner { padding: 0 24px; }
    .product-cta-section { padding: 80px 24px; }
}

@media (max-width: 600px) {
    .product-features-grid { grid-template-columns: 1fr; }
}

/* ── Company Page ── */
.company-page-section {
    padding: 80px 0 120px;
    background: #fff;
}

.company-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.company-page-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    padding: 72px 0;
}

.company-page-label {
    padding-top: 6px;
}

.company-page-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
}

.company-page-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #000;
    margin-bottom: 28px;
}

.company-page-heading em {
    font-style: italic;
}

.company-page-body {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 20px;
}

.company-page-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0;
}

.company-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
}

.company-value {
    padding: 40px 36px;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.2s;
}

.company-value:hover { background: #f5f5f7; }

.company-value h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.company-value p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.company-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.company-product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px 36px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    transition: background 0.2s, transform 0.3s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.3s;
    cursor: pointer;
}

.company-product-card:hover {
    background: #fafafa;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.company-product-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bbb;
}

.company-product-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000;
}

.company-product-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    flex: 1;
}

.company-product-link {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-top: 8px;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-light:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
    .company-page-block { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
    .company-page-inner { padding: 0 24px; }
    .company-values-grid { grid-template-columns: 1fr; }
    .company-products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   BLOG PAGES
══════════════════════════════════════ */

.blog-section {
    padding: 72px 0 120px;
    background: #fff;
}

.blog-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Featured post */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.blog-featured:hover { opacity: 0.85; }

.blog-featured-img {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f7;
}

.blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }

.blog-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-tag::before {
    content: '';
    display: block;
    width: 16px;
    height: 1px;
    background: #bbb;
    flex-shrink: 0;
}

.blog-featured-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #000;
    margin-bottom: 20px;
}

.blog-featured-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-author {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

.blog-date {
    font-size: 13px;
    color: #999;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 64px 0 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.blog-card:hover { opacity: 0.8; }

.blog-card-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f7;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
    filter: grayscale(10%);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.blog-card-copy { display: flex; flex-direction: column; gap: 10px; }

.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #000;
}

.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ── Blog Post Page ── */
.post-hero {
    padding: 120px 48px 56px;
    background: #fff;
}

.post-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-bottom: 32px;
    transition: color 0.15s;
}

.post-back:hover { color: #000; }

.post-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #000;
    margin: 16px 0 28px;
}

.post-title em { font-style: italic; }

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.post-author-monogram {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.post-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.post-author-role {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.post-cover {
    max-width: 900px;
    margin: 56px auto;
    padding: 0 48px;
    border-radius: 16px;
    overflow: hidden;
}

.post-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.post-body {
    padding: 0 48px 100px;
}

.post-body-inner {
    max-width: 680px;
    margin: 0 auto;
}

.post-lead {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    line-height: 1.65;
    margin-bottom: 48px;
    border-left: 3px solid #000;
    padding-left: 24px;
}

.post-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #000;
    margin: 48px 0 20px;
}

.post-p {
    font-size: 17px;
    color: #333;
    line-height: 1.85;
    margin-bottom: 20px;
}

.post-quote {
    margin: 48px 0;
    padding: 32px 36px;
    background: #f5f5f7;
    border-radius: 12px;
    border-left: 3px solid #000;
}

.post-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #000;
    line-height: 1.5;
    margin-bottom: 16px;
}

.post-quote cite {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    font-style: normal;
}

.post-cta {
    display: flex;
    gap: 16px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #e8e8e8;
    flex-wrap: wrap;
}

.post-more {
    padding: 72px 0 100px;
    background: #fafafa;
}

.post-more-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.post-more .blog-grid { padding-top: 40px; }

.blog-category-header {
    padding: 48px 0 0;
}

.blog-category-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
}

@media (max-width: 900px) {
    .blog-inner, .post-hero, .post-body, .post-more-inner { padding: 0 24px; }
    .blog-featured { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
    .blog-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .post-cover { padding: 0 24px; }
    .blog-section { padding: 48px 0 80px; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .post-hero { padding: 100px 24px 40px; }
}

/* ── Nav active state ── */
.nav-active {
    color: #000 !important;
    font-weight: 600 !important;
}

/* ── Page hero (inner pages) ── */
.page-hero {
    padding: 140px 48px 80px;
    background: #fff;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero-sub {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    max-width: 560px;
    margin-top: 20px;
}

/* ── Leadership page section ── */
.leadership-page-section {
    padding: 80px 0 120px;
    background: #fff;
}

.leadership-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.leadership-page-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.leader-card-full {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 72px;
    align-items: start;
}

.leader-card-flip {
    direction: rtl;
}

.leader-card-flip > * {
    direction: ltr;
}

.leader-img-full {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f5f5f7;
}

.leader-img-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.leader-monogram {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 96px;
    font-weight: 800;
    color: rgba(255,255,255,0.12);
    letter-spacing: -0.04em;
    user-select: none;
}

.leader-img-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23,1,0.32,1),
                filter 0.4s ease;
    filter: grayscale(15%);
}

.leader-card-full:hover .leader-img-full img {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.leader-info-full {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leader-role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leader-role::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: #888;
    flex-shrink: 0;
}

.leader-fullname {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #000;
}

.leader-bio-full {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    max-width: 520px;
}

.leader-links {
    margin-top: 8px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

@media (max-width: 1000px) {
    .page-hero { padding: 120px 24px 60px; }
    .leadership-page-inner { padding: 0 24px; }
    .leader-card-full { grid-template-columns: 1fr; gap: 36px; }
    .leader-card-flip { direction: ltr; }
    .leader-img-full { aspect-ratio: 4 / 3; max-height: 360px; }
    .leadership-page-grid { gap: 64px; }
}