:root {
    --cream: #faf6ef;
    --ivory: #fffdf8;
    --ink: #2b2b26;
    --green: #3d5240;
    --green-dark: #2e3f31;
    --gold: #b58e4f;
    --gold-soft: #d8c39a;
    --line: #e6ddcc;
}

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

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--green-dark);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.subtitle {
    font-size: 1.02rem;
    color: #6b6a5f;
}

.divider {
    width: 56px;
    height: 1px;
    background: var(--gold-soft);
    margin: 1.6rem auto;
}

/* ---------- Login ---------- */

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse at 20% 10%, #f3ecdd 0%, transparent 55%),
        radial-gradient(ellipse at 85% 90%, #ece5d3 0%, transparent 50%),
        var(--cream);
}

.login-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(60, 50, 30, 0.10);
    padding: 3rem 2.6rem 2.4rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.login-card h1 {
    font-size: 2.1rem;
    line-height: 1.15;
}

.login-card form {
    text-align: left;
    margin-top: 0.4rem;
}

.login-card label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    color: var(--green);
    margin: 1.1rem 0 0.35rem;
}

.login-card input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
}

.login-card input:focus { border-color: var(--gold); }

.login-card button {
    width: 100%;
    margin-top: 1.6rem;
    padding: 0.8rem;
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: #fff;
    background: var(--green);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-card button:hover { background: var(--green-dark); }

.error {
    background: #f7e8e4;
    border: 1px solid #e4c4ba;
    color: #8a4632;
    font-size: 0.88rem;
    padding: 0.6rem 0.9rem;
    border-radius: 3px;
    margin-bottom: 0.4rem;
}

.login-footnote {
    margin-top: 1.8rem;
    font-size: 0.8rem;
    color: #97917f;
}

/* ---------- Portal ---------- */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.6rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
}

.topbar-brand {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.72rem;
    color: var(--green);
}

.topbar-user { color: #86816f; }

.topbar-user a {
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.06em;
}

.topbar-user a:hover { text-decoration: underline; }

.hero {
    text-align: center;
    padding: 3.2rem 1.5rem 1rem;
    max-width: 760px;
    margin: 0 auto;
}

.hero-photo {
    width: 132px;
    height: 132px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 3px solid var(--gold-soft);
    box-shadow: 0 12px 30px rgba(60, 50, 30, 0.18);
    margin-bottom: 1.4rem;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    line-height: 1.15;
}

.hero blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.18rem;
    color: #5d5b4e;
    max-width: 560px;
    margin: 0 auto;
}

.hero blockquote cite {
    display: block;
    font-style: normal;
    font-family: 'Jost', sans-serif;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-top: 0.7rem;
}

.tracks {
    max-width: 720px;
    margin: 2.4rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.track {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1.5rem 1.7rem;
    box-shadow: 0 10px 28px rgba(60, 50, 30, 0.06);
}

.track-head {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    margin-bottom: 1rem;
}

.track-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--gold-soft);
}

.track h2 { font-size: 1.35rem; }

.track-date {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #97917f;
}

.track audio {
    width: 100%;
    display: block;
}

.footer {
    text-align: center;
    padding: 3rem 1.5rem 2.2rem;
    font-size: 0.8rem;
    color: #97917f;
}

.footer-brand {
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: var(--gold);
}

@media (max-width: 520px) {
    .login-card { padding: 2.2rem 1.5rem 1.8rem; }
    .track { padding: 1.2rem 1.1rem; }
}
