/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: #090909; color: #c8bfb4; font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── HEADER / NAV ── */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(9,9,9,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}
#site-header.scrolled { background: rgba(9,9,9,0.98); }
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 48px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex; align-items: center;
    line-height: 0;
}
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    margin: 12px 36px 12px 0;
}
#nav { display: flex; align-items: center; gap: 32px; }
#nav a {
    font-size: 11.5px; font-weight: 500; letter-spacing: 1.8px;
    text-transform: uppercase; color: rgba(200,191,180,0.7);
    transition: color 0.2s;
}
#nav a:hover { color: #b48e59; }
.nav-cta {
    font-size: 10px !important; font-weight: 600 !important; letter-spacing: 2px !important;
    color: #fff !important;
    border: 1px solid rgba(180,142,89,0.5);
    padding: 8px 18px;
    transition: all 0.2s;
}
.nav-cta:hover { background: #b48e59; color: #090909 !important; }

/* Mobile toggle */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 4px; background: none; border: none;
}
.menu-toggle span {
    display: block; width: 24px; height: 1.5px; background: #b48e59;
    transition: transform 0.25s, opacity 0.25s;
}

/* ── HERO ── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: #090909;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('img/hero-bg.jpg') center center / cover no-repeat;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 3;
    max-width: 1200px; margin: 0 auto; padding: 0 48px;
    width: 100%;
}
.hero-text { max-width: 520px; }
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px; font-weight: 400; line-height: 1.18;
    color: #fff; margin-bottom: 22px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero p {
    font-size: 17.5px; line-height: 1.75; color: rgba(220,215,205,0.9);
    margin-bottom: 36px; max-width: 480px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.btn {
    display: inline-block;
    font-size: 10px; font-weight: 600; letter-spacing: 2.2px;
    text-transform: uppercase; color: #fff;
    border: 1px solid rgba(180,142,89,0.5);
    padding: 14px 28px;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
}
.btn:hover { background: #b48e59; color: #090909; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── IOP SECTION ── */
.iop {
    background: #0c0c0c;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0;
}
.iop .divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180,160,100,0.3), transparent);
    margin-bottom: 36px;
}
.iop h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 400; color: #fff;
    text-align: center; margin-bottom: 48px;
    font-style: italic;
}
.iop-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; margin-bottom: 48px;
}
.iop-item { text-align: center; }
.iop-item .icon-row {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 14px;
}
.iop-item .icon-row svg { width: 22px; height: 22px; color: rgba(200,191,180,0.6); flex-shrink: 0; }
.iop-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 500; color: #fff;
}
.iop-item p {
    font-size: 16px; color: rgba(200,191,180,0.6); line-height: 1.7;
    margin-top: 10px; max-width: 280px; margin-left: auto; margin-right: auto;
}
.iop-cta { text-align: center; }

/* ── INTELLIGENCE BRIEFS ── */
.briefs { background: #090909; padding: 64px 0; }
.briefs-label {
    font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(180,142,89,0.4);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 16px;
}
.briefs-label::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(255,255,255,0.06);
}
.briefs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.brief-card {
    position: relative; background: #111;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.brief-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.brief-card-img {
    width: 100%; aspect-ratio: 5/3;
    background: linear-gradient(135deg, #151210, #1c1812, #141210);
    position: relative; overflow: hidden;
}
.brief-card-img .title-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; top: 0;
    display: flex; align-items: flex-end; padding: 16px;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}
.brief-card-img .title-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 400; color: #fff; line-height: 1.25;
}
.brief-badge {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    background: rgba(17,17,17,0.85); border: 1px solid rgba(255,255,255,0.1);
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(200,191,180,0.7); padding: 3px 8px;
}
.brief-card-body { padding: 14px 16px 16px; }
.brief-card-body p {
    font-size: 15px; color: rgba(200,191,180,0.55); line-height: 1.6;
    margin-bottom: 14px;
}
.brief-card-link {
    display: flex; align-items: center; gap: 6px;
    font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(180,142,89,0.4);
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
}
.brief-card-link:hover { color: rgba(200,191,180,0.8); }
.brief-card-link svg { width: 13px; height: 13px; }

/* Decorative graphics */
.brief-graphic { position: absolute; inset: 0; overflow: hidden; }
.brief-graphic .line { position: absolute; background: rgba(200,180,120,0.08); }
.brief-graphic.bars .line:nth-child(1) { bottom: 20%; left: 60%; width: 2px; height: 40%; }
.brief-graphic.bars .line:nth-child(2) { bottom: 20%; left: 70%; width: 2px; height: 55%; }
.brief-graphic.bars .line:nth-child(3) { bottom: 20%; left: 80%; width: 2px; height: 30%; }
.brief-graphic.curve { border-bottom: 1px solid rgba(200,180,120,0.06); }
.brief-graphic.curve::after {
    content: '';
    position: absolute; top: 30%; right: 10%; width: 120px; height: 80px;
    border: 1px solid rgba(200,180,120,0.08);
    border-radius: 0 50% 0 0; border-bottom: none; border-left: none;
}

/* ── DECIDE SECTION ── */
.decide {
    background: #0c0c0c;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 0;
}
.decide h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 400; color: #fff;
    text-align: center; margin-bottom: 40px; font-style: italic;
}
.decide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.decide-card {
    background: #111; border: 1px solid rgba(255,255,255,0.06);
    padding: 28px 24px;
    transition: background 0.2s, border-color 0.2s; cursor: pointer;
}
.decide-card:hover { background: #151515; border-color: rgba(255,255,255,0.1); }
.decide-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.decide-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px; font-weight: 400; color: #fff;
}
.decide-card .arrow {
    color: rgba(200,191,180,0.3); font-size: 20px;
    transition: transform 0.2s, color 0.2s;
}
.decide-card:hover .arrow { transform: translateX(3px); color: rgba(200,191,180,0.7); }
.decide-card p { font-size: 16px; color: rgba(200,191,180,0.5); line-height: 1.65; }

/* ── MAKERS SECTION ── */
.makers {
    background: #090909;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 72px 0;
}
.makers h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 400; color: #fff;
    text-align: center; margin-bottom: 40px; font-style: italic;
}
.makers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.maker-card {
    background: #111; border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}
.maker-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.maker-card-img {
    width: 100%; aspect-ratio: 5/3;
    background: linear-gradient(135deg, #12100c, #1a1610, #0f0d0a);
    position: relative; overflow: hidden;
}
.maker-card-img .title-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end; padding: 14px;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.maker-card-img .title-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px; font-weight: 400; color: #fff; line-height: 1.3;
}
.maker-card-body { padding: 14px 16px 18px; }
.maker-card-body p {
    font-size: 15px; color: rgba(200,191,180,0.5); line-height: 1.6;
    margin-bottom: 16px;
}
.btn-learn {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; color: rgba(180,142,89,0.5);
    border: 1px solid rgba(180,142,89,0.12); padding: 8px 16px;
    transition: all 0.2s;
}
.btn-learn:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ── TAGLINE ── */
.tagline {
    background: #0c0c0c;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 72px 0; text-align: center;
}
.tagline h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px; font-weight: 400; color: #fff;
    margin-bottom: 18px; font-style: italic;
}
.tagline p {
    font-size: 19px; color: rgba(200,191,180,0.55);
    max-width: 480px; margin: 0 auto;
}

/* ── FOOTER ── */
footer {
    background: #090909;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-legal {
    font-size: 12.5px; color: rgba(200,191,180,0.3); letter-spacing: 0.3px;
}
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: rgba(200,191,180,0.6); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a {
    color: rgba(200,191,180,0.3); transition: color 0.2s;
    display: flex; align-items: center;
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE — TABLET (769px – 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .container, .header-inner, .hero-content { padding: 0 36px; }
    .logo-img { height: 38px; }

    /* Nav: show links but tighter */
    #nav { gap: 22px; }
    #nav a { font-size: 9.5px; letter-spacing: 1.4px; }
    .nav-cta { font-size: 9px !important; padding: 7px 14px; }

    /* Hero */
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 13px; }

    /* IOP */
    .iop h2 { font-size: 24px; }
    .iop-grid { gap: 28px; }
    .iop-item h3 { font-size: 15px; }
    .iop-item p { font-size: 12.5px; }

    /* Briefs: 2 columns */
    .briefs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Decide: keep 3 col but smaller padding */
    .decide-card { padding: 22px 20px; }

    /* Makers: 2 columns */
    .makers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Tagline */
    .tagline h2 { font-size: 24px; }

    /* Footer */
    .footer-legal { font-size: 9.5px; }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET (481px – 768px)
   ============================================================ */
@media (max-width: 768px) {
    .container, .header-inner, .hero-content { padding: 0 24px; }

    /* Hero */
    .hero { min-height: 88vh; }
    .hero h1 { font-size: 38px; line-height: 1.2; margin-bottom: 18px; }
    .hero p { font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
    .hero-text { max-width: 480px; }
    .hero::after { background: rgba(0,0,0,0.75); }
    .btn { padding: 13px 24px; font-size: 11.5px; }

    /* IOP */
    .iop { padding: 52px 0; }
    .iop h2 { font-size: 26px; margin-bottom: 36px; }
    .iop-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
    .iop-item .icon-row { justify-content: flex-start; }
    .iop-item { text-align: left; }
    .iop-item p { max-width: 100%; margin-left: 0; }

    /* Briefs */
    .briefs { padding: 52px 0; }
    .briefs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .brief-card-img .title-overlay h3 { font-size: 18px; }
    .brief-card-body p { font-size: 15px; }
    .brief-card-link { font-size: 11.5px; }

    /* Decide */
    .decide { padding: 52px 0; }
    .decide h2 { font-size: 26px; margin-bottom: 38px; }
    .decide-grid { grid-template-columns: 1fr; gap: 8px; }
    .decide-card { padding: 24px 20px; }

    /* Makers */
    .makers { padding: 52px 0; }
    .makers h2 { font-size: 24px; margin-bottom: 38px; }
    .makers-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .maker-card-img .title-overlay h3 { font-size: 17px; }

    /* Tagline */
    .tagline { padding: 52px 0; }
    .tagline h2 { font-size: 26px; }
    .tagline p { font-size: 17px; }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
    .footer-legal { font-size: 14px; line-height: 2.8; }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV (≤640px) — hamburger kicks in here
   ============================================================ */
@media (max-width: 640px) {
    .header-inner { height: 56px; }
    .logo-img { height: 34px; }
    #nav {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100vw; height: 100vh;
        background: #090909;
        padding: 76px 32px 48px;
        gap: 0;
        z-index: 99;
        overflow-y: auto;
    }
    #nav.is-open { display: flex !important; }
    #nav.is-open a {
        font-size: 13px;
        letter-spacing: 1.5px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        width: 100%;
        color: rgba(200,191,180,0.8);
    }
    #nav.is-open a:last-child { border-bottom: none; }
    #nav.is-open .nav-cta {
        margin-top: 24px;
        border: 1px solid rgba(255,255,255,0.3);
        padding: 14px 24px;
        text-align: center;
        width: auto;
        font-size: 12px !important;
    }
    .menu-toggle { display: flex; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .container, .header-inner, .hero-content { padding: 0 18px; }
    .header-inner { height: 52px; }
    .logo-img { height: 30px; }

    /* Nav overlay */
    #nav { top: 48px; padding: 36px 24px; }
    #nav.is-open a { font-size: 18px; padding: 18px 0; }

    /* Hero */
    .hero { min-height: 80vh; align-items: flex-end; padding-bottom: 60px; }
    .hero::after { background: rgba(0,0,0,0.90); }
    .hero h1 { font-size: 28px; line-height: 1.22; }
    .hero p { font-size: 13px; line-height: 1.65; margin-bottom: 24px; }
    .btn { padding: 12px 22px; font-size: 9px; letter-spacing: 2px; }

    /* IOP */
    .iop { padding: 44px 0; }
    .iop h2 { font-size: 20px; margin-bottom: 28px; }
    .iop-grid { gap: 28px; margin-bottom: 32px; }
    .iop-item h3 { font-size: 15px; }
    .iop-item p { font-size: 12.5px; }

    /* Briefs: single column */
    .briefs { padding: 44px 0; }
    .briefs-grid { grid-template-columns: 1fr; gap: 12px; }
    .brief-card-img { aspect-ratio: 16/9; }
    .brief-card-img .title-overlay { padding: 14px; }
    .brief-card-img .title-overlay h3 { font-size: 16px; }
    .brief-card-body { padding: 12px 14px 14px; }
    .brief-card-body p { font-size: 12px; margin-bottom: 12px; }
    .brief-card-link { font-size: 9px; padding-top: 10px; }

    /* Decide */
    .decide { padding: 44px 0; }
    .decide h2 { font-size: 18px; margin-bottom: 24px; }
    .decide-card { padding: 20px 18px; }
    .decide-card h3 { font-size: 14px; }
    .decide-card p { font-size: 12px; }

    /* Makers: single column */
    .makers { padding: 44px 0; }
    .makers h2 { font-size: 20px; margin-bottom: 24px; }
    .makers-grid { grid-template-columns: 1fr; gap: 12px; }
    .maker-card-img { aspect-ratio: 16/9; }
    .maker-card-img .title-overlay h3 { font-size: 15px; }
    .maker-card-body { padding: 12px 14px 16px; }
    .maker-card-body p { font-size: 12px; }
    .btn-learn { font-size: 9px; padding: 9px 18px; }

    /* Tagline */
    .tagline { padding: 44px 0; }
    .tagline h2 { font-size: 19px; padding: 0 8px; }
    .tagline p { font-size: 12.5px; padding: 0 8px; }

    /* Footer */
    .footer-inner { gap: 12px; }
    .footer-legal { font-size: 9px; line-height: 2; }
    .footer-social svg { width: 18px; height: 18px; }
}

/* ============================================================
   RESPONSIVE — VERY SMALL (≤360px)
   ============================================================ */
@media (max-width: 360px) {
    .container, .header-inner, .hero-content { padding: 0 14px; }
    .logo-img { height: 26px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 12.5px; }
    .iop h2, .decide h2, .makers h2 { font-size: 18px; }
    .tagline h2 { font-size: 17px; }
}
