@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #383b2d;
    --muted: #616650;
    --paper: #fefae0;
    --surface: #faedcd;
    --surface-light: #e9edc9;
    --purple: #87926b;
    --orange: #8c5b37;
    --caramel: #d4a373;
    --green: #596b45;
    --line: #ccd5ae;
    --dark: #faedcd
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', Arial, sans-serif;
    line-height: 1.65
}

a {
    color: inherit
}

.site-header {
    height: 74px;
    padding: 0 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(254, 250, 224, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.brand {
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.08em
}

.brand span {
    color: var(--orange)
}

nav {
    display: flex;
    gap: 2.2rem
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 700;
    transition: color .2s
}

nav a:hover,
nav a.active {
    color: var(--ink)
}

nav a.active:after {
    content: '';
    display: block;
    height: 2px;
    background: var(--caramel);
    margin-top: 4px
}

.hero {
    min-height: 640px;
    padding: 95px 12vw 70px;
    display: grid;
    grid-template-columns: 1fr .75fr;
    align-items: center;
    gap: 7vw;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 55%, #e9edc9 0, transparent 42%)
}

.eyebrow {
    font: 500 .72rem 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--green);
    margin: 0 0 1.2rem
}

h1,
h2,
p {
    margin-top: 0
}

.hero h1,
.contact-main h1 {
    font-size: clamp(4.8rem, 10vw, 9rem);
    line-height: .87;
    letter-spacing: -.09em;
    margin: 0 0 2rem;
    font-weight: 800
}

.hero h1 span,
.contact-main h1 span {
    color: var(--orange)
}

.intro {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 430px;
    margin-bottom: 2rem
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: var(--caramel);
    color: #fff;
    text-decoration: none;
    padding: .95rem 1.2rem;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 5px;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-3px);
    background: #bd8856
}

.button span {
    font-size: 1.15rem;
    color: #fff
}

.portrait {
    height: 430px;
    max-width: 370px;
    width: 100%;
    justify-self: end;
    border: 3px solid var(--orange);
    border-radius: 18px;
    background: var(--surface-light);
    overflow: hidden;
    box-shadow: 14px 14px 0 rgba(204, 213, 174, .32)
}

.portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
}

.hero-index {
    position: absolute;
    bottom: 28px;
    left: 12vw;
    font: .65rem 'DM Mono', monospace;
    color: var(--muted);
    letter-spacing: .1em
}

.content-section {
    padding: 120px 17vw
}

.content-section h2,
.feature-section h2,
.cv-strip h2 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    letter-spacing: -.07em;
    line-height: 1.02;
    margin-bottom: 2.2rem
}

.content-section h2 span {
    color: var(--orange)
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    color: var(--muted);
    font-size: 1.02rem
}

.story-grid p {
    margin: 0
}

.feature-section {
    background: var(--surface);
    color: var(--ink);
    padding: 105px 17vw;
    display: grid;
    grid-template-columns: .3fr 1fr;
    gap: 4vw;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.feature-section .eyebrow {
    color: var(--green)
}

.feature-section h2 {
    font-size: clamp(3rem, 6vw, 5.5rem)
}

.feature-section p:last-child {
    color: var(--muted);
    max-width: 590px
}

.feature-number {
    font: .8rem 'DM Mono', monospace;
    color: var(--orange);
    padding-top: 5px
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;
    align-items: center
}

.two-column>div:last-child {
    color: var(--muted)
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1.5rem
}

.tags span {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: .45rem .75rem;
    border-radius: 4px;
    font-size: .75rem;
    color: var(--ink)
}

.career-section {
    padding: 100px 17vw;
    background: #faedcd;
    border-top: 1px solid var(--line)
}

.career-section>h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -.075em;
    margin: 0 0 4rem
}

.timeline {
    border-left: 1px solid #9aa47b;
    margin-left: 6px;
    padding-left: 32px;
    display: grid;
    gap: 3rem
}

.timeline article {
    position: relative
}

.timeline-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid var(--orange);
    background: var(--paper);
    border-radius: 50%;
    left: -39px;
    top: 5px
}

.timeline-date {
    font: .68rem 'DM Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin: 0 0 .5rem
}

.timeline h2 {
    font-size: 1.35rem;
    margin: 0 0 .35rem;
    letter-spacing: -.04em
}

.timeline article>p:last-child {
    color: var(--muted);
    margin: 0
}

.cv-strip {
    padding: 75px 17vw;
    background: #e9edc9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-top: 1px solid var(--line)
}

.cv-strip .eyebrow {
    color: var(--green)
}

.cv-strip h2 {
    font-size: 2rem;
    margin: 0
}

.button-light {
    background: var(--caramel);
    white-space: nowrap
}

footer {
    padding: 28px 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    font-size: .75rem;
    color: var(--muted);
    background: #e9edc9
}

footer p {
    margin: 0
}

footer>a:last-child {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink)
}

.contact-main {
    min-height: calc(100vh - 140px);
    padding: 100px 18vw 110px;
    background: radial-gradient(ellipse at 90% 10%, #e9edc9 0, transparent 38%)
}

.contact-main h1 {
    font-size: clamp(5rem, 11vw, 9rem);
    margin-bottom: 1.5rem
}

.contact-lead {
    max-width: 480px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 3rem
}

.contact-list {
    border-top: 1px solid var(--line);
    max-width: 850px
}

.contact-row {
    display: grid;
    grid-template-columns: 130px 1fr 30px;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700
}

.contact-row:hover .arrow {
    transform: translate(3px, -3px)
}

.contact-label {
    font: .68rem 'DM Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted)
}

.arrow {
    transition: transform .2s;
    color: var(--orange)
}

.back-link {
    display: inline-block;
    margin-top: 2.3rem;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    color: var(--green)
}

@media(max-width:700px) {
    .site-header {
        height: 66px;
        padding: 0 6vw
    }

    nav {
        gap: 1.2rem
    }

    nav a {
        font-size: .78rem
    }

    .hero {
        padding: 72px 8vw 75px;
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .hero h1 {
        font-size: 5.3rem
    }

    .portrait {
        height: 310px;
        max-width: 290px;
        justify-self: center;
        grid-row: 1
    }

    .hero-copy {
        grid-row: 2
    }

    .hero-index {
        left: 8vw
    }

    .content-section,
    .career-section,
    .contact-main {
        padding: 78px 8vw
    }

    .story-grid,
    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .feature-section {
        padding: 75px 8vw;
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .feature-number {
        display: none
    }

    .cv-strip {
        padding: 55px 8vw;
        align-items: flex-start;
        flex-direction: column
    }

    .cv-strip h2 {
        font-size: 1.8rem
    }

    footer {
        padding: 24px 6vw;
        flex-wrap: wrap
    }

    footer p {
        order: 3;
        width: 100%
    }

    .contact-row {
        grid-template-columns: 75px 1fr 20px;
        font-size: .82rem;
        overflow-wrap: anywhere
    }

    .contact-main h1 {
        font-size: 5.5rem
    }
}

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

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

.activity-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: 1.5rem
}

.activity-card {
    display: grid;
    grid-template-columns: 42px 1fr 24px;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: transform .2s, border-color .2s, background .2s
}

.activity-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    background: var(--surface-light)
}

.activity-card strong {
    display: block;
    color: var(--ink);
    font-size: .9rem
}

.activity-card small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    margin-top: .2rem
}

.activity-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #e9edc9;
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 700
}

.activity-arrow {
    color: var(--orange)
}

.activity-page {
    max-width: 1050px;
    margin: auto;
    padding: 70px 7vw 110px;
    min-height: calc(100vh - 140px)
}

.back-link {
    display: inline-block;
    margin-bottom: 2.5rem;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 700;
    color: var(--green)
}

.activity-title {
    font-size: clamp(3.8rem, 9vw, 7rem);
    line-height: .95;
    letter-spacing: -.085em;
    margin: 0 0 1.2rem
}

.activity-title span {
    color: var(--orange)
}

.activity-intro {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
    margin-bottom: 3rem
}

.football-feature {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem
}

.football-photo-slot {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: 1px dashed #a3ab82;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(204, 213, 174, .2), rgba(204, 213, 174, .08)), repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .025) 12px 24px)
}

.photo-placeholder-mark {
    font-size: 4rem;
    margin-bottom: .5rem
}

.football-photo-slot p {
    font-weight: 700;
    margin: 0 0 .3rem
}

.football-photo-slot small {
    color: var(--muted)
}

.football-photo-slot code {
    color: var(--green)
}

.football-caption h2,
.media-drop h2 {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -.05em;
    margin-bottom: .5rem
}

.terminal-window {
    overflow: hidden;
    border: 1px solid #b7c39a;
    border-radius: 10px;
    background: #fefae0;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25)
}

.terminal-top {
    height: 45px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e9edc9;
    border-bottom: 1px solid #b7c39a;
    color: #616650;
    font: .72rem 'DM Mono', monospace
}

.terminal-lights {
    display: flex;
    gap: 6px
}

.terminal-lights i {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #d4a373
}

.terminal-lights i:nth-child(2) { background: #d4a373 }
.terminal-lights i:nth-child(3) { background: #ccd5ae }

.terminal-body { padding: 1.5rem }

.terminal-body>p:first-child {
    font: .8rem 'DM Mono', monospace;
    color: #383b2d
}

.terminal-prompt { color: var(--green) }

.terminal-body label {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    margin: 1.5rem 0 .5rem
}

.terminal-body textarea {
    width: 100%;
    min-height: 240px;
    resize: vertical;
    padding: 1rem;
    border: 1px solid #ccd5ae;
    border-radius: 5px;
    background: #fefae0;
    color: #f4f0fa;
    font: .9rem/1.6 'DM Mono', monospace
}

.terminal-body textarea:focus { outline: 2px solid var(--purple) }

.writing-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem
}

.writing-actions span {
    color: var(--muted);
    font-size: .75rem
}

.text-button {
    border: 0;
    background: none;
    color: var(--muted);
    font: 700 .85rem 'Manrope', Arial, sans-serif;
    cursor: pointer
}

.writing-footnote {
    color: var(--muted);
    font-size: .8rem;
    margin-top: 1rem
}

.workshop-page { max-width: 1150px }

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0 3rem
}

.workshop-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface)
}

.workshop-visual {
    height: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 0 .5rem;
    border-radius: 6px;
    background: radial-gradient(circle at 50% 50%, #ccd5ae, #1a1422 70%);
    color: var(--green)
}

.workshop-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.workshop-visual figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: .25rem .45rem;
    background: rgba(56, 59, 45, .82);
    color: var(--green);
    font: .65rem 'DM Mono', monospace
}

.workshop-visual:before,
.workshop-visual:after {
    content: '';
    position: absolute;
    border: 1px solid rgba(204, 213, 174, .22);
    border-radius: 50%;
    width: 150px;
    height: 150px
}

.workshop-visual:after { width: 220px; height: 220px }

.workshop-visual span {
    position: absolute;
    left: 14px;
    top: 12px;
    font: .7rem 'DM Mono', monospace;
    color: var(--orange)
}

.workshop-visual strong {
    z-index: 1;
    font: 700 .85rem/1.5 'DM Mono', monospace;
    letter-spacing: .1em;
    text-align: center
}

.workshop-visual i {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 2rem;
    font-style: normal;
    color: var(--orange)
}

.tools-visual { background: radial-gradient(circle at 50% 50%, #faedcd, #1a1422 70%) }
.electric-visual { background: radial-gradient(circle at 50% 50%, #ccd5ae, #1a1422 70%) }

.workshop-card h2 {
    font-size: 1.05rem;
    margin: 1rem 0 .3rem
}

.workshop-card p {
    color: var(--muted);
    font-size: .8rem;
    margin: 0
}

.media-drop {
    padding: 2rem;
    border: 1px dashed #9aa47b;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: rgba(204, 213, 174, .08)
}
.media-drop p:last-child {
    margin: 0
}
.media-drop p:last-child {
    color: var(--muted)
}
.media-drop h2 {
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -.05em;
    margin-bottom: .5rem
}

.football-caption p:last-child,
.media-drop p:last-child {
    color: var(--muted)
}

@media(max-width:700px) {
    .activity-links {
        grid-template-columns: 1fr
    }

    .activity-page {
        padding: 48px 7vw 75px
    }

    .football-feature {
        grid-template-columns: 1fr
    }

    .football-photo-slot {
        min-height: 230px
    }

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

    .workshop-visual {
        height: 220px
    }

    .writing-actions {
        flex-wrap: wrap
    }
}


.school-location {
    color: inherit;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 2px;
    text-underline-offset: .2em
}

.school-location:hover {
    color: var(--green)
}

.school-location span {
    color: var(--orange);
    font-size: .75em;
    vertical-align: top;
    margin-left: .25rem
}

.site-map {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    font-family: 'Manrope', Arial, sans-serif
}

.site-map-toggle {
    width: 54px;
    height: 54px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--ink);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
    transition: background .2s, color .2s, transform .2s
}

.site-map-toggle:hover,
.site-map.open .site-map-toggle {
    background: var(--caramel);
    color: white
}

.site-map-toggle span {
    display: inline-block;
    transition: transform .2s
}

.site-map.open .site-map-toggle span {
    transform: rotate(180deg)
}

.site-map-panel {
    position: absolute;
    right: 0;
    bottom: 66px;
    width: min(340px, calc(100vw - 36px));
    max-height: min(72vh, 620px);
    overflow: auto;
    padding: 1rem;
    background: rgba(254, 250, 224, .98);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s, transform .18s, visibility .18s
}

.site-map:hover .site-map-panel,
.site-map:focus-within .site-map-panel,
.site-map.open .site-map-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto
}

.site-map-title {
    margin: 0 0 .7rem;
    color: var(--green);
    font: 500 .7rem 'DM Mono', monospace;
    text-transform: uppercase;
    letter-spacing: .12em
}

.site-map-page {
    border-top: 1px solid var(--line);
    padding: .55rem 0
}

.site-map-page summary {
    cursor: pointer;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700
}

.site-map-page summary::marker {
    color: var(--orange)
}

.site-map-page-link,
.site-map-page li a {
    color: var(--muted);
    font-size: .73rem;
    text-decoration: none
}

.site-map-page-link {
    display: inline-block;
    margin: .4rem 0 0 .9rem;
    color: var(--green)
}

.site-map-page ul {
    list-style: none;
    margin: .25rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: .25rem
}

.site-map-page li a:hover,
.site-map-page-link:hover {
    color: var(--orange);
    text-decoration: underline
}

@media(max-width:600px) {
    .site-map {
        right: 14px;
        bottom: 14px
    }

    .site-map-toggle {
        width: 48px;
        height: 48px
    }

    .site-map-panel {
        bottom: 58px
    }
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center
}

.story-illustration {
    height: 350px;
    position: relative;
    overflow: hidden;
    border: 1px solid #87926b;
    border-radius: 14px;
    background: radial-gradient(circle at 48% 42%, #e9edc9 0, #faedcd 50%, #fefae0 100%);
    box-shadow: 12px 12px 0 rgba(204, 213, 174, .2)
}

.story-illustration:before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(204, 213, 174, .18);
    border-radius: 10px
}

.illustration-orbit {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(212, 163, 115, .42);
    border-radius: 50%
}

.orbit-two {
    width: 150px;
    height: 150px;
    border-color: rgba(204, 213, 174, .35)
}

.illustration-gear {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    line-height: 1;
    color: var(--orange);
    text-shadow: 0 0 30px rgba(212, 163, 115, .25)
}

.illustration-chip {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    padding: .45rem .65rem;
    background: #fefae0;
    border: 1px solid var(--green);
    border-radius: 4px;
    color: var(--ink);
    font: 500 .65rem 'DM Mono', monospace;
    text-align: center;
    letter-spacing: .08em
}

.illustration-chip span {
    color: var(--green);
    font-size: .47rem
}

.illustration-caption {
    position: absolute;
    bottom: 26px;
    left: 26px;
    color: var(--muted);
    font: .62rem 'DM Mono', monospace;
    letter-spacing: .12em
}

.story-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem
}

.site-header {
    gap: 1.5rem
}

.header-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 0;
    width: 0;
    height: 40px;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-radius: 50%;
    transition: width .22s, flex-basis .22s, margin .22s, opacity .22s
}

.header-avatar img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--orange);
    border-radius: 50%
}

.site-header.has-scrolled .header-avatar {
    flex-basis: 40px;
    width: 40px;
    margin-left: .75rem;
    opacity: 1;
    visibility: visible
}

.career-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 90% 12%, rgba(204, 213, 174, .24), transparent 42%), #faedcd
}

.career-section>h1 {
    max-width: 720px;
    margin-bottom: 3rem
}

.timeline {
    border: 0;
    margin: 0;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem
}

.timeline article {
    min-height: 100%;
    padding: 1.5rem;
    background: rgba(254, 250, 224, .72);
    border: 1px solid var(--line);
    border-radius: 10px
}

.timeline-dot {
    left: auto;
    right: 1.4rem;
    top: 1.4rem
}

.timeline h2 {
    max-width: calc(100% - 22px);
    font-size: 1.25rem;
    margin-bottom: .8rem
}

.timeline article>p:last-child {
    line-height: 1.75
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0
}

.skill-tags li {
    padding: .38rem .65rem;
    border: 1px solid #87926b;
    border-radius: 99px;
    background: transparent;
    color: var(--green);
    font: .68rem 'DM Mono', monospace
}

@media(max-width:800px) {
    .story-layout {
        grid-template-columns: 1fr
    }

    .story-illustration {
        height: 280px;
        max-width: 440px;
        width: 100%;
        margin: 0 auto
    }

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

@media(max-width:700px) {
    .site-header {
        gap: .65rem
    }

    .site-header nav {
        margin-left: auto
    }

    .site-header.has-scrolled .header-avatar {
        flex-basis: 34px;
        width: 34px;
        margin-left: .25rem
    }

    .header-avatar {
        height: 34px
    }

    .header-avatar img {
        height: 32px;
        width: 32px
    }
}

.story-photo {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: auto;
    min-height: 350px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 12px 12px 0 rgba(204, 213, 174, .2)
}

.story-photo img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center
}

.story-photo figcaption,
.project-media figcaption,
.football-photo-slot figcaption,
.football-gallery figcaption,
.video-gallery figcaption {
    padding: .7rem .9rem;
    color: var(--muted);
    font: .66rem 'DM Mono', monospace;
    letter-spacing: .04em
}

.project-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem
}

.project-media figure,
.football-photo-slot,
.football-gallery figure,
.video-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fefae0
}

.project-media img,
.project-media video,
.football-photo-slot img,
.football-gallery img,
.video-gallery video {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover
}

.project-media video,
.video-gallery video {
    background: #fefae0
}

.football-photo-slot {
    display: block;
    min-height: 0;
    padding: 0;
    border-style: solid
}

.football-photo-slot img {
    height: 360px;
    object-position: center 45%
}

.football-gallery {
    margin: 0 0 2rem;
    max-width: 440px
}

.football-gallery img {
    height: 300px;
    object-position: center 35%
}

.workshop-visual {
    height: 205px;
    margin: 0;
    display: block;
    overflow: hidden;
    position: relative;
    border: 0;
    border-radius: 6px;
    background: #fefae0
}

.workshop-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s
}

.workshop-card:hover .workshop-visual img {
    transform: scale(1.04)
}

.workshop-visual:after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(56, 59, 45, .82))
}

.workshop-visual figcaption {
    position: absolute;
    z-index: 1;
    left: 12px;
    bottom: 10px;
    color: white;
    font: .62rem 'DM Mono', monospace;
    letter-spacing: .1em
}

.video-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem
}

.video-gallery video {
    height: 260px
}

@media(max-width:700px) {
    .story-photo img {
        height: 250px
    }

    .project-media,
    .video-gallery {
        grid-template-columns: 1fr
    }

    .football-photo-slot img {
        height: 300px
    }

    .workshop-visual {
        height: 230px
    }
}

.story-photo:before {
    display: none
}

.workshop-visual:before,
.workshop-visual:after {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0
}

.workshop-visual:after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(56, 59, 45, .82))
}

.video-gallery {
    grid-template-columns: 1fr;
    max-width: 700px
}

.story-photo {
    min-height: 0;
    align-items: stretch
}

.story-photo img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #fefae0
}

.project-media figure {
    display: flex;
    flex-direction: column
}

.project-media img,
.project-media video {
    height: 370px;
    object-fit: contain;
    background: #fefae0
}

.football-photo-slot img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: #fefae0
}

.football-gallery {
    max-width: 600px
}

.football-gallery img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    background: #fefae0
}

.workshop-visual {
    height: auto;
    aspect-ratio: 3/4;
    background: #fefae0
}

.workshop-visual img {
    height: 100%;
    object-fit: contain;
    background: #fefae0
}

.video-gallery video {
    height: 380px;
    object-fit: contain;
    background: #fefae0
}

.video-fullscreen-button {
    display: block;
    width: 100%;
    padding: .7rem .9rem;
    border: 0;
    border-top: 1px solid var(--line);
    background: #faedcd;
    color: var(--green);
    text-align: left;
    font: 500 .72rem 'DM Mono', monospace;
    cursor: pointer
}

.video-fullscreen-button:hover {
    background: #e9edc9;
    color: white
}

@media(max-width:700px) {
    .story-photo img {
        max-height: 480px
    }

    .project-media img,
    .project-media video {
        height: 320px
    }

    .football-photo-slot img {
        max-height: 540px
    }

    .football-gallery img {
        max-height: 520px
    }

    .workshop-visual {
        aspect-ratio: 4/5
    }

    .video-gallery video {
        height: 320px
    }
}

.portrait {
    height: auto;
    aspect-ratio: 2/3
}

.portrait img {
    object-fit: contain;
    object-position: center;
    background: #fefae0
}

.football-photo-slot img {
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    background: #fefae0
}

.football-gallery img {
    object-fit: contain
}

.site-header {
    position: sticky;
    justify-content: center;
    gap: 0
}

.site-header>.brand {
    display: none
}

.site-header nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.8rem, 2.4vw, 2rem);
    margin: 0;
    width: max-content
}

.site-header nav>a {
    white-space: nowrap
}

.site-header>.header-avatar {
    position: absolute;
    right: 7vw;
    top: 50%;
    transform: translateY(-50%)
}

.site-map {
    position: absolute;
    left: 7vw;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    font-family: 'Manrope', Arial, sans-serif
}

.site-map-toggle {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--orange);
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background .2s, color .2s, transform .2s
}

.site-map-toggle:hover,
.site-map.open .site-map-toggle {
    background: var(--caramel);
    color: #fff
}

.site-map-toggle span {
    display: inline-block;
    transition: transform .2s
}

.site-map.open .site-map-toggle span {
    transform: rotate(180deg)
}

.site-map-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: auto;
    bottom: auto;
    width: min(310px, calc(100vw - 28px));
    max-height: min(72vh, 620px);
    overflow: auto;
    padding: 1rem;
    background: rgba(254, 250, 224, .98);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s, transform .18s, visibility .18s
}

.site-map.open .site-map-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto
}

.site-map-link {
    display: block;
    padding: .55rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none
}

.site-map-link:hover,
.site-map-link:focus-visible {
    color: var(--green)
}

@media(max-width:700px) {
    .site-header {
        padding: 0 4vw
    }

    .site-header nav {
        gap: .55rem;
        max-width: calc(100vw - 100px)
    }

    .site-header nav>a {
        font-size: .65rem
    }

    .site-header>.header-avatar {
        right: 3vw
    }

    .site-map {
        left: 3vw
    }

    .site-map-toggle {
        width: 32px;
        height: 32px;
        font-size: 1.2rem
    }
}

.site-header {
    height: 86px
}

.site-header nav {
    gap: clamp(1rem, 2.8vw, 2.4rem)
}

.site-header nav>a {
    font-size: .92rem
}

.site-map-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.45rem
}

.project-media {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr);
    align-items: stretch;
    gap: 1.2rem
}

.project-media figure {
    min-width: 0
}

.project-media figure:first-child img {
    height: 420px;
    object-fit: contain;
    object-position: center;
    background: #fefae0
}

.project-media figure:nth-child(2) video {
    height: 460px;
    object-fit: contain;
    background: #fefae0
}

@media(max-width:800px) {
    .project-media {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr)
    }
}

@media(max-width:700px) {
    .site-header {
        height: 74px
    }

    .site-header nav {
        gap: .55rem
    }

    .site-header nav>a {
        font-size: .65rem
    }

    .site-map-toggle {
        width: 32px;
        height: 32px;
        font-size: 1.2rem
    }

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

    .project-media figure:first-child img {
        height: 320px
    }

    .project-media figure:nth-child(2) video {
        height: 400px
    }
}

.feature-section {
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto auto auto;
    align-items: stretch;
    gap: 1rem 3rem
}

.feature-section .feature-number {
    display: none
}

.feature-section>div:not(.feature-number) {
    display: contents
}

.feature-section .project-media {
    display: contents
}

.feature-section .project-media figure:first-child {
    grid-column: 1;
    grid-row: 1/4;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0
}

.feature-section .project-media figure:first-child img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    background: #fefae0
}

.feature-section .eyebrow {
    grid-column: 2;
    grid-row: 1;
    align-self: end
}

.feature-section h2 {
    grid-column: 2;
    grid-row: 2;
    align-self: center
}

.feature-section>div:not(.feature-number)>p:last-of-type {
    grid-column: 2;
    grid-row: 3;
    align-self: start
}

.feature-section .project-media figure:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 1.5rem 0 0
}

.feature-section .project-media figure:nth-child(2) video {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #fefae0
}

@media(max-width:800px) {
    .feature-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem
    }

    .feature-section .project-media figure:first-child,
    .feature-section .eyebrow,
    .feature-section h2,
    .feature-section>div:not(.feature-number)>p:last-of-type,
    .feature-section .project-media figure:nth-child(2) {
        grid-column: 1;
        grid-row: auto
    }

    .feature-section .project-media figure:first-child {
        grid-row: 1
    }

    .feature-section .eyebrow {
        grid-row: 2
    }

    .feature-section h2 {
        grid-row: 3
    }

    .feature-section>div:not(.feature-number)>p:last-of-type {
        grid-row: 4
    }

    .feature-section .project-media figure:nth-child(2) {
        grid-row: 5;
        margin-top: 1rem
    }

    .feature-section .project-media figure:first-child img {
        height: 380px;
        min-height: 0;
        max-height: 500px
    }

    .feature-section .project-media figure:nth-child(2) video {
        height: 420px
    }
}

.feature-section {
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
    gap: 1rem 3rem
}

.feature-section .feature-number {
    display: none
}

.feature-section>div:not(.feature-number) {
    display: contents
}

.feature-section .project-media {
    display: contents
}

.feature-section .project-media figure:first-child {
    display: none
}

.feature-section .eyebrow {
    grid-column: 2;
    grid-row: 1;
    align-self: end
}

.feature-section h2 {
    grid-column: 2;
    grid-row: 2;
    align-self: center
}

.feature-section>div:not(.feature-number)>p:last-of-type {
    grid-column: 2;
    grid-row: 3;
    align-self: start
}

.feature-section .project-media figure:nth-child(2) {
    grid-column: 1;
    grid-row: 1/4;
    display: flex;
    flex-direction: column;
    align-self: center;
    min-width: 0;
    margin: 0
}

.feature-section .project-media figure:nth-child(2) video {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: contain;
    background: #fefae0
}

@media(max-width:800px) {
    .feature-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem
    }

    .feature-section .eyebrow,
    .feature-section h2,
    .feature-section>div:not(.feature-number)>p:last-of-type,
    .feature-section .project-media figure:nth-child(2) {
        grid-column: 1;
        grid-row: auto
    }

    .feature-section .project-media figure:nth-child(2) {
        grid-row: 1;
        margin: 0 0 .75rem
    }

    .feature-section .eyebrow {
        grid-row: 2
    }

    .feature-section h2 {
        grid-row: 3
    }

    .feature-section>div:not(.feature-number)>p:last-of-type {
        grid-row: 4
    }

    .feature-section .project-media figure:nth-child(2) video {
        height: 420px
    }
}

.feature-section .project-media figure:first-child {
    display: flex;
    grid-column: 1;
    grid-row: 1/4;
    align-self: center;
    flex-direction: column;
    min-width: 0;
    margin: 0
}

.feature-section .project-media figure:first-child video {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: contain;
    background: #fefae0
}

@media(max-width:800px) {
    .feature-section .project-media figure:first-child {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        margin: 0 0 .75rem
    }

    .feature-section .project-media figure:first-child video {
        height: 420px
    }
}

.story-layout {
    align-items: start
}

.story-grid {
    grid-template-columns: 1fr;
    gap: 1rem
}

.story-grid .eyebrow {
    margin: 0
}

.story-grid h2 {
    margin: 0 0 .4rem
}

.story-grid>p:not(.eyebrow) {
    margin: 0
}

.skills-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 1.5rem
}

.skills-panel {
    max-width: 850px;
    padding: 1.5rem;
    background: rgba(254, 250, 224, .72);
    border: 1px solid var(--line);
    border-radius: 10px
}

.skills-label {
    margin: 0 0 1rem;
    color: var(--muted);
    font: .7rem 'DM Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase
}

.skills-list {
    margin: 0
}

#story {
    scroll-margin-top: 100px
}

#story .story-layout {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem)
}

#story .story-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0
}

#story .story-grid>.eyebrow {
    order: 0;
    margin: 0
}

#story .story-grid>h2 {
    order: 1;
    margin: 0 0 .4rem
}

#story .story-grid>p:nth-of-type(2) {
    order: 2;
    margin: 0
}

#story .story-grid>p:nth-of-type(3) {
    order: 3;
    margin: 0
}

#skills {
    scroll-margin-top: 100px;
    background: radial-gradient(ellipse at 90% 12%, rgba(204, 213, 174, .28), transparent 42%), #faedcd
}

.skills-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 1.5rem
}

.skills-panel {
    max-width: 850px;
    padding: 1.5rem;
    background: rgba(254, 250, 224, .72);
    border: 1px solid var(--line);
    border-radius: 10px
}

.skills-label {
    margin: 0 0 1rem;
    color: var(--muted);
    font: .7rem 'DM Mono', monospace;
    letter-spacing: .1em;
    text-transform: uppercase
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.skills-list li { display:flex; min-width:0; flex-direction:column; align-items:stretch; gap:.7rem; padding:1rem; background:linear-gradient(145deg, rgba(250, 237, 205,.95), rgba(254, 250, 224,.92)); border:1px solid var(--line); border-radius:8px; color:var(--ink) } .skill-card-heading { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem } .skill-name { font-weight:800 } .skill-score { color:var(--orange); font:500 .76rem 'DM Mono', monospace; white-space:nowrap } .skill-meter { height:9px; overflow:hidden; background:#fefae0; border:1px solid var(--line); border-radius:999px } .skill-meter span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg, var(--purple), var(--orange), var(--green)); box-shadow:0 0 12px rgba(204, 213, 174,.28) } .skill-level { color:var(--green); font:500 .68rem 'DM Mono', monospace; letter-spacing:.08em; text-transform:uppercase }

.site-header nav>a.active {
    color: var(--ink)
}

.site-header nav>a.active:after {
    content: '';
    display: block;
    height: 2px;
    background: var(--caramel);
    margin-top: 5px
}

@media(max-width:800px) {
    #story .story-layout {
        grid-template-columns: 1fr
    }

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

html,
body {
    max-width: 100%;
    overflow-x: clip
}

main,
section {
    min-width: 0
}

img,
video {
    max-width: 100%
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden
    }
}

@media (max-width: 700px) {
    .site-header nav {
        width: calc(100vw - 104px);
        max-width: calc(100vw - 104px);
        gap: .35rem;
        flex-wrap: wrap;
        row-gap: 0
    }

    .site-header nav > a {
        font-size: clamp(.5rem, 2.2vw, .62rem);
        line-height: 1.35
    }
}

html, body { width: 100%; max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; }
body { touch-action: pan-y; }


.language-subsection {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
    background: radial-gradient(ellipse at 8% 80%, rgba(204, 213, 174, .12), transparent 42%), #faedcd
}

.language-subsection h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 3vw, 2.3rem)
}

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

.language-meter {
    overflow: visible
}

.language-meter > span {
    position: relative
}

.native-language {
    position: relative;
    z-index: 1
}

.native-language .language-meter > .native-xp {
    width: 105%;
    max-width: none;
    background: linear-gradient(90deg, var(--green), #e9edc9);
    box-shadow: 0 0 10px rgba(204, 213, 174, .8), 0 0 25px rgba(204, 213, 174, .55), 12px 0 34px rgba(204, 213, 174, 0.45);
    animation: native-xp-pulse 2.2s ease-in-out infinite alternate
}

@keyframes native-xp-pulse {
    from { filter: brightness(1); }
    to { filter: brightness(1.45); }
}

@media (max-width: 800px) {
    .language-list { grid-template-columns: 1fr; }
}
.writing-save-button {
    border: 0;
    border-radius: 5px;
    background: var(--caramel);
    color: white;
    font: 700 .88rem 'Manrope', Arial, sans-serif;
    padding: .8rem 1.2rem;
    cursor: pointer;
    transition: background .2s, transform .2s
}

.writing-save-button:hover {
    background: #bd8856;
    transform: translateY(-2px)
}
.basketball-feature {
    max-width: 800px;
    padding: clamp(1.2rem, 4vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .18)
}

.basketball-feature h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -.06em;
    line-height: 1.05;
    margin-bottom: .65rem
}

.basketball-feature p:last-child { color: var(--muted) }
:root {
    --sage: #ccd5ae;
    --sage-light: #e9edc9;
    --cream: #fefae0;
    --sand: #faedcd
}

.button,
.button-light,
.writing-save-button {
    color: var(--ink)
}

.button span {
    color: var(--ink)
}

.site-map-toggle:hover,
.site-map.open .site-map-toggle {
    color: var(--ink)
}

::selection {
    background: var(--caramel);
    color: var(--ink)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline-color: var(--orange)
}
.site-header nav > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: color .2s, background .2s, border-color .2s
}

.site-header nav > a:hover,
.site-header nav > a:focus-visible {
    background: var(--surface-light);
    border-color: var(--line)
}

.site-header nav > a.active {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--caramel);
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(212, 163, 115, .22)
}

.site-header nav > a.active:after {
    display: none
}

@media (max-width: 700px) {
    .site-header nav > a {
        padding: .28rem .48rem
    }
}
:root {
    --ink: #34392c;
    --muted: #626a53;
    --paper: #fefae0;
    --surface: rgba(255, 255, 255, .66);
    --surface-light: rgba(255, 255, 255, .82);
    --line: rgba(124, 143, 89, .3);
    --purple: #8b9b6d;
    --orange: #8c5b37;
    --caramel: #d4a373;
    --green: #596b45
}

body {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 10% 12%, rgba(233, 237, 201, .8), transparent 32%),
        radial-gradient(ellipse at 92% 72%, rgba(250, 237, 205, .82), transparent 36%),
        linear-gradient(135deg, #fefae0 0%, #f7f8ef 54%, #faedcd 100%)
}

body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    display: block;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    box-shadow: inset 10px 12px 34px rgba(255, 255, 255, .62), 0 24px 70px rgba(91, 107, 69, .13);
    animation: ios-bubble-float 18s ease-in-out infinite alternate
}

body::before {
    width: clamp(180px, 28vw, 420px);
    aspect-ratio: 1;
    top: 18vh;
    left: -9vw;
    background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .95), rgba(204, 213, 174, .5) 38%, rgba(204, 213, 174, .08) 72%)
}

body::after {
    width: clamp(160px, 23vw, 340px);
    aspect-ratio: 1;
    right: -7vw;
    bottom: 4vh;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .96), rgba(212, 163, 115, .34) 42%, rgba(212, 163, 115, .06) 74%);
    animation-delay: -8s
}

@keyframes ios-bubble-float {
    from { transform: translate3d(0, -10px, 0) scale(.98) }
    to { transform: translate3d(18px, 22px, 0) scale(1.04) }
}

.site-header {
    background: rgba(255, 255, 255, .68);
    border-bottom: 1px solid rgba(124, 143, 89, .2);
    box-shadow: 0 8px 32px rgba(64, 77, 50, .08);
    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%)
}

.site-header nav > a {
    border-radius: 999px;
    transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.site-header nav > a:hover {
    transform: translateY(-1px)
}

.site-header nav > a.active {
    color: var(--ink);
    background: rgba(212, 163, 115, .2);
    border-color: rgba(212, 163, 115, .72);
    box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 5px 18px rgba(140, 91, 55, .12)
}

.site-header nav > a.active:after {
    display: none
}

.hero {
    background: transparent;
    border-radius: 0 0 34px 34px
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    display: block;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 8px 10px 28px rgba(255, 255, 255, .65), 0 18px 48px rgba(91, 107, 69, .12);
    animation: ios-bubble-float 16s ease-in-out infinite alternate
}

.hero::before {
    width: clamp(150px, 18vw, 280px);
    aspect-ratio: 1;
    top: 8%;
    left: 43%;
    background: radial-gradient(circle at 32% 27%, rgba(255, 255, 255, .92), rgba(233, 237, 201, .62) 42%, rgba(233, 237, 201, .08) 75%)
}

.hero::after {
    width: clamp(90px, 11vw, 170px);
    aspect-ratio: 1;
    right: 5%;
    bottom: 8%;
    background: radial-gradient(circle at 32% 27%, rgba(255, 255, 255, .92), rgba(212, 163, 115, .42) 45%, rgba(212, 163, 115, .06) 76%);
    animation-delay: -6s
}

.hero-copy,
.portrait,
.hero-index {
    position: relative;
    z-index: 1
}

.portrait {
    border: 3px solid rgba(255, 255, 255, .88);
    border-radius: 30px;
    box-shadow: 0 20px 55px rgba(80, 89, 61, .17), 0 0 0 1px rgba(212, 163, 115, .65)
}

.content-section,
.career-section,
#skills,
.contact-main,
.activity-page {
    background: transparent
}

.feature-section,
.cv-strip {
    margin: 24px clamp(14px, 4vw, 56px);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 30px;
    background: rgba(255, 255, 255, .57);
    color: var(--ink);
    box-shadow: 0 20px 60px rgba(64, 77, 50, .08);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%)
}

.feature-section .eyebrow,
.cv-strip .eyebrow {
    color: var(--green)
}

.feature-section p:last-child,
.two-column > div:last-child,
.story-grid,
.timeline article > p:last-child,
.contact-lead {
    color: var(--muted)
}

.tags span,
.activity-card,
.skills-panel,
.skills-list li,
.workshop-card,
.basketball-feature,
.terminal-window,
.media-drop,
.football-photo-slot,
.site-map-panel,
.timeline article,
.contact-row {
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 22px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 12px 34px rgba(64, 77, 50, .08);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%)
}

.tags span {
    display: inline-flex;
    align-items: center;
    border-color: rgba(124, 143, 89, .25);
    border-radius: 999px;
    background: rgba(233, 237, 201, .56)
}

.activity-card:hover,
.workshop-card:hover {
    border-color: rgba(212, 163, 115, .72);
    background: rgba(255, 255, 255, .8)
}

.activity-icon {
    border-radius: 50%;
    background: rgba(233, 237, 201, .85);
    color: var(--green)
}

.workshop-card {
    border-color: rgba(124, 143, 89, .22)
}

.skills-list li {
    border-color: rgba(124, 143, 89, .22);
    background: linear-gradient(145deg, rgba(255, 255, 255, .83), rgba(233, 237, 201, .53))
}

.skill-meter,
.language-meter {
    border: 1px solid rgba(124, 143, 89, .28);
    border-radius: 999px;
    background: rgba(204, 213, 174, .45)
}

.skill-meter span,
.language-meter > span {
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(124, 143, 89, .3)
}

.timeline article {
    padding: 1.15rem 1.35rem
}

.timeline-dot {
    box-shadow: 0 0 0 5px rgba(212, 163, 115, .18)
}

.contact-row {
    margin: .65rem 0;
    border-bottom: 1px solid rgba(124, 143, 89, .22);
    padding: 1.1rem 1.2rem;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease
}

.contact-row:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 34px rgba(64, 77, 50, .11)
}

.button,
.button-light,
.writing-save-button {
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: linear-gradient(135deg, #d4a373, #e5c39a);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(140, 91, 55, .2), inset 0 1px rgba(255, 255, 255, .48);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease
}

.button:hover,
.writing-save-button:hover {
    background: linear-gradient(135deg, #bd8856, #d4a373);
    box-shadow: 0 15px 32px rgba(140, 91, 55, .24)
}

.button span {
    color: var(--ink)
}

.button-light {
    background: linear-gradient(135deg, #e9edc9, #fefae0)
}

.terminal-window {
    overflow: hidden;
    border-radius: 24px
}

.terminal-top {
    background: rgba(233, 237, 201, .74);
    border-bottom: 1px solid rgba(124, 143, 89, .2);
    color: var(--ink)
}

.terminal-body textarea {
    border: 1px solid rgba(124, 143, 89, .28);
    border-radius: 18px;
    background: rgba(255, 255, 255, .75);
    color: var(--ink)
}

.terminal-body textarea:focus {
    outline-color: var(--caramel)
}

.football-photo-slot,
.media-drop {
    border: 1px solid rgba(255, 255, 255, .8);
    background: linear-gradient(140deg, rgba(255, 255, 255, .7), rgba(233, 237, 201, .56))
}

.project-media figure,
.video-gallery figure,
.story-photo,
.workshop-visual,
.football-gallery figure {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 24px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 14px 38px rgba(64, 77, 50, .1)
}

.project-media img,
.project-media video,
.video-gallery video,
.story-photo img,
.workshop-visual img,
.football-photo-slot img,
.football-gallery img {
    border-radius: 20px
}

.site-map-toggle {
    border: 1px solid rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .76);
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(64, 77, 50, .13);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%)
}

.site-map-toggle:hover,
.site-map.open .site-map-toggle {
    background: var(--caramel);
    color: var(--ink)
}

.site-map-panel {
    border-color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .78)
}

.site-map-page summary,
.site-map-page-link {
    color: var(--ink)
}

footer {
    border-top: 1px solid rgba(124, 143, 89, .2);
    border-radius: 28px 28px 0 0;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 -8px 32px rgba(64, 77, 50, .06);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%)
}

@media (max-width: 800px) {
    .hero::before {
        left: auto;
        right: 8%;
        top: 4%;
        width: 170px
    }

    .hero::after {
        right: auto;
        left: 3%;
        bottom: 10%;
        width: 100px
    }

    .feature-section,
    .cv-strip {
        margin: 16px 12px;
        border-radius: 24px
    }
}

@media (max-width: 700px) {
    .site-header {
        border-radius: 0 0 20px 20px
    }

    .site-header nav > a {
        padding: .3rem .48rem
    }

    .feature-section,
    .cv-strip {
        padding: 48px 8vw
    }

    .portrait {
        border-radius: 24px
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .hero::before,
    .hero::after {
        animation: none
    }
}
body {
    min-height: 100vh;
    background-color: #faf8f2;
    background-image: none
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    pointer-events: none;
    box-shadow: none;
    animation: none;
    mix-blend-mode: multiply;
    filter: blur(90px);
    transform: translateZ(0);
    will-change: transform
}

body::before {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(61, 90, 255, .12) 28%, rgb(255, 255, 255) 48%, rgb(45, 55, 135) 68%, rgb(20, 25, 60) 100%)
}

body::after {
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(61, 90, 255, .22) 34%, rgb(255, 255, 255) 66%, rgb(45, 55, 135) 82%, rgb(20, 25, 60) 100%)
}

body > * {
    position: relative;
    z-index: 1
}

@media (min-width: 801px) {
    body::before,
    body::after {
        filter: blur(130px)
    }
}
.hero::before,
.hero::after {
    content: none;
    display: none;
    animation: none
}

:root {
    color-scheme: dark;
    --ink: #f4f3ff;
    --muted: #bdc5df;
    --paper: #100e0b;
    --surface: rgba(12, 17, 43, .78);
    --surface-light: rgba(27, 31, 70, .88);
    --purple: #e942f7;
    --orange: #f7a442;
    --caramel: #f7a442;
    --green: #59c4ff;
    --line: rgba(104, 128, 255, .38);
    --dark: #100e0b
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    color: var(--ink);
    background-color: #100e0b;
    background-image: none
}

body::before,
body::after {
    content: none;
    display: none
}

.aura-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    display: block;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform
}

.aura-layer-1 {
    z-index: -3;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 138, 255, .9) 40%, rgb(255, 255, 255) 70%, rgb(247, 164, 66) 80%, rgb(233, 66, 247) 100%);
    mix-blend-mode: hard-light;
    filter: blur(50px)
}

.aura-layer-2 {
    z-index: -2;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 138, 255, .9) 40%, rgb(255, 255, 255) 70%, rgb(247, 164, 66) 80%, rgb(233, 66, 247) 100%);
    mix-blend-mode: soft-light;
    filter: blur(40px)
}

.aura-layer-3 {
    z-index: -1;
    background: linear-gradient(to top, rgb(0, 0, 31) 0%, rgba(0, 0, 31, .99) 8.1%, rgba(0, 0, 31, .953) 15.5%, rgba(0, 0, 31, .894) 22.5%, rgba(0, 0, 31, .824) 29%, rgba(0, 0, 31, .74) 35.3%, rgba(0, 0, 31, .647) 41.2%, rgba(0, 0, 31, .55) 47.1%, rgba(0, 0, 31, .45) 52.9%, rgba(0, 0, 31, .353) 58.8%, rgba(0, 0, 31, .26) 64.7%, rgba(0, 0, 31, .176) 71%, rgba(0, 0, 31, .106) 77.5%, rgba(0, 0, 31, .047) 84.5%, rgba(0, 0, 31, .01) 91.9%, rgba(0, 0, 31, 0) 100%);
    mix-blend-mode: normal;
    filter: blur(110px)
}

@media (min-width: 801px) {
    .aura-layer-1 { filter: blur(72px) }
    .aura-layer-2 { filter: blur(58px) }
    .aura-layer-3 { filter: blur(158px) }
}

.site-header {
    background: rgba(13, 15, 36, .76);
    border-bottom-color: rgba(104, 128, 255, .32);
    box-shadow: 0 8px 32px rgba(0, 0, 25, .34);
    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%)
}

.site-header nav > a { color: var(--muted) }

.site-header nav > a:hover {
    background: rgba(0, 138, 255, .14);
    border-color: rgba(0, 138, 255, .34)
}

.site-header nav > a.active {
    color: #fff;
    background: rgba(0, 138, 255, .24);
    border-color: rgba(0, 138, 255, .72);
    box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 5px 18px rgba(0, 138, 255, .2)
}

.hero,
.content-section,
.career-section,
#skills,
.contact-main,
.activity-page {
    background: transparent
}

.feature-section,
.cv-strip {
    background: rgba(11, 16, 42, .76);
    border-color: rgba(113, 132, 255, .32);
    color: var(--ink);
    box-shadow: 0 20px 60px rgba(0, 0, 25, .28)
}

.feature-section .eyebrow,
.cv-strip .eyebrow,
.timeline-date,
.terminal-prompt {
    color: #59c4ff
}

.intro,
.feature-section p:last-child,
.two-column > div:last-child,
.story-grid,
.timeline article > p:last-child,
.contact-lead,
.activity-intro,
.workshop-card p,
.skills-intro,
.writing-footnote {
    color: var(--muted)
}

.tags span,
.activity-card,
.skills-panel,
.skills-list li,
.workshop-card,
.basketball-feature,
.terminal-window,
.media-drop,
.football-photo-slot,
.site-map-panel,
.timeline article,
.contact-row,
.project-media figure,
.video-gallery figure,
.story-photo,
.workshop-visual,
.football-gallery figure {
    border: 1px solid rgba(119, 139, 255, .27);
    border-radius: 22px;
    background: rgba(11, 16, 42, .72);
    color: var(--ink);
    box-shadow: 0 12px 34px rgba(0, 0, 25, .28);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%)
}

.tags span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(0, 138, 255, .13)
}

.activity-card strong,
.workshop-card h2,
.skills-list li,
.timeline h2,
.site-map-page summary {
    color: var(--ink)
}

.activity-card small,
.site-map-page-link,
.site-map-page li a {
    color: var(--muted)
}

.activity-card:hover,
.workshop-card:hover,
.contact-row:hover {
    background: rgba(24, 31, 76, .86);
    border-color: rgba(0, 138, 255, .6)
}

.activity-icon {
    border-radius: 50%;
    background: rgba(0, 138, 255, .18);
    color: #64c9ff
}

.skills-list li {
    background: linear-gradient(145deg, rgba(22, 28, 66, .88), rgba(9, 13, 35, .9))
}

.skill-name,
.skill-level,
.skills-label {
    color: var(--ink)
}

.skill-score,
.contact-label,
.arrow {
    color: #f7a442
}

.skill-meter,
.language-meter {
    border: 1px solid rgba(119, 139, 255, .35);
    border-radius: 999px;
    background: rgba(5, 8, 28, .82)
}

.skill-meter span,
.language-meter > span {
    border-radius: 999px;
    background: linear-gradient(90deg, #008aff, #e942f7, #f7a442);
    box-shadow: 0 0 14px rgba(0, 138, 255, .34)
}

.language-subsection {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(0, 138, 255, .42);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 138, 255, .22), rgba(12, 16, 43, .9) 52%, rgba(233, 66, 247, .18));
    box-shadow: 0 20px 60px rgba(0, 0, 31, .34), inset 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%)
}

.language-subsection h2,
.language-subsection .skills-intro,
.language-subsection .skills-label {
    color: var(--ink)
}

.language-subsection .skills-panel {
    border-color: rgba(114, 137, 255, .35);
    background: rgba(8, 12, 36, .64)
}

.language-subsection .skills-list li {
    border-color: rgba(114, 137, 255, .32);
    background: linear-gradient(145deg, rgba(26, 33, 76, .88), rgba(9, 13, 37, .9))
}

.language-subsection .skill-meter {
    background: rgba(4, 8, 28, .86)
}

.language-subsection .language-meter > span,
.language-subsection .native-language .language-meter > .native-xp {
    background: linear-gradient(90deg, #008aff, #e942f7);
    box-shadow: 0 0 12px rgba(0, 138, 255, .54), 0 0 24px rgba(233, 66, 247, .22)
}

.language-subsection .skill-level {
    color: #8bd8ff
}

.timeline article {
    padding: 1.15rem 1.35rem
}

.contact-row {
    margin: .65rem 0;
    border-bottom: 1px solid rgba(119, 139, 255, .26);
    padding: 1.1rem 1.2rem
}

.button,
.button-light,
.writing-save-button {
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: linear-gradient(135deg, #008aff, #a344ed 56%, #e942f7);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 138, 255, .24), inset 0 1px rgba(255, 255, 255, .22)
}

.button:hover,
.writing-save-button:hover {
    background: linear-gradient(135deg, #249cff, #ed5bfa);
    color: #fff
}

.button span {
    color: #fff
}

.button-light {
    background: linear-gradient(135deg, #f7a442, #ed6dda);
    color: #100e0b
}

.terminal-window {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(7, 10, 32, .9)
}

.terminal-top {
    background: rgba(28, 35, 80, .82);
    border-bottom-color: rgba(119, 139, 255, .28);
    color: var(--ink)
}

.terminal-body textarea {
    border-color: rgba(119, 139, 255, .36);
    border-radius: 18px;
    background: rgba(5, 8, 28, .88);
    color: var(--ink)
}

.terminal-body textarea:focus {
    outline-color: #008aff
}

.football-photo-slot,
.media-drop {
    background: linear-gradient(140deg, rgba(18, 25, 62, .84), rgba(7, 10, 32, .88))
}

.project-media img,
.project-media video,
.video-gallery video,
.story-photo img,
.workshop-visual img,
.football-photo-slot img,
.football-gallery img {
    border-radius: 20px;
    background: #080b1f
}

.site-map-toggle {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(17, 22, 52, .82);
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(0, 0, 31, .32);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%)
}

.site-map-toggle:hover,
.site-map.open .site-map-toggle {
    background: #008aff;
    color: #fff
}

.site-map-panel {
    border-color: rgba(119, 139, 255, .36);
    background: rgba(9, 13, 37, .94)
}

.site-map-title,
.site-map-page-link:hover,
.site-map-page li a:hover {
    color: #59c4ff
}

footer {
    border-top-color: rgba(119, 139, 255, .28);
    border-radius: 28px 28px 0 0;
    background: rgba(10, 13, 32, .84);
    box-shadow: 0 -8px 32px rgba(0, 0, 31, .3);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%)
}

@media (max-width: 800px) {
    .language-subsection { border-radius: 24px }
}

@media (max-width: 700px) {
    .language-subsection {
        padding: 1.35rem;
        border-radius: 22px
    }
}


.aura-layer-1 {
    filter: blur(68px) saturate(1.42);
    opacity: .76
}

.aura-layer-2 {
    filter: blur(58px) saturate(1.5);
    opacity: .68
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(135deg, #008aff, #a344ed 56%, #e942f7);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 5px 18px rgba(0, 138, 255, .22))
}

.language-subsection {
    position: relative;
    isolation: isolate;
    box-shadow: 0 0 22px rgba(0, 138, 255, .24), 0 0 58px rgba(0, 138, 255, .2), 0 0 92px rgba(233, 66, 247, .14), inset 0 1px rgba(255, 255, 255, .1)
}

.language-subsection::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -10px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(0, 138, 255, .38), rgba(233, 66, 247, .28), rgba(247, 164, 66, .22));
    filter: blur(30px);
    opacity: .8;
    pointer-events: none
}

.skills-panel .skill-meter > span {
    animation: xp-bar-glow 2.6s ease-in-out infinite alternate
}

@keyframes xp-bar-glow {
    from {
        box-shadow: 0 0 10px rgba(0, 138, 255, .42), 0 0 18px rgba(233, 66, 247, .15)
    }
    to {
        box-shadow: 0 0 17px rgba(0, 138, 255, .78), 0 0 29px rgba(233, 66, 247, .38)
    }
}

.site-header nav {
    position: relative;
    isolation: isolate
}

.site-header nav > a {
    position: relative;
    z-index: 2;
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.site-header nav > a:hover,
.site-header nav > a.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.nav-rubber-indicator {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 1px solid rgba(162, 203, 255, .76);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 138, 255, .94), rgba(163, 68, 237, .93) 56%, rgba(233, 66, 247, .9));
    box-shadow: 0 8px 22px rgba(0, 138, 255, .28), 0 0 24px rgba(233, 66, 247, .2), inset 0 1px rgba(255, 255, 255, .24);
    opacity: 0;
    pointer-events: none;
    transition: left .38s cubic-bezier(.23, 1, .32, 1), top .38s cubic-bezier(.23, 1, .32, 1), width .34s cubic-bezier(.23, 1, .32, 1), height .34s cubic-bezier(.23, 1, .32, 1), opacity .18s ease;
    will-change: left, top, width, height, transform
}

.site-header nav.rubber-ready .nav-rubber-indicator {
    opacity: 1
}

.specular-target {
    position: relative;
    isolation: isolate
}

.specular-target::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--specular-x, 50%) var(--specular-y, 18%), rgba(255, 255, 255, .32), rgba(255, 255, 255, .08) 28%, transparent 62%);
    opacity: var(--specular-opacity, .2);
    mix-blend-mode: screen;
    pointer-events: none
}

.specular-target::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: -1px;
    padding: 1.2px;
    border-radius: inherit;
    background: conic-gradient(from calc(var(--specular-angle, 0deg) - 18deg), transparent 0deg 8deg, rgba(255, 255, 255, .28) 16deg, rgba(255, 255, 255, .95) 22deg, rgba(130, 205, 255, .86) 30deg, transparent 42deg 360deg);
    opacity: var(--specular-opacity, .2);
    filter: drop-shadow(0 0 6px rgba(0, 138, 255, .34)) drop-shadow(0 0 14px rgba(233, 66, 247, .16));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none
}

.specular-target:focus-visible {
    --specular-opacity: 1;
    outline: 2px solid rgba(139, 216, 255, .8);
    outline-offset: 3px
}

.border-glow-section {
    position: relative
}

.section-glow-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    --section-glow-opacity: 0
}

.section-glow-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from calc(var(--section-glow-angle, 0deg) - 20deg), transparent 0deg 8deg, rgba(0, 138, 255, .72) 20deg, rgba(233, 66, 247, 1) 31deg, rgba(247, 164, 66, .9) 43deg, transparent 58deg 360deg);
    opacity: var(--section-glow-opacity, 0);
    filter: drop-shadow(0 0 12px rgba(0, 138, 255, .42)) drop-shadow(0 0 26px rgba(233, 66, 247, .28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude
}

.football-gallery.orbit-gallery {
    max-width: 980px;
    margin: 4rem auto;
    padding: clamp(1.4rem, 4vw, 2.6rem);
    overflow: visible;
    border: 1px solid rgba(119, 139, 255, .32);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(18, 25, 62, .82), rgba(7, 10, 32, .88));
    box-shadow: 0 22px 64px rgba(0, 0, 31, .38), inset 0 1px rgba(255, 255, 255, .08);
    text-align: center
}

.orbit-gallery-heading {
    margin-bottom: .7rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -.045em
}

.orbit-gallery-heading span {
    color: #59c4ff
}

.orbit-stage {
    position: relative;
    width: min(100%, 900px);
    height: clamp(280px, 40vw, 410px);
    margin: 1rem auto .75rem;
    overflow: hidden;
    border: 1px solid rgba(119, 139, 255, .2);
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 138, 255, .12), rgba(233, 66, 247, .07) 38%, rgba(7, 10, 32, .36) 72%);
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none
}

.orbit-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84%;
    height: 48%;
    border: 1px solid rgba(89, 196, 255, .42);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    box-shadow: 0 0 20px rgba(0, 138, 255, .14), inset 0 0 16px rgba(233, 66, 247, .08);
    pointer-events: none
}

.orbit-item {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: clamp(68px, 8vw, 96px);
    aspect-ratio: .82;
    padding: 0;
    border: 1px solid rgba(147, 181, 255, .58);
    border-radius: 20px;
    background: rgba(8, 12, 36, .94);
    color: #f4f0fa;
    cursor: grab;
    will-change: transform, opacity, filter;
    transform-origin: center center
}

.orbit-item-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    box-shadow: 0 18px 34px rgba(0, 0, 31, .44);
    transition: transform .42s cubic-bezier(.2, .8, .2, 1)
}

.orbit-item:hover .orbit-item-inner,
.orbit-item:focus-visible .orbit-item-inner {
    transform: scale(1.07)
}

.orbit-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    pointer-events: none
}

.orbit-caption {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: .25rem .35rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(7, 10, 32, .84);
    color: #eaf4ff;
    font: .58rem 'DM Mono', monospace;
    line-height: 1.25;
    text-align: center;
    backdrop-filter: blur(8px)
}

.orbit-center-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 55;
    display: flex;
    width: clamp(122px, 18vw, 168px);
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    border: 1px solid rgba(119, 139, 255, .28);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 10, 32, .92), rgba(7, 10, 32, .7) 64%, rgba(7, 10, 32, .05));
    box-shadow: 0 0 32px rgba(0, 138, 255, .18);
    transform: translate(-50%, -50%);
    pointer-events: none
}

.orbit-center-content .eyebrow {
    margin: 0;
    color: #8bd8ff;
    font-size: .58rem
}

.orbit-center-content strong {
    color: #fff;
    font-size: clamp(.85rem, 2vw, 1.2rem);
    line-height: 1.12
}

.orbit-hint {
    margin: .25rem 0 0;
    color: #9ca9d5;
    font-size: .76rem
}

@media (max-width: 700px) {
    .site-header nav > a {
        padding: .34rem .45rem
    }

    .orbit-stage {
        height: 290px
    }

    .orbit-item {
        width: clamp(64px, 18vw, 84px);
        border-radius: 16px
    }

    .orbit-gallery.orbit-gallery {
        margin: 2.6rem auto;
        padding: 1.25rem .8rem
    }

    .orbit-center-content {
        width: 114px
    }
}

@media (max-width: 1050px) and (min-width: 701px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: .75rem
    }

    .site-header > .site-map { grid-column: 1; justify-self: start }
    .site-header nav { grid-column: 2; justify-self: center }
    .site-header > .header-avatar { grid-column: 3; justify-self: end }
}

.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 1rem
}

.site-header > .site-map { grid-column: 1; justify-self: start }
.site-header nav { grid-column: 2; justify-self: center }
.site-header > .header-avatar { grid-column: 3; justify-self: end }

@media (max-width: 700px) {
    .site-header {
        height: auto;
        min-height: 66px;
        grid-template-columns: 40px minmax(0, 1fr) 34px;
        column-gap: .35rem;
        padding-block: .45rem
    }

    .site-header > .site-map { grid-column: 1 }
    .site-header nav {
        grid-column: 2;
        width: 100%;
        max-width: none;
        justify-content: center;
        flex-wrap: wrap;
        gap: .2rem
    }

    .site-header > .header-avatar { grid-column: 3 }
}

@media (prefers-reduced-motion: reduce) {
    .skills-panel .skill-meter > span,
    .orbit-item-inner {
        animation: none !important;
        transition: none !important
    }

    .nav-rubber-indicator {
        transition: none !important
    }
}


.aura-layer-1 {
    filter: blur(68px) saturate(1.42);
    opacity: .76
}

.aura-layer-2 {
    filter: blur(58px) saturate(1.5);
    opacity: .68
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(135deg, #008aff, #a344ed 56%, #e942f7);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 5px 18px rgba(0, 138, 255, .22))
}

.language-subsection {
    position: relative;
    isolation: isolate;
    box-shadow: 0 0 22px rgba(0, 138, 255, .24), 0 0 58px rgba(0, 138, 255, .2), 0 0 92px rgba(233, 66, 247, .14), inset 0 1px rgba(255, 255, 255, .1)
}

.language-subsection::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -10px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(0, 138, 255, .38), rgba(233, 66, 247, .28), rgba(247, 164, 66, .22));
    filter: blur(30px);
    opacity: .8;
    pointer-events: none
}

.skills-panel .skill-meter > span {
    animation: xp-bar-glow 2.6s ease-in-out infinite alternate
}

@keyframes xp-bar-glow {
    from {
        box-shadow: 0 0 10px rgba(0, 138, 255, .42), 0 0 18px rgba(233, 66, 247, .15)
    }
    to {
        box-shadow: 0 0 17px rgba(0, 138, 255, .78), 0 0 29px rgba(233, 66, 247, .38)
    }
}

.site-header nav {
    position: relative;
    isolation: isolate
}

.site-header nav > a {
    position: relative;
    z-index: 2;
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.site-header nav > a:hover,
.site-header nav > a.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.nav-rubber-indicator {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 1px solid rgba(162, 203, 255, .76);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 138, 255, .94), rgba(163, 68, 237, .93) 56%, rgba(233, 66, 247, .9));
    box-shadow: 0 8px 22px rgba(0, 138, 255, .28), 0 0 24px rgba(233, 66, 247, .2), inset 0 1px rgba(255, 255, 255, .24);
    opacity: 0;
    pointer-events: none;
    transition: left .38s cubic-bezier(.23, 1, .32, 1), top .38s cubic-bezier(.23, 1, .32, 1), width .34s cubic-bezier(.23, 1, .32, 1), height .34s cubic-bezier(.23, 1, .32, 1), opacity .18s ease;
    will-change: left, top, width, height, transform
}

.site-header nav.rubber-ready .nav-rubber-indicator {
    opacity: 1
}

.specular-target {
    position: relative;
    isolation: isolate
}

.specular-target::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--specular-x, 50%) var(--specular-y, 18%), rgba(255, 255, 255, .32), rgba(255, 255, 255, .08) 28%, transparent 62%);
    opacity: var(--specular-opacity, .2);
    mix-blend-mode: screen;
    pointer-events: none
}

.specular-target::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: -1px;
    padding: 1.2px;
    border-radius: inherit;
    background: conic-gradient(from calc(var(--specular-angle, 0deg) - 18deg), transparent 0deg 8deg, rgba(255, 255, 255, .28) 16deg, rgba(255, 255, 255, .95) 22deg, rgba(130, 205, 255, .86) 30deg, transparent 42deg 360deg);
    opacity: var(--specular-opacity, .2);
    filter: drop-shadow(0 0 6px rgba(0, 138, 255, .34)) drop-shadow(0 0 14px rgba(233, 66, 247, .16));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none
}

.specular-target:focus-visible {
    --specular-opacity: 1;
    outline: 2px solid rgba(139, 216, 255, .8);
    outline-offset: 3px
}

.border-glow-section {
    position: relative
}

.section-glow-overlay {
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
    --section-glow-opacity: 0
}

.section-glow-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from calc(var(--section-glow-angle, 0deg) - 20deg), transparent 0deg 8deg, rgba(0, 138, 255, .72) 20deg, rgba(233, 66, 247, 1) 31deg, rgba(247, 164, 66, .9) 43deg, transparent 58deg 360deg);
    opacity: var(--section-glow-opacity, 0);
    filter: drop-shadow(0 0 12px rgba(0, 138, 255, .42)) drop-shadow(0 0 26px rgba(233, 66, 247, .28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude
}

.football-gallery.orbit-gallery {
    max-width: 980px;
    margin: 4rem auto;
    padding: clamp(1.4rem, 4vw, 2.6rem);
    overflow: visible;
    border: 1px solid rgba(119, 139, 255, .32);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(18, 25, 62, .82), rgba(7, 10, 32, .88));
    box-shadow: 0 22px 64px rgba(0, 0, 31, .38), inset 0 1px rgba(255, 255, 255, .08);
    text-align: center
}

.orbit-gallery-heading {
    margin-bottom: .7rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -.045em
}

.orbit-gallery-heading span {
    color: #59c4ff
}

.orbit-stage {
    position: relative;
    width: min(100%, 900px);
    height: clamp(280px, 40vw, 410px);
    margin: 1rem auto .75rem;
    overflow: hidden;
    border: 1px solid rgba(119, 139, 255, .2);
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 138, 255, .12), rgba(233, 66, 247, .07) 38%, rgba(7, 10, 32, .36) 72%);
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none
}

.orbit-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84%;
    height: 48%;
    border: 1px solid rgba(89, 196, 255, .42);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    box-shadow: 0 0 20px rgba(0, 138, 255, .14), inset 0 0 16px rgba(233, 66, 247, .08);
    pointer-events: none
}

.orbit-item {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: clamp(76px, 10vw, 116px);
    aspect-ratio: .82;
    padding: 0;
    border: 1px solid rgba(147, 181, 255, .58);
    border-radius: 20px;
    background: rgba(8, 12, 36, .94);
    color: #f4f0fa;
    cursor: grab;
    will-change: transform, opacity, filter;
    transform-origin: center center
}

.orbit-item-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    box-shadow: 0 18px 34px rgba(0, 0, 31, .44);
    transition: transform .42s cubic-bezier(.2, .8, .2, 1)
}

.orbit-item:hover .orbit-item-inner,
.orbit-item:focus-visible .orbit-item-inner {
    transform: scale(1.07)
}

.orbit-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    pointer-events: none
}

.orbit-caption {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: .25rem .35rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(7, 10, 32, .84);
    color: #eaf4ff;
    font: .58rem 'DM Mono', monospace;
    line-height: 1.25;
    text-align: center;
    backdrop-filter: blur(8px)
}

.orbit-center-content {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 55;
    display: flex;
    width: clamp(122px, 18vw, 168px);
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    border: 1px solid rgba(119, 139, 255, .28);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 10, 32, .92), rgba(7, 10, 32, .7) 64%, rgba(7, 10, 32, .05));
    box-shadow: 0 0 32px rgba(0, 138, 255, .18);
    transform: translate(-50%, -50%);
    pointer-events: none
}

.orbit-center-content .eyebrow {
    margin: 0;
    color: #8bd8ff;
    font-size: .58rem
}

.orbit-center-content strong {
    color: #fff;
    font-size: clamp(.85rem, 2vw, 1.2rem);
    line-height: 1.12
}

.orbit-hint {
    margin: .25rem 0 0;
    color: #9ca9d5;
    font-size: .76rem
}

@media (max-width: 700px) {
    .site-header nav > a {
        padding: .34rem .45rem
    }

    .orbit-stage {
        height: 290px
    }

    .orbit-item {
        width: clamp(70px, 20vw, 94px);
        border-radius: 16px
    }

    .orbit-gallery.orbit-gallery {
        margin: 2.6rem auto;
        padding: 1.25rem .8rem
    }

    .orbit-center-content {
        width: 114px
    }
}

@media (prefers-reduced-motion: reduce) {
    .skills-panel .skill-meter > span,
    .orbit-item-inner {
        animation: none !important;
        transition: none !important
    }

    .nav-rubber-indicator {
        transition: none !important
    }
}


:root {
    --hero-accent-gradient: linear-gradient(135deg, #008aff, #a344ed 56%, #e942f7);
    --hero-accent-blue-glow: rgba(0, 138, 255, .3);
    --hero-accent-pink-glow: rgba(233, 66, 247, .22)
}

.hero h1 span,
.story-grid h2 span {
    color: transparent;
    background: var(--hero-accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 5px 18px rgba(0, 138, 255, .22))
}

.portrait {
    border: 3px solid transparent;
    background: linear-gradient(rgba(12, 17, 43, .94), rgba(12, 17, 43, .94)) padding-box, var(--hero-accent-gradient) border-box;
    box-shadow: 0 0 22px var(--hero-accent-blue-glow), 0 0 34px var(--hero-accent-pink-glow), 0 20px 55px rgba(0, 0, 25, .32)
}

.header-avatar img {
    border: 2px solid transparent;
    background: linear-gradient(rgba(12, 17, 43, .94), rgba(12, 17, 43, .94)) padding-box, var(--hero-accent-gradient) border-box;
    box-shadow: 0 0 10px var(--hero-accent-blue-glow), 0 0 16px var(--hero-accent-pink-glow)
}

.contact-main {
    position: relative;
    isolation: isolate;
    width: min(980px, calc(100% - 2rem));
    margin: clamp(1.5rem, 5vw, 3.5rem) auto;
    padding: clamp(2.2rem, 6vw, 5rem);
    border: 1px solid rgba(119, 139, 255, .32);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(14, 20, 53, .9), rgba(11, 16, 42, .78));
    color: #f4f3ff;
    box-shadow: 0 24px 68px rgba(0, 0, 25, .36), 0 0 48px rgba(0, 138, 255, .1);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%)
}

.contact-main .eyebrow {
    color: #59c4ff
}

.contact-main h1 {
    color: #f4f3ff
}

.contact-main h1 span {
    color: transparent;
    background: var(--hero-accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 5px 18px rgba(0, 138, 255, .22))
}

.contact-lead {
    color: #bdc5df
}

.contact-list {
    border-top-color: rgba(119, 139, 255, .27)
}

.contact-row {
    margin: .7rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(119, 139, 255, .27);
    border-radius: 20px;
    background: rgba(8, 13, 37, .66);
    color: #f4f3ff;
    box-shadow: 0 12px 34px rgba(0, 0, 25, .2);
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease
}

.contact-row:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 138, 255, .7);
    background: rgba(24, 31, 76, .9);
    box-shadow: 0 16px 36px rgba(0, 0, 25, .32), 0 0 20px rgba(0, 138, 255, .12)
}

.contact-label {
    color: #aebbe2
}

.contact-main .arrow {
    color: #f7a442
}

.contact-main .back-link {
    color: #bdc5df
}

.contact-main .back-link:hover {
    color: #fff
}

@media (min-width: 701px) {
    .site-header nav {
        position: relative;
        left: auto;
        top: 0;
        transform: translateY(-5px)
    }
}

@media (max-width: 700px) {
    body {
        padding-bottom: calc(98px + env(safe-area-inset-bottom))
    }

    .site-header {
        position: fixed;
        top: auto;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 50%;
        right: auto;
        z-index: 1100;
        width: min(480px, calc(100vw - 20px));
        height: 64px;
        min-height: 64px;
        padding: .35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%);
        border: 1px solid rgba(119, 139, 255, .38);
        border-radius: 999px;
        background: rgba(11, 16, 42, .92);
        box-shadow: 0 14px 42px rgba(0, 0, 25, .46), inset 0 1px rgba(255, 255, 255, .12)
    }

    .site-header nav {
        position: relative;
        inset: auto;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: .08rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none
    }

    .site-header nav::-webkit-scrollbar {
        display: none
    }

    .site-header nav > a {
        flex: 0 0 auto;
        padding: .48rem clamp(.28rem, 1.5vw, .5rem);
        font-size: clamp(.54rem, 2.5vw, .68rem);
        line-height: 1;
        white-space: nowrap
    }

    .site-header > .header-avatar {
        display: none
    }

    .site-map {
        position: fixed;
        left: 14px;
        top: auto;
        right: auto;
        bottom: calc(84px + env(safe-area-inset-bottom));
        transform: none;
        z-index: 1101
    }

    .site-map-panel {
        top: auto;
        bottom: calc(100% + 10px);
        left: 0;
        right: auto;
        max-height: min(65vh, 520px)
    }

    .contact-main {
        width: calc(100% - 1.25rem);
        min-height: calc(100svh - 125px);
        margin: .65rem auto 1.25rem;
        padding: 2.2rem 1.15rem;
        border-radius: 24px
    }

    .contact-main h1 {
        font-size: clamp(4.3rem, 16vw, 5.5rem)
    }

    .contact-row {
        grid-template-columns: minmax(55px, .34fr) minmax(0, 1fr) 18px;
        gap: .65rem;
        padding: .95rem .8rem;
        font-size: .82rem;
        overflow-wrap: anywhere
    }

    footer {
        margin-bottom: .25rem
    }
}


@media (max-width: 1050px) and (min-width: 701px) {
    .site-header nav {
        gap: .55rem
    }

    .site-header nav > a {
        padding: .36rem .5rem;
        font-size: .82rem
    }
}
