/* ══════════════════════════════════════════════════════════
   COMMON.CSS — Shared styles for all Forge47 pages
   Includes: variables, reset, navbar, hero base, pillars,
             luxury, events, optimize CTA, footer, animations,
             hamburger, scroll-fade, dropdown, + responsive
   ══════════════════════════════════════════════════════════ */

/* ── Custom Font ─────────────────────────────────────────── */
@font-face {
    font-family: 'Horizon';
    src: url('../font/Horizon-Font/Horizon.woff2') format('woff2'),
         url('../font/Horizon-Font/Horizon.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

/* ── CSS Variables ───────────────────────────────────────── */
:root {
    --gold:     #dea44e;
    --obsidian: #1f1e1c;
    --ash:      #4a4742;
    --frost:    #eff0f1;
    --brick:    #ad302d;
    --dark:     #181715;
    --trans:    0.35s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--obsidian);
    color: var(--frost);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }


/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    transition: background var(--trans), padding var(--trans);
}
.nav.scrolled {
    background: rgba(20, 19, 18, 0.96);
    backdrop-filter: blur(10px);
    padding: 12px 48px;
    border-bottom: 1px solid rgba(222, 164, 78, 0.15);
}
.nav-logo img { width: 250px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-links a {
    font-family: 'Forum', serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(239, 240, 241, 0.75);
    padding: 6px 14px;
    transition: color var(--trans);
    position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

.nav-login {
    font-family: 'Forum', serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--frost) !important;
    background: #4b4742;
    border: 1px solid rgba(110, 111, 112, 0.45);
    border-radius: 13px;
    padding: 7px 18px !important;
    transition: background var(--trans), color var(--trans) !important;
}
.nav-login:hover { background: var(--frost); color: var(--obsidian) !important; }
.nav-login::after { display: none !important; }

/* ── Hamburger ───────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: var(--trans);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity   0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Dropdown ────────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(20, 19, 18, 0.98);
    border: 1px solid rgba(222, 164, 78, 0.2);
    border-radius: 10px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--frost);
    font-family: 'Forum', serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: rgba(222, 164, 78, 0.1);
    color: var(--gold);
}


/* ══════════════════════════════════════════════════════════
   HERO — Base (shared structure; page-specific overrides
   go in index.css / membership.css)
   ══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    overflow: hidden;
}

/* Carousel slides */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* Grain overlay */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Dark gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(15, 14, 12, 0.88) 0%,
        rgba(15, 14, 12, 0.55) 60%,
        rgba(15, 14, 12, 0.10) 100%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 24px 130px;
}

.cta_main {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.hero-cta {
    display: inline-block;
    font-family: 'Forum', serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    max-width: 400px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    background: rgba(222, 164, 78, 0.9);
    color: var(--frost);
    border-radius: 10px;
    padding: 14px 36px;
    border: 2px solid var(--gold);
    transition: background var(--trans), color var(--trans);
    animation: heroFadeUp 1s ease 0.4s both;
}
.hero-cta:hover { background: transparent; color: var(--gold); }

/* Carousel dots */
.hero-dots {
    position: absolute;
    bottom: 36px;
    left: 64px;
    z-index: 4;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 24px;
    height: 2px;
    background: rgba(239, 240, 241, 0.35);
    cursor: pointer;
    transition: background var(--trans);
}
.hero-dot.active { background: var(--gold); }

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


/* ══════════════════════════════════════════════════════════
   PILLARS
   ══════════════════════════════════════════════════════════ */
.pillars-section {
    display: flex;
    justify-content: center;
}

.pillars-wrapper {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1100px;
}

.pillar-item { flex: 1; }

.pillar-box {
    position: relative;
    border: 1.5px solid rgba(222, 164, 78, 0.7);
    border-radius: 12px;
    padding: 50px 30px 40px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

/* Border cut (hides the border behind the heading) */
.pillar-box::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    background: var(--dark);
    z-index: 1;
    width: var(--gap-width, 140px);
}

.pillar-heading {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 6px;
    color: #fff;
    white-space: nowrap;
    z-index: 2;
    line-height: 1;
}

.pillar-box p {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
}

/* Gap-width per pillar */
.pillar-item:nth-child(1) .pillar-box { --gap-width: 95px; }
.pillar-item:nth-child(2) .pillar-box { --gap-width: 190px; }
.pillar-item:nth-child(3) .pillar-box { --gap-width: 115px; }

.pillar-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(222, 164, 78, 0.15);
}


/* ══════════════════════════════════════════════════════════
   LUXURY
   ══════════════════════════════════════════════════════════ */
.luxury {
    background: var(--obsidian);
    padding: 90px 0;
}
.luxury-content { padding: 20px 0 20px 60px; }
.luxury-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
    margin: 0 auto;
}
.luxury-body {
    font-family: 'Jost', sans-serif;
    font-size: 1.66rem;
    line-height: 1.8;
    color: rgba(239, 240, 241, 0.72);
    margin-top: 12px;
}
.luxury-img {
    width: 100%;
    aspect-ratio: 5/3;
    object-fit: cover;
}

.section-label {
    font-family: 'Forum', serif;
    font-size: 1.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-style: normal;
}


/* ══════════════════════════════════════════════════════════
   EVENTS
   ══════════════════════════════════════════════════════════ */
.events {
    background: var(--dark);
    padding: 80px 0;
}

.events-header {
    position: relative;
    text-align: center;
    padding: 0 64px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.events-header::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-50%) translateY(-24px);
    height: 1.5px;
    background: var(--gold);
    z-index: 0;
}

.events-title {
    position: relative;
    font-family: 'Horizon', sans-serif;
    font-size: clamp(4rem, 11vw, 5rem);
    text-transform: uppercase;
    color: var(--frost);
    line-height: 1;
    z-index: 1;
    padding: 0;
    background: var(--dark);
}

/* Sliding carousel */
.events-carousel-wrap {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.events-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}
.events-carousel-item {
    flex: 0 0 25%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    padding: 10px;
}
.events-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.events-carousel-item:hover img { transform: scale(1.05); }

.events-info {
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 32px 48px;
    text-align: center;
    max-width: 650px;
    margin: 48px auto 0;
}
.events-info p,
.events-info a {
    font-family: 'Forum', serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(239, 240, 241, 0.7);
    margin-bottom: 6px;
}
.events-info .border-yellow {
    display: flex;
    justify-content: center;
    margin: 20px;
}
.events-info .border-yellow div {
    height: 1px;
    width: 100px;
    background: var(--gold);
}


/* ══════════════════════════════════════════════════════════
   OPTIMIZE CTA
   ══════════════════════════════════════════════════════════ */
.optimize {
    position: relative;
    height: 540px;
    overflow: hidden;
}
.optimize-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.optimize-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 12, 0.38);
}
.optimize-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px 64px;
    text-align: right;
}
.optimize-title {
    font-family: 'Horizon', sans-serif;
    font-size: clamp(4rem, 10vw, 5.5rem);
    line-height: 0.88;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 50px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.btn-dark {
    display: inline-block;
    font-family: 'Forum', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgb(76, 71, 66);
    color: var(--frost);
    border: 1px solid rgba(239, 240, 241, 0.35);
    border-radius: 10px;
    padding: 14px 40px;
    transition: background var(--trans), color var(--trans);
}
.btn-dark:hover { background: var(--frost); color: var(--obsidian); }


/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
    background: #181715;
    border-top: 1px solid rgba(222, 164, 78, 0.12);
    padding: 24px 48px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}
.btn-gold-pill {
    display: inline-block;
    font-family: 'Forum', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--frost);
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 10px 24px;
    transition: background var(--trans), color var(--trans);
}
.btn-gold-pill:hover { background: transparent; color: var(--gold); }

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.footer-nav a {
    font-family: 'Forum', serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: rgba(239, 240, 241, 0.6);
    padding: 4px 16px;
    transition: color var(--trans);
}
.footer-nav a:first-child { border-left: none; }
.footer-nav a:hover { color: var(--gold); }


/* ══════════════════════════════════════════════════════════
   SCROLL-FADE WILL-CHANGE HINT
   ══════════════════════════════════════════════════════════ */
.about-inner,
.pillars-wrapper,
.luxury-inner,
.events-header,
.events-carousel-wrap,
.events-info,
.optimize-content {
    will-change: opacity, transform;
}


/* ══════════════════════════════════════════════════════════
   TABLET RESPONSIVE — 769px to 1024px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

    /* ── NAVBAR ─────────────────────────────────────────── */
    .nav { padding: 16px 32px; }
    .nav.scrolled { padding: 10px 32px; }
    .nav-logo img { width: 190px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(20, 19, 18, 0.97);
        backdrop-filter: blur(14px);
        padding: 0 32px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.35s ease;
        border-top: 1px solid rgba(222, 164, 78, 0.12);
    }
    .nav-menu.open {
        display: block;
        max-height: 400px;
        padding: 16px 32px 28px;
    }
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(239, 240, 241, 0.06);
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        display: block;
        padding: 12px 4px;
        font-size: 1.3rem;
        width: 100%;
    }
    .nav-login {
        margin-top: 8px;
        border-radius: 8px;
        text-align: center;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }

    /* ── HERO ────────────────────────────────────────────── */
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 52px 110px; }
    .hero-dots { left: 52px; bottom: 32px; }
    .cta_main { margin-top: 36px; justify-content: center; }
    .hero-cta {
        width: auto;
        font-size: 1.15rem;
        padding: 13px 32px;
        letter-spacing: 0.18em;
    }

    /* ── PILLARS ─────────────────────────────────────────── */
    .pillars-section { padding: 60px 32px 52px; }
    .pillars-wrapper { gap: 20px; max-width: 100%; }
    .pillar-heading { font-size: 40px; letter-spacing: 4px; top: -22px; }
    .pillar-box { padding: 44px 20px 32px; }
    .pillar-box p { font-size: 13px; letter-spacing: 1.2px; }
    .pillar-item:nth-child(1) .pillar-box { --gap-width: 75px; }
    .pillar-item:nth-child(2) .pillar-box { --gap-width: 140px; }
    .pillar-item:nth-child(3) .pillar-box { --gap-width: 80px; }

    /* ── LUXURY ──────────────────────────────────────────── */
    .luxury { padding: 72px 0; }
    .luxury-inner { grid-template-columns: 1fr 1.2fr; gap: 40px; }
    .luxury-content { padding: 16px 0 16px 36px; }
    .luxury-body { font-size: 1.25rem; line-height: 1.75; }

    /* ── EVENTS ──────────────────────────────────────────── */
    .events { padding: 68px 0 56px; }
    .events-header { padding: 0 48px 44px; }
    .events-title { font-size: clamp(3.5rem, 9vw, 4.5rem); }
    .events-carousel-item {
        flex: 0 0 33.333% !important;
        aspect-ratio: 3/4;
        padding: 8px;
    }
    .events-info {
        margin: 36px 32px 0;
        padding: 26px 32px;
        max-width: 100%;
    }
    .events-info p,
    .events-info a { font-size: 1.1rem; letter-spacing: 0.16em; }

    /* ── OPTIMIZE ────────────────────────────────────────── */
    .optimize { height: 480px; }
    .optimize-content { padding: 20px 48px; }
    .optimize-title { font-size: clamp(3.8rem, 9vw, 5rem); margin-bottom: 36px; }
    .btn-dark { padding: 13px 36px; font-size: 0.95rem; }

    /* ── FOOTER ──────────────────────────────────────────── */
    .footer { padding: 22px 32px; }
    .footer-nav a { font-size: 0.9rem; padding: 4px 12px; }
}


/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── NAVBAR ─────────────────────────────────────────── */
    .nav {
        padding: 18px 20px;
        backdrop-filter: blur(8px);
        background: rgba(20, 19, 18, 0.75);
    }
    .nav.scrolled {
        padding: 12px 20px;
        background: rgba(20, 19, 18, 0.97);
    }
    .nav-logo img { width: 160px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(20, 19, 18, 0.98);
        backdrop-filter: blur(14px);
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.35s ease;
        border-top: 1px solid rgba(222, 164, 78, 0.1);
    }
    .nav-menu.open {
        display: block;
        max-height: 400px;
        padding: 16px 20px 24px;
    }
    .nav-links { flex-direction: column; align-items: flex-start; gap: 0; }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(239, 240, 241, 0.06);
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        display: block;
        padding: 13px 4px;
        font-size: 1.2rem;
        width: 100%;
    }
    .nav-login {
        margin-top: 8px;
        border-radius: 8px;
        text-align: center;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }

    /* ── DROPDOWN (flat on mobile) ───────────────────────── */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding-left: 20px;
        margin-top: 10px;
    }
    .dropdown-menu a { font-size: 1rem; padding: 10px 0; }

    /* ── HERO ────────────────────────────────────────────── */
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 22px 90px; justify-content: flex-end; }
    .cta_main { margin-top: 28px; justify-content: center; }
    .hero-cta {
        width: auto;
        font-size: 0.95rem;
        padding: 13px 26px;
        letter-spacing: 0.15em;
    }
    .hero-dots { left: 22px; bottom: 28px; }

    /* ── PILLARS ─────────────────────────────────────────── */
    .pillars-section { padding: 52px 22px 44px; }
    .pillars-wrapper { flex-direction: column; gap: 48px; max-width: 100%; }
    .pillar-box { padding: 38px 22px 28px; }
    .pillar-heading { font-size: 34px; letter-spacing: 3px; top: -20px; }
    .pillar-item:nth-child(1) .pillar-box { --gap-width: 60px; }
    .pillar-item:nth-child(2) .pillar-box { --gap-width: 120px; }
    .pillar-item:nth-child(3) .pillar-box { --gap-width: 70px; }
    .pillar-box p { font-size: 13px; letter-spacing: 1px; }

    /* ── LUXURY ──────────────────────────────────────────── */
    .luxury { padding: 52px 0; }
    .luxury-inner { grid-template-columns: 1fr; gap: 0; }
    .luxury-inner > div:first-child { order: 2; }
    .luxury-inner > div:last-child  { order: 1; }
    .luxury-content { padding: 32px 22px 24px; }
    .luxury-body { font-size: 1.05rem; line-height: 1.75; }
    .luxury-img { aspect-ratio: 16/10; width: 100%; }

    /* ── EVENTS ──────────────────────────────────────────── */
    .events { padding: 56px 0 48px; }
    .events-header { padding: 0 20px 36px; }
    .events-title { font-size: clamp(3.5rem, 13vw, 4.5rem); }
    .events-carousel-item {
        flex: 0 0 50% !important;
        aspect-ratio: 3/4;
        padding: 6px;
    }
    .events-info {
        margin: 28px 20px 0;
        padding: 22px 20px;
        border-radius: 8px;
        max-width: 100%;
    }
    .events-info p,
    .events-info a { font-size: 0.9rem; letter-spacing: 0.11em; }

    /* ── OPTIMIZE ────────────────────────────────────────── */
    .optimize { height: auto; min-height: 420px; padding: 80px 0; }
    .optimize-content { align-items: center; text-align: center; padding: 0 22px; }
    .optimize-title { font-size: clamp(3.5rem, 16vw, 5rem); margin-bottom: 24px; }
    .btn-dark { padding: 13px 32px; font-size: 0.9rem; }

    /* ── FOOTER ──────────────────────────────────────────── */
    .footer { padding: 28px 20px 32px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .btn-gold-pill {
        width: 100%;
        text-align: center;
        padding: 13px 24px;
        font-size: 0.9rem;
    }
    .footer-nav { flex-direction: column; align-items: flex-start; gap: 2px; }
    .footer-nav a { padding: 7px 0; border-left: none; font-size: 0.9rem; }
}


/* ══════════════════════════════════════════════════════════
   VERY SMALL SCREENS — max-width: 390px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 390px) {
    .nav-logo img { width: 136px; }
    .hero-cta { font-size: 0.82rem; padding: 11px 20px; letter-spacing: 0.12em; }
    .section-label { font-size: 1rem; }
    .events-title { font-size: clamp(3rem, 10vw, 4.5rem); }
    .optimize-title { font-size: clamp(3rem, 10vw, 4.5rem); }
    .pillar-heading { font-size: 28px; letter-spacing: 2px; top: -17px; }
    .pillar-item:nth-child(1) .pillar-box { --gap-width: 50px; }
    .pillar-item:nth-child(2) .pillar-box { --gap-width: 95px; }
    .pillar-item:nth-child(3) .pillar-box { --gap-width: 50px; }
    .pillar-box p { font-size: 11px; }
    .events-info p, .events-info a { font-size: 0.82rem; }
    .footer-nav a { font-size: 0.82rem; }
}