/* ==========================================================================
   Retro-futurist information service
   Navy card, powder-blue circles, vermilion planets and livery stripes.
   ========================================================================== */

:root {
  --navy: #14284F;
  --navy-2: #1B2E59;
  --navy-deep: #0D1B3A;
  --powder: #A7C8E8;
  --powder-soft: #DCE8F4;
  --red: #E5452B;
  --red-dark: #C7361F;
  --paper: #F4F2EC;
  --ink: #13213F;
  --muted: #4B5878;
  --rule: #CDD3DD;
  --blue: #3E77B6;
  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Jost", "Futura", system-ui, sans-serif;
  --gutter: clamp(16px, 4.2vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -10%, #23407a 0%, transparent 60%),
    var(--navy-deep);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0 0 1em; }
code {
  font: 500 .86em/1 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--powder-soft);
  padding: .12em .35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* ── the card ─────────────────────────────────────────────────────────── */
.rf-frame {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 36px auto 0;
  background: var(--navy);
  border: 2px solid #3c5788;
  border-radius: 26px;
  padding: 0 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}

/* header panel */
.rf-head {
  position: relative;
  display: flex;
  align-items: center;
  height: 122px;
  padding: 0 calc(var(--gutter) - 12px);
  overflow: hidden;
}
.rf-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.rf-wheel { width: 92px; height: auto; }
.rf-wordmark {
  font: 700 28px/1.02 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rf-swoosh {
  position: absolute;
  right: 150px;
  top: 0;
  width: 46%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
.rf-head-orbit {
  position: absolute;
  right: calc(var(--gutter) - 12px);
  top: 10px;
  width: 250px;
  height: auto;
}

/* pill nav */
.rf-nav { padding: 0 6px 14px; }
.rf-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  list-style: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}
.rf-nav li { display: flex; align-items: center; }
.rf-nav li + li::before {
  content: "·";
  color: var(--ink);
  font-weight: 700;
  margin: 0 2px;
}
.rf-nav a {
  display: block;
  padding: 5px 14px;
  border-radius: 999px;
  font: 600 12.5px/1.2 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.rf-nav a:hover { background: var(--powder-soft); }
.rf-nav a[aria-current] { background: var(--red); color: #fff; }

/* content panel */
.rf-panel {
  display: block;
  position: relative;
  background: var(--paper);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 52px) var(--gutter) clamp(36px, 5vw, 64px);
  overflow: hidden;
}

/* footer band */
.rf-foot { padding: 0 6px; color: #fff; }
.rf-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  padding: 18px 8px 6px;
}
.rf-foot-links a {
  font: 500 12px/1.4 var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--powder);
}
.rf-foot-links a:hover { color: #fff; }
.rf-foot-band {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
  padding-left: calc(var(--gutter) - 18px);
}
.rf-dots { letter-spacing: .25em; font-size: 14px; white-space: nowrap; }
.rf-foot-name {
  flex: 1;
  font: 600 12px/1.2 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.rf-foot-name .sep { margin: 0 .6em; }
.rf-livery { display: flex; align-self: stretch; gap: 7px; margin-right: 20px; }
.rf-livery i {
  display: block;
  width: 14px;
  transform: skewX(-28deg);
  background: var(--powder);
}
.rf-livery i:nth-child(2n) { background: var(--red); }
.rf-livery i:nth-child(3), .rf-livery i:nth-child(4) { width: 22px; }

/* skyline below the card */
.rf-skyline {
  position: relative;
  margin-top: -40px;
  height: 260px;
  overflow: hidden;
}
.rf-skyline img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(1600px, 100%);
  height: 260px;
  max-width: none;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center bottom;
}

/* ── shared type ──────────────────────────────────────────────────────── */
.rf-eyebrow, .rf-kicker {
  font: 600 13px/1.3 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
.rf-kicker.is-quiet { color: var(--blue); }
.rf-hero h1 {
  margin: 10px 0 18px;
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: .96;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.rf-lead {
  max-width: 34em;
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--ink);
}
.rf-cta { font-size: 18px; margin-top: 22px; }
.rf-cta a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2.5px solid var(--red);
  padding-bottom: 1px;
}
.rf-cta a:hover { color: var(--red-dark); }
.rf-rule-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  font: 600 13px/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
}
.rf-rule-head::after { content: ""; flex: 1; height: 1.5px; background: var(--ink); opacity: .7; }
.rf-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 3px 10px 2px;
  border-radius: 999px;
  border: 1.5px solid var(--red);
  color: var(--red);
  font: 600 10.5px/1.3 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── heroes ───────────────────────────────────────────────────────────── */
.rf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1.5px solid var(--rule);
  margin-bottom: 8px;
}
.rf-hero-home { border-bottom: 0; padding-bottom: 12px; }
.rf-art { width: 100%; height: auto; justify-self: end; }
/* every scene-*.svg is a 460x420 circle vignette (src/gen_art.py) */
.rf-art-home, .rf-art-building, .rf-art-signal, .rf-art-research,
.rf-art-concept, .rf-art-consulting, .rf-art-about, .rf-art-contact {
  max-width: 460px;
  margin-right: calc(-1 * var(--gutter) + 8px);
  margin-top: -12px;
  margin-bottom: -12px;
}
.rf-art-home { max-width: 480px; align-self: start; }
.rf-art-selection { max-width: 440px; }

/* ── home ─────────────────────────────────────────────────────────────── */
.rf-recent { margin-top: 26px; }
.rf-recent ul, .rf-sections ol { list-style: none; margin: 0; padding: 0; }
.rf-recent li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1.5px solid var(--rule);
}
.rf-recent li:last-child { border-bottom: 0; }
.rf-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 0 rgba(19, 33, 63, .2);
}
.rf-icon.is-initial {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--powder);
  color: var(--red);
  font: 800 28px/1 var(--display);
}
.rf-recent h3 { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.rf-recent h3 a { text-decoration: none; }
.rf-recent h3 a:hover { color: var(--red); }
.rf-recent p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.rf-recent time { color: var(--red); font-weight: 600; margin-right: 8px; }
/* The way through to /recently/, in the section pages' "more" voice. */
.recent-more { margin: 8px 0 0; }
.recent-more a { display: inline-flex; align-items: baseline; gap: 14px; color: var(--ink); text-decoration: none; }
.recent-more .lbl { font: 600 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.recent-more .arr { font-size: 20px; line-height: 1; }
.recent-more a:hover { color: var(--red); }

.rf-sections { margin-top: 36px; }
.rf-sections ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rf-sections a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font: 700 19px/1.1 var(--display);
  position: relative;
  overflow: hidden;
}
.rf-sections a::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--powder);
  opacity: .5;
}
.rf-sections .n { font: 600 12px/1 var(--display); letter-spacing: .2em; color: var(--powder); }
.rf-sections .arr { margin-top: auto; color: var(--red); font-size: 20px; }
.rf-sections a:hover { background: var(--red); }
.rf-sections a:hover .arr { color: #fff; }

/* ── circle orbs ──────────────────────────────────────────────────────── */
.rf-orb {
  --size: 150px;
  position: relative;
  display: block;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--powder);
  overflow: hidden;
}
.rf-orb.is-small { --size: 84px; }
.rf-orb.is-large { --size: min(340px, 76vw); }
.rf-orb.is-phone img {
  position: absolute;
  left: 50%;
  top: 13%;
  width: 46%;
  height: auto;
  transform: translateX(-50%);
  border-radius: calc(var(--size) * .06);
  border: calc(var(--size) * .022) solid var(--ink);
  background: var(--ink);
  box-shadow: 0 6px 14px rgba(19, 33, 63, .25);
}
.rf-orb.is-screen img {
  position: absolute;
  left: 50%;
  top: 27%;
  width: 76%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transform: translateX(-50%);
  border-radius: calc(var(--size) * .03);
  border: calc(var(--size) * .022) solid var(--ink);
  background: #fff;
}
.rf-orb.is-screen .stand {
  position: absolute;
  left: 50%;
  top: 75.5%;
  width: 26%;
  height: 5%;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 0 0 6px 6px;
}
.rf-orb.is-icon img {
  position: absolute;
  inset: 22%;
  width: 56%;
  height: 56%;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(19, 33, 63, .25);
}
.rf-orb.is-initial { background: var(--navy); }
.rf-orb.is-initial::before {
  content: "";
  position: absolute;
  inset: 16% 4%;
  border: 1.5px solid var(--powder);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.rf-orb.is-initial::after {
  content: "";
  position: absolute;
  right: 12%; top: 26%;
  width: 11%; height: 11%;
  border-radius: 50%;
  background: var(--red);
}
.rf-orb.is-initial b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 calc(var(--size) * .42)/1 var(--display);
}

/* ── section rows ─────────────────────────────────────────────────────── */
.rf-rows { list-style: none; margin: 0; padding: 0; }
.rf-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1.5px solid var(--rule);
}
.rf-row-orb { display: block; text-decoration: none; border-radius: 50%; }
.rf-row-orb:hover .rf-orb, .rf-mini-orb:hover .rf-orb { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--red); }
.rf-row-orb .rf-orb, .rf-mini-orb .rf-orb { overflow: hidden; }
.rf-row h2 { margin: 6px 0 8px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.rf-title { text-decoration: none; color: var(--ink); }
a.rf-title:hover { color: var(--red); }
.rf-row p { margin: 0; max-width: 32em; font-size: 17px; }

.rf-more { margin-top: 26px; }
.rf-more-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding: 14px 0 18px;
  border-bottom: 1.5px solid var(--ink);
}
.rf-more-line .lbl { font: 600 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.rf-more-line .arr { font-size: 20px; line-height: 1; }
.rf-more-line .names { display: contents; }
.rf-more-line .names a { font-weight: 500; font-size: 16.5px; text-decoration: none; }
.rf-more-line .names a:hover { color: var(--red); text-decoration: underline; }
.rf-minis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.rf-mini {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1.5px solid var(--rule);
  scroll-margin-top: 20px;
}
.rf-mini:target { background: linear-gradient(90deg, var(--powder-soft), transparent); }
.rf-mini-orb { display: block; border-radius: 50%; }
.rf-mini h3 { margin: 4px 0 4px; font-size: 21px; font-weight: 700; line-height: 1.15; }
.rf-mini p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.rf-mini .rf-kicker { font-size: 11.5px; }

/* ── detail ───────────────────────────────────────────────────────────── */
.rf-back {
  display: inline-block;
  margin-bottom: 18px;
  font: 600 12.5px/1 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
}
.rf-back:hover { color: var(--red); }
.rf-hero-detail { border-bottom: 0; padding-bottom: 8px; }
.rf-detail-orb { position: relative; justify-self: center; padding: 10px; }
.rf-detail-ring {
  position: absolute;
  left: -16%;
  top: 4%;
  width: 132%;
  max-width: none;
  pointer-events: none;
}

.rf-spec {
  margin: 18px 0 34px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.rf-spec-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 150px 12px 22px;
  background: var(--navy-2);
  font: 600 12px/1.3 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.rf-spec-head .rf-livery { position: absolute; right: 0; top: 0; bottom: 0; }
.rf-spec-head .no { color: var(--powder); }
.rf-spec dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0;
}
.rf-spec dl > div { padding: 16px 22px; border-top: 1px solid rgba(167, 200, 232, .22); border-right: 1px solid rgba(167, 200, 232, .22); }
.rf-spec dl > div.wide { grid-column: 1 / -1; border-right: 0; }
.rf-spec dt { font: 600 11px/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--powder); margin-bottom: 6px; }
.rf-spec dd { margin: 0; font: 600 18px/1.3 var(--display); }
.rf-spec .rf-badge { margin: 0; color: #fff; border-color: var(--red); background: var(--red); }
.rf-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rf-chips li {
  padding: 5px 13px 4px;
  border-radius: 999px;
  border: 1.5px solid var(--powder);
  font: 500 14px/1.3 var(--display);
}

.rf-gallery { margin: 0 0 36px; }
.rf-gallery ul {
  list-style: none;
  margin: 0;
  padding: 6px 4px 14px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.rf-gallery li { flex: none; scroll-snap-align: start; }
.rf-gallery a { display: block; }
.rf-gallery.is-portrait li a {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--powder);
  overflow: hidden;
}
.rf-gallery.is-portrait li:nth-child(2n) a { background: var(--powder-soft); }
.rf-gallery.is-portrait img {
  position: absolute;
  left: 50%; top: 12%;
  width: 48%;
  transform: translateX(-50%);
  border-radius: 12px;
  border: 4px solid var(--ink);
  background: var(--ink);
}
.rf-gallery.is-landscape li a {
  padding: 12px;
  border-radius: 18px;
  background: var(--powder);
}
.rf-gallery.is-landscape img {
  height: 240px;
  width: auto;
  max-width: none;
  border-radius: 8px;
  border: 3px solid var(--ink);
  background: #fff;
}
.rf-gallery a:hover, .rf-gallery a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.rf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 40px 16px;
  background: rgba(13, 27, 58, .92);
}
.rf-lightbox:target { display: grid; }
.rf-lightbox img {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 80px);
  width: auto;
  border-radius: 12px;
  border: 4px solid var(--paper);
}
.rf-lightbox-close {
  position: absolute;
  top: 14px; right: 18px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  text-decoration: none;
}

.rf-brief { display: grid; gap: 34px; max-width: 760px; }
.rf-brief > section > h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.rf-brief .no {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 600 12.5px/1 var(--display);
  letter-spacing: .06em;
  transform: translateY(-3px);
}

/* prose: detail fields, extra_html, about body */
.rf-brief p, .rf-prose p { font-size: 17px; line-height: 1.62; }
.rf-brief ul, .rf-brief ol, .rf-prose ul, .rf-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.rf-brief li, .rf-prose li { margin-bottom: .5em; line-height: 1.55; }
.rf-brief ul li::marker, .rf-prose ul li::marker { color: var(--red); }
.rf-brief ol li::marker { color: var(--red); font-weight: 700; }
.rf-brief h3, .rf-prose h3 { margin: 30px 0 12px; font-size: 22px; font-weight: 700; }
.rf-brief a, .rf-prose a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rf-brief table, .rf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1em; display: block; overflow-x: auto; }
.rf-brief th, .rf-brief td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rf-brief th { font: 600 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.rf-brief img { border-radius: 10px; border: 3px solid var(--ink); }
.rf-brief blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 4px solid var(--red); font-style: italic; }
.rf-brief dl { margin: 0 0 1em; }
.rf-brief dt { font-weight: 600; }
.rf-brief dd { margin: 0 0 .6em; }

.artifact {
  margin: 0 0 1.2em;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--powder-soft);
  border-left: 6px solid var(--blue);
}
.artifact .artifact-label { font: 600 11.5px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 1em; }
.rf-brief .cta-row a {
  display: inline-block;
  padding: 11px 22px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 600 13px/1.2 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.rf-brief .cta-row a:hover { background: var(--navy); }

.rf-log { margin-top: 44px; max-width: 760px; }
.rf-log ol { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--powder); }
.rf-log li { position: relative; padding: 0 0 18px; }
.rf-log li::before {
  content: "";
  position: absolute;
  left: -31px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--blue);
}
.rf-log li:first-child::before { background: var(--red); border-color: var(--red); }
.rf-log time { display: block; font: 600 13px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.rf-log p { margin: 0; font-size: 16px; }

/* ── about ────────────────────────────────────────────────────────────── */
.rf-about { max-width: 860px; }
.rf-about > h3:first-child { margin-top: 10px; }
.tech-list { margin: 22px 0 0; display: grid; }
.tech-list > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1.5px solid var(--rule);
}
.tech-list dt { font: 700 14px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.tech-list dd { margin: 0; font-size: 16px; line-height: 1.6; }

/* ── contact ──────────────────────────────────────────────────────────── */
.rf-transmit {
  margin-top: 30px;
  max-width: 760px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--rule);
  overflow: hidden;
}
.rf-transmit-head {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 44px;
  padding-left: 22px;
  background: var(--navy);
  color: #fff;
  font: 600 12px/44px var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.rf-transmit-mail {
  display: block;
  padding: 26px 22px 6px;
  font: 700 clamp(24px, 4.4vw, 40px)/1.1 var(--display);
  color: var(--red);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rf-transmit-mail:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.rf-transmit .rf-prose { padding: 10px 22px 12px; }

/* ── QR ───────────────────────────────────────────────────────────────── */
body.qr-page .rf-frame { max-width: 520px; margin-top: 20px; margin-bottom: 30px; }
body.qr-page .rf-head-qr { height: 112px; }
body.qr-page .rf-head-qr .rf-head-orbit { width: 170px; top: 20px; }
body.qr-page .rf-panel { text-align: center; padding: 26px 20px 28px; margin-bottom: 0; }
.qr-head { margin-bottom: 18px; }
.qr-head .rf-eyebrow { font-size: 12px; line-height: 1.6; }
.qr-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 8px;
  padding: 5px;
  background: #fff;
  border-radius: 22px;
  border: 1.5px solid var(--rule);
}
.qr-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 7px 12px;
  border-radius: 999px;
  font: 600 11.5px/1.2 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.qr-tab:hover { background: var(--powder-soft); }
.qr-tab.is-on { background: var(--red); color: #fff; }
.qr-stage { margin-top: 18px; }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
.qr-card[hidden] { display: none; }
.qr-svg {
  width: min(250px, 62vw);
  height: auto;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 10px var(--powder), 0 0 0 12px var(--navy);
  margin: 22px 0 22px;
  box-sizing: content-box;
}
.qr-label { font: 700 24px/1.2 var(--display); }
.qr-url { font: 500 14px/1.3 var(--display); letter-spacing: .08em; color: var(--red); }
.qr-foot { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rf-swoosh { right: 90px; width: 56%; }
  .rf-sections ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-minis { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .rf-frame { margin: 10px 8px 0; border-radius: 18px; padding: 0 6px; }
  .rf-head { height: 92px; padding: 0 12px; }
  .rf-wheel { width: 64px; }
  .rf-wordmark { font-size: 20px; }
  .rf-brand { gap: 10px; }
  .rf-head-orbit { width: 130px; right: 6px; top: 14px; }
  .rf-swoosh { right: 30px; width: 42%; }
  .qr-tab { padding: 7px 9px; font-size: 10.5px; letter-spacing: .08em; }
  .rf-nav { padding: 0 0 10px; }
  .rf-nav ul { border-radius: 20px; padding: 6px; row-gap: 2px; }
  .rf-nav li + li::before { margin: 0; }
  .rf-nav a { padding: 5px 8px; font-size: 11px; letter-spacing: .12em; }
  .rf-panel { padding: 26px 16px 34px; border-radius: 8px; }

  .rf-hero { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rf-hero .rf-art { grid-row: 1; justify-self: end; }
  .rf-hero h1 { font-size: clamp(38px, 11vw, 52px); margin: 8px 0 14px; }
  .rf-lead { font-size: 17px; }
  .rf-art-home, .rf-art-building, .rf-art-signal, .rf-art-research,
  .rf-art-concept, .rf-art-consulting, .rf-art-about, .rf-art-contact {
    max-width: 290px; margin: -14px -14px -4px 0;
  }
  .rf-art-selection { max-width: 280px; justify-self: center; }

  .rf-recent li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .rf-icon { width: 52px; height: 52px; border-radius: 13px; }
  .rf-recent h3 { font-size: 20px; }
  .rf-sections ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-sections li:last-child { grid-column: 1 / -1; }
  .rf-sections a { min-height: 84px; }

  .rf-row { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; padding: 18px 0; }
  .rf-row .rf-orb { --size: 104px; }
  .rf-row h2 { font-size: 23px; }
  .rf-row p { font-size: 15.5px; }
  .rf-kicker, .rf-eyebrow { font-size: 11.5px; letter-spacing: .16em; }
  .rf-mini { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
  .rf-mini .rf-orb { --size: 68px; }
  .rf-mini h3 { font-size: 19px; }
  .rf-more-line .names { display: none; }

  .rf-hero-detail .rf-detail-orb { grid-row: auto; margin-top: 14px; }
  .rf-orb.is-large { --size: min(280px, 72vw); }
  .rf-spec-head { padding: 12px 100px 12px 16px; flex-direction: column; gap: 4px; }
  .rf-spec dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rf-spec dl > div { padding: 14px 16px; }
  .rf-spec dd { font-size: 16px; }
  .rf-gallery.is-portrait li a { width: 170px; height: 170px; }
  .rf-gallery.is-landscape img { height: 180px; }
  .rf-brief > section > h2 { font-size: 22px; }

  .tech-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }

  .rf-foot-band { gap: 12px; height: 54px; padding-left: 12px; }
  .rf-dots { display: none; }
  .rf-foot-name { font-size: 10.5px; letter-spacing: .18em; line-height: 1.5; }
  .rf-foot-name .sep { display: none; }
  .rf-foot-name .svc { display: block; color: var(--powder); }
  .rf-livery { margin-right: 8px; gap: 5px; }
  .rf-livery i { width: 9px; }
  .rf-livery i:nth-child(3), .rf-livery i:nth-child(4) { width: 14px; }
  .rf-foot-links { gap: 4px 16px; }
  .rf-skyline { height: 150px; margin-top: -24px; }
  .rf-skyline img { height: 150px; width: 923px; left: -30px; transform: none; }
}
