/* =========================================================================
   PlagjiaturaAkademike — Landing Ultra (Turnitin / iThenticate 2026 class)
   Paletë: gold #c9a961 · burgundy #6b1f2f · ivory #f8f4e9
   Typography: Lora (serif) për tituj · Inter (system-ui) për body
   Accessibility: AA · prefers-reduced-motion · dark mode toggle
   ========================================================================= */

:root {
    --gold:          #c9a961;
    --gold-soft:     #e5d2a0;
    --gold-dark:     #a8873f;
    --burgundy:      #6b1f2f;
    --burgundy-dark: #4a1521;
    --ivory:         #f8f4e9;
    --ivory-2:       #fdfaf2;
    --ink:           #1c1410;
    --ink-2:         #3a2d22;
    --muted:         #6b6258;
    --line:          #e3d7bf;
    --paper:         #ffffff;

    --success:       #2f7a4f;
    --danger:        #a3263a;

    --font-serif:    'Lora', 'Playfair Display', Georgia, Cambria, ui-serif, serif;
    --font-sans:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm:     8px;
    --radius:        14px;
    --radius-lg:     22px;

    --shadow-sm:     0 2px 6px rgba(28,20,16,.05);
    --shadow:        0 10px 30px rgba(107,31,47,.08);
    --shadow-lg:     0 25px 60px rgba(107,31,47,.15);

    --container:     1200px;
}

[data-theme="dark"] {
    --ivory:         #15110d;
    --ivory-2:       #1d1813;
    --paper:         #241d16;
    --ink:           #f4ecd9;
    --ink-2:         #d9cfb8;
    --muted:         #a79b84;
    --line:          #3d3125;
    --gold:          #d8b86d;
    --gold-soft:     #705a28;
}

/* -------------------------------------------------------------------------- */
/* Reset & base                                                               */
/* -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-dark); }

::selection { background: var(--gold); color: var(--ink); }

*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

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

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 8px;
    background: var(--burgundy); color: #fff; padding: 8px 14px;
    border-radius: 6px; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 8px; color: #fff; }

/* -------------------------------------------------------------------------- */
/* Scroll progress bar                                                        */
/* -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
    z-index: 200;
    transition: width .1s linear;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */
.nav-ultra {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ivory) 88%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 18px 0;
}
.brand-ultra { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand-shield {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--burgundy), #8a2738);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.brand-shield svg { width: 26px; height: 26px; color: var(--gold); }
.brand-text .brand-name {
    font-family: var(--font-serif); font-weight: 700; font-size: 18px;
    letter-spacing: -.01em; line-height: 1.1;
}
.brand-text .brand-tag {
    font-size: 11px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
}

.nav-links {
    display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.nav-links a {
    color: var(--ink-2); padding: 9px 14px; border-radius: 8px;
    font-weight: 500; font-size: 14.5px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--ink); }

/* Theme toggle */
.theme-toggle {
    width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--paper);
    color: var(--ink); cursor: pointer;
    display: grid; place-items: center;
    transition: all .2s;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--burgundy); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 22px; border-radius: 10px;
    font-weight: 600; font-size: 14.5px; font-family: var(--font-sans);
    border: 2px solid transparent; cursor: pointer;
    text-decoration: none; transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), #8a2738);
    color: #fff;
    box-shadow: 0 8px 20px rgba(107,31,47,.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(107,31,47,.4);
    color: #fff;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(201,169,97,.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,169,97,.45); color: var(--ink); }
.btn-ghost {
    background: transparent; color: var(--burgundy);
    border-color: var(--burgundy);
}
.btn-ghost:hover { background: var(--burgundy); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 12px; }

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero-ultra {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
}
.hero-ultra::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(1100px 520px at 80% -10%, rgba(201,169,97,.18), transparent 60%),
        radial-gradient(900px 420px at -10% 110%, rgba(107,31,47,.12), transparent 55%);
    pointer-events: none; z-index: 0;
}
.hero-ultra > .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--gold) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--burgundy);
    margin-bottom: 24px;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--burgundy);
    box-shadow: 0 0 0 0 rgba(107,31,47,.6);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0   rgba(107,31,47,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(107,31,47,0); }
    100% { box-shadow: 0 0 0 0   rgba(107,31,47,0); }
}

h1.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5.2vw, 68px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: var(--ink);
    margin-bottom: 24px;
}
h1.hero-title em {
    font-style: italic;
    color: var(--burgundy);
    font-weight: 600;
    background: linear-gradient(180deg, transparent 58%, rgba(201,169,97,.38) 58%);
    padding: 0 4px;
}

.hero-lead {
    font-size: 18.5px;
    line-height: 1.7;
    color: var(--ink-2);
    max-width: 580px;
    margin-bottom: 34px;
    font-family: var(--font-serif);
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-trust {
    display: flex; gap: 28px; flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    max-width: 580px;
}
.hero-trust .tstat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}
.hero-trust .tstat span {
    font-size: 11.5px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
}

/* Hero visual: shield badge with animated check */
.hero-visual {
    position: relative;
    display: grid; place-items: center;
    min-height: 420px;
}
.shield-badge {
    width: min(400px, 100%);
    aspect-ratio: 1 / 1.12;
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(107,31,47,.25));
}
.shield-badge svg { width: 100%; height: 100%; }

.shield-check {
    stroke-dasharray: 90;
    stroke-dashoffset: 90;
    animation: draw-check 1.6s ease-out .4s forwards;
}
@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

.orbit {
    position: absolute; inset: 0;
    pointer-events: none;
    animation: spin 28s linear infinite;
}
.orbit span {
    position: absolute;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid; place-items: center;
    font-size: 18px;
    color: var(--burgundy);
}
.orbit span.o1 { top: 6%;  left: 50%;  transform: translateX(-50%); }
.orbit span.o2 { right: -6%; top: 45%; }
.orbit span.o3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.orbit span.o4 { left: -6%; top: 45%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------- */
/* Section base                                                                */
/* -------------------------------------------------------------------------- */
section { padding: 90px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
    font-size: 12.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .18em;
    color: var(--gold-dark); margin-bottom: 12px;
}
h2.section-title {
    font-family: var(--font-serif);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.15; letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 14px;
}
.section-sub {
    font-size: 17px; color: var(--muted);
    line-height: 1.65;
    font-family: var(--font-serif);
}

/* -------------------------------------------------------------------------- */
/* Stats band (real DB numbers)                                                */
/* -------------------------------------------------------------------------- */
.stats-band {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.stat-cell {
    text-align: center;
    padding: 14px 10px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-num .plus { font-size: .6em; color: var(--gold-soft); vertical-align: super; }
.stat-label {
    margin-top: 10px;
    font-size: 13px;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255,255,255,.78); font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Si funksionon — 4 steps timeline                                            */
/* -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 36px; left: 10%; right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg,
        var(--gold) 0, var(--gold) 8px,
        transparent 8px, transparent 16px);
    z-index: 0;
}
.tstep {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 14px;
}
.tstep-icon {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--paper);
    border: 2px solid var(--line);
    display: grid; place-items: center;
    color: var(--burgundy);
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
    position: relative;
}
.tstep-icon::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -10px; right: -10px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 14px;
    display: grid; place-items: center;
    box-shadow: 0 3px 8px rgba(201,169,97,.4);
}
.tstep-icon svg { width: 32px; height: 32px; }
.tstep:hover .tstep-icon {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--gold);
    color: var(--burgundy-dark);
}
.tstep h4 {
    font-family: var(--font-serif);
    font-size: 19px; font-weight: 700;
    margin-bottom: 8px; color: var(--ink);
}
.tstep p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* -------------------------------------------------------------------------- */
/* Features bento grid                                                         */
/* -------------------------------------------------------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}
.bento-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    will-change: transform;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(201,169,97,.06));
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--gold) 60%, transparent);
}
.bento-card:hover::before { opacity: 1; }
.bento-card .b-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 30%, transparent), color-mix(in srgb, var(--burgundy) 20%, transparent));
    color: var(--burgundy);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.bento-card .b-icon svg { width: 28px; height: 28px; }
.bento-card h3 {
    font-family: var(--font-serif);
    font-size: 21px; font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.bento-card p {
    font-size: 14.5px; color: var(--muted); line-height: 1.65;
}
.bento-card.b-wide  { grid-column: span 6; }
.bento-card.b-small { grid-column: span 3; }
.bento-card.b-med   { grid-column: span 4; }
.bento-card.b-tall  { grid-column: span 4; grid-row: span 2; }
.bento-card.b-xl    { grid-column: span 8; }

.bento-card.b-feature {
    background: linear-gradient(160deg, var(--burgundy), var(--burgundy-dark));
    color: #fff;
}
.bento-card.b-feature h3 { color: var(--gold); }
.bento-card.b-feature p { color: rgba(255,255,255,.85); }
.bento-card.b-feature .b-icon {
    background: rgba(201,169,97,.2);
    color: var(--gold);
}

/* -------------------------------------------------------------------------- */
/* Roles (3 cards)                                                             */
/* -------------------------------------------------------------------------- */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.role-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.role-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.role-card.featured {
    background: linear-gradient(160deg, var(--paper), color-mix(in srgb, var(--gold) 10%, var(--paper)));
    border-color: var(--gold);
    border-width: 2px;
}
.role-card .role-icon {
    width: 66px; height: 66px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--ink);
    display: grid; place-items: center;
    margin-bottom: 22px;
}
.role-card.featured .role-icon {
    background: linear-gradient(135deg, var(--burgundy), #8a2738);
    color: var(--gold);
}
.role-card .role-icon svg { width: 32px; height: 32px; }
.role-card h3 {
    font-family: var(--font-serif);
    font-size: 24px; font-weight: 700;
    color: var(--ink); margin-bottom: 8px;
}
.role-card .role-sub {
    color: var(--burgundy); font-weight: 600; font-size: 13px;
    text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: 20px;
}
.role-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.role-card li {
    padding: 9px 0 9px 30px;
    position: relative;
    font-size: 14.5px;
    color: var(--ink-2);
    border-bottom: 1px dashed color-mix(in srgb, var(--line) 70%, transparent);
}
.role-card li:last-child { border-bottom: 0; }
.role-card li::before {
    content: '';
    position: absolute; left: 0; top: 14px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* -------------------------------------------------------------------------- */
/* Trust strip                                                                 */
/* -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--ivory-2);
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-row {
    display: flex; gap: 40px; flex-wrap: wrap;
    align-items: center; justify-content: space-around;
}
.trust-item {
    display: flex; gap: 14px; align-items: center;
    color: var(--ink-2);
}
.trust-item .t-ico {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--burgundy);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.trust-item .t-ico svg { width: 22px; height: 22px; }
.trust-item strong {
    font-family: var(--font-serif);
    font-size: 15.5px; font-weight: 700;
    color: var(--ink); display: block; line-height: 1.2;
}
.trust-item span {
    font-size: 12px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .08em;
}

/* -------------------------------------------------------------------------- */
/* Final CTA                                                                   */
/* -------------------------------------------------------------------------- */
.cta-final {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(800px 400px at 20% 10%, rgba(201,169,97,.2), transparent 60%),
        linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: #fff;
    overflow: hidden;
}
.cta-final .container { position: relative; z-index: 1; text-align: center; }
.cta-final h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -.02em;
}
.cta-final h2 em { color: var(--gold); font-style: italic; }
.cta-final p {
    font-size: 18px; color: rgba(255,255,255,.85);
    font-family: var(--font-serif);
    max-width: 600px; margin: 0 auto 36px; line-height: 1.7;
}
.cta-final .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-gold { box-shadow: 0 12px 30px rgba(201,169,97,.45); }
.cta-final .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-final .btn-ghost:hover { background: #fff; color: var(--burgundy); border-color: #fff; }

/* Decorative seal */
.cta-final::before, .cta-final::after {
    content: ''; position: absolute;
    width: 220px; height: 220px;
    border: 2px solid rgba(201,169,97,.18);
    border-radius: 50%;
    pointer-events: none;
}
.cta-final::before { top: -60px; left: -60px; }
.cta-final::after  { bottom: -60px; right: -60px; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.footer-ultra {
    background: var(--ink);
    color: rgba(255,255,255,.72);
    padding: 60px 0 30px;
    font-size: 14px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-ultra h5 {
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    margin-bottom: 16px;
}
.footer-ultra ul { list-style: none; padding: 0; }
.footer-ultra li { margin-bottom: 10px; }
.footer-ultra a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer-ultra a:hover { color: var(--gold); }
.footer-about .brand-ultra { margin-bottom: 16px; color: #fff; }
.footer-about .brand-ultra .brand-name { color: #fff; }
.footer-about p { max-width: 360px; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-bottom {
    padding-top: 26px;
    display: flex; gap: 16px; flex-wrap: wrap;
    justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,.55);
}

/* -------------------------------------------------------------------------- */
/* Reveal-on-scroll animation                                                  */
/* -------------------------------------------------------------------------- */
.reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 320px; order: -1; }
    .shield-badge { width: 300px; }
    .bento { grid-template-columns: repeat(6, 1fr); }
    .bento-card.b-wide  { grid-column: span 6; }
    .bento-card.b-small { grid-column: span 3; }
    .bento-card.b-med   { grid-column: span 3; }
    .bento-card.b-tall  { grid-column: span 3; grid-row: span 1; }
    .bento-card.b-xl    { grid-column: span 6; }
}
@media (max-width: 780px) {
    section { padding: 60px 0; }
    .nav-links a:not(.btn) { display: none; }
    .nav-links { gap: 8px; }
    .hero-ultra { padding: 56px 0 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 20px; }
    .stat-cell:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .timeline::before { display: none; }
    .bento, .roles-grid { grid-template-columns: 1fr; }
    .bento-card.b-wide, .bento-card.b-small, .bento-card.b-med, .bento-card.b-tall, .bento-card.b-xl {
        grid-column: span 1;
    }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: span 2; }
}
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-about { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-cell { border-right: 0; }
}

/* -------------------------------------------------------------------------- */
/* Accessibility: reduced motion                                               */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .orbit { animation: none; }
    .shield-check { stroke-dashoffset: 0; }
    .reveal { opacity: 1; transform: none; }
}
