/* ============================================================
   LAYOUT.CSS — Styles for the actual HTML class names used in index.html
   ============================================================ */

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

/* === HEADER & NAV === */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 68px;
    background: rgba(12, 18, 32, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #1e2d42;
    z-index: 1000;
}

div.nav {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

a.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

a.logo::before {
    content: 'RS';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    background: #c0390a;
    border-radius: 4px;
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 0;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-links a {
    color: #8896a7;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.45rem 0.875rem;
    border-radius: 5px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.nav-links a:last-child {
    background: #c0390a;
    color: #ffffff;
    margin-left: 0.5rem;
}

.nav-links a:last-child:hover {
    background: #a12f08;
}

body {
    padding-top: 68px;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* === HERO CANVAS === */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* text stays clickable */
    z-index: 0;
}

section.hero .container {
    position: relative;
    z-index: 1; /* above canvas */
}

/* === HERO === */
section.hero {
    position: relative; /* needed for canvas absolute positioning */
    background-color: #0c1220;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
}

section.hero .container {
    max-width: 820px;
    margin: 0;
}

section.hero::before {
    content: 'Performance Engineering Firm';
    display: block;
    position: absolute;
    /* label handled inline below */
}

section.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

section.hero p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #8896a7;
    max-width: 640px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero eyebrow label */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #c0390a;
    margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 22px; height: 2px;
    background: #c0390a;
}

/* Hero h1 accent span */
section.hero h1 span { color: #c0390a; }

a.btn, button.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #c0390a;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: inherit;
}

a.btn:hover, button.btn:hover {
    background: #a12f08;
    transform: translateY(-1px);
}

a.btn.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #e2e8f0;
}
a.btn.btn-outline:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.4);
}

/* ============================================================
   EXPERTISE
   ============================================================ */
section.expertise { background: #0c1220; }

.expertise-header {
    max-width: 640px;
    margin-bottom: 3.5rem;
}
.expertise-header .section-title { color: #b0c4d8; }
.expertise-header .section-eyebrow { color: #ffffff; }
.expertise-lead {
    font-size: 1rem;
    color: #b0c4d8;
    line-height: 1.75;
    margin-top: 0.75rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #1e2d42;
    border: 1px solid #1e2d42;
    border-radius: 8px;
    overflow: hidden;
    align-items: stretch;
}

.expertise-card {
    background: #131d30;
    padding: 2.25rem 2rem;
    transition: background 0.2s ease;
}
.expertise-card:hover { background: #1a2640; }

.expertise-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.expertise-icon {
    width: 44px; height: 44px;
    background: rgba(192, 57, 10, 0.15);
    border: 1px solid rgba(192, 57, 10, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0390a;
    font-size: 1.1rem;
}

.expertise-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #2a3a50;
    font-family: 'JetBrains Mono', monospace;
}

.expertise-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.expertise-card p {
    font-size: 0.9rem;
    color: #b0c4d8;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.expertise-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
    background: #0c1220;
    border: 1px solid #1e2d42;
    border-radius: 3px;
    color: #c0390a;
}

/* ============================================================
   ENGAGEMENT MODEL
   ============================================================ */
section.engagement { background: #f8fafc; }

section.engagement .engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.engagement-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}
.engagement-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: #c0390a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.engagement-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.engagement-card:hover::after { transform: scaleX(1); }

.engagement-card-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
}

.engagement-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
}

.engagement-icon {
    width: 44px; height: 44px;
    background: #fff4f0;
    border: 1px solid #f4c4b0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0390a;
    font-size: 1rem;
}

.engagement-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.engagement-card > p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.72;
    margin-bottom: 1.5rem;
}

.engagement-deliverables {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}
.engagement-deliverables li {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}
.engagement-deliverables li::before {
    content: '';
    display: block;
    width: 5px; height: 5px;
    background: #c0390a;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4em;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
    background: #ffffff;
    border-top: 4px solid #c0390a;
}
#about p + p { margin-top: 1.1rem; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 5rem;
    align-items: start;
}

.about-content .section-title { margin-bottom: 1.5rem; }

.about-content > p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    max-width: 600px;
}

.about-industries { margin-top: 2.5rem; }
.about-industries-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1rem;
}
.about-industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.about-industry-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    color: #475569;
}
.about-industry-tags span i { color: #c0390a; font-size: 0.75rem; }

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.about-stat {
    background: #ffffff;
    padding: 1.75rem 2rem;
    transition: background 0.2s ease;
}
.about-stat:hover { background: #fafafa; }
.about-stat-num {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.about-stat-num span { color: #c0390a; }
.about-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    font-weight: 500;
}

/* ============================================================
   CONTACT — light theme with proper form fields
   ============================================================ */
section.contact {
    background: #f8fafc;
}
section.contact h2.section-title { color: #0f172a; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: stretch;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-info-col .section-title { margin-bottom: 1rem; }

.contact-intro {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.contact-detail-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-detail-icon {
    width: 38px; height: 38px;
    background: #fff4f0;
    border: 1px solid #f4c4b0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0390a;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.contact-detail-row h5 {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c0390a;
    margin-bottom: 0.35rem;
}
.contact-detail-row p,
.contact-detail-row a {
    font-size: 0.9rem;
    color: #334155;
    text-decoration: none;
    line-height: 1.65;
    display: block;
    font-weight: 400;
}
.contact-detail-row a:hover { color: #c0390a; }

/* Form */
.contact-form-col {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2.5rem;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    margin-bottom: 1.25rem;
}
.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.45rem;
    letter-spacing: 0.03em;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #0f172a;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9ca3af; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #c0390a;
    box-shadow: 0 0 0 3px rgba(192, 57, 10, 0.08);
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.form-consent input[type="checkbox"] {
    margin-top: 0.15rem;
    accent-color: #c0390a;
    flex-shrink: 0;
    cursor: pointer;
}
.form-consent label {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    cursor: pointer;
}
.form-consent a { color: #c0390a; text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
}

#form-status {
    margin-top: 0.875rem;
    font-size: 0.85rem;
    min-height: 1.2em;
}
#form-status.success { color: #059669; }
#form-status.error   { color: #dc2626; }

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 1100px) {
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-stats { flex-direction: row; flex-wrap: wrap; }
    .about-stat { flex: 1 1 45%; }
}
@media (max-width: 900px) {
    section.engagement .engagement-grid { grid-template-columns: 1fr; }
    .contact-layout  { grid-template-columns: 1fr; gap: 3rem; }
    .form-row-two    { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .expertise-grid  { grid-template-columns: 1fr; }
    .about-stats     { flex-direction: column; }
}

/* === SHARED SECTION STYLES === */
section {
    padding: 7rem 0;
}

h2.section-title {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.35;
}

p.section-intro {
    font-size: 1.05rem;
    color: #475569;
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 3rem;
}

/* === GRID === */
.grid {
    display: grid;
    gap: 1.5rem;
}

/* === SERVICES SECTION === */
#services {
    background: #f8fafc;
    padding: 6rem 2rem;
}

/* Header row — title left, lead text right */
.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
    align-items: end;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-eyebrow {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.15;
    display: block;
}

.services-header .section-title { margin-bottom: 0; }

.services-header-lead {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    max-width: 480px;
    justify-self: end;
    align-self: end;
}

/* Service rows */
.service-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 52px 1fr 160px;
    gap: 0 2rem;
    align-items: start;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
    border-radius: 6px;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.service-row:last-child { border-bottom: none; }

.service-row:hover {
    background: #ffffff;
}

/* Large muted number */
.service-row-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    font-family: 'JetBrains Mono', monospace;
    padding-top: 0.2rem;
}

/* Icon box */
.service-row-icon {
    width: 44px;
    height: 44px;
    background: #fff4f0;
    border: 1px solid #f4c4b0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0390a;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Body — title + description + tags */
.service-row-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.service-row-body p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.72;
    margin-bottom: 1rem;
}

.service-row-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78em;
    background: #f1f5f9;
    padding: 0.1em 0.35em;
    border-radius: 3px;
    color: #c0390a;
}

/* Capability tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    color: #64748b;
    white-space: nowrap;
}

/* Right-aligned outcome metric */
.service-row-metric {
    text-align: right;
    padding-top: 0.1rem;
    flex-shrink: 0;
}

.metric-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #c0390a;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.metric-desc {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
    font-weight: 500;
}

/* Jetson Nano board illustration */
.jetson-img {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-top: 1.5rem;
    border-radius: 8px;
    opacity: 0.88;
    transition: opacity 0.2s ease;
}
.service-row--gpu:hover .jetson-img { opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
    .services-header { grid-template-columns: 1fr; gap: 1rem; }
    .services-header-lead { justify-self: start; }
    .service-row { grid-template-columns: 44px 1fr; }
    .service-row-metric { display: none; }
}

@media (max-width: 600px) {
    .service-row { grid-template-columns: 1fr; gap: 0.75rem; }
    .service-row-num { display: none; }
}


/* === ENGAGEMENT SECTION === */
section.engagement {
    background: #f8fafc;
    padding: 6rem 2rem;
}

.engagement-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #c0390a;
}

.engagement-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.engagement-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.engagement-card p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.7;
}

/* === ABOUT SECTION === */
#about {
    background: #ffffff;
    padding: 6rem 2rem;
}

#about h2.section-title {
    margin-bottom: 1.5rem;
}

#about p {
    font-size: 1rem;
    color: #475569;
    max-width: 760px;
    line-height: 1.8;
}

/* === CONTACT SECTION === */
section.contact {
    background: #0c1220;
    padding: 6rem 2rem;
}

section.contact h2.section-title {
    color: #ffffff;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: #131d30;
    border: 1px solid #1e2d42;
    border-radius: 6px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
    border-color: #c0390a;
    background: #1a2640;
}

.contact-card i {
    font-size: 1.75rem;
    color: #c0390a;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8896a7;
    margin-bottom: 0.6rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.65;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .services-grid  { grid-template-columns: 1fr; }
    .tech-grid      { grid-template-columns: repeat(2, 1fr); }
    .contact-grid   { grid-template-columns: 1fr; }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: #0c1220;
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid #1e2d42;
        gap: 0;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links a { padding: 0.75rem 0; border-radius: 0; }
    .nav-links a:last-child { margin-left: 0; margin-top: 0.5rem; text-align: center; border-radius: 5px; }
}

@media (max-width: 480px) {
    .tech-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 1.25rem; }
}
