/* ============================================
   Imaximus
   Fonts: Raleway (headings) · DM Sans (body)
   Colors: --ink · --cream · --ember (accent)
   ============================================ */

:root {
    --ink:         #0B0D11;
    --cream:       #F5F0E8;
    --ember:       #C4622D;
    --ember-hover: #D47040;
    --ember-dim:   rgba(196, 98, 45, 0.09);

    /* Derived text tones — no extra bg colors */
    --on-dark-primary:  #FFFFFF;
    --on-dark-secondary: rgba(255, 255, 255, 0.42);
    --on-dark-muted:    rgba(255, 255, 255, 0.22);
    --on-light-primary:  #0B0D11;
    --on-light-secondary: rgba(11, 13, 17, 0.58);
    --on-light-muted:   rgba(11, 13, 17, 0.35);

    --border-dk: rgba(255, 255, 255, 0.08);
    --border-lt: rgba(11, 13, 17, 0.1);

    --font-logo: 'Syne', sans-serif;
    --font-head: 'Raleway', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --nav-height: 72px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--on-light-primary);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 0.5s ease 0.05s forwards;
}

@keyframes pageLoad { to { opacity: 1; } }

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Section Label --- */
.section-label {
    font-family: var(--font-head);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
    display: block;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.45s ease, box-shadow 0.45s ease;
}

.nav--scrolled {
    background: rgba(11, 13, 17, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-logo);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: #fff;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--on-dark-secondary);
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav__link:hover { color: var(--on-dark-primary); }

.nav__cta {
    font-family: var(--font-head);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ember);
    border: 1px solid rgba(196, 98, 45, 0.4);
    padding: 10px 24px;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.nav__cta:hover {
    border-color: var(--ember);
    background: var(--ember);
    color: #fff;
}

.nav__mobile-cta-wrap { display: none; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero__bg-glow {
    position: absolute;
    top: -20%;
    right: -5%;
    width: 55%;
    height: 75%;
    background: radial-gradient(ellipse at 60% 30%, rgba(196, 98, 45, 0.12) 0%, transparent 62%);
}

.hero__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 64px);
    padding-bottom: 48px;
}

.hero__eyebrow {
    font-family: var(--font-head);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--on-dark-secondary);
    margin-bottom: 28px;
    display: block;
}

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.75rem, 6.5vw, 6rem);
    font-weight: 700;
    color: var(--on-dark-primary);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.hero__accent { color: var(--ember); }

.hero__content {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 480px;
}

.hero__subtitle {
    color: var(--on-dark-secondary);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.85;
}

.hero__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ember);
    transition: gap 0.3s var(--ease-out), opacity 0.3s ease;
}

.hero__cta-link:hover { gap: 18px; opacity: 0.8; }

.hero__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero__cta-link:hover .hero__arrow { transform: translateY(3px); }

/* Hero stats bar */
.hero__stats-bar {
    border-top: 1px solid var(--border-dk);
    width: 100%;
}

.hero__stats {
    display: flex;
    align-items: stretch;
}

.hero__stat {
    flex: 1;
    padding: 28px 0 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: background 0.3s ease;
}

.hero__stat:first-child { padding-left: 0; }
.hero__stat:hover { background: rgba(196, 98, 45, 0.04); }

.hero__stat-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--on-dark-primary);
    line-height: 1;
}

.hero__stat-num sup {
    font-size: 0.85rem;
    color: var(--ember);
    font-weight: 600;
}

.hero__stat-label {
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.hero__stat-rule {
    width: 1px;
    background: var(--border-dk);
    flex-shrink: 0;
    margin: 20px 0;
}

/* ============================================
   About / Founder
   ============================================ */
.about {
    padding: 96px 0;
    background: var(--cream);
}

/* --- Founder spotlight --- */
.founder {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 64px;
}

.founder__photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.founder__photo-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
    margin-bottom: 16px;
}

.founder__name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-light-primary);
    margin-top: 16px;
    margin-bottom: 4px;
}

.founder__role {
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ember);
}

.founder__bio {
    padding-top: 4px;
}

.founder__bio p {
    color: var(--on-light-secondary);
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.85;
}

.founder__bio p:last-of-type { margin-bottom: 0; }

.founder__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.founder__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--on-light-primary);
    border: 1px solid var(--border-lt);
    padding: 11px 20px;
    min-height: 44px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.founder__link:hover {
    border-color: var(--ember);
    color: var(--ember);
}

/* --- Stats row --- */
.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-lt);
    padding-top: 56px;
    gap: 0;
}

.about__stat {
    padding: 0 48px 0 0;
}

.about__stat:not(:first-child) {
    padding-left: 48px;
    border-left: 1px solid var(--border-lt);
}

.about__stat-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--on-light-primary);
    line-height: 1;
}

.about__stat-suffix {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ember);
}

.about__stat-label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--on-light-muted);
    margin-top: 8px;
}

.about__stat-location {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--on-light-primary);
    display: block;
    line-height: 1.2;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 0 0 96px;
    background: var(--cream);
}

.services__title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--on-light-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.services__list { margin-top: 40px; }

.services__item {
    position: relative;
    padding: 36px 0;
    border-top: 1px solid var(--border-lt);
    overflow: hidden;
}

.services__item:last-child { border-bottom: 1px solid var(--border-lt); }

.services__number {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-52%);
    font-family: var(--font-head);
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 700;
    color: rgba(11, 13, 17, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease, transform 0.5s var(--ease-out);
}

.services__item:hover .services__number {
    color: rgba(196, 98, 45, 0.07);
    transform: translateY(-52%) scale(1.04);
}

.services__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.services__item-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-light-primary);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.services__item-text {
    color: var(--on-light-secondary);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 520px;
}

/* ============================================
   Metrics
   ============================================ */
.metrics {
    padding: 80px 0;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.metrics::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    position: relative;
    z-index: 1;
}

.metrics__item {
    padding: 24px 32px;
    border-right: 1px solid var(--border-dk);
    transition: background 0.3s ease;
}

.metrics__item:last-child { border-right: none; }
.metrics__item:hover { background: rgba(196, 98, 45, 0.05); }

.metrics__value {
    line-height: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.metrics__prefix {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--ember);
    margin-top: 0.55rem;
}

.metrics__number {
    font-family: var(--font-head);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    color: var(--on-dark-primary);
    line-height: 1;
}

.metrics__unit {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--ember);
    margin-top: 0.55rem;
}

.metrics__label {
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

/* ============================================
   Portfolio
   ============================================ */
.portfolio {
    padding: 96px 0;
    background: var(--ink);
    border-top: 1px solid var(--border-dk);
}

.portfolio__title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--on-dark-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.portfolio__list {
    margin-top: 40px;
    border-top: 1px solid var(--border-dk);
}

.portfolio__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-dk);
    transition: padding-left 0.4s var(--ease-out), background 0.3s ease;
}

.portfolio__item::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 100%;
    background: var(--ember);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out);
}

.portfolio__item:hover { padding-left: 24px; background: rgba(255, 255, 255, 0.018); }
.portfolio__item:hover::before { transform: scaleY(1); }

.portfolio__sector {
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ember);
    display: block;
    margin-bottom: 6px;
}

.portfolio__company {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--on-dark-primary);
    letter-spacing: -0.2px;
}

.portfolio__desc {
    color: var(--on-dark-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.75;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 96px 0;
    background: var(--cream);
}

.contact__title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--on-light-primary);
    letter-spacing: -0.5px;
    margin-bottom: 48px;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: start;
}

.contact__cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.contact__desc {
    color: var(--on-light-secondary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 440px;
}

.contact__btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--ink);
    padding: 18px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.contact__btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ember);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-out);
}

.contact__btn:hover { transform: translateY(-1px); }
.contact__btn:hover::after { transform: translateX(0); }

.contact__btn span {
    position: relative;
    z-index: 1;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-left: 48px;
    border-left: 1px solid var(--border-lt);
}

.contact__info-block h3 {
    font-family: var(--font-head);
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 10px;
}

.contact__info-block p {
    color: var(--on-light-secondary);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
}

.contact__info-block a { transition: color 0.2s ease; }
.contact__info-block a:hover { color: var(--ember); }

.contact__socials { display: flex; gap: 10px; }

.contact__social {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-light-secondary);
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.contact__social:hover {
    border-color: var(--ember);
    color: var(--ember);
    background: var(--ember-dim);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 48px 0;
    background: var(--ink);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 98, 45, 0.4), transparent);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dk);
    margin-bottom: 32px;
}

.footer__logo {
    font-family: var(--font-logo);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: #fff;
}

.footer__links { display: flex; gap: 32px; }

.footer__links a {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--on-dark-muted);
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.footer__links a:hover { color: var(--on-dark-primary); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--on-dark-muted);
}

.footer__tagline {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(196, 98, 45, 0.4);
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUp 0.9s var(--ease-out) forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

/* ============================================
   Responsive — Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
    .founder       { grid-template-columns: 240px 1fr; gap: 48px; }
    .contact__grid { grid-template-columns: 1fr 240px; gap: 56px; }
    .hero__stat    { padding-left: 24px; }
}

/* ============================================
   Responsive — Tablet portrait (≤768px)
   ============================================ */
@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .container     { padding: 0 24px; }
    .nav__container { padding: 0 24px; }

    .nav__links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(11, 13, 17, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    }

    .nav__links.active { opacity: 1; visibility: visible; transform: translateY(0); }

    .nav__links .nav__link {
        font-family: var(--font-head);
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        padding: 8px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav__links.active .nav__mobile-cta-wrap { display: block; margin-top: 16px; }
    .nav__mobile-cta-wrap .nav__cta          { padding: 14px 32px; }
    .nav__cta--desktop                        { display: none; }
    .nav__hamburger                           { display: flex; }

    .hero      { min-height: 100svh; }
    .hero__inner {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: calc(var(--nav-height) + 40px);
    }
    .hero__stats-bar { display: none; }

    .about, .services, .portfolio, .contact { padding: 64px 0; }
    .services  { padding-top: 0; }
    .metrics   { padding: 52px 0; }

    /* About / Founder */
    .founder {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .founder__photo-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .founder__photo-img {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 40px;
    }

    .about__stat {
        padding: 20px 0;
        border-bottom: 1px solid var(--border-lt);
        border-left: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about__stat:last-child { border-bottom: none; }
    .about__stat-number  { font-size: 2.25rem; }
    .about__stat-suffix  { font-size: 1.125rem; }

    /* Services */
    .services__item { padding: 32px 0; }

    /* Metrics */
    .metrics__grid { grid-template-columns: 1fr; }

    .metrics__item {
        padding: 36px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-dk);
        text-align: center;
    }

    .metrics__item:last-child { border-bottom: none; }

    /* Portfolio */
    .portfolio__item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
    .portfolio__item:hover { padding-left: 0; }
    .portfolio__item::before { display: none; }

    /* Contact */
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }

    .contact__info {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-lt);
        padding-top: 48px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 28px;
    }

    .contact__info-block { flex: 1; min-width: 130px; }
    .contact__btn        { width: 100%; justify-content: center; min-height: 48px; }

    /* Footer */
    .footer__top    { flex-direction: column; gap: 24px; text-align: center; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer__links  { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

/* ============================================
   Responsive — Phones (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .nav__container { padding: 0 20px; }
    .hero__inner { padding-left: 20px; padding-right: 20px; }
    .about, .portfolio, .contact { padding: 48px 0; }
    .services  { padding-bottom: 48px; }
    .metrics   { padding: 40px 0; }
    .about__title, .services__title, .portfolio__title, .contact__title { font-size: 1.75rem; }
}

/* ============================================
   Responsive — Small phones (≤360px)
   ============================================ */
@media (max-width: 360px) {
    .container, .nav__container { padding: 0 16px; }
    .hero__inner { padding-left: 16px; padding-right: 16px; }
}

/* ============================================
   Landscape phones
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: calc(var(--nav-height) + 24px) 0 40px; }
    .hero__stats-bar { display: none; }
    .nav__links { gap: 16px; }
    .nav__links .nav__link { font-size: 1.125rem; min-height: 36px; }
}

/* ============================================
   Touch devices
   ============================================ */
@media (pointer: coarse) {
    .nav__link, .nav__cta, .footer__links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .contact__social { width: 44px; height: 44px; }
}

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

    html    { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
