/* A travel agency in Charleston, West Virginia.

   Archetype: THE COMPARISON SHEET. The catalog is a real TABLE, not a grid of cards, because
   the axis is a number and a number is compared by scanning a column. Interior pages run wide
   with tables as the primary block and prose as the secondary one, which is the reverse of both
   sibling agencies.

   Reveal: the tally squares grow in HEIGHT from a hairline to a full square. They never fade,
   never move and never change position, and the count is printed in words beside them on every
   single occurrence, so a throttled timer can leave the squares flat and lose nothing at all. */

:root {
  --paper: #f6f3ec;
  --card: #e5dfd2;
  --ink: #1d1f1c;
  --rule: #41443c;
  --quiet: #64625b;
  --hair: #c9c3b2;
  --mark: #7d4a12;
  --cool: #2c4f63;
  --lead: 1.79;
  --wide: min(72rem, 100% - 2.4rem);
  --text: min(52rem, 100% - 2.4rem);
}

@font-face {
  font-family: "Standing Display";
  src: url("/assets/rd-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standing Display";
  src: url("/assets/rd-display-800.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standing Text";
  src: url("/assets/rd-text-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standing Text";
  src: url("/assets/rd-text-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standing Text";
  src: url("/assets/rd-text-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Standing Text", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: var(--lead);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cool); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mark); }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 2px; }

.rd-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.2rem; z-index: 60; font-weight: 700;
}
.rd-skip:focus { left: 0; }

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

.rd-top { background: var(--card); border-bottom: 1px solid var(--hair); }

.rd-top-in {
  width: var(--wide); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  align-items: baseline; justify-content: space-between;
  padding: 1.2rem 0 0.9rem;
}

.rd-mast { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 1rem; }
.rd-mast a {
  font-family: "Standing Display", Georgia, serif; font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.rd-mast a:hover { color: var(--mark); }
.rd-mast-strap {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--quiet); font-weight: 700;
}

.rd-top-reach { margin: 0; text-align: right; line-height: 1.3; }
.rd-top-reach a {
  display: block; font-weight: 700; font-size: 1.06rem;
  color: var(--ink); text-decoration: none;
}
.rd-top-reach a:hover { color: var(--mark); }
.rd-top-reach span { display: block; font-size: 0.73rem; color: var(--quiet); }

.rd-nav { background: var(--paper); border-bottom: 2px solid var(--ink); }
.rd-nav-in { width: var(--wide); margin-inline: auto; overflow-x: auto; }
.rd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; white-space: nowrap; }
.rd-nav a {
  display: block; padding: 0.65rem 0.9rem;
  color: var(--rule); text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.rd-nav a:hover { color: var(--paper); background: var(--rule); }
.rd-nav a[aria-current="page"] { color: var(--paper); background: var(--ink); }

/* ---------------------------------------------------------------- head */

.rd-hero-art { width: 100%; max-height: 38vh; overflow: hidden; border-bottom: 1px solid var(--hair); }
.rd-hero-art img { width: 100%; height: 100%; object-fit: cover; }

.rd-head-say { width: var(--wide); margin-inline: auto; padding: 2.2rem 0 1.4rem; }

.rd-brow {
  margin: 0 0 0.6rem;
  font-size: 0.71rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mark); font-weight: 700;
}

.rd-head h1 {
  font-family: "Standing Display", Georgia, serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 0.9rem; max-width: 24ch;
}
.is-front .rd-head h1 { max-width: 28ch; }

.rd-stand { margin: 0; font-size: 1.12rem; color: var(--rule); max-width: 60ch; }

/* ---------------------------------------------------------------- body */

.rd-body { width: var(--wide); margin: 0 auto; padding: 1.2rem 0 3.5rem; }

.rd-body > p, .rd-body > ul, .rd-body > h2, .rd-body > h3 { max-width: 62ch; }
.rd-body > .rd-tiles, .rd-body > .rd-marks, .rd-body > .rd-list { max-width: none; }

.rd-body h2 {
  font-family: "Standing Display", Georgia, serif; font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.25; letter-spacing: -0.015em;
  margin: 2.6rem 0 0.85rem;
}
.rd-body > h2:first-child { margin-top: 0.5rem; }
.rd-body h3 { font-size: 1.08rem; font-weight: 700; margin: 1.9rem 0 0.5rem; }

.rd-body p { margin: 0 0 1rem; }
.rd-body ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.rd-body li { margin-bottom: 0.5rem; }
.rd-body strong { font-weight: 700; }

/* ---------------------------------------------------------------- the strip */

/* The encoding: four fixed cells in a row, exactly one of them filled. WHICH cell is filled is
   the tier. Rule weight, indent, bar length, border style, hairline position and a discrete tally
   are all taken by siblings; position-within-a-strip is not. The tier is printed in words beside
   every strip, so the cells carry nothing the text does not. */
.rd-strip { display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
.rd-cells { display: inline-flex; gap: 0.16rem; }
.rd-cell-box {
  display: inline-block; width: 0.62rem; height: 0.62rem;
  border: 1px solid var(--hair); background: transparent;
  transition: background-color 420ms ease;
}
.rd-cell-box.is-on { background: var(--mark); border-color: var(--mark); }
/* the reveal: the filled cell arrives last. Nothing else on this site moves. */
.rd-wait .rd-cell-box.is-on { background: transparent; border-color: var(--hair); }

@media (prefers-reduced-motion: reduce) {
  .rd-cell-box { transition: none; }
  .rd-wait .rd-cell-box.is-on { background: var(--mark); border-color: var(--mark); }
}

.rd-strip-say {
  font-size: 0.77rem; letter-spacing: 0.07em; text-transform: uppercase;
  font-weight: 700; color: var(--rule);
}

/* ---------------------------------------------------------------- the sheet */

.rd-sheet-wrap { overflow-x: auto; margin: 1.4rem 0 2.4rem; }
.rd-sheet { width: 100%; border-collapse: collapse; min-width: 40rem; }
.rd-sheet caption {
  text-align: left; font-size: 0.75rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--quiet); font-weight: 700;
  padding-bottom: 0.7rem;
}
.rd-sheet thead th {
  border-bottom: 2px solid var(--ink);
  font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--rule); text-align: left; padding: 0 1rem 0.5rem 0;
}
.rd-sheet tbody th, .rd-sheet tbody td {
  border-bottom: 1px solid var(--hair);
  padding: 0.85rem 1rem 0.85rem 0; text-align: left; vertical-align: top;
}
.rd-sheet tbody th { width: 42%; font-weight: 400; }
.rd-sheet tbody th a {
  display: block; font-weight: 700; font-size: 1.04rem;
  color: var(--ink); text-decoration: none;
  font-family: "Standing Display", Georgia, serif;
}
.rd-sheet tbody th a:hover { color: var(--mark); text-decoration: underline; }
.rd-row-say { display: block; font-size: 0.88rem; color: var(--quiet); line-height: 1.5; }
.rd-row-from { font-weight: 700; white-space: nowrap; }
.rd-sheet tbody tr:hover { background: var(--card); }

/* ---------------------------------------------------------------- tiers */

.rd-tiers {
  display: grid; gap: 1.3rem; margin: 1.3rem 0 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.rd-tier { border-top: 2px solid var(--ink); padding-top: 0.7rem; }
.rd-tier h3 { margin: 0 0 0.45rem; font-size: 1.02rem; }
.rd-tier h3 a { color: var(--ink); text-decoration: none; }
.rd-tier h3 a:hover { color: var(--mark); text-decoration: underline; }
.rd-tier-say { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--rule); }
.rd-tier-count {
  margin: 0.5rem 0 0; font-size: 0.73rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--quiet); font-weight: 700;
}

/* ---------------------------------------------------------------- price */

.rd-price {
  margin: 1.6rem 0 0.4rem;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem;
  border-top: 2px solid var(--ink); padding-top: 0.85rem;
}
.rd-price-from {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--quiet); font-weight: 700;
}
.rd-price-sum {
  font-family: "Standing Display", Georgia, serif; font-weight: 900;
  font-size: clamp(1.85rem, 4.4vw, 2.5rem); line-height: 1;
}
.rd-price-per { font-size: 0.93rem; color: var(--rule); }
.rd-price-note { font-size: 0.92rem; color: var(--rule); margin-bottom: 1.6rem; max-width: 60ch; }

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

.rd-grid-wrap { overflow-x: auto; margin: 1.3rem 0 2rem; }
.rd-grid { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 40rem; }
.rd-grid caption {
  text-align: left; font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--quiet); font-weight: 700;
  padding-bottom: 0.6rem;
}
.rd-grid th, .rd-grid td {
  border-bottom: 1px solid var(--hair);
  padding: 0.7rem 1rem 0.7rem 0; text-align: left; vertical-align: top;
}
.rd-grid thead th {
  border-bottom: 2px solid var(--ink);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rule);
}
.rd-grid tbody th { font-weight: 700; width: 22%; }
.rd-parties tbody th { color: var(--mark); }
.rd-claim-on { color: var(--cool); font-weight: 700; }
.rd-claim-off { color: var(--mark); font-weight: 700; }

/* ---------------------------------------------------------------- slab */

.rd-slab { margin: 1.2rem 0 2rem; max-width: 62rem; }
.rd-slab-row {
  display: grid; gap: 0.15rem 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.65rem 0; border-bottom: 1px solid var(--hair);
}
.rd-slab-row:first-child { border-top: 1px solid var(--hair); }
.rd-slab dt { font-weight: 700; font-size: 0.87rem; color: var(--rule); }
.rd-slab dd { margin: 0; }
@media (min-width: 44rem) {
  .rd-slab-row { grid-template-columns: 16rem minmax(0, 1fr); align-items: baseline; }
}

/* ---------------------------------------------------------------- plate */

.rd-plate { margin: 2rem 0; max-width: 62rem; }
.rd-plate img { width: 100%; }
.rd-plate figcaption { font-size: 0.86rem; color: var(--quiet); padding-top: 0.5rem; }

/* ---------------------------------------------------------------- form */

.rd-form {
  margin: 1.6rem 0 2rem; max-width: 62rem;
  background: var(--card); border-top: 2px solid var(--ink); padding: 1.3rem 1.3rem 1.5rem;
}
.rd-lines { margin: 0 0 1.3rem; }
.rd-line {
  display: grid; gap: 0.25rem 1.3rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.7rem 0; border-bottom: 1px solid var(--hair);
}
.rd-line label { font-weight: 700; font-size: 0.87rem; color: var(--rule); }
.rd-line input, .rd-line select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 0.5rem 0.6rem; border-radius: 0;
  border: 1px solid var(--quiet); background: var(--paper); color: var(--ink);
}
.rd-line input:focus, .rd-line select:focus { border-color: var(--cool); }
.rd-line [aria-invalid="true"] { border-color: var(--mark); border-width: 2px; }
.rd-note { font-size: 0.81rem; color: var(--quiet); }
@media (min-width: 46rem) {
  .rd-line { grid-template-columns: 14rem minmax(0, 17rem) minmax(0, 1fr); align-items: center; }
  .rd-note { grid-column: 3; }
}
.rd-said { display: block; font-size: 0.85rem; color: var(--mark); font-weight: 700; }
.rd-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rd-stamps { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.rd-stamps li {
  display: grid; gap: 0.2rem 1rem; grid-template-columns: minmax(0, 1fr);
  padding: 0.4rem 0; border-bottom: 1px solid var(--hair); font-size: 0.92rem;
}
.rd-stamps strong {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mark);
}
@media (min-width: 40rem) {
  .rd-stamps li { grid-template-columns: 12rem minmax(0, 1fr); align-items: baseline; }
}

.rd-send { margin: 0 0 1rem; }
.rd-send button {
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
  background: var(--mark); color: var(--paper);
  border: 2px solid var(--mark); border-radius: 0;
  padding: 0.7rem 2rem; cursor: pointer;
}
.rd-send button:hover:not([disabled]) { background: var(--ink); border-color: var(--ink); }
.rd-send button[disabled] {
  background: transparent; color: var(--quiet); border-color: var(--hair); cursor: not-allowed;
}
.rd-fine { font-size: 0.88rem; color: var(--rule); margin: 0 0 0.8rem; }
.rd-off, .rd-broke {
  font-size: 0.9rem; border-left: 4px solid var(--cool);
  padding: 0.5rem 0 0.5rem 0.85rem; margin: 0.9rem 0 0;
}

/* ---------------------------------------------------------------- also */

.rd-also { margin: 3rem 0 0; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.rd-also h2 {
  font-family: inherit; font-size: 0.73rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--quiet); font-weight: 700; margin: 0 0 1rem;
}
.rd-also ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.rd-also a { text-decoration: none; color: var(--ink); display: block; }
.rd-also-name {
  display: block; font-weight: 700; font-size: 1rem;
  border-bottom: 1px solid var(--hair); padding-bottom: 0.28rem; margin-bottom: 0.3rem;
}
.rd-also a:hover .rd-also-name { color: var(--mark); border-color: var(--mark); }
.rd-also-say { display: block; font-size: 0.87rem; color: var(--rule); line-height: 1.5; }

/* ---------------------------------------------------------------- keep */

.rd-keep {
  position: fixed; left: 1rem; bottom: 1rem; right: 1rem;
  max-width: 28rem; z-index: 50;
  background: var(--ink); color: #e8e3d7;
  padding: 1rem 1.1rem; font-size: 0.88rem; line-height: 1.55;
  border-left: 5px solid var(--mark);
}
.rd-keep[hidden] { display: none; }
.rd-keep p { margin: 0 0 0.7rem; }
.rd-keep a { color: #fff; }
.rd-keep-go { margin: 0; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.rd-keep button {
  font: inherit; font-size: 0.86rem; font-weight: 700;
  padding: 0.4rem 1rem; cursor: pointer; border-radius: 0;
  background: transparent; color: #e8e3d7; border: 1px solid #706d63;
}
.rd-keep button:hover { background: #e8e3d7; color: var(--ink); border-color: #e8e3d7; }

/* ---------------------------------------------------------------- foot */

.rd-foot {
  border-top: 2px solid var(--ink);
  margin-top: 3rem; padding: 2.2rem 0 1.3rem; font-size: 0.91rem;
}
.rd-foot-in {
  width: var(--wide); margin-inline: auto;
  display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 56rem) {
  .rd-foot-in { grid-template-columns: 23rem minmax(0, 1fr); gap: 3.5rem; }
}
.rd-foot-say p { margin: 0 0 0.6rem; color: var(--rule); }
.rd-foot-name {
  font-family: "Standing Display", Georgia, serif; font-weight: 900;
  font-size: 1.28rem; color: var(--ink) !important;
}
.rd-foot-stand { border-top: 1px solid var(--hair); padding-top: 0.6rem; font-size: 0.86rem; }
.rd-foot-cols {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.rd-foot-cols h2 {
  font-size: 0.71rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--quiet); font-weight: 700; margin: 0 0 0.5rem;
}
.rd-foot-cols ul { list-style: none; margin: 0; padding: 0; }
.rd-foot-cols li { margin-bottom: 0.38rem; }
.rd-foot-cols a { color: var(--ink); text-decoration: none; }
.rd-foot-cols a:hover { color: var(--mark); text-decoration: underline; }
.rd-foot-line {
  width: var(--wide); margin: 1.8rem auto 0;
  border-top: 1px solid var(--hair); padding-top: 0.85rem;
  font-size: 0.8rem; color: var(--quiet);
}

@media print {
  .rd-nav, .rd-keep, .rd-form, .rd-also { display: none; }
  body { font-size: 11pt; }
}


/* ---------------------------------------------------------------- the fare search

   Filled by this office, in this office's own markup: no outside script, no widget, no partner
   identifier. Both ends are comboboxes reading a list served from this domain, and only a code
   taken from that list ever travels.

   Eight equal cells read as eight unrelated questions. They are three: between where, on what
   dates, and who is going. Each is a section with its own hanging label and a hairline under it,
   the same device the catalogue and the obligations table already use. */

.rd-slot { display: block; margin: 2.4rem 0; }
.rd-slot[hidden] { display: none; }
.rd-slot-said { max-width: 62ch; font-size: 0.95rem; }

.rd-look {
  margin: 1.4rem 0 0; max-width: 62rem;
  background: var(--card);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--hair);
  padding: 1.3rem 1.4rem 1.5rem;
}
@media (min-width: 40rem) { .rd-look { padding: 1.5rem 1.8rem 1.7rem; } }

.rd-look-fields { display: grid; gap: 0; }

.rd-group { border: 0; margin: 0; padding: 1rem 0 1.1rem; min-width: 0; }
.rd-group + .rd-group { border-top: 1px solid var(--hair); }
.rd-group:first-of-type { padding-top: 0.2rem; }
.rd-group legend {
  padding: 0; margin: 0 0 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--mark);
}

.rd-group-row { display: grid; gap: 0.9rem 1.1rem; }
/* The counts hold one digit each and sit three across at every width. Stacked full width on a
   phone they add some two hundred pixels of scrolling to say nothing. */
.rd-group-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
@media (min-width: 40rem) {
  .rd-group-ends .rd-group-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-group-dates .rd-group-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); }
  .rd-group-counts { grid-template-columns: repeat(3, minmax(6.5rem, 9rem)); justify-content: start; }
}

.rd-cell { display: flex; flex-direction: column; gap: 0.32rem; min-width: 0; }
.rd-cell label {
  font-weight: 700; font-size: 0.83rem; color: var(--rule);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.4rem;
}
.rd-cell-aside { font-weight: 400; font-size: 0.76rem; color: var(--quiet); }

.rd-cell input,
.rd-cell select {
  width: 100%; max-width: 100%; box-sizing: border-box;
  font: inherit; font-size: 1.02rem; line-height: 1.35;
  padding: 0.62rem 0.7rem; border-radius: 0;
  border: 1px solid var(--hair); border-bottom: 2px solid var(--rule);
  background: var(--paper); color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.12s ease-out;
}
.rd-cell input::placeholder { color: var(--quiet); opacity: 1; }
.rd-cell input:hover, .rd-cell select:hover { border-bottom-color: var(--mark); }
.rd-cell select {
  background-image: linear-gradient(45deg, transparent 50%, var(--rule) 50%),
                    linear-gradient(135deg, var(--rule) 50%, transparent 50%);
  background-position: right 1.05rem center, right 0.75rem center;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.rd-cell input[type="date"] { min-height: 2.85rem; }
.rd-cell input[type="hidden"] { display: none; }
.rd-cell input:focus, .rd-cell select:focus {
  border-color: var(--cool); outline: 2px solid var(--cool); outline-offset: 1px;
}
.rd-cell [aria-invalid="true"] { border-color: var(--mark); border-width: 2px; }
.rd-cell.is-off input, .rd-cell.is-off select { outline: 2px solid var(--mark); outline-offset: 1px; }
.rd-group-counts input { text-align: center; font-variant-numeric: tabular-nums; }

/* The refusal sits in the cell of the field it concerns, so focusing that field brings it into
   view. A line kept beside the button lands off screen on a phone. */
.rd-cell-note { margin: 0.3rem 0 0; font-size: 0.86rem; font-weight: 700; color: var(--mark); }

.rd-end { position: relative; }

.rd-offers {
  position: absolute; z-index: 55; left: 0; right: 0; top: 100%;
  margin: 0.2rem 0 0; padding: 0; list-style: none;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 8px 22px rgba(29, 31, 28, 0.18);
  max-height: 20.5rem; overflow-y: auto;
}
.rd-offers li { margin: 0; }
.rd-offers button {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--hair);
  padding: 0.5rem 0.75rem; font: inherit; font-size: 0.95rem; color: inherit;
}
.rd-offers li:last-child button { border-bottom: 0; }
.rd-offers button:hover,
.rd-offers button:focus-visible,
.rd-offers li.is-marked button { background: var(--card); }
.rd-offers-code {
  display: inline-block; min-width: 3.3rem;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.09em; color: var(--rule);
}

.rd-look-send {
  margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem;
}
.rd-look-send button { padding: 0.78rem 2.4rem; }
@media (max-width: 39.99rem) { .rd-look-send button { width: 100%; } }
.rd-status { font-size: 0.9rem; font-weight: 700; color: var(--mark); }
.rd-status.is-settled { color: var(--cool); }
.rd-look button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* The storage card is fixed to the foot of the window and the place fields drop their offers into
   the same strip. A tray is open only while somebody types, so the card steps aside for that. */
body.rd-offering .rd-keep { visibility: hidden; }

/* ---- the hero. Tall, with the offer set over the picture: guide section 9 asks for at least
   55vh on a selling page, and the old 38vh strip put exactly one photograph on the whole front
   page with the headline underneath it. ---- */
.rd-hero { position: relative; background: #14160f; isolation: isolate; }
.rd-hero img { width: 100%; height: clamp(360px, 62vh, 660px); object-fit: cover; display: block; }
.rd-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,16,15,.18) 0%, rgba(14,16,15,.50) 46%,
  rgba(14,16,15,.88) 100%); }
.rd-hero-in { position: absolute; inset: auto 0 0 0; z-index: 1; color: #f7f4ea;
  width: var(--wide); margin: 0 auto; padding-bottom: 2.1rem; }
.rd-hero-in h1 { color: #fff; max-width: 26ch; margin: 0 0 .35em;
  text-shadow: 0 1px 20px rgba(10,12,9,.45); }
.rd-hero-brow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: #ded7c1; margin: 0 0 .7rem; }
.rd-hero-said { font-size: 1.06rem; color: #ebe6d9; max-width: 52ch; margin: 0 0 1.2rem; }
.rd-hero-do { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.3rem; margin: 0; }
.rd-hero-any { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem;
  color: #e4dfcd; }
.rd-cta { display: inline-block; font-weight: 600; text-decoration: none; padding: .78rem 1.5rem;
  border-radius: 2px; background: var(--mark); color: #fff; border: 1px solid #5d360b; }
.rd-cta:hover { background: #5d360b; color: #fff; }
.rd-ico { flex: 0 0 auto; }
.rd-topcta { font-weight: 600; margin-left: 1rem; }

/* ---- destination tiles: the text sits over the picture ---- */
.rd-tiles { list-style: none; margin: 1.5rem 0 2.4rem; padding: 0; display: grid; gap: .9rem; }
.rd-tile a { position: relative; display: block; overflow: hidden; text-decoration: none;
  color: #fff; background: #14160f; }
.rd-tile img { width: 100%; height: clamp(200px, 26vh, 300px); object-fit: cover; display: block;
  transition: transform .5s ease; }
.rd-tile a:hover img { transform: scale(1.035); }
.rd-tile-in { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(14,16,15,0) 0%, rgba(14,16,15,.55) 34%,
  rgba(14,16,15,.93) 100%); text-shadow: 0 1px 10px rgba(10,12,9,.6); }
.rd-tile-band { display: block; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: #d9d2ba; }
.rd-tile-h { display: block; font-weight: 700; font-size: 1.18rem; margin-top: .15rem; }
.rd-tile-m { display: block; font-size: .86rem; color: #e6e1cf; margin-top: .2rem; }

/* ---- full width band: a section ground change and an image point at once ---- */
/* full bleed: a band that stops at the reading measure is not a band */
.rd-strip { position: relative; margin: 2.6rem calc(50% - 50vw); width: 100vw;
  background: #14160f; }
.rd-strip img { width: 100%; height: clamp(180px, 30vh, 340px); object-fit: cover; opacity: .55;
  display: block; }
.rd-strip::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,15,.74) 0%, rgba(14,16,15,.22) 62%); }
.rd-strip-said { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center;
  margin: 0; padding: 1.4rem 1.6rem; color: #f7f4ea;
  font-size: clamp(1.12rem, .9rem + 1vw, 1.7rem); line-height: 1.28; max-width: 34ch; }

/* ---- pictogram rows ---- */
.rd-marks { list-style: none; margin: 1.2rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.rd-marks li { display: flex; align-items: flex-start; gap: .7rem; }
.rd-marks .rd-ico { color: var(--mark); margin-top: .15rem; }

@media (min-width: 700px) {
  .rd-tiles { grid-template-columns: repeat(2, 1fr); }
  .rd-marks { grid-template-columns: repeat(2, 1fr); }
  .rd-strip-said { padding: 2rem 2.4rem; }
}
@media (min-width: 1000px) {
  .rd-tiles { grid-template-columns: repeat(4, 1fr); }
}

/* ---- a thumbnail on each listing row. Still a row list, which is this site's shape, but for an
   agency the picture is part of the offer rather than decoration. ---- */
.rd-row-shot { width: 100%; height: 150px; object-fit: cover; display: block; margin-bottom: .7rem;
  border: 1px solid var(--hair); }
@media (min-width: 760px) {
  .rd-row a { display: grid; grid-template-columns: 190px 1fr; column-gap: 1.2rem;
    align-items: start; }
  .rd-row-shot { grid-row: 1 / span 4; height: 128px; margin-bottom: 0; }
}

/* the office address in the top bar: it used to sit above the h1 and the target phrase replaced it,
   leaving the address only in the footer of a long page where nobody looking for it would go */
.rd-top-reach { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; }
.rd-topaddr { display: inline-flex; align-items: center; gap: .4rem; color: var(--quiet); }
.rd-topaddr .rd-ico { width: 16px; height: 16px; color: var(--quiet); }
