:root {
    color-scheme: dark;
    --bg: #09111f;
    --bg-soft: #0f1c31;
    --surface: rgba(12, 20, 35, 0.74);
    --surface-strong: #13233d;
    --surface-muted: rgba(255, 255, 255, 0.05);
    --text: #eef4ff;
    --text-muted: #a7b6cf;
    --text-soft: #7e91ad;
    --line: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    --accent: #5eead4;
    --accent-cool: #60a5fa;
    --accent-warm: #f59e0b;
    --hero-grad: radial-gradient(circle at top left, rgba(94, 234, 212, 0.22), transparent 34%), radial-gradient(circle at 85% 12%, rgba(96, 165, 250, 0.2), transparent 28%), linear-gradient(180deg, #09111f 0%, #0d1627 100%);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
    --transition: 240ms ease;
}

body.light-theme {
    color-scheme: light;
    --bg: #f4f8fc;
    --bg-soft: #eaf0f8;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --surface-muted: rgba(9, 17, 31, 0.05);
    --text: #102037;
    --text-muted: #50627e;
    --text-soft: #6f819d;
    --line: rgba(16, 32, 55, 0.1);
    --shadow: 0 24px 64px rgba(30, 41, 59, 0.1);
    --hero-grad: radial-gradient(circle at top left, rgba(21, 184, 166, 0.16), transparent 34%), radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.16), transparent 28%), linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -44px;
    background: var(--accent);
    color: #06231f;
    padding: 10px 14px;
    border-radius: 12px;
    z-index: 999;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 104px 0;
}

.section-alt {
    background: linear-gradient(180deg, transparent 0%, var(--surface-muted) 100%);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2,
.contact-copy h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.section-heading p,
.contact-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.77rem;
    margin-bottom: 16px;
}

.section-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 0.98rem;
}

.brand-copy span {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--surface-muted);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle,
.theme-toggle,
.button,
.contact-card,
.back-to-top,
.project-button {
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.menu-toggle,
.theme-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.menu-toggle:hover,
.theme-toggle:hover,
.button:hover,
.contact-card:hover,
.back-to-top:hover,
.project-button:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
}

.button-sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #36cfc9 100%);
    color: #04151b;
    box-shadow: 0 12px 30px rgba(94, 234, 212, 0.22);
}

.button-secondary {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
}

.button-ghost {
    color: var(--text-muted);
    border-color: var(--line);
}

.hero {
    position: relative;
    background: var(--hero-grad);
    overflow: hidden;
}

.hero-grid {
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.eyebrow-pill,
.eyebrow-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-muted);
}

.eyebrow-pill {
    color: var(--accent);
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3rem, 8vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    max-width: 10ch;
}

.hero-role {
    margin-top: 20px;
    font-size: clamp(1.05rem, 2vw, 1.42rem);
    color: var(--accent-cool);
    font-weight: 700;
}

.hero-summary {
    margin-top: 18px;
    max-width: 62ch;
    font-size: 1.08rem;
    color: var(--text-muted);
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-metrics {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.metric-card,
.summary-card,
.expertise-card,
.skills-panel,
.project-card,
.testimonial-card,
.timeline-card,
.contact-form,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.metric-card {
    border-radius: var(--radius-md);
    padding: 20px;
}

.metric-value {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-socials {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.hero-socials a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}

.profile-showcase {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
}

.profile-frame {
    width: min(470px, 100%);
    aspect-ratio: 0.88;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(94, 234, 212, 0.25), rgba(96, 165, 250, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    padding: 16px;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.floating-card {
    position: absolute;
    max-width: 270px;
    padding: 18px 20px;
    background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.floating-card-top {
    top: 10%;
    left: -4%;
}

.floating-card-bottom {
    right: -2%;
    bottom: 10%;
}

.floating-title {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    margin-bottom: 8px;
}

.floating-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.floating-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.8;
}

.hero-orb-a {
    width: 260px;
    height: 260px;
    top: 12%;
    right: -80px;
    background: rgba(94, 234, 212, 0.12);
}

.hero-orb-b {
    width: 320px;
    height: 320px;
    left: -110px;
    bottom: 0;
    background: rgba(96, 165, 250, 0.11);
}

.proof-strip {
    padding: 20px 0 0;
}

.proof-grid,
.summary-grid,
.expertise-grid,
.project-grid,
.testimonial-grid {
    display: grid;
    gap: 22px;
}

.proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid div {
    padding: 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.proof-grid span {
    display: block;
    color: var(--text-soft);
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.proof-grid strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.24rem;
}

.summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card,
.skills-panel,
.testimonial-card,
.contact-form {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.summary-card h3,
.skills-panel h3,
.contact-form h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
}

.check-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 1px;
}

.expertise-section {
    padding-top: 52px;
}

.expertise-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.expertise-card {
    border-radius: 24px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(14px);
}

.expertise-card i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(94, 234, 212, 0.12);
    color: var(--accent);
    flex-shrink: 0;
}

.expertise-card span {
    font-weight: 700;
    line-height: 1.4;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.project-card {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent) 0%, var(--surface) 100%);
}

.project-media {
    position: relative;
    min-height: 255px;
    overflow: hidden;
}

.project-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 420ms ease, opacity 240ms ease, filter 420ms ease;
    z-index: 1;
}

.project-media.has-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 13, 24, 0.06) 0%, rgba(8, 13, 24, 0.16) 42%, rgba(8, 13, 24, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.project-preview {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: scale(1);
    transition: transform 420ms ease;
    z-index: 0;
}

.project-card:hover .project-preview,
.project-card:hover .project-thumbnail {
    transform: scale(1.08);
}

.project-card:hover .project-thumbnail {
    filter: saturate(1.08) contrast(1.02);
}

.project-media.has-thumbnail .project-preview {
    opacity: 0.18;
}

.project-overlay {
    position: absolute;
    inset: auto 16px 16px 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 12, 23, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    color: #f8fbff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 320ms ease, transform 320ms ease;
    z-index: 3;
}

body.light-theme .project-overlay {
    background: rgba(16, 32, 55, 0.74);
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.project-overlay p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #07151e;
    font-weight: 700;
}

.project-copy {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.project-copy h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.28rem;
    margin-bottom: 10px;
}

.project-copy p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.project-facts {
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: auto;
    padding-top: 10px;
}

.project-facts strong {
    color: var(--text);
}

.project-theme-fintech .project-preview {
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
}

.project-theme-telecom .project-preview {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
}

.project-theme-health .project-preview {
    background: linear-gradient(135deg, #0f766e 0%, #334155 100%);
}

.project-theme-enterprise .project-preview {
    background: linear-gradient(135deg, #334155 0%, #1d4ed8 100%);
}

.preview-topbar {
    height: 12px;
    width: 92px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.preview-columns,
.preview-grid,
.preview-cards,
.preview-table,
.preview-lines,
.preview-tags {
    display: grid;
    gap: 12px;
}

.preview-columns {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    min-height: 88px;
}

.preview-columns span,
.preview-grid span,
.preview-cards span,
.preview-table span,
.preview-lines span {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.17);
}

.preview-columns span:nth-child(1) { height: 46px; }
.preview-columns span:nth-child(2) { height: 74px; }
.preview-columns span:nth-child(3) { height: 62px; }
.preview-columns span:nth-child(4) { height: 96px; }

.preview-columns.dense {
    grid-template-columns: repeat(3, 1fr);
}

.preview-columns.dense span:nth-child(1) { height: 80px; }
.preview-columns.dense span:nth-child(2) { height: 52px; }
.preview-columns.dense span:nth-child(3) { height: 94px; }

.preview-grid {
    grid-template-columns: repeat(2, 1fr);
    min-height: 88px;
}

.preview-grid span:nth-child(1),
.preview-grid span:nth-child(2) {
    height: 34px;
}

.preview-grid span:nth-child(3),
.preview-grid span:nth-child(4) {
    height: 54px;
}

.preview-grid.wide span:nth-child(1),
.preview-grid.wide span:nth-child(2),
.preview-grid.wide span:nth-child(3),
.preview-grid.wide span:nth-child(4) {
    height: 46px;
}

.preview-cards span {
    height: 28px;
}

.preview-table span {
    height: 16px;
}

.preview-table.tall span:nth-child(1) { height: 18px; }
.preview-table.tall span:nth-child(2) { height: 18px; }
.preview-table.tall span:nth-child(3) { height: 18px; }
.preview-table.tall span:nth-child(4) { height: 18px; }
.preview-table.tall span:nth-child(5) { height: 18px; }

.preview-lines span:nth-child(1) { height: 18px; width: 100%; }
.preview-lines span:nth-child(2) { height: 18px; width: 72%; }
.preview-lines span:nth-child(3) { height: 18px; width: 86%; }

.preview-tags {
    grid-template-columns: repeat(3, 1fr);
}

.preview-tags span {
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fbff;
    font-size: 0.86rem;
}

.skills-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 22px;
}

.skill-cluster + .skill-cluster {
    margin-top: 24px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.skill-header span {
    font-weight: 700;
}

.skill-header strong {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pills span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--text-muted);
    border: 1px solid var(--line);
}

.strength-note {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.skill-bars .progress-row + .progress-row {
    margin-top: 18px;
}

.progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.progress-copy span {
    color: var(--text-muted);
}

.progress-track {
    height: 12px;
    border-radius: 999px;
    background: var(--surface-muted);
    overflow: hidden;
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-cool) 100%);
    transition: width 1s cubic-bezier(0.2, 1, 0.2, 1);
}

.timeline {
    position: relative;
    display: grid;
    gap: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 132px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    align-items: start;
}

.timeline-date {
    color: var(--accent);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.94rem;
    padding-top: 12px;
}

.timeline-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px 26px;
}

.timeline-card::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 28px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(94, 234, 212, 0.12);
}

.timeline-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.28rem;
}

.timeline-role {
    color: var(--accent-cool);
    font-weight: 700;
    margin: 6px 0 10px;
}

.timeline-card p:last-child {
    color: var(--text-muted);
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.testimonial-avatar-link {
    display: inline-flex;
}

.testimonial-meta {
    display: grid;
    gap: 4px;
}

.testimonial-meta:hover strong,
.testimonial-meta:hover span,
.testimonial-avatar-link:hover + .testimonial-meta strong {
    color: var(--accent);
}

.testimonial-author span {
    color: var(--text-soft);
    font-size: 0.93rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
}

.contact-card i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface-muted);
    color: var(--accent);
}

.contact-card div {
    display: grid;
}

.contact-card span {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--text);
    padding: 14px 16px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: color-mix(in srgb, var(--accent) 60%, white);
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
}

.form-note {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.form-status {
    min-height: 24px;
    font-size: 0.92rem;
    font-weight: 700;
}

.form-status[data-state="pending"] {
    color: var(--accent-cool);
}

.form-status[data-state="success"] {
    color: var(--accent);
}

.form-status[data-state="error"] {
    color: #fda4af;
}

.site-footer {
    padding: 28px 0 52px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
}

.footer-inner strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--text);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1200px) {
    .project-grid,
    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .skills-layout,
    .contact-grid,
    .summary-grid,
    .testimonial-grid,
    .project-grid,
    .proof-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 24px;
    }

    .profile-showcase {
        min-height: 540px;
    }

    .floating-card-top {
        left: 0;
    }

    .floating-card-bottom {
        right: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 42px;
    }

    .timeline-date {
        padding-top: 0;
    }

    .timeline-card::before {
        left: -28px;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: color-mix(in srgb, var(--bg) 90%, transparent);
        border: 1px solid var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .topbar-actions .button-sm {
        display: none;
    }

    .hero-actions,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 84px 0;
    }

    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    .topbar-inner {
        min-height: 76px;
    }

    .hero h1 {
        max-width: none;
    }

    .button {
        width: 100%;
    }

    .floating-card {
        position: relative;
        max-width: none;
    }

    .profile-showcase {
        gap: 16px;
        min-height: auto;
    }

    .contact-card {
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
