/* =============================================================
   LMLA INC. — PREMIUM AEROSPACE DESIGN SYSTEM
   Version 2.0 — Dark / Glassmorphism / Bento
   ============================================================= */

/* ── 1. VARIABLES & RESET ─────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg-base:          #04080e;
    --bg-main:          #070c18;
    --bg-surface:       #0a1424;

    /* Navy spectrum */
    --navy:             #0d1e3e;
    --navy-mid:         #112240;
    --navy-light:       #1a3262;

    /* Sky blue accent */
    --sky:              #38bdf8;
    --sky-dim:          rgba(56, 189, 248, 0.28);
    --sky-glow:         rgba(56, 189, 248, 0.12);
    --sky-bright:       #93d5f8;

    /* Silver / Metallic */
    --silver:           #6e8fa8;
    --silver-mid:       #9ab4c8;
    --silver-bright:    #c4d8e8;

    /* Text hierarchy */
    --text-hi:          #ddeaf6;
    --text-mid:         #6e8fa8;
    --text-lo:          #344e62;

    /* Glassmorphism */
    --glass:            rgba(9, 18, 38, 0.68);
    --glass-hi:         rgba(13, 26, 54, 0.82);
    --glass-border:     rgba(100, 150, 200, 0.09);
    --glass-border-act: rgba(56, 189, 248, 0.28);

    /* Runway / Tarmac */
    --tarmac:           #0b0e16;
    --tarmac-hi:        #13172028;
    --rwy-white:        rgba(255, 255, 255, 0.75);
    --led-green:        #22c55e;
    --led-amber:        #fbbf24;

    /* Fonts */
    --f-display:        'Syne', system-ui, sans-serif;
    --f-body:           'DM Sans', system-ui, sans-serif;
    --f-mono:           'Courier New', Courier, monospace;

    /* Radii */
    --r-xs:  4px;
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  16px;
    --r-xl:  22px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-body);
    background-color: var(--bg-main);
    color: var(--text-hi);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle engineering dot grid */
    background-image:
        radial-gradient(circle, rgba(56,189,248,0.045) 1px, transparent 1px);
    background-size: 38px 38px;
}

/* Ambient radial blue glow (gives glass cards something to blur over) */
body::before {
    content: '';
    position: fixed;
    top: -15%;
    left: -10%;
    width: 75vw;
    height: 75vh;
    background: radial-gradient(ellipse at center, rgba(11,26,56,0.55) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

/* ── 2. HEADER ────────────────────────────────────────────── */
header {
    background: rgba(4, 8, 14, 0.90);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.07);
    color: var(--text-hi);
    padding: 14px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 20px;
}

/* ── 3. LOGO ──────────────────────────────────────────────── */
.logo { display: flex; flex-direction: column; gap: 2px; }

.logo h1 {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    /* Metallic gradient text */
    background: linear-gradient(
        135deg,
        var(--silver-bright) 0%,
        var(--sky-bright) 45%,
        var(--silver-bright) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-family: var(--f-body);
    font-size: 9px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--sky);
    opacity: 0.65;
}

/* ── 4. CONTROLS (Lang + Nav wrapper) ────────────────────── */
.controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language toggle */
.lang-switch {
    display: flex;
    gap: 3px;
    background: rgba(9, 18, 38, 0.9);
    padding: 4px;
    border-radius: var(--r-sm);
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-mid);
    cursor: pointer;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: var(--r-xs);
    transition: all 0.25s ease;
}

.lang-btn.active {
    background: var(--sky);
    color: var(--bg-base);
}

.lang-btn:hover:not(.active) {
    color: var(--text-hi);
    background: rgba(56,189,248,0.08);
}

/* ── 5. RUNWAY NAVIGATION ─────────────────────────────────── */
nav {
    display: flex;
    gap: 8px;
}

.runway-link {
    background-color: var(--tarmac);
    border: 1px solid rgba(255,255,255,0.055);
    color: var(--text-hi);
    padding: 13px 22px;
    text-transform: uppercase;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 10.5px;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: var(--r-xs);
    min-width: 126px;
    isolation: isolate; /* keeps z-index stacking clean */
}

/* Runway centerline dashes */
.runway-link::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        var(--rwy-white) 0, var(--rwy-white) 10px,
        transparent 10px, transparent 18px
    );
    transform: translateY(-50%);
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}

/* Hover shimmer sweep */
.runway-link::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56,189,248,0.07), transparent);
    z-index: 2;
    pointer-events: none;
}

.runway-link:hover::after,
.runway-link.active-nav::after {
    animation: navShimmer 0.65s ease forwards;
}

@keyframes navShimmer {
    to { left: 180%; }
}

.runway-link:hover,
.runway-link.active-nav {
    background-color: #0f1520;
    border-color: var(--glass-border-act);
    box-shadow:
        0 0 22px var(--sky-glow),
        0 4px 14px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(56,189,248,0.06);
    transform: translateY(-2px);
}

/* Rotated number plate */
.runway-number {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-family: var(--f-mono);
    font-size: 8.5px;
    letter-spacing: 0.5px;
    color: var(--led-amber);
    opacity: 0.45;
    z-index: 3;
    transition: opacity 0.3s;
}

.runway-link:hover .runway-number,
.runway-link.active-nav .runway-number { opacity: 1; }

/* Label text — uses background to "cut" the dashed center line */
.runway-text {
    position: relative;
    z-index: 3;
    background-color: var(--tarmac);
    padding: 0 9px;
    transition: background-color 0.32s;
}

.runway-link:hover .runway-text,
.runway-link.active-nav .runway-text {
    background-color: #0f1520;
}

/* LED indicator dots */
.led {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    background: var(--led-green);
    box-shadow: 0 0 5px var(--led-green);
    z-index: 4;
    transition: all 0.3s ease;
    pointer-events: none;
}
.led-l { left: 22px; }
.led-r { right: 22px; }

.runway-link:hover .led,
.runway-link.active-nav .led {
    background: var(--led-amber);
    box-shadow: 0 0 7px var(--led-amber), 0 0 16px rgba(251,191,36,0.35);
}

/* ── 6. MAIN & SECTIONS ───────────────────────────────────── */
main {
    position: relative;
    min-height: calc(100vh - 68px);
    z-index: 1;
}

.page-section {
    display: none;
    animation: sectionIn 0.45s ease-out;
}

.page-section.active { display: block; }

@keyframes sectionIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.section-body {
    padding: 80px 6%;
    max-width: 1380px;
    margin: 0 auto;
}

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Aviation background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1464037866556-6812c9d1c72e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 35%;
    transform: scale(1.06);
    transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1.0); }

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(4, 8, 14, 0.94) 0%,
        rgba(7, 12, 24, 0.82) 55%,
        rgba(10, 20, 42, 0.90) 100%
    );
}

/* Subtle CRT scanline texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(56,189,248,0.007) 3px,
        rgba(56,189,248,0.007) 4px
    );
    z-index: 2;
    pointer-events: none;
}

/* Animated content block */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 8%;
    max-width: 860px;
    animation: heroReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.hero-eyebrow {
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sky);
    opacity: 0.75;
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(34px, 5.5vw, 70px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--text-hi);
    margin-bottom: 28px;
}

.hero-bar {
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--sky), transparent);
    margin-bottom: 22px;
    border-radius: 1px;
}

.hero-sub {
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--silver-mid);
    letter-spacing: 0.3px;
    max-width: 500px;
    line-height: 1.7;
}

/* Engineering drawing corner brackets */
.hero-corner-tl,
.hero-corner-br {
    position: absolute;
    width: 44px; height: 44px;
    z-index: 3;
}
.hero-corner-tl {
    top: 24px; left: 24px;
    border-top: 1px solid rgba(56,189,248,0.45);
    border-left: 1px solid rgba(56,189,248,0.45);
}
.hero-corner-br {
    bottom: 24px; right: 24px;
    border-bottom: 1px solid rgba(56,189,248,0.45);
    border-right: 1px solid rgba(56,189,248,0.45);
}

/* ── 8. SECTION TYPOGRAPHY ────────────────────────────────── */
h2 {
    font-family: var(--f-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--text-hi);
    margin-bottom: 52px;
    display: flex;
    align-items: center;
    gap: 22px;
    letter-spacing: -0.5px;
}

/* Trailing gradient line */
h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--sky-dim) 0%, transparent 100%);
    max-width: 220px;
    opacity: 0.7;
}

.subsection-title {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--sky-bright);
    margin-bottom: 22px;
}

.intro-text {
    font-size: 16.5px;
    font-weight: 500;
    color: var(--text-hi);
    line-height: 1.8;
    margin-bottom: 28px;
}

.body-text {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ── 9. INFO CARDS (Home bio) ─────────────────────────────── */
.info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-left: 2px solid rgba(56,189,248,0.25);
    border-radius: var(--r-xs);
    padding: 15px 18px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: var(--text-mid);
    transition: border-left-color 0.3s ease;
}

.info-card:hover { border-left-color: var(--sky); }
.info-card strong { color: var(--silver-bright); font-weight: 600; }

/* ── 10. LAYOUT GRIDS ─────────────────────────────────────── */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* ── 11. BULLET LIST ──────────────────────────────────────── */
.bullet-list {
    list-style: none;
    margin-top: 6px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 13px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.7;
    transition: color 0.2s;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 9px; height: 1px;
    background: var(--sky);
    opacity: 0.65;
}

.bullet-list li:hover { color: var(--silver-bright); }

/* ── 12. CARD GRID & BENTO LAYOUT ────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Expertise bento spans */
.bento-grid .card:nth-child(1)  { grid-column: span 2; }
.bento-grid .card:nth-child(7)  { grid-column: span 2; }
.bento-grid .card:nth-child(8)  { grid-column: span 3; }

/* Services bento spans */
.services-bento .card:nth-child(1) { grid-column: span 2; }
.services-bento .card:nth-child(6) { grid-column: span 3; }

/* ── 13. CARDS — GLASSMORPHISM ────────────────────────────── */
.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
}

/* Gradient top edge line */
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--sky) 50%, transparent 100%);
    opacity: 0.22;
    transition: opacity 0.38s;
    pointer-events: none;
}

/* Shimmer sweep on hover */
.card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56,189,248,0.04), transparent);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(56,189,248,0.18);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(56, 189, 248, 0.07),
        inset 0 0 0 1px rgba(56,189,248,0.12);
}

.card:hover::before { opacity: 0.75; }

.card:hover::after {
    animation: cardShimmer 0.85s ease forwards;
}

@keyframes cardShimmer {
    to { left: 190%; }
}

/* Card title */
.card h3 {
    font-family: var(--f-display);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--silver-bright);
    margin-bottom: 13px;
    line-height: 1.4;
}

.card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.78;
}

/* Expertise icon badge */
.card-icon {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: linear-gradient(
        135deg,
        rgba(56,189,248,0.10) 0%,
        rgba(56,189,248,0.03) 100%
    );
    border: 1px solid rgba(56,189,248,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 18px;
    color: var(--sky);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(56,189,248,0.06));
    border-color: rgba(56,189,248,0.38);
    transform: scale(1.08) rotate(-3deg);
}

/* ── 14. FEATURED / CAPSTONE CARD VARIANTS ────────────────── */
/* Wide primary cards get richer gradient */
.bento-grid .card:nth-child(1),
.services-bento .card:nth-child(1) {
    background: linear-gradient(
        135deg,
        rgba(13, 30, 62, 0.78) 0%,
        rgba(9, 18, 40, 0.70) 100%
    );
}

/* Full-width capstone cards — horizontal layout */
.card-capstone {
    background: linear-gradient(
        130deg,
        rgba(10, 22, 48, 0.80) 0%,
        rgba(13, 28, 56, 0.74) 50%,
        rgba(8, 14, 32, 0.80) 100%
    );
}

/* Expertise capstone: icon floats left */
.bento-grid .card-capstone {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 4px 24px;
    align-items: start;
}

.bento-grid .card-capstone .card-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
    align-self: start;
    margin-top: 3px;
}

.capstone-body { display: contents; }

/* Services capstone: bullet list expands horizontally */
.services-bento .card-capstone .bullet-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
    margin-top: 10px;
}

/* ── 15. CONTACT PAGE ─────────────────────────────────────── */
.contact-info-card {
    background: linear-gradient(
        135deg,
        rgba(56,189,248,0.04) 0%,
        rgba(9, 18, 40, 0.80) 100%
    );
    border: 1px solid rgba(56,189,248,0.10);
    border-radius: var(--r-lg);
    padding: 34px;
    margin-top: 34px;
    transition: border-color 0.3s;
}

.contact-info-card:hover {
    border-color: rgba(56,189,248,0.22);
}

.contact-name {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sky);
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(56,189,248,0.10);
}

.contact-detail {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 13px;
    font-size: 13.5px;
    color: var(--text-mid);
}

.detail-label {
    font-family: var(--f-mono);
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sky);
    opacity: 0.5;
    min-width: 86px;
    flex-shrink: 0;
}

/* Contact form */
.contact-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 46px 40px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--silver);
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(4, 8, 14, 0.65);
    border: 1px solid rgba(100, 150, 200, 0.14);
    border-radius: var(--r-xs);
    color: var(--text-hi);
    font-family: var(--f-body);
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky-dim);
    box-shadow: 0 0 0 3px rgba(56,189,248,0.07);
}

.submit-btn {
    background: linear-gradient(135deg, var(--sky) 0%, #0ea5e9 100%);
    color: var(--bg-base);
    padding: 15px 38px;
    border: none;
    border-radius: var(--r-xs);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    pointer-events: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(56,189,248,0.38), 0 4px 12px rgba(0,0,0,0.3);
}

.submit-btn:hover::after {
    animation: btnShimmer 0.65s forwards;
}

@keyframes btnShimmer {
    to { left: 170%; }
}

/* ── 16. AIRPLANE WIPE TRANSITION ─────────────────────────── */
#transition-wipe {
    position: fixed;
    top: -120vh;
    left: 0;
    width: 100vw;
    height: 120vh;
    background: linear-gradient(
        180deg,
        var(--bg-base) 0%,
        var(--navy-mid) 48%,
        var(--bg-base) 100%
    );
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

/* Speed-lines overlay */
#transition-wipe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        transparent 0px,
        transparent 9px,
        rgba(56,189,248,0.018) 9px,
        rgba(56,189,248,0.018) 10px
    );
    pointer-events: none;
}

/* Branding label */
#transition-wipe::after {
    content: 'LMLA INC.';
    position: absolute;
    top: calc(50% + 72px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(56,189,248,0.28);
    pointer-events: none;
}

.plane-wrapper {
    position: absolute;
    bottom: -80px;
    color: var(--sky);
    width: 100px; height: 100px;
    transform: rotate(180deg);
    filter:
        drop-shadow(0 0 20px rgba(56,189,248,0.85))
        drop-shadow(0 0 50px rgba(56,189,248,0.30));
    z-index: 2;
}

/* ── 17. SCROLL REVEAL ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 18. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1160px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }

    .bento-grid .card:nth-child(1)  { grid-column: span 2; }
    .bento-grid .card:nth-child(7)  { grid-column: span 2; }
    .bento-grid .card:nth-child(8)  { grid-column: span 2; }
    .bento-grid .card-capstone      { grid-template-columns: 46px 1fr; }

    .services-bento .card:nth-child(1) { grid-column: span 2; }
    .services-bento .card:nth-child(6) { grid-column: span 2; }
    .services-bento .card-capstone .bullet-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    header { flex-direction: column; gap: 14px; padding: 14px 4%; }
    nav { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .runway-link { min-width: 108px; padding: 11px 14px; font-size: 10px; }
    .content-grid { grid-template-columns: 1fr; gap: 44px; }
    .section-body { padding: 60px 5%; }
    h2 { margin-bottom: 40px; }
}

@media (max-width: 700px) {
    .card-grid { grid-template-columns: 1fr; }
    .bento-grid .card:nth-child(1),
    .bento-grid .card:nth-child(7),
    .bento-grid .card:nth-child(8),
    .services-bento .card:nth-child(1),
    .services-bento .card:nth-child(6) { grid-column: span 1; }

    .bento-grid .card-capstone,
    .services-bento .card-capstone { display: block; }
    .bento-grid .card-capstone .card-icon { margin-bottom: 16px; }
    .services-bento .card-capstone .bullet-list { grid-template-columns: 1fr; }

    .hero-content { padding: 60px 5%; }
    .hero-title   { font-size: 30px; }
    .hero         { min-height: 420px; }
    .contact-form { padding: 30px 22px; }
}
