/* =========================================================
   Abigail Tyson — YA writer
   Palette: violet, lavender, teal, pink, green, sunshine yellow
   Type:   Fraunces (display) · Spectral (body) · Work Sans (UI)
   ========================================================= */

:root {
    /* colour — young-adult palette: dreamy violet, hot pink, bright teal
       (variable names kept for compatibility; hues remapped) */
    --paper: #f6f2fc;
    --paper-2: #fcfaff;
    --paper-3: #e9e1f7;
    --ink: #241b33;
    --ink-soft: #5c5273;
    --forest: #7a5cf0;
    --forest-deep: #573bc4;
    --terracotta: #ff6189;
    --terracotta-d: #cc2b58;
    --gold: #78dde8;
    --lilac: #ab9df2;
    --leaf: #a9dc76;
    --sun: #ffd966;
    --line: rgba(36, 27, 51, 0.14);
    --line-soft: rgba(36, 27, 51, 0.08);

    /* type */
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Spectral", Georgia, serif;
    --ui: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* misc */
    --maxw: 1140px;
    --radius: 14px;
    --shadow: 0 18px 50px -28px rgba(36, 27, 51, 0.4);
    --nav-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 18% 12%, rgba(122, 92, 240, 0.09), transparent 42%),
        radial-gradient(circle at 86% 78%, rgba(120, 221, 232, 0.12), transparent 46%);
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
}

p {
    margin: 0 0 1.1rem;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* ---------- skip link ---------- */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 0.6rem 1rem;
    border-radius: 0 0 8px 0;
    font-family: var(--ui);
    font-size: 0.85rem;
}

.skip-link:focus {
    left: 0;
}

/* ---------- shared bits ---------- */
.eyebrow {
    font-family: var(--ui);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--terracotta-d);
    margin: 0 0 0.85rem;
}

.eyebrow--center {
    text-align: center;
}

.section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 2.5rem);
}

.section__head {
    max-width: 620px;
    margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
}

.section__title {
    font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
}

.section__sub {
    margin-top: 0.9rem;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

/* ---------- buttons ---------- */
.btn {
    --c: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ui);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 0.82rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid var(--c);
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
        color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--solid {
    --c: var(--forest);
    background: var(--forest);
    color: var(--paper-2);
    box-shadow: 0 12px 26px -16px rgba(87, 59, 196, 0.5);
}

.btn--solid:hover {
    background: var(--forest-deep);
    --c: var(--forest-deep);
    transform: translateY(-2px);
}

.btn--ghost {
    --c: var(--ink);
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper-2);
    transform: translateY(-2px);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 242, 252, 0.8);
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}

.nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(36, 27, 51, 0.5);
}

.nav__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
}

.brand__mark {
    color: var(--forest);
    flex: none;
}

.brand__name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.18rem;
    letter-spacing: -0.01em;
}

.nav__menu {
    display: flex;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.1rem);
    margin: 0;
    padding: 0;
}

.nav__link {
    position: relative;
    font-family: var(--ui);
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--ink);
    padding: 0.4rem 0;
    transition: color 0.2s var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.5px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav__link:hover {
    color: var(--terracotta-d);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
}

.nav__link.is-active {
    color: var(--terracotta-d);
}

.nav__toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--ink);
    padding: 0.4rem;
    cursor: pointer;
    border-radius: 8px;
}

.nav__toggle-bar {
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
    transform-origin: center;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(4rem, 11vw, 8rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 7vw, 5rem);
    text-align: center;
    overflow: hidden;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(3.2rem, 1.5rem + 12vw, 8.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0.4rem 0 0;
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    color: var(--forest);
    font-weight: 500;
    margin-top: -0.12em;
}

.hero__title-line--accent em {
    font-style: italic;
    font-family: var(--display);
}

.hero__lede {
    font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
    color: var(--ink-soft);
    max-width: 34ch;
    margin: 1.6rem auto 2rem;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* hero decorations */
.hero__sprig {
    position: absolute;
    top: -10px;
    right: clamp(-10px, 4vw, 60px);
    width: clamp(70px, 12vw, 120px);
    height: auto;
    color: var(--forest);
    opacity: 0.5;
    z-index: 1;
}

.hero__spark {
    position: absolute;
    color: var(--gold);
    z-index: 1;
}

.hero__spark--1 {
    top: 22%;
    left: 9%;
    animation: twinkle 4s ease-in-out infinite;
}

.hero__spark--2 {
    bottom: 26%;
    right: 12%;
    color: var(--terracotta);
    animation: twinkle 5s ease-in-out 0.8s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.9) rotate(0deg);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.08) rotate(8deg);
    }
}

.hero__scroll {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: clamp(2.4rem, 6vw, 4rem);
    text-decoration: none;
    color: var(--ink-soft);
    font-family: var(--ui);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero__scroll svg {
    animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
}

.about__portrait {
    display: flex;
    justify-content: center;
}

.portrait-frame {
    position: relative;
    width: min(100%, 420px);
}

.portrait-frame img {
    width: 100%;
    height: auto;
    border-radius: 230px 230px 16px 16px;
    /* arched top — literary niche */
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--paper-3);
}

.portrait-frame::before {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1.5px solid var(--forest);
    border-radius: 220px 220px 16px 16px;
    opacity: 0.4;
    z-index: -1;
}

.portrait-frame__leaf {
    position: absolute;
    bottom: -22px;
    left: -22px;
    width: 60px;
    height: 60px;
    color: var(--terracotta);
    background: var(--paper);
    border-radius: 50%;
    padding: 8px;
}

.about__body .section__title {
    margin-bottom: 1.1rem;
}

.lead {
    font-size: 1.22rem;
    color: var(--ink);
    font-weight: 500;
}

.about__body p:not(.lead):not(.eyebrow) {
    color: var(--ink-soft);
}

.pullquote {
    position: relative;
    margin: 2rem 0 0;
    padding: 0.4rem 0 0.4rem 1.4rem;
    border-left: 3px solid var(--gold);
    font-family: var(--display);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--forest-deep);
}

.pullquote__mark {
    width: 30px;
    height: 30px;
    color: var(--gold);
    position: absolute;
    top: -6px;
    left: 1.2rem;
    opacity: 0.4;
}

/* =========================================================
   DIVIDER
   ========================================================= */
.divider {
    position: relative;
    max-width: 320px;
    margin: 1rem auto;
    color: var(--forest);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider svg:first-child {
    width: 240px;
    height: 24px;
    opacity: 0.5;
}

.divider__leaf {
    position: absolute;
    background: var(--paper);
    padding: 0 6px;
    color: var(--terracotta);
}

/* =========================================================
   CV
   ========================================================= */
.cv__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
}

.cv__heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--display);
    font-size: 1.32rem;
    font-weight: 600;
    margin: 2.2rem 0 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line);
}

.cv__heading:first-child {
    margin-top: 0;
}

.cv__heading svg {
    color: var(--forest);
    flex: none;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline__item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    position: relative;
}

.timeline__item+.timeline__item {
    border-top: 1px dashed var(--line-soft);
}

.timeline__year {
    font-family: var(--ui);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--terracotta-d);
    padding-top: 0.18rem;
    letter-spacing: 0.04em;
}

.timeline__body {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.timeline__body strong {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.06rem;
}

.timeline__body span {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.cv__cta {
    text-align: center;
    margin-top: clamp(2.2rem, 5vw, 3.4rem);
}

/* =========================================================
   WORKS IN PROGRESS
   ========================================================= */
.works {
    position: relative;
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.2rem, 3vw, 1.8rem);
}

.work-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 40px -34px rgba(36, 27, 51, 0.55);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(122, 92, 240, 0.45);
}

.work-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.work-card__icon {
    width: 46px;
    height: 46px;
    color: var(--forest);
}

.chip {
    font-family: var(--ui);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--terracotta-d);
    background: rgba(255, 97, 137, 0.14);
    border: 1px solid rgba(255, 97, 137, 0.34);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.work-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.work-card__genre {
    font-family: var(--ui);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 0.85rem;
}

.work-card__blurb {
    color: var(--ink-soft);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.progress {
    margin-top: auto;
}

.progress__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.45rem;
}

.progress__label {
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
}

.progress__pct {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--forest);
}

.progress__track {
    height: 8px;
    background: var(--paper-3);
    border-radius: 999px;
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--forest), var(--gold));
    transition: width 1.1s var(--ease);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    position: relative;
}

.contact__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact__quill {
    position: absolute;
    top: clamp(1.5rem, 4vw, 3rem);
    right: clamp(0.5rem, 6vw, 4rem);
    width: clamp(54px, 8vw, 78px);
    height: auto;
    color: var(--forest);
    opacity: 0.4;
    z-index: 1;
}

.contact__sub {
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 48ch;
    margin: 0.9rem auto 2.4rem;
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
    text-align: left;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field input,
.field textarea {
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper-2);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(92, 82, 115, 0.55);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(122, 92, 240, 0.2);
}

.contact__submit-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.contact__recaptcha {
    margin-top: 0.4rem;
    min-height: 78px;
}

.contact__recaptcha>div {
    display: inline-block;
}

.form-note {
    font-family: var(--ui);
    font-size: 0.9rem;
    color: var(--forest-deep);
}

.contact__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.6rem 0 1.6rem;
    color: var(--ink-soft);
    font-family: var(--ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact__divider::before,
.contact__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.socials {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.social {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--forest);
    border: 1.5px solid var(--line);
    background: var(--paper-2);
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
        color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social:hover {
    transform: translateY(-3px);
    background: var(--forest);
    color: var(--paper-2);
    border-color: var(--forest);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    border-top: 1px solid var(--line);
    background: var(--paper-2);
    margin-top: clamp(2rem, 6vw, 4rem);
}

.footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.25rem, 5vw, 2.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brand--footer .brand__name {
    font-size: 1.3rem;
}

.footer__tag {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--forest-deep);
    margin: 0.2rem 0 0.3rem;
}

.footer__legal {
    font-family: var(--ui);
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin: 0;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__portrait {
        order: -1;
    }

    .portrait-frame {
        width: min(80%, 340px);
    }

    .cv__grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 720px) {
    .nav__toggle {
        display: inline-flex;
    }

    .nav__menu {
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 22px 40px -28px rgba(33, 30, 24, 0.6);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease);
    }

    .nav__menu.open {
        max-height: 360px;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
    }

    .nav__list li {
        width: 100%;
    }

    .nav__link {
        display: block;
        padding: 0.85rem clamp(1.25rem, 5vw, 2.5rem);
        font-size: 1.05rem;
    }

    .nav__link::after {
        display: none;
    }

    .contact__form {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

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

/* =========================================================
   SOME FAVORITES
   ========================================================= */
.favorites__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 4vw, 2.4rem) clamp(1.6rem, 5vw, 3.2rem);
}

@media (max-width: 680px) {
    .favorites__grid {
        grid-template-columns: 1fr;
    }
}

.favorite__label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--ui);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--forest-deep);
    margin: 0 0 0.7rem;
}

.favorite__label svg {
    color: var(--forest);
    flex: none;
}

.favorite:nth-child(2) .favorite__label svg {
    color: var(--terracotta);
}

.favorite:nth-child(3) .favorite__label svg {
    color: var(--gold);
}

.favorite:nth-child(4) .favorite__label svg {
    color: var(--leaf);
}

.favorite__list {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.75;
}

.favorite__list em {
    color: var(--ink);
    font-style: italic;
}

.favorites__note {
    max-width: 640px;
    margin: clamp(2rem, 5vw, 3rem) auto 0;
    text-align: center;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--ink-soft);
}

/* =========================================================
   CURRENT PROJECT (single feature card)
   ========================================================= */
.works__grid--single {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.work-card--feature .work-card__title {
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.2rem);
}

.work-card--feature .work-card__genre {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    color: var(--terracotta-d);
}

.work-card__playlist {
    margin-top: 0.4rem;
}

.work-card__playlist iframe {
    display: block;
    width: 100%;
    border: 0;
}

.work-card__playlist-link {
    margin: 0.7rem 0 0;
    font-family: var(--ui);
    font-size: 0.85rem;
}

.work-card__playlist-link a {
    color: var(--forest-deep);
    text-decoration: none;
    font-weight: 600;
}

.work-card__playlist-link a:hover {
    text-decoration: underline;
}

/* ---------- contact note ---------- */
.contact__note {
    margin-top: -0.4rem;
    text-align: center;
    font-family: var(--ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--forest-deep);
}