/* ===== TEMPLATE 2: WARM BRUTALISM ===== */
/* Palette: #0D0D0D | #E8D5B0 | #C49A8A | #2D4A3E */
/* Font: Syne + Space Grotesk */

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

:root {
    --black: #0D0D0D;
    --champagne: #E8D5B0;
    --rose: #C49A8A;
    --forest: #2D4A3E;
    --muted: rgba(232, 213, 176, 0.5);
    --pad: clamp(20px, 5vw, 50px);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--champagne);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

/* GRAIN */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* BG CANVAS */
#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
}

/* SPOTLIGHT */
.spotlight-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.spotlight-mask {
    position: absolute;
    inset: 0;
    background: var(--champagne);
    mask: radial-gradient(circle 180px at var(--mx, 50%) var(--my, 50%), transparent 0%, black 100%);
    -webkit-mask: radial-gradient(circle 180px at var(--mx, 50%) var(--my, 50%), transparent 0%, black 100%);
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    /* Ensure nav is always on top of drawer (1001) */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--pad);
    mix-blend-mode: normal;
    /* Subtle backdrop so nav is always readable */
    background: rgba(232, 213, 176, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -1px;
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--rose);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-status {
    font-size: clamp(11px, 2vw, 13px);
    color: var(--forest);
    font-weight: 500;
    white-space: nowrap;
}

.menu-toggle {
    font-family: 'Syne', sans-serif;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--black);
    color: var(--champagne);
    border: none;
    padding: clamp(8px, 1.5vw, 10px) clamp(14px, 2.5vw, 22px);
    cursor: pointer;
    /* SMOOTH hover - no jarring block feel */
    transition:
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.menu-toggle:hover {
    background: var(--rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 154, 138, 0.3);
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 85vw);
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
    /* Higher than nav to be fully visible */
}

.nav-drawer.open {
    transform: translateX(0);
}

.nav-drawer a {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    color: var(--champagne);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(232, 213, 176, 0.1);
    /* SMOOTH nav link hover */
    transition:
        color 0.35s ease,
        padding-left 0.35s ease,
        letter-spacing 0.35s ease;
}

.nav-drawer a:hover {
    color: var(--rose);
    padding-left: 16px;
}

/* ── HERO ── */
.hero {
    /* min-height: 100svh; */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-inner {
    padding: clamp(90px, 14vh, 140px) var(--pad) clamp(40px, 6vh, 60px);
    position: relative;
}

.hero-outlined {
    position: relative;
    display: block;
    /* block so it can take full width */
    width: 100%;
    overflow: hidden;
}

/* 
  KEY FIX: Use fluid vw-based font + word-break so name never overflows.
  JS will additionally fit-scale for long names.
*/
.outlined-text {
    font-family: 'Syne', sans-serif;
    /* JS overrides this at runtime; clamp is pre-JS fallback */
    font-size: clamp(28px, 13vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 2px var(--black);
    user-select: none;
    display: block;
    width: 100%;
}

.filled-text {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 13vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--black);
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    clip-path: circle(180px at var(--mx, -999px) var(--my, -999px));
    transition: clip-path 0.05s;
}

/* Each word rendered on its own line — never wraps mid-word */
.name-word {
    display: block;
    white-space: nowrap;
    line-height: 0.88;
    margin-bottom: 0.04em;
}

.hero-descriptor {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: clamp(24px, 4vh, 40px);
}

.descriptor-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(11px, 1.8vw, 13px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 18px);
    border: 1.5px solid var(--black);
    color: var(--black);
    /* SMOOTH badge hover */
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.descriptor-badge:hover {
    background: var(--black);
    color: var(--champagne);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 13, 13, 0.15);
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: clamp(36px, 6vh, 60px);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.5);
}

.scroll-line {
    width: 80px;
    height: 1px;
    background: rgba(13, 13, 13, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    left: -100%;
    background: var(--rose);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ── MARQUEE ── */
/* Full edge-to-edge: no side padding, no overflow clip */
.hero-marquee {
    overflow: hidden;
    border-top: 1.5px solid var(--black);
    border-bottom: 1.5px solid var(--black);
    padding: 14px 0;
    background: var(--black);
    /* stretch truly edge-to-edge regardless of parent padding */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 18s linear infinite;
    /* Ensure it's wide enough to loop seamlessly */
    width: max-content;
}

.marquee-track span {
    font-family: 'Syne', sans-serif;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--champagne);
    padding: 0 20px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* SECTIONS */
section {
    padding: clamp(60px, 10vh, 100px) var(--pad);
    position: relative;
    z-index: 2;
}

.dark-section {
    background: var(--black);
    color: var(--champagne);
}

.section-marker {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(13, 13, 13, 0.4);
    margin-bottom: clamp(36px, 6vh, 60px);
}

.section-marker.light {
    color: rgba(232, 213, 176, 0.4);
}

/* ABOUT */
.about {
    position: relative;
}

.about-number {
    position: absolute;
    top: 40px;
    right: var(--pad);
    font-family: 'Syne', sans-serif;
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 900;
    color: rgba(13, 13, 13, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

.about-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
}

.stroke-text {
    -webkit-text-stroke: 2px var(--black);
    color: transparent;
}

.about-right p {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.8;
    color: rgba(13, 13, 13, 0.7);
    margin-bottom: 20px;
}

.about-grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.mini-stat {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 16px;
    border: 1.5px solid rgba(13, 13, 13, 0.15);
    letter-spacing: 0.05em;
    /* SMOOTH stat hover */
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.mini-stat:hover {
    background: rgba(196, 154, 138, 0.1);
    border-color: var(--rose);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
}

.mini-stat strong {
    display: block;
    font-size: clamp(22px, 4vw, 28px);
    color: var(--rose);
    margin-bottom: 4px;
}

/* EDUCATION */
.edu-brutalist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edu-block {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: clamp(16px, 4vw, 40px);
    align-items: center;
    padding: clamp(24px, 4vh, 40px) 0;
    border-bottom: 1.5px solid rgba(13, 13, 13, 0.1);
    /* SMOOTH edu hover — no jump */
    transition:
        background 0.4s ease,
        padding-left 0.4s ease,
        padding-right 0.4s ease,
        box-shadow 0.4s ease;
}

.edu-block:hover {
    background: rgba(196, 154, 138, 0.07);
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: inset 3px 0 0 var(--rose);
}

.edu-year {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--rose);
    flex-shrink: 0;
}

.edu-info h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-info p {
    color: rgba(13, 13, 13, 0.6);
    font-size: clamp(13px, 1.8vw, 15px);
}

.edu-info small {
    font-size: 13px;
    color: rgba(13, 13, 13, 0.4);
}

.edu-badge {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border: 1.5px solid rgba(13, 13, 13, 0.3);
    color: rgba(13, 13, 13, 0.5);
    white-space: nowrap;
}

/* EXPERIENCE */
.exp-brutalist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-block {
    padding: clamp(32px, 5vh, 50px) 0;
    border-bottom: 1.5px solid rgba(232, 213, 176, 0.1);
    /* SMOOTH exp hover */
    transition:
        padding-left 0.4s ease,
        border-bottom-color 0.4s ease,
        background 0.4s ease;
}

.exp-block:hover {
    padding-left: 20px;
    border-bottom-color: var(--rose);
    background: rgba(255, 255, 255, 0.01);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.exp-co {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--rose);
}

.exp-date {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.exp-block h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 800;
    margin-bottom: 16px;
}

.exp-block p {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
}

.exp-stack {
    font-size: 13px;
    color: var(--rose);
    letter-spacing: 0.08em;
}

/* PROJECTS - Accordion */
.proj-accordion {
    border-top: 1.5px solid rgba(13, 13, 13, 0.15);
}

.proj-acc-item {
    border-bottom: 1.5px solid rgba(13, 13, 13, 0.15);
    overflow: hidden;
}

.proj-acc-header {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    gap: clamp(10px, 2vw, 20px);
    align-items: center;
    padding: clamp(18px, 3vh, 28px) 0;
    cursor: pointer;
    /* SMOOTH accordion header hover */
    transition:
        background 0.4s ease,
        padding 0.4s ease,
        color 0.4s ease;
}

.proj-acc-item.open .proj-acc-header {
    background: var(--black);
    color: var(--champagne);
    padding: clamp(18px, 3vh, 28px) 20px;
}

.proj-acc-num {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--rose);
}

.proj-acc-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 800;
}

.proj-acc-type {
    font-size: 13px;
    color: rgba(13, 13, 13, 0.4);
    white-space: nowrap;
}

.proj-acc-item.open .proj-acc-type {
    color: rgba(232, 213, 176, 0.4);
}

.proj-acc-toggle {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: var(--rose);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.proj-acc-item.open .proj-acc-toggle {
    transform: rotate(45deg);
}

.proj-acc-body {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s ease;
    background: var(--black);
    color: var(--champagne);
    padding: 0 20px;
}

.proj-acc-item.open .proj-acc-body {
    max-height: 220px;
    padding: 20px 20px 30px;
}

.proj-acc-body p {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.7;
    color: rgba(232, 213, 176, 0.7);
    margin-bottom: 16px;
}

.proj-link {
    color: var(--rose);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    /* SMOOTH link hover */
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.proj-link:hover {
    color: var(--champagne);
    letter-spacing: 0.1em;
}

/* SKILLS */
/* SKILLS */
.skills {
    padding: clamp(60px, 10vh, 100px) var(--pad);
}

.skill-category-groups {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vh, 48px);
}

.skill-category-block {
    opacity: 0.9;
    /* Subtle emphasis on category blocks */
}

.skill-cat-title {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--rose);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(196, 154, 138, 0.2);
    display: inline-block;
}

.skill-radial-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.skills-radial-container {
    display: grid;
    grid-template-columns: 1fr min(360px, 45%);
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

.skill-radial-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-radial-name {
    font-size: clamp(13px, 1.8vw, 14px);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.skill-radial-bar {
    height: 4px;
    background: rgba(232, 213, 176, 0.15);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.skill-radial-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--rose), var(--forest));
    border-radius: 2px;
    transition: width 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.skill-radial-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#skillRadar {
    max-width: 100%;
    height: auto;
}

/* ── TICKER (Interests & Languages) ── 
   Fixed: true infinite loop, full-width edge-to-edge
*/
.interests {
    overflow: hidden;
}

.ticker-section {
    overflow: hidden;
    /* edge-to-edge, like the marquee */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 0;
}

.ticker-row {
    overflow: hidden;
    margin-bottom: 14px;
    width: 100%;
}

.ticker-row:last-child {
    margin-bottom: 0;
}

/* 
  The inner track must be wide enough that the second copy
  starts exactly where the first ends (width: max-content).
  We duplicate content twice in HTML, so -50% = one full set.
*/
.ticker-inner {
    display: flex;
    gap: 0;
    /* gap handled by span padding */
    white-space: nowrap;
    width: max-content;
    will-change: transform;
}

.ticker-inner.forward {
    animation: tickerFwd 28s linear infinite;
}

.ticker-inner.backward {
    animation: tickerBwd 28s linear infinite;
}

.ticker-inner span {
    font-family: 'Syne', sans-serif;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    border: 1.5px solid rgba(13, 13, 13, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    /* SMOOTH ticker span hover */
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.ticker-inner span:hover {
    background: var(--black);
    color: var(--champagne);
    border-color: var(--black);
    transform: translateY(-3px);
    /* pause animation on hover for UX */
    animation-play-state: paused;
}

/* Pause entire row on hover */
.ticker-row:hover .ticker-inner {
    animation-play-state: paused;
}

@keyframes tickerFwd {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes tickerBwd {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* CONTACT */
.contact-brutalist {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

.contact-big-text {
    font-family: 'Syne', sans-serif;
    font-size: clamp(56px, 10vw, 140px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -3px;
    color: var(--rose);
}

.contact-form-area form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-area input,
.contact-form-area textarea {
    background: transparent;
    border: 1.5px solid rgba(232, 213, 176, 0.2);
    color: var(--champagne);
    padding: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    outline: none;
    width: 100%;
    /* SMOOTH input focus */
    transition:
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(196, 154, 138, 0.12);
}

.contact-form-area input::placeholder,
.contact-form-area textarea::placeholder {
    color: rgba(232, 213, 176, 0.3);
}

.bf-full {
    width: 100%;
}

.contact-alert {
    padding: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1.5px solid currentColor;
}

.contact-alert.success {
    color: var(--forest);
    background: rgba(45, 74, 62, 0.1);
}

.contact-alert.error {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.contact-form-area textarea {
    resize: none;
}

.bf-btn {
    align-self: flex-start;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 18px 40px;
    background: var(--rose);
    color: var(--black);
    border: none;
    cursor: pointer;
    /* SMOOTH button hover */
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.bf-btn:hover {
    background: var(--champagne);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(13, 13, 13, 0.15);
}

.contact-meta {
    margin-top: 32px;
}

.contact-meta p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 8px;
}

.contact-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-socials a {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose);
    text-decoration: none;
    /* SMOOTH social link hover */
    transition:
        color 0.35s ease,
        letter-spacing 0.35s ease;
}

.contact-socials a:hover {
    color: var(--champagne);
    letter-spacing: 0.15em;
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px var(--pad);
    border-top: 1.5px solid rgba(13, 13, 13, 0.1);
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(13, 13, 13, 0.5);
    position: relative;
    z-index: 2;
}

/* FADE IN */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {

    .about-content,
    .contact-brutalist,
    .skills-radial-container {
        grid-template-columns: 1fr;
        gap: clamp(28px, 5vw, 48px);
    }

    .skills-radial-container {
        /* Put radar below bars on tablet */
    }

    #skillRadar {
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }

    .edu-block {
        grid-template-columns: 64px 1fr;
        gap: 20px;
    }

    .edu-badge {
        display: none;
    }

    .proj-acc-header {
        grid-template-columns: 40px 1fr auto;
        gap: 12px;
    }

    .proj-acc-type {
        display: none;
    }

    .bf-row {
        grid-template-columns: 1fr;
    }

    .about-number {
        font-size: clamp(80px, 20vw, 160px);
        top: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .nav-status {
        display: none;
        /* hide "● Available" on very small screens */
    }

    /* Hero name: allow smaller stroke on tiny screens */
    .outlined-text,
    .filled-text {
        -webkit-text-stroke: 1.5px var(--black);
        letter-spacing: -0.02em;
    }

    .hero-descriptor {
        gap: 8px;
    }

    .hero-scroll-hint {
        margin-top: 28px;
    }

    .about-grid-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mini-stat {
        padding: 12px;
    }

    .contact-big-text {
        font-size: clamp(48px, 16vw, 80px);
        letter-spacing: -2px;
    }

    .bf-btn {
        width: 100%;
        text-align: center;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .exp-block:hover {
        padding-left: 12px;
    }

    /* Ticker: slightly faster on mobile so motion is visible */
    .ticker-inner.forward {
        animation-duration: 20s;
    }

    .ticker-inner.backward {
        animation-duration: 20s;
    }
}