/* GLOSS: the visual identity of Editorial (editorialmag.com).
   Stock #FAFAF8, Ink #111111, Gray #6E6E6E, Hairline #E5E5E5,
   Rouge #C8102E (rationed accent: kickers, active nav, hover states).
   Display: Bodoni Moda. Body: Newsreader. Utility: Archivo.
   Sharp rectangles, hairlines, no shadows, no gradients, no text on images.
   Captions sit beneath figures, never overlaid. Mobile first. */

:root {
  --stock: #FAFAF8;
  --ink: #111111;
  --gray: #6E6E6E;
  --hairline: #E5E5E5;
  --rouge: #C8102E;
  --measure: 38rem;
  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --utility: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--stock);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }

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

/* ---------- type utilities ---------- */

.kicker {
  font-family: var(--utility);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin: 0 0 0.75rem;
}

.folio {
  font-family: var(--utility);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0.5rem 0;
  margin: 0 0 2rem;
}

.folio .folio-right { text-align: right; }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.dek {
  font-family: var(--body);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--gray);
  font-style: italic;
  margin: 1rem 0 0;
  max-width: 32rem;
}

.meta {
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}

.rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 2.5rem 0;
}

/* ---------- shell ---------- */

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.measure { max-width: var(--measure); }

.site-header {
  border-bottom: 1px solid var(--ink);
  padding: 1.1rem 0 0.9rem;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
  padding: 0.35rem 0;
}
.site-nav a:hover { color: var(--rouge); }
.site-nav a[aria-current="page"] { color: var(--rouge); }

.site-footer {
  border-top: 1px solid var(--ink);
  margin-top: 4rem;
  padding: 2.5rem 0 3rem;
  font-size: 0.9375rem;
}

.site-footer .foot-grid {
  display: grid;
  gap: 2rem;
}

.foot-word {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.foot-note {
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin: 0.5rem 0 0;
  line-height: 1.7;
}

.foot-note a { color: var(--gray); }

.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin: 0 0 0.5rem; }
.foot-list a {
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
}
.foot-list a:hover { color: var(--rouge); }

.foot-head {
  font-family: var(--utility);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 1rem;
}

.vauderive-line {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--utility);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.vauderive-line a { color: var(--gray); text-decoration: none; }
.vauderive-line a:hover { color: var(--ink); }

/* ---------- figures: the photograph stays inviolate ---------- */

figure.fig { margin: 3rem 0; }
figure.fig img { width: 100%; }

.fig-cap {
  font-family: var(--utility);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--gray);
  margin: 0.75rem 0 0;
  max-width: 44rem;
}

.fig-credit {
  font-family: var(--utility);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin: 0.35rem 0 0;
}

.fig-illustrative {
  font-family: var(--utility);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px solid var(--hairline);
  padding-top: 0.5rem;
  margin: 0.75rem 0 0;
  max-width: 44rem;
}

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

.article-head { margin: 0 0 2rem; }
.article-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 20ch;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding: 0.75rem 0;
  margin: 1.75rem 0 0;
}

.byline .who { font-family: var(--utility); font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.byline .role { font-family: var(--utility); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }

.article-body p { margin: 0 0 1.25rem; }
.article-body ul { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.article-body li { margin: 0 0 0.75rem; }
.article-body li a { overflow-wrap: anywhere; }
.article-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 2.5rem 0 1rem;
}

.pull {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  color: var(--ink);
  border-top: 1px solid var(--rouge);
  border-bottom: 1px solid var(--rouge);
  padding: 1.75rem 0;
  margin: 2.5rem 0;
}

.corrections-note {
  border: 1px solid var(--hairline);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  margin: 2.5rem 0 0;
}
.corrections-note .kicker { margin-bottom: 0.5rem; }

/* ---------- home: runway rhythm, descending scale ---------- */

.hero { margin: 0 0 3.5rem; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 1.25rem 0 0;
  max-width: 22ch;
}
.hero h1 a { text-decoration: none; }
.hero h1 a:hover { color: var(--rouge); }
.hero .fig { margin-top: 0; }
.hero .fig img { max-height: 82vh; object-fit: contain; background: var(--stock); }

.rail { margin: 0 0 3.5rem; }
.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.5rem;
  margin-bottom: 0;
}
.rail-head h2 {
  font-family: var(--utility);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}
.rail-head a {
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
}
.rail-head a:hover { color: var(--rouge); }

.rail-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.rail-row:hover .rail-title { color: var(--rouge); }

.rail-row .kicker { display: block; margin: 0 0 0.4rem; }
.rail-row .rail-title { display: block; }
.rail-row .rail-dek { display: block; }
.rail-row .rail-meta { display: block; margin-top: 0.5rem; }

.rail-num {
  font-family: var(--utility);
  font-size: 0.75rem;
  color: var(--gray);
  padding-top: 0.35rem;
}
.rail-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.rail-dek { color: var(--gray); margin: 0 0 0.5rem; font-size: 1rem; }
.rail-meta { font-family: var(--utility); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }

/* image-led rail rows: the photograph leads, the words follow beneath it on small screens */
.rail-row-img {
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  align-items: start;
}
.rail-thumb {
  margin: 0;
}
.rail-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rail-empty {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--gray);
  font-style: italic;
}

/* ---------- instruments department strip: compact, text only, no hero treatment ---------- */

.dept-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2.5rem 0;
  margin: 0 0 3.5rem;
}
.dept-strip h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0.75rem 0 1.5rem;
}
.dept-list { list-style: none; margin: 0; padding: 0; }
.dept-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}
.dept-row:last-child { border-bottom: 0; }
.dept-row:hover .dept-title { color: var(--rouge); }
.dept-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}
.dept-meta {
  font-family: var(--utility);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.dept-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--utility);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
}
.dept-more:hover { color: var(--rouge); }

/* ---------- franchise and newsletter strips ---------- */

.franchise-strip {
  border: 1px solid var(--ink);
  padding: 2rem;
  margin: 0 0 3.5rem;
}
.franchise-strip h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0.75rem 0 1rem;
  line-height: 1.1;
}
.franchise-strip p { max-width: 36rem; color: var(--gray); }

.news-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 2rem 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 1rem;
}
.news-strip h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0;
}
.news-strip p { color: var(--gray); }

/* ---------- section fronts ---------- */

.section-head { margin: 0 0 2.5rem; }
.section-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.0;
  margin: 1rem 0 0;
}
.section-head .dek { max-width: 34rem; }

.lead-story { margin: 0 0 1rem; }
.lead-story h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.08;
  margin: 1.25rem 0 0.75rem;
  max-width: 24ch;
}
.lead-story h2 a { text-decoration: none; }
.lead-story h2 a:hover { color: var(--rouge); }

/* ---------- static pages ---------- */

.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.04;
  margin: 1rem 0 1.5rem;
  max-width: 22ch;
}
.page-body { max-width: var(--measure); }
.page-body p { margin: 0 0 1.25rem; }
.page-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.625rem;
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.page-body h3 {
  font-family: var(--utility);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 2rem 0 0.75rem;
}
.page-body ul { padding-left: 1.25rem; }
.page-body li { margin: 0 0 0.6rem; }

.pending {
  border: 1px dashed var(--gray);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  font-family: var(--utility);
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.7;
}
.pending strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 0.5rem;
}

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

.roster { list-style: none; margin: 0; padding: 0; }
.roster li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  gap: 0.35rem;
}
.roster .r-name { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.roster .r-role {
  font-family: var(--utility);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rouge);
}
.roster .r-bio { color: var(--gray); max-width: 40rem; margin: 0.25rem 0 0; }

/* ---------- forms ---------- */

.field { margin: 0 0 1.25rem; }
.field label {
  display: block;
  font-family: var(--utility);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  background: var(--stock);
  border: 1px solid var(--gray);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.75rem;
  border-radius: 0;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--rouge);
  outline-offset: 2px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block;
  font-family: var(--utility);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--stock);
  border: 1px solid var(--ink);
  padding: 0.9rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
}
.btn:hover { background: var(--rouge); border-color: var(--rouge); color: var(--stock); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--stock); border-color: var(--ink); }

.form-note {
  font-family: var(--utility);
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 1rem;
  line-height: 1.7;
}
.form-status { margin-top: 1.25rem; font-size: 0.9375rem; }
.form-status.ok { color: var(--gray); }
.form-status.err { color: var(--rouge); }

/* ---------- consent banner ---------- */

.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  color: var(--stock);
  padding: 1.25rem;
  z-index: 50;
  border-top: 1px solid var(--gray);
}
.consent .wrap { display: grid; gap: 1rem; }
.consent p { margin: 0; font-size: 0.9375rem; max-width: 44rem; }
.consent p a { color: var(--stock); }
.consent .consent-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.consent .btn { background: var(--stock); color: var(--ink); border-color: var(--stock); }
.consent .btn:hover { background: var(--rouge); border-color: var(--rouge); color: var(--stock); }
.consent .btn-ghost { background: transparent; color: var(--stock); border-color: var(--gray); }
.consent .btn-ghost:hover { border-color: var(--rouge); color: var(--stock); background: transparent; }
.consent[hidden] { display: none; }

/* ---------- error page ---------- */

.error-page { padding: 4rem 0 6rem; }
.error-page .code {
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 1;
  margin: 0;
}

/* ---------- mobile: slim top bar, single column, image first ---------- */

@media (max-width: 59.99rem) {
  .wordmark { font-size: 1.5rem; }
  .site-header { padding: 0.8rem 0 0.7rem; }
  .site-nav a { font-size: 0.6875rem; letter-spacing: 0.1em; }
  .rail-row-img {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .dept-row { flex-wrap: wrap; gap: 0.25rem; }
}

/* ---------- desktop: asymmetric spreads in black, white, hairlines ---------- */

@media (min-width: 60rem) {
  .article-body figure.fig { margin-left: -6rem; }
  .pull { margin-left: -6rem; margin-right: -6rem; }

  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
  .news-strip { grid-template-columns: 1fr 1fr; align-items: center; }
  .franchise-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
}
