:root {
    color-scheme: dark;
    --ink: #071321;
    --ink-deep: #050e19;
    --surface: #0b1b2d;
    --surface-soft: #0f2237;
    --line: rgba(158, 190, 219, 0.15);
    --line-bright: rgba(105, 209, 238, 0.35);
    --text: #eaf3fa;
    --muted: #91a6b9;
    --faint: #5f778d;
    --cyan: #68d5f2;
    --blue: #5a91f5;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 74% 4%, rgba(20, 68, 105, 0.2), transparent 34rem),
        var(--ink);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--ink);
    background: var(--cyan);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    background: var(--cyan);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.section-wrap {
    width: min(var(--max-width), calc(100% - 64px));
    margin-inline: auto;
}

.section-space {
    padding-block: 120px;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(158, 190, 219, 0.1);
    background: rgba(5, 14, 25, 0.87);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    width: min(var(--max-width), calc(100% - 64px));
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
}

.wordmark {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.wordmark span {
    color: var(--cyan);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
    color: #9eb1c3;
    font-size: 0.75rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--cyan);
}

.site-nav .nav-contact {
    padding: 9px 14px;
    border: 1px solid var(--line-bright);
    border-radius: 3px;
    color: var(--text);
}

.nav-contact span {
    margin-left: 5px;
    color: var(--cyan);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(790px, calc(100svh - 76px));
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
    padding-block: 94px 112px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-kicker,
.project-category,
.project-status,
.skill-index,
.role-label,
.analytics-heading,
.visual-coordinate,
.visual-readout,
.art-topline,
.art-footer,
.data-label,
.chart-label,
.chart-axis {
    font-family: "DM Mono", Consolas, monospace;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: var(--cyan);
    font-size: 0.64rem;
    letter-spacing: 0.13em;
}

.eyebrow-dot,
.live-indicator i,
.project-status i {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(104, 213, 242, 0.75);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.1rem, 6.3vw, 5.75rem);
    font-weight: 800;
    letter-spacing: -0.09em;
    line-height: 0.93;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(207, 232, 248, 0.72);
}

.hero-role {
    max-width: 620px;
    margin: 28px 0 0;
    color: #c7d7e5;
    font-size: clamp(0.82rem, 1.25vw, 1rem);
    font-weight: 700;
    line-height: 1.9;
}

.hero-role span {
    padding-inline: 5px;
    color: var(--cyan);
}

.hero-intro {
    max-width: 480px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(0.96rem, 1.4vw, 1.1rem);
    line-height: 1.8;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border-color: var(--cyan);
    background: var(--cyan);
    color: #051421;
}

.button-primary:hover {
    border-color: #a1ecff;
    background: #a1ecff;
}

.button-quiet {
    color: #d4e2ed;
}

.button-quiet:hover {
    border-color: var(--line-bright);
    background: rgba(104, 213, 242, 0.06);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 28px 0 0;
    color: var(--faint);
    font-size: 0.7rem;
}

.hero-location span {
    color: var(--cyan);
    font-size: 0.9rem;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 445px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(104, 213, 242, 0.18);
    background:
        radial-gradient(ellipse at 50% 49%, rgba(22, 92, 133, 0.25), transparent 53%),
        linear-gradient(145deg, rgba(13, 36, 57, 0.9), rgba(7, 20, 33, 0.5));
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
}

.hero-art::before,
.hero-art::after {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, rgba(104, 213, 242, 0.12), transparent);
    content: "";
}

.hero-art::after {
    width: 100%;
    height: 1px;
}

.art-topline,
.art-footer {
    position: absolute;
    z-index: 2;
    right: 22px;
    left: 22px;
    display: flex;
    justify-content: space-between;
    color: #7891a6;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
}

.art-topline {
    top: 20px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #a8c0d1;
}

.live-indicator i {
    width: 5px;
    height: 5px;
}

.art-footer {
    bottom: 20px;
    color: #6f879a;
}

.weather-orbit {
    position: absolute;
    width: min(70%, 310px);
    aspect-ratio: 1;
    border: 1px solid rgba(104, 213, 242, 0.13);
    border-radius: 50%;
}

.orbit-one {
    transform: scaleY(0.48) rotate(-30deg);
}

.orbit-two {
    transform: scaleY(0.48) rotate(30deg);
}

.weather-core {
    z-index: 1;
    display: grid;
    width: 112px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(104, 213, 242, 0.42);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 146, 183, 0.22), rgba(7, 19, 33, 0.2) 72%);
    box-shadow: 0 0 55px rgba(60, 181, 222, 0.12), inset 0 0 35px rgba(60, 181, 222, 0.1);
    color: #b7f0ff;
    font-family: "DM Mono", Consolas, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.data-label {
    position: absolute;
    z-index: 2;
    padding: 7px 9px;
    border: 1px solid rgba(104, 213, 242, 0.16);
    background: rgba(5, 14, 25, 0.78);
    color: #c0d8e9;
    font-size: 0.53rem;
    letter-spacing: 0.05em;
}

.data-label span {
    margin-right: 5px;
    color: var(--cyan);
}

.label-observation {
    top: 27%;
    left: 8%;
}

.label-forecast {
    top: 40%;
    right: 7%;
}

.label-community {
    bottom: 25%;
    left: 19%;
}

.hero-index {
    position: absolute;
    right: 0;
    bottom: 37px;
    color: #536a7d;
    font-family: "DM Mono", Consolas, monospace;
    font-size: 0.57rem;
    letter-spacing: 0.12em;
}

.section-kicker {
    display: flex;
    gap: 13px;
    margin-bottom: 23px;
    color: #8197aa;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
}

.section-kicker span:first-child {
    color: var(--cyan);
}

.about {
    border-top: 1px solid var(--line);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: clamp(40px, 10vw, 140px);
    align-items: start;
}

.section-title {
    margin: 0;
    font-size: clamp(2.5rem, 5.2vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.075em;
    line-height: 1.05;
}

.section-title span {
    color: var(--cyan);
}

.about-copy {
    padding-top: 18px;
    color: #a6b8c8;
    font-size: 0.92rem;
}

.about-copy p {
    margin: 0 0 18px;
}

.about-copy .about-signature {
    margin-top: 29px;
    color: var(--cyan);
    font-size: 0.77rem;
    font-weight: 700;
}

.projects {
    border-block: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 0 40%, rgba(17, 56, 88, 0.19), transparent 40rem),
        rgba(4, 13, 23, 0.5);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
}

.section-aside {
    max-width: 280px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(11, 27, 45, 0.72);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.project-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.project-visual {
    position: relative;
    display: grid;
    min-height: 245px;
    overflow: hidden;
    place-items: center;
    border-bottom: 1px solid var(--line);
    background: #0a1e31;
}

.project-featured .project-visual {
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
}

.atmos-visual {
    background:
        radial-gradient(ellipse at 55% 46%, rgba(31, 143, 183, 0.22), transparent 32%),
        linear-gradient(145deg, #0a2136, #081522);
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(95, 165, 197, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 165, 197, 0.1) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(135deg, black, transparent 85%);
}

.pressure-ring {
    position: absolute;
    width: min(54%, 210px);
    aspect-ratio: 1;
    border: 1px solid rgba(104, 213, 242, 0.2);
    border-radius: 50%;
}

.ring-a {
    transform: scaleX(1.45) rotate(35deg);
}

.ring-b {
    transform: scaleX(1.45) rotate(-35deg);
}

.ring-c {
    width: min(30%, 115px);
    border-color: rgba(104, 213, 242, 0.5);
}

.wind-line {
    position: absolute;
    width: 46%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.8;
    transform: rotate(-24deg);
}

.wind-a {
    top: 40%;
    left: 15%;
}

.wind-b {
    top: 52%;
    right: 12%;
    width: 32%;
}

.wind-c {
    bottom: 34%;
    left: 25%;
    width: 24%;
}

.visual-coordinate,
.visual-readout {
    position: absolute;
    bottom: 15px;
    color: #7090a7;
    font-size: 0.53rem;
    letter-spacing: 0.09em;
}

.visual-coordinate {
    left: 17px;
}

.visual-readout {
    right: 17px;
}

.study-visual {
    background: linear-gradient(150deg, #12324a, #0b1a2b 74%);
}

.study-sky {
    position: relative;
    width: 74%;
    height: 69%;
    overflow: hidden;
    border: 1px solid rgba(104, 213, 242, 0.15);
    background: linear-gradient(#17405a 0%, #122c42 57%, #10253a 100%);
}

.sun-mark {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 34px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(104, 213, 242, 0.76);
    box-shadow: 0 0 35px rgba(104, 213, 242, 0.34);
}

.cloud-mark {
    position: absolute;
    z-index: 1;
    width: 70px;
    height: 16px;
    border-radius: 50px;
    background: #9ac5d7;
    opacity: 0.58;
}

.cloud-mark::before,
.cloud-mark::after {
    position: absolute;
    bottom: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: inherit;
    content: "";
}

.cloud-mark::before {
    left: 12px;
}

.cloud-mark::after {
    right: 11px;
}

.cloud-one {
    top: 34%;
    left: 14%;
}

.cloud-two {
    top: 49%;
    right: 11%;
    transform: scale(0.7);
}

.study-horizon {
    position: absolute;
    right: 0;
    bottom: 18%;
    left: 0;
    height: 1px;
    background: rgba(104, 213, 242, 0.4);
}

.study-axis {
    position: absolute;
    right: 12%;
    bottom: 20%;
    left: 12%;
    height: 30%;
    border-bottom: 1px solid rgba(104, 213, 242, 0.24);
    border-left: 1px solid rgba(104, 213, 242, 0.24);
}

.study-chart {
    position: absolute;
    right: 13%;
    bottom: 20%;
    left: 13%;
    height: 30%;
    border-top: 1px solid var(--cyan);
    clip-path: polygon(0 75%, 17% 65%, 32% 78%, 50% 25%, 67% 45%, 84% 12%, 100% 0, 100% 3%, 84% 15%, 67% 48%, 50% 28%, 32% 82%, 17% 69%, 0 79%);
    background: var(--cyan);
}

.analyzer-visual {
    background: linear-gradient(145deg, #10243a, #091624);
}

.analyzer-chart {
    width: 76%;
}

.chart-label,
.chart-axis {
    display: flex;
    justify-content: space-between;
    color: #8ea8bb;
    font-size: 0.52rem;
    letter-spacing: 0.09em;
}

.analyzer-chart svg {
    display: block;
    width: 100%;
    margin-block: 13px 9px;
    overflow: visible;
}

.chart-gridline {
    fill: none;
    stroke: rgba(150, 189, 216, 0.13);
    stroke-width: 1;
}

.chart-fill {
    fill: rgba(61, 173, 210, 0.13);
}

.chart-line {
    fill: none;
    stroke: #67cce9;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.project-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.project-featured .project-body {
    padding: clamp(26px, 4vw, 46px);
}

.project-meta {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.project-category,
.project-status {
    color: #7f9bb0;
    font-size: 0.54rem;
    letter-spacing: 0.09em;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a8c3d4;
}

.project-status i {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 9px rgba(104, 213, 242, 0.65);
}

.project-body h3 {
    margin: 20px 0 10px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    letter-spacing: -0.055em;
    line-height: 1.3;
}

.project-featured .project-body h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.project-body h3 span {
    color: #9bb0c1;
    font-size: 0.68em;
    font-weight: 500;
}

.project-body > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.77rem;
}

.project-tags,
.community-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 19px 0 0;
    padding: 0;
    list-style: none;
}

.project-tags li,
.community-tags li {
    padding: 5px 8px;
    border: 1px solid rgba(158, 190, 219, 0.14);
    color: #9eb2c3;
    font-family: "DM Mono", Consolas, monospace;
    font-size: 0.53rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 800;
}

.project-link span {
    transition: transform 180ms ease;
}

.project-link:hover span {
    transform: translate(3px, -3px);
}

.project-note {
    margin: 18px 0 0;
    color: var(--faint);
    font-size: 0.65rem;
}

.community {
    border-bottom: 1px solid var(--line);
}

.community-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
}

.community-card {
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    background:
        radial-gradient(ellipse at 100% 0, rgba(19, 66, 100, 0.21), transparent 50%),
        rgba(11, 27, 45, 0.7);
}

.community-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.community-mark,
.role-label {
    color: var(--cyan);
    font-family: "DM Mono", Consolas, monospace;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
}

.role-label {
    color: #8299ad;
    text-align: right;
}

.community-card h3 {
    margin: 29px 0 9px;
    font-size: 2rem;
    letter-spacing: -0.06em;
}

.community-card > p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.community-card > .community-date {
    margin: -5px 0 13px;
    color: #6f879b;
    font-family: "DM Mono", Consolas, monospace;
    font-size: 0.6rem;
}

.analytics {
    margin-top: 31px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.analytics-heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 19px;
    color: #a9bdcd;
    font-size: 0.57rem;
    letter-spacing: 0.08em;
}

.analytics-heading span {
    color: #688096;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px 12px;
}

.analytics-grid div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.analytics-grid strong {
    color: #e8f5fc;
    font-size: clamp(1rem, 2vw, 1.36rem);
    letter-spacing: -0.05em;
}

.analytics-grid span {
    color: #8198aa;
    font-size: 0.59rem;
}

.analytics-note {
    margin: 17px 0 0;
    color: #6e8497;
    font-size: 0.61rem;
}

.community-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 39px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.note-symbol {
    color: var(--cyan);
    font-size: 1rem;
}

.community-note p {
    max-width: 250px;
    margin: 0;
    color: #94a9bb;
    font-size: 0.75rem;
}

.skills {
    border-bottom: 1px solid var(--line);
    background: rgba(5, 14, 25, 0.4);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.skill-group {
    min-width: 0;
    padding: clamp(23px, 3vw, 34px);
}

.skill-group + .skill-group {
    border-left: 1px solid var(--line);
}

.skill-index {
    color: var(--cyan);
    font-size: 0.56rem;
    letter-spacing: 0.09em;
}

.skill-group h3 {
    margin: 24px 0 18px;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}

.skill-group ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.skill-group li {
    position: relative;
    padding-left: 15px;
    color: #91a6b8;
    font-size: 0.72rem;
}

.skill-group li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #599ac4;
    content: "";
}

.contact {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact::before {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 520px;
    height: 360px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(26, 101, 142, 0.12);
    content: "";
    filter: blur(85px);
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
}

.contact .section-kicker {
    justify-content: center;
}

.contact .section-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.contact-inner > p {
    max-width: 490px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.contact-actions {
    justify-content: center;
    margin-top: 27px;
}

.contact-email {
    display: inline-block;
    margin-top: 27px;
    color: #95b3c8;
    font-size: 0.72rem;
}

.contact-email:hover {
    color: var(--cyan);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--ink-deep);
}

.footer-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-mark {
    font-size: 1rem;
}

.footer-inner p,
.footer-inner > a:last-child {
    margin: 0;
    color: #72879a;
    font-size: 0.64rem;
}

.footer-inner > a:last-child span {
    margin-left: 5px;
    color: var(--cyan);
}

.has-js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
        gap: 35px;
    }

    .hero-art {
        min-height: 385px;
    }

    .hero h1 {
        font-size: clamp(3rem, 7vw, 4.5rem);
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .community-note {
        margin-top: 25px;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 72px;
    }

    .section-wrap,
    .nav-shell {
        width: min(100% - 40px, var(--max-width));
    }

    .section-space {
        padding-block: 84px;
    }

    .nav-shell {
        min-height: 68px;
    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid var(--line);
        border-radius: 3px;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 17px;
        height: 1px;
        background: var(--text);
        transition: transform 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: rgba(5, 14, 25, 0.98);
    }

    .site-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(158, 190, 219, 0.08);
        font-size: 0.83rem;
    }

    .site-nav .nav-contact {
        align-self: flex-start;
        margin-top: 12px;
        padding: 9px 13px;
        border: 1px solid var(--line-bright);
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 76px 72px;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 12vw, 5rem);
    }

    .hero-role {
        max-width: 530px;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-index {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-copy {
        max-width: 620px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 34px;
    }

    .section-aside {
        max-width: 420px;
        margin: 0;
    }

    .project-featured {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .project-featured .project-visual {
        min-height: 235px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-visual {
        min-height: 220px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-group + .skill-group {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 460px) {
    .section-wrap,
    .nav-shell {
        width: calc(100% - 36px);
    }

    .section-space {
        padding-block: 70px;
    }

    .hero {
        padding-top: 64px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 3.7rem);
    }

    .hero-role {
        font-size: 0.77rem;
    }

    .hero-role span {
        padding-inline: 2px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        justify-content: space-between;
    }

    .hero-art {
        min-height: 310px;
    }

    .art-topline,
    .art-footer {
        right: 13px;
        left: 13px;
        font-size: 0.46rem;
    }

    .label-observation {
        left: 4%;
    }

    .label-forecast {
        right: 3%;
    }

    .label-community {
        left: 9%;
    }

    .data-label {
        font-size: 0.46rem;
    }

    .section-title {
        font-size: clamp(2.25rem, 11vw, 3.3rem);
    }

    .project-body,
    .project-featured .project-body {
        padding: 22px;
    }

    .community-card {
        padding: 22px;
    }

    .analytics-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact .section-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-inner {
        min-height: 104px;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-block: 20px;
    }

    .footer-inner p {
        order: 1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
