
/* ───────── fonts.css ───────── */
/* ═══ FONTS ═══  Served from this site (src/assets/fonts/), not Google, so nothing is sent to Google before
   a visitor agrees to cookies, and text appears sooner. All four are open-source (SIL Open Font Licence),
   from the Fontsource project. Each comes in two parts: "latin" (English and most European text) and
   "latin-ext" (extra accented letters), which the browser fetches only if a page needs it. */
@font-face { font-family: 'Crimson Pro'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/crimson-pro-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Crimson Pro'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/crimson-pro-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Crimson Pro'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/crimson-pro-latin-ext-wght-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Crimson Pro'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/crimson-pro-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/young-serif-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/young-serif-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/courier-prime-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/courier-prime-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/courier-prime-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Courier Prime'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/courier-prime-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/caveat-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/caveat-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }


/* ───────── tokens.css ───────── */
/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — change colours, fonts, sizes and widths here.
   ═══════════════════════════════════════════════════════════════

   Breakpoints (CSS can't use variables in media queries, so these are the
   only three widths used anywhere in the site's CSS):
     phone    up to 767px      @media (max-width: 767px)
     tablet   768px – 1024px   @media (min-width: 768px) and (max-width: 1024px)
     desktop  1025px and up    @media (min-width: 1025px)
     (the header and menus switch to the phone-style menu below 1150px, so the logo keeps its size)
   The header switches to the hamburger menu at tablet width and below. */

:root {
  /* ── Colour ── */
  --color-page:        #FFFCF7;   /* page background */
  --color-text:        #4A1F2C;   /* main text: plum (the same as --color-ink) */
  --color-cream:       #FAF3EB;   /* menu panels, Marginalia cards, footer text */
  --color-ink:         #4A1F2C;   /* plum: headings in menus, footer background */
  --color-ink-muted:   rgba(74, 31, 44, .75);
  --color-ink-soft:    rgba(74, 31, 44, .72);
  --color-deep:        #8C2D3C;   /* deep red: nav labels, badges */
  --color-rust:        #712B13;
  /* Links inside text (intros, FAQs, bios, poems, the privacy policy…): burgundy and underlined.
     The same look is repeated in each section's CSS; links on dark backgrounds (the footer) keep their own colours. */
  --color-coral:       #FF563F;   /* buttons and outlines */
  --color-coral-text:  #FF563F;   /* coral text: "Read more" links (the same orange; kept separate so text can be deepened later) */
  --color-coral-tint:  rgba(255, 86, 63, .08);
  --color-peach:       #FDE8D8;   /* "Open now" boxes, footer button */
  --color-pink:        #F4B8A8;   /* footer headings */
  --color-muted:       rgba(74, 31, 44, .75);   /* soft plum for secondary text: card and FAQ text, form notes (5.6:1 or more on every background) */
  --color-label:       rgba(74, 31, 44, .7);    /* small headings and labels: plum at 70% (4.8:1 or more on the page, cream and white backgrounds) */
  --color-focus:       #8C2D3C;   /* keyboard focus outline (and sitemap link hover): burgundy */
  --color-menu-red:    #B00020;   /* the menu button over issue covers */
  --color-badge-bg:    rgba(140, 45, 60, .12);
  --color-line:        rgba(74, 31, 44, .12);
  --color-line-strong: rgba(74, 31, 44, .2);
  --color-divider:     rgba(74, 31, 44, .3);    /* the lines beside headings and under the header: plum, soft */
  --color-shadow:      rgba(74, 31, 44, .1);
  --color-dim:         rgba(74, 31, 44, .22);   /* page dimmer behind open menu panels */

  /* Coloured buttons (hero, mobile menu): text + border colour, and hover fill */
  --pill-green: #1C3D28;  --pill-green-hover: #A8C5B0;
  --pill-rust:  #7A3010;  --pill-rust-hover:  #E8A080;
  --pill-plum:  #4A1030;  --pill-plum-hover:  #D4B0C0;
  --pill-navy:  #1F3550;  --pill-navy-hover:  #B4C2D4;

  /* ── Fonts ── */
  --font-body:    'Crimson Pro', Georgia, serif;   /* stands in for athelas-web */
  --font-display: 'Young Serif', Georgia, serif;
  --font-mono:    'Courier Prime', monospace;
  --font-hand:    'Caveat', cursive;

  /* ── Type scale (fixed sizes) ──
     Minimums at every screen size: 15px (--fs-xs) for anything a reader needs, 16px or more for
     anything read in full. Only decorative miniatures (the Marginalia card's draft) go below, to 12px. */
  --fs-xs:  15px;   /* small labels */
  --fs-sm:  15px;   /* badges, nav labels, header buttons */
  --fs-md:  16px;   /* small links and buttons */
  --fs-lg:  18px;   /* section headings, menu text, "Read more" */
  --fs-xl:  20px;   /* excerpts, descriptions */
  --fs-2xl: 22px;   /* card titles, issue list */
  --fs-3xl: 24px;   /* interview titles */
  --fs-4xl: 40px;   /* footer headline */
  /* Poem excerpts (cards on the homepage, featured poem in the menu) */
  --fs-excerpt:    21px;
  --fs-excerpt-sm: 19px;
  /* Fluid text, as on Squarespace: scales between 390px and 1440px wide */
  --fs-body: calc(18.99px + .2725vw);   /* 20.1 → 22.9px */
  --fs-p:    calc(18.48px + .3078vw);   /* 19.7 → 22.9px */
  --fs-h1:   calc(38.41px + 2.044vw);   /* 46.4 → 67.8px */
  --fs-h2:   calc(30.94px + 1.362vw);   /* 36.3 → 50.6px */
  --fs-h3:   calc(23.47px + .681vw);    /* 26.1 → 33.3px */
  --fs-h4:   calc(19.73px + .3406vw);   /* 21.1 → 24.6px */

  /* ── Layout ── */
  --gutter: 6vw;            /* side margins (phone) */
  --content-max: 1500px;
  --header-h: 86.7px;       /* header bar height (phone and tablet) */
  --radius-card: 12px;
  --section-gap: 72px;      /* space between sections, on every page (phone) */
  --intro-gap: 40px;        /* space under a page's intro box (phone) */
}
@media (min-width: 768px)  { :root { --gutter: 9vw; --section-gap: 120px; --intro-gap: 48px; } }   /* 130px margins at 1440 */
@media (min-width: 1025px) { :root { --intro-gap: 56px; } }
@media (min-width: 1150px) { :root { --header-h: 52px; } }     /* desktop header bar; menu panels open below it */


/* ───────── base.css ───────── */
/* ═══ BASE ═══
   Defaults for plain HTML elements, matching what Squarespace applied.
   Wrapped in :where() so they have no specificity: any class in a component wins. */

:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; }
/* Links to a spot on the page (the table of contents, "Read more" to a poem) glide there, as on Squarespace */
@media (prefers-reduced-motion: no-preference) { :where(html) { scroll-behavior: smooth; } }

/* <body> keeps browser defaults, as on Squarespace. The menu panels and mobile drawer
   sit outside .site-wrapper and set their own fonts. */
:where(body) { margin: 0; background: var(--color-page); color: var(--color-text); font-family: sans-serif; font-size: 16px; line-height: normal; }

/* The site's text style (Squarespace's #siteWrapper) */
:where(.site-wrapper) {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: calc(1.6 * (18.99px + .2725vw));   /* a fixed length, so children inherit it as on Squarespace */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
:where(.menu-panel, .drawer) {   /* the menus sit outside .site-wrapper, so they need the same text rendering */
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:where(h1, h2, h3, h4, h5, h6) { font-family: var(--font-display); font-weight: 400; margin: 32px 0; }
:where(h1) { font-size: var(--fs-h1); line-height: 1.056; }
:where(h2) { font-size: var(--fs-h2); line-height: 1.104; }
:where(h3) { font-size: var(--fs-h3); line-height: 1.152; }
:where(h4) { font-size: var(--fs-h4); line-height: 1.176; }
:where(p) { line-height: 1.6; margin: 16px 0; }
:where(.site-wrapper p) { font-size: var(--fs-p); line-height: calc(1.6 * (18.48px + .3078vw)); }
:where(a) { color: inherit; text-decoration: none; }
:where(strong, b) { font-weight: 700; }
:where(.site-wrapper button) { font: inherit; color: #000; }
:where(img) { max-width: 100%; height: auto; }
/* A tiny blurred copy of the picture, shown behind it while it loads (lib/images.js; removed once it has) */
:where(img[style*="background-image"]) { background-size: cover; background-position: center; }
:where(:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99999; background: #fff; padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* "See all issues ➜"-style links under a list: centred, in coral */
.see-all {
  display: block; text-align: center;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-coral-text); text-decoration: none;
}
.see-all { transition: opacity .15s; }
/* Every orange "… ➜" link turns paler on hover, on its own or when its card is hovered:
   here, menu.css (.menu-more, .dropdown__all), interviews, contests, open calls and the About page's poem picker */
.see-all:hover, .see-all:focus-visible { opacity: .8; }


/* ───────── layout.css ───────── */
/* ═══ LAYOUT ═══
   .sec  = a page section: the content column inside the side margins.
   .blk  = a block inside a section. On desktop, the narrower blocks keep the positions they had on
           Squarespace's 24-column grid. On tablets they use the full width, so cards side by side aren't squeezed. */

.sec {
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  container-type: inline-size;   /* lets blocks measure the content width (100cqw) */
}
.blk { position: relative; display: flow-root; }
@media (min-width: 1025px) {
  .blk--19 { margin-left: calc(100% * 2 / 24); width: calc(100% * 19 / 24); }   /* contest winners, featured poems */
  .blk--22 { margin-left: calc(100% * 1 / 24); width: calc(100% * 22 / 24); }   /* Marginalia */
}

/* Divider under the header */
.site-rule { height: 1px; margin: 0; border: 0; background: var(--color-divider); }

/* ── Page spacing ──
   Every page is a stack of sections (.sec) with the same gap between them, --section-gap, which is also
   the gap above the footer. The first section (.page-top, usually the intro box) sits a little below the
   header, with a smaller gap under it, --intro-gap. Both sizes are in tokens.css. */
main > .sec { padding-bottom: var(--section-gap); }
main > .page-top { padding-top: 12px; padding-bottom: var(--intro-gap); }
main > .page-top:last-child { padding-bottom: var(--section-gap); }   /* a page that's only one section */
@media (min-width: 768px)  { main > .page-top { padding-top: 24px; } }
@media (min-width: 1150px) { main > .page-top { padding-top: 60px; } }   /* 1150px: where the desktop header starts */


/* ───────── section-heading.css ───────── */
/* ═══ SECTION HEADING ═══  "——— CONTEST WINNERS ———"
   Used above every homepage section. Inside a narrower block (.blk--19 / .blk--22)
   the lines still run the full content width on tablet and desktop. */

.section-heading {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 40px;
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 400;
  line-height: 1.4; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-label);
}
.section-heading::before,
.section-heading::after { content: ''; flex: 1; height: .5px; background: rgba(74, 31, 44, .4); }   /* plum; thinner than the other dividers, so a little stronger */

@media (min-width: 1025px) {   /* matches the narrow blocks in layout.css */
  .blk--19 .section-heading { width: 100cqw; margin-left: calc(-100cqw * 2 / 24); }
  .blk--22 .section-heading { width: 100cqw; margin-left: calc(-100cqw * 1 / 24); }
}


/* ───────── badge.css ───────── */
/* ═══ BADGE ═══  small capitals label: "Contest winner", "Open now", "Issues"…
   Colours come from the surrounding component (--badge-ink, --badge-bg). */

.badge {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 2px;
  background: var(--badge-bg, var(--color-badge-bg));
  color: var(--badge-ink, var(--color-deep));
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  line-height: 30px; letter-spacing: .12em; text-transform: uppercase;
}
.badge--section { padding: 6px 12px; font-size: var(--fs-md); line-height: normal; letter-spacing: .1em; }   /* "Issues", "Interviews", "Marginalia" in the menu */


/* ───────── pill.css ───────── */
/* ═══ PILL BUTTON ═══  coloured link with a title, a line of text and an arrow.
   Used for the three homepage hero buttons and the "Open calls" in the mobile menu.
   Colour: .pill--green / --rust / --plum / --navy (tokens.css). */
.pill {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px; border-left: 5px solid; border-radius: 4px;
  color: var(--pill); background: color-mix(in srgb, var(--pill) 5%, transparent);
  line-height: 1.4;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--pill-hover); }
.pill__body { display: block; }
.pill__title { display: block; margin-bottom: 3px; font-family: var(--font-display); font-size: clamp(16px, 1.9vw, var(--fs-2xl)); line-height: 1.3; }
.pill__text { display: block; font-family: var(--font-body); font-size: clamp(var(--fs-xs), 1.4vw, var(--fs-lg)); line-height: 1.3; opacity: .85; }
.pill__arrow { flex-shrink: 0; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1; transition: transform .2s; }
.pill:hover .pill__arrow { transform: translateX(3px); }
.pill--green { --pill: var(--pill-green); --pill-hover: var(--pill-green-hover); }
.pill--rust  { --pill: var(--pill-rust);  --pill-hover: var(--pill-rust-hover); }
.pill--plum  { --pill: var(--pill-plum);  --pill-hover: var(--pill-plum-hover); }
.pill--navy  { --pill: var(--pill-navy);  --pill-hover: var(--pill-navy-hover); }


/* Compact version (mobile menu): smaller, and only fills in while pressed */
.pill--compact { padding: 12px 16px; }
.pill--compact .pill__title { font-size: var(--fs-lg); }
.pill--compact .pill__text { font-size: var(--fs-md); line-height: 1.35; }
.pill--compact .pill__arrow { font-size: var(--fs-lg); }
.pill--compact:hover { background: color-mix(in srgb, var(--pill) 5%, transparent); }
.pill--compact:active { background: var(--pill-hover); }


/* ───────── card.css ───────── */
/* ═══ POEM CARD ═══  used by Contest Winners and Featured Poems on the homepage.
   Each card has a colour theme (.card--peach, .card--sage…) that sets four colours:
     --card-head     header background
     --card-title    title (and badge) colour on the header
     --card-badge-bg badge background
     --card-ink      excerpt and "Read more" colour on the white body */

.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
/* Cards side by side: each card's coloured header and white body line up with its neighbour's
   (the card spans two rows of the grid and shares them). Contest and submission cards do the same (contests.css). */
.cards-grid > .card { display: grid; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
@media (max-width: 767px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--radius-card);
  background: #fff; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .13); transform: translateY(-2px); }

/* When the card beside it has a longer title, the header is taller: the badge stays at the top and the
   title sits in the middle of the space below it */
.card__header { display: flex; flex-direction: column; padding: 34px 30px 26px; background: var(--card-head); }   /* 34px: the same space above the badge as before it was a flex item */
.card__header .badge { align-self: flex-start; --badge-ink: var(--card-title); --badge-bg: var(--card-badge-bg); margin-bottom: 16px; }
.card__title { margin: auto 0; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 400; line-height: 1.25; color: var(--card-title); }

.card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px 28px; background: #fff; }
.card__excerpt {
  flex: 1; margin: 0 0 22px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-family: var(--font-body); font-size: var(--fs-excerpt); font-weight: 430; line-height: 1.65; color: var(--card-ink);   /* 430: a touch heavier than regular (400) */
}
.card__more {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; color: var(--card-ink);
}
.card__arrow { font-size: var(--fs-sm); transition: transform .2s; }
.card:hover .card__arrow { transform: translateX(4px); }

/* ── Colour themes ── */
.card--peach    { --card-head: hsl(15.21 73% 81%);   --card-title: #983713; --card-badge-bg: rgba(152, 55, 19, .08);   --card-ink: #983713; }
.card--lilac    { --card-head: #DCD3EC;              --card-title: #3A2A5E; --card-badge-bg: rgba(58, 42, 94, .08);    --card-ink: #3A2A5E; }
.card--ocean    { --card-head: #0B3A4A;              --card-title: #9FD8DE; --card-badge-bg: rgba(159, 216, 222, .08); --card-ink: #0B3A4A; }
.card--duck-egg { --card-head: #B7D8CE;              --card-title: #173A32; --card-badge-bg: rgba(23, 58, 50, .08);    --card-ink: #173A32; }
.card--gold     { --card-head: #D9B96A;              --card-title: #4A3510; --card-badge-bg: rgba(74, 53, 16, .08);    --card-ink: #7A5A1E; }
.card--maroon   { --card-head: #8A1B2E;              --card-title: #F0C9D8; --card-badge-bg: rgba(240, 201, 216, .08); --card-ink: #8A1B2E; }
.card--moss     { --card-head: #3D5247;              --card-title: #DACE8A; --card-badge-bg: rgba(218, 206, 138, .06); --card-ink: #3D5247; }
.card--slate    { --card-head: hsl(228 30% 22%);     --card-title: #C8D4F0; --card-badge-bg: rgba(200, 212, 240, .08); --card-ink: hsl(228 30% 22%); }
.card--sage     { --card-head: hsl(133.04 20% 78%);  --card-title: #325540; --card-badge-bg: rgba(50, 85, 64, .08);    --card-ink: #325540; }
.card--burgundy { --card-head: hsl(356.19 39% 32%);  --card-title: #F9E9CF; --card-badge-bg: rgba(249, 233, 207, .08); --card-ink: hsl(356.19 39% 32%); }
.card--forest   { --card-head: hsl(142.94 25% 27%);  --card-title: #E8F5EA; --card-badge-bg: rgba(232, 245, 234, .08); --card-ink: hsl(142.94 25% 27%); }
.card--mint     { --card-head: hsl(141.43 24% 77%);  --card-title: #1F4E3E; --card-badge-bg: rgba(31, 78, 62, .08);    --card-ink: #1F4E3E; }
.card--plum     { --card-head: hsl(289.29 24% 23%);  --card-title: #D4B5C5; --card-badge-bg: rgba(212, 181, 197, .08); --card-ink: hsl(289 24% 23%); }
.card--rose     { --card-head: hsl(358 35% 83%);     --card-title: #560D2F; --card-badge-bg: rgba(86, 13, 47, .08);    --card-ink: #560D2F; }
.card--clementine { --card-head: #F2A65A;            --card-title: #4E1E06; --card-badge-bg: rgba(78, 30, 6, .08);     --card-ink: #4E1E06; }


/* ───────── carousel.css ───────── */
/* ═══ CAROUSEL ═══  shared by Issues, Marginalia and Poet Interviews (see assets/js/carousel.js).
   Each carousel sets:
     --per-view   how many slides show at once (can change per breakpoint)
     --gap        space between slides
   Controls: ‹ dots › centred below the slides. */

.carousel { --per-view: 1; --gap: 16px; position: relative; }
.carousel__window { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel__window:focus-visible { outline-offset: 4px; }
.carousel__track { display: flex; gap: var(--gap); transition: transform .35s ease; will-change: transform; }
.carousel__slide { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); min-width: 0; }
.carousel__window a, .carousel__window img { -webkit-user-drag: none; }
.carousel.is-dragging .carousel__window, .carousel.is-dragging .carousel__window * { cursor: grabbing; }
.carousel.is-dragging .carousel__track { transition: none; }

.carousel__controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 14px; }
.carousel__dots { display: flex; justify-content: center; gap: 6px; }
.carousel__dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .2s; }
.carousel__dot[aria-current="true"] { background: var(--color-muted); }
.carousel__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border: .5px solid rgba(0, 0, 0, .3); border-radius: 50%;
  background: #fff; color: #111; cursor: pointer;
}
.carousel__arrow:hover { background: var(--color-cream); }
.carousel__arrow:disabled { opacity: .35; cursor: default; background: #fff; }
.carousel__arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) { .carousel__track { transition: none; } }


/* ───────── header.css ───────── */
/* ═══ HEADER ═══
   Phone and tablet: logo + hamburger. Desktop (1150px+, so the logo keeps its full size): logo, menu links,
   Submissions and Contests buttons. */

.site-header { position: relative; z-index: 9000; }
.site-header__inner {
  position: relative;
  display: flex; align-items: flex-start; justify-content: space-between;
  height: var(--header-h); padding: 0 var(--gutter);
}
body.panel-open .site-header__inner { background: var(--color-cream); }   /* matches the open menu panel */

.site-header__logo { position: relative; z-index: 2; display: block; margin-top: 18px; line-height: 0; }
.site-header__logo img { display: block; width: 163px; height: auto; }   /* overhangs the header bar, as designed */
.site-header__desktop { display: none; }

@media (min-width: 1150px) {
  .site-header__logo { margin-top: 16px; }
  .site-header__logo img { width: 196px; }
  .site-header__desktop { display: flex; align-items: center; gap: 20px; margin-top: 13px; }
}

/* Menu links: "Read our issues", "Learn from poets" */
.main-nav { display: flex; gap: 20px; }
.main-nav__link {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 2px;
  background: var(--color-badge-bg); color: var(--color-deep);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  line-height: 1.4; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .15s;
}
/* Keep each label on one line; a little tighter on smaller laptops so everything fits */
.main-nav__link { white-space: nowrap; }
@media (max-width: 1279px) {
  .main-nav { gap: 10px; }
  .main-nav__link { padding: 6px 8px; letter-spacing: .08em; }
  .header-buttons { margin-left: 4px; }
}
.main-nav__link:hover { background: rgba(140, 45, 60, .18); }
.main-nav__link[aria-expanded="true"] { box-shadow: inset 0 -2px 0 var(--color-ink); }

/* The small ▾ after menu links and buttons; flips when open */
.chevron {
  display: inline-block; flex-shrink: 0;
  width: 6px; height: 6px; margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6; transition: transform .2s ease;
}
.main-nav__link .chevron { margin: 0 0 2px 8px; border-width: 0 2px 2px 0; opacity: 1; }
[aria-expanded="true"] > .chevron { transform: rotate(-135deg); margin-bottom: -3px; opacity: 1; }


/* Submissions (outlined) and Contests (filled) */
.header-buttons { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 .75rem; border: 1.5px solid var(--color-coral); border-radius: 4px;
  font-family: var(--font-display); font-size: var(--fs-sm); white-space: nowrap;
  transition: opacity .15s;
}
.header-button--primary { background: var(--color-coral); color: #fff; }
.header-button--primary:hover { opacity: .85; }
.header-button--primary[aria-expanded="true"] { filter: brightness(.92); opacity: 1; }
.header-button--secondary { background: transparent; color: var(--color-coral-text); }
.header-button--secondary:hover { opacity: .7; }
.header-button--secondary[aria-expanded="true"] { background: var(--color-coral-tint); opacity: 1; }

/* Hamburger (phone and tablet) */
.hamburger {
  position: absolute; top: calc((var(--header-h) - 40px) / 2); right: 1rem; z-index: 9995;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--color-coral); transform-origin: center; transition: transform .25s ease, opacity .2s ease, width .2s ease; }
.hamburger[aria-expanded="true"] { position: fixed; }   /* stays reachable over the open drawer */
.hamburger[aria-expanded="true"] span { background: var(--color-ink); box-shadow: 0 1px 0 #fff; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1150px) { .hamburger { display: none; } }
@media (forced-colors: active) {   /* high-contrast modes: keep the logo on its own light background so the black lettering shows */
  .site-header__logo img, .drawer__logo img, .site-footer img[src*="logo"] { forced-color-adjust: none; background: #FFFCF7; border-radius: 6px; }
}


/* ───────── menu.css ───────── */
/* ═══ MENUS ═══
   Desktop: the two big panels ("Read our issues", "Learn from poets") and the small
   Submissions / Contests dropdowns. Phone and tablet: the full-screen drawer.
   These sit outside .site-wrapper, so they set their own fonts. */

/* ── Panels ── */
.menu-panel {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 8000;
  display: none; padding: 24px var(--gutter) 32px; overflow-y: auto;
  background: var(--color-cream); border-bottom: 1.5px solid var(--color-line-strong); box-shadow: 0 8px 32px var(--color-shadow);
  opacity: 0;   /* appears and disappears at once, with the header bar (no fade) */
}
.menu-panel.is-open { display: block; }
.menu-panel.is-visible { opacity: 1; }
.menu-overlay { position: fixed; inset: var(--header-h) 0 0; z-index: 7999; background: var(--color-dim); opacity: 0; cursor: pointer; }   /* starts under the header bar, so the bar never dims */
.menu-overlay.is-visible { opacity: 1; }
@media (max-width: 1149px) { .menu-panel, .menu-overlay { display: none; } }

.menu-panel__inner { display: flex; align-items: stretch; gap: 3rem; }
.menu-panel__main { flex: 1 1 60%; min-width: 0; padding-top: 90px; }
.menu-panel__main > .badge--section { margin-bottom: 18px; }
.menu-panel__divider { flex-shrink: 0; align-self: stretch; width: .5px; background: var(--color-line-strong); }
.menu-panel__aside { flex: 1 1 40%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }

/* Issue rows: "Issue 19 — Pandemonium" */
.menu-issue { display: flex; align-items: baseline; padding: .45rem 0; border-bottom: .5px solid var(--color-line); font-family: var(--font-body); font-size: var(--fs-2xl); transition: opacity .1s; }
.menu-issue:first-of-type { border-top: .5px solid var(--color-line); }
.menu-issue:hover { opacity: .75; }
.menu-issue__num { flex-shrink: 0; font-weight: 600; letter-spacing: .01em; color: var(--color-ink); }
.menu-issue__sep { flex-shrink: 0; margin: 0 6px; color: var(--color-deep); }
.menu-issue__title { font-style: italic; font-weight: 500; line-height: 1.3; color: var(--color-deep); }

/* Orange "Browse all… ➜" links */
.menu-more { display: inline-block; margin-top: 1.1rem; padding: .4rem 0; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; letter-spacing: .01em; color: var(--color-coral-text); }
.menu-more:hover, .menu-more:focus-visible { opacity: .8; }

/* Featured poem mini card (colours from the poem's card theme, see card.css) */
.menu-poem { display: flex; flex-direction: column; margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--radius-card); background: #fff; color: inherit; transition: box-shadow .2s, transform .2s; }
.menu-poem:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .13); transform: translateY(-2px); }
.menu-poem__header { padding: 22px 24px 18px; background: var(--card-head); }
.menu-poem__header .badge { --badge-ink: var(--card-title); --badge-bg: var(--card-badge-bg); margin-bottom: 12px; }
.menu-poem__title { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.25; color: var(--card-title); }
.menu-poem__body { flex: 1; display: flex; flex-direction: column; padding: 18px 24px 20px; }
.menu-poem__excerpt { flex: 1; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, .08); font-family: var(--font-body); font-size: var(--fs-excerpt-sm); line-height: 1.6; color: var(--color-ink); }
.menu-poem__read { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; color: var(--card-ink); }
.menu-poem__arrow { transition: transform .2s; }
.menu-poem:hover .menu-poem__arrow { transform: translateX(4px); }

/* "Open now" call-out box */
.menu-cta { display: block; padding: 20px 24px 22px; border: 1px solid rgba(196, 97, 58, .25); border-radius: var(--radius-card); background: var(--color-peach); color: inherit; font-family: var(--font-body); transition: box-shadow .2s, transform .2s; }
.menu-cta:hover { box-shadow: 0 8px 28px var(--color-shadow); transform: translateY(-2px); }
.menu-cta .badge { margin-bottom: 10px; }
.menu-cta__text { margin: 0 0 16px; font-size: var(--fs-lg); line-height: 1.5; color: var(--color-ink-soft); }
.menu-cta__button { display: inline-block; padding: 9px 22px; border-radius: 6px; background: var(--color-deep); color: #fff; font-family: var(--font-display); font-size: var(--fs-md); white-space: nowrap; transition: opacity .15s; }
.menu-cta__button--coral { background: var(--color-coral); }
.menu-cta:hover .menu-cta__button { opacity: .88; }

/* Learn from poets: Interviews | Marginalia lists, then a Marginalia preview */
.menu-panel__inner--learn { align-items: flex-start; gap: 2.5rem; padding-top: 90px; }
.menu-learn-grid { flex: 2 1 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 2.5rem; }
.menu-learn-grid > .menu-learn { display: grid; grid-row: 1 / span 3; grid-template-rows: subgrid; align-content: start; }
.menu-learn-grid > .menu-panel__divider { grid-row: 1 / -1; width: 1px; }
.menu-panel__aside--learn { flex: 1.2 1 0; justify-content: flex-start; }
.menu-learn > .badge--section { justify-self: start; margin-bottom: 10px; }
.menu-learn__intro { margin: 0 0 .9rem; font-family: var(--font-body); font-size: var(--fs-lg); line-height: 1.4; color: var(--color-ink-muted); }
.menu-learn__row { display: flex; flex-direction: column; gap: 2px; padding: .55rem 0; border-bottom: .5px solid var(--color-line); font-family: var(--font-body); line-height: 1.3; transition: opacity .1s; }
.menu-learn__row:first-child { border-top: .5px solid var(--color-line); }
.menu-learn__row:hover { opacity: .75; }
.menu-learn__poet { font-size: var(--fs-xl); font-weight: 600; color: var(--color-ink); }
.menu-learn__title { font-size: var(--fs-lg); font-style: italic; font-weight: 500; color: var(--color-deep); }

/* About: the About page's opening words | Volunteer and Support us boxes, social links */
.menu-panel__inner--about { padding-top: 90px; }
.menu-about { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.menu-about .menu-about__social { flex-direction: column; align-items: stretch; width: 100%; max-width: 30em; margin-top: 40px; padding: 0; gap: 22px; }   /* social links */
.menu-about__social-line { display: block; height: 1px; background: var(--color-divider); }   /* a divider above the social links */
.menu-about > .badge--section { margin-bottom: 18px; }
.menu-about__stat { max-width: 22em; margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1.35; color: var(--color-ink); text-wrap: balance; }
.menu-about__text { max-width: 34em; margin: 1rem 0 0; font-family: var(--font-body); font-size: var(--fs-lg); line-height: 1.55; color: var(--color-ink-soft); }   /* the paragraph under it (menu.json → aboutPanel.text) */
.menu-about__button { align-self: flex-start; margin-top: 1.4rem; }   /* "Read our story": an orange button, like Volunteer's */
.menu-about__button:hover, .menu-about__button:focus-visible { opacity: .88; }
.menu-panel__aside--about { flex: 1 1 0; justify-content: flex-start; }   /* same width as the left column, so the divider sits in the middle */
.menu-panel__aside--about .menu-cta__text { margin-bottom: 14px; }
.menu-cta--plain { background: none; border-color: transparent; }   /* Support us: same layout as Volunteer, without the box */
.menu-cta--plain:hover { box-shadow: none; transform: none; }
.menu-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 6px 4px 0; font-family: var(--font-body); }
.menu-social__heading { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-muted); }
.menu-social__links { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-social__link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid var(--color-line-strong); border-radius: 999px; font-size: var(--fs-md); font-weight: 600; color: var(--color-deep); transition: background .15s; }
.menu-social__arrow { flex-shrink: 0; }
.menu-social__link:hover { background: rgba(140, 45, 60, .06); }

/* Marginalia preview: a small "Final draft" card */
.menu-mg { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E8E0D4; border-radius: 10px; background: #fff; color: inherit; font-family: var(--font-body); box-shadow: 0 6px 18px rgba(74, 31, 44, .08); transition: transform .22s, box-shadow .22s; }
.menu-mg:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(74, 31, 44, .16); }
.menu-mg__header { padding: 12px 24px; border-bottom: 1px solid #C4D8C4; background: #EEF3EE; font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: #2E5438; }
.menu-mg__body { padding: 24px 24px 28px; }
.menu-mg__meta { margin-bottom: 22px; }
.menu-mg__title { display: block; font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.2; color: var(--color-ink); }
.menu-mg__poet { display: block; margin-top: 8px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: var(--color-deep); }
.menu-mg-bar { height: 10px; margin-bottom: 12px; border-radius: 3px; background: #ECE7DC; }
.menu-mg-bar:last-child { margin-bottom: 0; }
.menu-mg-line { width: fit-content; margin: 16px 0 12px; padding: 0 2px; border-bottom: 2px solid #3D7050; border-radius: 1px; background: rgba(46, 84, 56, .13); font-family: var(--font-mono); font-size: var(--fs-md); line-height: 1.6; color: var(--color-ink); }
@media (prefers-reduced-motion: reduce) { .menu-mg { transition: none; } .menu-mg:hover { transform: none; } }

/* ── Submissions / Contests dropdowns ── */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 9500;
  display: none; width: 340px; padding: 10px;
  background: var(--color-cream); border: 1px solid var(--color-line-strong); border-radius: 10px; box-shadow: 0 10px 28px var(--color-shadow);
  -webkit-font-smoothing: antialiased;
}
.dropdown__menu.is-open { display: block; }
.dropdown__item { display: block; padding: 12px 16px; border-radius: 6px; transition: background .15s; }
.dropdown__item:hover, .dropdown__item:focus-visible { background: rgba(140, 45, 60, .06); outline: none; }
.dropdown__title { display: block; font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.3; color: var(--color-ink); }
.dropdown__item:hover .dropdown__title { color: var(--color-deep); }
.dropdown__text { display: block; margin-top: 2px; font-family: var(--font-body); font-size: var(--fs-sm); line-height: 1.35; color: var(--color-ink-muted); }
.dropdown__all { display: block; margin: 6px 6px 0; padding: 12px 10px 6px; border-top: .5px solid var(--color-line-strong); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; color: var(--color-coral-text); }
.dropdown__all:hover, .dropdown__all:focus-visible { opacity: .8; outline: none; }

/* ── Drawer (phone and tablet) ── */
.drawer {
  position: fixed; inset: 0; z-index: 9990;
  display: none; padding: 1.5rem 2rem 4rem; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--color-cream); opacity: 0; transition: opacity .2s ease;
}
.drawer.is-open { display: block; }
.drawer.is-visible { opacity: 1; }
body.menu-locked { overflow: hidden; }
html { scrollbar-gutter: stable; }   /* locking the page while a menu is open doesn't make it jump sideways where scrollbars take up space */
@media (min-width: 1150px) { .drawer { display: none; } }

.drawer__logo { display: block; width: fit-content; margin: -6px 0 1.5rem calc(var(--gutter) - 2rem); line-height: 0; }   /* sits exactly where the header logo is */
.drawer__logo img { display: block; width: 163px; height: auto; }
@media (min-width: 1150px) {   /* issue pages open the drawer on desktop: match the desktop header logo */
  .drawer__logo { margin-top: -8px; }
  .drawer__logo img { width: 196px; }
}
.drawer__heading {
  margin: 0 -2rem 1.1rem; padding: 11px 2rem;
  border-top: 1px solid rgba(113, 43, 19, .18); border-bottom: 1px solid rgba(113, 43, 19, .18); background: rgba(140, 45, 60, .08);
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(74, 31, 44, .82);
}
.drawer__pills { display: flex; flex-direction: column; gap: 9px; }
.drawer__group--calls { margin-bottom: 2rem; }

.drawer__group { margin-bottom: 2.75rem; }
.drawer__group > .drawer__heading + .menu-issue { border-top: 0; }
.drawer .menu-issue { flex-wrap: wrap; padding: .55rem 0; font-size: var(--fs-xl); }
.drawer .menu-learn { margin-bottom: 2rem; }
.drawer .menu-learn:last-child { margin-bottom: 0; }
.drawer .menu-learn > .badge--section { margin-bottom: 8px; }
.drawer .menu-learn__poet, .drawer .menu-learn__title { font-size: var(--fs-lg); }
.drawer .menu-learn__intro { font-size: var(--fs-md); }
.drawer__link { display: block; padding: .65rem 0; border-bottom: .5px solid var(--color-line); }
.drawer__link .dropdown__text { font-size: var(--fs-md); }
.drawer__link:active .dropdown__title { color: var(--color-deep); }
/* "Volunteer": wavy underline and a heart, like the footer (links with highlight: true in menu.json) */
.drawer__link--heart .dropdown__title { display: inline-flex; align-items: center; gap: 8px; }
.drawer__wavy { text-decoration: underline wavy var(--color-coral) 1.5px; text-underline-offset: 5px; }
.drawer__social { padding: 1.1rem 0 0; }   /* social links (same as the desktop About menu; groups with showSocial: true in menu.json) */
.drawer__heart { flex-shrink: 0; fill: var(--color-coral); }   /* the footer's pink is too faint on cream */
.drawer__button {
  display: flex; align-items: center; justify-content: center; height: 42px; margin-top: 2.5rem;
  border: 1.5px solid var(--color-coral); border-radius: 4px; background: var(--color-coral); color: #fff;
  font-family: var(--font-display); font-size: var(--fs-md); transition: opacity .15s;
}
.drawer__button:hover { opacity: .8; }
.page-issue .drawer__button { display: none; }   /* no Newsletter button in the issue pages' menu */

/* Issue pages on desktop: the same menu, laid out in three columns within the page margins rather than stretched across the screen */
@media (min-width: 1150px) {
  .page-issue .drawer { padding: 1.5rem var(--gutter) 4rem; }
  .page-issue .drawer__logo { margin-left: 0; }
  .page-issue .drawer__groups { columns: 3; column-gap: 56px; }
  .page-issue .drawer__group { break-inside: avoid; margin-bottom: 2.5rem; }
  .page-issue .drawer__heading { margin: 0 0 1rem; padding: 10px 14px; border-radius: 4px; }
  .page-issue .drawer__button { max-width: 320px; margin-top: 1rem; }
}


/* ───────── footer.css ───────── */
/* ═══ FOOTER ═══ */
.site-footer { padding: 80px 0 40px; background: var(--color-ink); color: var(--color-cream); font-family: var(--font-body); }
.site-footer__inner { max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }   /* same margins as the page */
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px; align-items: start; }

.site-footer__intro { display: flex; flex-direction: column; gap: 24px; }
.site-footer__headline { max-width: 340px; margin: 0; font-family: var(--font-display); font-size: var(--fs-4xl); line-height: 1.12; color: var(--color-cream); }
.site-footer__button {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 4px; background: var(--color-peach); color: var(--color-ink);
  font-family: var(--font-display); font-size: var(--fs-md); transition: opacity .15s;
}
.site-footer__button:hover { opacity: .88; }

.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__heading {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(250, 243, 235, .2);
  font-size: var(--fs-md); font-weight: 500; line-height: 20px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-pink);
}
a.site-footer__heading:hover { color: var(--color-peach); }
.site-footer__arrow { font-family: var(--font-display); letter-spacing: 0; line-height: 1; transition: transform .15s; }
a.site-footer__heading:hover .site-footer__arrow { transform: translateX(3px); }
.site-footer__link { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.3; color: var(--color-cream); }
.site-footer__link:hover { color: var(--color-peach); text-decoration: underline; }

/* "Volunteer": pink wavy underline and a heart that beats on hover */
.site-footer__link--heart { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; }
.site-footer__link--heart:hover { text-decoration: none; }
.site-footer__wavy { text-decoration: underline wavy var(--color-pink) 1.5px; text-underline-offset: 5px; }
.site-footer__link--heart:hover .site-footer__wavy { text-decoration-color: var(--color-peach); }
.site-footer__heart { flex-shrink: 0; fill: var(--color-pink); }
.site-footer__link--heart:hover .site-footer__heart { animation: heartbeat .9s ease-in-out 1; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 25% { transform: scale(1.25); } 45% { transform: scale(.95); } 65% { transform: scale(1.15); } }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(250, 243, 235, .2);
}
.site-footer__wordmark { font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--color-cream); }
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: var(--fs-md); color: rgba(250, 243, 235, .75); }
.site-footer__legal:hover { color: var(--color-peach); text-decoration: underline; }
.site-footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }   /* "Cookie settings": reopens the cookie banner */
.site-footer__social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(250, 243, 235, .35); border-radius: 50%; color: var(--color-cream); }
.site-footer__social:hover { background: rgba(250, 243, 235, .1); }
.site-footer a:focus-visible { outline-color: var(--color-peach); }

/* Below 1280px: intro on its own row, links in 4 columns */
@media (max-width: 1279px) {   /* up to small laptops and iPads sideways: the heading on its own row, so it isn't squeezed into four lines */
  .site-footer__top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
  .site-footer__intro { grid-column: 1 / -1; }
  .site-footer__headline { max-width: none; }
}
/* Phone: links in 2 columns */
@media (max-width: 767px) {
  .site-footer { padding: 56px 0 32px; }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .site-footer__headline { font-size: 32px; }
  .site-footer__bottom { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .site-footer__link--heart:hover .site-footer__heart { animation: none; } }


/* ───────── hero.css ───────── */
/* ═══ HOMEPAGE HERO ═══ */
.hero { display: flex; justify-content: space-between; align-items: flex-start; margin-top: -10px; }
.hero__left { flex: 0 0 48%; min-width: 0; padding-top: 35px; }
.hero__covers { flex: 0 0 44%; min-width: 0; padding: 30px 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 8px; align-items: start; }

/* "Poetry is ___": the word in the coloured block changes every couple of seconds (assets/js/hero.js) */
.hero__title {
  margin: 32px 0;
  font-family: var(--font-display); font-size: clamp(22px, 3.5vw, 50px); font-weight: 400;
  line-height: 1.25; color: var(--color-text); white-space: nowrap;
}
.hero__title.is-sizing { visibility: hidden; }   /* until hero.js has fitted it (at most a second): no visible jump in size */
.hero__title.is-sizing ~ .hero__buttons { visibility: hidden; }   /* the buttons too, as they move up when the title shrinks */
.hero__fixed { display: inline; }
.hero__fixed::before, .hero__slot > span::before { content: attr(data-text); }   /* the words are drawn, not text on the page */
.hero__slot {
  position: relative; display: inline-block; vertical-align: top;
  height: 1.25em; margin-left: .2em; overflow: hidden; border-radius: .12em;
  transition: width .5s cubic-bezier(.6, 0, .2, 1), background-color .5s ease;
}
.hero__slot > span {
  position: absolute; left: 0; top: 0; padding: 0 .22em;
  white-space: nowrap; line-height: 1.25em;
  transform: translateY(105%);
  transition: transform .5s cubic-bezier(.6, 0, .2, 1), opacity .5s ease;
}
.hero__slot > span.is-in { transform: none; }
.hero__slot > span.is-out { transform: translateY(-105%); }

/* The three buttons (pill.css): set in from the title and a little lower, slightly taller */
.hero__buttons { display: flex; flex-direction: column; gap: 9px; padding: 27px 6px 0 52px; }
.hero__buttons .pill { padding-top: 14px; padding-bottom: 14px; }
.hero__buttons .pill__text { font-size: calc(clamp(var(--fs-xs), 1.4vw, var(--fs-lg)) + 1px); }   /* the line under each button: 1px bigger than elsewhere */
/* Narrower screens (iPads, small laptops): the buttons line up with "Poetry is" so they have more room */
@media (max-width: 1279px) { .hero__buttons { padding-left: 0; } }

/* Cover collage */
.hero__col { display: flex; flex-direction: column; gap: 8px; }
.hero__col--small { padding-top: 60px; }
.hero__col--large { padding-top: 120px; }
.hero__covers a {
  display: block; border-radius: 4px;
  transform-origin: center bottom;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero__covers a:hover { transform: translateY(-6px) rotate(1.5deg) scale(1.32); box-shadow: 12px 32px 60px rgba(0, 0, 0, .32); }
.hero__covers picture, .hero__covers img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* Phone: title, then covers, then buttons */
@media (max-width: 767px) {
  .hero { flex-direction: column; gap: 10px; }
  .hero__left { display: contents; }
  .hero__title { order: -1; width: 100%; padding-top: 6px; margin-bottom: 15px; font-size: 32px; }
  .hero__fixed { display: block; }
  .hero__slot { display: block; width: 100%; margin: .08em 0 0; }
  .hero__covers { order: 0; flex: none; width: 100%; padding: 0; column-gap: 5px; }
  .hero__col { gap: 5px; }
  .hero__col--small { padding-top: 20px; }
  .hero__col--large { padding-top: 40px; }
  .hero__covers a:hover { transform: none; box-shadow: none; }
  .hero__buttons { order: 1; align-self: stretch; padding: 0; margin: 40px 0 0; }   /* stretch: full width on small iPads too, not just as wide as the text */
  .hero__buttons .pill { padding-top: 12px; padding-bottom: 12px; }
  .hero__buttons .pill__title, .hero__buttons .pill__text { font-size: var(--fs-xl); }
  .hero__buttons .pill__text { line-height: 1.4; }
}
/* "Reduce motion": no changing words; the title is the still sentence ("Title for screen readers" in the CMS) */
@media (prefers-reduced-motion: reduce) {
  .hero__title { white-space: normal; }
  .hero__title .hero__plain { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .hero__fixed, .hero__slot { display: none; }
}


/* ───────── issues.css ───────── */
/* ═══ ISSUE CARDS ═══ cover cards in the homepage carousel and on the Issues page (components/issue-card.njk) */
.issues-carousel { --per-view: 4; --gap: 16px; }
.issues-carousel .carousel__window { padding: 10px 12px 0; }   /* room for the hover lift */
.issue-card__cover {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; padding: 14px; overflow: hidden; border-radius: 10px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.issue-card__cover:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .13); transform: translateY(-2px); }
.issue-card__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.issue-card__cover::after {   /* darkens the bottom so the white text reads */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .05) 65%, transparent 100%);
}
.issue-card__label, .issue-card__title { position: relative; z-index: 1; }
.issue-card__label {
  margin-bottom: 6px;
  font-family: var(--font-body); font-size: var(--fs-md); line-height: normal; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75); text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
}
.issue-card__title {
  font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.25; color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9), 0 1px 4px rgba(0, 0, 0, .8);
}
.issue-card__quote { margin: 8px 0 0; font-family: var(--font-body); font-size: var(--fs-xl); line-height: 1.5; color: #666; }

@media (min-width: 768px) and (max-width: 1024px) { .issues-carousel { --per-view: 3; } }   /* iPads upright: three covers, so titles fit */
@media (max-width: 767px) {
  .issues-carousel { --per-view: 1; }
  .issue-card__quote { display: none; }
}

/* ── The Issues page: every issue in a grid of four (one per row on phones) ── */
.issue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) and (max-width: 1024px) { .issue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* three across on iPads upright */
@media (max-width: 767px) {
  .issue-grid { grid-template-columns: 1fr; }
  .issue-grid .issue-card__quote { display: block; font-size: var(--fs-excerpt); }   /* the homepage carousel hides it on phones */
}


/* ───────── marginalia.css ───────── */
/* ═══ MARGINALIA FEATURE (homepage) ═══
   The card scales with its own width: sizes in cqw are % of the card's width. */

.mg-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(20px, 2.5vw, 32px); align-items: center;
  width: calc(100% - clamp(48px, 7vw, 96px)); max-width: 1080px; margin: 0 auto;
}

/* Left: introduction */
.mg-intro { display: block; border-radius: var(--radius-card); text-align: center; color: inherit; }
.mg-intro:focus-visible { outline-offset: 8px; }
.mg-intro__title { margin: 0 0 24px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.2; color: var(--color-ink); }
.mg-intro__accent { display: inline-block; font-family: var(--font-hand); font-size: 1.35em; font-weight: 700; line-height: .8; color: #C72A09; }
.mg-intro__text { max-width: 480px; margin: 0 auto; font-family: var(--font-body); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; color: var(--color-ink-soft); }

/* Right: carousel of cards */
.mg-carousel { --per-view: 1; --gap: 0px; container-type: inline-size; }
.mg-carousel .carousel__controls { margin-top: 2px; }
.mg-slide { padding: 14px 7% 18px; container-type: inline-size; }   /* card sizes in cqw are % of this width */
/* The card scales with its width, but text never drops below the site's minimums (tokens.css) */

.mg-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 8.2cqw 5.5cqw 5.5cqw; overflow: hidden;
  border: 1px solid rgba(107, 45, 62, .13); border-radius: var(--radius-card);
  background: var(--color-cream); color: inherit; font-family: var(--font-body);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mg-card:hover { transform: translateY(-3px) scale(1.006); border-color: rgba(140, 45, 60, .28); box-shadow: 0 8px 20px var(--color-shadow); }
.mg-card__meta { margin-bottom: 5cqw; }
.mg-card__rule { width: 14%; height: .7cqw; margin-bottom: 3.6cqw; border-radius: .35cqw; background: var(--color-deep); transition: width .22s ease; }
.mg-card:hover .mg-card__rule { width: 22%; }
.mg-card__title, .mg-card__poet, .mg-card__date { display: block; }
.mg-card__title { font-family: var(--font-display); font-size: max(18px, 5.1cqw); line-height: 1.15; color: var(--color-ink); }
.mg-card__poet { margin-top: 2.2cqw; font-size: max(var(--fs-sm), 3.9cqw); font-weight: 700; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; color: var(--color-deep); }
.mg-card__date { margin-top: 1.8cqw; font-size: max(var(--fs-xs), 4.3cqw); line-height: 1.3; color: rgba(74, 31, 44, .72); }

.mg-card__draft {
  display: flex; flex-direction: column; align-self: center; width: 86%; overflow: hidden;
  border: .14cqw solid #E8E0D4; border-radius: 1.67cqw; background: #fff;
  box-shadow: 0 1.3cqw 3.15cqw var(--color-shadow);
}
.mg-card__draft-header {
  padding: 2.4cqw 3.4cqw; border-bottom: .14cqw solid #C4D8C4; background: #EEF3EE;
  font-size: max(12px, 2.5cqw); font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: #2E5438;
}
.mg-card__draft-body { padding: 8.5cqw 7cqw 8cqw 4cqw; }
.mg-card__draft-bar { height: 2.8cqw; margin-bottom: 2.81cqw; border-radius: .7cqw; background: #ECE7DC; }
.mg-card__draft-bar:last-child { margin-bottom: 0; }
.mg-card__draft-bar--stanza, .mg-card__draft-line--stanza { margin-top: 5.61cqw; }
.mg-card__draft-line {
  width: fit-content; margin-bottom: 2.81cqw; padding: .1cqw .19cqw;
  border-bottom: .33cqw solid #3D7050; border-radius: .19cqw; background: rgba(46, 84, 56, .13);
  font-family: var(--font-mono); font-size: max(13px, 3.4cqw); line-height: 1.65; color: var(--color-ink);
}

@media (max-width: 767px) {
  .mg-feature { grid-template-columns: 1fr; width: 100%; }
  .mg-carousel { margin-top: 38px; }
  .mg-intro__title { font-size: 30px; }
  .mg-intro__text { font-size: 19px; }
  .mg-slide { padding-left: 4%; padding-right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .mg-card, .mg-card__rule { transition: none; }
  .mg-card:hover { transform: none; }
}


/* ───────── interviews.css ───────── */
/* ═══ POET INTERVIEWS CAROUSEL (homepage) ═══ */
.iv-carousel { --per-view: 4; --gap: 24px; }
.iv-carousel .carousel__controls { margin-top: 18px; }
.iv-card__image { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: 18px; }
.iv-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.iv-card__title { margin: 0 0 12px; font-family: var(--font-body); font-size: var(--fs-3xl); font-weight: 400; line-height: 1.25; }
.iv-card__excerpt { margin: 0 0 8px; font-family: var(--font-body); font-size: var(--fs-xl); line-height: 1.55; }
/* Homepage carousel: previews cut to three lines with "…" so the cards line up (the text itself is unchanged; /interviews shows it in full) */
.iv-carousel .iv-card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: calc(3 * 1.55em); }
.iv-card__more { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; color: var(--color-coral-text); transition: opacity .15s; }
.iv-card__more:hover { opacity: .8; }   /* the paler orange, like every "… ➜" link */

@media (min-width: 768px) and (max-width: 1024px) { .iv-carousel { --per-view: 2; } }
@media (max-width: 767px) { .iv-carousel { --per-view: 1; } }

/* ═══ INTERVIEWS PAGE (/interviews) ═══  every interview as a card, with its date.
   4 across on desktop, 2 on tablet, 1 on phones. */
.iv-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 50px; row-gap: 56px;
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 768px) and (max-width: 1024px) { .iv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (max-width: 767px) { .iv-grid { grid-template-columns: 1fr; row-gap: 48px; } }
.iv-card--list .iv-card__image { margin-bottom: 10px; }
.iv-card__date { display: block; margin-bottom: 9px; font-size: var(--fs-md); font-weight: 700; }


/* ───────── home.css ───────── */
/* ═══ HOMEPAGE (and /link) ═══
   Sections are separated by --section-gap like every page (page-intro.css); the homepage starts with a rule
   under the header instead of an intro box. */
main > .home-rule { padding-top: 13px; padding-bottom: 12px; }
@media (min-width: 1150px) { main > .home-rule { padding-top: 63px; padding-bottom: 13px; } }
.home-hero { padding-top: 22px; }
@media (min-width: 768px) { .home-hero { padding-top: 28px; } }

/* ── The /link page (src/link.njk) uses the same sections ── */
.cards-grid__all { margin-top: 40px; }
.link-winners--list { display: none; }
@media (max-width: 767px) {
  .link-winners--cards { display: none; }
  .link-winners--list { display: block; }
  main:has(.link-winners--list) > .sec:not(.home-rule) { padding-bottom: 96px; }   /* phones: a little more room between the /link sections */
}


/* ───────── issue.css ───────── */
/* ═══ ISSUE PAGES ═══ (src/issue.njk)
   Cover, title, table of contents, editor's note, one framed card per poem, contributors.
   Each issue sets its frame colour in content/issues/<slug>.yml; the pages and poem cards are white.
   Sizes and spacing match the Squarespace issue pages at each breakpoint. */

.issue {
  /* Text on these pages is sized from one unit: 1.2% of the window's width from 768px up,
     and a fixed 10.8px on phones (Squarespace used the phone's height, which made text
     smaller on shorter phones and when turned sideways). */
  --u: 10.8px;
  --issue-fs-text:  calc(.4 * var(--u) + 1rem);   /* 22.9px at 1440 */
  --issue-fs-large: calc(.7 * var(--u) + 1rem);   /* poet names, signatures, contributor names */
  --issue-fs-h2:    calc(2 * var(--u) + 1rem);
  --issue-fs-h3:    calc(var(--u) + 1rem);
  --head-gap: 34px;       /* "Contributors" → what follows */
  background: #fff;
}
@media (min-width: 768px)  { .issue { --u: 1.2vw; --head-gap: 114px; } }
@media (min-width: 1025px) { .issue { --head-gap: 123px; } }

.issue h2 { margin-top: 0; margin-bottom: 0; font-size: var(--issue-fs-h2); }
.issue :where(p, li) { font-size: var(--issue-fs-text); line-height: 1.6; }
.issue-toc a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.issue-note a, .poem a, .issue-contributors a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }   /* links in the text: burgundy */

/* Text sections share one column: the full width on phones; inset by 3.5% of the content
   width each side from 768px (the editor's note by 4.5%) */
.issue-title, .issue-toc, .issue-note, .issue-contributors { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 768px) {
  .issue-toc, .issue-contributors { padding-left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .035); padding-right: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .035); }
  .issue-note { padding-left: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .045); padding-right: calc(var(--gutter) + (100% - 2 * var(--gutter)) * .045); }
}

/* ── Cover: the whole artwork, edge to edge ── */
.issue-cover { position: relative; }
.issue-cover picture, .issue-cover img { display: block; width: 100%; height: auto; }
.issue-cover__text {            /* Issue One's cover has its title set as text */
  position: absolute; top: max(9%, 64px); right: var(--gutter);
  display: flex; flex-direction: column; align-items: flex-end; gap: .6em;
  color: #fff; text-align: right; text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.issue-cover__title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 1; text-transform: uppercase; }
.issue-cover__sub { font-family: var(--font-body); font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; }

/* ── "Pandemonium | Issue 19", right-aligned under the cover ── */
.issue-title { min-height: 96px; padding-top: 30px; text-align: right; }
.issue-title h1 { margin: 0; font-size: max(19px, calc(14.76px + .6vw)); line-height: 1.2; }
.issue-title__bar { margin: 0 .2em; }
@media (min-width: 768px)  { .issue-title { min-height: 66px; padding-top: 14px; } }
@media (min-width: 1025px) { .issue-title { min-height: 101px; } }

/* ── Table of contents ── */
.issue-toc { padding-top: 26px; padding-bottom: 10px; }
.issue-toc__list { margin: 34px 0 0; padding: 0; list-style: none; }
.issue-toc__list li { margin: 0 0 16px; break-inside: avoid; }
@media (min-width: 768px) {
  .issue-toc { padding-top: 77px; }
  .issue-toc__list { margin-top: 102px; columns: 2; column-gap: 34px; }
}
@media (min-width: 1025px) { .issue-toc { padding-top: 82px; padding-bottom: 36px; } }

/* Phones: the "Table of Contents" and "Editor's Note" headings are a size smaller */
@media (max-width: 767px) { .issue-toc h2, .issue-note h2 { font-size: 28px; } }

/* ── Editor's note ── */
.issue-note { padding-top: 17px; padding-bottom: 40px; }   /* phones: room between the sign-off and the first poem's frame */
.issue-note__thumb {
  display: block; width: clamp(68px, 14vw, 200px); height: auto; aspect-ratio: 1; margin: 0 auto 84px;
  border-radius: 50%; object-fit: cover;
}
@media (max-width: 767px) { .issue-note__thumb { width: 100px; } }   /* phones: a little bigger */
.issue-note h2 { margin-bottom: 34px; }
.issue-note__text p { margin: 0 0 16px; break-inside: avoid; }
.issue-note__text .issue-note__sign { margin: 0; font-size: var(--issue-fs-large); text-align: right; }
@media (min-width: 768px) {
  .issue-note { padding-top: 0; padding-bottom: 85px; }
  .issue-note__text { columns: 2; column-gap: 34px; }
}

/* ── Poems: a white card in the issue's colour frame ── */
.poem { padding: 9vw; background: var(--issue-border); }
.poem__card { padding: max(59.4px, 6.6vw) 6vw; background: #fff; }
.poem__column { margin: 0 auto; padding: 67px 0 17px; }
@media (min-width: 768px) {
  .poem__card { padding-left: 9vw; padding-right: 9vw; }
  .poem__column { width: var(--poem-width, 50%); padding-top: 50px; }
}
/* iPads upright: half the card is too narrow for most lines, so poems use at least three-quarters of it */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { .poem__column { width: max(var(--poem-width, 50%), 75%); } }
.poem__title { margin: 0 0 32px; font-size: var(--issue-fs-h3); }
.poem__poet { margin: 0 0 16px 40px; font-size: var(--issue-fs-large); }
/* The poet's name links to their bio under Contributors, without looking like a link until it's hovered */
.poem .poem__poet-link { color: inherit; text-decoration: none; }
.poem .poem__poet-link:hover { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
/* Phones, iPads and other touch screens have no hover, so the poet's name is burgundy to show it's a link */
@media (max-width: 1024px), (hover: none) {
  .poem .poem__poet-link, .poem .poem__poet-link:hover { color: var(--color-deep); text-decoration: none; }
}
.issue-contributors__person { scroll-margin-top: 24px; }   /* a little space above the bio when the link jumps to it */
.poem__body p { margin: 16px 0; white-space: pre-wrap; }
.poem__body > :first-child { margin-top: 0; }
.poem__rule { height: 1px; margin: 45px 0; border: 0; background: currentColor; }
.poem__number { margin: 0; text-align: center; }

/* Stanzas indented with > or >> (lib/poem.js), and poems set in smaller type */
.poem__body .indent-1 { margin-left: 40px; }
.poem__body .indent-2 { margin-left: 80px; }

/* ── Contributors ── */
.issue-contributors { padding-top: 97px; padding-bottom: 31px; }
.issue-contributors h2 { margin-bottom: var(--head-gap); }
.issue-contributors__team { margin-bottom: var(--head-gap); }
.issue-contributors__team > :last-child { margin-bottom: 0; }
.issue-contributors__name { margin: 0 0 16px; font-size: var(--issue-fs-large); }
.issue-contributors p:not(.issue-contributors__name) { margin: 16px 0; }
.issue-contributors__person { break-inside: avoid; padding-bottom: 1px; }   /* the 1px keeps margins from collapsing across columns */
@media (min-width: 768px) {
  .issue-contributors { padding-top: 80px; }
  .issue-contributors__list { columns: 2; column-gap: 34px; }
}
@media (min-width: 1025px) { .issue-contributors { padding-top: 98px; padding-bottom: 48px; } }

/* ── Logo above the footer ── */
.issue-logo { display: flex; justify-content: center; padding: 24px 0; }
.issue-logo img { display: block; width: 134px; height: auto; }
@media (min-width: 768px)  { .issue-logo { padding: 10px 0 11px; } }
@media (min-width: 1025px) { .issue-logo { padding: 32px 0 46px; } }

/* ── Draft issues (preview site only) ── */
.draft-banner {
  position: sticky; top: 0; z-index: 9000; margin: 0; padding: 8px 64px;   /* 64px: clear of the menu button */
  background: var(--color-ink); color: #fff; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; text-align: center;
}

/* Mistakes in the issue file (preview site only; the live site won't update until they're fixed) */
.issue-problems { margin: 0; padding: 16px var(--gutter); background: #FDE8D8; color: #7A3010; font-family: var(--font-body); font-size: var(--fs-md); }
.issue-problems p { margin: 0 0 6px; }
.issue-problems ul { margin: 0; padding-left: 1.2em; }
.issue-problems li::first-letter { text-transform: uppercase; }

/* ── Header on issue pages: no logo bar, just the menu button over the cover, at every width ── */
.page-issue .site-header { display: none; }
.page-issue .hamburger { display: flex; top: 15px; }
.page-issue .hamburger:not([aria-expanded="true"]) span { height: 3px; background: var(--color-menu-red); box-shadow: 0 1px 0 #fff; }   /* burgundy bars with a white underline (as on the old site); light covers get the reverse */
.page-issue.menu-light .hamburger:not([aria-expanded="true"]) span { background: #fff; box-shadow: 0 1px 0 var(--color-menu-red); }
.page-issue .drawer.is-open { display: block; }   /* the drawer is the menu on desktop too */
@media (min-width: 768px) { .page-issue .hamburger { top: 35px; } }
.issue-note, .issue-contributors { overflow-wrap: anywhere; }   /* long web addresses in bios wrap on small screens */
.poem__title { overflow-wrap: anywhere; }   /* titles with no spaces, e.g. putting\\enmity\\between */


/* ───────── interview.css ───────── */
/* ═══ INTERVIEW PAGES ═══  /interviews/<slug>. Sizes follow Squarespace's text unit, like the issue
   pages: --u is 1.2% of the screen width from tablet up, and a fixed 10.8px on phones. */
.interview {
  --u: 10.8px;
  --iv-fs-text:  calc(.4 * var(--u) + 1rem);   /* answers: 22.9px at 1440 */
  --iv-fs-small: calc(.2 * var(--u) + 1rem);   /* bio, closing line: 19.5px at 1440 */
  padding-top: 77px;
}
@media (min-width: 768px) { .interview { --u: 1.2vw; padding-top: 84px; } }   /* iPads: clear of the clementines under the logo */
@media (min-width: 1150px) { .interview { padding-top: 133px; } }   /* below the desktop header */
.interview > * { max-width: 92%; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .interview > * { max-width: none; } }

.interview__label {
  display: inline-block; margin-bottom: 19px;
  font-size: var(--fs-md); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--color-text); text-decoration: none;
}
.interview__label:hover { text-decoration: underline; }
.interview__title {
  margin: 0; font-family: var(--font-body); font-weight: 700; line-height: .9;
  font-size: 44.8px; color: var(--color-text);
}
@media (min-width: 768px) {
  .interview__label { margin-bottom: 31px; }
  .interview__title { font-size: calc(2.5 * var(--u) + 1rem); }   /* 59.2px at 1440 */
}

.interview__portrait { display: block; width: 100%; height: auto; margin-top: 90px; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 768px) { .interview__portrait { width: calc(25vw - 21px); margin-top: 74px; } }   /* 339px at 1440 */

.interview__bio { margin-top: 34px; text-align: center; font-size: var(--iv-fs-small); line-height: 1.6; }
@media (min-width: 768px) { .interview__bio { max-width: 52.5%; margin-top: 17px; } }
.interview__bio p { margin: 0 0 16px; font-size: inherit; line-height: inherit; }

.interview__qa { margin-top: 100px; font-size: var(--iv-fs-text); line-height: 1.6; }
.interview__qa h2 {
  margin: 32px 0 31px; font-family: var(--font-display); font-size: 22.4px; font-weight: 400; line-height: 1.1;
}
.interview__qa h2:first-child { margin-top: 0; }
@media (max-width: 767px) { .interview__qa h2 { font-size: 20px; } }   /* phones: questions a touch smaller */
.interview__qa p { margin: 0 0 17px; font-size: inherit; line-height: inherit; }
.interview__qa a, .interview__bio a, .interview__poem a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

.interview__poem { margin-top: 69px; text-align: center; font-size: var(--iv-fs-small); line-height: 1.6; }
.interview__poem p { margin: 0; font-size: inherit; line-height: inherit; }

/* Newer and older interviews, under the interview */
.interview-nav {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding-top: 90px; padding-bottom: var(--section-gap);
}
.interview-nav__link {
  display: flex; align-items: center; gap: 18px; max-width: 45%;
  font-family: var(--font-body); font-size: 22.4px; font-weight: 700; line-height: 1; letter-spacing: .01em;
  color: var(--color-text); text-decoration: none;
}
.interview-nav__link:hover > span:not(.interview-nav__arrow) { text-decoration: underline; }
.interview-nav__link--older { margin-left: auto; text-align: right; }
.interview-nav__arrow { font-size: 44px; font-weight: 400; line-height: .6; }
@media (max-width: 767px) {
  .interview-nav { padding-top: 64px; gap: 24px; }
  .interview-nav__link { font-size: var(--fs-lg); line-height: 1.2; gap: 10px; }
}
.interview__title { overflow-wrap: break-word; }   /* a long word wraps rather than widen a small phone screen */
.interview__qa, .interview__bio, .interview__poem { overflow-wrap: anywhere; }   /* long web addresses too */


/* ───────── page-intro.css ───────── */
/* ═══ PAGE INTRO ═══  the cream box at the top of a page: badge, heading, a short intro.
   Edge to edge on phones. (Issues page; other list pages will share it.) */

.page-intro {
  padding: 72px 56px 56px; border-radius: var(--radius-card);
  background: var(--color-cream); color: var(--color-ink-muted);
}
@media (min-width: 1150px) { .page-intro { padding-top: 90px; } }   /* desktop: clear of the clementines hanging from the logo */
/* The page's main heading (h1): small capitals with a line running to the right, as on the About page */
.page-intro__badge {
  display: flex; align-items: center; gap: 20px; margin: 0 0 28px;
  font-family: var(--font-display); font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--color-label);   /* plum at 70%: soft, and still 4.8:1 on the cream boxes */
}
.winner .page-intro__badge { color: rgba(74, 31, 44, .8); }   /* plum at 80% on the peach winner pages (5.9:1), where 70% would be only just enough */
@media (min-width: 1150px) { .winner .page-intro__badge { margin-bottom: 40px; } }   /* desktop: more room above the poem title */
.page-intro__badge::after { content: ""; flex: 1 0 32px; height: 1px; background: var(--color-divider); }
@media (max-width: 767px) {
  .page-intro__badge { font-size: 15px; line-height: 1.4; }
  .page-intro__badge--long { display: block; }   /* over 8 characters: no line, so the words have the full width */
  .page-intro__badge--long::after { display: none; }
}
/* Phones and iPads (where the menu links are hidden): the heading is a pink badge again, as the menu labels are on desktop.
   About keeps its own style (about.css). */
@media (max-width: 1149px) {
  .page-intro__badge, .page-intro__badge--long {
    display: inline-block; max-width: 100%; padding: 6px 9px; border-radius: 2px;
    background: var(--color-badge-bg); color: var(--color-deep);
    font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; letter-spacing: .12em;   /* same height as the menu labels; wraps neatly on phones */
  }
  .page-intro__badge::after { display: none; }
  /* Winner pages keep the desktop style, a size smaller: brown capitals with the line (no line on phones when long) */
  .winner .page-intro__badge {
    display: flex; padding: 0; border-radius: 0; background: none; color: rgba(74, 31, 44, .8);
    font-family: var(--font-display); font-size: 15px; font-weight: 400; line-height: 1.4; letter-spacing: 1.6px;
    margin-bottom: 24px;
  }
  .winner .page-intro__badge::after { display: block; }
}
@media (max-width: 767px) {
  .winner .page-intro__badge { font-size: 13px; margin-bottom: 18px; }
  .winner .page-intro__badge--long { display: block; }
  .winner .page-intro__badge--long::after { display: none; }
}
.page-intro__title {
  margin: 0 0 20px;
  font-family: var(--font-display); font-size: calc(1.9 * var(--fs-body)); font-weight: 400; line-height: 1.1;
  color: var(--color-ink);
}
.page-intro__text p { margin: 0; font-size: var(--fs-2xl); line-height: 1.7; }
.page-intro__text a { font-weight: 700; color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.page-intro__text a:hover { text-decoration-thickness: 2px; }

@media (max-width: 767px) {
  .page-intro { margin: 0 calc(-1 * var(--gutter)); padding: 60px 28px 36px; border-radius: 0; }
  .page-intro__text p { font-size: var(--fs-excerpt-sm); }
  .page-intro__title { font-size: 28px; }   /* phones: a little smaller, so long titles take fewer lines */
}

/* ── Page not found ── */
main > .not-found { padding-top: 90px; padding-bottom: 59px; text-align: center; }
.not-found__picture { display: block; width: 226px; height: auto; margin: 0 auto 34px; }
.not-found__text { margin: 0; font-size: var(--fs-body); }
@media (min-width: 1150px) {
  main > .not-found { padding-top: 125px; padding-bottom: 65px; }
  .not-found__picture { width: 233px; }
}


/* ───────── callout.css ───────── */
/* ═══ CALLOUT ═══  the peach box with a label, a title, a line of text and a button, at the bottom
   of some pages ("Want to see your own revision process published?", "Could your poem be next?").
   Markup: components/callout.njk. Colour variants set the label and button colours. */

.callout {
  --callout-label: var(--color-deep); --callout-label-bg: var(--color-badge-bg); --callout-button: var(--color-deep);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; padding: 36px 40px; border: 1px solid rgba(196, 97, 58, .25); border-radius: var(--radius-card); background: var(--color-peach);
  transition: box-shadow .2s, transform .2s;
}
.callout--contest { --callout-button: var(--color-coral); border-color: rgba(196, 97, 58, .2); }
.callout p { margin: 0; }
.callout__label {
  display: inline-block; margin-bottom: 10px !important; padding: 1px 9px; border-radius: 2px; background: var(--callout-label-bg);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; line-height: 30px; letter-spacing: .12em; text-transform: uppercase; color: var(--callout-label);   /* same as .badge */
}
.callout__title { margin-bottom: 6px !important; font-family: var(--font-display); font-size: 28px; line-height: 1.2; color: var(--color-ink); }
.callout__text { max-width: 580px; font-size: 20px; line-height: 1.6; color: var(--color-ink-soft); }
.callout__button {
  flex-shrink: 0; padding: 10px 26px; border-radius: 6px; background: var(--callout-button);
  font-family: var(--font-display); font-size: 17px; white-space: nowrap; color: #fff; text-decoration: none; transition: opacity .15s;
}
.callout__button:hover { opacity: .88; }
.callout__button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole box is clickable, like the cards */
/* Desktop: the box lifts on hover, like the contest and submission cards */
@media (hover: hover) and (min-width: 1150px) {
  .callout:hover { box-shadow: 0 8px 28px rgba(107, 45, 62, .12); transform: translateY(-2px); }
  .callout:hover .callout__button { opacity: .88; }
}
@media (max-width: 767px) {
  .callout { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
}


/* ───────── marginalia-pages.css ───────── */
/* ═══ MARGINALIA PAGES ═══  /marginalia and each piece (/marginalia/<slug>).
   The cards are in marginalia.css; the intro box builds on page-intro.css.
   Colours: ochre for the first draft, pine for the final draft. */

.mg-piece { --mg-ochre: #C8920A; --mg-ochre-ink: #7A5820; --mg-pine: #3D7050; --mg-pine-ink: #2E5438; --mg-line: #E8E0D4; }

/* ── Intro box: badge, definition, then the heading ── */
.mg-head .mg-head__badge { margin-bottom: 18px; }
.mg-head__definition { margin: 0 0 26px; font-size: 22px; font-weight: 700; font-style: italic; line-height: 1.5; color: var(--color-deep); }
.mg-head__ipa { display: block; margin-bottom: 6px; font-style: normal; }
.mg-head__divider { height: 1px; margin-bottom: 26px; background: rgba(74, 31, 44, .18); }
.mg-head .page-intro__title { font-size: calc(1.8 * var(--fs-body)); }
.mg-head__question { margin-bottom: 22px; line-height: 1.2; }
.mg-head__accent { font-family: var(--font-hand); font-size: 1.35em; font-weight: 700; line-height: .8; color: #C72A09; }
.mg-head__title { margin-bottom: 16px; }
.mg-head__poet { margin: 0 0 28px; font-size: 22px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--color-deep); }
.mg-head__intro p { font-size: 23px; color: rgba(74, 31, 44, .85); }
.mg-head__intro p + p { margin-top: 20px; }
.mg-head__intro a { font-weight: 400; color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
@media (max-width: 767px) {
  .mg-head .page-intro__title { font-size: calc(1.5 * var(--fs-body)); }
  .mg-head__definition { font-size: 17px; }
  .mg-head__intro p { font-size: 19px; }
}

/* ── The Marginalia page: grid of cards, two across (one on phones) ── */
.mg-series .callout { margin-top: var(--section-gap); }
.mg-series .section-heading { margin-bottom: 40px; }
.mg-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 50px;
  margin: 0; padding: 0 28px; list-style: none;
}
.mg-grid__item { display: grid; }
.mg-grid__frame { display: grid; width: 85%; container-type: inline-size; }   /* card sizes in cqw are % of this width */
.mg-grid__item:nth-child(odd) .mg-grid__frame { margin-left: auto; }
.mg-grid__item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - 50px) / 2); }
.mg-grid__item:last-child:nth-child(odd) .mg-grid__frame { margin: 0 auto; }
/* iPads and small laptops: the two cards fill the width, edge to edge with the heading's lines */
@media (min-width: 768px) and (max-width: 1149px) {
  .mg-grid { gap: 32px; padding: 0; }
  .mg-grid__frame, .mg-grid__item:nth-child(odd) .mg-grid__frame { width: 100%; margin: 0; }
  .mg-grid__item:last-child:nth-child(odd) { width: calc((100% - 32px) / 2); }
}
@media (max-width: 767px) {
  .mg-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 40px; padding: 0; }
  .mg-grid__frame, .mg-grid__item:nth-child(odd) .mg-grid__frame { width: 100%; margin: 0; }
  .mg-grid__item:last-child:nth-child(odd) { width: 100%; }
}

/* ══ A piece ══ */
.mg-piece { padding-bottom: 114px; }
.mg-piece__hint { margin: 0 0 1rem; font-size: 20px; font-style: italic; color: rgba(74, 31, 44, .72); }
@media (min-width: 1150px) { .mg-piece__hint { display: none; } }

/* The two drafts, each in a bordered box with a tinted heading */
.mg-draft { margin-right: 200px; border: 1px solid var(--mg-line); border-radius: 8px; }
.mg-draft + .mg-draft { margin-top: 40px; }
.mg-draft__heading {
  margin: 0; padding: 15px 18px; border-radius: 7px 7px 0 0;
  font-family: var(--font-display); font-size: 15px; font-weight: 400; line-height: 1; letter-spacing: .1em; text-transform: uppercase;
}
.mg-draft--first .mg-draft__heading { border-bottom: .5px solid #F0DDB0; background: #FDF5E6; color: var(--mg-ochre-ink); }
.mg-draft--final .mg-draft__heading { border-bottom: .5px solid #C4D8C4; background: #EEF3EE; color: var(--mg-pine-ink); }
.mg-draft__body { padding: 40px 180px 52px 48px; border-radius: 0 0 8px 8px; background: #fff; }
.mg-draft__poem-col { position: relative; }
/* Below 1150px the notes open under the passage when it's tapped (as on phones), so no room is kept for them beside the poem */
@media (max-width: 1149px) {
  .mg-draft { margin-right: 0; }
  .mg-draft__body { padding-right: 48px; }
}
.mg-draft__title, .mg-draft__poem { font-family: var(--font-mono); line-height: 2.1; color: var(--color-ink); }
.mg-draft__title { margin: 0; font-size: 22px; font-weight: 700; }
.mg-draft__poem { padding-right: min(140px, 18%); font-size: 18px; white-space: pre-wrap; }

/* Highlighted passages */
.mg-highlight { position: relative; border-radius: 2px; cursor: default; transition: background .15s; }
.mg-highlight:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.mg-highlight[data-section="first"] { border-bottom: 2px solid var(--mg-ochre); background: rgba(180, 130, 20, .15); }
.mg-highlight[data-section="first"]:is(.active, .note-hovered) { background: rgba(180, 130, 20, .38); }
.mg-highlight[data-section="final"] { border-bottom: 2px solid var(--mg-pine); background: rgba(46, 84, 56, .12); }
.mg-highlight[data-section="final"]:is(.active, .note-hovered) { background: rgba(46, 84, 56, .28); }

/* The notes: in the margin on larger screens, under the passage when it's tapped on phones */
.mg-note, .mg-tooltip {
  padding: 1.1rem 1.2rem; border-radius: 0 6px 6px 0;
  font-family: var(--font-body); line-height: 1.65; white-space: normal; text-transform: none; letter-spacing: 0;
}
.mg-note__label, .mg-tooltip-label { display: block; margin-bottom: 7px; font-size: 16px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mg-draft--first :is(.mg-note, .mg-tooltip) { border: .5px solid rgba(180, 130, 20, .4); border-left: 2px solid var(--mg-ochre); background: #FFFBF0; color: rgba(74, 55, 10, .85); }
.mg-draft--final :is(.mg-note, .mg-tooltip) { border: .5px solid rgba(46, 84, 56, .35); border-left: 2px solid var(--mg-pine); background: #F2F8F2; color: rgba(20, 50, 30, .85); }
.mg-draft--first :is(.mg-note__label, .mg-tooltip-label) { color: #8F6600; }   /* a deeper ochre, readable as small text */
.mg-draft--final :is(.mg-note__label, .mg-tooltip-label) { color: var(--mg-pine); }

.mg-tooltip { display: block; position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; width: 300px; font-size: 20px; }
/* Hidden from view (but read out by screen readers, right after the passage) until it's tapped open on a phone;
   on larger screens the same note shows in the margin instead */
.mg-highlight:not(.active) .mg-tooltip, .mg-tooltip { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; }
.mg-draft__margin { display: none; }
.mg-connectors { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

@media (min-width: 1150px) {
  .mg-draft__margin { display: block; position: absolute; top: 0; left: 100%; width: 370px; transition: opacity .15s; }
  .mg-draft__margin:not(.is-placed) { opacity: 0; }
  .mg-note { position: absolute; width: 100%; font-size: 21px; }
}
@media (max-width: 767px) {
  .mg-piece .blk { --edge: calc(16px - var(--gutter)); }   /* 16px from the screen's edges, as on Squarespace */
  .mg-draft, .mg-piece__hint { margin-left: var(--edge); margin-right: var(--edge); }
  .mg-draft__body { padding: 28px 18px 40px; }
  .mg-draft__heading { font-size: 13px; padding: 15px 16px; }
  .mg-draft__title { font-size: 21px; }
  .mg-draft__poem { font-size: 17px; }
}
/* Phones, iPads and small laptops: a tapped passage opens its note underneath, as wide as the draft's box */
@media (max-width: 1149px) {
  .mg-draft__poem { padding-right: 0; }
  .mg-highlight.active .mg-tooltip {
    display: block; clip-path: none; height: auto; overflow: visible; padding: 1.1rem 1.2rem;
    border-width: .5px .5px .5px 2px; border-style: solid;
    left: calc(0px - var(--mg-highlight-left, 0px)); z-index: 1000;
    width: var(--mg-box-width, calc(100vw - 32px)); box-shadow: 0 8px 28px rgba(74, 31, 44, .14);
  }
  .mg-connectors { display: none; }
}

/* Questions and answers, then the poet's bio */
.mg-craft { margin: 93px 200px 0 24px; padding-top: 48px; border-top: 1px solid var(--mg-line); }
.mg-craft__section + .mg-craft__section { margin-top: 52px; }
.mg-pill {
  display: inline-block; margin: 0 0 22px; padding: 8px 10px; border-radius: 2px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
}
.mg-pill--burgundy { background: var(--color-badge-bg); color: var(--color-deep); }
.mg-pill--ochre { margin-bottom: 12px; background: rgba(200, 146, 10, .15); color: var(--mg-ochre-ink); }
.mg-pill--pine { margin-bottom: 12px; background: rgba(61, 112, 80, .12); color: var(--mg-pine-ink); }
.mg-qa + .mg-qa { margin-top: 36px; }
.mg-qa__question { margin: 0 0 16px; font-family: var(--font-body); font-size: 26px; font-weight: 700; line-height: 1.4; color: var(--color-ink); }
.mg-qa__answer { padding-left: 21px; border-left: 3px solid; font-size: 23px; line-height: 1.75; color: rgba(74, 31, 44, .9); }
.mg-qa__answer--ochre { border-color: var(--mg-ochre); }
.mg-qa__answer--pine { border-color: var(--mg-pine); }
.mg-qa__answer p { margin: 0 0 1.2em; font-size: inherit; line-height: inherit; }
.mg-qa__answer p:last-child { margin-bottom: 0; }
.mg-bio { margin-top: 8px; padding: 32px 36px; border-radius: 8px; background: var(--color-cream); }
.mg-bio__name { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-deep); }
.mg-bio__text p { margin: 0; font-size: 23px; line-height: 1.7; color: rgba(74, 31, 44, .86); }
.mg-bio__text p + p { margin-top: 1em; }
.mg-piece .callout { margin: var(--section-gap) 24px 0; }
@media (max-width: 767px) {
  .mg-craft { margin: 40px var(--edge) 0; }
  .mg-piece .callout { margin: 40px var(--edge) 0; }
  .mg-bio { padding: 24px 20px; }
}
.mg-bio__text a, .mg-qa a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }   /* links in the text: burgundy */


/* ───────── contests.css ───────── */
/* ═══ CONTESTS ═══  the contest pages, the list of winners and each winner's page. */

/* ── A winner's page: coloured header, then the poem beside the judges' note and the shortlist ── */
.winner .winner__head { padding: 56px 56px 48px; border-radius: var(--radius-card) var(--radius-card) 0 0; background: #F2D5C4; }
@media (min-width: 768px) and (max-width: 1149px) { .winner .winner__head { padding-top: 72px; } }   /* iPads: a little more room under the logo */
@media (min-width: 1150px) { .winner .winner__head { padding-top: 88px; } }   /* desktop: clear of the clementines hanging from the logo */
@media (max-width: 767px) {   /* phones: "Contest Winner" as a badge above the month (winner.njk) */
  .winner__h1-text { display: table; }
  .winner__h1-hide { display: none; }
  .winner__tag { display: table-caption; caption-side: top; padding-bottom: 14px; text-align: left; }
  .winner__tag-badge {
    display: inline-block; padding: 1px 9px; border-radius: 2px; background: var(--color-badge-bg); color: var(--color-deep); white-space: nowrap;
    font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; line-height: 30px; letter-spacing: .12em;
  }
}
.winner__title { margin: 0 0 12px; font-family: var(--font-display); font-size: calc(33.1px + .88vw); font-weight: 400; line-height: 1.1; color: var(--color-ink); }   /* as on the old site: 46px at 1440 wide, 37px on phones */
.winner__poem-title { display: none; }   /* the title again above the poem: tablets and phones, see below */
.winner__poet { margin: 0; font-size: 26px; line-height: 1.3; color: rgba(74, 31, 44, .7); }
.winner__body {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 24px; align-items: start;
  padding: 48px 56px 56px; border-radius: 0 0 var(--radius-card) var(--radius-card); background: var(--color-cream); color: var(--color-ink);
}
.winner__poem-col { grid-column: 1; grid-row: 1 / span 3; }
.winner__side { grid-column: 2; padding: 1.5rem; border: .5px solid rgba(74, 31, 44, .15); border-radius: 10px; background: var(--color-page); }
.winner__label { margin: 0 0 14px; font-family: var(--font-body); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--color-deep); }
.winner__poem { margin-bottom: 48px; }
.winner__poem p { margin: 0 0 1.2em; font-size: 22px; line-height: 2; white-space: pre-wrap; }
.winner__epigraph--narrow { display: none; }
.winner__about { padding-top: 36px; border-top: 1px solid rgba(74, 31, 44, .12); }
.winner__about p { margin: 0; font-size: 22px; line-height: 1.7; }
.winner__about p + p { margin-top: 1em; }
.winner__note { margin: 0; padding-left: 14px; border-left: 2px solid var(--color-deep); font-size: 21px; font-style: italic; line-height: 1.75; }
.winner__shortlist { margin: 0; padding: 0; list-style: none; }
.winner__shortlist li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: .5px solid rgba(74, 31, 44, .1); }
.winner__shortlist li:first-child { padding-top: 0; }
.winner__shortlist li:last-child { padding-bottom: 0; border-bottom: 0; }
.winner__shortlist-title { margin-bottom: 3px; font-size: 22px; font-weight: 450; line-height: 1.6; }
.winner__shortlist-poet { font-size: 20px; line-height: 1.6; color: rgba(74, 31, 44, .72); }
.winner__next { max-width: 1027px; margin: var(--section-gap) auto 0; }

/* Tablets and phones: the judges' note first, then the poem, then the shortlist */
@media (max-width: 1024px) {
  .winner__body { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .winner__side--note { order: 1; }
  .winner__poem-col { order: 2; }
  .winner__side--shortlist { order: 3; }
  .winner__note { padding-left: 0; border-left: 0; }
  .winner__poem { margin-bottom: 0; }
  .winner__poem-title { display: block; margin: 0 0 24px; font-family: var(--font-display); font-size: 28px; line-height: 1.2; color: var(--color-ink); }   /* the note comes first here, so the poem gets its title back */
}
@media (max-width: 767px) {
  .winner .winner__head, .winner__body { margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .winner .winner__head { padding: 64px 28px 56px; }
  .winner__poet { font-size: 22px; }
  .winner__body { padding: 36px 28px 44px; }
  .winner__poem p { font-size: 22px; line-height: 1.8; }   /* phones: the same size as on larger screens */
  .winner__epigraph--wide { display: none; }
  .winner__epigraph--narrow { display: block; white-space: normal !important; }
  .winner__epigraph--narrow span { display: block; }
  .winner__epigraph--narrow span:nth-child(2) { padding-left: 2.5rem; }
  .winner__epigraph--narrow span:nth-child(n+3) { padding-left: 5rem; }
}

/* ══ The contest pages ══ */
.contest-narrow { width: 85%; margin: 0 auto; }
@media (max-width: 1024px) {   /* phones and tablets: full width, so the cards aren't squeezed */
  .contest-narrow { width: auto; }
}

/* Facts under the intro (prize, deadline…): a row with thin dividers; a list on phones */
.contest-hero__facts { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0 0; padding-top: 20px; border-top: .5px solid rgba(74, 31, 44, .2); }
.contest-hero__facts > div { display: flex; flex-direction: column; }
.contest-hero__facts > div + div { padding-left: 16px; border-left: .5px solid rgba(74, 31, 44, .2); }
.contest-hero__facts dt { font-size: 16px; letter-spacing: .07em; text-transform: uppercase; color: var(--color-label); }
.contest-hero__facts dd { margin: 0; font-family: var(--font-display); font-size: 17px; color: var(--color-ink); }
@media (max-width: 767px) {
  .contest-hero__facts { flex-direction: column; gap: 14px; }
  .contest-hero__facts > div + div { padding: 14px 0 0; border-left: 0; border-top: .5px solid rgba(74, 31, 44, .2); }
}

/* The two contest cards */
.contest-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 49px; }
.contest-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgba(107, 45, 62, .15); border-radius: var(--radius-card); background: #fff; color: var(--color-ink); text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.contest-card:hover { box-shadow: 0 8px 28px rgba(107, 45, 62, .12); transform: translateY(-2px); }
.contest-card__head { padding: 36px 34px 32px; }
.contest-card__head { background: #5d1c2b; }   /* one deep red for every contest and submission card */
/* "Open now": pink with plum text, in the same proportions as the menu labels (header.css); "Closed" fades back */
.contest-card__status, .contest-rules__status {
  display: inline-block; margin-bottom: 18px; padding: .4em .67em; border-radius: 2px; background: rgba(244, 184, 168, .9);
  font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: #4A1F2C;
}
.contest-card__status--closed, .contest-rules__status--closed { background: rgba(243, 230, 218, .12); color: rgba(243, 230, 218, .75); }
.contest-card__name { margin: 0 0 10px; font-family: var(--font-display); font-size: 33px; font-weight: 400; line-height: 1.15; color: #F3E6DA; }
.contest-cards--contests .contest-card__name { font-size: 30px; }   /* the contest names on /international-poetry-competition: a touch smaller */
.contest-card__kind { margin: 0; font-size: 19px; letter-spacing: .04em; color: rgba(243, 230, 218, .78); }
.contest-card__body { display: flex; flex-direction: column; padding: 30px 34px 34px; }
.contest-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 26px; }
.contest-card__facts dt { margin-bottom: 5px; font-size: 16.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-label); }
.contest-card__facts dd { margin: 0; font-family: var(--font-display); font-size: 18px; }
.contest-card__facts .contest-card__prize { font-size: 26px; color: var(--color-deep); }
.contest-card__text { margin: 0 0 26px; padding-top: 22px; border-top: 1px solid rgba(107, 45, 62, .15); font-size: 20px; line-height: 1.7; color: var(--color-muted); }
/* the link sits at the bottom of the card, level with the one beside it */
.contest-card__more { margin-top: auto; align-self: flex-start; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--color-coral-text); transition: opacity .15s; }
.contest-card:hover .contest-card__more { opacity: .8; }
@media (max-width: 767px) { .contest-cards { grid-template-columns: 1fr; } }
.contest-cards > .contest-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; }   /* coloured heads line up, as in card.css; text wraps inside the card */
/* A card on its own row under the others (Essays on /poetry-submissions): same size as them, centred */
.contest-cards > .contest-card--below { grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto 1fr; justify-self: center; width: calc((100% - 49px) / 2); }
@media (max-width: 767px) { .contest-cards > .contest-card--below { width: 100%; } }
/* iPads upright: the two cards are narrow, so a little less padding and smaller type keep long words inside */
@media (min-width: 768px) and (max-width: 1024px) {
  .contest-card__head { padding: 28px 24px 26px; }
  .contest-card__body { padding: 24px 24px 28px; }
  .contest-card__name { font-size: 27px; }
  .contest-cards--contests .contest-card__name { font-size: 25px; }
  .contest-card__facts { gap: 18px 14px; }
  .contest-card__facts dt { font-size: 15px; letter-spacing: .05em; }
}

/* Rules beside the entry form */
.contest-entry { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 33px; align-items: start; }
.contest-entry--form-only { grid-template-columns: 1fr; }
/* Phones: entry pages (monthly contest, Canto Prize, submission calls) are long single columns, so their sections get more room */
@media (max-width: 767px) {
  main:has(.contest-entry) > .sec { padding-bottom: 104px; }
  main:has(.contest-entry) > .page-top { padding-bottom: 56px; }
  .contest-entry { row-gap: 56px; }
}
.contest-rules { overflow: hidden; border: .5px solid rgba(90, 42, 54, .15); border-radius: var(--radius-card); background: #fff; }
.contest-rules__head { padding: 22px 26px 20px; background: #5d1c2b; }
.contest-rules__status { margin-bottom: 0; font-size: 13px; font-weight: 500; }
.contest-rules__head h2 { margin: 17px 0 0; font-family: var(--font-display); font-size: 23px; font-weight: 400; line-height: 1.2; color: #F3E6DA; }
.contest-rules__head p { margin: 6px 0 0; font-size: 20px; line-height: 1.5; color: rgba(243, 230, 218, .78); }
.contest-rules__list { margin: 0; padding: 0; list-style: none; }
.contest-rules__item { padding: 15px 22px; border-bottom: .5px solid rgba(90, 42, 54, .13); }
.contest-rules__item:last-child { border-bottom: 0; }
.contest-rules__label { display: flex; align-items: center; gap: 12px; margin: 0 0 5px; line-height: 1.152; font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--color-label); }
.contest-rules__label svg { box-sizing: content-box; width: 13px; height: 13px; padding: 6.5px; border-radius: 50%; background: rgba(244, 184, 168, .4); color: #5d1c2b; flex-shrink: 0; }   /* pink and deep red, as on the cards */
.contest-rules__text { margin: 0; padding-left: 38px; font-size: 20px; line-height: 1.5; color: var(--color-ink); }
.contest-rules__text p { margin: 0; font-size: inherit; line-height: inherit; }
.tally { display: block; width: 100%; border: 0; }
@media (max-width: 1024px) { .contest-entry { grid-template-columns: 1fr; } }   /* phones and tablets: guidelines above the form, so neither is squeezed */
@media (max-width: 767px) { .contest-rules__label { font-size: 17px; } }

/* Recent winners beside the reminder sign-up */
.contest-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px); align-items: center; }   /* the reminder sits halfway down the list or carousel beside it */
.winner-pills { display: flex; flex-direction: column; gap: 6px; }
.winner-pills .section-heading { margin-bottom: 10px; }
.winner-pill {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px;
  border-left: 5px solid; border-radius: 8px; text-decoration: none; transition: background .2s, color .2s;
  color: var(--card-ink); background: color-mix(in srgb, var(--card-ink) 6%, transparent);
}
.winner-pill:hover { background: var(--card-head); color: var(--card-title); }
.winner-pill__title { display: block; margin-bottom: 3px; font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.winner-pill__poet { display: block; font-size: 17px; line-height: 1.3; letter-spacing: .02em; opacity: .85; }
.winner-pill.card--gold .winner-pill__poet { opacity: 1; }   /* gold is lighter: full strength to stay readable */
.winner-pill__arrow { flex-shrink: 0; font-family: var(--font-display); font-size: 18px; line-height: 1; transition: transform .2s; }
.winner-pill:hover .winner-pill__arrow { transform: translateX(3px); }
.winner-pills__all { margin-top: 10px; }

/* Frequently asked questions */
.faq .section-heading { margin-bottom: 20px; }
.faq__item { border-top: 1px solid rgba(107, 45, 62, .15); }
.faq .section-heading + .faq__item { border-top: 0; }
.faq__item:last-child { border-bottom: 1px solid rgba(107, 45, 62, .15); }
.faq__question { margin: 0; font-size: inherit; line-height: inherit; }
.faq__toggle {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 18px 0;
  border: 0; background: none; text-align: left;
  font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: inherit; color: var(--color-ink); cursor: pointer;
}
.faq__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 767px) { .faq__toggle { font-size: 18px; } }   /* phones: a little smaller */
.faq__chevron { flex-shrink: 0; color: var(--color-muted); transition: transform .2s; }
.faq__toggle[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }
.faq__answer a, .winner__about a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.faq__answer p { margin: 0; padding-bottom: 20px; font-size: 22px; line-height: 1.7; color: var(--color-muted); }

/* Cards of winning poems */
.winner-cards .section-heading { margin-bottom: 40px; }

/* ── Success pages ── */
.success { position: relative; overflow: hidden; padding: 130px 80px 86px; border: 2px solid #B7D8CE; border-radius: var(--radius-card); background: #EAF4F0; }   /* the mint pair */
.success__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.success__tick { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #173A32; }
.success__tick svg { width: 18px; height: 18px; }
@media (min-width: 1025px) { .success-feedback { max-width: 720px; margin: 0 auto; } }   /* desktop: the feedback form is narrower, centred under the box */
.success h1 { margin: 0; font-family: var(--font-display); font-size: calc(1.4 * var(--fs-body)); font-weight: 400; line-height: 1.1; color: #173A32; }
.success p { margin: 0; font-size: 23px; font-weight: 400; line-height: 1.7; color: rgba(23, 58, 50, .85); }
#confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; }
@media (max-width: 767px) {
  .success { padding: 60px 28px 36px; }
  .success p { font-size: 19px; }
}

/* ══ Submission pages (they share the contest pages' pieces) ══ */
.contest-entry__reminder { margin: 40px 0 0; padding: 40px 40px 32px; border-radius: 16px; background: var(--color-cream); }   /* a cream card, like the newsletter box, close under the form */
.contest-entry__reminder .reminder.sib-form { padding: 0; }
.contest-entry__reminder .reminder.sib-form, .contest-entry__reminder .reminder #sib-container { max-width: none; }
.back-issues .section-heading { margin-bottom: 10px; }
.back-issues__carousel { --per-view: 1; --gap: 0px; }
.back-issues .issue-card__cover { border-radius: var(--radius-card); }
.back-issues .winner-pills__all { display: block; margin-top: 14px; }
@media (max-width: 767px) { .contest-entry__reminder { margin: 32px 0 0; padding: 32px 22px 26px; } }


/* ───────── reminder.css ───────── */
/* ═══ REMINDER SIGN-UP ═══  components/reminder.njk: Brevo's sign-up form, restyled. Used on the contest
   and submission pages and (while there's no Substack address) the Newsletter page. */
.reminder.sib-form, .reminder .sib-form-container, .reminder #sib-container { padding: 0; border: 0; background: transparent; text-align: left; max-width: 540px; }
.reminder #sib-form > * + * { margin-top: 20px; }
.reminder__heading { margin: 0 0 16px !important; font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1.3; color: var(--color-ink); }
.reminder .reminder__label { margin-bottom: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--color-label); }
.reminder .entry__field { border: 1px solid var(--color-divider); border-radius: 3px; background: #fff; }
.reminder .reminder__input { width: 100%; padding: 8px 0 8px 12px; border: 0; background: transparent; font-family: var(--font-body); font-size: 16px; color: var(--color-ink); outline: none; box-shadow: none; }
.reminder .reminder__input::placeholder { color: #B0A090; }
.reminder .entry__field:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }   /* keyboard focus on the email box: the burgundy ring every other control has */
.reminder .reminder__consent span:not(.checkbox), .reminder .reminder__consent a { font-family: var(--font-body); font-size: 13px; color: var(--color-muted); }
.reminder .reminder__button { padding: 12px 28px; border: 0; border-radius: 999px; background: var(--color-coral); font-family: var(--font-display); font-size: 16px; font-weight: 400; letter-spacing: .01em; color: #fff; cursor: pointer; transition: opacity .2s; }
.reminder .reminder__button:hover { opacity: .88; }
.reminder__note p { margin: 0; font-size: 13px; color: var(--color-muted); }
.reminder__note a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.reminder__message { max-width: 540px; margin-bottom: 12px; border-radius: 3px; font-family: var(--font-body); font-size: 15px; }
.reminder__message--error { border: 1px solid var(--color-divider); background: #F8E9EA; color: var(--color-deep); }   /* burgundy on blush */
.reminder__message--success { border: 1px solid #B7D8CE; background: #EAF4F0; color: #173A32; }   /* the mint pair (About page highlight) */
@media (max-width: 767px) {
  .contest-pair { grid-template-columns: minmax(0, 1fr); gap: 56px; }   /* minmax: the carousel inside mustn't widen the page */
  .reminder.sib-form { padding: 0 12px; }
}
/* Brevo's script shows a message by adding --active; its spam trap stays hidden */
.reminder .sib-form-message-panel { display: none; }
.reminder .sib-form-message-panel.sib-form-message-panel--active { display: block; padding: 10px 14px; }
.reminder .input--hidden { display: none !important; }
.reminder .entry__error:empty { display: none; }
.reminder .entry__error { color: var(--color-deep); }   /* field messages ("Please enter a valid email"): burgundy, not Brevo red */

/* ── The roomier form, for the reminders and the newsletter sign-up alike. The id beats Brevo's own stylesheet. ── */
.reminder #sib-form > * + * { margin-top: 28px; }
.reminder #sib-form .reminder__heading { margin-bottom: 30px !important; }
.reminder #sib-form .reminder__label { display: block; margin-bottom: 14px; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: .1em; color: var(--color-label); }
.reminder #sib-form .entry__field { border: 1px solid var(--color-divider); border-radius: 4px; background: #fff; }
.reminder #sib-form .reminder__input { box-sizing: border-box; height: auto; min-height: 0; padding: 12px 14px; font-family: var(--font-body); font-size: 18px; line-height: 1.4; }   /* about 51px tall */
.reminder #sib-form .reminder__consent { display: flex; align-items: center; gap: 12px; }
.reminder #sib-form .reminder__consent span:not(.checkbox) { font-family: var(--font-display); font-size: 16px; line-height: 1.4; color: var(--color-ink); }
.reminder #sib-form .reminder__consent a { font-family: inherit; font-size: inherit; color: var(--color-muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.reminder #sib-form .reminder__button { padding: 13px 28px; font-size: 18px; }
.reminder--submissions #sib-form .reminder__button { padding: 10px 22px; font-size: 16px; background: var(--color-deep); }   /* submission pages: smaller, burgundy (white on burgundy 8:1) */
.reminder #sib-form .reminder__note p { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--color-muted); }
.reminder #sib-form .reminder__note a { font-family: inherit; color: var(--color-muted); }
.reminder #sib-form .sib-form-block { padding: 0; }   /* line up with the heading */
.reminder #sib-form .entry__choice { padding-left: 0; text-indent: 0; }   /* Brevo's hanging indent pushed the tick box over the text */
.reminder #sib-form .reminder__consent .checkbox { flex-shrink: 0; margin: 0; }

/* Brevo's loading spinner inside the button: hidden until the form is sending */
.reminder .reminder__loader { width: 1em; height: 1em; margin-right: 8px; vertical-align: -0.15em; animation: reminder-spin 0.8s linear infinite; }
.reminder .reminder__loader.sib-hide-loader-icon { display: none; }
@keyframes reminder-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reminder .reminder__loader { animation: none; } }


/* ───────── testimonials.css ───────── */
/* ═══ WHY SUBMIT TO US? ═══  contests/testimonials.njk: readers' quotes, then the suggestion box beside its
   form. Used on the monthly contest, submission and About pages; the Contact page reuses the suggestion box. */
.testimonials { position: relative; }
.testimonials__nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.testimonials__btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: .5px solid rgba(0, 0, 0, .3); border-radius: 50%; background: #fff; cursor: pointer; transition: background .2s, opacity .2s; }
.testimonials__btn:hover { background: var(--color-cream); }
.testimonials__btn[disabled] { opacity: .35; cursor: default; background: #fff; }
.testimonials__btn svg { width: 14px; height: 14px; fill: none; stroke: #111; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.testimonials .section-heading { margin-bottom: 16px; }
.testimonials__intro { margin: 0 0 32px; text-align: center; font-size: 21px; line-height: 1.6; color: rgba(74, 31, 44, .75); }
.testimonials__strip {
  display: flex; gap: 20px; margin: 0; padding: 0 0 14px; list-style: none; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(90, 42, 54, .25) transparent;
}
@media (hover: hover) { .testimonials__strip { cursor: grab; } }   /* can be dragged with the mouse (assets/js/contests.js) */
.testimonials__strip.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }   /* follow the mouse exactly while dragging */
.testimonials__card { display: flex; flex-direction: column; flex: 0 0 340px; padding: 28px 28px 30px; border-radius: var(--radius-card); background: var(--bg); scroll-snap-align: start; }
.testimonials__mark { display: block; height: 34px; font-family: var(--font-display); font-size: 64px; line-height: .7; color: var(--m); }
.testimonials__card blockquote { margin: 18px 0 0; font-family: var(--font-display); font-size: 20px; line-height: 1.45; color: var(--q); text-wrap: pretty; }
.testimonials__card:nth-child(9n+1) { --bg: #F3E6DA; --m: #C4613A; --q: #4A1822; }
.testimonials__card:nth-child(9n+2) { --bg: #F2D9C9; --m: #C4613A; --q: #4A1822; }
.testimonials__card:nth-child(9n+3) { --bg: #E9C7B9; --m: #C4613A; --q: #4A1822; }
.testimonials__card:nth-child(9n+4) { --bg: #DDB1A7; --m: #5d1c2b; --q: #4A1822; }
.testimonials__card:nth-child(9n+5) { --bg: #C48E8E; --m: #5d1c2b; --q: #4A1822; }
.testimonials__card:nth-child(9n+6) { --bg: #94586A; --m: #F2D9C9; --q: #FFFFFF; }
.testimonials__card:nth-child(9n+7) { --bg: #874C59; --m: #F2D9C9; --q: #F3E6DA; }
.testimonials__card:nth-child(9n+8) { --bg: #6E3947; --m: #FF8A6B; --q: #F3E6DA; }
.testimonials__card:nth-child(9n+9) { --bg: #5d1c2b; --m: #FF8A6B; --q: #F3E6DA; }
.suggest { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: stretch; max-width: 1000px; margin: 72px auto 0; }
.suggest__text { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 40px 36px 0; overflow: hidden; border-radius: var(--radius-card); background: #F3E6DA; }
.suggest__heading { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.3; color: var(--color-ink); text-wrap: pretty; }
.suggest__subheading { margin: 18px 0 14px; font-family: var(--font-display); font-size: 21px; line-height: 1.35; color: var(--color-ink); }
.suggest__sub { margin: 0; font-size: 20px; line-height: 1.55; color: rgba(74, 31, 44, .75); }
.suggest svg { display: block; width: 190px; height: auto; margin: auto 0 -6px auto; padding-top: 28px; }
@media (max-width: 767px) {
  .testimonials__intro { margin-bottom: 24px; font-size: 19px; }
  .testimonials__strip { gap: 14px; }
  .testimonials__card { flex-basis: 80%; padding: 24px 24px 26px; }
  .suggest { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .suggest__text { min-height: 0; padding: 30px 26px 0; }
  .suggest__heading { font-size: 22px; }
  .suggest__subheading { margin-top: 14px; font-size: 19px; }
  .suggest__sub { font-size: 19px; }
  .suggest svg { width: 150px; }
}
/* ── Contact page: intro box, then the panel beside the form (the suggestion box's look, full width) ── */
.suggest--wide { max-width: none; margin: 0; gap: 48px; }
@media (max-width: 767px) {
  .suggest--wide { margin: 0; gap: 28px; }
}


/* ───────── open-calls.css ───────── */
/* ═══ OPEN CALL CARDS ═══  a coloured swatch, a title, a line of text and a link. On Open Calls (two across),
   and three across on the About and Subscription confirmed pages (.open-calls--3). */
.open-calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.open-call {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px;
  border: 1px solid rgba(107, 45, 62, .13); border-radius: var(--radius-card); background: #fff; color: inherit; text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.open-call:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.open-call__swatch { display: block; width: 40px; height: 40px; border-radius: 8px; }
.open-call__title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--color-ink); }
.open-call__text { margin: 0; font-size: 20px; line-height: 1.5; color: rgba(74, 31, 44, .75); }
.open-call__more { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--color-coral-text); transition: opacity .15s; }
.open-call:hover .open-call__more { opacity: .8; }
@media (max-width: 767px) {
  .open-calls { grid-template-columns: 1fr; gap: 14px; }
  .open-call { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 10px; padding: 24px; }
  .open-call__swatch { grid-column: 2; grid-row: 1; align-self: center; width: 32px; height: 32px; border-radius: 7px; }
  .open-call__title { grid-column: 1; grid-row: 1; align-self: center; font-size: 22px; }
  .open-call__text, .open-call__more { grid-column: 1 / -1; }
  .open-call__text { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .open-call:hover { transform: none; } }
/* Three across (About page, Subscription confirmed); two on tablet; one on phones */
.open-calls--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.open-calls--3 .open-call { padding: 24px; }
.open-calls--3 .open-call__title { font-size: 21px; }
@media (min-width: 768px) and (max-width: 1024px) { .open-calls--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .open-calls--3 { grid-template-columns: 1fr; } }
.back-issues .issue-card__quote { display: none; }
.contest-rules__text a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }


/* ───────── legal.css ───────── */
/* ═══ LEGAL PAGES ═══  the privacy policy: the intro box, then long-form text. Each part (##) has the
   site's section heading (small capitals between two lines); headings within a part (###) are in the
   display font, as on the rest of the site. */
.legal { max-width: 820px; margin: 0 auto; color: rgba(74, 31, 44, .85); }
.legal h2 {   /* the same look as .section-heading */
  display: flex; align-items: center; gap: 12px; margin: 72px 0 32px;
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 400; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--color-label);
}
.legal h2 { text-align: center; }
.legal h2::before, .legal h2::after { content: ""; flex: 1; min-width: 24px; height: .5px; background: rgba(74, 31, 44, .4); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 40px 0 12px; font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.3; color: var(--color-ink); }
.legal h2 + h3 { margin-top: 0; }
.legal p, .legal li { font-size: 21px; line-height: 1.7; }
.legal p { margin: 0 0 18px; }
.legal ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.legal li { position: relative; padding-left: 26px; }
.legal li + li { margin-top: 6px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-coral); }
.legal a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal strong { color: var(--color-ink); }
@media (max-width: 767px) {
  .legal h2 { margin-top: 56px; }
  .legal h3 { font-size: 22px; }
  .legal p, .legal li { font-size: 19px; }
}


/* ───────── cookie-banner.css ───────── */
/* ═══ COOKIE BANNER ═══  bottom of the screen until the visitor chooses (partials/cookie-banner.njk).
   Change its look here: colours, corner, width and where it sits. */
.cookie-banner {
  --cb-background: var(--color-cream);
  --cb-text: var(--color-ink);
  --cb-border: rgba(107, 45, 62, .18);
  --cb-button: var(--color-ink);        /* both main buttons: same weight, so neither choice is pushed */
  --cb-button-text: var(--color-cream);
  --cb-width: 560px;
  position: fixed; right: 24px; bottom: 24px; z-index: 2000;
  width: min(var(--cb-width), calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  border: 1px solid var(--cb-border); border-radius: var(--radius-card); background: var(--cb-background);
  box-shadow: 0 12px 40px rgba(74, 31, 44, .18); color: var(--cb-text); font-family: var(--font-body);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { padding: 26px 28px 24px; }
.cookie-banner__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.25; }
.cookie-banner__text p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--color-ink-muted); }
.cookie-banner__text a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.cookie-banner__choices { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cb-border); }
.cookie-banner__choices[hidden] { display: none; }
.cookie-banner__choice { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--color-ink-muted); cursor: pointer; }
.cookie-banner__choice input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cb-button); }
.cookie-banner__choice strong { display: block; color: var(--cb-text); }
.cookie-banner__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.cookie-banner__button {
  padding: 10px 22px; border: 1px solid var(--cb-button); border-radius: 999px; background: var(--cb-button);
  font-family: var(--font-display); font-size: 16px; color: var(--cb-button-text); cursor: pointer; transition: opacity .15s;
}
.cookie-banner__button:hover { opacity: .88; }
.cookie-banner__button[hidden], .cookie-banner__link[hidden] { display: none; }
.cookie-banner__link { padding: 4px 2px; border: 0; background: none; font-family: var(--font-body); font-size: 17px; color: var(--cb-text); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
/* "Reject all": a link, but as easy to see as "Accept all" so neither choice is hidden */
.cookie-banner__link--reject { font-size: 18px; font-weight: 600; text-decoration-thickness: 1.5px; }
.cookie-banner :focus-visible { outline: 2px solid var(--color-coral); outline-offset: 2px; }
@media (max-width: 767px) {
  .cookie-banner { right: 16px; bottom: 16px; }
  .cookie-banner__inner { padding: 22px 20px 20px; }
  .cookie-banner__title { font-size: 21px; }
  .cookie-banner__text p { font-size: 17px; }
  /* Phones: the buttons fill the width, one per row; the links sit centred together underneath */
  .cookie-banner__buttons { justify-content: center; gap: 12px 28px; }
  .cookie-banner__button { flex: 1 1 100%; padding: 12px 22px; }
  .cookie-banner__link { order: 1; }
}


/* ───────── about.css ───────── */
/* ═══ ABOUT PAGE ═══  src/about.njk. Also uses: page-intro (intro box), carousel + issue cards
   (latest issues), open-call cards (What we offer) and the testimonials from contests.css. */


/* ── Intro box ── */
.about-intro__badge {
  display: flex; align-items: center; gap: 20px; margin: 0 0 28px;
  font-family: var(--font-display); font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--color-label);   /* plum at 70%: 4.8:1 on the cream box */
}
.about-intro__badge::after { content: ""; flex: 1; height: 1px; background: var(--color-divider); }
.about-intro__heading { margin: 0 0 20px; font-family: var(--font-display); font-size: 28px; line-height: 1.45; color: var(--color-ink); }
.about-intro__heading mark { padding: 0 6px; background: #B7D8CE; color: #173A32; }               /* mint */
.about-intro__heading mark:nth-of-type(2n) { background: #F2D9C9; color: var(--color-ink); }     /* peach */
.about-intro .page-intro__text p + p { margin-top: 20px; }
@media (max-width: 767px) {
  .about-intro__badge { font-size: 15px; }
  .about-intro__heading { font-size: 22px; }
}

/* ── "Since 2022 we've published…" ── */
.about-stat {
  max-width: 760px; margin: 0 auto; text-align: center; text-wrap: balance;
  font-family: var(--font-display); font-size: 38px; line-height: 1.3; color: var(--color-ink);
}
@media (max-width: 767px) { .about-stat { padding: 0 8px; font-size: 24px; } }

/* ── Latest issues + "What kind of poetry do you like?" ──
   Side by side on tablet and desktop (headings share a row); on phones the poem picker comes first. */
.about-reads {
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 2.1fr);
  grid-template-areas: "hl hr" "cl cr"; column-gap: 40px; row-gap: 24px; align-items: start;
}
.about-reads__issues-heading { grid-area: hl; }
.about-reads__picker-heading { grid-area: hr; }
.about-reads__issues { grid-area: cl; min-width: 0; }
.about-reads__picker { grid-area: cr; min-width: 0; }
.about-reads .section-heading { margin: 0; justify-content: center; text-align: center; }
@media (min-width: 1025px) { .about-reads { margin-left: calc(100% * 2 / 24); width: calc(100% * 20 / 24); } }   /* narrower on desktop only, as in layout.css; tablets use the full width */
@media (min-width: 768px) {
  .about-reads .section-heading::before, .about-reads .section-heading::after { display: none; }
}
@media (max-width: 767px) {
  .about-reads { grid-template-columns: 1fr; grid-template-areas: "hr" "cr" "hl" "cl"; }
  .about-reads__issues-heading { margin-top: 32px !important; }
  .about-reads .section-heading::before, .about-reads .section-heading::after { min-width: 24px; }
  .about-reads__issues .carousel { max-width: 400px; margin: 0 auto; }   /* the cover stays a sensible size on an iPad mini held upright */
}
.about-reads .issue-card__label { font-size: 18px; }
.about-reads .issue-card__title { font-size: 25px; }
.about-reads .issue-card__quote { display: none; }
.about-reads__all { margin-top: 14px; }

.poem-picker__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.poem-picker__pill {
  padding: 10px 16px; border: 1px solid rgba(107, 45, 62, .25); border-radius: 999px; background: #fff; color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.poem-picker__pill:hover { border-color: var(--color-ink); }
.poem-picker__pill[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-ink); color: var(--color-cream); }
.poem-picker__card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 30px 28px;
  border: 1px solid rgba(107, 45, 62, .13); border-radius: var(--radius-card); background: var(--color-cream);
  text-decoration: none; transition: box-shadow .3s ease;
}
.poem-picker__card[hidden] { display: none; }
.poem-picker__card:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .08); }
.poem-picker__rule { width: 36px; height: 2px; border-radius: 1px; background: var(--color-deep); }
.poem-picker__title { font-family: var(--font-display); font-size: 30px; line-height: 1.25; color: var(--color-ink); }
.poem-picker__meta { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-deep); }
.poem-picker__lines { margin-top: 8px; font-size: 18px; line-height: 1.6; color: var(--color-ink); }
.poem-picker__lines p { margin: 0; font-size: inherit; line-height: inherit; white-space: pre-wrap; }
.poem-picker__lines p + p { margin-top: 1.6em; }
.poem-picker__read { margin-top: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--color-coral-text); transition: opacity .15s; }
.poem-picker__card:hover .poem-picker__read { opacity: .8; }

/* ── Meet the editors ── */
.editors { display: flex; flex-direction: column; gap: 56px; }
.editor { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.editor__photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius-card); background: #F3E6DA; }
.editor__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.editor__name { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 400; line-height: 1.2; color: var(--color-ink); }
.editor__role { margin: 6px 0 0; font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-deep); }
.editor__text > p { margin: 0; font-size: 20px; line-height: 1.65; color: rgba(74, 31, 44, .8); }
.editor__text a { color: var(--color-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.editor__text a:hover { text-decoration-thickness: 2px; }
@media (max-width: 767px) {
  .editors { gap: 48px; }
  .editor { grid-template-columns: 1fr; gap: 20px; }
  .editor__photo { max-width: 240px; justify-self: center; }
  .editor__name { font-size: 26px; }
  .editor__text > p { font-size: 18px; }
}

/* ── What we offer ── */
.about-offer__eyebrow {
  margin: 0 0 29px; font-family: var(--font-display); font-size: var(--fs-xs); line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--color-label);
}
.about-offer__heading { margin: 0 0 28px; font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--color-ink); }
@media (max-width: 767px) {
  .about-offer__heading { font-size: 26px; }
}


/* ───────── sitemap.css ───────── */
/* ═══ SITEMAP PAGE ═══  src/sitemap.njk: every part of the site in three columns
   (two on tablet, one on phones). */
.sitemap { color: var(--color-ink); }
@media (max-width: 1149px) { .sitemap { padding-top: 72px; } }   /* phones and iPads: the title sits clear below the smaller logo */
@media (min-width: 1150px) { .sitemap { padding-top: 90px; } }   /* desktop: the title sits clear below the logo's clementines */
.sitemap__title { margin: 0 0 28px; font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--color-ink); }
.sitemap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; align-items: start; }
.sitemap__part { min-width: 0; }
.sitemap__part h2 {
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(74, 31, 44, .18);
  font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.3; color: var(--color-ink);
}
.sitemap__part h2:not(:first-child) { margin-top: 32px; }
.sitemap__part h2 a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.sitemap__part h2 a::after {   /* the same drawn arrow as the menus' social links */
  content: ""; flex-shrink: 0; width: 14px; height: 14px; background: currentColor; transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4 3h5v5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4 3h5v5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sitemap__part h2 a:hover::after { transform: translate(3px, -3px); }
.sitemap__part h3 { margin: 22px 0 10px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-label); }
.sitemap__part h2 + h3 { margin-top: 0; }
.sitemap__part ul { margin: 0; padding: 0; list-style: none; }
.sitemap__part li { margin: 0 0 7px; font-size: 20px; line-height: 1.4; }
.sitemap__part li a { color: var(--color-ink); text-decoration: none; transition: color .15s ease; }
.sitemap__part li a:hover { color: var(--color-focus); text-decoration: underline; text-underline-offset: 3px; }
.sitemap__meta { font-size: 17px; font-style: italic; color: var(--color-muted); }
.sitemap__part--stacked .sitemap__meta { display: block; margin-top: 2px; line-height: 1.35; }
@media (min-width: 768px) and (max-width: 1024px) { .sitemap__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sitemap__grid { grid-template-columns: 1fr; gap: 32px; } }


/* ───────── pages.css ───────── */
/* ═══ SMALL PAGES ═══  Newsletter, Subscription confirmed, and the form pages (Volunteers, Support us). */

/* ── Newsletter: the intro box, then the sign-up box ── */
.newsletter-box {
  max-width: 560px; margin: 0 auto; padding: 40px 40px 32px;
  border-radius: 16px; background: var(--color-cream);
}
/* The sign-up form looks just like the "Not ready to enter?" reminders (reminder.css) */
.newsletter-box__heading { margin: 0 0 30px; font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1.3; color: var(--color-ink); }   /* Substack's box only */
.newsletter-box .reminder.sib-form, .newsletter-box .reminder #sib-container { max-width: none; }
.newsletter-box .reminder__note:empty, .newsletter-box .reminder__note:not(:has(p)) { display: none; }
.newsletter-box__substack { display: block; width: 100%; height: 320px; border: 0; background: #fff; border-radius: 10px; }
@media (max-width: 767px) {
  .newsletter-box { padding: 32px 22px 26px; }
  .newsletter-box .reminder.sib-form { padding: 0; }
}

/* ── Subscription confirmed: the thank-you box, then "While you're here" cards ── */
.subscribed {
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 64px 56px 56px;
  border-radius: var(--radius-card); background: var(--color-cream); text-align: center;
}
.subscribed__logo { display: block; width: 112px; height: 112px; margin-bottom: 6px; border-radius: 16px; object-fit: cover; }
.subscribed__heading { margin: 0; font-family: var(--font-display); font-size: 48px; font-weight: 400; line-height: 1.1; color: var(--color-ink); }
.subscribed__text { max-width: 680px; margin: 0; font-size: 22px; line-height: 1.7; color: var(--color-ink-muted); }
.subscribed__more { margin-bottom: 24px; }
@media (max-width: 767px) {
  .subscribed { gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 44px 24px 36px; border-radius: 0; }
  .subscribed__logo { width: 88px; height: 88px; border-radius: 12px; }
  .subscribed__heading { font-size: 34px; }
  .subscribed__text { font-size: 19px; }
}

/* ── Form pages (Volunteers, Support us): the form in a centred column ── */
.form-page__form { max-width: 790px; margin: 0 auto; }


