/* ------------------------------------------------------------------
   Century Publishing — prototype stylesheet
   Palette values are taken from the logo SVG, not invented:
     magenta #EC008C · red #ED1C24 · yellow #FFF200
     green #00A651 · cyan #00AEEF · wordmark black #231F20
   ------------------------------------------------------------------ */

:root {
  --paper:  #ffffff;
  --tint:   #f1f2f4;
  --ink:    #231f20;   /* the wordmark's own black */
  --muted:  #6b6e73;
  --rule:   #dcdee1;
  --accent: #ec008c;   /* logo magenta */

  --measure: 34rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
}

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.masthead {
  display: flex;
  align-items: center;
  gap: var(--gutter);
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.brand { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; flex: none; }
.brand img { width: clamp(140px, 15vw, 185px); height: auto; }
.brand .tagline {
  font-family: var(--display);
  font-size: .6875rem;
  letter-spacing: .09em;
  color: var(--muted);
  padding-left: .15rem;
}

.nav {
  font-family: var(--display);
  font-size: .9375rem;
  display: flex;
  gap: clamp(1rem, 2.1vw, 2rem);
  margin-left: auto;
  align-items: center;
}
.nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.masthead-contact {
  font-family: var(--display);
  font-size: .9375rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: none;
}
.masthead-contact .tel { text-decoration: none; white-space: nowrap; }
.masthead-contact .tel:hover { color: var(--accent); }

.btn {
  font-family: var(--display);
  font-size: .9375rem;
  display: inline-block;
  padding: .6rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-lg { font-size: 1.0625rem; padding: .85rem 1.6rem; }

.nav-toggle { display: none; }

/* ---------- homepage: one screen on desktop --------------------- */

/* The masthead is outside the grid, so the stage takes the rest of the
   viewport. --mast is measured at runtime; the fallback keeps it sane
   if the script doesn't run. */
.stage {
  height: calc(100svh - var(--mast, 5.5rem));
  min-height: 32rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.stage > * { min-height: 0; min-width: 0; }

.statement {
  padding: clamp(1.4rem, 3.2vh, 2.6rem) var(--gutter) clamp(1rem, 2.2vh, 1.6rem);
}
.statement h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.1vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 19ch;
}
.statement p {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
}

/* Absolute positioning stops the video's intrinsic aspect ratio from
   forcing the grid row taller than its 1fr share. */
.reel {
  position: relative;
  margin: 0 var(--gutter);
  background: var(--ink);
  overflow: hidden;
}
.reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verticals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  margin: clamp(1rem, 2.4vh, 1.75rem) var(--gutter) 0;
}
.verticals a {
  font-family: var(--display);
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.25;
  text-decoration: none;
  padding: clamp(.8rem, 1.8vh, 1.15rem) 1.25rem clamp(.8rem, 1.8vh, 1.15rem) 0;
  border-right: 1px solid var(--rule);
  transition: color .15s;
}
.verticals a:last-child { border-right: 0; }
.verticals a:hover { color: var(--accent); }

.closer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.1rem, 2.8vh, 2rem) var(--gutter) clamp(1.3rem, 3vh, 2.2rem);
  border-top: 1px solid var(--rule);
  margin-top: clamp(1rem, 2.4vh, 1.75rem);
}
.closer .priority {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.9375rem, 1.2vw, 1.0625rem);
}
.closer h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.closer .where {
  margin-left: auto;
  font-size: .9375rem;
  color: var(--muted);
  text-align: right;
}
.closer .where span { display: block; }

/* ---------- interior pages -------------------------------------- */

.page {
  padding: clamp(2rem, 5vh, 3.5rem) var(--gutter) 5rem;
}
/* Interior pages are a single reading column rather than a wide shell —
   at 62rem the measure left a dead right-hand third on large screens. */
.page-inner { max-width: 47rem; margin: 0 auto; }

.page h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .75rem;
  max-width: 20ch;
}
.page .lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 2.5rem;
}

.page h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.005em;
  margin: 2.75rem 0 .6rem;
}
.page p { max-width: var(--measure); margin: 0 0 1.1rem; }

.page .split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 2rem 0 0;
}
.page .split p { margin-bottom: 0; }
.page .split h2 { margin-top: 0; }

.marker {
  border-left: 2px solid var(--accent);
  padding-left: 1.1rem;
  margin: 2rem 0;
}
.marker p { margin-bottom: 0; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.5rem;
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  margin-top: 3rem;
}

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

.sitefoot {
  background: var(--tint);
  padding: 2.5rem var(--gutter);
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}
.sitefoot .row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline; }
.sitefoot a { text-decoration: none; }
.sitefoot a:hover { color: var(--accent); }

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

/* A short window should release the one-screen homepage, but it must
   not trigger the narrow-screen masthead. */
@media (max-height: 620px) {
  .stage { height: auto; min-height: 0; display: block; }
  .reel { position: relative; aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .stage { height: auto; min-height: 0; display: block; }
  .reel { position: relative; aspect-ratio: 16 / 9; }

  .masthead { flex-wrap: wrap; row-gap: .9rem; }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: .15rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; white-space: nowrap; }
  .masthead-contact { margin-left: auto; }
  .masthead-contact .tel { display: none; }

  .reel { aspect-ratio: 16 / 9; }

  .verticals { grid-template-columns: 1fr 1fr; }
  .verticals a { border-bottom: 1px solid var(--rule); padding-right: 1rem; }
  .verticals a:nth-child(2n) { border-right: 0; }
  .verticals a:nth-last-child(-n+2) { border-bottom: 0; }

  .closer .where { margin-left: 0; text-align: left; width: 100%; }
}

@media (max-width: 480px) {
  .verticals { grid-template-columns: 1fr; }
  .verticals a { border-right: 0; }
  .verticals a:last-child { border-bottom: 0; }
}

/* Anyone who has asked their OS for less motion gets the poster frame
   instead of the loop — a still of the same shot, not an empty box. */
@media (prefers-reduced-motion: reduce) {
  .reel video { display: none; }
  .reel {
    background: var(--ink) url("media/century-hero-poster.jpg") center/cover no-repeat;
  }
  * { transition: none !important; }
}

/* ==================================================================
   Shared content components
   Used by Help Center articles, service pages and vertical pages so
   every page draws from the same set. Nothing here is page-specific.
   ================================================================== */

.breadcrumb {
  font-family: var(--display);
  font-size: .875rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* index of child pages ------------------------------------------- */

.topic-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.topic-list > li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}
.topic-list > li:last-child { border-bottom: 1px solid var(--rule); }
.topic-list a {
  font-family: var(--display);
  font-size: 1.125rem;
  text-decoration: none;
}
.topic-list a:hover { color: var(--accent); }
.topic-list p { margin: .3rem 0 0; color: var(--muted); max-width: var(--measure); }

/* specification tables ------------------------------------------- */

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; max-width: var(--measure); }
.spec-table th, .spec-table td {
  text-align: left;
  padding: .7rem .9rem .7rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-weight: 400;
}
.spec-table th { width: 58%; }
.spec-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* numbered procedures -------------------------------------------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin: 0 0 1.75rem;
  max-width: var(--measure);
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.9rem; height: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: .875rem;
}
.steps > li p { margin: 0 0 .6rem; }
.steps > li p:last-child { margin-bottom: 0; }

/* preflight alert entries ---------------------------------------- */

.alert { margin: 1.5rem 0; padding-left: 1.1rem; border-left: 3px solid var(--rule); max-width: var(--measure); }
.alert h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  margin: 0 0 .4rem;
}
.alert p { margin: 0 0 .6rem; }
.alert p:last-child { margin-bottom: 0; }
.alert-info    { border-left-color: var(--rule); }
.alert-warning { border-left-color: #f0a500; }
.alert-error   { border-left-color: var(--accent); }

/* downloads ------------------------------------------------------ */

.download-list { list-style: none; padding: 0; margin: 1.5rem 0; max-width: var(--measure); }
.download-list li { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.download-list li:first-child { border-top: 1px solid var(--rule); }
.download-list a { font-family: var(--display); text-decoration: none; }
.download-list a:hover { color: var(--accent); }
.download-list .meta { display: block; font-size: .875rem; color: var(--muted); margin-top: .15rem; }

/* figures --------------------------------------------------------- */

.page figure { margin: 2rem 0; max-width: 46rem; }
.page figure img { width: 100%; height: auto; border: 1px solid var(--rule); }
.page figcaption { font-size: .9375rem; color: var(--muted); margin-top: .6rem; }

/* embedded publication covers ------------------------------------- */

.work-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.work-list > li { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.work-list > li:last-child { border-bottom: 1px solid var(--rule); }
.work-list h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.work-list p { margin: 0 0 .5rem; }
.work-list a { font-family: var(--display); font-size: .9375rem; }

/* open items, visible in review builds only ----------------------- */

.pending {
  max-width: var(--measure);
  margin: 1.75rem 0;
  padding: .9rem 1.1rem;
  background: var(--tint);
  border-left: 3px solid var(--muted);
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}
.pending strong { color: var(--ink); font-weight: 500; }
.pending p { margin: 0; max-width: none; }
.pending p + p { margin-top: .5rem; }

/* ==================================================================
   Homepage, below the first screen
   The stage above is complete on its own; these bands are for anyone
   who scrolls past it.
   ================================================================== */

.band { padding: clamp(3rem, 7vh, 5rem) var(--gutter); border-top: 1px solid var(--rule); }
.band-tint { background: var(--tint); border-top: 0; }
.band-inner { max-width: 62rem; margin: 0 auto; }

.band h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  margin: 0 0 .8rem;
}
.band p { max-width: var(--measure); margin: 0 0 1rem; }
.band p:last-child { margin-bottom: 0; }
.band .band-lede { color: var(--muted); margin-bottom: 2rem; }

.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: 2rem;
}
.trio h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  margin: 0 0 .5rem;
}
.trio h3 a { text-decoration: none; }
.trio h3 a:hover { color: var(--accent); }
.trio p { max-width: none; margin-bottom: .6rem; }
.trio p:last-child { margin-bottom: 0; }

/* The homepage carries its own footer below these bands. */
body.home .sitefoot { border-top: 1px solid var(--rule); }

/* ==================================================================
   Embedded publication viewers
   The issue itself, loaded from Joomag, opening on its cover.
   ================================================================== */

.issues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 2rem 0 0;
  max-width: 62rem;
}

.issue { margin: 0; }

.issue-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--tint);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.issue-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Shown underneath the iframe; visible if the embed is blocked or slow. */
.issue-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}

.issue figcaption { margin-top: .9rem; }
.issue figcaption strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: .2rem;
}
.issue figcaption p { margin: 0 0 .5rem; max-width: none; }
.issue figcaption a { font-family: var(--display); font-size: .9375rem; }

/* One issue on its own sits wider rather than stretching to a column. */
.issues.single { grid-template-columns: minmax(0, 22rem); }

/* ==================================================================
   Two-column interior pages
   A single centred column leaves a dead half on wide screens. Where a
   page has something to show, it goes in the aside and the reading
   column stays at its proper measure.
   ================================================================== */

.page-inner.with-aside {
  max-width: 72rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.page-inner.with-aside > .col-main { min-width: 0; }

.page-aside { position: sticky; top: 2rem; min-width: 0; }
.page-aside .issues { grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 0; }
.page-aside .aside-head {
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 1080px) {
  .page-inner.with-aside {
    display: block;
    max-width: 47rem;
  }
  .page-aside { position: static; margin-top: 3rem; }
  .page-aside .issues { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}

/* ==================================================================
   Process colour
   Century's mark is built from the four process colours plus red and
   green. A printer's site should use them. Each section of the site
   carries one, so the colour tells you where you are — and the four
   things we print carry the four process colours.
   ================================================================== */

body.sec-what-we-print          { --accent: #00AEEF; }  /* cyan     */
body.sec-magazines              { --accent: #00AEEF; }
body.sec-trade                  { --accent: #EC008C; }  /* magenta  */
body.sec-catalogs               { --accent: #00A651; }  /* green    */
body.sec-theater                { --accent: #ED1C24; }  /* red      */
body.sec-services               { --accent: #EC008C; }
body.sec-capabilities           { --accent: #00A651; }
body.sec-help                   { --accent: #00AEEF; }
body.sec-why-century            { --accent: #EC008C; }

/* page header band ------------------------------------------------ */

.page-head-band {
  border-top: 6px solid var(--accent);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--accent) 9%, #fff) 0%,
      #fff 100%);
  padding: clamp(2.25rem, 5vh, 3.75rem) var(--gutter) clamp(1.75rem, 4vh, 3rem);
}
.page-head-band .band-inner { max-width: 72rem; margin: 0 auto; }

.page-head-band .breadcrumb { margin-bottom: 1.1rem; }

.page-head-band h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 .7rem;
  max-width: 17ch;
}
.page-head-band .lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

/* the page body now starts below the band */
.page { padding-top: clamp(2rem, 4.5vh, 3rem); }
.page .page-inner > h2:first-child,
.page .col-main > h2:first-child,
.page .col-main > p:first-child { margin-top: 0; }

/* section headings carry the accent -------------------------------- */

.page h2 {
  display: flex;
  align-items: baseline;
  gap: .7rem;
}
.page h2::before {
  content: "";
  flex: none;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--accent);
}

/* dark statement band ---------------------------------------------- */

.band-ink {
  background: var(--ink);
  color: #fff;
  border-top: 6px solid var(--accent);
}
.band-ink h2 { color: #fff; }
.band-ink p { color: #d7d5d3; }
.band-ink a { color: #fff; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* vertical index on the hub ---------------------------------------- */

.verticals-index { display: grid; gap: 0; margin: 2rem 0 0; }
.verticals-index > a {
  display: block;
  text-decoration: none;
  padding: 1.5rem 0 1.5rem 1.4rem;
  border-top: 1px solid var(--rule);
  border-left: 4px solid transparent;
  transition: border-left-color .15s, padding-left .15s;
}
.verticals-index > a:last-child { border-bottom: 1px solid var(--rule); }
.verticals-index > a:hover { border-left-color: var(--c); padding-left: 1.8rem; }
.verticals-index h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 .25rem;
  display: flex; align-items: baseline; gap: .7rem;
}
.verticals-index h2::before {
  content: ""; flex: none;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--c);
}
.verticals-index p { margin: 0; color: var(--muted); max-width: var(--measure); }

/* homepage verticals pick up the process colours ------------------- */

.verticals a { border-top: 4px solid transparent; margin-top: -1px; }
.verticals a:nth-child(1) { border-top-color: #00AEEF; }
.verticals a:nth-child(2) { border-top-color: #EC008C; }
.verticals a:nth-child(3) { border-top-color: #00A651; }
.verticals a:nth-child(4) { border-top-color: #ED1C24; }

/* Service / Commitment pair on the homepage ------------------------ */

.band .pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  margin: 1.75rem 0 0;
}
.band .pair h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0 0 .45rem;
  display: flex; align-items: baseline; gap: .6rem;
}
.band .pair h3::before {
  content: ""; flex: none;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--accent);
}
.band .pair p { max-width: none; margin: 0; }

.band .invite {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  max-width: 46rem;
}

/* ==================================================================
   Homepage colour
   The mark is built from the process colours; the homepage should
   read as a printer's, not as a white page with one pink line.
   ================================================================== */

/* four-colour rule under the masthead, home only */
body.home .masthead { border-bottom: 0; }
body.home .masthead::after { content: none; }
body.home .process-rule {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
}
body.home .process-rule span:nth-child(1) { background: #00AEEF; }
body.home .process-rule span:nth-child(2) { background: #EC008C; }
body.home .process-rule span:nth-child(3) { background: #FFF200; }
body.home .process-rule span:nth-child(4) { background: var(--ink); }

/* the four things we print, as colour fields -------------------- */

.verticals a {
  position: relative;
  border-top: 0;
  margin-top: 0;
  padding-left: 1.1rem;
  overflow: hidden;
}
.verticals a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--c);
}
.verticals a::after {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: var(--c);
  opacity: 0;
  transition: opacity .18s;
  z-index: -1;
}
.verticals a:hover::after { opacity: .09; }
.verticals a:hover { color: var(--ink); }
.verticals a:nth-child(1) { --c: #00AEEF; }
.verticals a:nth-child(2) { --c: #EC008C; }
.verticals a:nth-child(3) { --c: #00A651; }
.verticals a:nth-child(4) { --c: #ED1C24; }

/* two statements, side by side ----------------------------------- */

.band.duo .band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.band.duo .duo-left h2  { --accent: #00AEEF; }
.band.duo .duo-right h2 { --accent: #EC008C; }
.band.duo .duo-right .pair { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.band.duo .duo-right .pair h3 { --accent: #FFF200; }
.band.duo .invite { border-top-color: rgba(255,255,255,.22); max-width: none; }

@media (max-width: 900px) {
  .band.duo .band-inner { grid-template-columns: 1fr; gap: 2.75rem; }
}

/* the dark band's own heading dots and rules --------------------- */

.band-ink h2::before,
.band-ink h3::before {
  content: "";
  flex: none;
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--accent);
}
.band-ink h2, .band-ink h3 { display: flex; align-items: baseline; gap: .7rem; }

/* duo headings sit on two balanced columns */
.band.duo .band-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.band.duo h2 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); }
.band.duo .duo-left p { max-width: 32ch; }

/* Review-only build stamp. Delete this rule and the span in layout.py
   before launch. */
.buildstamp { margin-left: auto; font-size: .8125rem; opacity: .55; }

/* ==================================================================
   Revisions — 2026-11-09
   - The first screen now ends with the four categories; the quote ask
     closes every page from the footer.
   - The statement band is an ink bleed in the process colours rather
     than a black box.
   ================================================================== */

/* first screen: statement, reel, categories */
.stage { grid-template-rows: auto minmax(0, 1fr) auto; }

/* ---- ink bleed ------------------------------------------------- */

.band-ink {
  color: var(--ink);
  border-top: 0;
  background:
    linear-gradient(107deg,
      #7fd9f7 0%,
      #49c6f2 18%,
      #f27ebe 44%,
      #ee4ba8 58%,
      #ffe84d 84%,
      #fff200 100%);
}
.band-ink h2,
.band-ink h3 { color: var(--ink); }
.band-ink p  { color: #2b2724; }
.band-ink a  { color: var(--ink); text-decoration-color: rgba(35,31,32,.5); }

/* dots would be invisible against their own colour here */
.band.duo .duo-left h2::before,
.band.duo .duo-right h2::before,
.band.duo .duo-right .pair h3::before { background: var(--ink); }

.band.duo .invite,
.band.duo .pair + .invite { border-top-color: rgba(35,31,32,.25); }

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

.sitefoot { background: var(--tint); padding: 0; }

.sitefoot .closer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2.5rem);
  margin: 0;
  padding: clamp(2.25rem, 5vh, 3.25rem) var(--gutter);
  border-top: 0;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.sitefoot .closer h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
  margin: 0;
}
.sitefoot .closer .where {
  margin-left: auto;
  text-align: right;
  font-size: .9375rem;
  color: var(--muted);
}
.sitefoot .closer .where span { display: block; }

.foot-meta { padding: 2rem var(--gutter) 2.5rem; }
.foot-meta .row + .row { margin-top: 1rem; }

@media (max-width: 760px) {
  .sitefoot .closer .where { margin-left: 0; text-align: left; width: 100%; }
}

/* ==================================================================
   The four-colour rule runs sitewide, and the page header fades out
   of it rather than out of a single section colour.
   ================================================================== */

.masthead { border-bottom: 0; }

.process-rule {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
}
.process-rule span:nth-child(1) { background: #00AEEF; }
.process-rule span:nth-child(2) { background: #EC008C; }
.process-rule span:nth-child(3) { background: #FFF200; }
.process-rule span:nth-child(4) { background: var(--ink); }

/* the header band fades down out of the same four colours */
.page-head-band {
  border-top: 0;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.92) 55%,
      #fff 100%),
    linear-gradient(90deg,
      #00AEEF 0%,
      #EC008C 38%,
      #FFF200 72%,
      var(--ink) 100%);
}

/* home: nothing sits directly under the rule, so give it a little air */
body.home .statement { padding-top: clamp(1.6rem, 3.4vh, 2.8rem); }

/* Black belongs in the press bar but turns the fade grey, so the
   header wash runs cyan to magenta to yellow only. */
.page-head-band {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.70) 0%,
      rgba(255,255,255,.90) 55%,
      #fff 100%),
    linear-gradient(90deg,
      #00AEEF 0%,
      #EC008C 45%,
      #FFF200 100%);
}

/* ==================================================================
   The statement band gets the same treatment as every page header:
   the four-colour bar across the top, fading out beneath it. A
   saturated field behind body copy read as a blob.
   ================================================================== */

.band-ink {
  color: var(--ink);
  border-top: 0;
  background:
    /* the press bar, 5px across the top */
    linear-gradient(90deg,
      #00AEEF 0 25%, #EC008C 0 50%, #FFF200 0 75%, #231F20 0 100%)
      no-repeat top / 100% 5px,
    /* fading out below it */
    linear-gradient(180deg,
      rgba(255,255,255,.70) 0%,
      rgba(255,255,255,.90) 48%,
      #fff 78%),
    linear-gradient(90deg,
      #00AEEF 0%,
      #EC008C 45%,
      #FFF200 100%);
}
.band-ink h2,
.band-ink h3 { color: var(--ink); }
.band-ink p  { color: var(--ink); }
.band-ink a  { color: var(--ink); text-decoration-color: rgba(35,31,32,.5); }

/* the dots can carry their own colours again now the field is pale */
.band.duo .duo-left h2::before        { background: #00AEEF; }
.band.duo .duo-right h2::before       { background: #EC008C; }
.band.duo .duo-right .pair h3::before { background: var(--ink); }

/* ==================================================================
   Printed covers
   The magazines themselves, as they come off the press.
   ================================================================== */

.covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin: 2rem 0 0;
}
.covers.single { grid-template-columns: minmax(0, 20rem); }

.cover { margin: 0; }

.cover img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--tint);
  border: 1px solid rgba(35,31,32,.14);
  box-shadow:
    0 1px 2px rgba(35,31,32,.10),
    0 10px 22px -8px rgba(35,31,32,.28);
}

.cover figcaption { margin-top: .9rem; }
.cover figcaption strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
}
.cover figcaption .issue {
  display: block;
  font-family: var(--display);
  font-size: .875rem;
  color: var(--muted);
  margin-top: .1rem;
}
.cover figcaption p {
  margin: .5rem 0 0;
  font-size: .9375rem;
  color: var(--muted);
  max-width: none;
}

/* in a sidebar the covers stack one per row */
.page-aside .covers { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; margin-top: 0; }

@media (max-width: 1080px) {
  .page-aside .covers { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
}

/* ==================================================================
   Page header with artwork alongside
   ================================================================== */

.page-head-band .band-inner.with-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.page-head-band .head-art img {
  width: 100%;
  height: auto;
  display: block;
}
.page-head-band .with-art .lede { max-width: 32ch; }

@media (max-width: 1080px) {
  .page-head-band .band-inner.with-art { grid-template-columns: 1fr; }
  .page-head-band .head-art { margin-top: 1.5rem; }
}

/* ==================================================================
   Covers on the homepage, directly under the first screen
   ================================================================== */

.band-covers {
  border-top: 0;
  padding: clamp(2.5rem, 6vh, 4.5rem) var(--gutter) clamp(2rem, 4.5vh, 3.25rem);
  text-align: center;
}
.band-covers .band-inner { max-width: 56rem; }
.band-covers .covers-art {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.band-covers .covers-caption {
  max-width: none;
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}
.band-covers .covers-caption a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.band-covers .covers-caption a:hover { color: var(--accent); }

/* Covers tucked into the top of the colour band's left column, so the
   band carries the visual instead of a section of its own. */
.band.duo .covers-inset {
  width: 100%;
  max-width: 26rem;
  height: auto;
  display: block;
  margin: 0 0 1.75rem;
}

@media (max-width: 900px) {
  .band.duo .covers-inset { max-width: 100%; margin-bottom: 1.5rem; }
}

/* ==================================================================
   Production line
   Four stages, four process colours. The full-service story is the
   differentiator, and it reads faster as a line than as a paragraph.
   ================================================================== */

.band-pipeline { border-top: 0; }
.band-pipeline .band-inner { max-width: 68rem; }

.pipeline {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.pipeline > li {
  position: relative;
  margin: 0;
  padding: 1.5rem 1.25rem 1.6rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 5px solid var(--c);
}

/* the sheet moving from one stage to the next */
.pipeline > li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--gap, 1.75rem) * -1);
  width: clamp(1rem, 2vw, 1.75rem);
  height: 1px;
  background: var(--rule);
}
.pipeline > li:last-child::after { content: none; }

.pipeline .step-n {
  display: block;
  font-family: var(--display);
  font-size: .8125rem;
  letter-spacing: .08em;
  color: var(--c);
  margin-bottom: .55rem;
}
.pipeline h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1875rem;
  margin: 0 0 .4rem;
}
.pipeline p {
  margin: 0;
  max-width: none;
  font-size: .9375rem;
  color: var(--muted);
}

.pipeline-foot {
  margin: 1.75rem 0 0;
  font-family: var(--display);
  font-size: .9375rem;
}
.pipeline-foot a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.pipeline-foot a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline > li::after { content: none; }
}
@media (max-width: 520px) {
  .pipeline { grid-template-columns: 1fr; }
}

/* The connectors rendered as stray marks between cards; the sequence is
   already clear from the numbers. */
.pipeline > li::after { content: none; }
.pipeline > li { display: flex; flex-direction: column; }
.pipeline-foot { margin-top: 2rem; }

/* .band p outranked .pipeline-foot, so the link sat flush under the cards */
.band .pipeline-foot { margin: 2.25rem 0 0; max-width: none; }

/* Section artwork sits in the header band alongside the heading */
.section-art {
  width: 100%;
  max-width: 30rem;
  height: auto;
  display: block;
  margin-left: auto;
}
@media (max-width: 1080px) {
  .section-art { max-width: 24rem; margin: 0; }
}

/* ==================================================================
   What we offer, in one line
   ================================================================== */

.band-line { border-top: 0; padding-bottom: clamp(2rem, 4.5vh, 3rem); }
.band-line .band-inner { max-width: 64rem; }

.flowline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.flowline > li {
  margin: 0;
  padding: 1rem 0 0;
  border-top: 5px solid var(--c);
}
.flowline span {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink);
}
.flowline em {
  display: block;
  font-style: normal;
  font-size: .875rem;
  color: var(--muted);
  margin-top: .2rem;
}

.band .flowline-foot {
  margin: 1.75rem 0 0;
  max-width: none;
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}
.band .flowline-foot a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.band .flowline-foot a:hover { color: var(--accent); }

/* credentials */
.creds {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.75rem;
  font-family: var(--display);
  font-size: .9375rem;
  color: var(--muted);
}
.creds li { margin: 0; }
.creds strong { color: var(--ink); font-weight: 500; margin-right: .3rem; }

@media (max-width: 760px) {
  .flowline { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

/* ==================================================================
   The offer, over the press image
   Dark image behind, service words over it. The scrim keeps the type
   readable without flattening the ink burst.
   ================================================================== */

.band-offer {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-top: 0;
  padding-block: clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}
.band-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
      url("media/offer-band.jpg") 1x);
  background-image: url("media/offer-band.jpg");
  background-size: cover;
  background-position: 62% center;
}
.band-offer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(14,12,13,.94) 0%,
    rgba(14,12,13,.84) 32%,
    rgba(14,12,13,.42) 58%,
    rgba(14,12,13,.18) 100%);
}
.band-offer .band-inner { position: relative; z-index: 1; }

.band-offer .flowline > li { border-top-color: var(--c); }
.band-offer .flowline span { color: #fff; }
.band-offer .flowline em { color: rgba(255,255,255,.72); }

.band-offer .flowline-foot { color: rgba(255,255,255,.75); }
.band-offer .flowline-foot a { color: #fff; text-decoration-color: var(--accent); }
.band-offer .flowline-foot a:hover { color: #fff; }

.band-offer .creds {
  border-top-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.72);
}
.band-offer .creds strong { color: #fff; }

@media (max-width: 760px) {
  .band-offer::after {
    background: linear-gradient(180deg,
      rgba(14,12,13,.90) 0%,
      rgba(14,12,13,.80) 60%,
      rgba(14,12,13,.62) 100%);
  }
}

/* The flowline runs the full width, so the scrim has to hold further
   right than a left-aligned headline would need. */
.band-offer::after {
  background:
    linear-gradient(180deg, rgba(14,12,13,.55) 0%, rgba(14,12,13,.25) 45%, rgba(14,12,13,.55) 100%),
    linear-gradient(100deg,
      rgba(14,12,13,.95) 0%,
      rgba(14,12,13,.88) 45%,
      rgba(14,12,13,.70) 72%,
      rgba(14,12,13,.35) 100%);
}
.band-offer .flowline em { color: rgba(255,255,255,.82); }
.band-offer .flowline span,
.band-offer .creds strong { text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ==================================================================
   Offer band, revised
   The text was spread the full width, so the scrim had to cover the
   whole image to stay readable. Text now sits in the left half and
   the image runs clean on the right.
   ================================================================== */

.band-offer {
  min-height: clamp(26rem, 46vh, 34rem);
  display: flex;
  align-items: center;
}
.band-offer::before { background-position: 72% center; }

.band-offer::after {
  background: linear-gradient(97deg,
    rgba(12,10,11,.95) 0%,
    rgba(12,10,11,.92) 34%,
    rgba(12,10,11,.72) 46%,
    rgba(12,10,11,.22) 56%,
    rgba(12,10,11,0) 66%);
}

.band-offer .band-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
}

/* two across instead of four, so it stays in the dark half */
.band-offer .flowline {
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
.band-offer .creds { gap: .5rem 1.75rem; }

@media (max-width: 900px) {
  .band-offer { min-height: 0; }
  .band-offer .band-inner { grid-template-columns: 1fr; }
  .band-offer::before { background-position: 62% center; }
  .band-offer::after {
    background: linear-gradient(180deg,
      rgba(12,10,11,.93) 0%,
      rgba(12,10,11,.86) 55%,
      rgba(12,10,11,.74) 100%);
  }
}

/* All three blocks belong in the dark column; grid auto-placement was
   dropping the strapline into column two, over the image. */
.band-offer .band-inner > * { grid-column: 1; }
.band-offer .creds { margin-top: 1.25rem; padding-top: 1.25rem; }

/* ==================================================================
   Revision — 2026-11-16
   The homepage had become five full-width bands, each with its own
   background. Read as slabs glued together. One continuous surface
   now; separation comes from space and rules, not from changing the
   ground underfoot.
   ================================================================== */

.homepage-body {
  padding: clamp(3rem, 7vh, 5rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
}
.hb-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hb-statement h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 .8rem;
  display: flex;
  align-items: baseline;
  gap: .7rem;
}
.hb-statement:nth-child(1) h2::before,
.hb-statement:nth-child(2) h2::before {
  content: "";
  flex: none;
  width: .5rem; height: .5rem;
  border-radius: 50%;
}
.hb-statement:nth-child(1) h2::before { background: #00AEEF; }
.hb-statement:nth-child(2) h2::before { background: #EC008C; }
.hb-statement p { max-width: 36ch; margin: 0 0 1rem; }
.hb-statement p:last-child { margin-bottom: 0; }

.hb-inner .creds {
  grid-column: 1 / -1;
  margin-top: clamp(.5rem, 2vh, 1.5rem);
}

/* ---- dropdown navigation ---------------------------------------- */

.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2.1vw, 2rem);
  align-items: center;
}
.nav > ul > li { margin: 0; position: relative; }

.subnav {
  position: absolute;
  top: 100%;
  left: -1rem;
  z-index: 40;
  min-width: 16rem;
  margin: 0;
  padding: .5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 28px -12px rgba(35,31,32,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .13s, transform .13s, visibility .13s;
}
.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* a gap between trigger and panel would drop the hover */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .75rem; }

.subnav li { margin: 0; }
.subnav a {
  display: block;
  padding: .5rem 1.1rem;
  white-space: nowrap;
  border-bottom: 0;
}
.subnav a:hover,
.subnav a:focus-visible { background: var(--tint); color: var(--accent); border-bottom: 0; }

@media (max-width: 900px) {
  .nav > ul { flex-wrap: nowrap; }
  /* no hover on touch; the parent link still reaches the section index */
  .subnav { display: none; }
}

/* Everything on the homepage shares one left edge: the headline, the
   categories, the statements, the credentials and the footer. */
.hb-inner {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
}
.hb-statement p { max-width: 42ch; }
.hb-statement h2 { max-width: 22ch; }

@media (max-width: 760px) {
  .hb-inner { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ==================================================================
   What we print — the publications themselves
   Cutouts on transparent ground, sitting on the page rather than in
   boxes. The colour rule became a short underline beneath the label.
   ================================================================== */

.verticals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  border-top: 0;
  margin: 0 var(--gutter);
  align-items: end;
}

.verticals a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: .9rem;
  padding: 0;
  border: 0;
  text-decoration: none;
  overflow: visible;
}
.verticals a::before,
.verticals a::after { content: none; }

.verticals img {
  width: 100%;
  max-width: 15rem;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(35,31,32,.18));
  transform: translateY(0);
  transition: transform .22s ease, filter .22s ease;
}
.verticals a:hover img {
  transform: translateY(-5px);
  filter: drop-shadow(0 16px 26px rgba(35,31,32,.24));
}

.verticals span {
  font-family: var(--display);
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.25;
  color: var(--ink);
  padding-bottom: .55rem;
  border-bottom: 3px solid var(--c);
}
.verticals a:hover span { color: var(--c); }

@media (max-width: 760px) {
  .verticals { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}

/* The four cutouts have different native proportions, so cap them to a
   common height and sit them on a shared baseline instead of scaling
   each to the column width. */
.verticals img {
  width: auto;
  max-width: 100%;
  height: clamp(5.5rem, 10vh, 8.5rem);
  object-fit: contain;
  object-position: left bottom;
}
.verticals a { gap: 1rem; }
.verticals span { border-bottom-width: 3px; }

/* The category row was ending exactly on the fold, so the coloured
   underline read as cut off. The video row absorbs the difference. */
.verticals { padding-bottom: clamp(1.25rem, 3vh, 2.25rem); }

/* ==================================================================
   Revision — paper ground
   The rainbow fades fought the press footage, and flat white read as
   empty. The page now sits on a warm paper tone, with each section's
   colour carried structurally — the rule, the dots, the underlines —
   rather than as a wash behind the text.
   ================================================================== */

:root {
  --paper: #f4f2ee;   /* the ground: uncoated stock */
  --sheet: #ffffff;   /* content sitting on it */
  --rule:  #dcd8d1;
  --tint:  #eae7e1;
}

body { background: var(--paper); }

.masthead { background: var(--sheet); }

/* header bands: a sheet on the desk, with the section colour as its edge */
.page-head-band {
  background: var(--sheet);
  border-bottom: 1px solid var(--rule);
  border-top: 0;
  position: relative;
}
.page-head-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--accent);
}

/* interior body sits on the paper ground */
.page { background: transparent; }

/* homepage */
body.home .statement,
.homepage-body { background: transparent; }
.reel { border: 1px solid var(--rule); }

/* footer: back to the sheet, so the page closes on white */
.sitefoot { background: var(--sheet); border-top: 1px solid var(--rule); }
.sitefoot .closer { background: transparent; border-bottom: 1px solid var(--rule); }
.foot-meta { background: var(--tint); margin-top: 0; }

/* components that were assuming a white ground */
.cover img,
.pipeline > li { background: var(--sheet); }
.spec-table th, .spec-table td { border-bottom-color: var(--rule); }
.subnav { background: var(--sheet); }
.callout, .pending { background: var(--tint); }

/* category cutouts in the page header */
.cat-art {
  width: 100%;
  max-width: 22rem;
  height: auto;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 12px 22px rgba(35,31,32,.16));
}
@media (max-width: 1080px) {
  .cat-art { max-width: 16rem; margin: 0; }
}

/* One container for every page: the header band and the body below it
   share a left edge, as the homepage already does. */
.page-inner,
.page-head-band .band-inner {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}
.page-inner:not(.with-aside) > * { max-width: 47rem; }
.page-inner:not(.with-aside) > .facts { max-width: none; }

/* ==================================================================
   Category row, revised
   Centred, and pulled in tight. Spread across the full gutter the four
   read as a thin list; grouped, they read as a body of work.
   ================================================================== */

.verticals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 1.4vw, 1.25rem);
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  align-items: end;
}

.verticals a {
  align-items: center;
  text-align: center;
  gap: .85rem;
}

.verticals img {
  height: clamp(6rem, 11vh, 9.5rem);
  object-position: center bottom;
  margin: 0 auto;
}

.verticals span {
  border-bottom: 0;
  position: relative;
  padding-bottom: .6rem;
  max-width: 11rem;
}
.verticals span::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 3px;
  background: var(--c);
  transition: width .2s ease;
}
.verticals a:hover span::after { width: 3.75rem; }

@media (max-width: 760px) {
  .verticals { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
}

/* The publications were reading as thumbnails. They're the proof on this
   page, so they get real size; the video row absorbs it. */
.verticals {
  max-width: 68rem;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.verticals img { height: clamp(9rem, 19vh, 15rem); }
.verticals span { font-size: clamp(.9375rem, 1.2vw, 1.0625rem); max-width: 12rem; }

/* Bigger again. */
.verticals { max-width: 74rem; }
.verticals img { height: clamp(11rem, 25vh, 19rem); }
