/* ============================================================
   Fredrik Bergqvist — Portfolio
   "Terminal Meets Editorial" aesthetic
   ============================================================ */

/* --- Tokens --- */
:root {
    --bg:        #080c14;
    --bg-card:   #0e1420;
    --bg-card-h: #131b2a;
    --surface:   #162032;
    --border:    #1c2840;
    --border-h:  #2a3f66;
    --text:      #94a3b8;
    --text-dim:  #4a5a73;
    --heading:   #e2e8f0;
    --accent:    #d4944c;
    --accent-h:  #e8a838;
    --accent-dim:rgba(212,148,76,0.12);
    --mono:      "SF Mono","Fira Code","Cascadia Code","JetBrains Mono",Menlo,Monaco,Consolas,monospace;
    --sans:      "SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
    --ease:      cubic-bezier(.4,0,.2,1);
    --ease-out:  cubic-bezier(0,.6,.4,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
strong { color: var(--heading); font-weight: 600; }

/* --- Canvas BG (legacy, hidden) --- */
#matrix-bg {
    display: none;
}

/* --- Ambient background --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ambient-bg::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(212,148,76,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 75% 60%, rgba(56,120,200,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 80%, rgba(160,80,180,0.04) 0%, transparent 70%);
    animation: ambientDrift1 25s var(--ease) infinite alternate;
    will-change: transform;
}
.ambient-bg::after {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 550px 450px at 65% 20%, rgba(212,148,76,0.05) 0%, transparent 70%),
        radial-gradient(ellipse 450px 550px at 30% 70%, rgba(80,140,220,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 350px 350px at 80% 85%, rgba(120,200,160,0.03) 0%, transparent 70%);
    animation: ambientDrift2 30s var(--ease) infinite alternate;
    will-change: transform;
}

@keyframes ambientDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(4%, -3%) scale(1.05); }
    66%  { transform: translate(-3%, 5%) scale(0.97); }
    100% { transform: translate(2%, -2%) scale(1.02); }
}
@keyframes ambientDrift2 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    33%  { transform: translate(-5%, 3%) rotate(1deg) scale(1.03); }
    66%  { transform: translate(3%, -4%) rotate(-1deg) scale(0.98); }
    100% { transform: translate(-2%, 2%) rotate(0.5deg) scale(1.01); }
}

/* Subtle grain overlay for texture */
.ambient-bg .grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* --- Sections --- */
.section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px;
}
.section-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.section-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    position: absolute;
    top: -40px;
    left: 0;
    opacity: 0.5;
}
.section-title {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.section-subtitle {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

/* --- Side Nav --- */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.nav-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
}
.nav-indicator {
    position: absolute;
    width: 3px;
    height: 28px;
    background: var(--accent);
    border-radius: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: top 0.5s var(--ease-out);
    box-shadow: 0 0 12px rgba(212,148,76,0.4);
}
.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    cursor: pointer;
}
.nav-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
}
.nav-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212,148,76,0.3);
}
.nav-label {
    position: absolute;
    right: 24px;
    white-space: nowrap;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    pointer-events: none;
}
/* nav-label hover moved to @media (hover: hover) block */

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 0;
}
.hero-content {
    position: relative;
}
.hero-tag {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.blink {
    animation: blink 1s step-end infinite;
    color: var(--accent);
}
@keyframes blink {
    50% { opacity: 0; }
}
.hero-name {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hero-name .line {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.04em;
    line-height: 0.95;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.9s var(--ease-out) forwards;
}
.hero-name .line[data-delay="0"] { animation-delay: 0.5s; }
.hero-name .line[data-delay="1"] { animation-delay: 0.7s; }

.hero-role {
    font-family: var(--mono);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text);
    margin-top: 1.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.hero-sub {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.6rem;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.15s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll cue — hero only (bottom) */
.scroll-cue {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.5s forwards;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Section divider lines — top & bottom on all non-hero sections */
.section:not(.hero)::before,
.section:not(.hero)::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    pointer-events: none;
    z-index: 2;
}
.section:not(.hero)::before {
    top: 0;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollPulse 2s var(--ease) infinite;
}
.section:not(.hero)::after {
    bottom: 0;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s var(--ease) infinite;
}

/* --- About --- */
.about { padding: 120px 60px; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}
.about-lead {
    font-size: 1.3rem;
    color: var(--heading);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.about-text-col p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* --- Reveal animation (scroll-triggered) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- App Cards --- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 30px;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212,148,76,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}
/* hover states moved to @media (hover: hover) block */
.app-card-wide {
    grid-column: 1 / -1;
}
.app-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}
.app-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-info { flex: 1; min-width: 0; }
.app-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
}
.app-platform {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.app-desc {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.55;
}
.app-arrow {
    font-size: 1.3rem;
    color: var(--text-dim);
    align-self: center;
    flex-shrink: 0;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
/* app-arrow hover moved to @media (hover: hover) block */

/* --- Skills --- */
.skills { padding: 120px 60px; }
.skills-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 1rem;
}
.skill-group-title {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}
.skill-item {
    font-size: 1rem;
    color: var(--heading);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.skill-item::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.6s var(--ease-out);
    flex-shrink: 0;
}
.skill-item.visible::before {
    width: calc(var(--level, 0) * 0.5px);
}

/* --- Contact --- */
.contact {
    padding: 120px 60px 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.contact-heading-col {
    position: sticky;
    top: 120px;
}
.contact-heading-col .section-label {
    position: static;
    margin-bottom: 12px;
    display: block;
}
.contact-lead {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0;
}

/* --- Contact form --- */
.contact-form {
    max-width: none;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.form-row .form-group {
    margin-bottom: 6px;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}
.form-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.form-label .required {
    color: var(--accent);
}
.form-label .optional {
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-dim);
    opacity: 0.6;
    font-size: 0.68rem;
}
.form-input {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--heading);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.form-input::placeholder {
    color: var(--text-dim);
    opacity: 0.5;
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
    background: var(--bg-card-h);
}
.form-input.invalid {
    border-color: #e05555;
    box-shadow: 0 0 0 3px rgba(224,85,85,0.12);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}
.form-error {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: #e05555;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    pointer-events: none;
}
.form-group.has-error .form-error {
    opacity: 1;
    transform: translateY(0);
}

/* Submit button */
.form-submit {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--bg);
    background: var(--accent);
    border: none;
    border-radius: 10px;
    padding: 16px 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s var(--ease), transform 0.15s var(--ease), box-shadow 0.3s var(--ease);
    margin-top: 4px;
    position: relative;
}
.form-submit:active {
    transform: scale(0.97);
}
.form-submit-sending { display: none; }
.form-submit.sending .form-submit-text { display: none; }
.form-submit.sending .form-submit-sending { display: inline; }
.form-submit.sending .form-submit-arrow { display: none; }
.form-submit.sending {
    opacity: 0.7;
    pointer-events: none;
}

/* Status messages */
.form-status {
    font-family: var(--mono);
    font-size: 0.82rem;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    display: none;
}
.form-status a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-status--success {
    color: #5dbe8a;
    background: rgba(93,190,138,0.08);
    border: 1px solid rgba(93,190,138,0.2);
}
.form-status--error {
    color: #e05555;
    background: rgba(224,85,85,0.08);
    border: 1px solid rgba(224,85,85,0.2);
}
.form-status.visible { display: block; }

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 60px;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* ============================================================
   Touch & hover separation
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
    /* Mouse-glow only on real hover devices */
    .app-card:hover::before { opacity: 1; }
    .app-card:hover {
        background: var(--bg-card-h);
        border-color: var(--border-h);
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,148,76,0.08);
    }
    .app-card:hover .app-arrow {
        color: var(--accent);
        transform: translateX(4px);
    }
    .form-submit:hover {
        background: var(--accent-h);
        box-shadow: 0 4px 20px rgba(212,148,76,0.25);
    }
    .nav-dot:hover .nav-label { opacity: 1; transform: translateX(0); }
}

/* Touch active states instead of hover */
@media (hover: none) {
    .app-card:active {
        background: var(--bg-card-h);
        border-color: var(--border-h);
        transform: scale(0.98);
    }
    /* Hide mouse-glow on touch */
    .app-card::before { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

/* --- Tablet (max 900px) --- */
@media (max-width: 900px) {
    .section { padding: 100px 30px; }
    .about, .skills, .contact { padding: 100px 30px; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .app-grid {
        grid-template-columns: 1fr;
    }
    .app-card-wide {
        grid-column: auto;
    }
    .skills-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-heading-col { position: static; }
}

/* --- Mobile (max 600px) --- */
@media (max-width: 600px) {
    .section {
        padding: 80px 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        min-height: 100svh;
    }
    .about, .skills, .contact {
        padding: 80px 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    /* Hero fills viewport properly */
    .hero {
        min-height: 100svh; /* small viewport height — accounts for mobile browser chrome */
        padding-top: 0;
        padding-bottom: 60px;
    }
    .hero-name .line {
        font-size: clamp(2.6rem, 13vw, 4.5rem);
    }
    .hero-role {
        font-size: 0.95rem;
        letter-spacing: 0.15em;
    }
    .hero-sub { font-size: 0.8rem; }
    .hero-tag { font-size: 0.75rem; }
    .scroll-cue { bottom: -70px; }
    .section:not(.hero)::before,
    .section:not(.hero)::after {
        height: 35px;
    }

    /* Side nav → bottom bar on mobile */
    .side-nav {
        position: fixed;
        right: auto;
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(8,12,20,0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border);
        z-index: 100;
    }
    .nav-track {
        flex-direction: row;
        justify-content: stretch;
        align-items: center;
        gap: 0;
        padding: 0;
        height: 52px;
        width: 100%;
    }
    .nav-indicator { display: none; }
    .nav-dot {
        flex: 1;
        min-width: 0;
        height: 52px;
        border-radius: 0;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }
    .nav-dot::after {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--text-dim);
        transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    }
    .nav-dot.active::after {
        background: var(--accent);
        transform: scale(1.4);
        box-shadow: 0 0 8px rgba(212,148,76,0.3);
    }
    .nav-dot.active {
        background: transparent;
        transform: none;
        box-shadow: none;
    }
    .nav-label {
        position: static;
        transform: none;
        opacity: 1;
        font-size: 0.55rem;
        letter-spacing: 0.05em;
        color: var(--text-dim);
        pointer-events: none;
    }
    .nav-dot.active .nav-label { color: var(--accent); }

    /* Add bottom padding to page so content isn't hidden behind bottom bar */
    .footer {
        padding: 30px 20px;
        padding-bottom: calc(30px + 52px + env(safe-area-inset-bottom));
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 2rem; }
    .section-label { top: -28px; font-size: 0.65rem; }

    /* About */
    .about-lead { font-size: 1.1rem; }
    .about-text-col p { font-size: 0.95rem; }

    /* App cards – optimized for thumb reach */
    .app-grid { gap: 14px; }
    .app-card {
        padding: 18px;
        border-radius: 14px;
    }
    .app-card-inner { gap: 14px; }
    .app-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .app-name { font-size: 1.05rem; }
    .app-desc { font-size: 0.85rem; margin-top: 6px; }
    .app-platform { font-size: 0.65rem; }
    .app-arrow { font-size: 1.1rem; }

    /* Skills */
    .skills-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .skill-group-title { margin-bottom: 1rem; }
    .skill-item {
        font-size: 0.92rem;
        padding: 8px 0;
    }

    /* Contact grid mobile — stack */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-heading-col {
        position: static;
    }
    .contact-lead { font-size: 1.05rem; margin-bottom: 0; }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group { margin-bottom: 16px; }
    .form-input { padding: 12px 14px; font-size: 16px; /* prevents iOS zoom */ }
    .form-submit {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

}

/* --- Small phones (max 380px) --- */
@media (max-width: 380px) {
    .hero-name .line {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }
    .app-card { padding: 14px; }
    .app-icon-wrap { width: 44px; height: 44px; border-radius: 10px; }
    .app-desc { font-size: 0.82rem; }
    .section { padding: 60px 16px; }
    .about, .skills, .contact { padding: 60px 16px; }
}

/* --- Landscape phone --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100svh;
        padding: 40px 40px 70px;
    }
    .hero-name .line { font-size: clamp(2rem, 8vw, 3.5rem); }
    .scroll-cue { display: none; }
}
