/* ============================================================
   ROCKY LOTT — Portfolio
   Awwwards-level. Oversized type, scroll reveals, custom cursor,
   full-screen menu, marquee, parallax. Southern workshop warmth.
   ============================================================ */

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

:root {
    --black: #0c0b09;
    --dark: #141310;
    --surface: #1a1915;
    --card: #1f1d18;
    --border: #2a2722;
    --border-light: #35322c;

    --white: #f2ede4;
    --cream: #d9d0c1;
    --muted: #8a8174;
    --dim: #5c5549;

    --amber: #c8956c;
    --amber-bright: #daa87f;
    --terracotta: #b85c4a;

    --font-display: 'Syne', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'Space Mono', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    background: var(--black);
    color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

.italic { font-family: var(--font-serif); font-style: italic; }

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: clamp(0.1em, 2vw, 0.3em);
    color: var(--white);
    display: flex;
}

.loader-text span {
    display: inline-block;
    animation: loaderPop 0.5s var(--ease-out-expo) both;
}

.loader-text span:nth-child(1)  { animation-delay: 0.00s; }
.loader-text span:nth-child(2)  { animation-delay: 0.04s; }
.loader-text span:nth-child(3)  { animation-delay: 0.08s; }
.loader-text span:nth-child(4)  { animation-delay: 0.12s; }
.loader-text span:nth-child(5)  { animation-delay: 0.16s; }
.loader-text span:nth-child(6)  { animation-delay: 0.20s; }
.loader-text span:nth-child(7)  { animation-delay: 0.24s; }
.loader-text span:nth-child(8)  { animation-delay: 0.28s; }
.loader-text span:nth-child(9)  { animation-delay: 0.32s; }
.loader-text span:nth-child(10) { animation-delay: 0.36s; }

@keyframes loaderPop {
    from { opacity: 0; transform: translateY(30px) scale(0.8); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
    background: rgba(12, 11, 9, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
    background: rgba(12, 11, 9, 0.95);
    border-bottom-color: var(--border);
}

.nav-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
}

.nav-toggle {
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    width: 32px;
    height: 16px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: all 0.4s var(--ease-out-expo);
}

.hamburger span:first-child { top: 0; }
.hamburger span:last-child { bottom: 0; }

.nav-toggle.open .hamburger span:first-child {
    top: 50%;
    transform: rotate(45deg);
}

.nav-toggle.open .hamburger span:last-child {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* ===== FULLSCREEN MENU ===== */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.menu-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -0.02em;
    position: relative;
    transition: color 0.3s;
    line-height: 1.1;
}

.menu-link:hover {
    color: var(--amber);
    font-style: italic;
    font-family: var(--font-serif);
}

.menu-footer {
    position: absolute;
    bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.menu-footer a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.menu-footer a:hover { color: var(--amber); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 clamp(2rem, 5vw, 4rem) 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(15rem, 30vw, 35rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--border);
    text-stroke: 1px var(--border);
    letter-spacing: -0.05em;
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
    user-select: none;
    z-index: 0;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 20vh;
    position: relative;
    z-index: 1;
}

.hero-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-portrait {
    flex: 0 0 280px;
    animation: revealUp 1s var(--ease-out-expo) 0.6s both;
}

.hero-portrait img {
    width: 280px;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--amber);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.hero-title .line-reveal {
    padding-bottom: 0.15em;
}

.title-italic {
    font-family: var(--font-serif);
    font-style: italic;
    text-transform: none;
    font-weight: 400;
    color: var(--amber);
    display: inline-block;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2rem;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--cream);
    line-height: 1.8;
    max-width: 460px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--amber);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { top: -100%; }
    100% { top: 100%; }
}

/* ===== LINE REVEAL ===== */
.line-reveal {
    overflow: hidden;
}

.line-reveal > * {
    display: block;
    transform: translateY(105%);
    transition: transform 0.8s var(--ease-out-expo);
}

.line-reveal.revealed > * {
    transform: translateY(0);
}

/* Hero line reveals trigger on load */
body.loaded .hero .line-reveal > * {
    transform: translateY(0);
}

body.loaded .hero .hero-intro .line-reveal > * { transition-delay: 0.3s; }
body.loaded .hero .hero-title .line-reveal:nth-child(1) > * { transition-delay: 0.5s; }
body.loaded .hero .hero-title .line-reveal:nth-child(2) > * { transition-delay: 0.65s; }
body.loaded .hero .hero-bottom .line-reveal > * { transition-delay: 0.85s; }

/* ===== FADE IN ===== */
.project-item,
.writing-details,
.music-content,
.about-content,
.connect-form {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== MARQUEE ===== */
.marquee-strip {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--dark);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.marquee-dot {
    width: 6px !important;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    padding: 0 clamp(2rem, 5vw, 4rem);
    margin-bottom: 3rem;
    position: relative;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--dim);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--white);
}

.section-title .line-reveal {
    padding-bottom: 0.12em;
}

.section-title .italic {
    color: var(--amber);
    text-transform: none;
    font-weight: 400;
}

/* ===== PROJECTS ===== */
.projects {
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.project-item {
    border-top: 1px solid var(--border);
    transition: background 0.4s ease;
}

.project-item:last-child {
    border-bottom: 1px solid var(--border);
}

.project-item:hover {
    background: var(--surface);
}

.project-link {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 3rem;
    padding: 3rem clamp(2rem, 5vw, 4rem);
    text-decoration: none;
    transition: padding 0.4s var(--ease-out-expo);
}

.project-item:hover .project-link {
    padding-left: clamp(2.5rem, 6vw, 5rem);
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--amber);
    display: block;
    margin-bottom: 0.75rem;
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--white);
}

.project-name em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--cream);
}

.project-detail p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 400px;
}

.project-cta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-cta .arrow {
    transition: transform 0.3s;
    display: inline-block;
    font-size: 1rem;
}

.project-item:hover .project-cta .arrow {
    transform: translate(3px, -3px);
}

.project-number {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 8vw, 8rem);
    font-style: italic;
    color: var(--border);
    line-height: 1;
    transition: color 0.4s;
}

.project-item:hover .project-number {
    color: var(--border-light);
}

/* ===== WRITING ===== */
.writing {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--dark);
    position: relative;
}

.writing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.writing-inner { }

.writing-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    padding: 0 clamp(2rem, 5vw, 4rem);
}

.writing-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.book-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    display: block;
    margin-bottom: 0.75rem;
}

.book-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.book-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.book-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--amber);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-light);
    display: inline-block;
}

.series-label {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dim);
}

/* ===== MUSIC ===== */
.music {
    padding: clamp(5rem, 10vw, 8rem) 0;
    position: relative;
    overflow: hidden;
}

.music-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.music-lead {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-style: italic;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.music-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.music-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pill-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s;
}

.pill-link:hover {
    color: var(--amber);
    border-color: var(--amber);
    background: rgba(200, 149, 108, 0.06);
}

/* EQ Bars */
.music-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.eq-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 200px;
}

.eq-bars span {
    width: 8px;
    background: linear-gradient(to top, var(--amber), var(--terracotta));
    border-radius: 2px 2px 0 0;
    animation: eqBounce 1.2s ease-in-out infinite alternate;
    opacity: 0.6;
}

.eq-bars span:nth-child(1)  { height: 40%;  }
.eq-bars span:nth-child(2)  { height: 65%;  }
.eq-bars span:nth-child(3)  { height: 35%;  }
.eq-bars span:nth-child(4)  { height: 80%;  }
.eq-bars span:nth-child(5)  { height: 50%;  }
.eq-bars span:nth-child(6)  { height: 90%;  }
.eq-bars span:nth-child(7)  { height: 45%;  }
.eq-bars span:nth-child(8)  { height: 70%;  }
.eq-bars span:nth-child(9)  { height: 55%;  }
.eq-bars span:nth-child(10) { height: 85%;  }
.eq-bars span:nth-child(11) { height: 30%;  }
.eq-bars span:nth-child(12) { height: 60%;  }
.eq-bars span:nth-child(13) { height: 75%;  }
.eq-bars span:nth-child(14) { height: 40%;  }
.eq-bars span:nth-child(15) { height: 50%;  }

@keyframes eqBounce {
    0%   { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* ===== ABOUT ===== */
.about {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    padding: 0 clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-photo {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-photo img {
    width: 100%;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.6s, transform 0.6s var(--ease-out-expo);
}

.about-photo:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

.about-photo-wrap {
    position: relative;
}

.about-photo-wrap::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 1px solid var(--amber);
    border-radius: 4px;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.5s;
}

.about-photo-wrap:hover::after { opacity: 0.5; }

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* ===== CONNECT / FOOTER ===== */
.connect {
    padding: clamp(6rem, 12vw, 10rem) 0 3rem;
    text-align: center;
    position: relative;
}

.connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.connect-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.connect-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 3rem;
}

.connect-title .line-reveal {
    padding-bottom: 0.12em;
}

.connect-title .italic {
    color: var(--amber);
    text-transform: none;
}

.connect-form {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.connect-form:focus-within {
    border-color: var(--amber);
}

.connect-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    outline: none;
}

.connect-form input::placeholder {
    color: var(--dim);
    font-style: italic;
}

.connect-form button {
    padding: 1rem 2rem;
    background: var(--amber);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 100px;
    transition: background 0.3s;
}

.connect-form button:hover {
    background: var(--amber-bright);
}

.connect-note {
    font-size: 0.8rem;
    color: var(--dim);
    font-style: italic;
    margin-bottom: 6rem;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dim);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--amber); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--dim);
}

/* ===== RESPONSIVE ===== */

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
    .project-link {
        grid-template-columns: 1fr 1fr;
    }
    .project-number { display: none; }

    .writing-content { grid-template-columns: 1fr; }
    .writing-quote blockquote { font-size: clamp(1.3rem, 3vw, 2rem); }

    .music-content { grid-template-columns: 1fr; }
    .music-visual { max-width: 300px; }

    .about-content { grid-template-columns: 1fr; }
    .about-photo-wrap { max-width: 300px; }

    .hero-portrait { flex: 0 0 220px; }
    .hero-portrait img { width: 220px; height: 270px; }
}

/* --- Tablet portrait / large phone --- */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 0 clamp(1.5rem, 4vw, 3rem) 3rem;
        align-items: flex-end;
    }
    .hero-content { padding-top: 18vh; }
    .hero-main {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .hero-portrait { flex: none; align-self: center; }
    .hero-portrait img { width: 150px; height: 185px; }
    .hero-bg-text { display: none; }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .hero-desc br { display: none; }
    .scroll-indicator { display: none; }

    /* Marquee */
    .marquee-track span { font-size: 0.85rem; }
    .marquee-track { gap: 2rem; }

    /* Section headers */
    .section-header { padding: 0 clamp(1.5rem, 4vw, 3rem); }
    .section-title { font-size: clamp(2.5rem, 10vw, 4.5rem) !important; }

    /* Projects */
    .project-link {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem clamp(1.5rem, 4vw, 3rem);
    }
    .project-name { font-size: clamp(1.5rem, 5vw, 2rem); }
    .project-detail p { max-width: 100%; }

    /* Writing */
    .writing-content { padding: 0 clamp(1.5rem, 4vw, 3rem); }
    .writing-quote blockquote {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
    }
    .writing-quote blockquote .line-reveal span { display: inline; }
    .book-name { font-size: 1.8rem; }

    /* Music */
    .music-content { padding: 0 clamp(1.5rem, 4vw, 3rem); }
    .music-visual { justify-content: flex-start; }
    .eq-bars { height: 100px; }
    .eq-bars span { width: 5px; }
    .music-lead { font-size: 1.2rem; }

    /* About */
    .about-content { padding: 0 clamp(1.5rem, 4vw, 3rem); }
    .about-photo-wrap { max-width: 240px; }
    .about-lead { font-size: 1.2rem; }

    /* Connect / footer */
    .connect-inner { padding: 0 1.5rem; }
    .connect-form {
        flex-direction: column;
        border-radius: 0;
        border: none;
        gap: 0.75rem;
    }
    .connect-form input[type="email"] {
        border: 1px solid var(--border);
        border-radius: 100px;
        text-align: center;
    }
    .connect-form button {
        padding: 1rem;
        text-align: center;
    }

    .footer-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}

/* --- Small phone --- */
@media (max-width: 480px) {
    .hero-content { padding-top: 15vh; }
    .hero-title { font-size: clamp(2.5rem, 13vw, 4.5rem) !important; }
    .hero-portrait { align-self: center; }
    .hero-portrait img { width: 120px; height: 150px; }

    .section-title { font-size: clamp(2rem, 9vw, 3.5rem) !important; }
    .connect-title { font-size: clamp(2.5rem, 12vw, 5rem); }
    .menu-link { font-size: clamp(2rem, 10vw, 3.5rem); }

    .project-link { padding: 1.5rem clamp(1.25rem, 4vw, 2rem); }
    .project-name { font-size: 1.4rem; }
    .project-detail p { font-size: 0.85rem; }

    .writing-quote blockquote { font-size: 1.1rem; }
    .book-name { font-size: 1.5rem; }

    .music-links { gap: 0.5rem; }
    .pill-link { padding: 0.5rem 1rem; font-size: 0.65rem; }

    .about-photo-wrap { max-width: 200px; }

    .footer-links a { font-size: 0.65rem; }
    .footer-links { gap: 1rem; }
    .connect-note { margin-bottom: 3rem; }
}
