/* ─── Purbanchal Sanchar Pvt. Ltd. — shared stylesheet ─── */

:root {
    --bg:            #0b0906;
    --surface:       rgba(255, 255, 255, 0.022);
    --surface-hover: rgba(255, 255, 255, 0.045);
    --line:          rgba(255, 255, 255, 0.06);
    --line-strong:   rgba(255, 255, 255, 0.12);

    --text:      #f0ece4;
    --text-soft: #b8ae9c;
    --text-mute: #8b8171;
    --text-dim:  #6b6357;

    --accent:      #f59e0b;
    --accent-2:    #fbbf24;
    --accent-deep: #d97706;
    --accent-soft: #fcd34d;

    --radius-lg: 24px;
    --radius:    16px;
    --radius-sm: 10px;

    --shell: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* Ambient sunrise wash behind everything. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(245, 158, 11, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 86% 10%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 92%, rgba(217, 119, 6, 0.05) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

a { color: inherit; }

/* ─── Header ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(11, 9, 6, 0.74);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--accent-2), var(--accent-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1206;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.32);
    flex-shrink: 0;
}

.brand-icon svg { width: 19px; height: 19px; }

.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    line-height: 1.15;
}

.brand-text span { color: var(--accent-soft); }

.brand-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-mute);
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

nav a:hover { color: #fff; background: var(--surface-hover); }

nav .nav-active { color: #fff; background: var(--surface-hover); }

nav .nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #1a1206;
    padding: 9px 20px;
    font-weight: 700;
    margin-left: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

nav .nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #1a1206;
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(245, 158, 11, 0.35);
}

/* ─── Layout ─── */
main { flex: 1; }

section {
    padding: 96px 24px;
    max-width: var(--shell);
    margin: 0 auto;
}

.divider {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.divider hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-mute);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 130px 24px 90px;
    position: relative;
    overflow: hidden;
    max-width: none;
}

.hero-glow-1,
.hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-glow-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.13), transparent 65%);
    top: -12%;
    right: -14%;
    animation: heroFloat 11s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent 65%);
    bottom: 2%;
    left: -14%;
    animation: heroFloat 13s ease-in-out infinite alternate-reverse;
}

@keyframes heroFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -34px) scale(1.08); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 17px 6px 11px;
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: 30px;
    animation: fadeUp 0.7s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
    font-size: clamp(38px, 7vw, 70px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    max-width: 16ch;
    color: #fff;
    animation: fadeUp 0.7s ease 0.08s both;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--accent-2), var(--accent-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(16px, 1.7vw, 19px);
    color: var(--text-soft);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.7s ease 0.16s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.7s ease 0.24s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* ─── Stats strip ─── */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 0;
    margin-top: 64px;
    width: 100%;
    max-width: 760px;
    animation: fadeUp 0.7s ease 0.32s both;
}

.stat {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4.6vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.stat .num span { color: var(--accent); }

.stat .cap {
    font-size: 13.5px;
    color: var(--text-mute);
}

/* ─── Buttons ─── */
.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #1a1206;
    font-weight: 700;
    box-shadow: 0 4px 28px rgba(245, 158, 11, 0.26);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.38);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* ─── Card grids ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    text-decoration: none;
    display: block;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.28);
    background: var(--surface-hover);
}

.card .card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-soft);
}

.card .card-icon svg { width: 22px; height: 22px; }

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.75;
}

.card .more {
    display: inline-block;
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent-soft);
}

/* ─── Numbered steps ─── */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
}

.step .step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-soft);
    display: block;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ─── Split feature block ─── */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: center;
}

.split .split-copy h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.split .split-copy p {
    color: var(--text-mute);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.check-list { list-style: none; }

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
    padding: 9px 0;
}

.check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.38);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd34d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ─── Service detail blocks ─── */
.service-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    margin-bottom: 20px;
}

.service-block .service-copy h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.service-block .service-copy p {
    color: var(--text-mute);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.service-block .service-copy p:last-child { margin-bottom: 0; }

.service-block .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-soft);
}

.service-block .service-icon svg { width: 22px; height: 22px; }

.service-block .feature-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 10px;
}

/* ─── Contact cards ─── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

a.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.28);
    background: var(--surface-hover);
}

.contact-card .card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--accent-soft);
}

.contact-card .card-icon svg { width: 22px; height: 22px; }

.contact-card h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.7;
    word-break: break-word;
}

/* ─── CTA box ─── */
.cta-section { padding-top: 40px; }

.cta-box {
    background: linear-gradient(150deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 30px;
    padding: 66px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.16), transparent 62%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
}

.cta-box p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-box .cta-actions {
    position: relative;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ─── Simple page shell ─── */
.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.page-narrow { max-width: 620px; }

.page-head {
    text-align: center;
    margin-bottom: 48px;
}

.page-head .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 14px;
}

.page-head h1 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.page-head p {
    color: var(--text-mute);
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 46px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.08), transparent 60%);
    pointer-events: none;
}

.panel > * { position: relative; }

.panel h1 {
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.panel p {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.panel p:last-child { margin-bottom: 0; }

.panel .lede {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.panel .eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 12px;
}

/* Leadership */
.leader {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.leader .avatar {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 20px;
    background: linear-gradient(140deg, var(--accent-2), var(--accent-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #1a1206;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.28);
}

.leader h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.leader .role {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #1a1206;
    box-shadow: 0 4px 28px rgba(245, 158, 11, 0.26);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    word-break: break-word;
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.38);
}

.note {
    margin-top: 26px;
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ─── Legal / long-form copy ─── */
.legal h1 {
    font-size: clamp(28px, 4.4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.legal .updated {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin: 40px 0 12px;
}

.legal p,
.legal li {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.85;
}

.legal p { margin-bottom: 14px; }

.legal ul {
    margin: 0 0 14px 20px;
    padding-left: 4px;
}

.legal li { margin-bottom: 7px; }

.legal a {
    color: var(--accent-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(252, 211, 77, 0.3);
}

.legal a:hover { border-bottom-color: var(--accent-soft); }

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--line);
    padding: 48px 24px 40px;
}

.footer-inner {
    max-width: var(--shell);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    text-align: left;
    margin-bottom: 36px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a,
.footer-col span {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent-soft); }

.footer-brand .brand { margin-bottom: 16px; }

.footer-brand p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.75;
    max-width: 320px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.8;
}

.footer-bottom a {
    color: var(--text-mute);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.footer-bottom a:hover { color: var(--accent-soft); }

/* ─── Responsive ─── */
@media (max-width: 860px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    header { padding: 12px 18px; }
    .brand-text { font-size: 16px; }
    .brand-text small { font-size: 9.5px; letter-spacing: 1.1px; }
    .brand-icon { width: 30px; height: 30px; }
    nav { gap: 0; }
    nav a { font-size: 13px; padding: 7px 10px; }
    nav .nav-cta { padding: 8px 15px; margin-left: 2px; }
    section { padding: 72px 20px; }
    .hero { padding: 120px 20px 70px; }
    .page { padding: 116px 20px 64px; }
    .panel { padding: 34px 24px; }
    .service-block { padding: 30px 24px; gap: 26px; }
    .cta-box { padding: 46px 24px; border-radius: 24px; }
    .split { gap: 32px; }
    .stat { flex: 1 1 100%; padding: 14px 0; }
    .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
}

/* Below this the brand plus four nav items no longer fit on one row, and the
   header would push the whole document wider than the viewport. The secondary
   links collapse; the brand still links home and the footer keeps every link. */
@media (max-width: 640px) {
    nav .nav-sec { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 380px) {
    .brand-text { font-size: 15px; }
    nav a { padding: 6px 9px; font-size: 12px; }
}

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