/* Tidebreaker: Salvage Fleet — landing styles. Class prefix: tbf_*__7c2e */

@font-face {
  font-family: "TBF Zilla";
  src: url("/assets/fonts/ZillaSlab-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TBF Asap";
  src: url("/assets/fonts/AsapCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TBF Asap";
  src: url("/assets/fonts/AsapCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TBF Mono";
  src: url("/assets/fonts/ShareTechMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --tbf-ink: #0F2A3A;
  --tbf-ink-deep: #0A1F2C;
  --tbf-panel: #183E52;
  --tbf-paper: #F3EBD7;
  --tbf-paper-2: #EADFC3;
  --tbf-sheet: #FBF6EA;
  --tbf-orange: #FF6B2C;
  --tbf-rust: #B23F0B;
  --tbf-seafoam: #46D9C0;
  --tbf-yellow: #FFC93C;
  --tbf-haze: #A9C7D1;
  --tbf-survey: #23518C;
  --tbf-kelp: #2F6B45;
  --tbf-danger: #E8423A;
  --tbf-muted: #4A6270;
  --tbf-text-dark: #E9E2CF;
  --tbf-rivet: #3D6177;
  --tbf-focus: var(--tbf-ink);
  --tbf-serif: "TBF Zilla", "Rockwell", "Roboto Slab", Georgia, serif;
  --tbf-sans: "TBF Asap", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --tbf-mono: "TBF Mono", ui-monospace, "Consolas", monospace;
  --tbf-radius: 18px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--tbf-sans);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--tbf-ink);
  background-color: var(--tbf-paper);
  /* chart graticule */
  background-image:
    linear-gradient(rgba(15, 42, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 58, 0.05) 1px, transparent 1px);
  background-size: 96px 96px;
  counter-reset: tbffig;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--tbf-serif); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
code { font-family: var(--tbf-mono); font-size: 0.92em; background: var(--tbf-paper-2); padding: 0.05em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
strong, b { font-weight: 700; }

a { color: var(--tbf-rust); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--tbf-ink); }

:focus-visible {
  outline: 3px solid var(--tbf-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.tbf_skip__7c2e {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--tbf-ink);
  color: var(--tbf-paper);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
}
.tbf_skip__7c2e:focus { top: 0; color: var(--tbf-paper); --tbf-focus: var(--tbf-yellow); }

.tbf_wrap__7c2e { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .tbf_wrap__7c2e { padding: 0 28px; } }

/* ---------- Masthead ---------- */
.tbf_masthead__7c2e {
  position: relative;
  background: var(--tbf-sheet);
  border-bottom: 2px solid var(--tbf-ink);
}
.tbf_masthead__7c2e::after {
  /* chart neatline: alternating blocks like the in-game chart frame */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--tbf-ink) 0 30px, transparent 30px 46px);
  pointer-events: none;
}
.tbf_mastInner__7c2e {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
@media (min-width: 720px) { .tbf_mastInner__7c2e { padding: 12px 28px; } }

.tbf_brand__7c2e {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--tbf-ink);
  text-decoration: none;
}
.tbf_brandIcon__7c2e { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--tbf-ink); }
.tbf_brandText__7c2e { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.tbf_brandWord__7c2e { font-family: var(--tbf-serif); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.tbf_brandTag__7c2e {
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--tbf-orange);
  color: var(--tbf-ink);
  padding: 2px 6px;
  border-radius: 4px;
}

.tbf_navList__7c2e { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tbf_navList__7c2e a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--tbf-ink);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.tbf_navList__7c2e a:hover { background: rgba(15, 42, 58, 0.08); }
.tbf_navList__7c2e a[aria-current="page"] { background: var(--tbf-ink); color: var(--tbf-paper); }
@media (min-width: 720px) { .tbf_navList__7c2e a { padding: 0 14px; } }
@media (max-width: 560px) {
  .tbf_nav__7c2e { width: 100%; }
  .tbf_navList__7c2e { justify-content: space-between; }
  .tbf_navList__7c2e a { padding: 0 6px; font-size: 0.92rem; letter-spacing: 0.02em; }
}

/* ---------- Shared labels ---------- */
.tbf_kicker__7c2e {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0.6em;
  font-family: var(--tbf-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbf-rust);
}
.tbf_kicker__7c2e::before { content: ""; width: 28px; height: 3px; background: currentColor; flex: none; }
.tbf_kicker--dark__7c2e { color: var(--tbf-yellow); }

.tbf_h2__7c2e { font-size: clamp(2rem, 5.4vw, 3.2rem); line-height: 1.04; margin-bottom: 0.55em; }
.tbf_h3__7c2e { font-size: 1.45rem; margin-top: 1.2em; }
.tbf_intro__7c2e { max-width: 64ch; }

/* salvage tag: orange label with a punched hole */
.tbf_tag__7c2e,
.tbf_salvageTag__7c2e {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  padding: 5px 14px 5px 30px;
  background: var(--tbf-orange);
  color: var(--tbf-ink);
  font-family: var(--tbf-mono);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
}
.tbf_tag__7c2e::before,
.tbf_salvageTag__7c2e::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--tbf-paper);
  box-shadow: 0 0 0 2px var(--tbf-ink);
}

/* ---------- Buttons & Play badge ---------- */
.tbf_btn__7c2e,
.tbf_btnGhost__7c2e {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  border: 2px solid var(--tbf-ink);
  font-family: var(--tbf-sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--tbf-ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.tbf_btn__7c2e { background: var(--tbf-orange); color: var(--tbf-ink); }
.tbf_btnGhost__7c2e { background: transparent; color: var(--tbf-ink); }
.tbf_btn__7c2e:hover,
.tbf_btnGhost__7c2e:hover { color: var(--tbf-ink); transform: translateY(2px); box-shadow: 0 3px 0 var(--tbf-ink); }
.tbf_btn__7c2e:active,
.tbf_btnGhost__7c2e:active { transform: translateY(5px); box-shadow: 0 0 0 var(--tbf-ink); }
.tbf_btnGhost--dark__7c2e { color: var(--tbf-paper); border-color: var(--tbf-paper); box-shadow: 0 5px 0 var(--tbf-haze); }
.tbf_btnGhost--dark__7c2e:hover { color: var(--tbf-paper); box-shadow: 0 3px 0 var(--tbf-haze); }

.tbf_play__7c2e {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  max-width: 100%;
  margin: 0;
  padding: 8px 18px 8px 14px;
  border-radius: 12px;
  border: 2px solid var(--tbf-ink);
  background: var(--tbf-ink);
  color: var(--tbf-paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}
.tbf_play__7c2e span { display: flex; flex-direction: column; }
.tbf_play__7c2e small { font-family: var(--tbf-mono); font-weight: 400; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tbf-haze); }
.tbf_play__7c2e:hover { color: var(--tbf-yellow); }
.tbf_playGlyph__7c2e { width: 28px; height: 28px; flex: none; color: var(--tbf-seafoam); }
.tbf_play--off__7c2e {
  background: transparent;
  color: var(--tbf-ink);
  border-style: dashed;
  font-size: 1rem;
  cursor: default;
}
.tbf_play--off__7c2e small { color: var(--tbf-muted); }
.tbf_play--off__7c2e .tbf_playGlyph__7c2e { color: var(--tbf-muted); }
.tbf_play--off__7c2e:hover { color: var(--tbf-ink); }

/* ---------- Bezel (screenshot frame) ---------- */
.tbf_bezel__7c2e {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: 22px;
  background:
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) left 3px top 3px / 12px 12px no-repeat,
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) right 3px top 3px / 12px 12px no-repeat,
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) left 3px bottom 3px / 12px 12px no-repeat,
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) right 3px bottom 3px / 12px 12px no-repeat,
    var(--tbf-ink);
  box-shadow: 0 16px 30px -18px rgba(10, 31, 44, 0.7);
  counter-increment: tbffig;
}
.tbf_bezelGlass__7c2e { border-radius: 12px; overflow: hidden; border: 2px solid rgba(70, 217, 192, 0.65); background: var(--tbf-panel); }
.tbf_bezelGlass__7c2e img { width: 100%; }
.tbf_bezelCap__7c2e {
  padding: 9px 4px 0;
  font-family: var(--tbf-mono);
  font-size: 0.8rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tbf-haze);
}
.tbf_bezelCap__7c2e::before { content: "Fig. " counter(tbffig, decimal-leading-zero) " — "; color: var(--tbf-yellow); }
.tbf_bezel--paper__7c2e { box-shadow: 10px 10px 0 rgba(15, 42, 58, 0.14); }
.tbf_bezel--square__7c2e { padding: 9px; border-radius: 18px; }
.tbf_bezel--square__7c2e .tbf_bezelCap__7c2e { font-size: 0.74rem; }

/* ---------- Hero ---------- */
.tbf_hero__7c2e {
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
}
.tbf_contours__7c2e {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--tbf-ink);
  opacity: 0.14;
  pointer-events: none;
}
.tbf_contours__7c2e path { stroke-width: 1.6; }
.tbf_soundings__7c2e { font-family: var(--tbf-mono); font-size: 18px; opacity: 0.8; }

.tbf_heroGrid__7c2e {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 40px;
}
@media (min-width: 720px) { .tbf_heroGrid__7c2e { padding: 0 28px; } }
@media (min-width: 980px) {
  .tbf_hero__7c2e { padding: 72px 0 96px; }
  .tbf_heroGrid__7c2e { grid-template-columns: 1fr 1.22fr; align-items: center; gap: 56px; }
}

.tbf_wordmark__7c2e {
  position: relative;
  margin: 0 0 0.35em;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28em;
  font-size: clamp(2.1rem, 8.6vw, 3.8rem);
  line-height: 0.95;
}
.tbf_wordmark__7c2e::before {
  /* the hanging cable from the game logo */
  content: "";
  position: absolute;
  top: 0;
  left: 0.9em;
  width: 8px;
  height: 26px;
  background: var(--tbf-yellow);
  border-left: 2px solid var(--tbf-ink);
  border-right: 2px solid var(--tbf-ink);
}
.tbf_wordmarkMain__7c2e {
  color: #F7FBFC;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow:
    0.045em 0 0 var(--tbf-ink), -0.045em 0 0 var(--tbf-ink), 0 0.045em 0 var(--tbf-ink), 0 -0.045em 0 var(--tbf-ink),
    0.032em 0.032em 0 var(--tbf-ink), -0.032em 0.032em 0 var(--tbf-ink), 0.032em -0.032em 0 var(--tbf-ink), -0.032em -0.032em 0 var(--tbf-ink),
    0.07em 0.09em 0 var(--tbf-ink);
}
.tbf_wordmarkTag__7c2e {
  font-family: var(--tbf-sans);
  font-size: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--tbf-orange);
  color: var(--tbf-ink);
  border: 3px solid var(--tbf-ink);
  border-radius: 12px;
  padding: 0.08em 0.45em 0.12em;
  margin-left: 0.9em;
}
@media (min-width: 980px) { .tbf_wordmark__7c2e { font-size: clamp(2.6rem, 4.7vw, 3.8rem); } }

.tbf_pitch__7c2e { font-family: var(--tbf-serif); font-size: clamp(1.3rem, 3.4vw, 1.6rem); line-height: 1.25; max-width: 30ch; }
.tbf_lede__7c2e { color: #2B4656; max-width: 46ch; }
.tbf_heroActions__7c2e { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 1.6rem 0; }

.tbf_readouts__7c2e { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tbf_readouts__7c2e li {
  font-family: var(--tbf-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--tbf-ink);
  color: var(--tbf-seafoam);
  padding: 6px 11px;
  border-radius: 8px;
}
.tbf_readouts__7c2e b { color: var(--tbf-yellow); font-weight: 400; font-size: 1.15em; }

.tbf_heroShot__7c2e { position: relative; }
.tbf_bezel--hero__7c2e::after {
  /* strip of tape holding the photo to the chart */
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 110px;
  height: 26px;
  margin-left: -55px;
  background: rgba(255, 201, 60, 0.75);
  transform: rotate(-3deg);
}
@media (min-width: 980px) { .tbf_bezel--hero__7c2e { transform: rotate(1.2deg); } }

.tbf_scope__7c2e {
  position: absolute;
  right: -6px;
  bottom: -34px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid var(--tbf-ink);
  background:
    repeating-radial-gradient(circle, transparent 0 13px, rgba(70, 217, 192, 0.55) 13px 14.5px),
    var(--tbf-panel);
  overflow: hidden;
  box-shadow: 0 8px 18px -8px rgba(10, 31, 44, 0.8);
}
.tbf_scope__7c2e span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(70, 217, 192, 0.75), rgba(70, 217, 192, 0) 70deg, transparent 360deg);
  animation: tbf_sweep__7c2e 4s linear infinite;
}
@keyframes tbf_sweep__7c2e { to { transform: rotate(360deg); } }
@media (min-width: 980px) { .tbf_scope__7c2e { right: -30px; bottom: -56px; width: 120px; height: 120px; } }

/* ---------- Loop ---------- */
.tbf_loop__7c2e { padding: clamp(56px, 9vw, 104px) 0; border-top: 2px solid var(--tbf-ink); }
.tbf_route__7c2e {
  position: relative;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 32px;
}
.tbf_route__7c2e::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 40px;
  bottom: 40px;
  border-left: 3px dashed var(--tbf-orange);
}
.tbf_waypoint__7c2e { position: relative; padding-left: 96px; }
.tbf_wpMark__7c2e {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tbf-sheet);
  border: 3px solid var(--tbf-ink);
  color: var(--tbf-ink);
  box-shadow: 0 0 0 6px rgba(243, 235, 215, 0.9);
}
.tbf_wpMark__7c2e svg { width: 38px; height: 38px; }
.tbf_wpNum__7c2e { font-family: var(--tbf-mono); font-size: 0.95rem; color: var(--tbf-rust); letter-spacing: 0.1em; }
.tbf_waypoint__7c2e h3 { font-size: 1.6rem; margin: 0.15em 0 0.4em; }
.tbf_waypoint__7c2e p { margin: 0; max-width: 42ch; }
@media (min-width: 900px) {
  .tbf_route__7c2e { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .tbf_route__7c2e::before { left: 36px; right: 16%; top: 35px; bottom: auto; border-left: 0; border-top: 3px dashed var(--tbf-orange); }
  .tbf_waypoint__7c2e { padding-left: 0; padding-top: 96px; }
}

/* ---------- Dark sections ---------- */
.tbf_ops__7c2e,
.tbf_fleet__7c2e,
.tbf_fold__7c2e,
.tbf_castoff__7c2e {
  --tbf-focus: var(--tbf-yellow);
  position: relative;
  color: var(--tbf-text-dark);
}
.tbf_ops__7c2e a,
.tbf_fleet__7c2e a,
.tbf_fold__7c2e a,
.tbf_castoff__7c2e a:not(.tbf_play__7c2e):not(.tbf_btnGhost__7c2e) { color: var(--tbf-yellow); }
.tbf_ops__7c2e h2, .tbf_ops__7c2e h3,
.tbf_fleet__7c2e h2, .tbf_fleet__7c2e h3,
.tbf_fold__7c2e h2,
.tbf_castoff__7c2e h2 { color: #FFFDF6; }

.tbf_ops__7c2e { background: var(--tbf-ink); padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.tbf_ops__7c2e::before,
.tbf_fleet__7c2e::before {
  /* scalloped waterline */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 18px;
  background: radial-gradient(circle at 50% 0, var(--tbf-paper) 13px, transparent 14px) 0 0 / 40px 18px repeat-x;
}

.tbf_feature__7c2e { display: grid; gap: 28px; margin: 48px 0; align-items: center; }
.tbf_featureText__7c2e h3 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
.tbf_featureText__7c2e p { max-width: 52ch; }
@media (min-width: 900px) {
  .tbf_feature__7c2e { grid-template-columns: 7fr 5fr; gap: 52px; margin: 72px 0; }
  .tbf_feature--flip__7c2e { grid-template-columns: 5fr 7fr; }
  .tbf_feature--flip__7c2e .tbf_featureText__7c2e { order: -1; }
}

.tbf_ticks__7c2e { list-style: none; margin: 0 0 1em; padding: 0; }
.tbf_ticks__7c2e li { position: relative; padding-left: 30px; margin-bottom: 0.45em; }
.tbf_ticks__7c2e li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tbf-orange);
  box-shadow: 0 0 0 2px var(--tbf-ink), 0 0 0 4px var(--tbf-seafoam);
}
.tbf_ticks--paper__7c2e li::before { box-shadow: 0 0 0 2px var(--tbf-ink); }

.tbf_weather__7c2e { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tbf_weather__7c2e li {
  font-family: var(--tbf-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tbf-seafoam);
  border: 1px solid rgba(169, 199, 209, 0.5);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Contracts ---------- */
.tbf_contracts__7c2e { padding: clamp(64px, 9vw, 112px) 0; }
.tbf_split__7c2e { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .tbf_split__7c2e { grid-template-columns: 5fr 7fr; gap: 56px; }
  .tbf_split--center__7c2e { align-items: center; }
}
.tbf_areas__7c2e { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 2px solid var(--tbf-ink); }
.tbf_areas__7c2e li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  border-bottom: 1px dashed rgba(15, 42, 58, 0.35);
  font-family: var(--tbf-serif);
  font-size: 1.3rem;
}
.tbf_pin__7c2e {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 4px;
  background: var(--tbf-yellow);
  border: 2px solid var(--tbf-ink);
  font-family: var(--tbf-mono);
  font-size: 0.95rem;
}

.tbf_types__7c2e {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.tbf_type__7c2e { background: var(--tbf-sheet); border: 2px solid var(--tbf-ink); border-radius: 14px; overflow: hidden; }
.tbf_type__7c2e > p:last-child { margin: 0; padding: 12px 14px 14px; font-size: 1.02rem; }
.tbf_typeHead__7c2e {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  font-family: var(--tbf-mono);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--tbf-ink);
}
.tbf_typeHead__7c2e span { background: var(--tbf-ink); color: var(--tbf-paper); padding: 2px 8px; border-radius: 4px; }
.tbf_typeHead__7c2e .tbf_typeCount__7c2e { background: var(--tbf-sheet); color: var(--tbf-ink); }
.tbf_type--recover__7c2e .tbf_typeHead__7c2e {
  background: radial-gradient(circle at 50% 100%, transparent 7px, rgba(15, 42, 58, 0.18) 7.5px 9px, transparent 9.5px) 0 0 / 22px 14px repeat-x, var(--tbf-seafoam);
}
.tbf_type--evac__7c2e .tbf_typeHead__7c2e {
  background: repeating-linear-gradient(135deg, var(--tbf-orange) 0 12px, #FF8F5E 12px 24px);
}
.tbf_type--survey__7c2e .tbf_typeHead__7c2e {
  background:
    linear-gradient(rgba(243, 235, 215, 0.35) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(243, 235, 215, 0.35) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--tbf-survey);
}

/* ---------- Fleet ---------- */
.tbf_fleet__7c2e { background: var(--tbf-ink); padding: clamp(64px, 9vw, 112px) 0; }
.tbf_boats__7c2e {
  list-style: none;
  margin: 32px 0 56px;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.tbf_boat__7c2e {
  position: relative;
  padding: 30px 22px 22px;
  border-radius: 22px;
  border: 2px solid rgba(70, 217, 192, 0.55);
  background:
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) left 6px bottom 6px / 12px 12px no-repeat,
    radial-gradient(circle, var(--tbf-rivet) 0 3px, transparent 3.6px) right 6px bottom 6px / 12px 12px no-repeat,
    var(--tbf-panel);
  overflow: hidden;
}
.tbf_boat__7c2e::before {
  /* hull paint stripe */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background: var(--tbf-hull, var(--tbf-orange));
  border-bottom: 3px solid var(--tbf-hull-2, var(--tbf-ink));
}
.tbf_boat--petrel__7c2e { --tbf-hull: #F2F4F0; --tbf-hull-2: #1F3E5A; }
.tbf_boat--bulwark__7c2e { --tbf-hull: var(--tbf-orange); --tbf-hull-2: #1F3E5A; }
.tbf_boat--longreach__7c2e { --tbf-hull: #1E7C83; --tbf-hull-2: var(--tbf-paper); }
.tbf_boat__7c2e h3 { font-size: 2rem; margin: 0 0 0.2em; }
.tbf_boatRole__7c2e { font-family: var(--tbf-mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.88rem; color: var(--tbf-yellow); margin-bottom: 0.8em; }
.tbf_stats__7c2e { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tbf_stats__7c2e div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed rgba(169, 199, 209, 0.35); }
.tbf_stats__7c2e dt { color: var(--tbf-haze); font-size: 0.98rem; }
.tbf_stats__7c2e dd { margin: 0; font-family: var(--tbf-mono); color: var(--tbf-seafoam); white-space: nowrap; }
@media (max-width: 380px) { .tbf_stats__7c2e { grid-template-columns: 1fr; } }

.tbf_chips__7c2e { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tbf_chips__7c2e li {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  background: var(--tbf-orange);
  color: var(--tbf-ink);
  padding: 6px 12px;
  border-radius: 8px;
  border-bottom: 4px solid #B8471A;
}

/* ---------- Logbook ---------- */
.tbf_logbook__7c2e { padding: clamp(64px, 9vw, 112px) 0; }
.tbf_logPage__7c2e {
  position: relative;
  padding: 30px 20px 26px 34px;
  background:
    linear-gradient(90deg, transparent 22px, rgba(232, 66, 58, 0.45) 22px 24px, transparent 24px),
    repeating-linear-gradient(transparent 0 33px, rgba(35, 81, 140, 0.13) 33px 34px),
    var(--tbf-sheet);
  border: 2px solid var(--tbf-ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(15, 42, 58, 0.12);
}
.tbf_logPage__7c2e::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 28px;
  width: 90px;
  height: 24px;
  background: rgba(255, 201, 60, 0.75);
  transform: rotate(4deg);
}
.tbf_logPage__7c2e .tbf_h2__7c2e { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
@media (min-width: 720px) { .tbf_logPage__7c2e { padding: 40px 36px 32px 56px; background-position: 12px 0, 0 0, 0 0; } }

/* ---------- Foldables ---------- */
.tbf_fold__7c2e { background: var(--tbf-panel); padding: clamp(64px, 9vw, 112px) 0; border-top: 6px solid var(--tbf-seafoam); }
.tbf_foldGrid__7c2e { display: grid; gap: 18px; margin-top: 32px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .tbf_foldGrid__7c2e { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .tbf_foldGrid__7c2e { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Free and fair ---------- */
.tbf_fair__7c2e { padding: clamp(64px, 9vw, 112px) 0; }
.tbf_stamps__7c2e { list-style: none; margin: 8px 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 22px; }
.tbf_stamp__7c2e {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  padding: 20px;
  border-radius: 50%;
  border: 3px solid var(--tbf-kelp);
  box-shadow: inset 0 0 0 5px var(--tbf-paper), inset 0 0 0 7px var(--tbf-kelp);
  color: var(--tbf-kelp);
  font-family: var(--tbf-serif);
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}
.tbf_stamps__7c2e li:nth-child(even) .tbf_stamp__7c2e { transform: rotate(5deg); }
@media (max-width: 400px) {
  .tbf_stamps__7c2e { gap: 12px; justify-content: center; }
  .tbf_stamp__7c2e { width: 128px; height: 128px; font-size: 0.92rem; padding: 18px; }
}
.tbf_ledger__7c2e {
  max-width: 760px;
  padding: 22px 24px;
  background: var(--tbf-sheet);
  border: 2px solid var(--tbf-ink);
  border-left: 10px solid var(--tbf-yellow);
  border-radius: 12px;
}
.tbf_ledger__7c2e .tbf_h3__7c2e { margin-top: 0; }
.tbf_ledger__7c2e p:last-child { margin-bottom: 0; }

/* ---------- Notes / Q&A ---------- */
.tbf_notes__7c2e { padding: clamp(56px, 8vw, 96px) 0; background: rgba(234, 223, 195, 0.55); border-top: 2px solid var(--tbf-ink); }
.tbf_qa__7c2e { margin: 0; }
.tbf_qa__7c2e > div { border-top: 2px solid var(--tbf-ink); padding: 14px 0 4px; }
.tbf_qa__7c2e dt { font-family: var(--tbf-serif); font-size: 1.25rem; margin-bottom: 4px; }
.tbf_qa__7c2e dd { margin: 0 0 12px; }

/* ---------- Cast off CTA ---------- */
.tbf_castoff__7c2e { background: var(--tbf-ink); padding: clamp(48px, 7vw, 80px) 0; }
.tbf_castoffInner__7c2e { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 28px; }
.tbf_castoffInner__7c2e img { width: 96px; height: 96px; border-radius: 24px; border: 3px solid var(--tbf-paper); }
.tbf_castoffInner__7c2e > div:nth-child(2) { flex: 1 1 260px; }
.tbf_castoffInner__7c2e .tbf_h2__7c2e { margin-bottom: 0.2em; }
.tbf_castoffInner__7c2e p { margin: 0; color: var(--tbf-haze); }
.tbf_castoffActions__7c2e { display: flex; flex-wrap: wrap; gap: 14px; }
.tbf_castoff__7c2e .tbf_play__7c2e { background: var(--tbf-paper); color: var(--tbf-ink); border-color: var(--tbf-paper); }
.tbf_castoff__7c2e .tbf_play__7c2e small { color: var(--tbf-muted); }
.tbf_castoff__7c2e .tbf_play__7c2e .tbf_playGlyph__7c2e { color: var(--tbf-rust); }
.tbf_castoff__7c2e .tbf_play--off__7c2e { background: transparent; color: var(--tbf-paper); }
.tbf_castoff__7c2e .tbf_play--off__7c2e small,
.tbf_castoff__7c2e .tbf_play--off__7c2e .tbf_playGlyph__7c2e { color: var(--tbf-haze); }

/* ---------- Footer ---------- */
.tbf_footer__7c2e {
  --tbf-focus: var(--tbf-yellow);
  position: relative;
  background: var(--tbf-ink-deep);
  color: var(--tbf-haze);
  padding: 44px 0 24px;
}
.tbf_footer__7c2e::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--tbf-orange) 0 30px, transparent 30px 46px);
}
.tbf_footInner__7c2e {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}
@media (min-width: 720px) { .tbf_footInner__7c2e { padding: 0 28px; } }
.tbf_footBrand__7c2e { display: flex; gap: 14px; align-items: center; }
.tbf_footBrand__7c2e img { width: 56px; height: 56px; border-radius: 14px; }
.tbf_footName__7c2e { font-family: var(--tbf-serif); font-size: 1.25rem; color: #FFFDF6; margin: 0 0 2px; }
.tbf_footMeta__7c2e { margin: 0; font-size: 0.95rem; }
.tbf_footLabel__7c2e { margin: 0 0 2px; font-family: var(--tbf-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.tbf_footMail__7c2e {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--tbf-serif);
  font-size: 1.2rem;
  color: var(--tbf-yellow);
  overflow-wrap: anywhere;
}
.tbf_footMail__7c2e:hover { color: #FFFDF6; }
.tbf_footNav__7c2e { display: flex; flex-wrap: wrap; gap: 2px 6px; }
.tbf_footNav__7c2e a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--tbf-paper);
  text-decoration: none;
  font-weight: 700;
}
.tbf_footNav__7c2e a:hover { color: var(--tbf-yellow); text-decoration: underline; }
.tbf_footFine__7c2e {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 16px 16px 0;
  border-top: 1px solid rgba(169, 199, 209, 0.25);
  font-size: 0.9rem;
}
@media (min-width: 720px) { .tbf_footFine__7c2e { padding: 16px 28px 0; } }

/* ---------- Document pages ---------- */
.tbf_docMain__7c2e { padding: 48px 16px 88px; }
.tbf_doc__7c2e {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 48px);
  background: var(--tbf-sheet);
  border: 2px solid var(--tbf-ink);
  border-radius: var(--tbf-radius);
  box-shadow: 10px 10px 0 rgba(15, 42, 58, 0.12);
}
.tbf_docWide__7c2e { max-width: 1100px; margin-top: 32px; }
.tbf_docTitle__7c2e { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.02; }
.tbf_docMeta__7c2e { color: var(--tbf-muted); }
.tbf_doc__7c2e h2 { font-size: clamp(1.45rem, 3.6vw, 1.75rem); margin-top: 1.7em; }
.tbf_doc__7c2e h3 { font-size: 1.25rem; margin-top: 1.3em; }
.tbf_doc__7c2e ul:not([class]) { padding-left: 1.3em; }
.tbf_doc__7c2e ul:not([class]) li { margin-bottom: 0.45em; }
.tbf_doc__7c2e ul:not([class]) li::marker { color: var(--tbf-rust); }

.tbf_summary__7c2e { --tbf-focus: var(--tbf-yellow); margin: 24px 0 8px; padding: 18px 22px 8px; background: var(--tbf-ink); color: var(--tbf-text-dark); border-radius: 14px; }
.tbf_summary__7c2e h2 { color: var(--tbf-yellow); margin-top: 0; font-size: 1.35rem; }
.tbf_summary__7c2e li::marker { color: var(--tbf-seafoam) !important; }

.tbf_contactBox__7c2e { margin-top: 2.4em; padding: 6px 22px 10px; border: 3px dashed var(--tbf-orange); border-radius: 14px; background: #FFF9EC; }
.tbf_bigMail__7c2e { font-family: var(--tbf-serif); font-size: clamp(1.2rem, 4.6vw, 1.5rem); overflow-wrap: anywhere; }
.tbf_bigMail__7c2e a { display: inline-flex; align-items: center; min-height: 44px; }

/* support */
.tbf_supportGrid__7c2e { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; align-items: start; }
.tbf_supportGrid__7c2e .tbf_doc__7c2e { max-width: none; margin: 0; }
@media (min-width: 920px) { .tbf_supportGrid__7c2e { grid-template-columns: 2fr 1fr; } }
.tbf_sideCard__7c2e {
  --tbf-focus: var(--tbf-yellow);
  padding: 24px;
  background: var(--tbf-ink);
  color: var(--tbf-text-dark);
  border-radius: var(--tbf-radius);
}
.tbf_sideCard__7c2e h2 { color: #FFFDF6; font-size: 1.6rem; }
.tbf_sideCard__7c2e a { color: var(--tbf-yellow); }
.tbf_sideCard__7c2e code { background: var(--tbf-panel); color: var(--tbf-paper); }
.tbf_sideCard__7c2e .tbf_small__7c2e { color: var(--tbf-haze); }

.tbf_form__7c2e { margin-top: 1.4rem; }
.tbf_field__7c2e { margin-bottom: 18px; }
.tbf_field__7c2e label { display: block; font-weight: 700; margin-bottom: 6px; }
.tbf_field__7c2e label span { font-weight: 500; color: var(--tbf-muted); }
.tbf_field__7c2e input,
.tbf_field__7c2e select,
.tbf_field__7c2e textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--tbf-ink);
  background: #FFFFFF;
  border: 2px solid var(--tbf-ink);
  border-radius: 10px;
}
.tbf_field__7c2e textarea { min-height: 170px; resize: vertical; }
.tbf_field__7c2e input:focus-visible,
.tbf_field__7c2e select:focus-visible,
.tbf_field__7c2e textarea:focus-visible { outline: 3px solid var(--tbf-orange); outline-offset: 2px; border-radius: 10px; }
.tbf_hp__7c2e { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tbf_small__7c2e { font-size: 0.95rem; color: var(--tbf-muted); margin-top: 1rem; }
.tbf_notice__7c2e { margin: 1.2rem 0; padding: 14px 18px; border-radius: 10px; border: 2px solid var(--tbf-ink); }
.tbf_notice__7c2e p:last-child { margin-bottom: 0; }
.tbf_notice--ok__7c2e { background: #DDF2E2; border-left: 10px solid var(--tbf-kelp); }
.tbf_notice--err__7c2e { background: #FBE1DC; border-left: 10px solid var(--tbf-danger); }

/* changelog */
.tbf_releases__7c2e { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.tbf_release__7c2e { border-left: 5px solid var(--tbf-orange); padding: 2px 0 4px 20px; }
.tbf_release__7c2e h2 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tbf_relVer__7c2e { font-family: var(--tbf-mono); font-weight: 400; font-size: 0.85em; background: var(--tbf-ink); color: var(--tbf-yellow); padding: 2px 10px; border-radius: 6px; }
.tbf_relDate__7c2e { font-family: var(--tbf-mono); color: var(--tbf-rust); }

/* 404 */
.tbf_lost__7c2e { text-align: center; }
.tbf_lost__7c2e .tbf_kicker__7c2e { justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* keep the hero caption clear of the decorative sonar scope */
.tbf_bezel--hero__7c2e .tbf_bezelCap__7c2e { padding-right: 84px; }
@media (min-width: 980px) { .tbf_bezel--hero__7c2e .tbf_bezelCap__7c2e { padding-right: 100px; } }
.tbf_docWide__7c2e > h2:first-child { margin-top: 0; }
