/* ==========================================================
   RCOTBA Group — Home (Black · Gold · Ivory)
   Palette is taken from the RG logo.
   ========================================================== */
:root {
    --bg: #0b0b0c;
    --surface: #141416;
    --surface-2: #1a1a1d;
    --gold: #c9a24b;
    --gold-light: #e6c77a;
    --gold-deep: #9c7a2e;
    --ivory: #f4f0e6;
    --muted: #a8a39a;
    --line: rgba(201, 162, 75, 0.22);
    --line-soft: rgba(244, 240, 230, 0.08);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --max: 1180px;
    --ease: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ivory);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease), border-color var(--ease), background var(--ease); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Gold gradient helper ---------- */
.gold-text {
    background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11, 11, 12, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.88rem; letter-spacing: 0.06em; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); border-bottom-color: var(--gold); }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: ' ▾'; font-size: 0.7em; color: var(--gold); }
.submenu {
    position: absolute; top: 100%; left: -16px; min-width: 210px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
    padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 20px; border: 0; }
.submenu a:hover { background: var(--surface-2); color: var(--gold-light); }

.nav-cta { border: 1px solid var(--gold) !important; color: var(--gold-light) !important; padding: 9px 22px !important; border-radius: 2px; }
.nav-cta:hover { background: var(--gold); color: #111 !important; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ivory); width: 44px; height: 44px; border-radius: 3px; font-size: 1.1rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: 14px 34px; font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; border: 1px solid var(--gold);
}
.btn-primary { background: linear-gradient(120deg, var(--gold-light), var(--gold)); color: #14110a; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--gold-light); }
.btn-ghost:hover { background: rgba(201, 162, 75, 0.1); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px;
    background:
        radial-gradient(ellipse 60% 55% at 78% 50%, rgba(201, 162, 75, 0.13), transparent 70%),
        linear-gradient(180deg, #0b0b0c, #0e0e10);
    border-bottom: 1px solid var(--line-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 26px; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(420px, 100%); filter: drop-shadow(0 20px 50px rgba(201, 162, 75, 0.22)); }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
h2.title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.about-grid p { color: var(--muted); margin-bottom: 20px; }
.about-grid p strong { color: var(--ivory); font-weight: 500; }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 20px; align-items: baseline; }
.pillar .num { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; min-width: 34px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: 0.95rem; }

/* ---------- Companies ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: 4px;
    padding: 40px 34px 34px; display: flex; flex-direction: column; position: relative;
    transition: transform var(--ease), border-color var(--ease);
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transition: width 0.4s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card:hover::before { width: 100%; }
.card .icon { color: var(--gold); font-size: 1.6rem; margin-bottom: 26px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 24px; }
.card ul { margin-bottom: 30px; border-top: 1px solid var(--line-soft); }
.card li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--muted); }
.card .more { margin-top: auto; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.card .more span { display: inline-block; transition: transform var(--ease); }
.card:hover .more span { transform: translateX(5px); }

/* ---------- AI feature band ---------- */
.feature { background: linear-gradient(135deg, #121214, #0e0e10); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.feature-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; border: 1px solid var(--line); padding: 54px 56px; border-radius: 4px; background: radial-gradient(ellipse at 100% 0%, rgba(201, 162, 75, 0.1), transparent 60%); }
.feature-inner .section-head { margin: 0; }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 40px; justify-content: center; }
.leader { text-align: center; }
.leader .photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; border: 1px solid var(--line); margin-bottom: 22px; }
.leader img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(0.15); transition: transform 0.6s ease; }
.leader:hover img { transform: scale(1.03); }
.leader h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.leader .role { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 6px 0 4px; }
.leader .org { color: var(--muted); font-size: 0.9rem; }
.leaders-link { text-align: center; margin-top: 50px; }

/* ---------- CTA ---------- */
.cta { background: var(--surface); border-top: 1px solid var(--line-soft); text-align: center; }
.cta .section-head { margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #070708; border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; padding-bottom: 60px; }
.footer-brand img { height: 64px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 320px; }
.site-footer h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: 0.93rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact p { margin-bottom: 8px; }
.social { display: flex; gap: 12px; margin-top: 24px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 1rem; }
.social a:hover { color: #111; background: var(--gold); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 26px 0; text-align: center; color: #7d7970; font-size: 0.82rem; letter-spacing: 0.04em; }

/* ---------- Reveal (gentle) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero .eyebrow { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-mark { order: -1; }
    .hero-mark img { width: 220px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .feature-inner { padding: 38px 28px; }
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #0b0b0c; border-bottom: 1px solid var(--line); padding: 10px 24px 24px; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
    .has-sub > a::after { content: none; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0 16px; }
    .submenu a { padding: 12px 0; }
    .nav-cta { text-align: center; margin-top: 16px; }
    .brand-text small { display: block; font-size: 0.52rem; letter-spacing: 0.2em; margin-top: 2px; white-space: nowrap; }
}

@media (max-width: 560px) {
    section { padding: 76px 0; }
    .leaders { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Inner-page components (shared across the site)
   ========================================================== */
.nav-links a.parent-active { color: var(--ivory); border-bottom-color: var(--gold); }

/* Page hero */
.page-hero {
    padding: 170px 0 90px; text-align: center;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 162, 75, 0.12), transparent 70%), linear-gradient(180deg, #0b0b0c, #0e0e10);
    border-bottom: 1px solid var(--line-soft);
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.15; margin-bottom: 20px; }
.page-hero p.lead { color: var(--muted); max-width: 640px; margin: 0 auto 34px; font-size: 1.08rem; }
.page-hero .hero-actions { justify-content: center; }

/* Generic tiles */
.tiles { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tiles.compact { gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 4px; padding: 30px 26px; transition: border-color var(--ease), transform var(--ease); display: block; }
.tile:hover { border-color: var(--line); transform: translateY(-3px); }
.tile .icon { color: var(--gold); font-size: 1.4rem; margin-bottom: 18px; }
.tile h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 0.93rem; }
.tile .more { display: inline-block; margin-top: 16px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.tile.highlight { border-color: var(--line); background: linear-gradient(145deg, #181816, #121214); }

/* Check list */
.check-list { display: grid; gap: 12px; }
.check-list li { color: var(--muted); padding-left: 28px; position: relative; font-size: 0.97rem; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; font-size: 0.8rem; top: 3px; }
.check-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: 0 auto 36px; max-width: 760px; }
.check-row li { color: var(--muted); padding-left: 24px; position: relative; font-size: 0.95rem; }
.check-row li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; font-size: 0.78rem; top: 3px; }
.alt { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { width: 100%; border-radius: 4px; border: 1px solid var(--line); aspect-ratio: 4 / 3; object-fit: cover; }

/* Programs */
.program { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 4px; padding: 36px 30px; }
.program .icon { color: var(--gold); font-size: 1.5rem; margin-bottom: 16px; }
.program h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 20px; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 14px; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* Quote cards */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 4px; padding: 32px 28px; display: flex; flex-direction: column; }
.quote .mark { color: var(--gold); font-family: var(--serif); font-size: 3rem; line-height: 0.6; margin-bottom: 14px; }
.quote p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; flex: 1; }
.person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.person h4 { font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.2; }
.person span { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { text-align: center; }
.member .photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; border: 1px solid var(--line-soft); margin-bottom: 18px; background: var(--surface); transition: border-color var(--ease); }
.member:hover .photo { border-color: var(--line); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.member .role { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 6px 0 2px; }
.member .eid { color: #7d7970; font-size: 0.78rem; }
.member .links { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.member .links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 0.9rem; }
.member .links a:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.team-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px; justify-content: center; margin-bottom: 70px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-soft); align-items: center; }
.info-row i { color: var(--gold); width: 22px; text-align: center; }
.info-row a { color: var(--ivory); }
.info-row a:hover { color: var(--gold-light); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 40px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: #0e0e10; color: var(--ivory); border: 1px solid var(--line-soft); border-radius: 3px;
    padding: 13px 14px; font: inherit; font-size: 0.97rem; transition: border-color var(--ease);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid { border-color: #b5524a; }
.form-group ::placeholder { color: #6c685f; }
.submit-btn { width: 100%; cursor: pointer; font-family: var(--sans); }
.submit-btn.loading { opacity: 0.6; pointer-events: none; }
.popup-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: none; place-items: center; z-index: 500; padding: 20px; }
.popup-modal.visible { display: grid; }
.popup-content { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 40px 36px; max-width: 420px; text-align: center; }
.popup-icon { font-size: 2.4rem; margin-bottom: 14px; }
.popup-icon.success { color: var(--gold); }
.popup-icon.error { color: #c0645b; }
.popup-content h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.popup-content p { color: var(--muted); margin-bottom: 24px; }
.popup-close-btn { background: none; border: 1px solid var(--gold); color: var(--gold-light); padding: 10px 26px; border-radius: 2px; cursor: pointer; font-family: var(--sans); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }
.popup-close-btn:hover { background: var(--gold); color: #111; }

/* News */
.news-controls { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.news-controls input, .news-controls select { background: var(--surface); color: var(--ivory); border: 1px solid var(--line-soft); border-radius: 3px; padding: 13px 14px; font: inherit; }
.news-controls input { flex: 1; min-width: 220px; }
.news-controls input:focus, .news-controls select:focus { outline: none; border-color: var(--gold); }
.live-button { margin-bottom: 40px; cursor: pointer; font-family: var(--sans); }
.category-section { margin: 54px 0; }
.category-title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; transition: border-color var(--ease); }
.news-card:hover { border-color: var(--line); }
.news-image { width: 100%; height: 180px; object-fit: cover; border-radius: 3px; margin-bottom: 14px; }
.news-title { font-family: var(--serif); font-size: 1.08rem; margin-bottom: 8px; line-height: 1.35; }
.news-title a:hover { color: var(--gold-light); }
.news-content { color: var(--muted); font-size: 0.9rem; flex: 1; }
.source-tag { margin-top: 12px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
#datetime { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

@media (max-width: 960px) {
    .tiles, .tiles.four { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
    .quotes, .news-container { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .videos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tiles, .tiles.four, .quotes, .news-container { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .team-lead { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .form-card { padding: 26px 20px; }
    .page-hero { padding: 130px 0 64px; }
}

/* ==========================================================
   LIQUID GLASS LAYER — premium translucent surfaces,
   iPhone-style floating header + tab bar, safe-area aware.
   ========================================================== */
:root {
    --glass: rgba(255, 255, 255, 0.045);
    --glass-2: rgba(255, 255, 255, 0.085);
    --glass-border: rgba(255, 255, 255, 0.11);
    --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    --blur: blur(22px) saturate(170%);
    --r: 22px;
    --r-sm: 14px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
}

html { -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
body { overflow-x: hidden; }

/* Ambient light behind the glass */
body::before {
    content: ''; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
    background:
        radial-gradient(38vmax 38vmax at 12% 8%, rgba(201, 162, 75, 0.16), transparent 70%),
        radial-gradient(42vmax 42vmax at 92% 38%, rgba(156, 122, 46, 0.13), transparent 70%),
        radial-gradient(40vmax 40vmax at 30% 98%, rgba(230, 199, 122, 0.09), transparent 70%);
}

/* Let the ambient light through section backgrounds */
.hero, .page-hero { background: radial-gradient(ellipse 60% 55% at 78% 45%, rgba(201, 162, 75, 0.10), transparent 70%); border-bottom-color: rgba(255, 255, 255, 0.06); }
.page-hero { background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 162, 75, 0.11), transparent 70%); }
.about, .alt, .cta, .feature { background: rgba(255, 255, 255, 0.018); border-color: rgba(255, 255, 255, 0.06); }
.site-footer { background: rgba(7, 7, 8, 0.72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-top-color: rgba(255, 255, 255, 0.10); }

/* Glass surfaces */
.card, .tile, .program, .quote, .form-card, .news-card, .feature-inner, .popup-content, .submenu {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    box-shadow: var(--glass-hi), var(--glass-shadow);
}
.card:hover, .tile:hover, .news-card:hover { border-color: rgba(230, 199, 122, 0.38); }
.tile.highlight { background: linear-gradient(160deg, rgba(230, 199, 122, 0.16), rgba(201, 162, 75, 0.05)); border-color: rgba(230, 199, 122, 0.3); }
.card::before { display: none; }
.feature-inner { background: linear-gradient(160deg, rgba(230, 199, 122, 0.12), rgba(255, 255, 255, 0.03)); }
.tile .icon, .card .icon, .program .icon {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; font-size: 1.15rem;
    background: rgba(201, 162, 75, 0.14); border: 1px solid rgba(230, 199, 122, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.pillars { border-top: 0; gap: 12px; }
.pillar { padding: 20px 22px; border: 1px solid var(--glass-border); border-radius: var(--r-sm); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi); }
.info-row { border: 1px solid var(--glass-border); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 12px; background: var(--glass); box-shadow: var(--glass-hi); }

/* Media frames */
.leader .photo, .member .photo, .video-frame, .split img { border-radius: var(--r); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), var(--glass-shadow); }
.member .photo, .leader .photo { padding: 0; }

/* Header */
.site-header {
    background: rgba(18, 18, 20, 0.55);
    -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.25);
}
.nav-cta { border-radius: 999px !important; background: rgba(201, 162, 75, 0.12); border-color: rgba(230, 199, 122, 0.5) !important; box-shadow: var(--glass-hi); }
.menu-toggle { border-radius: 14px; background: var(--glass-2); border-color: var(--glass-border); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi); }

/* Buttons */
.btn { border-radius: 999px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background: linear-gradient(180deg, #ecd28c 0%, #c9a24b 55%, #b38b36 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 10px 26px rgba(201, 162, 75, 0.28); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: rgba(230, 199, 122, 0.45); box-shadow: var(--glass-hi); }
.social a { background: var(--glass-2); border-color: var(--glass-border); box-shadow: var(--glass-hi); }

/* Forms */
.form-group input, .form-group select, .form-group textarea { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: var(--r-sm); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); font-size: 16px; }
.news-controls input, .news-controls select { background: var(--glass-2); border: 1px solid var(--glass-border); border-radius: 999px; padding: 13px 20px; font-size: 16px; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.popup-modal { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(0, 0, 0, 0.55); }
.popup-close-btn { border-radius: 999px; }
.person img { border-color: rgba(230, 199, 122, 0.35); }

/* Mobile tab bar (hidden on large screens) */
.tabbar { display: none; }

/* ---------------- Tablet ---------------- */
@media (max-width: 1100px) {
    .nav-links { gap: 22px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .container { padding: 0 32px; }
    section { padding: 92px 0; }
    .hero h1 { font-size: clamp(2.8rem, 6.4vw, 4rem); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------- Phone & small tablet: iOS look ---------------- */
@media (max-width: 820px) {
    :root { --r: 22px; }
    body { padding-bottom: calc(96px + var(--safe-b)); }

    .site-header {
        top: calc(10px + var(--safe-t)); left: 12px; right: 12px; width: auto;
        border: 1px solid var(--glass-border); border-radius: 26px;
        background: rgba(24, 24, 27, 0.58);
        box-shadow: var(--glass-hi), 0 14px 40px rgba(0, 0, 0, 0.4);
    }
    .nav { height: 62px; padding: 0 12px 0 16px; }
    .brand img { height: 36px; }
    .brand-text { font-size: 1.02rem; }
    .menu-toggle { width: 42px; height: 42px; border-radius: 999px; }

    .nav-links {
        top: calc(100% + 8px); left: 0; right: 0; padding: 10px; gap: 4px;
        background: rgba(26, 26, 29, 0.78);
        -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
        border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--glass-hi), 0 24px 60px rgba(0, 0, 0, 0.5);
    }
    .nav-links a { padding: 0 16px; min-height: 48px; display: flex; align-items: center; border: 0 !important; border-radius: 14px; font-size: 1rem; color: var(--ivory); }
    .nav-links a:active, .nav-links a.active { background: rgba(255, 255, 255, 0.09); }
    .submenu { padding: 0 0 0 10px; background: none; box-shadow: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .submenu a { color: var(--muted); min-height: 44px; }
    .nav-cta { justify-content: center; margin-top: 6px; background: linear-gradient(180deg, #ecd28c, #c9a24b) !important; color: #14110a !important; font-weight: 500; }

    .hero { padding: calc(120px + var(--safe-t)) 0 70px; min-height: 100svh; }
    .page-hero { padding: calc(128px + var(--safe-t)) 0 60px; }
    .hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
    .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
    .hero p.lead, .page-hero p.lead { font-size: 1.02rem; }
    section { padding: 72px 0; }
    .container { padding: 0 20px; }
    .section-head { margin-bottom: 38px; }

    .card, .tile, .program, .quote, .pillar { border-radius: 22px; }
    .card { padding: 30px 24px 26px; }
    .feature-inner { padding: 32px 24px; border-radius: 26px; }
    .form-card { padding: 26px 18px; border-radius: 26px; }

    /* floating iOS tab bar */
    .tabbar {
        display: flex; position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
        max-width: 480px; margin: 0 auto; padding: 6px; gap: 2px;
        background: rgba(26, 26, 29, 0.6);
        -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
        border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 30px;
        box-shadow: var(--glass-hi), 0 16px 44px rgba(0, 0, 0, 0.5);
    }
    .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 24px; color: rgba(244, 240, 230, 0.62); font-size: 0.62rem; letter-spacing: 0.04em; transition: background var(--ease), color var(--ease); }
    .tabbar a i { font-size: 1.1rem; }
    .tabbar a.on { color: var(--gold-light); background: rgba(230, 199, 122, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15); }
    .tabbar a:active { transform: scale(0.96); }

    .footer-bottom { padding-bottom: 20px; }
    .site-footer { padding-top: 60px; }
}

@media (max-width: 560px) {
    .btn { width: 100%; }
    .hero-actions { width: 100%; }
    .tiles.four.compact { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tiles.four.compact .tile { padding: 20px 16px; }
    .tiles.four.compact .tile h3 { font-size: 1.02rem; }
    .tiles.four.compact .tile p { font-size: 0.82rem; }
    .tiles.four.compact .tile .icon { width: 40px; height: 40px; margin-bottom: 12px; }
    .check-row { gap: 10px 22px; }
}

/* Touch devices: no sticky hover lifts */
@media (hover: none) {
    .card:hover, .tile:hover, .card:hover::before { transform: none; }
    .leader:hover img { transform: none; }
}

/* Fallbacks */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .card, .tile, .program, .quote, .form-card, .news-card, .feature-inner, .popup-content, .submenu, .site-header, .tabbar, .nav-links, .pillar { background: #151517; }
}
@media (prefers-reduced-transparency: reduce) {
    .card, .tile, .program, .quote, .form-card, .news-card, .feature-inner, .popup-content, .submenu, .site-header, .tabbar, .nav-links, .pillar { background: #151517; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Phone hero refinements */
@media (max-width: 820px) {
    .hero { min-height: auto; padding: calc(112px + var(--safe-t)) 0 56px; }
    .hero-mark img { width: 140px; }
    .hero .eyebrow::before, .page-hero .eyebrow::before { display: none; }
    .eyebrow { font-size: 0.66rem; letter-spacing: 0.22em; justify-content: center; text-align: center; }
    .hero-grid { gap: 28px; }
    .hero h1 { margin-bottom: 18px; }
    .hero p.lead { margin-bottom: 28px; }
}

/* Readable menu sheet */
@media (max-width: 820px) {
    .nav-links { background: rgba(20, 20, 23, 0.93); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); }
}

/* Careers */
.openings { max-width: 640px; margin: 0 auto; text-align: center; padding: 56px 40px; border-radius: 28px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(230, 199, 122, 0.10), rgba(255, 255, 255, 0.03)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), var(--glass-shadow); }
.openings-icon { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 20px; font-size: 1.5rem; color: var(--gold-light); background: rgba(201, 162, 75, 0.14); border: 1px solid rgba(230, 199, 122, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.openings h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin-bottom: 12px; }
.openings p { color: var(--muted); margin-bottom: 30px; }
@media (max-width: 560px) { .openings { padding: 38px 22px; border-radius: 26px; } }

/* Certificate verification */
.verify-card { max-width: 520px; margin: 0 auto; padding: 44px 36px; text-align: center; border-radius: 28px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(230, 199, 122, 0.10), rgba(255, 255, 255, 0.03)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), var(--glass-shadow); }
.verify-card .openings-icon { margin-bottom: 20px; }
.verify-card h2 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 8px; }
.verify-card > p { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }
.verify-card .form-group { text-align: left; }
.verify-card input { text-align: center; letter-spacing: 0.14em; text-transform: uppercase; font-size: 1.05rem; }
.verify-error { margin-top: 10px; color: #d98b83; font-size: 0.85rem; }
@media (max-width: 560px) { .verify-card { padding: 34px 20px; border-radius: 26px; } }

/* Video shoot schedule pages */
.sched-main { padding: calc(120px + var(--safe-t)) 0 70px; min-height: 100vh; }
.sched-card { max-width: 760px; margin: 0 auto; padding: 40px 36px; border-radius: 28px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), var(--glass-shadow); }
.sched-head { text-align: center; margin-bottom: 30px; }
.sched-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1.2; margin-bottom: 14px; }
.sched-clock { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.04em; box-shadow: var(--glass-hi); }
.sched-table-wrap { border: 1px solid var(--glass-border); border-radius: 18px; overflow: hidden; }
.sched-table { width: 100%; border-collapse: collapse; }
.sched-table th { text-align: left; padding: 14px 20px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--gold); background: rgba(255,255,255,0.05); }
.sched-table td { padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 1rem; -webkit-user-select: none; user-select: none; }
.sched-table td.nil { color: #6c685f; letter-spacing: 0.1em; }
.sched-table tr:not(:first-child) td:first-child { font-variant-numeric: tabular-nums; }
.sched-note { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(217,139,131,0.35); background: rgba(192,100,91,0.10); color: #ecd6d2; font-size: 0.92rem; line-height: 1.6; }
.sched-note i { color: #d98b83; margin-top: 3px; }
@media (max-width: 560px) {
    .sched-card { padding: 28px 16px; border-radius: 24px; }
    .sched-table th, .sched-table td { padding: 13px 12px; font-size: 0.93rem; }
}
.sched-head .eyebrow { justify-content: center; text-align: center; }
.sched-head .eyebrow::before { display: none; }

/* Keep image proportions when width is changed in CSS (fixes stretched hero logo) */
img { height: auto; }
.hero-mark img { height: auto; aspect-ratio: 2041 / 1960; }

/* Very small phones: keep the full "Group of Industries" line, just tighter */
@media (max-width: 380px) {
    .brand { gap: 9px; }
    .brand-text { font-size: 0.95rem; }
    .brand-text small { font-size: 0.47rem; letter-spacing: 0.16em; }
}

/* Mobile: keep the hamburger on the far right of the header */
@media (max-width: 820px) {
    .site-header .nav { justify-content: flex-start; }
    .menu-toggle { margin-left: auto; flex: none; }
    .site-header .nav > nav { width: 0; flex: none; }
}
@media (max-width: 820px) {
    .site-header .nav { padding: 0 10px 0 16px; }
}

/* ==========================================================
   Careers: job cards + application form
   ========================================================== */
.jobs { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.job-card { padding: 30px 30px 26px; border-radius: 24px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-hi), var(--glass-shadow); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.job-company { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.job-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.25; }
.job-sample { flex: none; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); border: 1px dashed rgba(230,199,122,0.5); border-radius: 999px; padding: 5px 12px; }
.job-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; color: var(--ivory); background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border); }
.job-chip i { color: var(--gold); font-size: 0.78rem; }
.job-summary { color: var(--muted); margin-bottom: 16px; }
.job-reqs { margin-bottom: 24px; }
.job-apply { min-width: 180px; cursor: pointer; font-family: var(--sans); }

body.modal-open { overflow: hidden; }
.apply-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.apply-modal[hidden] { display: none; }
.apply-sheet { position: relative; width: 100%; max-width: 760px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 40px 36px 34px; border-radius: 28px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(40,40,44,0.92), rgba(20,20,23,0.94)); box-shadow: var(--glass-hi), 0 30px 80px rgba(0,0,0,0.6); }
.apply-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass-2); color: var(--ivory); cursor: pointer; font-size: 1rem; }
.apply-close:hover { background: var(--gold); color: #111; }
.apply-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.25; margin-bottom: 24px; padding-right: 44px; }
.apply-title span { color: var(--gold-light); }
.apply-block { margin-bottom: 24px; padding: 22px 20px 6px; border: 1px solid var(--glass-border); border-radius: 20px; background: rgba(255,255,255,0.035); }
.apply-block-title { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.apply-block-title span { text-transform: none; letter-spacing: 0.02em; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-group input.locked { background: rgba(201,162,75,0.07); color: var(--gold-light); border-color: rgba(230,199,122,0.25); cursor: default; }
.apply-modal .form-group select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.apply-modal select option { background: #1a1a1d; color: var(--ivory); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-drop { display: flex !important; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed rgba(230,199,122,0.45); border-radius: var(--r-sm); background: rgba(255,255,255,0.04); color: var(--muted) !important; cursor: pointer; letter-spacing: 0 !important; text-transform: none !important; font-size: 0.92rem !important; margin-bottom: 6px !important; transition: border-color var(--ease), background var(--ease); }
.file-drop:hover { border-color: var(--gold-light); background: rgba(255,255,255,0.07); }
.file-drop i { color: var(--gold); font-size: 1.1rem; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint { font-size: 0.76rem; color: #7d7970; }
.photo-preview { margin-top: 12px; width: 84px; height: 104px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.field-error { margin-top: 7px; color: #d98b83; font-size: 0.8rem; }
.apply-error { margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(192,100,91,0.12); border: 1px solid rgba(192,100,91,0.4); color: #ecd6d2; font-size: 0.9rem; }
.consent .check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.apply-success { text-align: center; padding: 30px 10px 10px; }
.apply-success h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin: 6px 0 10px; }
.apply-success p { color: var(--muted); margin-bottom: 26px; }
.apply-success .openings-icon { margin-bottom: 18px; }

@media (max-width: 640px) {
    .job-card { padding: 24px 20px; border-radius: 22px; }
    .apply-modal { padding: 0; align-items: flex-end; }
    .apply-sheet { max-width: none; max-height: 94dvh; border-radius: 28px 28px 0 0; padding: 30px 18px calc(28px + var(--safe-b)); }
    .form-grid { grid-template-columns: 1fr; }
    .apply-block { padding: 18px 14px 4px; }
}
.form-group.span-2 { grid-column: 1 / -1; }
