/* ===== Self-hosted IBM Plex Sans (variable font) ===== */
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Variable.ttf') format('truetype');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Italic-Variable.ttf') format('truetype');
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}

/* ================================================================
   George Gkinis — Personal Site
   Palette: Pine #2D6A4F | Dark #1B4332 | Orange #C8622A | Cream #F5F7F2
   Fonts: Playfair Display (display) + Source Sans 3 (body)
================================================================ */

:root {
    --pine:          #2D6A4F;
    --pine-dark:     #1B4332;
    --pine-mid:      #40916C;
    --pine-light:    #74C69D;
    --cream:         #FAF9F6;
    --ice:           #EBF2E8;
    --orange:        #C8622A;
    --orange-hover:  #A84F1E;
    --white:         #FFFFFF;
    --text:          #1A2E22;
    --text-muted:    #567A64;
    --border:        #C8D8C4;
    --border-light:  #D8E8D4;

    --font-display:  'IBM Plex Sans', system-ui, sans-serif;
    --font-body:     'IBM Plex Sans', system-ui, sans-serif;

    --radius:        12px;
    --radius-sm:     8px;
    --shadow:        0 2px 20px rgba(27, 67, 50, 0.06);
    --shadow-md:     0 4px 32px rgba(27, 67, 50, 0.11);
    --shadow-lg:     0 8px 48px rgba(27, 67, 50, 0.16);

    --container:     1200px;
    --nav-height:    72px;
    --section-pad:   clamp(72px, 10vw, 120px);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Container ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { line-height: 1.7; }

/* ===== Labels ===== */
.section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pine-mid);
    margin-bottom: 12px;
}
.section-label--light { color: var(--pine-light); }

/* ===== Section header ===== */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 14px; color: var(--pine-dark); }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.65); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 2px solid transparent;
    transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s, box-shadow 0.22s;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}
.btn-orange {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-orange:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200, 98, 42, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}
.btn-pine {
    background: var(--pine);
    color: var(--white);
    border-color: var(--pine);
}
.btn-pine:hover {
    background: var(--pine-dark);
    border-color: var(--pine-dark);
    transform: translateY(-1px);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
}

/* ===== Section backgrounds ===== */
.section { padding: var(--section-pad) 0; }
.bg-cream     { background: var(--cream); }
.bg-ice       { background: var(--ice); }
.bg-pine-dark { background: var(--pine-dark); }

/* ===== Reveal animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.platform-tiles .platform-tile:nth-child(2) { transition-delay: 0.07s; }
.platform-tiles .platform-tile:nth-child(3) { transition-delay: 0.14s; }
.platform-tiles .platform-tile:nth-child(4) { transition-delay: 0.21s; }
.projects-grid .project-card:nth-child(even) { transition-delay: 0.1s; }

/* ===== Hero animations ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding-top: max(env(safe-area-inset-top), 10px);
    transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
    background: rgba(27, 67, 50, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px rgba(27, 67, 50, 0.2);
}
.nav-container {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 3px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.lang-toggle {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 5px 9px;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.lang-toggle:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 72px) 0 100px;
    overflow: hidden;
}
.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 65% 35%, rgba(64,145,108,0.22) 0%, transparent 60%),
        linear-gradient(155deg, var(--pine-dark) 0%, #1a3d2b 45%, #0d2618 100%);
}
.hero-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pine-light);
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease both;
}
.hero-headline {
    color: var(--white);
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 700;
    line-height: 1.07;
    margin-bottom: 28px;
    animation: fadeUp 0.8s 0.12s ease both;
}
.hero-headline em {
    font-style: italic;
    color: var(--orange);
}
.hero-body {
    color: rgba(255,255,255,0.7);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 500px;
    margin-bottom: 44px;
    animation: fadeUp 0.8s 0.24s ease both;
    line-height: 1.75;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.36s ease both;
}

/* ===== CERTS ===== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
}
.cert-item:hover { transform: translateY(-3px); }
.cert-item img {
    width: 100%;
    max-width: 88px;
    height: auto;
    display: block;
}
.cert-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* ===== SERVICE SECTIONS ===== */
.svc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.svc-text .section-label { display: block; margin-bottom: 14px; }
.svc-text h2 { margin-bottom: 20px; color: var(--pine-dark); }
.svc-lead {
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--pine-dark);
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 16px;
}
.svc-text > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.7;
}
.svc-cta { margin-top: 4px; }

/* Web section feature list */
.svc-list {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.svc-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li strong {
    display: block;
    font-size: 0.88rem;
    color: var(--pine-dark);
    font-weight: 600;
    margin-bottom: 2px;
}
.svc-list li span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.svc-list-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--ice);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pine);
    margin-top: 2px;
}

/* Cloud section dark overrides */
#cloud .svc-text h2 { color: var(--white); }
#cloud .svc-lead    { color: rgba(255,255,255,0.85); }
#cloud .svc-text > p { color: rgba(255,255,255,0.58); }
.cloud-right { align-self: start; }
.about-col-heading--light {
    color: rgba(255,255,255,0.45);
    border-bottom-color: rgba(255,255,255,0.1);
}

/* Capabilities list */
.caps-list { margin-bottom: 32px; }
.caps-list li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    line-height: 1.45;
}
.caps-list li:last-child { border-bottom: none; }
.caps-list li::before {
    content: '→';
    margin-right: 10px;
    color: var(--pine-light);
    font-size: 0.75rem;
}
#cloud .cert-item span { color: rgba(255,255,255,0.55); }

/* ===== PLATFORM SECTION ===== */
.platform-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-self: start;
}
.platform-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 32px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.platform-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--pine-light);
}
.platform-tile-icon {
    width: 48px;
    height: 48px;
    background: var(--ice);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pine);
    margin-bottom: 18px;
}
.platform-tile h3 {
    font-size: 1.05rem;
    color: var(--pine-dark);
    margin-bottom: 8px;
}
.platform-tile p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.platform-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-wrap: wrap;
}
.platform-verticals .tech-group-label { display: block; margin-bottom: 10px; }
.platform-cta-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.platform-cta-wrap p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.project-card {
    position: relative;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 36px 28px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
    transform-style: preserve-3d;
}
.project-card:hover {
    border-color: var(--pine);
    box-shadow: 0 24px 56px rgba(27, 67, 50, 0.14);
}
.project-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s;
    filter: grayscale(25%);
}
.project-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.project-card:hover .project-logo {
    transform: scale(1.07);
    filter: grayscale(0%);
}
.project-card h3 {
    font-size: 1.25rem;
    color: var(--pine-dark);
    transition: color 0.3s;
}
.project-card-cta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--pine-dark);
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card-cta {
    transform: translateY(0);
}
.project-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.02em;
    transition: gap 0.2s;
}
.project-visit:hover { gap: 12px; }
.project-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    text-align: center;
    margin-top: 4px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}
.project-tags span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 0;
}
.project-tags span::after {
    content: '·';
    margin: 0 7px;
    color: var(--border);
    font-weight: 400;
}
.project-tags span:last-child::after {
    content: none;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    transition: gap 0.2s, color 0.2s;
}
.project-link:hover { gap: 10px; color: var(--orange-hover); }
.project-link--muted {
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
}

/* ===== ABOUT ===== */
#about .section-label        { color: var(--pine-light); }
#about .about-text h2        { color: var(--white); }
#about .about-lead           { color: rgba(255,255,255,0.85); }
#about .about-text > p       { color: rgba(255,255,255,0.65); }
#about .about-col-heading    { color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.1); }
#about .cert-item span       { color: rgba(255,255,255,0.55); }
#about .btn-pine             { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
#about .btn-pine:hover       { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.about-text .section-label { display: block; }
.about-text h2 { margin: 10px 0 20px; color: var(--pine-dark); }
.about-lead {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--pine-dark);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.55;
}
.about-text > p {
    color: var(--text);
    font-size: 1.08rem;
    margin-bottom: 14px;
    line-height: 1.7;
}
.about-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.btn-linkedin {
    background: #0A66C2;
    color: var(--white);
    border-color: #0A66C2;
}
.btn-linkedin:hover {
    background: #004182;
    border-color: #004182;
    transform: translateY(-1px);
}

.about-col-heading {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.about-col-heading--mt { margin-top: 32px; }

/* Tech tags */
.tech-group { margin-bottom: 16px; }
.tech-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--pine-dark);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 20px;
}

/* ===== CONTACT ===== */
.section-contact {
    background: var(--pine-dark);
    padding: var(--section-pad) 0;
    text-align: center;
}
.contact-inner { max-width: 540px; margin: 0 auto; }
.contact-inner h2 { color: var(--white); margin-bottom: 16px; }
.contact-inner > p {
    color: rgba(255,255,255,0.62);
    font-size: 1rem;
    margin-bottom: 36px;
}

/* ===== CONTACT FORM ===== */
.contact-honeypot { display: none; }

.contact-form {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.form-field input,
.form-field textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 11px 14px;
    transition: border-color 0.2s, background 0.2s;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(255,255,255,0.09);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    margin-top: 5px;
    transition: color 0.2s;
}
.char-count--warn { color: #E88A6A; }

.form-status {
    font-size: 0.85rem;
    min-height: 1.2em;
    text-align: center;
}
.form-status--ok  { color: var(--pine-light); }
.form-status--err { color: #E88A6A; }

.form-privacy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-top: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d2618;
    padding: 36px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-display);
    font-size: 1rem;
}
.footer-copy {
    color: rgba(255,255,255,0.28);
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
}
.footer-meta {
    color: rgba(255,255,255,0.2);
    font-size: 0.72rem;
    text-align: center;
    width: 100%;
}
.footer-meta a {
    color: rgba(255,255,255,0.35);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-meta a:hover { color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .svc-split      { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--nav-height) + env(safe-area-inset-top)); left: 0; right: 0;
        background: rgba(27, 67, 50, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 20px 24px 32px;
        gap: 0;
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-menu.open { transform: translateY(0); }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-menu a::after { display: none; }
    .hamburger   { display: flex; }
    .nav-right   { margin-left: auto; }

    .platform-tiles      { grid-template-columns: 1fr; }
    .platform-bottom     { flex-direction: column; align-items: flex-start; gap: 24px; }
    .platform-cta-wrap   { flex-direction: column; align-items: flex-start; gap: 12px; }

    .projects-grid { grid-template-columns: 1fr; }

    .about-grid  { grid-template-columns: 1fr; gap: 40px; }
    .certs-grid  { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .cert-item img { max-width: 64px; }

    .footer-inner { justify-content: center; text-align: center; }

}

@media (max-width: 520px) {
    .hero-ctas { flex-direction: column; }
    .form-row  { grid-template-columns: 1fr; }
    .btn { justify-content: center; width: 100%; max-width: 300px; }
    .contact-actions .btn { width: auto; max-width: none; }
}
