:root{
    --bg:#080d19;
    --bg-soft:#0c1424;
    --panel:#101b2e;
    --panel-light:#14223a;
    --line:rgba(157,183,221,.14);
    --text:#f4f7fc;
    --muted:#9aa9bf;
    --cyan:#5ee7f7;
    --blue:#5b8cff;
    --purple:#a78bfa;
    --radius:22px;
    --container:1120px
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth;
    scroll-padding-top:92px
}
body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Manrope,sans-serif;
    line-height:1.7;
    overflow-x:hidden
}
body:before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:.13;
    z-index:-1;
    background-image:radial-gradient(rgba(155,180,220,.3) .6px,transparent .6px);
    background-size:24px 24px
}
a{
    color:inherit;
    text-decoration:none
}
button,a{
    -webkit-tap-highlight-color:transparent
}
.container{
    width:min(var(--container),calc(100% - 48px));
    margin-inline:auto
}
.ambient{
    position:absolute;
    width:430px;
    height:430px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.12;
    pointer-events:none;
    z-index:-1
}
.ambient-one{
    background:#1c82d8;
    top:120px;
    right:-140px
}
.ambient-two{
    background:#7857ef;
    top:1000px;
    left:-260px
}
.site-header{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(8,13,25,.82);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(157,183,221,.09)
}
.nav{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between
}
.brand{
    font-size:1.35rem;
    font-weight:800;
    letter-spacing:-.07em
}
.brand span{
    color:var(--cyan)
}
.nav-links{
    display:flex;
    align-items:center;
    gap:34px;
    color:#b8c5d8;
    font-size:.87rem;
    font-weight:700
}
.nav-links a{
    transition:color .2s
}
.nav-links a:hover{
    color:var(--cyan)
}
.nav-links .nav-contact{
    color:var(--text);
    border:1px solid var(--line);
    border-radius:999px;
    padding:9px 16px
}
.nav-contact span{
    color:var(--cyan);
    margin-left:8px
}
.menu-toggle{
    display:none;
    background:none;
    border:0;
    color:var(--text)
}
.section{
    padding-top:112px;
    padding-bottom:30px
}
.hero{
    min-height:680px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    align-items:center;
    gap:40px;
    position:relative;
    padding-top:80px;
    padding-bottom:110px
}
.eyebrow{
    font:500 .7rem/1.5 "DM Mono",monospace;
    letter-spacing:.14em;
    color:var(--cyan);
    text-transform:uppercase
}
.status-dot{
    display:inline-block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#72f0bd;
    box-shadow:0 0 12px #72f0bd;
    margin-right:8px
}
.intro-line{
    margin:25px 0 0;
    color:#b7c4d7;
    font-size:1.1rem
}
.hero h1{
    font-size:clamp(3.4rem,6.2vw,5.8rem);
    line-height:1.04;
    letter-spacing:-.075em;
    margin:8px 0 18px;
    font-weight:800
}
.hero h1 span{
    background:linear-gradient(110deg,#f4f7fc 12%,#9fbaff 52%,#5ee7f7 95%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent
}
.hero h2{
    font-size:clamp(1.05rem,2vw,1.42rem);
    font-weight:600;
    letter-spacing:-.03em;
    margin:0 0 20px;
    color:#d8e2f1
}
.gradient-text{
    background:linear-gradient(100deg,var(--cyan),#8ba9ff 85%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent
}
.hero-description{
    max-width:560px;
    color:var(--muted);
    font-size:1rem;
    line-height:1.9
}
.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:30px
}
.button{
    min-height:48px;
    padding:12px 19px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    font-size:.86rem;
    font-weight:800;
    transition:transform .2s,border-color .2s,box-shadow .2s
}
.button:hover{
    transform:translateY(-3px)
}
.button-primary{
    background:linear-gradient(110deg,#66e6f5,#75b9ff);
    color:#07111f;
    box-shadow:0 8px 30px rgba(83,205,240,.14)
}
.button-primary:hover{
    box-shadow:0 12px 38px rgba(83,205,240,.25)
}
.button-ghost{
    border:1px solid rgba(174,196,229,.2);
    background:rgba(255,255,255,.025);
    color:#dce7f8
}
.button-ghost:hover{
    border-color:rgba(94,231,247,.6)
}
.hero-meta{
    display:flex;
    gap:22px;
    flex-wrap:wrap;
    margin-top:40px;
    color:#7f91ab;
    font-size:.76rem
}
.meta-icon{
    color:var(--cyan);
    margin-right:7px
}
/* =========================================
   HERO ART & CODE CARD
========================================= */

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

.orbit {
    position: absolute;
    border: 1px solid rgba(106, 171, 255, 0.16);
    border-radius: 50%;
    transform: rotate(-23deg);
}

.orbit-large {
    width: 440px;
    height: 330px;
}

.orbit-small {
    width: 350px;
    height: 250px;
    transform: rotate(38deg);
    border-color: rgba(94, 231, 247, 0.12);
}

.code-card {
    position: relative;
    width: min(100%, 410px);
    border: 1px solid rgba(155, 187, 234, 0.2);
    background: linear-gradient(
        145deg,
        rgba(20, 34, 57, 0.96),
        rgba(9, 17, 31, 0.96)
    );
    border-radius: 17px;
    overflow: hidden;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35),
        0 0 55px rgba(66, 132, 220, 0.08);
    transform: rotate(1deg);
}

.code-top,
.code-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 17px;
    background: rgba(255, 255, 255, 0.025);
    color: #8b9cb6;
    font: 0.65rem "DM Mono", monospace;
}

.code-top {
    border-bottom: 1px solid var(--line);
}

.code-bottom {
    border-top: 1px solid var(--line);
    font-size: 0.58rem;
}

.window-dots,
.mini-browser-top {
    display: flex;
    gap: 5px;
}

.window-dots i,
.mini-browser-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b7c;
}

.window-dots i:nth-child(2),
.mini-browser-top i:nth-child(2) {
    background: #f5c96b;
}

.window-dots i:nth-child(3),
.mini-browser-top i:nth-child(3) {
    background: #6fe0b0;
}

.code-body {
    padding: 21px 17px 23px;
    font: clamp(0.61rem, 1.2vw, 0.75rem) / 2 "DM Mono", monospace;
    color: #c9d6e9;
    white-space: nowrap;
}

.code-body p {
    margin: 0;
}

.line-number {
    display: inline-block;
    width: 32px;
    color: #4e607c;
    user-select: none;
}

.code-purple {
    color: #c3a1ff;
}

.code-green {
    color: #8de6c0;
}

.code-yellow {
    color: #f4d78a;
}

.code-comment {
    color: #6f849e;
}

.cursor {
    color: var(--cyan);
    animation: blink 1.1s step-end infinite;
}

.code-bottom .status-dot {
    width: 6px;
    height: 6px;
    margin-right: 5px;
}

/* =========================================
   FLOATING ELEMENTS
========================================= */

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(17, 29, 48, 0.9);
    border: 1px solid rgba(155, 187, 234, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    font-size: 0.7rem;
    color: #dbe7f8;
    backdrop-filter: blur(12px);
}

.chip-top {
    top: 57px;
    right: -2px;
}

.chip-top span {
    color: var(--cyan);
}

.chip-bottom {
    bottom: 49px;
    left: -15px;
}

.chip-bracket {
    font-family: "DM Mono", monospace;
    color: #9fb4ff;
}

.scroll-cue {
    position: absolute;
    bottom: 24px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #667993;
    font: 0.65rem "DM Mono", monospace;
    letter-spacing: 0.06em;
}

.scroll-cue span {
    height: 1px;
    width: 34px;
    background: var(--cyan);
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2,
.contact-panel h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -0.065em;
    margin: 15px 0 0;
}

.muted-heading {
    color: #6e7f99;
}

.accent {
    color: var(--cyan);
}

.section-subtitle {
    color: var(--muted);
    margin: 14px 0 0;
    font-size: 0.94rem;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 90px;
    align-items: start;
}

.about-copy p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.95;
}

.about-copy .large-copy {
    font-size: 1.3rem;
    color: #dfe8f5;
    line-height: 1.7;
    margin-top: 0;
}

.large-copy strong {
    color: var(--text);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 15px;
}

.text-link span {
    transition: transform 0.2s;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* About Statistics */

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-card {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(19, 33, 54, 0.72),
        rgba(12, 20, 35, 0.72)
    );
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--cyan);
    line-height: 1.2;
}

.stat-label {
    font-weight: 800;
    font-size: 0.84rem;
    margin-top: 13px;
}

.stat-note {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 5px;
}

.stat-wide {
    grid-column: 1 / -1;
    min-height: auto;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--cyan);
    background: rgba(94, 231, 247, 0.09);
    font-size: 1.4rem;
}

.stat-wide .stat-label {
    display: block;
    margin: 0;
}

/* =========================================
   SKILLS SECTION
========================================= */

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

.skill-card {
    padding: 27px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(
        145deg,
        rgba(18, 31, 52, 0.8),
        rgba(11, 19, 33, 0.85)
    );
    transition: transform 0.25s, border-color 0.25s;
}

.skill-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 231, 247, 0.32);
}

.skill-icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(94, 231, 247, 0.08);
    color: var(--cyan);
    font: 1rem "DM Mono", monospace;
    border: 1px solid rgba(94, 231, 247, 0.12);
}

.skill-card h3 {
    font-size: 1.08rem;
    margin: 21px 0 8px;
    letter-spacing: -0.03em;
}

.skill-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.8;
    min-height: 75px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.tag-list span {
    font-size: 0.65rem;
    color: #b8c9e2;
    background: rgba(148, 174, 218, 0.08);
    border: 1px solid rgba(148, 174, 218, 0.1);
    padding: 5px 9px;
    border-radius: 7px;
}

/* Learning Strip */

.learning-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 17px 20px;
    border: 1px solid rgba(94, 231, 247, 0.17);
    border-radius: 14px;
    background: linear-gradient(
        100deg,
        rgba(94, 231, 247, 0.07),
        rgba(91, 140, 255, 0.045)
    );
}

.learning-label {
    font: 500 0.62rem "DM Mono", monospace;
    letter-spacing: 0.12em;
    color: var(--cyan);
    white-space: nowrap;
}

.learning-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.learning-strip strong {
    color: var(--text);
}

.learning-arrow {
    margin-left: auto;
    color: var(--cyan);
}

.skills-footnote {
    font-size: 0.75rem;
    color: #8395ae;
    margin-top: 24px;
}

.skills-footnote span {
    color: var(--cyan);
    margin-right: 7px;
}

/* =========================================
   PROJECTS SECTION
========================================= */

.project-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.project-count {
    font: 0.7rem "DM Mono", monospace;
    color: #7486a0;
    padding-bottom: 9px;
}

.project-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        rgba(18, 31, 52, 0.88),
        rgba(10, 18, 32, 0.94)
    );
    margin-bottom: 18px;
    transition: border-color 0.25s;
}

.project-card:hover {
    border-color: rgba(94, 231, 247, 0.32);
}

/* Project Preview */

.project-visual {
    min-height: 330px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 42%,
            rgba(63, 139, 218, 0.2),
            transparent 66%
        ),
        #0a1322;
}

.project-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(128, 161, 207, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 161, 207, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.mini-browser {
    position: relative;
    width: 76%;
    border: 1px solid rgba(163, 194, 234, 0.25);
    border-radius: 11px;
    background: #0c1728;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    transform: rotate(-3deg);
    overflow: hidden;
}

.mini-browser-top {
    height: 27px;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid var(--line);
}

.mini-browser-top i {
    width: 5px;
    height: 5px;
}

.mini-browser-top span {
    font: 0.46rem "DM Mono", monospace;
    color: #657a97;
    margin-left: 10px;
}

.mini-browser-content {
    padding: 19px 20px 23px;
}

.mini-label {
    display: block;
    color: var(--cyan);
    font: 0.48rem "DM Mono", monospace;
    letter-spacing: 0.15em;
}

.mini-browser-content strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -0.07em;
    margin: 9px 0;
}

.mini-browser-content em {
    display: block;
    color: #73b9ff;
    font-style: normal;
    font-size: 0.61rem;
}

.mini-lines {
    display: flex;
    gap: 6px;
    margin-top: 13px;
}

.mini-lines i {
    width: 43%;
    height: 4px;
    background: #263953;
    border-radius: 4px;
}

.mini-lines i:nth-child(2) {
    width: 24%;
}

.mini-pills {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.mini-pills b {
    font-size: 0.45rem;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 4px;
    background: #1a2d46;
    color: #78d8ee;
}

.visual-caption {
    position: absolute;
    bottom: 18px;
    left: 22px;
    color: #7890af;
    font: 0.58rem "DM Mono", monospace;
    letter-spacing: 0.1em;
}

/* Project Information */

.project-info {
    padding: 34px 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.project-topline {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #7890ad;
    font: 0.62rem "DM Mono", monospace;
    letter-spacing: 0.08em;
}

.project-type {
    color: var(--cyan);
}

.project-info h3 {
    font-size: 1.65rem;
    letter-spacing: -0.05em;
    margin: 17px 0 7px;
}

.project-info p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.85;
    margin: 0;
}

.project-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.project-links .text-link {
    margin-top: 0;
}

.project-note {
    font-size: 0.7rem !important;
    color: #71839c !important;
    margin-top: 13px !important;
}

/* Weather Project Preview */

.weather-visual {
    background:
        radial-gradient(
            ellipse at 50% 40%,
            rgba(123, 107, 255, 0.22),
            transparent 65%
        ),
        #0a1322;
}

.weather-widget {
    position: relative;
    width: 64%;
    padding: 19px;
    border-radius: 14px;
    border: 1px solid rgba(163, 194, 234, 0.22);
    background: linear-gradient(
        145deg,
        rgba(25, 40, 68, 0.92),
        rgba(11, 20, 37, 0.96)
    );
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
}

.weather-top {
    display: flex;
    justify-content: space-between;
    font: 0.5rem "DM Mono", monospace;
    color: #9aabc4;
}

.weather-top span:last-child {
    font-size: 1rem;
    color: #ffe09a;
}

.weather-place {
    font-size: 0.7rem;
    color: #c1cee0;
    margin-top: 15px;
}

.weather-temp {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.09em;
}

.weather-temp span {
    color: #a4baff;
}

.weather-condition {
    font-size: 0.6rem;
    color: #91a3bd;
}

.weather-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.48rem;
    color: #7187a6;
    margin-top: 18px;
}

.weather-bottom b {
    display: block;
    color: #dce7f6;
    font-size: 0.6rem;
}

.forecast-bars {
    height: 45px;
    display: flex;
    align-items: end;
    gap: 8px;
    margin-top: 14px;
}

.forecast-bars i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, #527cff, #65e4f1);
    opacity: 0.8;
}

/* GitHub Callout */

.github-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 25px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 26, 44, 0.65);
}

.github-callout p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.github-callout .button {
    white-space: nowrap;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding-bottom: 95px;
}

.contact-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 70px);
    border-radius: 25px;
    border: 1px solid rgba(117, 169, 230, 0.2);
    background: linear-gradient(
        120deg,
        rgba(19, 35, 59, 0.95),
        rgba(11, 19, 34, 0.95)
    );
}

.contact-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    right: -70px;
    top: -150px;
    border-radius: 50%;
    background: #4d79ff;
    filter: blur(120px);
    opacity: 0.18;
    pointer-events: none;
}

.contact-panel > *:not(.contact-glow) {
    position: relative;
}

.contact-panel h2 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    margin-top: 18px;
}

.contact-copy {
    max-width: 600px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.9;
    margin-top: 21px;
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.email-reminder {
    font-size: 0.65rem;
    color: #788ba5;
    margin-top: 18px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #7487a1;
    font-size: 0.68rem;
}

.footer .brand {
    color: var(--text);
    font-size: 1.1rem;
}

.footer p {
    margin: 0;
}

/* =========================================
   ANIMATIONS & ACCESSIBILITY
========================================= */

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

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

@keyframes blink {
    50% {
        opacity: 0;
    }
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

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

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 70px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-art {
        min-height: 390px;
        margin-top: 5px;
    }

    .orbit-large {
        width: min(440px, 90vw);
    }

    .about-grid {
        gap: 40px;
    }

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

    .project-visual {
        min-height: 310px;
    }

    .project-info {
        padding: 25px;
    }

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

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 680px) {
    /* General Layout */

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

    .nav {
        height: 68px;
    }

    /* Mobile Navigation */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 9px;
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        background: #dce7f7;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 67px;
        left: 0;
        right: 0;
        padding: 20px 24px 24px;
        background: rgba(8, 13, 25, 0.98);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

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

    .nav-links .nav-contact {
        text-align: center;
    }

    /* Hero Section */

    .hero {
        min-height: auto;
        padding-top: 65px;
        padding-bottom: 75px;
    }

    .hero h1 {
        font-size: clamp(3.15rem, 14vw, 4.6rem);
    }

    .hero-description {
        font-size: 0.91rem;
    }

    .hero-meta {
        gap: 12px;
        flex-direction: column;
        margin-top: 27px;
    }

    /* Hero Artwork */

    .hero-art {
        min-height: 350px;
        margin-inline: -5px;
    }

    .code-card {
        width: min(100%, 390px);
    }

    .code-body {
        font-size: 0.61rem;
        padding: 17px 12px;
    }

    .line-number {
        width: 25px;
    }

    .chip-top {
        right: 0;
        top: 20px;
    }

    .chip-bottom {
        left: 0;
        bottom: 17px;
    }

    .floating-chip {
        font-size: 0.61rem;
        padding: 9px 11px;
    }

    .orbit-large {
        height: 285px;
    }

    .orbit-small {
        height: 220px;
    }

    .scroll-cue {
        bottom: 14px;
    }

    /* General Sections */

    .section {
        padding-top: 80px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 2.45rem;
    }

    /* About Section */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-copy .large-copy {
        font-size: 1.15rem;
    }

    /* Skills Section */

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

    .skill-card {
        padding: 23px;
    }

    .skill-card p {
        min-height: 0;
    }

    .learning-strip {
        align-items: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .learning-strip p {
        flex: 1;
        min-width: 190px;
    }

    /* Projects Section */

    .project-heading {
        align-items: center;
    }

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

    .project-visual {
        min-height: 280px;
    }

    .project-info {
        padding: 25px 22px 29px;
    }

    .project-info h3 {
        font-size: 1.45rem;
    }

    .weather-widget {
        width: 65%;
    }

    .project-links {
        gap: 17px;
    }

    .project-note {
        width: 100%;
    }

    /* GitHub Callout */

    .github-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Contact Section */

    .contact-section {
        padding-bottom: 65px;
    }

    .contact-panel {
        padding: 30px 23px;
    }

    .contact-panel h2 {
        font-size: 2.55rem;
    }

    .contact-actions {
        align-items: stretch;
    }

    .contact-actions .button {
        flex: 1;
    }

    /* Footer */

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer p {
        order: 3;
    }
}
