/* ============================================================
   Plate Note — editorial design system
   Palette: plate #F7F4EE · charcoal #1C1C1C · wine #7A2E3B · herb #5F7A58
   ============================================================ */

:root {
    --plate: #F7F4EE;
    --charcoal: #1C1C1C;
    --wine: #7A2E3B;
    --herb: #5F7A58;
    --ink-85: rgba(28, 28, 28, 0.85);
    --ink-70: rgba(28, 28, 28, 0.70);
    --ink-55: rgba(28, 28, 28, 0.55);
    --ink-30: rgba(28, 28, 28, 0.30);
    --ink-16: rgba(28, 28, 28, 0.16);
    --hairline: 1px solid rgba(28, 28, 28, 0.16);
    --font-display: 'Fraunces', Georgia, serif;
    --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --maxw: 1200px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--plate);
    color: var(--charcoal);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--wine); color: var(--plate); }

/* ---------- shared ---------- */

.eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wine);
}

.dot { opacity: 0.55; padding: 0 2px; }

/* ---------- masthead ---------- */

.masthead {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    border-bottom: var(--hairline);
}

.masthead__top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0 10px;
    border-bottom: var(--hairline);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.masthead__brand { text-align: center; padding: 22px 0 18px; }

.masthead__logo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.5rem, 6vw, 3.9rem);
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--charcoal);
}

.masthead__logo span { color: var(--wine); }

.masthead__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
    padding: 14px 0 16px;
}

.masthead__nav a {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-70);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.masthead__nav a:hover { color: var(--wine); border-color: var(--wine); }

/* ---------- cover band (first screen) ---------- */

.cover-band {
    position: relative;
    height: clamp(66vh, 72vh, 80vh);
    min-height: 520px;
    overflow: hidden;
    background: var(--charcoal);
}

.cover-band__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.cover-band__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.10) 0%, rgba(28, 28, 28, 0.18) 42%, rgba(28, 28, 28, 0.62) 100%);
}

.cover-band__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px 52px;
}

.cover-band__issue {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.92);
}

.cover-band__rule {
    width: 34px;
    height: 1px;
    background: var(--wine);
    flex: none;
}

.cover-band__headline {
    margin: 0;
    max-width: 16ch;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 6.5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--plate);
}

.cover-band__dek {
    margin: 20px 0 0;
    max-width: 52ch;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(247, 244, 238, 0.85);
}

.cover-band__link {
    display: inline-block;
    margin-top: 26px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--plate);
    border-bottom: 1px solid rgba(247, 244, 238, 0.55);
    padding-bottom: 4px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.cover-band__link:hover { color: var(--plate); border-color: var(--plate); }

/* ---------- section heads ---------- */

.grid-section,
.sections-band,
.magazine-hero,
.contents,
.section-index,
.contributors,
.related {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.grid-section { padding-top: 56px; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: var(--hairline);
}

.section-head__label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.section-head__link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wine);
    border-bottom: 1px solid rgba(122, 46, 59, 0.35);
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
}

.section-head__link:hover { border-color: var(--wine); }

.section-head__note {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

/* ---------- story grid (asymmetric editorial) ---------- */

.story-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2rem;
    padding-top: 34px;
}

.story {
    grid-column: span 3;
    padding-top: 1.35rem;
    border-top: var(--hairline);
    padding-bottom: 2.9rem;
    transition: transform 0.3s ease;
}

.story-grid .story:nth-child(1) { grid-column: span 7; }
.story-grid .story:nth-child(2) { grid-column: span 5; }

.story-grid--three .story { grid-column: span 4; }

.story__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ink-16);
}

.story:nth-child(1) .story__media { aspect-ratio: 16 / 10; }

.story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

.story__meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 14px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.story__section { color: var(--wine); }

.story__title {
    margin: 9px 0 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.22;
    letter-spacing: -0.005em;
}

.story:nth-child(1) .story__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; }

.story__title a { transition: color 0.25s ease; }

.story__dek {
    margin: 10px 0 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-70);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story__byline {
    margin: 10px 0 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.story:hover { transform: translateY(-3px); }
.story:hover .story__media img { opacity: 0.86; }
.story:hover .story__title a { color: var(--wine); }

/* ---------- sections band ---------- */

.sections-band { padding-top: 8px; padding-bottom: 70px; }

.section-rows { border-top: var(--hairline); margin-top: 0; }

.section-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 26px 0;
    border-bottom: var(--hairline);
    align-items: start;
}

.section-row__name {
    grid-column: span 4;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.1;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.section-row__name:hover { color: var(--wine); border-color: var(--wine); }

.section-row__story { grid-column: span 8; }

.section-row__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.section-row__title:hover { color: var(--wine); }

.section-row__dek {
    margin: 8px 0 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-70);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- magazine feature ---------- */

.magazine-hero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    padding-top: 64px;
    padding-bottom: 16px;
    align-items: end;
}

.magazine-hero__media { grid-column: span 7; }

.magazine-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.magazine-hero__body { grid-column: span 5; padding-bottom: 8px; }

.magazine-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.08;
}

.magazine-hero__dek {
    margin: 18px 0 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-70);
}

.contents { padding-top: 48px; padding-bottom: 80px; }

.contents__group { margin-top: 42px; }

.contents__group-label {
    margin: 0 0 0;
    padding: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wine);
    border-bottom: var(--hairline);
}

.contents__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    padding: 20px 0;
    border-bottom: var(--hairline);
}

.contents__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1.25;
}

.contents__title a { transition: color 0.25s ease; }
.contents__title a:hover { color: var(--wine); }

.contents__byline {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-55);
    flex: none;
}

/* ---------- article ---------- */

.article-hero {
    max-width: 880px;
    margin: 0 auto;
    padding: 68px 24px 0;
}

.article-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
}

.article-hero__dek {
    margin: 20px 0 0;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--ink-70);
    max-width: 62ch;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.article-media {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 40px 24px 12px;
}

.article-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

.article-body__text {
    white-space: pre-line;
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--charcoal);
}

.article-pull {
    margin: 42px 0;
    padding: 4px 0 4px 24px;
    border-left: 2px solid var(--wine);
}

.article-pull p {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--charcoal);
}

.article-body__end {
    margin-top: 46px;
    padding-top: 18px;
    border-top: var(--hairline);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.article-body__end-rule {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--wine);
    margin-bottom: 14px;
}

.related { padding-top: 60px; padding-bottom: 84px; }

/* ---------- section index ---------- */

.section-index { padding-top: 68px; padding-bottom: 84px; }

.section-index__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    line-height: 1;
    text-transform: capitalize;
}

.section-index__count {
    margin: 14px 0 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.section-index__list { margin-top: 44px; border-top: var(--hairline); }

.section-index__item {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 26px 0;
    border-bottom: var(--hairline);
    align-items: center;
}

.section-index__media { grid-column: span 4; }
.section-index__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.section-index__text { grid-column: span 8; }

.section-index__title-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.55rem;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.section-index__title-link:hover { color: var(--wine); }

.section-index__dek {
    margin: 10px 0 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--ink-70);
}

.section-index__byline {
    margin: 10px 0 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-55);
}

/* ---------- contributors ---------- */

.contributors { padding-top: 60px; padding-bottom: 84px; }

.contributors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 3rem;
    padding-top: 36px;
}

.contributor {
    padding-top: 1.35rem;
    border-top: var(--hairline);
}

.contributor__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 16px;
    transition: opacity 0.35s ease;
}

.contributor:hover .contributor__photo { opacity: 0.86; }

.contributor__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.2;
}

.contributor__role {
    margin: 6px 0 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wine);
}

.contributor__bio {
    margin: 12px 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-70);
}

/* ---------- about ---------- */

.about {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 24px 84px;
}

.about__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 1.06;
}

.about__lede {
    margin: 22px 0 0;
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--ink-70);
}

.about__body p {
    margin: 18px 0 0;
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--ink-85);
}

.about__h2 {
    margin: 46px 0 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
}

.about__hr {
    margin: 22px 0 0;
    border: 0;
    border-top: var(--hairline);
}

.about__grid {
    margin-top: 26px;
    border-top: var(--hairline);
}

.about__role {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 14px 0;
    border-bottom: var(--hairline);
}

.about__role-name { font-size: 0.98rem; color: var(--charcoal); }

.about__role-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-55);
    flex: none;
}

/* ---------- newsletter ---------- */

.newsletter {
    max-width: 640px;
    margin: 0 auto;
    padding: 84px 24px 100px;
    text-align: center;
}

.newsletter__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.5vw, 3.1rem);
    line-height: 1.1;
}

.newsletter__intro {
    margin: 18px auto 0;
    max-width: 46ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink-70);
}

.newsletter__form { margin-top: 34px; text-align: left; }

.newsletter__label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.newsletter__row { display: flex; gap: 10px; }

.newsletter__input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--ink-30);
    border-radius: 0;
    background: #fff;
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.25s ease;
}

.newsletter__input:focus { border-color: var(--wine); }

.newsletter__button {
    padding: 14px 26px;
    border: 0;
    border-radius: 0;
    background: var(--charcoal);
    color: var(--plate);
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}

.newsletter__button:hover { background: var(--wine); }

.newsletter__thanks {
    margin: 18px 0 0;
    font-size: 0.95rem;
    color: var(--herb);
    font-weight: 500;
}

/* ---------- footer ---------- */

.footer {
    background: #fff;
    border-top: var(--hairline);
}

.footer__grid {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 56px 24px 44px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.footer__colophon { grid-column: span 6; }

.footer__logo {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1;
}

.footer__note {
    margin: 14px 0 0;
    max-width: 40ch;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ink-70);
}

.footer__col { grid-column: span 3; }

.footer__heading {
    margin: 0 0 12px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.footer__col a {
    display: block;
    font-size: 0.95rem;
    line-height: 2.1;
    color: var(--ink-85);
    transition: color 0.25s ease;
}

.footer__col a:hover { color: var(--wine); }

.footer__bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px 24px 26px;
    border-top: var(--hairline);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-55);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .story-grid { grid-template-columns: repeat(6, 1fr); }
    .story { grid-column: span 3; }
    .story-grid .story:nth-child(1) { grid-column: span 6; }
    .story-grid .story:nth-child(2) { grid-column: span 6; }
    .story-grid--three .story { grid-column: span 3; }
    .magazine-hero__media { grid-column: span 12; }
    .magazine-hero__body { grid-column: span 12; }
    .contributors__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__colophon { grid-column: span 12; }
}

@media (max-width: 640px) {
    .masthead__top { justify-content: center; text-align: center; }
    .masthead__tagline { display: none; }
    .masthead__nav { gap: 0.9rem 1.1rem; }
    .cover-band { height: clamp(58vh, 62vh, 68vh); min-height: 480px; }
    .cover-band__content { padding-bottom: 34px; }
    .cover-band__headline { max-width: 13ch; }
    .grid-section { padding-top: 40px; }
    .story-grid { grid-template-columns: 1fr; }
    .story, .story-grid .story:nth-child(1), .story-grid .story:nth-child(2),
    .story-grid--three .story { grid-column: span 1; }
    .story:nth-child(1) .story__media { aspect-ratio: 4 / 3; }
    .section-row { grid-template-columns: 1fr; gap: 12px; }
    .section-row__name, .section-row__story { grid-column: span 1; }
    .contents__item { flex-direction: column; gap: 6px; }
    .section-index__item { grid-template-columns: 1fr; }
    .section-index__media, .section-index__text { grid-column: span 1; }
    .contributors__grid { grid-template-columns: 1fr; }
    .newsletter__row { flex-direction: column; }
    .footer__col { grid-column: span 6; }
    .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
    .story:hover { transform: none; }
}
