/* GrindCast ZM — public site styles
   Brand palette is unchanged: deep navy + signal orange. */

:root {
    --navy-950: #050e1c;
    --navy-900: #0a192f;   /* primary dark */
    --navy-850: #0d1f3a;
    --navy-800: #112240;
    --navy-700: #172a45;   /* primary light */
    --navy-600: #233a5e;
    --orange: #f57c00;     /* accent */
    --orange-2: #ff9800;   /* accent light */
    --orange-soft: rgba(245, 124, 0, 0.12);
    --text: #ccd6f6;
    --text-strong: #e6f1ff;
    --muted: #8892b0;
    --line: rgba(204, 214, 246, 0.09);
    --line-strong: rgba(245, 124, 0, 0.28);
    --success: #4caf50;
    --danger: #ef5350;
    --grad-accent: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--navy-900);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--orange); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 0.95rem; line-height: 1; text-decoration: none; cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
    white-space: nowrap;
}
.btn-primary { background: var(--grad-accent); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(245, 124, 0, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(245, 124, 0, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text-strong); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-2); }
.btn-dark { background: var(--navy-900); color: var(--text-strong); }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.85rem; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
    background: rgba(8, 20, 38, 0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
    color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.9rem;
    padding: 0.5rem 0.85rem; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a.active { color: var(--text-strong); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 0.5rem; color: var(--navy-900); }
.nav .btn:hover { background: var(--grad-accent); color: var(--navy-900); }
.menu-btn {
    display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04); color: var(--text-strong); cursor: pointer;
    align-items: center; justify-content: center; font-size: 1.1rem;
}
@media (max-width: 900px) {
    .menu-btn { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.25rem;
        background: rgba(8, 20, 38, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
    }
    .nav.open { transform: none; opacity: 1; visibility: visible; }
    .nav a { padding: 0.85rem 1rem; font-size: 1rem; }
    .nav .btn { margin: 0.5rem 0 0; }
}

/* ── Section scaffolding ───────────────────────────────── */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-850) 0%, var(--navy-900) 100%); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-2);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.section-head h2, .h2 {
    font-family: var(--font-display); font-weight: 700; color: var(--text-strong);
    font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; margin-top: 0.7rem;
}
.section-head p { color: var(--muted); max-width: 460px; }
.accent { color: var(--orange); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    display: flex; align-items: center; overflow: hidden;
    background:
        radial-gradient(900px 600px at 85% 20%, rgba(245, 124, 0, 0.16), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(35, 58, 94, 0.7), transparent 60%),
        var(--navy-900);
}
.hero::after { /* subtle dot grid */
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
    background-image: radial-gradient(rgba(204, 214, 246, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-copy { max-width: 860px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.live-pill {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem 0.45rem 0.6rem;
    border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(245, 124, 0, 0.08);
    font-size: 0.82rem; font-weight: 600; color: var(--text-strong);
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--orange-2); border-radius: 2px; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.eq i:nth-child(2) { height: 100%; animation-delay: -0.5s; }
.eq i:nth-child(3) { height: 65%; animation-delay: -0.8s; }
.eq i:nth-child(4) { height: 85%; animation-delay: -0.35s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }
.hero h1 {
    font-family: var(--font-display); color: var(--text-strong); font-weight: 700;
    font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.98; letter-spacing: -0.045em; margin: 1.4rem 0 1.4rem;
}
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.22em; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--text); max-width: 640px; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; justify-content: center; }
.hero-meta { display: flex; gap: 2.5rem; margin-top: 2.4rem; flex-wrap: wrap; justify-content: center; }
.hero-meta div { align-items: center; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--text-strong); line-height: 1; letter-spacing: -0.03em; }
.hero-meta span { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }

.next-card {
    position: relative; width: 100%; max-width: 640px; margin-top: 2.4rem; text-align: left;
    background: rgba(13, 31, 58, 0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.15rem 1.25rem;
    box-shadow: var(--shadow);
}
.next-card .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-2); display: flex; align-items: center; gap: 0.5rem; }
.next-card h3 { font-family: var(--font-display); color: var(--text-strong); font-size: 1.12rem; line-height: 1.25; margin: 0.45rem 0 0.35rem; letter-spacing: -0.01em; }
.next-card .when { font-size: 0.85rem; color: var(--muted); }
.next-card .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; flex-wrap: wrap; }
.countdown { display: flex; gap: 0.4rem; }
.countdown div { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 10px; padding: 0.35rem 0.5rem; min-width: 52px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); color: var(--text-strong); font-size: 1.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 520px) {
    .hero-meta { gap: 1.6rem; }
    .next-card .row { flex-direction: column; align-items: stretch; }
    .next-card .row .btn { width: 100%; }
}

/* ── Topic marquee ─────────────────────────────────────── */
.marquee-wrap { overflow: hidden; padding: 1.2rem 0; margin-top: -2.2rem; position: relative; z-index: 3; }
.marquee { background: var(--grad-accent); color: var(--navy-900); overflow: hidden; padding: 0.95rem 0; transform: rotate(-1.2deg); margin: 0 -2%; width: 104%; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; }
.marquee span::after { content: '✦'; font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── About ─────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-copy p { color: var(--text); margin-top: 1.1rem; font-size: 1.05rem; }
.about-copy p.muted { color: var(--muted); font-size: 1rem; }
.pillars { display: grid; gap: 1rem; }
.pillar {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
    padding: 1.35rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
    transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.pillar:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(245, 124, 0, 0.04); }
.pillar-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); font-size: 1.1rem; }
.pillar h3 { font-family: var(--font-display); color: var(--text-strong); font-size: 1.1rem; letter-spacing: -0.01em; }
.pillar p { color: var(--muted); font-size: 0.93rem; margin-top: 0.25rem; }
.host-chip { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2rem; padding: 0.6rem 1.2rem 0.6rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.host-chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.host-chip strong { display: block; color: var(--text-strong); font-size: 0.95rem; }
.host-chip span { font-size: 0.8rem; color: var(--orange-2); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ── Episodes ──────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ep-card {
    display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(180deg, rgba(23, 42, 69, 0.75), rgba(13, 31, 58, 0.75));
    border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.ep-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.ep-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-950); }
.ep-media .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(0.55) saturate(1.2); }
.ep-media .fg { position: relative; width: 100%; height: 100%; object-fit: contain; }
.ep-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy-600); font-size: 3rem; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.ep-status {
    position: absolute; top: 0.85rem; left: 0.85rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.32rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
    background: rgba(10, 25, 47, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-strong); border: 1px solid var(--line);
}
.ep-status.is-upcoming { color: var(--orange-2); border-color: var(--line-strong); }
.ep-status.is-live { background: #e53935; border-color: #e53935; color: #fff; }
.ep-status.is-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.ep-body { padding: 1.35rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.ep-date { font-size: 0.8rem; font-weight: 700; color: var(--orange-2); letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.45rem; }
.ep-title { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.25; color: var(--text-strong); margin: 0.55rem 0 0.75rem; letter-spacing: -0.015em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
.tag { font-size: 0.74rem; font-weight: 600; padding: 0.28rem 0.65rem; border-radius: 999px; background: var(--orange-soft); color: var(--orange-2); border: 1px solid rgba(245, 124, 0, 0.18); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.open { -webkit-line-clamp: unset; display: block; }
.ep-desc { color: var(--muted); font-size: 0.93rem; }
.more-btn { background: none; border: 0; color: var(--text); font-weight: 600; font-size: 0.82rem; cursor: pointer; padding: 0.35rem 0; align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(204, 214, 246, 0.3); }
.more-btn:hover { color: var(--orange-2); }
.ep-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.1rem; }

.empty {
    text-align: center; padding: 3rem 1.5rem; border-radius: var(--radius); border: 1px dashed var(--line-strong);
    background: rgba(245, 124, 0, 0.03); color: var(--muted); grid-column: 1 / -1;
}
.empty > i { font-size: 1.8rem; color: var(--orange-2); margin-bottom: 0.8rem; display: block; }
.empty h3 { font-family: var(--font-display); color: var(--text-strong); font-size: 1.2rem; margin-bottom: 0.35rem; }
.empty .btn { margin-top: 1.2rem; }

/* Skeletons while content loads */
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; min-height: 380px; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ── People ────────────────────────────────────────────── */
.person {
    border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
    transition: transform 0.35s var(--ease), border-color 0.3s; display: flex; flex-direction: column;
}
.person:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.person-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--navy-800); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: var(--orange-2); background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); }
.person-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.person-name { font-family: var(--font-display); color: var(--text-strong); font-size: 1.15rem; letter-spacing: -0.01em; }
.person-role { color: var(--orange-2); font-size: 0.85rem; font-weight: 600; margin-top: 0.2rem; }
.person-bio { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }
.person-links { margin-top: auto; padding-top: 1rem; display: flex; gap: 0.5rem; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; text-decoration: none;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-strong); transition: all 0.25s;
}
.icon-btn:hover { background: var(--grad-accent); color: var(--navy-900); border-color: transparent; }

/* Team cards: compact horizontal layout */
.team-card { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(255,255,255,0.025); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.35s var(--ease); }
.team-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.team-card img, .team-card .ph { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; object-position: 50% 25%; background: var(--navy-800); }
.team-card .ph { display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; color: var(--orange-2); }
.team-card .person-bio { margin-top: 0.5rem; }
.team-card .person-links { padding-top: 0.75rem; }
@media (max-width: 420px) { .team-card { grid-template-columns: 1fr; } }

/* ── Subscribe ─────────────────────────────────────────── */
.subscribe {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 4rem);
    background: var(--grad-accent); color: var(--navy-900);
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
}
.subscribe::before { /* soundwave watermark */
    content: ''; position: absolute; right: -40px; top: -40px; width: 340px; height: 340px; border-radius: 50%;
    border: 38px solid rgba(10, 25, 47, 0.08);
}
.subscribe h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
.subscribe p { margin-top: 0.8rem; font-weight: 500; opacity: 0.85; max-width: 440px; }
.sub-form { position: relative; display: flex; gap: 0.5rem; background: rgba(10, 25, 47, 0.1); padding: 0.4rem; border-radius: 999px; border: 1.5px solid rgba(10, 25, 47, 0.18); }
.sub-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.8rem 1rem; font: inherit; font-weight: 600; color: var(--navy-900); outline: none; }
.sub-form input::placeholder { color: rgba(10, 25, 47, 0.55); }
.sub-note { font-size: 0.78rem; margin-top: 0.7rem; opacity: 0.75; }
@media (max-width: 760px) {
    .subscribe { grid-template-columns: 1fr; }
    .sub-form { flex-direction: column; border-radius: 20px; }
    .sub-form .btn { width: 100%; }
}

/* ── Forms ─────────────────────────────────────────────── */
.card-panel { border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.4rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-strong); margin-bottom: 0.45rem; }
.field label .opt { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.field label .req { color: var(--orange-2); }
.input, .field input, .field textarea, .field select {
    width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
    background: rgba(5, 14, 28, 0.55); color: var(--text-strong); font: inherit; font-size: 0.95rem; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(136, 146, 176, 0.7); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--navy-800); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-msg { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; display: none; padding: 0.75rem 1rem; border-radius: 12px; }
.form-msg.ok { display: block; color: #81c784; background: rgba(76, 175, 80, 0.1); border: 1px solid rgba(76, 175, 80, 0.25); }
.form-msg.err { display: block; color: #ff8a80; background: rgba(239, 83, 80, 0.1); border: 1px solid rgba(239, 83, 80, 0.25); }

/* ── Contact ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0.8rem; margin-top: 2rem; }
.contact-list a, .contact-list div {
    display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem; border-radius: 16px;
    border: 1px solid var(--line); background: rgba(255,255,255,0.025); text-decoration: none; color: var(--text-strong);
    transition: border-color 0.25s, background 0.25s; font-weight: 600; font-size: 0.95rem; word-break: break-word;
}
.contact-list a:hover { border-color: var(--line-strong); background: rgba(245, 124, 0, 0.05); }
.contact-list i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); }
.contact-list small { display: block; color: var(--muted); font-weight: 500; font-size: 0.76rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid img { height: 34px; width: auto; }
.footer-grid p { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; max-width: 340px; }
.footer-grid h4 { font-family: var(--font-display); color: var(--text-strong); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--orange-2); }
.footer-grid li { color: var(--muted); font-size: 0.92rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Simple centered pages (signup, thank-you, contact) ── */
.page { min-height: 100vh; padding: calc(var(--header-h) + 2.5rem) 0 4rem; background:
    radial-gradient(800px 500px at 90% 0%, rgba(245, 124, 0, 0.12), transparent 60%), var(--navy-900); }
.page-narrow { max-width: 760px; }

/* ── Back to top ───────────────────────────────────────── */
.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 14px; border: 0;
    background: var(--grad-accent); color: var(--navy-900); cursor: pointer; font-size: 1rem;
    box-shadow: 0 12px 30px -10px rgba(245, 124, 0, 0.8);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ── Reveal on scroll ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ── Careers ───────────────────────────────────────────── */
.jobs-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.job-card { display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(180deg, rgba(23,42,69,0.75), rgba(13,31,58,0.75)); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.3s; }
.job-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.job-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); font-size: 1.1rem; }
.job-card h3 { font-family: var(--font-display); color: var(--text-strong); font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 1rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; }
.job-meta i { color: var(--orange-2); margin-right: 0.2rem; }
.job-card p { color: var(--text); font-size: 0.95rem; margin-top: 0.9rem; }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.3rem; flex-wrap: wrap; }
.job-deadline { font-size: 0.82rem; font-weight: 600; color: var(--orange-2); }
.job-detail { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.025); margin-bottom: 1rem; overflow: hidden; }
.job-detail summary { list-style: none; cursor: pointer; padding: 1.3rem 1.4rem; display: flex; align-items: center; gap: 1rem; }
.job-detail summary::-webkit-details-marker { display: none; }
.job-detail summary h3 { font-family: var(--font-display); color: var(--text-strong); font-size: 1.2rem; letter-spacing: -0.015em; }
.job-detail summary .chev { margin-left: auto; color: var(--muted); transition: transform 0.2s; }
.job-detail[open] summary .chev { transform: rotate(180deg); }
.job-detail .body { padding: 0 1.4rem 1.4rem; }
.job-detail h4 { font-family: var(--font-display); color: var(--text-strong); font-size: 0.95rem; margin: 1.1rem 0 0.5rem; }
.job-detail ul { padding-left: 1.2rem; color: var(--text); font-size: 0.93rem; display: grid; gap: 0.35rem; }
.job-detail li::marker { color: var(--orange-2); }
.file-drop { position: relative; display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px dashed var(--line-strong); background: rgba(245,124,0,0.04); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.file-drop:hover, .file-drop.has-file { border-color: var(--orange); background: rgba(245,124,0,0.08); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); flex-shrink: 0; }
.file-drop strong { display: block; color: var(--text-strong); font-size: 0.92rem; word-break: break-all; }
.file-drop small { color: var(--muted); font-size: 0.78rem; }
