html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    background: #09090b;
    color: #fafafa;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 60;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
    background: rgba(9, 9, 11, 0.65);
    backdrop-filter: blur(8px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-header a {
    color: #e4e4e7;
    transition: color .2s ease;
}

.site-header a:hover {
    color: #22d3ee;
}

main {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.section-shell {
    position: relative;
}

.section-soft {
    background: rgba(24, 24, 27, 0.58);
    backdrop-filter: blur(3px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
}

.hero-section::before {
    width: 26rem;
    height: 26rem;
    right: 8%;
    top: 12%;
    background: rgba(34, 211, 238, 0.16);
}

.hero-section::after {
    width: 22rem;
    height: 22rem;
    left: -4rem;
    bottom: -5rem;
    background: rgba(59, 130, 246, 0.14);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.52), rgba(9, 9, 11, 0.76));
    z-index: 1;
    pointer-events: none;
}

.hero-section > .mx-auto {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 44rem;
}

.hero-kicker {
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #22d3ee;
    font-weight: 600;
}

.hero-title {
    margin-top: 1.25rem;
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: .98;
    font-weight: 900;
}

.hero-description {
    margin-top: 1.9rem;
    max-width: 44rem;
    color: #d4d4d8;
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    line-height: 1.6;
}

.hero-specialties {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.hero-actions {
    margin-top: 2.2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 0.95rem 1.85rem;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-btn-primary {
    background: #22d3ee;
    color: #09090b;
}

.hero-btn-primary:hover {
    background: #67e8f9;
}

.hero-btn-secondary {
    border: 1px solid rgba(113, 113, 122, 0.95);
    color: #f4f4f5;
    background: rgba(24, 24, 27, 0.28);
}

.hero-btn-secondary:hover {
    border-color: rgba(161, 161, 170, 1);
    background: rgba(39, 39, 42, 0.42);
}

.hero-metrics {
    margin-top: 2.3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.metric-card {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    border-radius: .75rem;
    padding: .85rem .95rem;
}

.metric-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f4f4f5;
}

.metric-card span {
    display: block;
    margin-top: .25rem;
    font-size: .83rem;
    color: #a1a1aa;
}

.hero-tech-panel {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(9, 9, 11, .45);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.3rem;
    max-width: 24rem;
    justify-self: end;
}

.hero-tech-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #22d3ee;
}

.hero-tech-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .58rem;
}

.hero-tech-list li {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .03);
    padding: .55rem .65rem;
    color: #e4e4e7;
    font-size: .87rem;
}

.page-bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 75% 28%, rgba(34, 211, 238, 0.2), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(125, 211, 252, 0.1), transparent 40%);
}

.section-tag {
    color: #22d3ee;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: .8rem;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
}

.section-copy {
    margin-top: 1.4rem;
    color: #d4d4d8;
    font-size: 1.15rem;
    line-height: 1.85rem;
}

.chip {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    color: #e4e4e7;
}

.chip-compact {
    border-radius: 9999px;
    padding: .46rem .78rem;
    font-size: .84rem;
    line-height: 1;
    background: rgba(255, 255, 255, .05);
}

.tech-group-card {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .02);
    border-radius: 1rem;
    padding: 1.1rem;
}

.tech-group-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f4f4f5;
}

.tech-group-card p {
    margin-top: .55rem;
    color: #a1a1aa;
    font-size: .9rem;
    line-height: 1.4;
}

.project-card {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .02);
    border-radius: 1rem;
    padding: 1.3rem;
}

.project-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.project-card p {
    color: #d4d4d8;
}

.project-subtitle {
    color: #a1a1aa;
    font-size: .9rem;
    margin-top: .2rem;
}

.project-stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .85rem;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    border-radius: .6rem;
    font-size: .87rem;
    font-weight: 600;
    transition: opacity .2s ease, transform .2s ease;
}

.project-link:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.project-link-primary {
    background: #22d3ee;
    color: #09090b;
}

.project-link-secondary {
    border: 1px solid rgba(113, 113, 122, .9);
    color: #e4e4e7;
    background: rgba(24, 24, 27, .3);
}

.experience-card {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .02);
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
}

.experience-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}

.experience-period {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #22d3ee;
    font-weight: 600;
}

.experience-company {
    font-size: .85rem;
    color: #a1a1aa;
}

.experience-position {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f4f4f5;
    margin-bottom: .55rem;
}

.experience-description {
    color: #d4d4d8;
    font-size: .95rem;
    line-height: 1.65;
}

.experience-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .9rem;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .75rem;
    background: rgba(255, 255, 255, .04);
    color: #e4e4e7;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact-social-link:hover {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, .08);
    color: #22d3ee;
    transform: translateY(-2px);
}

.contact-social-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ?? Contact layout ???????????????????????????????????????????????????????? */
.contact-layout {
    display: grid;
    gap: 3.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1.4fr;
    }
}

/* ?? Contact form ??????????????????????????????????????????????????????????? */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #a1a1aa;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.form-input {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .65rem;
    color: #f4f4f5;
    font-family: inherit;
    font-size: .95rem;
    padding: .7rem .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #52525b;
}

.form-input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .12);
}

.form-textarea {
    resize: vertical;
    min-height: 9rem;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.honeypot-field label,
.honeypot-field input {
    position: absolute;
}

.recaptcha-notice {
    font-size: .76rem;
    color: #52525b;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: #71717a;
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: #a1a1aa;
}

.form-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: #22d3ee;
    color: #09090b;
    font-weight: 700;
    font-family: inherit;
    font-size: .95rem;
    padding: .8rem 1.8rem;
    border: none;
    border-radius: .75rem;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

.contact-submit-btn:hover:not(:disabled) {
    background: #67e8f9;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.form-spinner {
    width: 1.1rem;
    height: 1.1rem;
    animation: spin .75s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    font-size: .9rem;
    line-height: 1.5;
}

.form-feedback-success {
    color: #4ade80;
}

.form-feedback-error {
    color: #f87171;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .hero-tech-panel {
        justify-self: start;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-image: url('/img/thedigitalartist-cyber-3400789.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-video {
        display: none;
    }

    .hero-video-overlay {
        background: linear-gradient(to bottom, rgba(9, 9, 11, 0.45), rgba(9, 9, 11, 0.72));
    }

    .hero-title {
        font-size: clamp(2.6rem, 12vw, 4.1rem);
    }

    .hero-tech-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible,
    .hero-btn {
        transition: none;
        transform: none;
    }
}