/* ============================================================
   CONCEPT 10 — EDITORIAL SIGNAL
   Style: bold magazine editorial
   Palette: warm off-white + charcoal + signal red (#E63946)
   DM Serif Display (bold serif) + DM Sans (clean sans)
   Oversized typography, asymmetric layouts, red accent blocks.
   ============================================================ */
:root {
    --red: #E63946;              /* signal red — bold accent */
    --red-deep: #C1121F;         /* hover / link states */
    --red-tint: #FDE8EA;         /* red tint panel */
    --charcoal: #1E1E1E;         /* near-black — text, dark sections */
    --charcoal-soft: #2B2B2D;    /* raised dark panel */
    --page: #F7F5F0;             /* warm off-white page */
    --alt: #EEEAE2;              /* alternate section */
    --card: #FFFFFF;             /* card surface */
    --text: #1E1E1E;             /* body text */
    --muted: #6B6560;            /* secondary text */
    --line: rgba(30, 30, 30, 0.10);
    --line-strong: rgba(30, 30, 30, 0.18);
    --line-dark: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(30, 30, 30, 0.06);
    --shadow-md: 0 12px 40px rgba(30, 30, 30, 0.10);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', Arial, Helvetica, sans-serif;
    --container: 1240px;
    --pad-lg: 140px;
    --radius: 12px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-size: 16px; font-weight: 400; line-height: 1.7;
    color: var(--text); background-color: var(--page);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 36px; }

/* ===== Subtle paper texture ===== */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background-image:
        radial-gradient(ellipse at 60% 30%, rgba(230, 57, 70, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== NAVBAR — transparent → frosted light ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background-color: rgba(247, 245, 240, 0.88);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-bottom-color: var(--line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar-logo svg { height: 20px; width: auto; }
.navbar-logo .logo-dark { display: none; }
.navbar-logo .logo-light { display: block; }
.navbar.scrolled .navbar-logo .logo-dark { display: block; }
.navbar.scrolled .navbar-logo .logo-light { display: none; }
.navbar-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.navbar-links a, .nav-dropdown-toggle {
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    color: #FFFFFF; transition: color 0.2s ease; opacity: 0.82;
    background: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.navbar-links a:hover, .nav-dropdown-toggle:hover { opacity: 1; color: #FFFFFF; }
.navbar-links a.active { opacity: 1; color: #FFFFFF; }
.navbar.scrolled .navbar-links a, .navbar.scrolled .nav-dropdown-toggle {
    color: var(--charcoal); opacity: 0.72;
}
.navbar.scrolled .navbar-links a:hover, .navbar.scrolled .nav-dropdown-toggle:hover { opacity: 1; color: var(--red); }
.navbar.scrolled .navbar-links a.active { opacity: 1; color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
    background-color: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px; min-width: 210px;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transition: all 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; opacity: 0.85; color: var(--charcoal) !important; }
.nav-dropdown-menu a:hover { background-color: var(--red-tint); opacity: 1; color: var(--red) !important; }
.navbar-actions { display: flex; align-items: center; }
.btn-nav {
    display: inline-flex; align-items: center;
    padding: 10px 24px; border-radius: 100px;
    font-size: 14px; font-weight: 600;
    background-color: var(--red); color: #FFFFFF;
    transition: all 0.25s ease;
}
.btn-nav:hover { background-color: var(--red-deep); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background-color: #FFFFFF; margin: 5px 0; transition: all 0.25s ease, background-color 0.2s ease; border-radius: 2px; }
.navbar.scrolled .mobile-menu-btn span { background-color: var(--charcoal); }
.mobile-menu {
    display: none; position: fixed; top: 78px; left: 0; right: 0; bottom: 0; z-index: 99;
    background-color: var(--page); padding: 24px 36px;
    flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; font-size: 17px; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-sub-label { padding: 16px 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* ===== HERO — video background with red editorial overlay ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    color: #FFFFFF; overflow: hidden;
}
.hero-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.88) 0%, rgba(30, 30, 30, 0.50) 60%, rgba(30, 30, 30, 0.30) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 96px; }
.hero-content { max-width: 820px; }
/* Larger screens: shift hero content further left (laptop sizes unchanged) */
@media (min-width: 1440px) {
    .hero .container { max-width: 100%; }
    .hero-content { margin-left: 0; }
}
.hero-eyebrow {
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 600; color: var(--red);
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 32px;
    font-family: var(--sans);
}
.hero-eyebrow::before {
    content: ''; display: inline-block; width: 40px; height: 3px;
    background-color: var(--red); margin-right: 16px;
}
.hero h1 {
    font-family: var(--serif);
    font-size: 80px; font-weight: 400; line-height: 1.02;
    letter-spacing: -0.01em; margin-bottom: 32px;
}
.hero h1 .accent {
    font-style: italic; color: var(--red);
}
.hero-subheading {
    font-size: 18px; line-height: 1.75;
    color: rgba(255, 255, 255, 0.72); max-width: 540px;
    margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex; align-items: center;
    background-color: var(--red); color: #FFFFFF;
    border-radius: 100px; padding: 17px 38px;
    font-size: 15px; font-weight: 600;
    transition: all 0.25s ease;
}
.btn-hero-primary:hover { background-color: var(--red-deep); transform: translateY(-2px); }
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}
.btn-hero-secondary:hover { color: #FFFFFF; border-bottom-color: var(--red); }

/* ===== CLIENT LOGOS ===== */
.clients-section {
    background-color: var(--page); padding: 64px 0;
    border-bottom: 1px solid var(--line);
}
.clients-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.clients-label {
    font-size: 13px; font-weight: 500; color: var(--muted);
    letter-spacing: 0.04em; max-width: 220px; flex-shrink: 0;
    line-height: 1.5;
}
.clients-marks { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.client-mark {
    font-family: var(--serif);
    font-size: 21px; font-weight: 400; color: var(--charcoal);
    opacity: 0.55; white-space: nowrap;
    transition: opacity 0.25s ease;
}
.client-mark:hover { opacity: 1; }

/* ===== SECTION PRIMITIVES ===== */
.eyebrow {
    display: inline-flex; align-items: center;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--red); margin-bottom: 22px;
    font-family: var(--sans);
}
.eyebrow::before {
    content: ''; display: inline-block; width: 28px; height: 3px;
    background-color: var(--red); margin-right: 14px;
}
h2 {
    font-family: var(--serif);
    font-size: 52px; font-weight: 400; line-height: 1.1;
    letter-spacing: -0.01em; color: var(--charcoal);
}
h2 em { font-style: italic; color: var(--red); }
.section-lead {
    font-family: var(--serif);
    font-size: 22px; line-height: 1.6; color: var(--charcoal);
}

/* ===== TRUST BARRIER — editorial two-column with drop cap ===== */
.problem-section {
    background-color: var(--page); padding: var(--pad-lg) 0;
}
.problem-grid {
    display: grid; grid-template-columns: 5fr 6fr; gap: 80px;
    align-items: start;
}
.problem-left h2 { max-width: 400px; }
.problem-right p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.problem-right p + p { margin-top: 22px; }
.problem-right p:first-child {
    font-family: var(--serif);
    font-size: 22px; line-height: 1.6; color: var(--charcoal);
}
.trust-gaps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--red);
    padding-top: 0;
}
.trust-gap-item { padding: 44px 36px 8px 0; }
.trust-gap-item + .trust-gap-item { border-left: 1px solid var(--line); padding-left: 36px; }
.trust-gap-num {
    font-family: var(--serif);
    font-size: 44px; font-weight: 400; line-height: 1;
    color: var(--red); margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.trust-gap-item h3 {
    font-family: var(--serif);
    font-size: 24px; font-weight: 400; line-height: 1.3;
    color: var(--charcoal); margin-bottom: 12px;
}
.trust-gap-item p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ===== DIFFERENTIATORS — editorial cards with red left border ===== */
.diff-section {
    background-color: var(--alt); padding: var(--pad-lg) 0;
}
.diff-header { max-width: 640px; margin-bottom: 72px; }
.diff-header p { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 18px; }
.diff-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.diff-card {
    background-color: var(--card);
    border-radius: 0;
    padding: 48px 40px 44px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--red);
    transition: all 0.3s ease;
}
.diff-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.diff-card-num {
    font-family: var(--serif);
    font-size: 42px; font-weight: 400; line-height: 1;
    color: var(--red); margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.diff-card h3 {
    font-family: var(--serif);
    font-size: 24px; font-weight: 400; line-height: 1.3;
    color: var(--charcoal); margin-bottom: 14px;
}
.diff-card p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ===== STATS — dark charcoal section with red serif numbers ===== */
.stats-section {
    background-color: var(--charcoal); color: #FFFFFF;
    padding: var(--pad-lg) 0;
}
.stats-header { margin-bottom: 64px; }
.stats-header h2 { color: #FFFFFF; }
.stats-header h2 em { color: var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item {
    padding: 8px 48px 8px 0;
}
.stat-item + .stat-item { border-left: 1px solid var(--line-dark); padding-left: 48px; }
.stat-category {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--red); margin-bottom: 18px;
}
.stat-number {
    font-family: var(--serif);
    font-size: 44px; font-weight: 400; color: #FFFFFF;
    line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.02em;
}
.stat-label { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.55); }

/* ===== CASE STUDY ===== */
.case-study { background-color: var(--page); padding: var(--pad-lg) 0; }
.case-study-inner {
    display: flex; align-items: center; gap: 80px;
}
.case-study-content { flex: 1; }
.case-study h2 { margin-bottom: 24px; max-width: 520px; }
.case-study-desc { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 32px; max-width: 500px; }
.case-study-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: var(--red);
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(230, 57, 70, 0.3);
    transition: all 0.25s ease;
}
.case-study-link:hover { color: var(--red-deep); border-bottom-color: var(--red); gap: 12px; }
.case-study-visual {
    flex-shrink: 0;
    background-color: var(--charcoal);
    border-radius: 0;
    padding: 64px 56px;
    text-align: center; color: #FFFFFF;
    min-width: 340px;
    position: relative;
    overflow: hidden;
}
.case-study-visual::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--red) 0%, transparent 100%);
    opacity: 0.06;
}
.case-study-visual .big-stat {
    font-family: var(--serif);
    font-size: 80px; font-weight: 400; line-height: 1; letter-spacing: -0.02em;
    position: relative; z-index: 1;
}
.case-study-visual .big-stat.after { color: var(--red); }
.case-study-visual .big-stat.before { color: rgba(255, 255, 255, 0.25); text-decoration: line-through; text-decoration-thickness: 2px; }
.case-study-visual .stat-arrow {
    font-family: var(--serif); font-size: 32px;
    color: var(--red); margin: 18px 0;
    position: relative; z-index: 1;
}
.case-study-visual .big-stat-label {
    font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.45); margin-top: 24px;
    position: relative; z-index: 1;
}

/* ===== FOOTER ===== */
.footer { background-color: var(--charcoal); color: rgba(255, 255, 255, 0.55); padding: 112px 0 40px; }
.footer-cta {
    text-align: center; padding-bottom: 88px; margin-bottom: 64px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-cta h3 {
    font-family: var(--serif);
    font-size: 44px; font-weight: 400; line-height: 1.2;
    color: #FFFFFF; margin-bottom: 36px;
    max-width: 680px; margin-left: auto; margin-right: auto;
}
.footer-cta h3 em { font-style: italic; color: var(--red); }
.btn-footer-cta {
    display: inline-flex; align-items: center;
    background-color: var(--red); color: #FFFFFF;
    border-radius: 100px; padding: 16px 38px;
    font-size: 15px; font-weight: 600;
    transition: all 0.25s ease;
}
.btn-footer-cta:hover { background-color: var(--red-deep); transform: translateY(-2px); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand svg { height: 18px; width: auto; }
.footer-brand-sub { font-size: 12px; color: rgba(255, 255, 255, 0.35); }
.footer-nav { display: flex; align-items: center; gap: 32px; list-style: none; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.6); transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--red); }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: rgba(255, 255, 255, 0.5); transition: color 0.25s ease; }
.footer-social a:hover { color: var(--red); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { font-size: 12px; color: rgba(255, 255, 255, 0.30); border-top: 1px solid var(--line-dark); padding-top: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .diff-cards { grid-template-columns: 1fr; }
    .case-study-inner { flex-direction: column; text-align: center; }
    .case-study-content { display: flex; flex-direction: column; align-items: center; }
    .case-study h2 { max-width: 100%; }
}
@media (max-width: 991px) {
    .navbar-links, .navbar-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 56px; }
    .clients-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
    .clients-marks { gap: 40px; }
    .problem-grid { grid-template-columns: 1fr; gap: 36px; }
    .trust-gaps { grid-template-columns: 1fr; }
    .trust-gap-item { padding: 32px 0 12px; }
    .trust-gap-item + .trust-gap-item { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 36px 0; }
    .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--line-dark); padding-left: 0; }
    h2 { font-size: 40px; }
}
@media (max-width: 767px) {
    .container { padding: 0 20px; }
    :root { --pad-lg: 88px; }
    .hero .container { padding-top: 108px; padding-bottom: 72px; }
    .hero h1 { font-size: 42px; margin-bottom: 24px; }
    .hero-eyebrow { font-size: 12px; margin-bottom: 24px; }
    .hero-subheading { font-size: 16px; margin-bottom: 36px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
    .btn-hero-primary { justify-content: center; text-align: center; }
    .btn-hero-secondary { justify-content: center; border-bottom: none; padding: 12px 4px; }
    .clients-section { padding: 48px 0; }
    .client-mark { font-size: 18px; }
    h2 { font-size: 34px; }
    .trust-gap-num { font-size: 36px; }
    .diff-card { padding: 36px 28px 32px; }
    .diff-card-num { font-size: 36px; }
    .stat-number { font-size: 36px; }
    .case-study-visual { min-width: 0; padding: 48px 32px; }
    .case-study-visual .big-stat { font-size: 56px; }
    .footer { padding: 80px 0 32px; }
    .footer-cta { padding-bottom: 60px; margin-bottom: 44px; }
    .footer-cta h3 { font-size: 32px; }
    .btn-footer-cta { width: 100%; justify-content: center; }
    .footer-main { flex-direction: column; gap: 32px; }
    .footer-nav { gap: 18px; }
}
