/* Qualiscapes — NRP 81
 *
 * A white broadsheet interrupted by black plates. The chrome is achromatic on
 * purpose: every colour on these pages comes from the research imagery — the
 * colourised LiDAR, the acoustic intensity maps, the embedding manifolds — and
 * a coloured interface would compete with it. The one exception is the focus
 * ring, which has to be seen.
 *
 * Three typefaces, three jobs:
 *   Liberation Sans Narrow  the wordmark and page titles
 *   Inter                   headlines and reading text
 *   Noto Sans Mono          the survey line, captions, nav, language switcher
 *
 * The survey line — date · place · technique, set in mono — borrows the
 * grammar the team already uses on its own filenames.
 */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Narrow";
  src: url("../fonts/LiberationSansNarrow-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Narrow";
  src: url("../fonts/LiberationSansNarrow-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Mono";
  src: url("../fonts/NotoSansMono-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */

:root {
  --paper: #ffffff;
  --ink: #101010;
  --plate: #0a0a0a;
  --rule: #d7d7d7;
  --rule-strong: #101010;
  --muted: #6e6e6e;      /* 5.0:1 on paper */
  --wash: #f4f4f4;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --narrow: "Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(1rem, 3.5vw, 3rem);
  --measure: 68ch;
  --page: 1560px;

  --gap: clamp(1.5rem, 3vw, 2.75rem);
  --block: clamp(3rem, 7vw, 6rem);

  color-scheme: light;
}

/* The black plates are the whole point of the light ground; inverting the
 * page would flatten them into it. Light only, deliberately. */

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

html {
  -webkit-text-size-adjust: 100%;
  font-synthesis-weight: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: "kern", "liga", "cv05";
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  z-index: 100;
}
.skip:focus { left: 0; }

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

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

/* the brand bar scrolls away; only the section nav stays pinned */
.masthead__bar--brand { align-items: baseline; padding-top: 1.1rem; }

.masthead__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
}

.masthead__bar--nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  padding-top: 0.5rem;
  padding-bottom: 0.55rem;
}

/* The wordmark spans half the content width: the brand is the masthead.
 * 11 characters of Liberation Sans Narrow Bold at 0.06em tracking run to
 * about 7.1em, so half of the content column (page 1560 minus gutters)
 * needs roughly a 96px em at full width; the vw slope keeps that ratio on
 * the way down. */
.wordmark {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(1.8rem, 7.2vw, 6.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 0.9;
  margin: 0;
}
.wordmark a { color: inherit; text-decoration: none; }

/* language switcher — the active language is filled, not coloured */
.lang { display: flex; gap: 0.25rem; }

.lang__item {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border: 1px solid transparent;
  line-height: 1;
}
.lang__item:hover { border-color: var(--rule); }
.lang__item.is-current {
  background: var(--ink);
  color: var(--paper);
}

.nav { display: flex; flex-wrap: wrap; gap: clamp(0.9rem, 2.5vw, 1.75rem); }

.nav__item {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav__item:hover { border-bottom-color: var(--ink); }
.nav__item.is-current { border-bottom-color: var(--ink); }

.programme {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: right;
}

/* translated pages carry a standing note until the team has read them */
.review-notice {
  margin: 0;
  padding: 0.5rem var(--gutter);
  background: var(--wash);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}

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

main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--block);
}

section { margin-top: var(--block); }

/* a heading that sits on a full-width hairline, e-flux's section marker */
.rule-h {
  margin: 0 0 var(--gap);
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-title {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0 0 var(--gap);
}

/* -------------------------------------------------------------- standfirst */

.standfirst { margin-top: clamp(2rem, 5vw, 3.5rem); }

.standfirst__title {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 6.4vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}

.standfirst__text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  max-width: 52ch;
  letter-spacing: -0.012em;
}
.standfirst__text p { margin: 0 0 1em; }
.standfirst__text p:last-child { margin-bottom: 0; }

.standfirst__more, .more {
  margin: 1.25rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.standfirst__more a, .more a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.standfirst__more a::after, .more a::after { content: " \2192"; }
.standfirst__more a:hover, .more a:hover { background: var(--wash); }

/* ------------------------------------------------------------------- feed */

/* Three to a row, and the thumbnails share one crop, so the survey lines and
 * headlines land on the same baselines across the row. That alignment is what
 * makes a dense feed readable rather than merely full. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--block) clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: var(--gap);
}

.card { display: flex; flex-direction: column; }

.card__link { display: block; text-decoration: none; }
.card__link:hover .card__title { background: var(--wash); }

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

/* a card whose entry has no picture yet still holds its place in the row */
.fig--thumb--empty {
  aspect-ratio: 4 / 3;
  background: var(--wash);
}

.card--lead { margin-bottom: var(--block); }
/* The lead keeps its picture's own proportions — several of these renders are
 * panoramic, and forcing them into a fixed frame either bars them or crops the
 * composition away. Only the 3-up thumbnails below share a crop. */
.card--lead .fig--thumb img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 66vh;
}
.card--lead .card__title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.06;
}
.card--lead .card__deck {
  font-size: 1.0625rem;
  max-width: 62ch;
}

.card__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.014em;
  margin: 0.15rem 0 0;
  text-wrap: balance;
}

.card__deck {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.card__deck p { margin: 0; }

/* the survey line: date · place · technique */
.meta {
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta__sep { margin: 0 0.5em; }

/* ------------------------------------------------------------------ sites */

.sites__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--gap) clamp(1.25rem, 2.5vw, 2.25rem);
}

.site-card__name {
  font-family: var(--narrow);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin: 0.8rem 0 0.1rem;
}

.site-card__scale {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------------------------------------------------- entries */

.group { margin-top: var(--block); }

.group__h {
  margin: 0 0 var(--gap);
  padding-top: 0.6rem;
  border-top: 2px solid var(--rule-strong);
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  scroll-margin-top: 8rem;
}


/* The survey line goes in the margin, where a field note belongs, and the
 * article keeps its measure beside it. The pictures ignore both and run the
 * full width. */
.entry {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
  padding-top: var(--gap);
  border-top: 1px solid var(--rule);
  margin-bottom: var(--block);
  scroll-margin-top: 8rem;
}

.entry__head { grid-column: 1; }
.entry__main { grid-column: 2; }
.entry .plates { grid-column: 1 / -1; }

.meta--stacked {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.meta--stacked li { margin-bottom: 0.2em; }

.entry__title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0 0 0.9rem;
  max-width: 26ch;
  text-wrap: balance;
}

.entry__body {
  max-width: var(--measure);
  font-size: 1.0625rem;
  line-height: 1.62;
}
.entry__body p { margin: 0 0 1em; }
.entry__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- pictures */

/* Marquee images own their row at natural aspect. Every other picture is a
 * tile: one crop, three to a row, and the builder balances the rows so each
 * one is full (3+1 becomes 2+2). */
.plates { margin-top: var(--gap); }

.tile-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
  margin-top: clamp(1rem, 2vw, 1.75rem);
}
.plates > .fig { margin-top: clamp(1rem, 2vw, 1.75rem); }
.plates > :first-child { margin-top: 0; }

.tile-row .fig img,
.tile-row .fig video {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.fig { margin: 0; }

/* Media rendered on black gets a black ground so it bleeds into its frame
 * instead of sitting in a lit box. Whether a file is dark is measured at
 * build time, not declared. */
.fig--plate img,
.fig--plate video {
  background: var(--plate);
  width: 100%;
}

/* Every marquee, on every page, is the same frame: full column width at
 * 16:9, filled edge to edge. What the crop hides, the lightbox shows. */
.plates > .fig img,
.plates > .fig video {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.zoomable img { cursor: zoom-in; }

.cap {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75em;
}
.cap__credit::before { content: "\00a9\00a0"; }

/* ------------------------------------------------------------------- rail */

.rail__list { list-style: none; margin: 0; padding: 0; }

.rail__item { border-top: 1px solid var(--rule); }
.rail__item:last-child { border-bottom: 1px solid var(--rule); }

.rail__item a {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: 0 1.5rem;
  align-items: baseline;
  padding: 0.85rem 0;
  text-decoration: none;
}
.rail__item a:hover { background: var(--wash); }

.rail__date, .rail__place {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.rail__title { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }

/* ------------------------------------------------------------------- team */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: var(--block) clamp(1.5rem, 3vw, 3rem);
}

.person { border-top: 1px solid var(--rule); padding-top: 0.9rem; }

/* Portraits arrive as uniform derivatives: square, one size, greyscale baked
 * in by the build, so every face on the page carries identical treatment. */
.person__photo {
  margin: 0 0 0.9rem;
  max-width: 200px;
}
.person__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person__photo--empty {
  aspect-ratio: 1;
  background: var(--wash);
}

.person__name {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

.person__role,
.person__aff {
  margin: 0.25rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--muted);
}

.person__bio {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.person__bio p { margin: 0 0 0.8em; }
.person__bio p:last-child { margin-bottom: 0; }

.person__links {
  margin: 0.8rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
}

/* an entry still waiting on its author, visible to the team, quiet to a reader */
.person[data-todo] { border-top-style: dashed; }
.person__pending { color: var(--muted); font-style: italic; }
.person__role:empty, .person__aff:empty { display: none; }

/* ---------------------------------------------------------------- contact */

.lede { margin-top: clamp(2rem, 5vw, 3.5rem); }
.lede__text {
  max-width: var(--measure);
  font-size: 1.125rem;
  line-height: 1.6;
}
.lede__text p { margin: 0 0 1em; }
.lede__text p:last-child { margin-bottom: 0; }

/* The standing pages (Project, Places, Research methods, News, Contact):
 * the description is set apart from the title by a short rule the width of
 * the text column, justified, and given a block of air before the content
 * begins. */
.lede--set { margin-bottom: var(--block); }
.lede__text--set {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule);
  text-align: justify;
  hyphens: auto;
}

.contact-grid {
  margin-top: var(--block);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--gap) clamp(1.5rem, 3vw, 3rem);
}

.contact-block { margin-top: 0; border-top: 1px solid var(--rule); padding-top: 0.9rem; }

.contact-block__h {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-block__body { font-size: 0.9375rem; line-height: 1.55; }
.contact-block__body p { margin: 0 0 0.8em; }
.contact-block__body p:last-child { margin-bottom: 0; }
.contact-block__body a { text-underline-offset: 2px; }

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

.footer {
  border-top: 1px solid var(--rule-strong);
  margin-top: var(--block);
}

.footer__grid {
  max-width: var(--page);
  margin: 0 auto;
  padding: var(--gap) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--gap) clamp(1.5rem, 3vw, 3rem);
}

.footer__h {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__block { font-size: 0.875rem; line-height: 1.55; }
.footer__block p { margin: 0 0 0.7em; }
.footer__block p:last-child { margin-bottom: 0; }

.footer__legal {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--gap);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* -------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.94);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  cursor: zoom-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

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

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

@media (max-width: 900px) {
  .standfirst { grid-template-columns: 1fr; }
  .rail__item a { grid-template-columns: 1fr; gap: 0.15rem; }
  .rail__place { grid-row: 3; }
}

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

@media (max-width: 700px) {
  .tile-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
  .entry { grid-template-columns: minmax(0, 1fr); }
  .entry__head, .entry__main { grid-column: 1; }
  .entry__head { margin-bottom: 0.9rem; }
  .meta--stacked { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
}

@media (max-width: 620px) {
  .masthead__bar--nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .programme { text-align: left; }
  .nav { gap: 1rem; }
  .entry__title { max-width: none; }
}

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

@media print {
  .masthead, .footer, .review-notice, .skip { display: none; }
  body { font-size: 10pt; }
  .fig--plate img { background: none; }
}

/* ------------------------------------------------------- tasks and techniques */

/* The index on the Project page. Same grid as the feed so the two pages share
 * a rhythm, but the cards carry a deck rather than a date: these are standing
 * parts of the project, not things that happened on a day. */
.facets__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--block) clamp(1.25rem, 2.5vw, 2.25rem);
}

.facet-card { display: flex; flex-direction: column; }

.facet-card__link { display: block; text-decoration: none; }
.facet-card__link:hover .facet-card__title { background: var(--wash); }

.facet-card__title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.014em;
  margin: 0.85rem 0 0;
  text-wrap: balance;
}

.facet-card__deck {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.facet-card__deck p { margin: 0; }

.facet-card__count {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.research__text {
  max-width: var(--measure);
  font-size: 1.0625rem;
  line-height: 1.62;
}
.research__text p { margin: 0 0 1em; }
.research__text p:last-child { margin-bottom: 0; }

/* a sub-page says which section it belongs to before it says its own name */
.lede__kicker {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede__kicker a { color: inherit; text-decoration: none; }
.lede__kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-title--facet { font-size: clamp(2rem, 6vw, 4rem); }

.empty-note {
  color: var(--muted);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
}

.pending { color: var(--muted); font-style: italic; }

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

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

/* ------------------------------------------------ the Project page */

/* One row of places, then the methods as a list. The page is an index, so it
 * reads as one: pictures for where, a table of contents for how. */
.places-row__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap) clamp(1.25rem, 2.5vw, 2.25rem);
}

.place-card__link { display: block; text-decoration: none; }
.place-card__link:hover .place-card__title { background: var(--wash); }

.place-card__title {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 0.8rem 0 0.15rem;
}

.place-card__scale {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.methods__list { list-style: none; margin: 0; padding: 0; }

.methods__item { border-top: 1px solid var(--rule); }
.methods__item:last-child { border-bottom: 1px solid var(--rule); }

/* the image sits at exactly the width a Places card's image takes in its
 * three-column row of this same content width and column-gap, so the two
 * lists share one true scale */
.methods__item a {
  display: grid;
  grid-template-columns: calc((100% - 2 * clamp(1.25rem, 2.5vw, 2.25rem)) / 3) 1fr;
  align-items: center;
  column-gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding: 1.1rem 0;
  text-decoration: none;
}
.methods__item a:hover { background: var(--wash); }
.methods__item a:hover .methods__name { text-decoration: underline; text-underline-offset: 4px; }

.methods__thumb { margin: 0; }

.methods__name {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: right;
}

@media (max-width: 700px) {
  .places-row__grid { grid-template-columns: minmax(0, 1fr); }
  .methods__item a {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.6rem;
  }
}

/* --------------------------------------------------------- a demonstrator */

.place__scale {
  margin: 0 0 var(--gap);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.place__meta {
  margin-top: var(--block);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--gap) clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.place__h {
  margin: 0 0 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.place__interest p {
  margin: 0 0 0.8em;
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 52ch;
}

@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .place__meta { grid-template-columns: minmax(0, 1fr); }
}
