/* ============================================================
   TheHiveMediaHouse — Bee Edition
   Honey-amber + near-black palette, 3D bee, scroll motion
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
    --honey: #F5B301;
    --honey-deep: #E89400;
    --honey-glow: #FFC93C;
    --amber-soft: #FFD86B;

    --font-display: "Fraunces", "Playfair Display", Georgia, serif;
    --font-head: "Space Grotesk", "Inter", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --max-w: 1240px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* LIGHT THEME (warm editorial cream + honey) */
[data-theme="light"] {
    --bg: #F7EFDF;
    --bg-hero: #F6B41E;
    --bg-hero-2: #F8C84B;
    --surface: #FFFDF8;
    --surface-2: #FBF3E1;
    --ink: #1C1408;
    --ink-soft: #6B5836;
    --line: rgba(28, 20, 8, 0.12);
    --accent: #1C1408;
    --accent-on: #F6B41E;
    --wordmark: #1C1408;
    --nav-bg: rgba(247, 239, 223, 0.82);
    --shadow: 0 26px 60px -28px rgba(120, 84, 0, 0.42);
    --hero-ink: #1C1408;
    --lens-rim: #1C1408;
}

/* DARK THEME (dramatic black + amber) */
[data-theme="dark"] {
    --bg: #0F0D07;
    --bg-hero: #100D06;
    --surface: #1A1610;
    --surface-2: #211C12;
    --ink: #F6ECD2;
    --ink-soft: #B49C6E;
    --line: rgba(245, 179, 1, 0.16);
    --accent: #F5B301;
    --accent-on: #1A1408;
    --wordmark: #F5B301;
    --nav-bg: rgba(15, 13, 7, 0.78);
    --shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.8);
    --hero-ink: #F6ECD2;
    --bg-hero-2: #16120A;
    --lens-rim: #F5B301;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--honey-deep); }

.brand-the { color: var(--ink-soft); }
.brand-hive { color: var(--honey-deep); }
.brand-media { color: var(--ink); }
[data-theme="dark"] .brand-hive { color: var(--honey); }

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(120% 100% at 50% 35%, #1c150b, #100c06 70%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; width: min(360px, 80vw); }
.preloader-hex { position: relative; width: 90px; height: 90px; margin: 0 auto 26px; }
.preloader-hex svg { width: 100%; height: 100%; fill: none; stroke: var(--hero-ink); stroke-width: 4; }
.hex-spin { animation: hexspin 3s linear infinite; transform-origin: center; }
@keyframes hexspin { to { transform: rotate(360deg); } }
.preloader-bee-emoji {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 34px; animation: beebob 1.2s ease-in-out infinite;
}
@keyframes beebob { 0%,100% { transform: translateY(-3px) rotate(-6deg); } 50% { transform: translateY(3px) rotate(6deg); } }
.preloader-brand-text { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: 1px; margin-bottom: 22px; color: var(--hero-ink); }
.preloader-bar-track { width: 100%; height: 4px; background: rgba(255,255,255,.16); border-radius: 99px; overflow: hidden; }
.preloader-bar-fill { width: 0; height: 100%; background: var(--honey); border-radius: 99px; transition: width 0.3s ease; }
.preloader-text { margin-top: 14px; font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: #F6ECD2; opacity: .7; }
.dot-anim { animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- 3D BEE ---------- */
#beeFlyer {
    position: fixed; top: 0; left: 0; width: 300px; height: 300px;
    z-index: 60; pointer-events: none;
    transform-origin: center center;
    opacity: 0; transition: opacity 0.8s ease;
    will-change: transform, width, height;
    filter: drop-shadow(0 18px 22px rgba(60, 40, 0, 0.28));
}
#beeFlyer.ready { opacity: 1; }
#beeViewer {
    width: 100%; height: 100%;
    background: transparent; pointer-events: none;
    --poster-color: transparent;
}

/* ---------- NAVBAR ---------- */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
    padding: 12px 0;
}
#navbar.scrolled {
    padding: 8px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; }
.nav-logo-mark { width: 30px; height: 30px; display: grid; place-items: center; }
.nav-logo-mark svg { width: 100%; height: 100%; fill: var(--honey); stroke: var(--ink); stroke-width: 4; transition: transform .5s var(--ease); }
.nav-logo:hover .nav-logo-mark svg { transform: rotate(180deg); }

.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-link { font-family: var(--font-head); font-weight: 500; font-size: 0.96rem; position: relative; padding: 4px 0; color: var(--ink); opacity: .8; transition: opacity .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--honey-deep); transition: width .35s var(--ease); }
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s, background .3s; }
.theme-toggle:hover { transform: rotate(20deg) scale(1.05); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; padding: 13px 26px; border-radius: 99px; cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; }
.btn-primary { background: var(--honey); color: #1A1408; box-shadow: 0 10px 26px -10px rgba(245,179,1,.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(245,179,1,.85); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.btn-full { width: 100%; }
.nav-cta { padding: 9px 20px; font-size: .88rem; }
.hamburger { display: none; }

/* ---------- HERO ---------- */
.hero-section {
    position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    background: radial-gradient(120% 90% at 78% 12%, var(--bg-hero-2), var(--bg-hero) 58%);
    overflow: hidden;
    transition: background 0.5s var(--ease);
}
[data-theme="dark"] .hero-section { background: radial-gradient(120% 100% at 76% 8%, #1f1a0e 0%, #100d06 60%); }
/* faint film-grain / vignette for cinematic depth */
.hero-section::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: radial-gradient(130% 120% at 50% 40%, transparent 55%, rgba(20, 14, 4, .22));
}
[data-theme="dark"] .hero-section::after { background: radial-gradient(130% 120% at 50% 40%, transparent 45%, rgba(0, 0, 0, .55)); }

.hero-content {
    position: relative; z-index: 40; max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center;
}
.hero-text { position: relative; z-index: 41; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: .8rem;
    font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-ink);
    opacity: .85; margin-bottom: 20px;
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #d6452e; box-shadow: 0 0 0 0 rgba(214, 69, 46, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214, 69, 46, .55); } 50% { box-shadow: 0 0 0 7px rgba(214, 69, 46, 0); } }

.hero-title {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.02; letter-spacing: -0.015em; color: var(--hero-ink); margin-bottom: 22px; max-width: 14ch;
}
.title-line { display: block; }
.hero-title em { font-style: italic; font-weight: 600; color: var(--honey-deep); }
[data-theme="dark"] .hero-title em { color: var(--honey); }
[data-theme="light"] .hero-title em { color: #8a4b00; }

.hero-description { font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.14rem); max-width: 46ch; color: var(--hero-ink); opacity: .82; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
[data-theme="light"] .hero-cta .btn-primary { background: #1C1408; color: var(--honey-glow); box-shadow: 0 14px 30px -12px rgba(28, 20, 8, .6); }
[data-theme="light"] .hero-cta .btn-outline { border-color: #1C1408; color: #1C1408; }
[data-theme="light"] .hero-cta .btn-outline:hover { background: #1C1408; color: var(--honey-glow); }

.hero-meta { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--hero-ink); }
.hero-meta span { font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-ink); opacity: .62; margin-top: 5px; }

/* ===== CAMERA LENS (realistic prime — the bee walks on the front glass) ===== */
.hero-lens {
    position: relative; width: min(460px, 90%); aspect-ratio: 1; margin: 0 auto;
    display: grid; place-items: center; z-index: 40;
}

/* machined metal barrel */
.lens-barrel {
    position: absolute; inset: 4%; border-radius: 50%;
    background:
        conic-gradient(from 210deg,
            #46464c, #1c1c21 16%, #54545c 30%, #131316 48%,
            #404048 64%, #17171b 80%, #46464c);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, .28),
        inset 0 -5px 12px rgba(0, 0, 0, .65),
        0 36px 70px -22px rgba(50, 32, 0, .6),
        0 10px 24px -10px rgba(0, 0, 0, .5);
    display: grid; place-items: center; overflow: visible;
    will-change: transform;
}
/* knurled grip ridges on the outer rim */
.lens-barrel::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 255, 255, .09) 0deg .7deg, transparent .7deg 2.8deg);
    -webkit-mask: radial-gradient(circle, transparent 78%, #000 79%);
    mask: radial-gradient(circle, transparent 78%, #000 79%);
}
/* filter-thread ring between barrel and glass */
.lens-barrel::after {
    content: ""; position: absolute; inset: 12.5%; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, .4), inset 0 0 0 3px rgba(0, 0, 0, .5);
}

/* engraved spec text around the barrel */
.lens-text { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; animation: lensTextSpin 90s linear infinite; }
.lens-text text { font-family: var(--font-head); font-size: 7px; font-weight: 600; letter-spacing: .26em; fill: rgba(255, 255, 255, .72); }
@keyframes lensTextSpin { to { transform: rotate(360deg); } }
.lens-dot { position: absolute; top: 5.2%; left: 50%; transform: translateX(-50%); width: 2.8%; aspect-ratio: 1; border-radius: 50%; background: #d6452e; box-shadow: 0 0 6px rgba(214, 69, 46, .8); z-index: 3; }

/* the front element — deep multi-coated glass */
.lens-glass {
    position: absolute; inset: 14%; border-radius: 50%;
    background:
        radial-gradient(circle at 30% 26%, rgba(120, 170, 255, .14), transparent 42%),
        radial-gradient(circle at 70% 76%, rgba(170, 80, 255, .12), transparent 46%),
        radial-gradient(circle at 50% 50%, #33271a 0%, #17110a 52%, #070503 100%);
    box-shadow:
        inset 0 12px 26px rgba(0, 0, 0, .6),
        inset 0 -4px 12px rgba(255, 255, 255, .05),
        inset 0 0 0 2px rgba(255, 255, 255, .06);
    overflow: hidden;
}
/* concentric internal-element reflections */
.lens-glass::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background:
        radial-gradient(circle, transparent 26%, rgba(255, 255, 255, .05) 27%, transparent 29%),
        radial-gradient(circle, transparent 40%, rgba(255, 255, 255, .045) 41%, transparent 43.5%),
        radial-gradient(circle, transparent 56%, rgba(255, 255, 255, .05) 57%, transparent 59.5%),
        radial-gradient(circle, transparent 72%, rgba(255, 255, 255, .065) 73%, transparent 76%);
}
/* iridescent coating sheen */
.lens-glass::after {
    content: ""; position: absolute; inset: 5%; border-radius: 50%;
    background: conic-gradient(from 40deg,
        rgba(246, 169, 18, .10), rgba(150, 70, 255, .12), rgba(0, 190, 170, .08),
        rgba(80, 120, 255, .10), rgba(246, 169, 18, .10));
    mix-blend-mode: screen; filter: blur(10px); opacity: .8;
}
/* honey-lit aperture core (brand glow at the heart of the lens) */
.lens-iris {
    position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1;
    transform: translate(-50%, -50%); border-radius: 50%; z-index: 1;
    background: radial-gradient(circle at 40% 34%, #ffd87a, #f6a912 46%, #8a5400 78%, #2e1c00);
    box-shadow: 0 0 34px rgba(246, 169, 18, .5), inset 0 -5px 14px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .35);
}
/* window-shaped glints on the coating */
.lens-glint {
    position: absolute; top: 9%; left: 13%; width: 46%; height: 32%; border-radius: 50%; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse at 40% 34%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .07) 55%, transparent 72%);
    filter: blur(2px); transform: rotate(-18deg);
}
.lens-glint-2 {
    position: absolute; bottom: 14%; right: 16%; width: 16%; height: 10%; border-radius: 50%; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse, rgba(255, 255, 255, .22), transparent 70%);
    filter: blur(2px); transform: rotate(-18deg);
}
[data-theme="dark"] .lens-barrel { box-shadow: inset 0 3px 6px rgba(255, 255, 255, .2), inset 0 -5px 12px rgba(0, 0, 0, .7), 0 36px 80px -24px #000; }

/* honey glow that trails under the bee on the glass */
.hive-glow {
    position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 210, 90, .5), transparent 70%);
    filter: blur(24px); animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .45; } 50% { opacity: .85; } }

/* focus reticle brackets around the lens (camera viewfinder cue) */
.focus-brackets { position: absolute; inset: -2%; z-index: 5; pointer-events: none; animation: focusPulse 5s var(--ease) infinite; }
.focus-brackets span { position: absolute; width: 26px; height: 26px; border: 2px solid var(--hero-ink); opacity: .55; }
.focus-brackets span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.focus-brackets span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.focus-brackets span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.focus-brackets span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
@keyframes focusPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.965); } }

.lens-hud { position: absolute; top: -4%; left: 0; right: 0; z-index: 6; display: flex; justify-content: space-between; font-family: var(--font-head); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-ink); opacity: .7; }
.hud-rec { display: inline-flex; align-items: center; gap: 6px; }
.hud-rec i { width: 8px; height: 8px; border-radius: 50%; background: #d6452e; animation: pulse 1.6s infinite; }

.scroll-indicator { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-ink); opacity: .7; }
.mouse { width: 24px; height: 38px; border: 2px solid var(--hero-ink); border-radius: 13px; display: flex; justify-content: center; padding-top: 6px; }
.wheel { width: 3px; height: 8px; background: var(--hero-ink); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
/* keep old hero-badge selector harmless if referenced */
.hero-badge { display: none; }

/* ---------- BRAND LOGO (loading screen / header / footer) ---------- */
.brand-logo { display: block; width: auto; object-fit: contain; }

/* header: theme-matched logo art (yellow-bg for light, dark-bg for dark) — no text */
.nav-logo-img { display: block; height: 56px; width: auto; border-radius: 9px; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* loader uses the dark-bg logo on its dark backdrop */
.preloader-logo {
    width: 280px; max-width: 76vw; margin: 0 auto 28px; border-radius: 18px;
    animation: logoPulse 2.4s var(--ease) infinite;
}
.preloader-inner:has(.preloader-logo) .preloader-hex,
.preloader-inner:has(.preloader-logo) .preloader-brand-text { display: none; }
@keyframes logoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* footer uses the dark-bg logo (already a full wordmark) — hide the redundant text */
.footer-logo { height: 86px; width: auto; border-radius: 14px; margin: 0 0 10px 0; }
.footer-brand:has(.footer-logo) .footer-brand-text { display: none; }

/* ---------- MARQUEE ---------- */
.marquee { background: #1A1408; color: var(--honey); overflow: hidden; padding: 16px 0; border-block: 2px solid #1A1408; }
[data-theme="dark"] .marquee { background: var(--honey); color: #1A1408; }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; padding: 0 1rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section-container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.services-section, .contact-section { padding: 120px 0; position: relative; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag { display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; letter-spacing: .01em; color: var(--ink); margin-bottom: 18px; }
.section-subtitle { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- SERVICES GRID ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.services-grid-main { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.service-content h3 { font-family: var(--font-head); }
.service-card .service-content h3 { font-size: 1.4rem; }
.service-card {
    position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
    will-change: transform; transform-style: preserve-3d;
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--honey); }
.service-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-img-wrap img { transform: scale(1.08); }
.service-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,20,8,.55), transparent 55%); }
.service-content { padding: 24px 24px 28px; }
.service-content h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; color: var(--ink); margin-bottom: 10px; }
.service-content p { font-size: .92rem; color: var(--ink-soft); }
.service-number {
    position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-size: 1.5rem;
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
    background: var(--honey); color: #1A1408; box-shadow: 0 8px 18px -8px rgba(245,179,1,.8);
}

/* ---------- OTHER SERVICES ---------- */
.other-services { margin-top: 66px; }
.other-title { display: flex; align-items: center; gap: 18px; font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; }
.other-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.other-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.other-card:hover { transform: translateY(-6px); border-color: var(--honey); box-shadow: var(--shadow); }
/* images are ~3:2 (the title sits top-left); match that ratio + anchor left so no title is clipped */
.other-img { aspect-ratio: 3/2; overflow: hidden; background: #15110a; }
.other-img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .7s var(--ease); }
.other-card:hover .other-img img { transform: scale(1.06); }
.other-body { padding: 20px 24px 24px; }
.other-card h4 { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; color: var(--ink); margin-bottom: 9px; }
.other-card p { font-size: .94rem; color: var(--ink-soft); }

/* ---------- MEDIA WORKS (auto-advancing centred filmstrip) ---------- */
.work-section { padding: 110px 0 120px; overflow: hidden; }
.mw-collection { margin-top: 46px; }
.mw-collection:first-of-type { margin-top: 36px; }
.mw-head { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; }
.mw-head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); }
.mw-head span { font-family: var(--font-head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); }
[data-theme="dark"] .mw-head span { color: var(--honey); }

/* ---------- COLLAGE (centered, ROW-WISE 3-column grid) ---------- */
/* A real grid (not CSS columns) so DOM order == visual order, left→right then
   top→bottom. That makes "rows" well-defined: tiles 0-2 = row 1, 3-5 = row 2 …
   which is what the worker-bee delivery fills, one row at a time.
   JUSTIFIED rows: script.js sizes each tile so a row's photos share one height
   (widths vary by aspect ratio) — flush rows, exact 3-per-row, NO crop. */
.mw-collage {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-content: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    user-select: none;
}
/* tiles are sized by JS; they rise + fade in (staggered) when scrolled into view */
.mw-tile {
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(34px) scale(.97);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    will-change: opacity, transform;
}
.mw-tile.revealed { opacity: 1; transform: none; }
.mw-tile:hover { z-index: 6; transform: translateY(-10px) scale(1.03); transition-delay: 0s; }

/* INNER = the gentle perpetual FLOAT (transform) + the framed visuals */
.mw-tile-inner {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 16px; overflow: hidden; cursor: pointer;
    background: var(--surface-2);
    box-shadow: 0 16px 34px -20px rgba(60, 38, 0, .55);
    transform: translateY(var(--y, 0)) rotate(var(--rot, 0deg));
    animation: mwFloat var(--fdur, 6s) ease-in-out var(--fdelay, 0s) infinite;
    transition: box-shadow .5s var(--ease), filter .5s var(--ease);
}
.mw-tile img {
    display: block; width: 100%; height: 100%;     /* cell matches the photo's ratio → no crop */
    object-fit: cover;
    filter: saturate(.92);
    transition: transform .7s var(--ease), filter .6s var(--ease);
    /* protected: not draggable / selectable / save-able */
    pointer-events: none; user-select: none; -webkit-user-select: none;
    -webkit-user-drag: none; -webkit-touch-callout: none;
}

/* hover — pause the float, zoom in & glow */
.mw-tile:hover .mw-tile-inner {
    animation-play-state: paused;
    box-shadow: 0 34px 64px -22px rgba(60, 38, 0, .65), 0 0 0 3px var(--honey);
}
.mw-tile:hover img { transform: scale(1.12); filter: saturate(1.08); }
[data-theme="dark"] .mw-tile-inner { box-shadow: 0 18px 40px -22px #000; }
[data-theme="dark"] .mw-tile:hover .mw-tile-inner { box-shadow: 0 34px 64px -22px #000, 0 0 0 3px var(--honey); }

@keyframes mwFloat {
    0%, 100% { transform: translateY(calc(var(--y, 0px) - 7px)) rotate(var(--rot, 0deg)); }
    50%      { transform: translateY(calc(var(--y, 0px) + 7px)) rotate(calc(var(--rot, 0deg) * -1)); }
}
@media (prefers-reduced-motion: reduce) {
    .mw-tile { opacity: 1; transform: none; transition: none; }
    .mw-tile-inner { animation: none; transform: none; }
}

/* ---------- CONTACT ---------- */
.contact-section { background: var(--surface-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; transition: transform .3s var(--ease), border-color .3s; }
.contact-info-card:hover { transform: translateX(6px); border-color: var(--honey); }
.contact-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--honey); color: #1A1408; }
.contact-info-card h4 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-info-card a, .contact-info-card p { font-size: 1rem; color: var(--ink); }
.contact-tagline { margin-top: 8px; padding: 24px; border-radius: var(--radius-sm); background: #1A1408; color: var(--honey); }
[data-theme="dark"] .contact-tagline { background: var(--honey); color: #1A1408; }
.contact-tagline p { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: var(--ink); }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-family: var(--font-body); font-size: .98rem; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px rgba(245,179,1,.22); }
.form-status { margin-top: 14px; font-weight: 600; font-size: .92rem; min-height: 20px; text-align: center; }

/* ---------- FOOTER ---------- */
.footer-section { background: #1A1408; color: #F6ECD2; padding: 70px 0 30px; }
[data-theme="dark"] .footer-section { background: #0A0805; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(245,179,1,.16); }
.footer-brand-text { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 14px; }
.footer-brand-text .brand-the { color: rgba(246,236,210,.6); }
.footer-brand-text .brand-hive { color: var(--honey); }
.footer-brand-text .brand-media { color: #F6ECD2; }
.footer-brand p { color: rgba(246,236,210,.7); font-size: .94rem; max-width: 34ch; }
.footer-links-col h4, .footer-map h4 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a, .footer-links-col li { color: rgba(246,236,210,.72); font-size: .94rem; transition: color .3s; }
.footer-links-col a:hover { color: var(--honey); }
.map-wrap { border-radius: 12px; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .86rem; color: rgba(246,236,210,.55); }

/* subtle glow on whatever block the bee is currently resting on */
.service-card, .package-card { position: relative; }
.section-header.bee-here .section-title { color: var(--honey-deep); transition: color .4s var(--ease); }
.service-card.bee-here, .package-card.bee-here, .contact-form-wrap.bee-here {
    border-color: var(--honey); box-shadow: 0 0 0 2px rgba(245, 179, 1, .55), var(--shadow);
}

/* ---------- PACKAGES (store-style) ---------- */
.packages-section { padding: 120px 0; position: relative; background: var(--bg); }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.package-card {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 32px 28px 30px; overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--honey); }
.package-card.featured { background: #1A1408; color: #F6ECD2; border-color: var(--honey); }
[data-theme="dark"] .package-card.featured { background: #241d10; }
.pkg-badge {
    align-self: flex-start; font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--honey); color: #1A1408; margin-bottom: 18px;
}
.pkg-name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin-bottom: 6px; color: inherit; }
.pkg-price { font-family: var(--font-display); font-size: 2rem; color: var(--honey-deep); margin-bottom: 4px; }
.package-card.featured .pkg-price { color: var(--honey); }
.pkg-price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--ink-soft); display: block; margin-top: 2px; }
.package-card.featured .pkg-price small { color: rgba(246, 236, 210, .65); }
.pkg-list { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--ink-soft); }
.package-card.featured .pkg-list li { color: rgba(246, 236, 210, .82); }
.pkg-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1408' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.package-card.featured .pkg-btn { background: var(--honey); color: #1A1408; }
.pkg-btn { margin-top: auto; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal-up { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-up.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal-up { opacity: 1; transform: none; }
    *, *::before, *::after { animation-duration: .001ms !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .mw-collage { max-width: 760px; gap: 14px; }   /* tablet: still 3 across */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-logo-img { height: 46px; }
    .footer-logo { height: 74px; }
    .work-section { padding: 80px 0 90px; }
    /* collage drops to 2 columns on phones */
    .mw-collage { gap: 12px; }            /* phones: JS lays out 2 per row */
    .mw-tile-inner { border-radius: 12px; }
    .mw-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 74%; max-width: 320px; height: 100vh;
        flex-direction: column; justify-content: center; gap: 28px; padding: 40px;
        background: var(--surface); box-shadow: -10px 0 50px rgba(0,0,0,.2);
        transition: right .45s var(--ease); z-index: 1100;
    }
    .nav-links.open { right: 0; }
    .nav-cta { display: none; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; width: 32px; height: 32px; justify-content: center; align-items: center; background: none; border: none; cursor: pointer; z-index: 1200; }
    .hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .services-section, .contact-section, .packages-section { padding: 80px 0; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    /* hero flows from the top (below the navbar) so it never clips on short phones */
    .hero-section { min-height: 100vh; min-height: 100svh; justify-content: flex-start; padding: 112px 0 52px; }
    .hero-content { grid-template-columns: 1fr; gap: 8px; }
    /* text first, then the bee/lens below — with breathing room above & below */
    .hero-lens { order: 1; width: min(248px, 62%); margin: 42px auto 18px; }
    .other-grid { grid-template-columns: 1fr; }
    .hero-kicker { margin-bottom: 12px; font-size: .7rem; }
    .hero-title { font-size: clamp(2rem, 8.4vw, 2.9rem); margin-bottom: 12px; }
    .hero-description { font-size: .98rem; margin-bottom: 18px; }
    .hero-cta { gap: 10px; }
    .hero-cta .btn { padding: 12px 22px; }
    .hero-meta { gap: 20px; margin-top: 20px; }
    .hero-meta strong { font-size: 1.3rem; }
    .lens-hud { font-size: .56rem; }
    .focus-brackets span { width: 16px; height: 16px; }
    .scroll-indicator { display: none; }      /* avoids overlapping the CTA on mobile */
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .marquee-track span { font-size: 1.2rem; }
    .nav-container { padding: 0 18px; }
    .section-container { padding: 0 18px; }
    .hero-content { padding: 0 18px; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
    .section-title { font-size: clamp(2rem, 11vw, 3rem); }
    .section-header { margin-bottom: 44px; }
    .contact-form-wrap { padding: 22px; }
    .contact-info-card { padding: 16px 18px; gap: 14px; }
    .contact-icon { width: 46px; height: 46px; }
    .footer-section { padding: 56px 0 26px; }
    .hero-lens { width: min(248px, 70%); }
}

/* short / landscape phones — let the hero breathe and scroll */
@media (max-height: 560px) and (max-width: 900px) {
    .hero-section { min-height: auto; padding: 88px 0 44px; }
    .hero-lens { width: min(190px, 34%); }
    .hero-meta { display: none; }
}
