/* =========================================================
   Rolyn Gámez — Portfolio / Sprint 1
   ========================================================= */

:root {
    --orange: #ff8a00;
    --orange-soft: #ffb45b;
    --blue-dark: #07364d;
    --blue: #289fbe;
    --bg: #07131c;
    --bg-elevated: #0b1b27;
    --surface: rgba(255,255,255,.055);
    --surface-strong: rgba(255,255,255,.085);
    --text: #f4f8fb;
    --text-muted: #9db0bf;
    --border: rgba(255,255,255,.11);
    --header: rgba(7,19,28,.78);
    --shadow: 0 28px 80px rgba(0,0,0,.32);
    --container: 1180px;
    --radius-lg: 30px;
    --radius-md: 20px;
    --transition: 220ms ease;
}

html[data-theme="light"] {
    --bg: #f5f7f9;
    --bg-elevated: #ffffff;
    --surface: rgba(7,54,77,.055);
    --surface-strong: rgba(7,54,77,.09);
    --text: #102532;
    --text-muted: #607583;
    --border: rgba(7,54,77,.13);
    --header: rgba(245,247,249,.86);
    --shadow: 0 28px 80px rgba(14,42,58,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(40,159,190,.11), transparent 28rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    transition: background var(--transition), color var(--transition);
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: .75rem 1rem;
    transform: translateY(-160%);
    border-radius: 10px;
    color: white;
    background: var(--orange);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 120px 0; }
.section-muted {
    background: linear-gradient(180deg, transparent, var(--surface), transparent);
}
.section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 820px);
    gap: 24px;
    align-items: start;
    margin-bottom: 64px;
}
.section-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--orange);
    font-size: .82rem;
    font-weight: 800;
}
.section-kicker {
    margin: 0 0 10px;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.section-heading h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.1rem, 4.5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -.045em;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.site-header.scrolled {
    border-color: var(--border);
    background: var(--header);
    backdrop-filter: blur(18px);
}
.nav-shell {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: .98rem; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--text-muted); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.primary-nav a { color: var(--text-muted); font-size: .88rem; font-weight: 650; transition: color var(--transition); }
.primary-nav a:hover { color: var(--text); }
.primary-nav .nav-contact {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
}
.nav-actions { display: flex; gap: 9px; }
.icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    background: var(--surface);
    transition: transform var(--transition), background var(--transition);
}
.icon-button:hover { transform: translateY(-2px); background: var(--surface-strong); }
.theme-icon { width: 18px; height: 18px; }
html[data-theme="dark"] .theme-icon.sun,
html[data-theme="light"] .theme-icon.moon { display: none; }
.language-label { font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
}
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; }

/* Hero */
.hero {
    display: grid;
    min-height: 100svh;
    align-items: center;
    padding-top: 150px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    gap: 70px;
    align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--surface);
    font-size: .78rem;
    font-weight: 650;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ee29b;
    box-shadow: 0 0 0 6px rgba(94,226,155,.12);
}
.hero-intro { margin: 0 0 4px; color: var(--text-muted); font-size: 1.15rem; }
.hero h1 {
    margin: 0;
    font-size: clamp(4rem, 8vw, 7.7rem);
    line-height: .91;
    letter-spacing: -.075em;
}
.hero h1 span {
    color: transparent;
    background: linear-gradient(110deg, var(--orange), var(--orange-soft));
    -webkit-background-clip: text;
    background-clip: text;
}
.hero-role {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 25px 0 24px;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero-role i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.hero h2 {
    max-width: 700px;
    margin: 0 0 20px;
    font-size: clamp(1.55rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -.04em;
}
.hero-description {
    max-width: 690px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .89rem;
    font-weight: 800;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.button:hover { transform: translateY(-3px); }
.button svg { width: 18px; height: 18px; }
.button-primary { border-color: var(--orange); color: #15100a; background: var(--orange); }
.button-secondary { background: var(--surface); }
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 690px;
    gap: 18px;
    margin-top: 50px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero-metrics div { display: grid; }
.hero-metrics strong { font-size: 1.45rem; letter-spacing: -.03em; }
.hero-metrics span { color: var(--text-muted); font-size: .75rem; }

.hero-visual { position: relative; min-height: 625px; }
.portrait-card {
    position: relative;
    width: min(100%, 500px);
    margin-inline: auto;
    padding: 20px;
}
.portrait-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: .77;
    border: 1px solid var(--border);
    border-radius: 46% 46% 30px 30px;
    background: linear-gradient(160deg, rgba(40,159,190,.2), rgba(255,138,0,.12));
    box-shadow: var(--shadow);
}
.portrait-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 60%, rgba(7,19,28,.28));
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.portrait-glow {
    position: absolute;
    inset: 15% 0 0 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,138,0,.28), rgba(40,159,190,.16) 40%, transparent 70%);
    filter: blur(35px);
}
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--header);
    box-shadow: 0 15px 42px rgba(0,0,0,.2);
    backdrop-filter: blur(16px);
}
.floating-card div { display: grid; }
.floating-card small { color: var(--text-muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.floating-card strong { font-size: .82rem; }
.floating-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: #111;
    background: var(--orange);
    font-size: .72rem;
    font-weight: 900;
}
.card-code { top: 24%; left: -18px; }
.card-location { right: -18px; bottom: 21%; }
.card-location .floating-icon { color: white; background: var(--blue-dark); }
.tech-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
}
.tech-strip span, .card-tags span {
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: var(--surface);
    font-size: .7rem;
    font-weight: 750;
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.hero-orb-one {
    top: 9%;
    right: -190px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,138,0,.12);
}
.hero-orb-two {
    bottom: 4%;
    left: -170px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(40,159,190,.14);
}
.scroll-hint {
    position: absolute;
    right: 30px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: .69rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right center;
}
.scroll-hint i { display: block; width: 55px; height: 1px; background: var(--border); }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}
.about-story .lead { margin-top: 0; color: var(--text); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.42; }
.about-story p:not(.lead) { color: var(--text-muted); }
.signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.signature img { width: 54px; height: 54px; object-fit: contain; }
.signature div { display: grid; }
.signature span { color: var(--text-muted); font-size: .8rem; }
.about-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-highlights article {
    min-height: 215px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform var(--transition), background var(--transition);
}
.about-highlights article:hover { transform: translateY(-5px); background: var(--surface-strong); }
.about-highlights article > span { color: var(--orange); font-size: .72rem; font-weight: 900; }
.about-highlights h3 { margin: 28px 0 8px; font-size: 1.08rem; }
.about-highlights p { margin: 0; color: var(--text-muted); font-size: .86rem; }

/* Foundation */
.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.foundation-card {
    position: relative;
    min-height: 335px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--surface-strong), transparent);
}
.foundation-card::after {
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 170px;
    height: 170px;
    border: 1px solid var(--border);
    border-radius: 50%;
    content: "";
}
.card-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #17100a;
    background: var(--orange);
    font-weight: 900;
}
.foundation-card:nth-child(2) .card-index { color: white; background: var(--blue); }
.foundation-card:nth-child(3) .card-index { color: white; background: var(--blue-dark); }
.foundation-card h3 { margin: 74px 0 11px; font-size: 1.65rem; }
.foundation-card p { margin: 0; color: var(--text-muted); }
.card-tags { position: absolute; z-index: 1; left: 34px; bottom: 30px; display: flex; flex-wrap: wrap; gap: 7px; }

.roadmap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    margin-top: 90px;
    padding: 38px 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(110deg, rgba(255,138,0,.1), rgba(40,159,190,.08));
}
.roadmap-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.roadmap h3 { margin: 0 0 8px; font-size: 1.6rem; }
.roadmap p { max-width: 720px; margin: 0; color: var(--text-muted); }
.roadmap-progress { display: flex; align-items: center; gap: 15px; min-width: 230px; }
.progress-track { flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-strong); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--blue)); }

/* Footer */
.site-footer { padding: 70px 0 26px; border-top: 1px solid var(--border); background: var(--bg-elevated); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand div, .footer-contact { display: grid; }
.footer-brand span, .footer-contact span { color: var(--text-muted); font-size: .78rem; }
.footer-contact a { margin-top: 4px; color: var(--orange); font-weight: 750; }
.footer-socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 17px; }
.footer-socials a { color: var(--text-muted); font-size: .78rem; font-weight: 700; }
.footer-socials a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: .72rem;
}

/* Reveal animations */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 750ms ease, transform 750ms cubic-bezier(.2,.75,.3,1);
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal-delay-small { transition-delay: 90ms; }
.js .reveal-delay { transition-delay: 170ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
    .primary-nav {
        position: fixed;
        inset: 84px 20px auto;
        display: grid;
        gap: 8px;
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: 22px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        background: var(--bg-elevated);
        box-shadow: var(--shadow);
        transition: var(--transition);
    }
    .primary-nav.open { visibility: visible; opacity: 1; transform: none; }
    .primary-nav a { padding: 13px 14px; border-radius: 12px; }
    .primary-nav a:hover { background: var(--surface); }
    .menu-toggle { display: block; margin-left: auto; cursor: pointer; }
    .nav-actions { order: 4; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 780px; }
    .hero-visual { min-height: auto; padding-top: 20px; }
    .portrait-card { max-width: 540px; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .foundation-grid { grid-template-columns: 1fr; }
    .foundation-card { min-height: 285px; }
    .roadmap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-socials { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 88px 0; }
    .nav-shell { min-height: 74px; }
    .brand small { display: none; }
    .brand img { width: 39px; height: 39px; }
    .primary-nav { inset-top: 74px; }
    .language-toggle { display: none; }
    .hero { padding-top: 125px; padding-bottom: 80px; }
    .hero-grid { gap: 45px; }
    .hero h1 { font-size: clamp(3.75rem, 18vw, 5.6rem); }
    .hero-role { font-size: .64rem; }
    .hero-description { font-size: .96rem; }
    .hero-actions { display: grid; }
    .hero-metrics { grid-template-columns: 1fr; gap: 13px; }
    .hero-metrics div { grid-template-columns: 65px 1fr; align-items: center; }
    .portrait-card { padding: 8px; }
    .floating-card { padding: 10px 12px; }
    .card-code { left: -5px; }
    .card-location { right: -5px; }
    .scroll-hint { display: none; }
    .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 42px; }
    .section-heading h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .about-highlights { grid-template-columns: 1fr; }
    .about-highlights article { min-height: auto; }
    .foundation-card { min-height: 315px; padding: 28px; }
    .card-tags { left: 28px; }
    .roadmap { padding: 30px 25px; }
    .roadmap-progress { min-width: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-socials { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}


/* =========================================================
   Sprint 2 — Projects, experience, technologies and services
   ========================================================= */

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    transition: transform var(--transition), border-color var(--transition);
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(255,138,0,.4); }
.project-featured { grid-column: span 2; display: grid; grid-template-columns: 1.1fr .9fr; }
.project-visual {
    position: relative;
    display: grid;
    min-height: 330px;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,138,0,.22), transparent 35%),
        radial-gradient(circle at 80% 85%, rgba(40,159,190,.2), transparent 35%),
        linear-gradient(145deg, #0b2636, #07131c);
}
.project-card:not(.project-featured) .project-visual { min-height: 255px; }
.project-watermark {
    position: absolute;
    right: 24px;
    bottom: -26px;
    color: rgba(255,255,255,.06);
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -.08em;
}
.project-window {
    position: relative;
    width: 74%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    background: rgba(6,17,25,.82);
    box-shadow: 0 35px 70px rgba(0,0,0,.36);
    transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
}
.window-bar { display: flex; gap: 5px; padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.09); }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
.window-bar i:first-child { background: var(--orange); }
.window-content { padding: 20px; }
.window-content > span { display: block; height: 9px; margin-bottom: 9px; border-radius: 999px; background: rgba(255,255,255,.09); }
.window-content > span:nth-child(1) { width: 42%; background: rgba(40,159,190,.45); }
.window-content > span:nth-child(2) { width: 78%; }
.window-content > span:nth-child(3) { width: 58%; }
.window-chart { display: flex; height: 85px; align-items: end; gap: 10px; margin-top: 24px; }
.window-chart b { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--orange), rgba(255,138,0,.25)); }
.window-chart b:nth-child(1) { height: 38%; }
.window-chart b:nth-child(2) { height: 70%; }
.window-chart b:nth-child(3) { height: 52%; }
.window-chart b:nth-child(4) { height: 92%; background: linear-gradient(180deg, var(--blue), rgba(40,159,190,.22)); }
.project-copy { padding: 34px; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: .72rem; }
.project-meta span { color: var(--orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-copy h3 { margin: 26px 0 12px; font-size: clamp(1.5rem, 2.5vw, 2.25rem); letter-spacing: -.04em; }
.project-copy p { margin: 0; color: var(--text-muted); }
.project-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.project-stack span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .68rem; font-weight: 750; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--text); font-size: .82rem; font-weight: 800; }
.project-link svg { width: 17px; height: 17px; }
.project-private { display: block; margin-top: 28px; color: var(--text-muted); font-size: .75rem; }

/* Timeline */
.timeline { position: relative; }
.timeline::before { position: absolute; top: 0; bottom: 0; left: 29px; width: 1px; content: ""; background: var(--border); }
.timeline-item { display: grid; grid-template-columns: 60px 180px 1fr; gap: 28px; align-items: start; padding: 0 0 42px; }
.timeline-marker { position: relative; z-index: 1; display: grid; width: 60px; place-items: start center; }
.timeline-marker span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--orange); background: var(--bg); font-size: .7rem; font-weight: 900; }
.timeline-years { padding-top: 9px; color: var(--text-muted); font-size: .79rem; font-weight: 750; }
.timeline-content { padding: 0 0 34px; border-bottom: 1px solid var(--border); }
.timeline-content p { margin: 0 0 7px; color: var(--orange); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.timeline-content h3 { margin: 0 0 8px; font-size: 1.35rem; }
.timeline-content span { color: var(--text-muted); }

/* Technologies */
.technology-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.technology-card { min-height: 230px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface-strong), transparent); }
.technology-card h3 { margin: 0 0 25px; font-size: 1.05rem; }
.technology-list { display: flex; flex-wrap: wrap; gap: 9px; }
.technology-list span { padding: 8px 11px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-muted); background: var(--surface); font-size: .72rem; font-weight: 750; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card { min-height: 310px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); }
.service-index { color: var(--orange); font-size: .73rem; font-weight: 900; }
.service-card h3 { margin: 50px 0 12px; font-size: 1.35rem; }
.service-card p { margin: 0; color: var(--text-muted); }
.service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--text); font-size: .75rem; font-weight: 800; }
.service-card a svg { width: 16px; height: 16px; }

/* Contact */
.contact-shell {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 70px;
    align-items: center;
    padding: 60px;
    border: 1px solid var(--border);
    border-radius: 36px;
    background:
        radial-gradient(circle at 0 0, rgba(255,138,0,.13), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(40,159,190,.12), transparent 35%),
        var(--bg-elevated);
}
.contact-copy h2 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2.25rem, 4vw, 4.3rem); line-height: 1.03; letter-spacing: -.055em; }
.contact-copy > p:not(.section-kicker) { max-width: 650px; color: var(--text-muted); }
.contact-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--orange); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; }
.contact-email svg { width: 20px; height: 20px; }
.contact-panel { padding: 30px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.contact-status { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: .82rem; }
.contact-status i { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #5ee29b; box-shadow: 0 0 0 6px rgba(94,226,155,.12); }
.contact-details { display: grid; gap: 20px; padding: 25px 0; }
.contact-details div { display: grid; }
.contact-details small { color: var(--text-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { margin-top: 4px; font-size: .86rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid var(--border); }
.contact-socials a { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .68rem; font-weight: 750; }

@media (max-width: 980px) {
    .project-featured { grid-column: auto; display: block; }
    .projects-grid { grid-template-columns: 1fr; }
    .technology-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-shell { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 680px) {
    .project-copy { padding: 25px; }
    .project-visual, .project-card:not(.project-featured) .project-visual { min-height: 220px; }
    .timeline-item { grid-template-columns: 52px 1fr; gap: 14px; }
    .timeline-years { grid-column: 2; padding-top: 0; }
    .timeline-content { grid-column: 2; }
    .timeline::before { left: 25px; }
    .timeline-marker { width: 52px; }
    .technology-grid, .services-grid { grid-template-columns: 1fr; }
    .contact-shell { padding: 34px 24px; border-radius: 26px; }
}


/* Sprint 3 */
.project-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center}.project-link-muted{color:var(--text-muted)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card{display:flex;min-height:330px;flex-direction:column;padding:30px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-elevated)}.post-meta{display:flex;justify-content:space-between;gap:14px;color:var(--text-muted);font-size:.7rem}.post-meta span{color:var(--orange);font-weight:850;letter-spacing:.08em;text-transform:uppercase}.post-card h3,.post-card h2{margin:50px 0 12px;font-size:1.45rem;line-height:1.2}.post-card p{margin:0;color:var(--text-muted)}.post-card a{margin-top:auto;padding-top:28px;font-size:.78rem;font-weight:850}.section-cta{display:flex;justify-content:center;margin-top:40px}
.internal-page{padding-top:84px}.internal-nav{display:flex;gap:25px;margin-left:auto}.internal-nav a{color:var(--text-muted);font-size:.82rem;font-weight:750}.detail-hero{padding-top:90px}.detail-hero-grid{display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center}.detail-hero h1,.blog-hero h1,.article-header h1{margin:15px 0 22px;font-size:clamp(3rem,7vw,6.6rem);line-height:.95;letter-spacing:-.065em}.detail-lead,.blog-hero p,.article-header>div>p{max-width:780px;color:var(--text-muted);font-size:1.08rem}.back-link{display:inline-block;margin-bottom:35px;color:var(--text-muted);font-size:.8rem;font-weight:750}.detail-visual{display:grid;min-height:450px;place-items:center;border:1px solid var(--border);border-radius:32px;background:radial-gradient(circle at 20% 20%,rgba(255,138,0,.22),transparent 35%),radial-gradient(circle at 80% 80%,rgba(40,159,190,.2),transparent 35%),#07131c}.detail-visual .project-window{width:78%}.case-grid{display:grid;grid-template-columns:280px 1fr;gap:80px}.case-sidebar{position:sticky;top:120px;align-self:start;display:grid;gap:24px;padding:27px;border:1px solid var(--border);border-radius:22px;background:var(--bg-elevated)}.case-sidebar div{display:grid}.case-sidebar small{color:var(--text-muted);font-size:.67rem;text-transform:uppercase;letter-spacing:.1em}.case-sidebar strong{margin-top:5px;font-size:.85rem}.case-content{display:grid;gap:70px}.case-content article>span{color:var(--orange);font-weight:900}.case-content h2{margin:12px 0 18px;font-size:clamp(2rem,4vw,3.5rem)}.case-content p,.case-content li{color:var(--text-muted);font-size:1.04rem}.case-content ul{padding-left:22px}.next-project{text-align:center}.next-project h2{max-width:800px;margin:0 auto 28px;font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.08}.blog-hero{padding-bottom:70px}.blog-hero h1{max-width:1000px}.article-container{width:min(calc(100% - 40px),800px);margin-inline:auto}.article-header{padding-bottom:70px}.article-body{padding-top:75px}.article-body p{margin:0 0 28px;color:var(--text-muted);font-size:1.15rem;line-height:1.85}.article-body p:first-child{color:var(--text);font-size:1.35rem}.article-author{display:flex;align-items:center;gap:15px;margin-top:55px;padding-top:30px;border-top:1px solid var(--border)}.article-author img{width:52px;height:52px;object-fit:contain}.article-author div{display:grid}.article-author span{color:var(--text-muted);font-size:.78rem}.cv-button{margin-top:14px}.install-toast{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:15px;background:var(--bg-elevated);box-shadow:var(--shadow)}.install-toast button{border:0;border-radius:999px;padding:8px 12px;background:var(--orange);font-weight:800;cursor:pointer}
@media(max-width:980px){.post-grid{grid-template-columns:1fr 1fr}.detail-hero-grid{grid-template-columns:1fr}.case-grid{grid-template-columns:1fr}.case-sidebar{position:static}.internal-nav{display:none}}
@media(max-width:680px){.post-grid{grid-template-columns:1fr}.post-card{min-height:280px}.detail-hero h1,.blog-hero h1,.article-header h1{font-size:clamp(2.8rem,14vw,4.5rem)}.detail-visual{min-height:300px}.case-content{gap:45px}}

.project-visual.has-cover{background-position:center;background-size:cover}.project-visual.has-cover::after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,#07131c22,#07131ccc)}.project-visual.has-cover .project-window,.project-visual.has-cover .project-watermark{opacity:0}
