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

:root {
    --bg: #101411;
    --surface: #191f1a;
    --sage: #a3b5a2;
    --sage-light: #d3e2cc;
    --ivory: #eae6dc;
    --muted: #858d83;
    --line: rgba(211, 226, 204, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 78% 43%, rgba(104, 134, 110, 0.12), transparent 36%),
        var(--bg);
    color: var(--ivory);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.landing {
    width: min(1440px, 100%);
    min-height: 100vh;
    margin: auto;
    padding: 0 7.2%;
    position: relative;
    isolation: isolate;
}

.landing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7.2%;
    right: 7.2%;
    height: 1px;
    background: var(--line);
    pointer-events: none;
}

/* NAVIGATION */

.navbar {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 5;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1.3px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--sage);
    color: var(--bg);
    border-radius: 11px 11px 11px 3px;
    font-size: 22px;
    font-weight: 800;
}

.nav-note,
.nav-login,
.eyebrow,
.hero-bottom-note,
.visual-topline,
.skill-info small,
.core-label,
.visual-caption,
.footer {
    font-family: "DM Mono", monospace;
}

.nav-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.2px;
}

.status-dot,
.caption-dot {
    width: 7px;
    height: 7px;
    background: var(--sage);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(163, 181, 162, 0.5);
}

.nav-login {
    color: var(--ivory);
    font-size: 11px;
    transition: color 0.25s ease;
}

.nav-login:hover {
    color: var(--sage-light);
}

/* HERO LAYOUT */

.hero {
    min-height: calc(100vh - 151px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3%;
    padding: 48px 0 38px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 10px 0 22px;
    animation: enter-left 0.9s ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.eyebrow-line {
    width: 27px;
    height: 1px;
    background: var(--sage);
}

h1 {
    font-size: clamp(44px, 5.4vw, 76px);
    line-height: 0.99;
    font-weight: 600;
    letter-spacing: -4.5px;
}

.headline-accent {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-style: italic;
    color: var(--sage-light);
}

.headline-last {
    display: block;
    max-width: 490px;
    margin-top: 12px;
    font-size: 0.43em;
    line-height: 1.4;
    letter-spacing: -0.7px;
    font-weight: 400;
    color: var(--muted);
}

.description {
    max-width: 385px;
    margin-top: 26px;
    color: #a5aca2;
    font-size: 14px;
    line-height: 1.9;
}

.description strong {
    display: block;
    color: var(--ivory);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 31px;
    flex-wrap: wrap;
}

.get-started {
    min-width: 164px;
    padding: 14px 17px 14px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: var(--sage-light);
    color: var(--bg);
    border: 1px solid var(--sage-light);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
}

.get-started:hover {
    background: var(--ivory);
    transform: translateY(-3px);
}

.button-arrow {
    font-size: 19px;
    transition: transform 0.25s ease;
}

.get-started:hover .button-arrow {
    transform: translate(2px, -2px);
}

.discover-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    transition: color 0.25s ease;
}

.discover-link:hover {
    color: var(--ivory);
}

.discover-link span {
    font-size: 17px;
}

.hero-bottom-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 54px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.bottom-divider {
    height: 1px;
    width: 30px;
    background: var(--line);
}

/* SKILL ORBIT */

.visual {
    position: relative;
    width: 100%;
    max-width: 530px;
    aspect-ratio: 1 / 1;
    justify-self: end;
    display: grid;
    place-items: center;
    isolation: isolate;
    animation: enter-right 1s ease both;
}

.visual::before {
    content: "";
    position: absolute;
    width: 68%;
    height: 68%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 151, 120, 0.14), transparent 70%);
    filter: blur(12px);
    z-index: -1;
}

.visual-topline {
    position: absolute;
    top: 4%;
    left: 2%;
    right: 2%;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.3px;
}

.visual-topline span:last-child {
    font-size: 19px;
    color: var(--sage);
}

.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(163, 181, 162, 0.17);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-outer {
    width: 84%;
    height: 84%;
    transform: translate(-50%, -50%) rotate(-28deg) scaleY(0.75);
    animation: orbit-drift 22s linear infinite;
}

.orbit-inner {
    width: 61%;
    height: 61%;
    border-style: dashed;
    border-color: rgba(163, 181, 162, 0.2);
    transform: translate(-50%, -50%) rotate(35deg) scaleY(0.8);
    animation: orbit-drift 30s linear infinite reverse;
}

.orbit-point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-light);
    box-shadow: 0 0 18px rgba(163, 181, 162, 0.6);
}

.point-one {
    top: 22%;
    left: 25%;
}

.point-two {
    top: 67%;
    right: 14%;
    width: 5px;
    height: 5px;
}

.point-three {
    bottom: 16%;
    left: 34%;
    width: 4px;
    height: 4px;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(163, 181, 162, 0.4), transparent);
    transform-origin: left center;
    z-index: -1;
}

.connection-a {
    width: 36%;
    top: 35%;
    left: 24%;
    transform: rotate(25deg);
}

.connection-b {
    width: 24%;
    top: 57%;
    left: 70%;
    transform: rotate(40deg);
}
/* CENTER BRAND CORE */

.core {
    position: absolute;
    width: 34%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.core-center {
    width: 53%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #c9d9c2, #829b83);
    color: #152019;
    font-size: clamp(29px, 4vw, 47px);
    font-weight: 800;
    letter-spacing: -3px;
    box-shadow:
        0 0 40px rgba(163, 181, 162, 0.16),
        inset -8px -8px 20px rgba(16, 20, 17, 0.16);
    z-index: 2;
}

.core-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(211, 226, 204, 0.35);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.core-label {
    position: absolute;
    top: 111%;
    color: var(--sage);
    white-space: nowrap;
    font-size: 8px;
    letter-spacing: 1.6px;
}

/* FLOATING SKILL LABELS */

.skill-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 174px;
    padding: 12px 13px;
    background: rgba(25, 31, 26, 0.92);
    border: 1px solid rgba(211, 226, 204, 0.19);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
    animation: float 5s ease-in-out infinite;
    z-index: 3;
}

.card-python {
    top: 25%;
    left: 0;
}

.card-design {
    bottom: 23%;
    right: -1%;
    animation-delay: -2.5s;
}

.skill-symbol {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: rgba(163, 181, 162, 0.12);
    color: var(--sage-light);
    font-family: "DM Mono", monospace;
    font-size: 15px;
    border: 1px solid rgba(163, 181, 162, 0.12);
}

.design-symbol {
    color: #e4c6a2;
    font-size: 23px;
}

.skill-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skill-info small {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 0.7px;
}

.skill-info strong {
    font-size: 13px;
    font-weight: 600;
}

.skill-plus {
    margin-left: auto;
    color: var(--sage);
    font-size: 15px;
}

.visual-caption {
    position: absolute;
    bottom: 3%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.8px;
}

/* FOOTER */

.footer {
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.8px;
}

.footer-star {
    color: var(--sage);
    margin-left: 5px;
}

/* ANIMATIONS */

@keyframes enter-left {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes enter-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

@keyframes orbit-drift {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .landing {
        padding: 0 5%;
    }

    .hero {
        grid-template-columns: 1fr 0.85fr;
        gap: 2%;
    }

    h1 {
        font-size: clamp(43px, 6vw, 65px);
        letter-spacing: -3px;
    }

    .skill-card {
        min-width: 150px;
        gap: 8px;
        padding: 10px;
    }

    .skill-symbol {
        width: 32px;
        height: 32px;
    }

    .card-python {
        left: -3%;
    }

    .card-design {
        right: -3%;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .landing {
        padding: 0 22px;
    }

    .navbar {
        min-height: 75px;
    }

    .brand {
        font-size: 21px;
    }

    .nav-note {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 57px 0 28px;
        gap: 22px;
    }

    .hero-content {
        padding: 0;
    }

    .eyebrow {
        font-size: 8px;
        margin-bottom: 23px;
        letter-spacing: 1px;
    }

    h1 {
        font-size: clamp(48px, 11.5vw, 70px);
        letter-spacing: -3px;
    }

    .headline-last {
        font-size: 0.42em;
        margin-top: 10px;
    }

    .description {
        margin-top: 20px;
        font-size: 13px;
        max-width: 340px;
    }

    .hero-actions {
        margin-top: 24px;
        gap: 20px;
    }

    .hero-bottom-note {
        margin-top: 30px;
        font-size: 8px;
    }

    .visual {
        width: 100%;
        max-width: 440px;
        justify-self: center;
        margin: 0 auto;
    }

    .visual-topline {
        top: 2%;
    }

    .skill-card {
        min-width: 145px;
        padding: 9px;
        gap: 8px;
    }

    .card-python {
        left: 0;
        top: 23%;
    }

    .card-design {
        right: 0;
        bottom: 22%;
    }

    .skill-info strong {
        font-size: 11px;
    }

    .skill-info small {
        font-size: 7px;
    }

    .skill-symbol {
        width: 29px;
        height: 29px;
        font-size: 12px;
    }

    .core {
        width: 35%;
    }

    .visual-caption {
        font-size: 7px;
        letter-spacing: 0.3px;
        bottom: 1%;
    }

    .footer {
        min-height: 58px;
        font-size: 7px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 14px 0;
        gap: 9px 18px;
    }

    .footer span:nth-child(2) {
        display: none;
    }
}

/* SMALL PHONES */

@media (max-width: 380px) {
    .landing {
        padding: 0 17px;
    }

    h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .visual {
        width: 100%;
        margin: 0 auto;
    }

    .skill-card {
        min-width: 132px;
        gap: 6px;
    }

    .skill-info strong {
        font-size: 10px;
    }

    .hero-actions {
        gap: 15px;
    }
}

/* ACCESSIBILITY */

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

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