/* ===================================================================
   Courtney Lewis - Press page
   Load AFTER responsive.css.

   Two blocks:
   1. .press-features  image cards (article, publication, headline, links)
   2. .press-reviews   short review quotes, typographic list
====================================================================== */

.press-page {
    --press-bg: #0d0c0b;
    --press-card-bg: #151311;
    --press-accent: #d1e3e3; /* same tint as the home-page cite */
    --press-text: #ece9e5;
    --press-muted: rgba(236, 233, 229, .55);
    --press-rule: rgba(255, 255, 255, .12);

    background: var(--press-bg);
    color: var(--press-text);
    padding: 100px 0 110px;
}

/* small, letter-spaced section label (no lines - spacing does the work) */
.press-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 40px;
    font-family: futura-pt, sans-serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--press-accent);
}


/* -------------------------------------------------------------------
   1. Feature cards
   Two per row. If the LAST card is alone on its row (1, 3, 5... cards)
   it spans the full width as a split image | text layout.
---------------------------------------------------------------------- */
.press-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 110px;
}

.press-card {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: var(--press-card-bg);
    color: var(--press-text);
}
.press-card__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.001);
    transition: transform 1.4s cubic-bezier(.2, .6, .2, 1);
}
.press-card:hover .press-card__media { transform: scale(1.05); }

/* gradient under the text so it always reads */
.press-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,0) 72%);
}

.press-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 48px 40px;
    text-align: center;
}
.press-card__source {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--press-accent);
}
.press-card__date::before {  /* "Publication · Date" on one line */
    content: "\00B7";
    margin: 0 .6em;
}
.press-card__title {
    margin: 0 0 18px;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: .01em;
    color: #fff;
}
.press-card__excerpt {
    display: none; /* shown only on the wide card */
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--press-muted);
}
.press-card__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 0;
}
.press-card__links a {
    position: relative;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 4px;
}
.press-card__links a::after {/* underline appears only on hover */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    opacity: .7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.press-card__links a:hover { color: var(--press-accent); }
.press-card__links a:hover::after,
.press-card__links a:focus-visible::after { transform: scaleX(1); }
.press-card__credit {
    display: block;
    margin-top: 22px;
    font-size: 12px;
    font-style: italic;
    letter-spacing: .02em;
    color: var(--press-muted);
}

/* last card alone on its row: full width, image left | text right */
.press-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 600px;
}
.press-card:last-child:nth-child(odd) .press-card__media {
    position: relative;
    inset: auto;
    background-position: center 25%;
}
.press-card:last-child:nth-child(odd) .press-card__media::after { display: none; }
.press-card:last-child:nth-child(odd) .press-card__body {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 8%;
    text-align: left;
}
.press-card:last-child:nth-child(odd) .press-card__title { font-size: 46px; }
.press-card:last-child:nth-child(odd) .press-card__excerpt { display: block; }
.press-card:last-child:nth-child(odd) .press-card__links { justify-content: flex-start; }


/* Full-image variant: add "press-card--full-image" to the <article>
   to show the whole picture (e.g. a magazine spread) uncropped,
   laid on the dark card with the text below / beside it. */
.press-card--full-image {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.press-card.press-card--full-image .press-card__media {
    position: relative;
    inset: auto;
    flex: none;
    aspect-ratio: 1800 / 1165;                /* proportions of the spread image */
    margin: 32px 32px 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.press-card.press-card--full-image .press-card__media::after { display: none; }
.press-card--full-image:hover .press-card__media { transform: scale(1.015); }
.press-card.press-card--full-image .press-card__body {
    position: static;
    padding: 34px 40px 40px;
}

/* full-image card alone on its row: spread left | text right */
.press-card.press-card--full-image:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    min-height: 0;
}
.press-card.press-card--full-image:last-child:nth-child(odd) .press-card__media {
    margin: 48px 0 48px 48px;
    background-position: center;
}
.press-card.press-card--full-image:last-child:nth-child(odd) .press-card__body {
    padding: 48px 7% 48px 8%;
}


/* -------------------------------------------------------------------
   2. Review quotes
---------------------------------------------------------------------- */
.press-reviews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 76px 90px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.press-review {
    margin: 0;
    padding: 0;
}
.press-review blockquote {
    position: relative;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    font-family: futura-pt, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: var(--press-text);
}
.press-review blockquote::before {           /* large soft quotation mark, as on the home page */
    content: "\201C";
    display: block;
    height: .42em;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 84px;
    line-height: .8;
    color: var(--press-accent);
    opacity: .4;
}
.press-review cite {
    display: block;
    font-style: normal;
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--press-accent);
}


/* -------------------------------------------------------------------
   Tablet
---------------------------------------------------------------------- */
@media (max-width: 991px) {
    .press-page { padding: 80px 0 90px; }
    .press-card { min-height: 480px; }
    .press-card__body { padding: 36px 30px 32px; }
    .press-card__title { font-size: 30px; }
    .press-card:last-child:nth-child(odd) .press-card__title { font-size: 36px; }
    .press-card:last-child:nth-child(odd) .press-card__body { padding: 50px 6%; }
    .press-reviews { column-gap: 50px; }
    .press-review blockquote { font-size: 20px; }
}


/* -------------------------------------------------------------------
   Mobile: one column, image on top, text underneath
---------------------------------------------------------------------- */
@media (max-width: 767px) {
    .press-page { padding: 60px 0 70px; }
    .press-eyebrow { margin-bottom: 28px; font-size: 12px; }

    .press-features {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 70px;
    }
    .press-card,
    .press-card:last-child:nth-child(odd) {
        display: block;
        min-height: 0;
    }
    .press-card__media,
    .press-card:last-child:nth-child(odd) .press-card__media {
        position: relative;
        inset: auto;
        aspect-ratio: 1 / 1;
        background-position: center 25%;
    }
    .press-card__media::after { display: none; }
    .press-card__body,
    .press-card:last-child:nth-child(odd) .press-card__body {
        position: static;
        display: block;
        padding: 28px 22px 32px;
        text-align: center;
    }
    .press-card.press-card--full-image .press-card__media,
    .press-card.press-card--full-image:last-child:nth-child(odd) .press-card__media {
        aspect-ratio: 1800 / 1165;
        margin: 16px 16px 0;
        background-position: center;
    }
    .press-card.press-card--full-image:last-child:nth-child(odd) {
        display: block;
    }
    .press-card.press-card--full-image .press-card__body,
    .press-card.press-card--full-image:last-child:nth-child(odd) .press-card__body {
        padding: 28px 22px 32px;
    }
    .press-card__date { display: block; margin-top: 6px; }   /* date on its own line */
    .press-card__date::before { content: none; }
    .press-card__title,
    .press-card:last-child:nth-child(odd) .press-card__title { font-size: 22px; }
    .press-card__excerpt { font-size: 17px; }
    .press-card:last-child:nth-child(odd) .press-card__excerpt { display: block; }
    .press-card__links,
    .press-card:last-child:nth-child(odd) .press-card__links { justify-content: center; }

    .press-reviews { grid-template-columns: 1fr; }
    .press-reviews { row-gap: 56px; }
    .press-review blockquote { font-size: 19px; line-height: 1.55; }
    .press-review blockquote::before { font-size: 64px; margin-bottom: 12px; }
}


/* ===================================================================
   2026: review links + review pages (press/reviews/*.html)
====================================================================== */
.press-review__dot { margin: 0 .5em; opacity: .7; }
.press-review__summary {                     /* podcast: a description, not a quote */
    margin: 0 0 22px;
    font-family: futura-pt, sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: var(--press-text);
}
.press-review--listen .press-review__summary::before {   /* small headphone-ish mark: a play triangle */
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 6px 0 30px;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent var(--press-accent);
    opacity: .5;
}
.press-review__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 18px 0 0;
}
.press-review__more,
.press-review__ext,
.review-article__back,
.review-article__source a {
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
    transition: color .3s ease, background-size .4s ease;
}
.press-review__more::after { content: "\2192"; margin-left: .7em; display: inline-block; transition: transform .3s ease; }
.press-review__ext,
.review-article__source a { color: var(--press-muted); }
.press-review__ext::after,
.review-article__source a::after { content: "\2197"; margin-left: .5em; }   /* opens a new window */
.press-review__more:hover,
.press-review__ext:hover,
.review-article__back:hover,
.review-article__source a:hover { color: var(--press-accent); background-size: 100% 1px; }
.press-review__more:hover::after { transform: translateX(4px); }

/* podcast: text | player, on a quiet card above the reviews */
.press-podcast {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 48px;
    margin: 0 0 100px;
    padding: 44px 48px;
    border: 1px solid var(--press-rule);
    background: var(--press-card-bg);
}
.press-podcast__source {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--press-accent);
}
.press-podcast__title {
    margin: 0;
    font-family: futura-pt, sans-serif;
    font-weight: 300;
    font-size: 23px;
    line-height: 1.5;
    color: #fff;
}
.press-podcast__player iframe {
    display: block;
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 12px;
    background: #121212;                 /* Spotify's own dark tone while it loads */
}

/* review page */
.review-page { padding: 190px 0 120px; min-height: 70vh; }
.review-article { max-width: 780px; margin: 0 auto; }
.review-article__back { margin-bottom: 56px; font-size: 17px; color: var(--press-muted); }
.review-article__back::before { content: "\2190"; margin-right: .7em; }
.review-article .press-eyebrow { margin-bottom: 22px; }
.review-article__title {
    margin: 0 0 18px;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: .01em;
    color: #fff;
}
.review-article__byline,
.review-article__context {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--press-muted);
}
.review-article__byline { letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.review-article__quote,
.review-article__summary {
    margin: 56px 0;
    padding: 0;
    border: 0;
    font-family: futura-pt, sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.45;
    color: #fff;
}
.review-article__quote::before {
    content: "\201C";
    display: block;
    height: .42em;
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 96px;
    line-height: .8;
    color: var(--press-accent);
    opacity: .45;
}
.review-article__note {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-style: italic;
    letter-spacing: .04em;
    color: var(--press-muted);
}
.review-article__text p {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(236, 233, 229, .82);
}
.review-article__text:empty { display: none; }
.review-article__player { margin: 0 0 40px; }
.review-article__player iframe { display: block; border: 0; border-radius: 12px; }
.review-article__source { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--press-rule); }
.review-article__deck { margin: 0 0 22px; font-size: 19px; line-height: 1.6; color: rgba(236, 233, 229, .82); }

/* photos inside a review (e.g. 2026-11-11-new-york-times.html) */
.review-figure { margin: 44px 0; }
.review-figure img { display: block; width: 100%; height: auto; }
.review-figure--portrait img { max-width: 440px; margin: 0 auto; }
.review-figure figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: .02em;
    color: var(--press-muted);
}
.review-figure--portrait figcaption { max-width: 440px; margin-left: auto; margin-right: auto; }

/* article entry on the press list: headline + subtitle above the quote */
.press-review__title {
    margin: 0 0 12px;
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.35;
    color: #fff;
}
.press-review__subtitle {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--press-muted);
}
@media (max-width: 767px) {
    .press-review__title { font-size: 20px; }
    .press-review__subtitle { font-size: 15px; }
}

/* "— Courtney Lewis" under a quote he said himself */
.press-review__attrib { display: inline-block; margin-top: 10px; font-size: .6em; letter-spacing: .08em; opacity: .7; }

@media (max-width: 991px) {
    .press-podcast { grid-template-columns: 1fr; gap: 26px; padding: 36px 32px; }
}
@media (max-width: 767px) {
    .press-podcast { margin-bottom: 70px; padding: 26px 18px 18px; }
    .press-podcast__title { font-size: 19px; }
    .press-review__summary { font-size: 19px; }
    .review-page { padding: 120px 0 70px; }
    .review-article__back { margin-bottom: 36px; font-size: 15px; }
    .review-article__title { font-size: 28px; }
    .review-article__quote,
    .review-article__summary { margin: 40px 0; font-size: 22px; }
    .review-article__quote::before { font-size: 72px; margin-bottom: 14px; }
    .review-article__text p { font-size: 16px; }

    /* easier reading on phones: slightly larger text, more air between lines and paragraphs */
    .press-page .container { padding-left: 22px; padding-right: 22px; }
    .review-article > p:not([class]) { font-size: 18.5px; line-height: 1.75; margin-bottom: 26px; }
    .review-article__deck { font-size: 19px; line-height: 1.6; }
    .review-article__context { font-size: 16px; }
    .review-figure figcaption { font-size: 14px; }
    .press-review__subtitle { font-size: 16.5px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
    .press-card__media,
    .press-card:hover .press-card__media { transition: none; transform: none; }
}
