@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #000000;
    --text: #ffffff;
    --soft: #f0f3f3;
    --muted: rgba(240, 243, 243, 0.72);
    --dim: rgba(240, 243, 243, 0.45);
    --line: rgba(240, 243, 243, 0.24);
    --line-soft: rgba(240, 243, 243, 0.12);
    --glass: rgba(0, 0, 0, 0.44);
    --violet: #cecafb;
    --accent: #cecafb;
    --teal: #95f2e9;
    --orange: #f2b37d;
    --text-secondary: var(--muted);
    --transition-fast: 220ms ease;
    --page-x: 32px;
    --mono: "Consolas", "Courier New", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 1180px;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1;
    overflow-x: auto;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), #000 82%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 116px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 116px),
        #000000;
}

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

button {
    border: 0;
    font: inherit;
}

::selection {
    background: var(--violet);
    color: #000000;
}

.visual-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px);
    mix-blend-mode: overlay;
}

.hero-visual {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    display: grid;
    place-items: center;
    opacity: 0.78;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), #000000 86%),
        linear-gradient(90deg, #000000 0%, transparent 22%, transparent 78%, #000000 100%);
}

.hero-visual img {
    width: min(1120px, 76vw);
    height: auto;
    filter: saturate(0.9) contrast(1.08);
    transform: translateY(-3vh);
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 96px;
    padding: 32px var(--page-x) 18px;
    pointer-events: none;
}

.brand,
.nav-links,
.nav-button {
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    color: var(--soft);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: var(--violet);
    font-family: var(--mono);
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 14px 22px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
}

.nav-links a,
.nav-button,
.button-primary,
.button-secondary,
.project-card a,
.contact-links a {
    font-family: var(--mono);
    font-size: 18px;
    letter-spacing: 0;
}

.nav-links a {
    color: var(--muted);
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--violet);
}

.nav-button,
.button-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 50px;
    padding: 0 24px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff, #cecafb 52%, #ffffff);
    color: #000000;
    font-weight: 700;
    transition: box-shadow var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.nav-button {
    justify-self: end;
}

.button-primary:hover,
.nav-button:hover {
    box-shadow: 0 4px 40px rgba(206, 202, 251, 0.5);
    background: rgba(0, 0, 0, 0.72);
    color: var(--violet);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 50px;
    border: 1px solid var(--soft);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--soft);
    backdrop-filter: blur(3px);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.button-secondary:hover {
    border-color: transparent;
    box-shadow: 0 4px 40px rgba(206, 202, 251, 0.5);
    color: var(--violet);
}

main {
    position: relative;
    z-index: 1;
}

.hero-section {
    display: flex;
    min-height: 120vh;
    align-items: center;
    justify-content: center;
    padding: 12vh var(--page-x) 20vh;
    text-align: center;
}

.hero-copy {
    display: flex;
    width: min(1100px, 86vw);
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.eyebrow {
    color: var(--soft);
    font-family: var(--mono);
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.hero-copy .eyebrow {
    color: var(--muted);
}

.hero-copy h1,
.section-title h2,
.trust-section h2,
.final-cta h2,
.footer-cta h2 {
    font-size: 92px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.94;
}

.hero-summary {
    max-width: 680px;
    color: var(--soft);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.metrics-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: min(1280px, calc(100% - 64px));
    margin: -12vh auto 110px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(206, 202, 251, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        rgba(0, 0, 0, 0.46);
    box-shadow:
        0 30px 120px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.metrics-strip article {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 164px;
    align-content: center;
    gap: 13px;
    padding: 28px 32px;
    text-align: center;
}

.metrics-strip article:not(:last-child) {
    border-right: 1px dashed var(--line);
}

.metrics-strip article::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
    transform: translateX(-50%);
    opacity: 0.82;
}

.metrics-strip article::after {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: -1;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 0%, rgba(206, 202, 251, 0.12), transparent 56%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.metrics-strip article:hover::after {
    opacity: 1;
}

.metrics-strip strong {
    color: var(--text);
    font-size: 60px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.95;
    text-shadow: 0 0 34px rgba(206, 202, 251, 0.28);
}

.metrics-strip span {
    justify-self: center;
    max-width: 230px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.35;
    text-transform: uppercase;
}

.split-section,
.comparison-section,
.trust-section,
.assets-section,
.final-cta,
.footer-cta {
    min-height: 100vh;
    padding: 20vh var(--page-x);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1fr);
    align-items: end;
    gap: 9vw;
}

.section-title {
    display: grid;
    gap: 12px;
}

.section-title.compact {
    margin: 0 auto 80px;
    max-width: 970px;
    text-align: center;
}

.section-title.centered {
    margin: 0 auto 72px;
    max-width: 980px;
    text-align: center;
}

.section-body,
.experience-panel,
.comparison-panel {
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: var(--glass);
    backdrop-filter: blur(7px);
}

.section-body {
    display: grid;
    gap: 34px;
    padding: 42px;
}

.section-body p,
.final-cta p {
    color: var(--soft);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1.6;
}

.focus-list {
    display: grid;
    gap: 14px;
}

.focus-list span {
    color: var(--violet);
    font-family: var(--mono);
    font-size: 18px;
}

.focus-list span::before {
    content: "/ ";
    color: var(--dim);
}

.comparison-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comparison-panel {
    width: min(970px, 78vw);
    margin: 0 auto;
    overflow: hidden;
}

.comparison-panel .panel-head,
.comparison-panel article {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.72fr;
    gap: 24px;
    align-items: center;
    padding: 24px 30px;
}

.comparison-panel .panel-head {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 14px;
    text-transform: uppercase;
}

.comparison-panel article {
    border-top: 1px dashed var(--line);
    color: var(--soft);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1.3;
}

.comparison-panel article span:first-child {
    color: var(--violet);
}

.trust-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    text-align: center;
}

.trust-section h2 {
    max-width: 1120px;
    font-size: 86px;
}

.skill-band {
    display: grid;
    width: min(1180px, 92vw);
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.skill-band article {
    display: grid;
    min-height: 260px;
    align-content: space-between;
    gap: 28px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.34);
    padding: 26px;
    text-align: left;
    backdrop-filter: blur(8px);
}

.skill-band small,
.project-index {
    color: var(--dim);
    font-family: var(--mono);
    font-size: 14px;
}

.skill-band h3,
.experience-panel h3,
.project-card h3 {
    color: var(--text);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
}

.skill-band p,
.project-card p,
.experience-panel li {
    color: var(--soft);
    font-family: var(--mono);
    font-size: 16px;
    line-height: 1.45;
}

.experience-panel {
    padding: 36px;
}

.experience-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px dashed var(--line);
}

.experience-heading span {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 16px;
    white-space: nowrap;
}

.experience-panel ul {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.experience-panel li::before {
    content: "/ ";
    color: var(--violet);
}

.assets-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.project-card {
    position: relative;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background:
        linear-gradient(155deg, rgba(206, 202, 251, 0.16), transparent 42%),
        rgba(0, 0, 0, 0.48);
    padding: 26px;
    backdrop-filter: blur(8px);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent 0 19px, rgba(255, 255, 255, 0.045) 19px 20px),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 78%);
    opacity: 0.7;
    pointer-events: none;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-index {
    position: absolute;
    top: 26px;
    left: 26px;
}

.project-card h3 {
    margin-bottom: 16px;
}

.project-card p {
    margin-bottom: 26px;
}

.project-card div {
    display: flex;
    gap: 10px;
}

.project-card a,
.contact-links div a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--soft);
    transition: border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.project-card a:hover,
.contact-links div a:hover {
    border-color: transparent;
    color: var(--violet);
    box-shadow: 0 4px 28px rgba(206, 202, 251, 0.28);
}

.logo-row {
    display: flex;
    width: min(1180px, 92vw);
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 44px;
    margin-top: 26px;
}

.logo-row span {
    color: var(--soft);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1.2;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.final-cta > div {
    display: grid;
    max-width: 980px;
    justify-items: center;
    gap: 26px;
}

.final-cta h2,
.footer-cta h2 {
    font-size: 92px;
}

.footer-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 60px;
    min-height: 72vh;
}

.contact-links {
    display: grid;
    justify-items: end;
    gap: 28px;
}

.contact-links > a {
    max-width: 100%;
    color: var(--text);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0;
}

.contact-links div {
    display: flex;
    gap: 12px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--page-x) 64px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.project-details {
    padding: 130px var(--page-x) 90px;
}

.project-details > div {
    max-width: 1100px;
    margin: 0 auto;
}

.project-header h1 {
    color: var(--text) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: "Inter", Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.project-section,
.tech-item {
    background: rgba(0, 0, 0, 0.42) !important;
    border-color: var(--line-soft) !important;
    color: var(--soft);
}

.project-section h2,
.project-header .badge,
.back-btn {
    color: var(--violet) !important;
}

.project-header .badge {
    background: rgba(206, 202, 251, 0.08) !important;
    border-color: var(--line) !important;
}
