﻿/* ==========================================================================
   THE REIN MAGAZINE
   Black and white editorial system. Wordmark: Didot (images/the-rein-logo.svg)
   Display + reading: Bodoni Moda (optical sizes). Interface: Jost.
   ========================================================================== */

:root {
  --ink: #000;
  --paper: #fff;
  --band: #f5f5f5;
  --rule: #e3e3e3;
  --rule-strong: #d6d6d6;
  --muted: #5c5c5c;
  --ph-bg: #ecebe8;
  --ph-ink: #6f6f6f;

  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --sans: "Jost", Futura, "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.645, .045, .355, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

body.menu-open { overflow: hidden; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -64px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 8px; }

/* Placeholders: anything in brackets still needs real content. */
.ph {
  background: var(--ph-bg);
  color: #4a4a4a;
  padding-inline: .2em;
  border-bottom: 1px dashed #9a9a9a;
  font-style: normal;
}
.ph-block { color: var(--ph-ink); font-style: italic; }

.kicker {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--paper); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--outline-light { border-color: var(--paper); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; letter-spacing: .12em; }
.btn--lg { min-height: 56px; padding: 0 40px; }
.btn[disabled] { opacity: .5; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header { background: var(--paper); }

.utility-bar { background: var(--ink); color: var(--paper); }
.utility-bar ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 9px var(--gutter);
  list-style: none;
  font-size: 14px;
  letter-spacing: .04em;
}
.utility-bar a:hover { text-decoration: underline; text-underline-offset: 4px; }

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
/* Desktop: logo centered, Subscribe on the right. The menu button only appears on small screens,
   where the section links are hidden. */
.masthead__subscribe { grid-column: 3; grid-row: 1; justify-self: end; }
.masthead > .wordmark { grid-column: 2; grid-row: 1; }
.masthead > .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; padding: 0 12px 0 0; display: none; }

.wordmark { display: block; }
.wordmark img { width: auto; height: 44px; }

.menu-toggle,
.menu-close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  color: inherit;
  font: 500 14px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle svg,
.menu-close svg { width: 22px; height: 22px; }

.section-nav { border-bottom: 1px solid var(--rule); }
.section-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 12px var(--gutter);
  list-style: none;
}
.section-nav a {
  display: block;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-nav a:hover,
.section-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

@media (max-width: 1180px) {
  .section-nav a { font-size: 14px; letter-spacing: .12em; }
}

@media (max-width: 900px) {
  .utility-bar,
  .section-nav { display: none; }
  .masthead > .menu-toggle { display: inline-flex; }
  .masthead { padding-block: 12px; }
  .wordmark img { height: 30px; }
}

@media (max-width: 480px) {
  .masthead__subscribe { display: none; }
}

@media (max-width: 420px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wordmark img { height: 26px; }
}

/* Menu drawer */

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  padding: 0 var(--gutter) 56px;
  background: var(--paper);
}
.menu-drawer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}
.menu-drawer__nav ul {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}
.menu-drawer__nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.15;
}
.menu-drawer__nav a:hover { font-style: italic; }
.menu-drawer__cta { display: flex; max-width: 760px; margin: 32px auto 0; }

@media (max-width: 900px) {
  .menu-drawer__top { padding-block: 12px; }
}

/* --------------------------------------------------------------------------
   Homepage
   -------------------------------------------------------------------------- */

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 36px;
  margin-block: 40px;
  padding-block: 22px;
  border-block: 1px solid var(--rule);
  text-align: center;
}
.promo p { margin: 0; font-size: clamp(17px, 1.6vw, 22px); }

.cover-story { margin-bottom: clamp(64px, 8vw, 112px); }
.cover-story__link { display: block; }

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.triptych img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.cover-story__text { max-width: 900px; margin: 36px auto 0; text-align: center; }
.cover-story__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6.6vw, 96px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.015em;
}
.cover-story__link:hover .cover-story__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}
.cover-story__dek {
  max-width: 640px;
  margin: 20px auto 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
}
.cover-story__cta { margin-top: 8px; padding-inline: 20px; }
.cover-story__link:hover .cover-story__cta { background: var(--ink); color: var(--paper); }

.byline {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .triptych {
    grid-template-columns: repeat(3, 78%);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .triptych img { scroll-snap-align: center; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 24px;
  margin-bottom: clamp(72px, 9vw, 128px);
}
.story-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { display: block; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 16px; }
.card .kicker { margin-bottom: 8px; font-size: 12px; }
.card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 400;
  line-height: 1.18;
}
.card:hover .card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 1000px) {
  .story-grid,
  .story-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .story-grid,
  .story-grid--three { grid-template-columns: minmax(0, 1fr); }
}

/* Issue band: the magazine that opens */

.issue-band {
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 128px);
  background: var(--ink);
  color: var(--paper);
}
.issue-band__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}
.issue-band__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.02em;
}
.issue-band__copy p:not(.kicker) {
  max-width: 480px;
  margin: 24px 0 32px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: #e6e6e6;
}

.issue-book {
  position: relative;
  display: block;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: .77;
  perspective: 1800px;
}
.issue-book__inside {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #d8d8d8, #fff 9%);
  box-shadow: 3px 3px 0 #cfcfcf, 6px 6px 0 #9d9d9d;
}
.issue-book__cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transition: transform 1s var(--ease);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.issue-book:hover .issue-book__cover,
.issue-book:focus-visible .issue-book__cover { transform: rotateY(-32deg); }

@media (max-width: 820px) {
  .issue-band__grid { grid-template-columns: minmax(0, 1fr); }
  .issue-book { width: min(78%, 360px); }
}

/* Cover composition (homepage book, subscribe page, flipbook page 1) */

.cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e6e1d6;
  color: var(--ink);
  container-type: inline-size;
}
.cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
.cover__logo { position: absolute; top: 10.5%; left: 7%; width: 86%; }
.cover__issue {
  position: absolute;
  top: 23%;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  font: 500 2.6cqw/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cover__lead {
  position: absolute;
  left: 6%;
  bottom: 24%;
  width: 36%;
  color: var(--paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.cover__lead-title {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 7.6cqw;
  font-weight: 400;
  line-height: .95;
}
.cover__lead-sub { margin: 2.4cqw 0 0; font: 500 2.5cqw/1.3 var(--sans); letter-spacing: .06em; }
.cover__side {
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: 22%;
  display: grid;
  gap: 3cqw;
  text-align: right;
  font: 500 2.3cqw/1.3 var(--sans);
  letter-spacing: .04em;
}
.cover__side strong {
  display: block;
  font-family: var(--serif);
  font-size: 4.2cqw;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.cover .ph { background: rgba(255, 255, 255, .22); color: inherit; border-bottom-color: currentColor; }

/* Newsletter band */

.newsletter-band {
  padding-block: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.newsletter-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.04;
}
.newsletter-band p {
  max-width: 540px;
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 18px;
}

.signup-form { display: flex; max-width: 540px; margin-inline: auto; }
.signup-form .field-input { border-right: 0; }
.signup-form .btn { min-height: 54px; }

.field-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.4 var(--sans);
  appearance: none;
}
.field-input::placeholder { color: #8a8a8a; }
.field-input:focus-visible { outline-offset: 0; }

.form-status { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; }
.newsletter-band .form-status { margin-bottom: 0; color: var(--ink); }

@media (max-width: 520px) {
  .signup-form { flex-direction: column; gap: 10px; }
  .signup-form .field-input { border-right: 1px solid var(--ink); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: 72px 32px;
  background: var(--ink);
  color: var(--paper);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
}
.site-footer__brand img { width: min(320px, 72vw); height: auto; }
.site-footer__tagline {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: #d9d9d9;
}
.footer-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; }
.footer-col h2 {
  margin: 0 0 16px;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col li { min-width: 0; overflow-wrap: anywhere; }

.social-link { display: inline-flex; align-items: center; gap: 7px; }
.social-icon { flex: none; width: 15px; height: 15px; opacity: .75; }
.social-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #9a9a9a;
  font-size: 13px;
}
.site-footer .ph { background: #262626; color: #e0e0e0; border-bottom-color: #777; }

@media (max-width: 820px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:last-child { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
}
.page-hero p:not(.kicker) {
  max-width: 660px;
  margin: 22px auto 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

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

.article-header {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) 44px;
  text-align: center;
}
.article-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.02em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-hero { margin: 0; }
.article-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 81%; }

/* Teaser: the full interview is only in the magazine. */
.teaser {
  max-width: calc(700px + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  text-align: center;
}
.teaser__text {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.5;
}
.teaser__note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.photo-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }

@media (max-width: 560px) {
  .photo-pair { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(36px, 6vw, 104px);
  padding-block: clamp(56px, 8vw, 120px);
}
.offer__media { position: sticky; top: 24px; margin: 0; }
.offer__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.offer__intro {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
}
.offer__list { margin: 0; padding: 0; list-style: none; }
.offer__item { padding-block: 24px 36px; border-top: 1px solid var(--ink); }
.offer__item h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.1;
}
.offer__item p { max-width: 56ch; margin: 0; font-size: 17px; line-height: 1.6; }

.audience {
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--band);
}
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.audience h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
}
.audience p { max-width: 58ch; margin: 0 0 1em; font-size: 17px; line-height: 1.6; }

.cta-band { padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.cta-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
}
.cta-band p { max-width: 560px; margin: 16px auto 30px; color: var(--muted); font-size: 18px; }
.cta-band .btn-row { justify-content: center; }

@media (max-width: 820px) {
  .offer,
  .audience__grid { grid-template-columns: minmax(0, 1fr); }
  .offer__media { position: static; }
}

/* --------------------------------------------------------------------------
   Subscribe (print)
   -------------------------------------------------------------------------- */

.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  padding-block: clamp(56px, 8vw, 112px);
}
.subscribe__cover {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: .77;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .2), 3px 3px 0 #e2e2e2, 6px 6px 0 #c4c4c4;
}
.subscribe__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
}
.subscribe__lead {
  max-width: 520px;
  margin: 20px 0 40px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
}

/* Price list: quiet rows rather than big numbers. */
.plans { max-width: 560px; border-top: 1px solid var(--ink); }
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px 32px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule-strong);
}
.plan__name { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.plan__period { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.plan__price {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 400;
  letter-spacing: .02em;
  white-space: nowrap;
}
.plan .btn { min-height: 42px; padding: 0 22px; font-size: 12px; letter-spacing: .16em; }

.subscribe__notes { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .subscribe { grid-template-columns: minmax(0, 1fr); }
  .subscribe__cover { width: min(78%, 360px); }
}
@media (max-width: 520px) {
  .plan { grid-template-columns: minmax(0, 1fr) auto; }
  .plan .btn { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  padding-block: clamp(48px, 7vw, 104px);
}
.contact-list { margin: 0; }
.contact-list div { padding-block: 18px; border-top: 1px solid var(--ink); }
.contact-list dt { margin-bottom: 6px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__media { margin: 36px 0 0; }
.contact__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.field .optional { color: var(--muted); letter-spacing: .06em; text-transform: none; font-weight: 400; }
select.field-input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
textarea.field-input { min-height: 190px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .form-status { margin: 0; }

@media (max-width: 820px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__media { display: none; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Newsletter page
   -------------------------------------------------------------------------- */

.nl-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: min(880px, calc(100vh - 170px));
}
.nl-split__media { margin: 0; }
.nl-split__media img { width: 100%; height: 100%; object-fit: cover; }
.nl-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 104px) var(--gutter);
}
.nl-split__body h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
}
.nl-split__body > p:not(.kicker) {
  max-width: 520px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}
.stack-form { display: grid; gap: 18px; max-width: 480px; margin-top: 36px; }
.stack-form .btn { justify-self: start; }
.form-fineprint { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .nl-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .nl-split__media img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 30%; }
}

/* --------------------------------------------------------------------------
   Magazine reader (flipbook)
   -------------------------------------------------------------------------- */

.reader { padding-block: 28px 44px; background: var(--band); }
.reader__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.reader__title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; }
.reader__jump { display: flex; align-items: center; gap: 12px; }
.reader__jump label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.reader__jump .field-input { min-height: 44px; width: auto; min-width: 220px; }

.book-stage {
  display: flex;
  justify-content: center;
  padding-block: 8px 28px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.book {
  position: relative;
  perspective: 2800px;
  transition: transform .9s var(--ease);
}
.book[data-mode="spread"].is-at-start { transform: translateX(-25%); }
.book[data-mode="spread"].is-at-end { transform: translateX(25%); }

.leaf {
  position: absolute;
  top: 0;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  cursor: pointer;
}
.book[data-mode="spread"] .leaf { left: 50%; width: 50%; }
.book[data-mode="single"] .leaf { left: 0; width: 100%; }
.leaf.is-turned { transform: rotateY(-180deg); }
.book.no-anim,
.book.no-anim .leaf { transition: none; }

/* One soft shadow per visible page block, drawn behind the leaves. */
.book::before,
.book::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .06);
  transition: opacity .3s ease;
}
.book::before { left: 50%; right: 0; }
.book::after { left: 0; right: 50%; }
.book[data-mode="single"]::before { left: 0; }
.book[data-mode="single"]::after,
.book.is-at-start::after,
.book.is-at-end::before { opacity: 0; }

.face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  container-type: inline-size;
}
.face--back { transform: rotateY(180deg); }
.face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.face--front::after { background: linear-gradient(to right, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 7%); }
.face--back::after { background: linear-gradient(to left, rgba(0, 0, 0, .16), rgba(0, 0, 0, 0) 7%); }

.reader__controls { display: flex; align-items: center; justify-content: center; gap: 20px; }
.flip-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.flip-btn svg { width: 22px; height: 22px; }
.flip-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.flip-btn:disabled { opacity: .3; cursor: default; }
.reader__status {
  min-width: 190px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.reader__hint { margin: 14px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.print-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 36px;
}
.print-strip p { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }

/* Magazine pages. 1em = 3% of the page width, so layouts scale with the book. */

.mag-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 2.3em 2.1em 1.5em;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3.6cqw;
  line-height: 1.4;
}
.mag-page--bleed { padding: 0; }
.mag-page--black { background: var(--ink); color: var(--paper); }
.mag-page--black .ph { background: rgba(255, 255, 255, .16); color: inherit; border-bottom-color: #888; }

.mag-bleed-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.mag-kicker {
  margin: 0 0 .9em;
  font-family: var(--sans);
  font-size: .58em;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mag-h1 { margin: 0; font-size: 3.1em; font-weight: 400; line-height: .94; letter-spacing: -.015em; }
.mag-h1--xl { font-size: 4.6em; }
.mag-h2 { margin: 0; font-size: 1.75em; font-weight: 400; line-height: 1.02; }
.mag-dek { margin: .9em 0 0; font-size: 1em; line-height: 1.4; }
.mag-byline {
  margin: 1.4em 0 0;
  font-family: var(--sans);
  font-size: .52em;
  letter-spacing: .14em;
  line-height: 1.8;
  text-transform: uppercase;
}
.mag-text { font-size: .8em; line-height: 1.5; }
.mag-text p { margin: 0 0 .8em; }
.mag-cols { columns: 2; column-gap: 1.6em; }
.mag-q { margin: 1em 0 .3em; font-family: var(--sans); font-weight: 500; line-height: 1.35; break-after: avoid; }
.mag-q:first-child { margin-top: 0; }
.mag-dropcap::first-letter { float: left; padding: .04em .08em 0 0; font-size: 3.7em; line-height: .8; }
.mag-rule { margin: 1.1em 0; border: 0; border-top: 1px solid currentColor; }
.mag-spacer { flex: 1; }
/* Lists that spread out to fill the rest of the page. */
.mag-fill { flex: 1 1 auto; min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); }
.mag-fill > li, .mag-fill > .pairing, .mag-fill > .product { align-content: center; }

.mag-folio {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1em;
  color: #767676;
  font-family: var(--sans);
  font-size: .48em;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mag-caption {
  position: absolute;
  left: 3.2%;
  bottom: 2.4%;
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: .48em;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.mag-caption--dark { color: var(--ink); text-shadow: none; }
.mag-ph {
  display: grid;
  place-items: center;
  padding: 1em;
  background: var(--ph-bg);
  color: var(--ph-ink);
  font-family: var(--sans);
  font-size: .5em;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.mag-ad-label {
  position: absolute;
  top: 2.4%;
  right: 3.4%;
  margin: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: .44em;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mag-ad-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  display: flex;
  justify-content: center;
}
.mag-ad-mark .ph {
  padding: .4em .8em;
  background: rgba(0, 0, 0, .55);
  color: var(--paper);
  border: 0;
  font-family: var(--sans);
  font-size: .7em;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.toc { margin: 1.5em 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.toc li {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  column-gap: .8em;
  padding: .72em 0;
  border-bottom: 1px solid var(--rule-strong);
}
.toc__num { grid-row: span 2; padding-top: .45em; font-family: var(--sans); font-size: .62em; letter-spacing: .1em; }
.toc__name { font-size: 1.12em; line-height: 1.1; }
.toc__desc { color: #555; font-size: .7em; }

.mag-pull {
  margin: 0;
  padding: .55em 0;
  border-block: 1px solid var(--ink);
  font-size: 1.55em;
  font-style: italic;
  line-height: 1.15;
}
.mag-split-img { position: relative; flex: 1; margin: 1.2em -2.1em 0; min-height: 0; }
.mag-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }

.pairings { display: grid; gap: .7em; margin-top: 1.3em; }
.pairing {
  display: grid;
  grid-template-columns: 2.8em minmax(0, 1fr);
  align-items: center;
  gap: 1em;
  padding-top: .7em;
  border-top: 1px solid var(--rule-strong);
}
.pairing__swatch { display: grid; grid-template-rows: 1fr 1.3fr; height: 3.6em; border: 1px solid #cdcdcd; }
.pairing__name { margin: 0 0 .15em; font-size: .92em; font-weight: 600; line-height: 1.2; }
.pairing__note { margin: 0; color: #333; font-size: .68em; line-height: 1.45; }

.steps { display: grid; gap: .8em; margin: 1.3em 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 4em minmax(0, 1fr); align-items: center; gap: 1em; }
.step .mag-ph { height: 4em; font-size: .42em; height: auto; aspect-ratio: 1; }
.step__text { margin: 0; font-size: .74em; line-height: 1.45; }
.step__text strong { font-family: var(--sans); font-weight: 500; }

.products { display: grid; gap: 1.2em; margin-top: 1.4em; }
.product { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); align-items: center; gap: 1.1em; }
.product .mag-ph { aspect-ratio: 4 / 5; }
.product__brand { margin: 0 0 .35em; font-family: var(--sans); font-size: .56em; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.product__name { margin: 0 0 .35em; font-size: 1.15em; line-height: 1.1; }
.product__text { margin: 0; font-size: .72em; line-height: 1.45; }

.ranking { margin: 1.2em 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.ranking li {
  display: grid;
  grid-template-columns: 1.4em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .8em;
  padding: .55em 0;
  border-bottom: 1px solid var(--rule-strong);
}
.ranking__num { font-size: 1.45em; line-height: 1; }
.ranking__name { font-size: .92em; }
.ranking__meta { color: #666; font-family: var(--sans); font-size: .52em; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.ranking--compact li { padding: .42em 0; }

.mag-top-img { position: relative; height: 34%; margin: -2.3em -2.1em 1.4em; flex: none; }
.mag-top-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.shows { width: 100%; margin-top: 1em; border-collapse: collapse; font-size: .7em; }
.shows th {
  padding: .5em .6em .5em 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: .78em;
  font-weight: 500;
  letter-spacing: .14em;
  text-align: left;
  text-transform: uppercase;
}
.shows td { padding: .7em .6em .7em 0; border-bottom: 1px solid var(--rule-strong); vertical-align: top; }

.short-head { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); align-items: end; gap: 1.1em; margin-bottom: 1.2em; }
.short-head .mag-ph { aspect-ratio: 4 / 5; }

.backcover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}
.backcover img { width: 72%; }
.backcover__tagline { margin: 1.4em 0 0; font-size: 1.05em; font-style: italic; }
.backcover__foot { position: absolute; left: 2.1em; right: 2.1em; bottom: 2em; display: grid; gap: .9em; justify-items: center; }
.backcover__foot p { margin: 0; font-size: .7em; line-height: 1.45; }
.backcover__foot a { font-family: var(--sans); font-size: .5em; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .2em; }
.backcover__imprint { font-family: var(--sans); font-size: .46em !important; letter-spacing: .18em; text-transform: uppercase; color: #9a9a9a; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .issue-book:hover .issue-book__cover,
  .issue-book:focus-visible .issue-book__cover { transform: none; }
}
