.faq {
    margin: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    padding: clamp(2.5rem, 4vw, 4rem);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-list details {
    border: 1px solid rgba(12, 43, 69, 0.12);
    border-radius: 22px;
    padding: 1.1rem 1.35rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 45px rgba(15, 37, 52, 0.08);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    padding-left: 2rem;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    left: 0.2rem;
    top: 0;
    font-size: 1.4rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list p {
    margin-top: 0.75rem;
    color: var(--ink-soft);
    line-height: 1.8;
}
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
    --charcoal: #0f1a2c;
    --ink: #102844;
    --navy: #162f4f;
    --accent: #d49851;
    --accent-soft: #4ea3a2;
    --ivory: #f5f4ef;
    --surface: #ffffff;
    --muted: #6e7482;
    --border: rgba(16, 31, 44, 0.12);
    --shadow: 0 25px 60px rgba(13, 25, 38, 0.12);
    --sand: #faf7f2;
    --sage: #d6dde4;
    --teal: #2d7070;
    --sunset: #f7bf6d;
    --night: #050f18;
    --glass: rgba(255, 255, 255, 0.92);
    --ink-soft: rgba(16, 40, 68, 0.8);
    --gradient-hero: linear-gradient(145deg, #0f1a2c 0%, #142f52 55%, #1d4467 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 244, 239, 0.9));
}

body {
    min-height: 100vh;
    font-family: "Noto Sans Arabic", "IBM Plex Sans Arabic", "Cairo", sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.75;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background: radial-gradient(circle at 15% 15%, rgba(212, 152, 81, 0.18), transparent 48%);
}

body::after {
    background: radial-gradient(circle at 78% 0%, rgba(78, 163, 162, 0.18), transparent 45%);
}

h1,
h2,
h3,
h4 {
    font-family: "Cairo", "Noto Sans Arabic", sans-serif;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: 0.015em;
}

p {
    color: var(--ink-soft);
}

main,
header,
footer {
    position: relative;
    z-index: 1;
}

header.hero {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem) clamp(2rem, 4vw, 3.5rem);
    margin: clamp(1rem, 3vw, 2rem) clamp(1.2rem, 5vw, 5rem) clamp(1.2rem, 3vw, 2.4rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
    background: var(--gradient-hero);
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    color: var(--surface);
    box-shadow: 0 35px 70px rgba(6, 15, 28, 0.55);
}

.site-nav {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    padding: 1.15rem clamp(1.5rem, 5vw, 4rem);
    background: rgba(247, 244, 239, 0.92);
    border-bottom: 1px solid rgba(16, 31, 44, 0.08);
    box-shadow: 0 25px 55px rgba(7, 17, 29, 0.1);
    backdrop-filter: blur(20px);
    z-index: 20;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.site-nav .brand {
    font-family: "Cairo", "IBM Plex Sans Arabic", serif;
    font-size: 1.5rem;
    letter-spacing: 0.08rem;
    color: var(--ink);
}

.nav-brand small {
    font-size: 0.85rem;
    color: var(--muted);
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.site-nav .nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.35rem 0.65rem;
    border-radius: 12px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-links a::after {
    content: "";
    position: absolute;
    right: 0.45rem;
    left: 0.45rem;
    bottom: 0.2rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--sunset), var(--accent-soft));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-links a:hover::after,
.site-nav .nav-links a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus-visible {
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-cta {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    color: #0b0e14;
    background: linear-gradient(120deg, var(--sunset), #ffd37a);
    box-shadow: 0 18px 40px rgba(247, 191, 109, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(242, 184, 81, 0.5);
}

.hero-copy h1 {
    font-family: "Cairo", "IBM Plex Sans Arabic", serif;
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-copy p {
    max-width: 540px;
    font-size: 1.05rem;
    color: rgba(248, 245, 240, 0.85);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: #8a5403;
    margin-bottom: 0.85rem;
    padding: 0.35rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(242, 184, 81, 0.45);
    background: rgba(242, 184, 81, 0.18);
    font-weight: 700;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

button,
.hero-cta a {
    border: none;
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-transform: none;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-action {
    background: linear-gradient(120deg, var(--sunset), var(--teal));
    color: var(--night);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: var(--sand);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-cta a:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    .hero-highlight-grid {
        margin-top: 2.2rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .hero-highlight-grid article {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px;
        padding: 1.1rem 1.25rem;
        min-height: 150px;
        box-shadow: 0 20px 45px rgba(3, 11, 21, 0.25);
    }

    .hero-highlight-grid h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        color: var(--sand);
    }

    .hero-highlight-grid p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
    }

    .confidence-strip {
        margin: 0 auto 3rem;
        max-width: 1100px;
        padding: 1.75rem clamp(1.5rem, 6vw, 3rem);
        border-radius: 999px;
        background: linear-gradient(120deg, rgba(15, 43, 69, 0.1), rgba(79, 181, 157, 0.15));
        border: 1px solid rgba(12, 43, 69, 0.08);
        box-shadow: 0 25px 60px rgba(10, 27, 42, 0.08);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .confidence-strip p {
        font-weight: 700;
        color: var(--ink);
        margin: 0;
    }

    .confidence-strip ul {
        display: flex;
        gap: 1.25rem;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .confidence-strip li {
        color: var(--ink-soft);
        font-weight: 600;
    }
    border-radius: 32px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: floatIn 1.1s ease forwards;
}

.hero-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-panel li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-panel span.label {
    font-size: 0.85rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: var(--sage);
}

.hero-panel span.value {
    font-size: 1.4rem;
    font-weight: 600;
}

section {
    padding: clamp(2.5rem, 4vw, 4rem) clamp(1.8rem, 4vw, 4.5rem);
    margin: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    background: var(--surface);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

section,
header.hero {
    scroll-margin-top: 130px;
}

section h2 {
    font-family: "Cairo", "IBM Plex Sans Arabic", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1.5rem;
}

.metrics-grid,
.services-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--gradient-card);
    border: 1px solid rgba(16, 31, 44, 0.06);
    border-radius: 28px;
    padding: 2rem;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0);
    pointer-events: none;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.04rem;
    color: var(--ink);
}

.card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.3rem;
    color: #8a5403;
    background: rgba(247, 191, 109, 0.18);
    border: 1px solid rgba(212, 152, 81, 0.35);
    padding: 0.45rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    font-size: 0.78rem;
    color: rgba(12, 43, 69, 0.55);
    margin-bottom: 0.7rem;
}

.tracks-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 31, 44, 0.08);
    box-shadow: 0 20px 40px rgba(12, 30, 48, 0.12);
}

.tracks-menu a {
    text-decoration: none;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    color: #5c3702;
    background: #fff4dd;
    border: 1px solid rgba(16, 31, 44, 0.08);
    transition: background 0.25s ease, color 0.25s ease, border 0.25s ease, transform 0.25s ease;
}

.tracks-menu a:hover,
.tracks-menu a:focus {
    background: var(--sunset);
    color: #2f1c03;
    border-color: rgba(242, 184, 81, 0.55);
    transform: translateY(-2px);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.timeline-step {
    position: relative;
    padding-right: 2.5rem;
}

.timeline-step::before {
    content: "";
    position: absolute;
    right: 0.9rem;
    top: 0.2rem;
    bottom: -0.2rem;
    border-right: 1px solid rgba(146, 163, 153, 0.4);
}

.timeline-step::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 0.35rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--accent);
}

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact form {
    background: var(--surface);
    border-radius: 30px;
    border: 1px solid rgba(12, 43, 69, 0.08);
    padding: 2.5rem;
    box-shadow: 0 35px 70px rgba(15, 37, 52, 0.14);
}

.contact form label {
    font-size: 1rem;
    letter-spacing: 0.04rem;
    color: var(--ink);
    font-weight: 700;
}

.contact form input,
.contact form select,
.contact form textarea {
    width: 100%;
    margin: 0.4rem 0 1.2rem;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(12, 43, 69, 0.15);
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    font-size: 1.02rem;
    text-align: right;
    direction: rtl;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
    color: rgba(12, 43, 69, 0.45);
}

.contact form input[type="email"],
.contact form input[type="tel"] {
    direction: ltr;
    text-align: left;
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
    outline: 2px solid rgba(78, 163, 162, 0.5);
    outline-offset: 3px;
    border-color: rgba(60, 140, 122, 0.6);
    box-shadow: 0 0 0 5px rgba(78, 163, 162, 0.12);
}

.contact-details {
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(12, 43, 69, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 244, 239, 1));
    box-shadow: 0 30px 70px rgba(15, 37, 52, 0.12);
}

.contact-details ul {
    list-style: none;
    margin-top: 1rem;
}

.contact-details li {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-list li {
    line-height: 1.8;
}

a {
    color: inherit;
}

.notice,
.contact form small {
    color: rgba(12, 43, 69, 0.55);
    display: block;
}

.notice {
    margin-top: 1.25rem;
    font-size: 0.98rem;
}

.contact form small {
    margin-top: 0.6rem;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-detail ul {
    list-style: none;
    margin-top: 0.9rem;
    padding-right: 1.2rem;
}

.service-detail ul li {
    position: relative;
    margin-bottom: 0.45rem;
    color: var(--ink);
    font-size: 0.95rem;
}

.service-detail ul li::before {
    content: "•";
    position: absolute;
    right: -1.2rem;
    color: var(--accent-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-card h3 {
    font-size: 1.35rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-chip {
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    background: rgba(244, 201, 165, 0.15);
    border: 1px solid rgba(244, 201, 165, 0.3);
    font-size: 0.85rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(12, 43, 69, 0.08);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover {
    background: var(--sunset);
    color: #2f1c03;
    transform: translateY(-2px);
}

.cta-ribbon {
    margin: 2.5rem clamp(1rem, 4vw, 3rem);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 34px;
    background: linear-gradient(135deg, #0f1a2c, #163455 55%, #1d4467);
    color: var(--sand);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 35px 80px rgba(6, 16, 26, 0.4);
}

.cta-ribbon h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #fff8ef;
}

.cta-ribbon-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-ribbon .secondary-action {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff8ef;
}

.join-hero {
    margin: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: 34px;
    background: radial-gradient(circle at 10% 20%, rgba(201, 139, 62, 0.2), rgba(12, 27, 44, 0.95));
    color: #fff8ef;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.join-hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.join-hero-highlights {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0;
}

.join-hero-highlights li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    padding: 1rem;
}

.join-hero-highlights strong {
    display: block;
    font-size: 1.05rem;
}

.join-hero-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.join-score-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.join-score-card h3 {
    margin: 0.6rem 0;
}

.join-score-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.join-apply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
}

.join-brief {
    background: var(--surface);
    padding: 2.25rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.join-brief p {
    color: var(--ink-soft);
}

.join-criteria {
    list-style: none;
    margin: 1rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.join-criteria li {
    position: relative;
    padding-right: 1.25rem;
    color: var(--ink);
}

.join-criteria li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--accent);
}

.join-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.join-perks div {
    background: rgba(12, 43, 69, 0.04);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}

.join-form {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(16, 31, 44, 0.08);
    box-shadow: 0 35px 70px rgba(12, 25, 39, 0.18);
}

.join-form form {
    display: flex;
    flex-direction: column;
}

.join-form input,
.join-form select,
.join-form textarea {
    width: 100%;
    margin: 0.4rem 0 1.2rem;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(12, 43, 69, 0.15);
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    font-size: 1.02rem;
}

.join-form input[type="email"],
.join-form input[type="tel"] {
    direction: ltr;
    text-align: left;
}

.join-form textarea {
    resize: vertical;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.join-form small {
    color: rgba(12, 43, 69, 0.55);
    margin-top: -0.6rem;
    margin-bottom: 1.2rem;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    outline: 2px solid rgba(78, 163, 162, 0.4);
    outline-offset: 3px;
    border-color: rgba(60, 140, 122, 0.6);
    box-shadow: 0 0 0 5px rgba(78, 163, 162, 0.12);
}

.join-submit {
    width: 100%;
}

.talent-pillars {
    text-align: center;
}

.pillars-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.pillar-card {
    padding: 1.5rem;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    text-align: right;
    box-shadow: var(--shadow);
}

.application-steps {
    background: var(--sand);
}

.application-steps ol {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.application-steps li {
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.application-steps strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.join-faq {
    background: var(--surface);
}

.join-faq details {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
}

.join-faq summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--ink);
}

.thank-you-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.thank-you-card {
    max-width: 560px;
    text-align: center;
}

.thank-you-heading {
    margin: 1rem 0 0.5rem;
}

.thank-you-actions {
    margin-top: 2rem;
}

footer {
    padding: 2rem clamp(1.5rem, 4vw, 6rem);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(246, 239, 227, 0.7);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.9s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(16, 31, 44, 0.18);
    border-radius: 10px;
    padding: 0.45rem 0.8rem;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(16, 31, 44, 0.06);
}

@media (max-width: 768px) {
    /* --- Nav: hamburger mode --- */
    .nav-toggle {
        display: block;
    }

    .site-nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 1.25rem;
    }

    .nav-brand {
        align-items: flex-end;
        flex: 1;
    }

    .site-nav .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.1rem;
        padding: 0.5rem 0 0.25rem;
        border-top: 1px solid rgba(16, 31, 44, 0.08);
        margin-top: 0.5rem;
    }

    .site-nav.nav-open .nav-links {
        display: flex;
    }

    .site-nav .nav-links a {
        width: 100%;
        text-align: right;
        padding: 0.7rem 0.85rem;
        border-radius: 12px;
        font-size: 1.05rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .nav-cta {
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .site-nav.nav-open .nav-cta {
        display: block;
    }

    /* --- Fix grids that overflow on narrow screens --- */
    header.hero {
        grid-template-columns: 1fr;
        margin: 0.5rem 0.5rem 1rem;
        padding: 2.5rem 1.25rem 2rem;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    /* --- Reduce section/card padding --- */
    section {
        margin: 0.75rem 0.5rem;
        padding: 1.75rem 1.25rem;
    }

    .faq {
        margin: 0.75rem 0.5rem;
        padding: 1.75rem 1.25rem;
    }

    .cta-ribbon {
        margin: 1rem 0.5rem;
    }

    .contact form,
    .contact-details {
        padding: 1.5rem 1.25rem;
    }

    .join-form,
    .join-brief {
        padding: 1.5rem 1.25rem;
    }

    .join-hero {
        grid-template-columns: 1fr;
        margin: 0.5rem 0.5rem 1rem;
        padding: 2rem 1.25rem;
    }

    /* --- CTA ribbon --- */
    .cta-ribbon {
        flex-direction: column;
        text-align: center;
    }

    .cta-ribbon-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }

    /* --- Hero CTA buttons stacked --- */
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    /* --- Timeline --- */
    .timeline-step::before {
        right: 0.6rem;
    }

    .timeline-step::after {
        right: 0.15rem;
    }

    /* --- Tracks menu: horizontal scroll --- */
    .tracks-menu {
        border-radius: 24px;
        overflow-x: auto;
        padding: 0.5rem;
        flex-wrap: nowrap;
    }

    .tracks-menu a {
        flex: none;
        white-space: nowrap;
    }

    /* --- Confidence strip --- */
    .confidence-strip {
        flex-direction: column;
        border-radius: 28px;
        text-align: center;
    }

    /* --- Single-column grids on join page --- */
    .join-hero-panel,
    .join-apply-grid,
    .pillars-grid,
    .application-steps ol,
    .join-perks {
        grid-template-columns: 1fr;
    }
}
