/* Gladwell Sibiya portfolio — responsive light/dark theme */
:root {
    color-scheme: light;
    --bg: #fff;
    --surface: #f4f6f9;
    --surface-2: #eef1f6;
    --text: #111827;
    --muted: #5e6878;
    --line: #dfe4ec;
    --blue: #2563eb;
    --blue-2: #60a5fa;
    --blue-soft: rgba(37, 99, 235, .1);
    --card-shadow: 0 18px 50px rgba(15, 23, 42, .07);
    --header: rgba(255, 255, 255, .86);
    --green: #16a34a;
    --font: 'Inter', sans-serif;
    --mono: 'Fira Code', monospace
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #080b12;
    --surface: #111722;
    --surface-2: #171f2d;
    --text: #f4f7fb;
    --muted: #a0adbf;
    --line: #273244;
    --blue: #60a5fa;
    --blue-2: #93c5fd;
    --blue-soft: rgba(96, 165, 250, .14);
    --card-shadow: 0 18px 50px rgba(0, 0, 0, .22);
    --header: rgba(8, 11, 18, .86);
    --green: #4ade80
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.7;
    transition: background .25s, color .25s
}

body,
button,
input,
textarea,
select {
    font-family: var(--font)
}

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

button {
    cursor: pointer
}

button,
input,
textarea,
select {
    font-size: inherit
}

::selection {
    background: var(--blue);
    color: #fff
}

.container {
    width: min(1140px, calc(100% - 44px));
    margin-inline: auto
}

.section {
    position: relative;
    padding: 50px 0;
    overflow: hidden
}

.section-alt {
    background: var(--surface)
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--blue);
    color: white;
    padding: 10px;
    z-index: 999
}

.skip-link:focus {
    left: 10px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    white-space: nowrap
}

.brand-mark {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--blue);
    background: var(--blue-soft);
    padding: 8px 10px;
    border-radius: 9px
}

.brand-name {
    font-size: 25px;
    letter-spacing: -.7px
}

.brand-name span {
    color: var(--blue)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px
}

.nav-link {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    transition: color .2s
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue)
}

.nav-hire {
    background: var(--blue);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap
}

.nav-hire i {
    margin-left: 6px
}

.theme-toggle {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    padding: 8px 10px;
    border-radius: 9px;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 8px;
    padding: 9px 12px
}

.hero {
    min-height: 650px;
    padding: 38px 0 38px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2
}

.hero-copy {
    position: relative;
    z-index: 2
}

.eyebrow {
    font: 600 11px var(--mono);
    letter-spacing: 1.2px;
    color: var(--blue);
    margin: 0 0 16px;
    text-transform: uppercase
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
    margin-right: 8px
}

.code-line {
    font: 12px var(--mono);
    color: var(--muted);
    margin: 0 0 16px
}

.code-muted {
    color: #8b95a5
}

.code-blue {
    color: var(--blue)
}

.code-green {
    color: #16a34a
}

.hero h1 {
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 0 0 20px;
    font-weight: 800
}

.gradient-text {
    color: var(--blue)
}

.hero-role {
    font: 500 clamp(14px, 1.5vw, 18px) var(--mono);
    margin: 0 0 20px;
    letter-spacing: -.4px
}

.code-bracket {
    color: var(--blue)
}

.hero-description {
    max-width: 540px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 28px
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid transparent;
    transition: transform .2s, background .2s, border-color .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .2)
}

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

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

.button-whatsapp {
    background: #16a34a;
    color: #fff
}

.hero-socials {
    display: flex;
    gap: 10px;
    margin-top: 28px
}

.hero-socials a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: all .2s
}

.hero-socials a:hover {
    color: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px)
}

.hero-visual {
    min-height: 430px;
    position: relative;
    display: grid;
    place-items: center
}

.visual-backdrop {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-soft), transparent 70%);
    filter: blur(8px)
}

.profile-frame {
    position: relative;
    padding: 12px;
    transform: rotate(2deg)
}

.profile-placeholder {
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(145deg, #0c1b36, #174aa5 55%, #77aaff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white
}

.profile-placeholder:before,
.profile-placeholder:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 300px;
    height: 300px
}

.profile-placeholder:after {
    width: 220px;
    height: 220px
}

.avatar-initials {
    font-size: 88px;
    font-weight: 800;
    letter-spacing: -8px;
    z-index: 1;
    text-shadow: 0 8px 30px #001338
}

.photo-hint {
    z-index: 1;
    font-size: 11px;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 7px 10px;
    border-radius: 20px;
    margin-top: 4px
}

.floating-card {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--muted);
    z-index: 3
}

.floating-card strong {
    display: block;
    color: var(--text);
    font-size: 12px
}

.card-code {
    top: 54px;
    left: -56px;
    display: block
}

.mini-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 5px
}

.card-status {
    right: -40px;
    bottom: 95px;
    color: var(--green);
    font-weight: 700
}

.floating-code {
    position: absolute;
    bottom: -22px;
    left: -42px;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 15px;
    font: 10px/1.9 var(--mono);
    color: var(--muted);
    z-index: 3
}

.hero-visual-caption {
    position: absolute;
    bottom: -12px;
    right: 10px;
    font: 10px var(--mono);
    color: var(--muted)
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .17;
    pointer-events: none
}

.glow-one {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: 0;
    right: -100px
}

.glow-two {
    width: 250px;
    height: 250px;
    background: #60a5fa;
    bottom: -100px;
    left: -100px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 70px;
    padding-top: 24px;
    gap: 20px
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.stat strong {
    font-size: 27px;
    letter-spacing: -1px
}

.stat strong span {
    color: var(--blue)
}

.stat>span {
    font-size: 11px;
    color: var(--muted)
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center
}

.section-heading .eyebrow {
    margin-bottom: 10px
}

.section-heading h2 {
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.7px;
    margin: 0 0 14px
}

.section-heading>p:last-child {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
    align-items: start
}

.about-note {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 110px
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    padding: 13px 15px;
    border-bottom: 1px solid var(--line)
}

.terminal-bar>span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f87171
}

.terminal-bar>span:nth-child(2) {
    background: #fbbf24
}

.terminal-bar>span:nth-child(3) {
    background: #4ade80
}

.terminal-bar small {
    font: 10px var(--mono);
    color: var(--muted);
    margin-left: 8px
}

.terminal-content {
    padding: 28px 24px;
    font: 12px/2.3 var(--mono);
    color: var(--text)
}

.terminal-content p {
    margin: 0
}

.terminal-content .indent {
    padding-left: 20px
}

.about-copy h3 {
    font-size: 22px;
    margin: 0 0 14px;
    letter-spacing: -.6px
}

.about-copy p {
    font-size: 13px;
    color: var(--muted);
    line-height: 2;
    margin: 0 0 14px
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px
}

.about-tags span {
    font-size: 10px;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-soft);
    padding: 8px 10px;
    border-radius: 7px
}

.about-tags i {
    margin-right: 5px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.service-card {
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 14px;
    padding: 25px;
    transition: transform .2s, border-color .2s;
    box-shadow: 0 6px 25px rgba(15, 23, 42, .025)
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue)
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 18px;
    margin-bottom: 20px
}

.service-card h3 {
    font-size: 15px;
    margin: 0 0 9px
}

.service-card p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    min-height: 88px;
    margin: 0 0 18px
}

.text-link {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    display: inline-flex;
    gap: 8px;
    align-items: center
}

.text-link i {
    transition: transform .2s
}

.text-link:hover i {
    transform: translateX(4px)
}

.small-note {
    font-size: 10px;
    color: var(--muted);
    margin: 22px 0 0
}

.small-note i {
    color: var(--blue);
    margin-right: 5px
}

.skills-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.skill-group {
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 14px;
    padding: 24px
}

.skill-group h3 {
    font-size: 14px;
    margin: 0 0 20px
}

.skill-group h3 i {
    color: var(--blue);
    margin-right: 7px
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

.skill-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted)
}

.skill-list span i {
    color: var(--blue);
    font-size: 13px
}

.skill-list .learning {
    border-style: dashed
}

.social-panel {
    margin-top: 24px;
    padding: 25px 28px;
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.social-panel .eyebrow {
    margin-bottom: 5px
}

.social-panel h3 {
    font-size: 18px;
    margin: 0
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.social-links a {
    font-size: 11px;
    font-weight: 700;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.social-links a i {
    color: var(--blue);
    margin-right: 5px
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.project-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg);
    transition: transform .2s, border-color .2s
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue)
}

.project-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: .85fr 1.15fr
}

.project-art {
    height: 205px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1f3a;
    color: white
}

.project-featured .project-art {
    height: 100%;
    min-height: 300px
}

.parking-art {
    background: linear-gradient(135deg, #0b1f3a, #1d4ed8)
}

.mkg-art {
    background: linear-gradient(135deg, #121826, #3b4c66)
}

.ai-art {
    background: linear-gradient(135deg, #101827, #4338ca)
}

.art-label {
    position: absolute;
    top: 18px;
    left: 20px;
    font: 9px var(--mono);
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .7)
}

.parking-symbol {
    font-size: 88px;
    color: #fff;
    opacity: .9
}

.mkg-symbol {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -6px
}

.mkg-symbol span {
    color: #60a5fa
}

.ai-symbol {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 32px
}

.ai-symbol i:nth-child(2) {
    font-size: 18px;
    color: #93c5fd
}

.art-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(transparent, #000)
}

.project-content {
    padding: 23px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 12px
}

.project-status {
    border-radius: 20px;
    padding: 4px 8px;
    font-weight: 800
}

.status-progress {
    color: #b45309;
    background: #fef3c7
}

.status-planned {
    color: #6d28d9;
    background: #ede9fe
}

.project-content h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 10px;
    letter-spacing: -.4px
}

.project-content p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    margin: 0 0 16px
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 20px
}

.tech-tags span {
    font: 9px var(--mono);
    color: var(--muted);
    background: var(--surface);
    padding: 6px 8px;
    border-radius: 5px
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 65px;
    align-items: start
}

.contact-copy h3 {
    font-size: 23px;
    letter-spacing: -.8px;
    margin: 0 0 12px
}

.contact-copy>p {
    font-size: 13px;
    color: var(--muted);
    line-height: 2;
    margin: 0 0 28px
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 18px 0
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 17px
}

.contact-method small,
.contact-method strong {
    display: block
}

.contact-method small {
    font-size: 10px;
    color: var(--muted)
}

.contact-method strong {
    font-size: 12px;
    overflow-wrap: anywhere
}

.availability {
    font-size: 10px;
    color: var(--muted);
    margin-top: 30px
}

.contact-form {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--card-shadow)
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px
}

.form-row label {
    font-size: 11px;
    font-weight: 700
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 8px;
    padding: 12px 13px;
    outline: none;
    font-size: 12px;
    transition: border-color .2s
}

.form-row textarea {
    resize: vertical
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--blue)
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: var(--muted);
    opacity: .8
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.form-hint {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin: 15px 0 0
}

.form-status {
    font-size: 11px;
    color: var(--blue);
    margin: 8px 0 0
}

.cta-strip {
    padding: 45px 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.cta-inner .eyebrow {
    margin-bottom: 5px
}

.cta-inner h2 {
    font-size: 23px;
    letter-spacing: -.7px;
    margin: 0
}

.site-footer {
    padding: 25px 0
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.footer-inner p {
    font-size: 10px;
    color: var(--muted);
    margin: 0
}

.cv-dialog {
    width: min(900px, calc(100% - 24px));
    height: min(92vh, 900px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 25px 100px rgba(0, 0, 0, .4)
}

.cv-dialog::backdrop {
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(4px)
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line)
}

.dialog-header .eyebrow {
    margin: 0 0 3px
}

.dialog-header h2 {
    font-size: 18px;
    margin: 0
}

.icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 8px
}

.cv-dialog iframe {
    display: block;
    width: 100%;
    height: calc(100% - 145px);
    border: 0;
    background: #fff
}

.dialog-actions {
    display: flex;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid var(--line)
}

@media(max-width:1000px) {
    .nav-links {
        gap: 12px
    }

    .nav-link {
        font-size: 11px
    }

    .hero-grid {
        gap: 35px
    }

    .card-code {
        left: -25px
    }

    .card-status {
        right: -25px
    }

    .floating-code {
        left: -20px
    }

    .about-grid {
        gap: 30px
    }

    .social-panel {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:800px) {
    .section {
        padding: 50px 0
    }

    .menu-toggle {
        display: block
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 18px 22px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav-links.open {
        display: flex
    }

    .nav-link {
        padding: 11px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px
    }

    .nav-hire {
        margin-top: 13px;
        text-align: center
    }

    .theme-toggle {
        justify-content: center;
        margin-top: 12px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .hero {
        padding-top: 30px
    }

    .hero-copy {
        max-width: 620px
    }

    .hero-visual {
        min-height: 420px;
        margin: 5px auto 0;
        width: min(100%, 500px)
    }

    .stats {
        margin-top: 35px
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .about-note {
        position: static
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .skills-layout {
        grid-template-columns: 1fr
    }

    .project-featured {
        grid-template-columns: 1fr
    }

    .project-featured .project-art {
        min-height: 210px
    }

    .contact-copy {
        max-width: 650px
    }

    .social-panel {
        flex-direction: column
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-inner {
        flex-wrap: wrap
    }

    .footer-inner p:first-of-type {
        order: 3;
        width: 100%
    }
}

@media(max-width:520px) {
    .container {
        width: min(100% - 30px, 1140px)
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px
    }

    .hero-role {
        font-size: 12px
    }

    .hero-actions .button {
        flex: 1
    }

    .hero-visual {
        min-height: 360px
    }

    .profile-frame {
        height: 315px;
        width: 280px
    }

    .card-code {
        left: -8px;
        top: 30px
    }

    .card-status {
        right: -5px;
        bottom: 75px
    }

    .floating-code {
        left: -5px;
        bottom: -12px;
        font-size: 9px
    }

    .hero-visual-caption {
        right: 0;
        bottom: -26px
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px
    }

    .stat strong {
        font-size: 24px
    }

    .section-heading {
        margin-bottom: 32px
    }

    .section-heading h2 {
        font-size: 31px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-card p {
        min-height: 0
    }

    .project-grid {
        grid-template-columns: 1fr
    }

    .project-featured {
        grid-column: auto
    }

    .project-featured .project-art {
        min-height: 190px
    }

    .project-meta {
        align-items: flex-start;
        flex-direction: column
    }

    .contact-form {
        padding: 18px
    }

    .form-actions .button {
        width: 100%
    }

    .social-links {
        gap: 7px
    }

    .social-links a {
        font-size: 10px
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-inner p:first-of-type {
        order: 0
    }

    .cv-dialog {
        height: 94vh
    }

    .dialog-actions {
        flex-wrap: wrap
    }

    .dialog-actions .button {
        flex: 1
    }
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}
