/* ==========================================================================
   MedLink — components
   Order follows the page: masthead, hero, figures, audiences, journey,
   band, team, contact, footer.
   ========================================================================== */

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--mid) var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--rule); }

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark__by {
  display: block;
  font-family: var(--text);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__link {
  font-size: var(--t-small);
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--sage); }

.nav__cta {
  font-size: var(--t-small);
  color: var(--paper);
  background: var(--band);
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--fast) var(--ease);
}
.nav__cta:hover { background: var(--sage-deep); color: var(--paper); }

.burger {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.26rem auto;
  background: var(--ink);
  transition: transform var(--mid) var(--ease), opacity var(--fast) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.27rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.27rem) rotate(-45deg); }

.drawer {
  display: none;
  position: fixed;
  inset: 4.5rem 0 auto;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 1rem var(--gutter) 2rem;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}
.drawer a:last-child { border-bottom: 0; color: var(--sage-deep); }

@media (max-width: 62rem) {
  .nav { display: none; }
  .burger { display: block; }
}

/* ---- hero ---------------------------------------------------------------- */

.hero { position: relative; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) 0; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.8rem;
}
.hero__eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--sage);
}

.hero h1 { max-width: 16ch; }

/* The one flourish on the headline: a drawn stroke under the load-bearing
   word, the way you would underline it reading the brief with a pen. */
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.055em;
  background: var(--sage);
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: 2px;
}
.js-motion .hero h1 em::after { transition: transform 900ms var(--ease) 520ms; }
.hero.is-in h1 em::after { transform: scaleX(1); }

.hero__lead {
  max-width: 44rem;
  margin-top: 1.9rem;
  font-size: var(--t-lead);
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.btn {
  display: inline-block;
  font-family: var(--text);
  font-size: var(--t-small);
  font-weight: 500;
  padding: 0.82rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}
.btn--solid { background: var(--band); color: var(--paper); }
.btn--solid:hover { background: var(--sage-deep); color: var(--paper); }
.btn--line { border-color: var(--wash-edge); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--sage); color: var(--ink); }

/* ---- encounter field (hero canvas) --------------------------------------- */

.field {
  position: relative;
  margin-top: clamp(3rem, 1.5rem + 5vw, 5.5rem);
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
}
.field__canvas {
  display: block;
  width: 100%;
  height: clamp(190px, 26vw, 330px);
  touch-action: pan-y;
}
.field__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--ink-faint);
  padding-top: 0.9rem;
}

/* ---- prose blocks -------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: start;
}
@media (max-width: 54rem) { .split { grid-template-columns: 1fr; } }

.split__aside { position: sticky; top: 6.5rem; }
@media (max-width: 54rem) { .split__aside { position: static; } }

.pull-block {
  margin-top: 2.6rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--sage);
}

/* ---- count figure -------------------------------------------------------- */

.figure {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--wash);
  border: 1px solid var(--wash-edge);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.4rem);
}

.figure__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

/* Segmented control. Radios under the hood so it works with a keyboard and
   with JS off. */
.toggle { position: relative; display: inline-flex; background: var(--paper); border: 1px solid var(--wash-edge); border-radius: var(--radius); padding: 3px; }
/* The radios are the real control; the labels are what you see. Positioned
   against .toggle so they cannot escape and disturb layout elsewhere. */
.toggle input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.toggle label {
  display: block;
  padding: 0.52rem 1rem;
  font-size: var(--t-small);
  color: var(--ink-soft);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.toggle input:checked + label { background: var(--band); color: var(--paper); }
.toggle input:focus-visible + label { outline: 2px solid var(--sage); outline-offset: 2px; }

/* On a phone the two labels side by side are wider than the screen: let the
   control take the full width and split it evenly, wrapping if it must. */
@media (max-width: 34rem) {
  .figure__head > * { min-width: 0; }
  .toggle { display: flex; width: 100%; }
  .toggle label {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    text-align: center;
    padding: 0.6rem 0.5rem;
    line-height: 1.3;
  }
}

.marks {
  position: relative;
  width: 100%;
  height: clamp(240px, 32vw, 380px);
  /* count-figure.js grows this when the labelled groups need more room. */
  transition: height var(--slow) var(--ease);
}
.mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mark-neutral);
  will-change: transform;
  transition: transform var(--slow) var(--ease), background-color var(--mid) var(--ease);
}

.cluster-label {
  position: absolute;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transform: translate(-50%, 0);
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
  pointer-events: none;
}
.cluster-label b { display: block; color: var(--ink); font-weight: 600; }
.marks[data-state="reason"] .cluster-label { opacity: 1; }

.figure__read {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--wash-edge);
  max-width: 46rem;
}
.figure__read p { font-size: var(--t-small); }
.figure__read [data-read] { display: none; }
.figure__read [data-read].is-on { display: block; }

/* ---- audiences ----------------------------------------------------------- */

.rail {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.6rem;
  margin-bottom: 2.4rem;
  -webkit-overflow-scrolling: touch;
}
.rail button {
  flex: 0 0 auto;
  font-family: var(--text);
  font-size: var(--t-small);
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 0.5rem 1.05rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.rail button:hover { border-color: var(--sage); color: var(--ink); }
.rail button[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: var(--paper); }

.audiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.audience {
  background: var(--paper);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  transition: opacity var(--mid) var(--ease), background var(--mid) var(--ease);
}
/* The seventh reader closes the grid across its full width, so an odd count
   never leaves empty cells beside it. */
.audience--wide { grid-column: 1 / -1; }
/* Dimmed, never hidden: a reviewer who wants to read every card still can. */
.audiences.is-filtered .audience { opacity: 0.34; }
.audiences.is-filtered .audience.is-active { opacity: 1; background: var(--wash); }

.audience__who {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
}
.audience__where {
  display: block;
  font-family: var(--text);
  font-size: 0.8125rem;
  color: var(--sage);
  margin-bottom: 1.1rem;
}
.audience li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.8rem;
  font-size: var(--t-small);
  line-height: 1.62;
}
.audience li:last-child { margin-bottom: 0; }
.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}
.audience strong { color: var(--ink); font-weight: 600; }

/* ---- journey ------------------------------------------------------------- */

.journey { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

/* The diagram has a floor below which its labels stop being legible, so on a
   phone it scrolls sideways inside its own box rather than shrinking to
   nothing. The page itself never scrolls horizontally. */
.journey__scroll { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 0.4rem; }
.journey__svg { display: block; width: 100%; min-width: 34rem; height: auto; overflow: visible; }

.journey__svg .j-live   { stroke: var(--sage); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.journey__svg .j-branch { stroke: var(--mark-c); stroke-width: 2; fill: none; stroke-dasharray: 5 6; stroke-linecap: round; }
.journey__svg .j-node   { fill: var(--paper); stroke: var(--mark-neutral); stroke-width: 2; }
.journey__svg .j-node--live { stroke: var(--sage); }
.journey__svg .j-node--open { stroke: var(--mark-c); stroke-dasharray: 4 4; }
.journey__svg .j-dot    { fill: var(--sage); }
.journey__svg .j-place  { font-family: var(--text); font-size: 13px; fill: var(--ink); font-weight: 500; }
.journey__svg .j-meta   { font-family: var(--text); font-size: 11.5px; fill: var(--ink-faint); }
.journey__svg .j-open   { font-family: var(--text); font-size: 11.5px; fill: #a8703f; font-weight: 500; }

/* The line-drawing is set up by journey.js, which only touches the paths when
   motion is allowed. Dots and the dead-end branch fade with it. */
.js-motion .journey__svg .j-dot,
.js-motion .journey__svg .j-branch { opacity: 0; transition: opacity var(--mid) var(--ease); }
.js-motion .journey.is-drawn .journey__svg .j-dot { opacity: 1; }
.js-motion .journey.is-drawn .journey__svg .j-branch { opacity: 1; transition-delay: 620ms; }

.journey__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.4rem;
  font-size: var(--t-small);
  color: var(--ink-faint);
}
.journey__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.journey__legend i { display: inline-block; width: 1.6rem; height: 0; border-top: 2px solid var(--rule); }
.journey__legend i.is-live { border-color: var(--sage); }
.journey__legend i.is-open { border-top-style: dashed; border-color: var(--mark-c); }
.journey__legend i.is-ring {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--mark-neutral);
  border-radius: 50%;
}

/* ---- causes: three things that look the same ----------------------------- */

.causes { margin-top: clamp(2.2rem, 1.2rem + 3vw, 3.4rem); }

.causes__pick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.causes__pick button {
  font-family: var(--text);
  font-size: var(--t-small);
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease),
              background var(--fast) var(--ease);
}
.causes__pick button:hover { border-color: var(--sage); color: var(--ink); }
.causes__pick button[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: var(--paper); }

.causes__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 52rem) { .causes__panel { grid-template-columns: 1fr; } }

.causes__record,
.causes__truth { background: var(--paper); padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }

/* The constant side. Recessed, because the point is that it never moves. */
.causes__record { background: var(--wash); }
.causes__same {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.causes__name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-bottom: 1.3rem;
}
.causes__truth .label:not(:first-child) { margin-top: 1.5rem; }
.causes__truth p { font-size: var(--t-small); margin-bottom: 0; }
.causes__truth article[hidden] { display: none; }

/* Without JS every panel shows, so they need separating from one another. */
.causes__truth article + article {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

/* ---- coverage ------------------------------------------------------------ */

.coverage {
  margin: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0 0;
  display: grid;
  gap: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}
/* Grid children default to min-width:auto, which lets a long strip push the
   page sideways. This is the fix. */
.coverage__row { min-width: 0; }
.coverage__head { margin-bottom: 0.9rem; max-width: 42rem; }
.coverage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11px, 1fr));
  gap: 4px;
}
.coverage .cell {
  aspect-ratio: 1;
  border-radius: 2px;
  border: 1px solid var(--wash-edge);
  background: transparent;
}
.coverage .cell.is-observed { background: var(--mark-neutral); border-color: transparent; }
.coverage .cell.is-sampled  { background: var(--sage); border-color: transparent; }
.coverage .cell.is-flagged  { background: var(--mark-c); border-color: transparent; }

.js-motion .coverage .cell { opacity: 0; transition: opacity var(--mid) var(--ease); }
.js-motion .coverage.is-in .cell { opacity: 1; }

/* ---- the boundary note --------------------------------------------------- */

.boundary {
  border-left: 2px solid var(--sage);
  padding-left: 1.5rem;
}
.boundary p { font-size: var(--t-lead); line-height: 1.6; margin-bottom: 0; }
.boundary strong { color: var(--ink); font-weight: 600; }

/* ---- constraints band ---------------------------------------------------- */

.band {
  background: var(--band);
  color: var(--band-soft);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem);
}
.band h2 {
  color: var(--paper);
  max-width: 20ch;
  font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.9rem);
}
.band .lead { color: var(--band-soft); }
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: end;
}
@media (max-width: 54rem) { .band__grid { grid-template-columns: 1fr; align-items: start; } }

.band__rules { margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.band__rules li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--paper);
  font-size: var(--t-lead);
  font-family: var(--display);
  font-weight: 420;
  letter-spacing: -0.01em;
}

/* ---- where this goes ----------------------------------------------------- */

.stack { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.claim {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 0.6rem + 2vw, 2.6rem);
  align-items: start;
}
@media (max-width: 42rem) { .claim { grid-template-columns: 1fr; gap: 0.9rem; } }

.claim__marker {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  padding-top: 0.55em;
  white-space: nowrap;
}

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

.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 1.6rem clamp(0.9rem, 0.4rem + 1.2vw, 1.6rem);
  margin-top: 2.2rem;
}
.person { text-align: left; min-width: 0; outline: none; cursor: default; }
.person__mark {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 6.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--wash-edge);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease),
              border-color var(--mid) var(--ease);
}
/* Photo slot: sits over the initials once an <img> is added. */
.person__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.person:hover .person__mark,
.person:focus .person__mark { background: var(--band); color: var(--paper); border-color: var(--band); }
.person:focus-visible .person__mark { outline: 2px solid var(--sage); outline-offset: 3px; }
.person__name {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 0.15rem;
}
.person__role {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-bottom: 0;
}

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

.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.6rem;
}
.door { background: var(--paper); padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
.door h3 { margin-bottom: 0.7rem; }
.door p { font-size: var(--t-small); margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 54rem) { .contact-grid { grid-template-columns: 1fr; } }

.direct li { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-size: var(--t-small); }
.direct li:first-child { border-top: 1px solid var(--rule); }
.direct span { display: block; color: var(--ink-faint); font-size: 0.8125rem; margin-bottom: 0.1rem; }
.direct a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--wash-edge); }
.direct a:hover { border-bottom-color: var(--sage); }

.form__row { margin-bottom: 1.05rem; }
.form__row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  font-family: var(--text);
  font-size: var(--t-small);
  color: var(--ink);
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.form__row textarea { resize: vertical; min-height: 5.5rem; }
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus { border-color: var(--sage); background: var(--paper); outline: none; }
.form__row input:focus-visible,
.form__row select:focus-visible,
.form__row textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; }

.form__status {
  margin-top: 0.9rem;
  font-size: var(--t-small);
  color: var(--sage-deep);
  min-height: 1.4em;
}

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

.footer { border-top: 1px solid var(--rule); padding-block: 3rem 2.4rem; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.5rem;
  align-items: baseline;
  justify-content: space-between;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer a { font-size: var(--t-small); color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer__fine { width: 100%; margin-top: 0.6rem; }
