/* ==== custom properties ==== */
:root {
  --vx-paper: #ffffff;
  --vx-ink: #111418;
  --vx-ink-soft: #4a525c;
  --vx-buoy: #bf4410;
  --vx-buoy-deep: #973509;
  --vx-fog: #f2f4f6;
  --vx-fog-deep: #e3e7eb;
  --vx-chartline: #d4dae1;
  --vx-card-bg: var(--vx-fog);
  --vx-chip-bg: var(--vx-paper);
  --vx-r-card: 18px;
  --vx-r-frame: 28px;
  --vx-r-pill: 999px;
  --vx-lift: 0 1px 2px rgba(17, 20, 24, .06), 0 18px 36px -18px rgba(17, 20, 24, .28);
  --vx-display: "Big Shoulders Display", "Shoulders Stand-in", "Arial Narrow", sans-serif;
  --vx-text: "Work Sans", "Work Stand-in", Arial, Helvetica, sans-serif;
  --vx-dock-h: 72px;
  --vx-lag: 0ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--vx-paper);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--vx-paper);
  color: var(--vx-ink);
  font-family: var(--vx-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

::selection { background: var(--vx-buoy); color: #fff; }

::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--vx-paper); }
::-webkit-scrollbar-thumb {
  background: var(--vx-ink-soft);
  border: 4px solid var(--vx-paper);
  border-radius: var(--vx-r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--vx-buoy); }
::-webkit-scrollbar-button { display: none; }

@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--vx-ink-soft) var(--vx-paper); }
  .vx-chart__wrap,
  .vx-logbook__scroll { scrollbar-width: thin; scrollbar-color: var(--vx-ink-soft) var(--vx-fog); }
}

/* ==== typography ==== */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/bigshoulders-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/worksans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/worksans-var-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Shoulders Stand-in";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Roboto Bold");
  font-weight: 800;
  size-adjust: 65.2%;
  ascent-override: 150.9%;
  descent-override: 32.7%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Work Stand-in";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto");
  size-adjust: 108.5%;
  ascent-override: 85.7%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}

.vx-sign,
.vx-swell__title,
.vx-moor__name,
.vx-legend__head,
.vx-keel__head,
.vx-logbook__title,
.vx-logbook__body h2,
.vx-adrift__title {
  font-family: var(--vx-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
}

.vx-sign { font-size: clamp(2.5rem, 7.2vw, 4.4rem); }

.vx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vx-buoy);
}

.vx-kicker svg { width: 18px; height: 18px; flex: none; }

.vx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==== layout primitives ==== */
.vx-hull {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

.vx-jump {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 90;
  padding: 12px 22px;
  border: 2px solid var(--vx-ink);
  border-radius: var(--vx-r-pill);
  background: var(--vx-paper);
  color: var(--vx-ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--vx-ink);
}

.vx-jump:focus { top: 12px; }

main > section { scroll-margin-top: var(--vx-dock-h); }

.vx-flare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--vx-ink);
  border-radius: var(--vx-r-pill);
  font-family: var(--vx-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.vx-flare--lead {
  background: var(--vx-buoy);
  color: #fff;
  box-shadow: 4px 4px 0 var(--vx-ink);
}

.vx-flare--lead:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--vx-ink);
}

.vx-flare--quiet {
  background: transparent;
  color: var(--vx-ink);
}

.vx-flare--quiet:active { transform: translateY(2px); }

.vx-flare:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 4px;
}

.vx-flare--small {
  min-height: 48px;
  padding: 0 20px;
  font-size: .9375rem;
}

/* ==== header ==== */
.vx-dock {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--vx-paper);
}

.vx-dock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--vx-dock-h);
}

.vx-mark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.vx-mark__go { color: var(--vx-buoy); }

.vx-mark:focus-visible,
.vx-helm__link:focus-visible,
.vx-helm__toggle:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 3px;
  border-radius: var(--vx-r-pill);
}

.vx-helm__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.vx-helm__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--vx-r-pill);
  font-weight: 600;
  font-size: .9875rem;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}

.vx-helm__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 14px;
  border: 2px solid var(--vx-ink);
  border-radius: var(--vx-r-pill);
  background: var(--vx-paper);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--vx-ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.vx-helm__glyph { display: block; width: 22px; height: 22px; }
.vx-helm__toggle .vx-helm__glyph--shut { display: none; }
.vx-helm__toggle[aria-expanded="true"] .vx-helm__glyph--open { display: none; }
.vx-helm__toggle[aria-expanded="true"] .vx-helm__glyph--shut { display: block; }

/* ==== hero ==== */
.vx-swell {
  padding-block: 28px 80px;
  overflow-x: clip;
}

.vx-swell__grid {
  display: grid;
  gap: 40px;
}

.vx-swell__title {
  margin-top: 18px;
  font-size: clamp(3.3rem, 14vw, 7.2rem);
  line-height: .96;
}

.vx-swell__accent {
  font-style: normal;
  color: var(--vx-buoy);
}

.vx-swell__line { display: inline-block; }

.vx-swell__lead {
  margin-top: 24px;
  max-width: 33em;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--vx-ink-soft);
}

.vx-swell__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  margin-top: 32px;
}

.vx-swell__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 28px;
  list-style: none;
  font-size: .875rem;
  font-weight: 600;
  color: var(--vx-ink-soft);
}

.vx-swell__facts li + li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--vx-buoy);
  vertical-align: middle;
}

/* The frame keeps its box through aspect-ratio, so the LCP image never pushes the lead around while it decodes. */
.vx-swell__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--vx-r-frame);
  overflow: hidden;
  background: var(--vx-fog-deep);
  box-shadow: 14px 14px 0 var(--vx-fog-deep);
}

.vx-swell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.vx-swell__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 16px;
  border-radius: var(--vx-r-pill);
  background: var(--vx-paper);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ==== bento catalogue ==== */
.vx-berth {
  padding-block: 64px 104px;
  overflow-x: clip;
}

.vx-berth__head {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}

.vx-berth__intro {
  max-width: 36em;
  color: var(--vx-ink-soft);
}

.vx-berth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.vx-moor {
  --vx-card-bg: var(--vx-fog);
  --vx-chip-bg: var(--vx-paper);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 24px;
  border-radius: var(--vx-r-card);
  background: var(--vx-card-bg);
}

.vx-moor--lift {
  --vx-card-bg: var(--vx-paper);
  --vx-chip-bg: var(--vx-fog);
  box-shadow: var(--vx-lift);
}

.vx-moor__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--vx-fog-deep);
}

.vx-moor--lead .vx-moor__frame { aspect-ratio: 10 / 9; }
.vx-moor--tall .vx-moor__frame { aspect-ratio: 4 / 5; }

.vx-moor__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vx-moor__buoy {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vx-buoy);
  color: #fff;
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 0 0 3px var(--vx-paper);
}

.vx-moor__badge {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: -32px 0 0 16px;
  border-radius: 16px;
  background: var(--vx-paper);
  box-shadow: 0 0 0 4px var(--vx-card-bg), 0 10px 20px -10px rgba(17, 20, 24, .5);
}

.vx-moor__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 14px 12px 0;
}

.vx-moor__name { font-size: 1.85rem; }

.vx-moor--lead .vx-moor__name { font-size: clamp(2.2rem, 7vw, 3.1rem); }

.vx-moor__maker {
  margin-top: 4px;
  font-size: .875rem;
  color: var(--vx-ink-soft);
}

.vx-moor__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.vx-moor__stars { width: 100px; height: 20px; flex: none; }
.vx-moor__stars .vx-star-off { fill: var(--vx-fog-deep); }
.vx-moor--lift .vx-moor__stars .vx-star-off { fill: #d9dee4; }
.vx-moor__stars .vx-star-on { fill: var(--vx-buoy); }

.vx-moor__num { font-weight: 600; font-size: 1.0625rem; }

.vx-moor__votes { font-size: .8125rem; color: var(--vx-ink-soft); }

.vx-moor__text { font-size: 1rem; line-height: 1.6; }

.vx-moor--lead .vx-moor__text { font-size: 1.0625rem; }

.vx-moor__intro { display: grid; gap: 14px; }

.vx-moor__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.vx-moor__specs div { display: grid; gap: 2px; }

.vx-moor__specs dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vx-ink-soft);
}

.vx-moor__specs dd {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.vx-moor__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.vx-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: var(--vx-r-pill);
  background: var(--vx-chip-bg);
  font-size: .8125rem;
  font-weight: 600;
}

.vx-moor__go {
  margin-top: auto;
  padding-top: 8px;
}

.vx-legend {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 28px 24px 30px;
  border: 2px dashed var(--vx-buoy);
  border-radius: var(--vx-r-card);
  background: var(--vx-paper);
  overflow: hidden;
}

.vx-legend__grid {
  flex: 1 0 120px;
  width: calc(100% + 48px);
  height: 120px;
  margin: 0 -24px;
  color: var(--vx-fog-deep);
  pointer-events: none;
}

.vx-legend__head { position: relative; font-size: 2rem; }

.vx-legend__list {
  position: relative;
  display: grid;
  gap: 16px;
  list-style: none;
  font-size: .9375rem;
  line-height: 1.5;
}

.vx-legend__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.vx-legend__key {
  display: grid;
  place-items: center;
  min-height: 30px;
}

.vx-legend__key .vx-moor__buoy {
  position: static;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  box-shadow: none;
}

.vx-legend__key svg { width: 40px; height: 16px; }
.vx-legend__key .vx-tag { min-height: 24px; padding: 0 8px; font-size: .6875rem; background: var(--vx-fog); }

.vx-legend__foot {
  position: relative;
  font-size: .875rem;
  font-weight: 600;
}

/* ==== scenes gallery ==== */
.vx-porthole {
  padding-block: 40px 96px;
  overflow-x: clip;
}

.vx-porthole__head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.vx-porthole__intro {
  max-width: 34em;
  color: var(--vx-ink-soft);
}

.vx-porthole__grid {
  display: grid;
  gap: 28px;
}

.vx-porthole__col {
  display: grid;
  gap: 28px;
  align-content: start;
}

.vx-porthole__shot {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.vx-porthole__frame {
  overflow: hidden;
  border-radius: var(--vx-r-card);
  background: var(--vx-fog-deep);
}

.vx-porthole__frame--wide { aspect-ratio: 16 / 9; }
.vx-porthole__frame--tall { aspect-ratio: 4 / 5; }
.vx-porthole__frame--near { aspect-ratio: 8 / 9; }
.vx-porthole__frame--tower { aspect-ratio: 10 / 13; }

.vx-porthole__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vx-porthole__cap {
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--vx-ink-soft);
}

.vx-porthole__cap strong {
  display: block;
  margin-bottom: 2px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vx-ink);
}

/* ==== comparison table ==== */
.vx-chart {
  padding-block: 72px 84px;
  overflow-x: clip;
}

.vx-chart__head {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.vx-chart__intro,
.vx-log__intro {
  max-width: 38em;
  color: var(--vx-ink-soft);
}

.vx-chart__wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--vx-paper);
}

.vx-chart__wrap::-webkit-scrollbar-track { background: var(--vx-fog); border-radius: var(--vx-r-pill); }
.vx-chart__wrap::-webkit-scrollbar-thumb { border-color: var(--vx-fog); }

.vx-chart__wrap:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 4px;
}

.vx-chart__table {
  width: 100%;
  min-width: 940px;
  font-size: .9375rem;
  line-height: 1.45;
}

.vx-chart__table caption {
  caption-side: top;
  padding: 0 0 16px;
  text-align: left;
  font-weight: 600;
  color: var(--vx-ink-soft);
}

.vx-chart__table thead th {
  padding: 0 16px 14px;
  border-bottom: 2px solid var(--vx-ink);
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vx-chart__table tbody th,
.vx-chart__table tbody td {
  padding: 18px 16px;
  text-align: left;
  vertical-align: top;
}

.vx-chart__table tbody tr:nth-child(even) > * { background: var(--vx-fog); }
.vx-chart__table tbody tr:nth-child(even) > :first-child { border-radius: 14px 0 0 14px; }
.vx-chart__table tbody tr:nth-child(even) > :last-child { border-radius: 0 14px 14px 0; }

.vx-chart__game {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  font-weight: 600;
}

.vx-chart__modes { min-width: 180px; }

.vx-chart__game img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
}

.vx-chart__modes { display: grid; gap: 6px; list-style: none; }

.vx-chart__modes li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.vx-tick {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--vx-buoy);
}

.vx-chart__note {
  margin-top: 20px;
  max-width: 48em;
  font-size: .9375rem;
  color: var(--vx-ink-soft);
}

/* ==== selection method ==== */
.vx-bearing {
  padding-block: 88px 40px;
  overflow-x: clip;
}

.vx-bearing__head {
  display: grid;
  gap: 16px;
  margin-bottom: 44px;
}

.vx-bearing__intro {
  max-width: 36em;
  color: var(--vx-ink-soft);
}

.vx-bearing__list {
  display: grid;
  gap: 36px 56px;
  list-style: none;
  counter-reset: none;
}

.vx-bearing__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 6px 22px;
  align-items: start;
}

.vx-bearing__num {
  grid-row: span 2;
  font-family: var(--vx-display);
  font-weight: 800;
  width: 1.1em;
  font-size: clamp(4rem, 14vw, 6.5rem);
  line-height: .8;
  letter-spacing: .01em;
  color: var(--vx-buoy);
}

.vx-bearing__title {
  font-size: 1.3rem;
  line-height: 1.3;
}

.vx-bearing__text { max-width: 34em; }

.vx-bearing__note {
  max-width: 44em;
  margin-top: 56px;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.vx-bearing__note strong { color: var(--vx-buoy-deep); }

/* ==== FAQ ==== */
.vx-log {
  padding-block: 104px 120px;
  overflow-x: clip;
}

.vx-log__head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
}

.vx-log__list {
  display: grid;
  gap: 14px;
  width: 100%;
}

.vx-log__item { display: grid; }

.vx-log__q { font-size: inherit; font-weight: inherit; line-height: inherit; }

.vx-log__ask {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 68px;
  padding: 12px 12px 12px 28px;
  border: 2px solid var(--vx-ink);
  border-radius: var(--vx-r-pill);
  background: var(--vx-paper);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: box-shadow .16s ease, transform .16s ease, background-color .16s ease;
}

.vx-log__ask[aria-expanded="true"] { box-shadow: 4px 4px 0 var(--vx-ink); }
.vx-log__ask:active { transform: translate(2px, 2px); }

.vx-log__ask:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 3px;
}

.vx-log__sign {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--vx-r-pill);
  background: var(--vx-fog);
  transition: background-color .2s ease, color .2s ease;
}

.vx-log__sign svg { width: 18px; height: 18px; }
.vx-log__bar { transition: transform .25s ease; transform-origin: 50% 50%; }

.vx-log__ask[aria-expanded="true"] .vx-log__sign { background: var(--vx-buoy); color: #fff; }
.vx-log__ask[aria-expanded="true"] .vx-log__bar--v { transform: scaleY(0); }

.vx-log__reply {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 22px 28px 24px;
  border-radius: var(--vx-r-card);
  background: var(--vx-fog);
}

.vx-log__reply p { max-width: 52em; }

.vx-log__reply a {
  color: var(--vx-buoy-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==== footer ==== */
.vx-keel {
  padding-block: 64px 36px;
  background: var(--vx-paper);
}

.vx-keel__grid {
  display: grid;
  gap: 40px;
}

.vx-keel__about {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
  font-size: .9375rem;
  color: var(--vx-ink-soft);
}

.vx-keel__about .vx-mark { color: var(--vx-ink); }

.vx-keel__coords {
  width: 240px;
  height: 24px;
}

.vx-keel__coords text {
  font-family: var(--vx-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .1em;
  fill: var(--vx-chartline);
}

.vx-keel__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-content: start;
}

.vx-keel__label {
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vx-ink-soft);
}

.vx-keel__links { display: grid; list-style: none; }

.vx-keel__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.vx-keel__links a:focus-visible,
.vx-keel__contact a:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 3px;
  border-radius: 6px;
}

.vx-keel__contact {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px 26px 30px;
  border-radius: var(--vx-r-card);
  background: var(--vx-fog);
  scroll-margin-top: calc(var(--vx-dock-h) + 16px);
}

.vx-keel__head { font-size: 2.2rem; }

.vx-keel__mail {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--vx-buoy-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.vx-keel__owner {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--vx-ink-soft);
}

.vx-keel__owner a { color: var(--vx-ink); text-underline-offset: 3px; white-space: nowrap; }

.vx-keel__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 52px;
  font-size: .875rem;
  color: var(--vx-ink-soft);
}

/* ==== legal pages ==== */
.vx-logbook {
  padding-block: 40px 104px;
  overflow-x: clip;
  overflow-wrap: break-word;
  hyphens: auto;
}

.vx-logbook__grid {
  display: grid;
  gap: 36px;
}

.vx-logbook__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.vx-logbook__stamp {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--vx-ink-soft);
}

.vx-logbook__toc {
  display: grid;
  gap: 2px;
  list-style: none;
  font-size: .9375rem;
}

.vx-logbook__toc a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  color: var(--vx-ink-soft);
}

.vx-logbook__toc a:hover { color: var(--vx-buoy-deep); }

.vx-logbook__title {
  margin-top: 16px;
  font-size: clamp(2.8rem, 9vw, 5rem);
}

.vx-logbook__stamp--top { margin: 14px 0 36px; }

.vx-logbook__body {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.vx-logbook__body h2 {
  margin-top: 32px;
  line-height: 1.04;
  font-size: clamp(1.8rem, 4.5vw, 2.3rem);
  scroll-margin-top: calc(var(--vx-dock-h) + 16px);
}

.vx-logbook__body h3 {
  margin-top: 12px;
  font-size: 1.125rem;
  line-height: 1.35;
}

.vx-logbook__body p,
.vx-logbook__body li { max-width: 46em; }

.vx-logbook__body ul {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
  list-style: disc;
}

.vx-logbook__body li::marker { color: var(--vx-buoy); }

.vx-logbook__body a {
  color: var(--vx-buoy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.vx-logbook__card {
  max-width: 46em;
  padding: 20px 22px;
  border-radius: var(--vx-r-card);
  background: var(--vx-fog);
}

.vx-logbook__scroll {
  width: 100%;
  overflow-x: auto;
  background: var(--vx-paper);
}

.vx-logbook__scroll::-webkit-scrollbar-track { background: var(--vx-fog); border-radius: var(--vx-r-pill); }
.vx-logbook__scroll::-webkit-scrollbar-thumb { border-color: var(--vx-fog); }

.vx-logbook__scroll:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 4px;
}

.vx-logbook__table {
  width: 100%;
  min-width: 760px;
  font-size: .9375rem;
  line-height: 1.45;
}

.vx-logbook__table caption {
  caption-side: top;
  padding-bottom: 12px;
  text-align: left;
  font-weight: 600;
}

.vx-logbook__table th,
.vx-logbook__table td {
  padding: 14px 14px;
  text-align: left;
  vertical-align: top;
}

.vx-logbook__table thead th {
  border-bottom: 2px solid var(--vx-ink);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vx-logbook__table tbody tr:nth-child(odd) > * { background: var(--vx-fog); }

.vx-logbook__table code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .875em;
}

.vx-adrift {
  padding-block: 72px 120px;
}

.vx-adrift__title { font-size: clamp(3rem, 11vw, 6rem); margin-top: 16px; }

.vx-adrift__text { max-width: 34em; margin-top: 20px; color: var(--vx-ink-soft); }

.vx-adrift .vx-flare { margin-top: 32px; }

/* ==== cookie plate ==== */
.vx-beacon {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--vx-r-card);
  background: var(--vx-paper);
  box-shadow: 0 2px 4px rgba(17, 20, 24, .08), 0 24px 48px -16px rgba(17, 20, 24, .4);
}

.vx-beacon__text { font-size: .875rem; line-height: 1.5; }

.vx-beacon__text a {
  color: var(--vx-buoy-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vx-beacon__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.vx-beacon .vx-flare { min-height: 48px; padding: 0 22px; font-size: .9375rem; }

.vx-ascend {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--vx-ink);
  border-radius: var(--vx-r-pill);
  background: var(--vx-paper);
  box-shadow: 4px 4px 0 var(--vx-ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s, box-shadow .16s ease;
}

.vx-ascend svg { width: 22px; height: 22px; }

.vx-ascend.is-up {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s, box-shadow .16s ease;
}

.vx-ascend:focus-visible {
  outline: 3px solid var(--vx-buoy);
  outline-offset: 4px;
}

.vx-plate-on .vx-ascend { display: none; }

/* ==== motion ==== */
.vx-live [data-rise] {
  opacity: 0;
  transform: translate3d(var(--vx-dx, 0px), var(--vx-dy, 26px), 0) scale(var(--vx-sc, 1));
  transition:
    opacity .5s ease var(--vx-lag),
    transform .75s cubic-bezier(.22, .9, .32, 1) var(--vx-lag);
}

.vx-live [data-rise="bob"] {
  --vx-dy: 44px;
  transition:
    opacity .5s ease var(--vx-lag),
    transform .9s cubic-bezier(.34, 1.42, .58, 1) var(--vx-lag);
}

.vx-live [data-rise="zoom"] {
  --vx-dy: 0px;
  --vx-sc: .97;
  transition:
    opacity .6s ease var(--vx-lag),
    transform 1s cubic-bezier(.2, .8, .3, 1) var(--vx-lag);
}

.vx-live [data-rise].vx-seen {
  opacity: 1;
  transform: none;
}

.vx-locked { overflow: hidden; }

@keyframes vx-slide-in {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: none; }
}

@keyframes vx-surface {
  from { transform: translateY(48px); }
  to { transform: none; }
}

@keyframes vx-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes vx-settle {
  from { transform: translateX(24px); }
  to { transform: none; }
}

@keyframes vx-unzoom {
  from { transform: scale(1.06); }
  to { transform: none; }
}

@keyframes vx-bob {
  0%, 100% { transform: none; }
  30% { transform: translateY(-8px) rotate(-2.5deg); }
  62% { transform: translateY(3px) rotate(1.2deg); }
}

.vx-live .vx-swell .vx-kicker { animation: vx-slide-in .6s cubic-bezier(.2, .8, .2, 1) both; }
.vx-live .vx-swell__line { animation: vx-surface .75s cubic-bezier(.2, .9, .25, 1) .08s both; }
.vx-live .vx-swell__line + .vx-swell__line { animation-delay: .2s; }
.vx-live .vx-swell__lead { animation: vx-surface .7s cubic-bezier(.2, .8, .2, 1) .15s both; }
.vx-live .vx-swell__acts { animation: vx-fade-up .6s ease .3s both; }
.vx-live .vx-swell__facts { animation: vx-fade-up .6s ease .45s both; }
.vx-live .vx-swell__frame { animation: vx-settle 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
.vx-live .vx-swell__img { animation: vx-unzoom 1.1s cubic-bezier(.2, .8, .2, 1) .1s both; }
.vx-live .vx-swell__tag { animation: vx-bob .7s ease-in-out .55s both; }

/* ==== media ==== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .vx-live [data-rise],
  .vx-live [data-rise].vx-seen {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .vx-flare,
  .vx-ascend,
  .vx-log__bar,
  .vx-log__ask,
  .vx-log__sign { transition: none; }
  .vx-live .vx-swell .vx-kicker,
  .vx-live .vx-swell__line,
  .vx-live .vx-swell__lead,
  .vx-live .vx-swell__acts,
  .vx-live .vx-swell__facts,
  .vx-live .vx-swell__frame,
  .vx-live .vx-swell__img,
  .vx-live .vx-swell__tag { animation: none; }
}

@media (hover: hover) {
  .vx-flare--lead:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--vx-ink);
    background: var(--vx-buoy-deep);
  }
  .vx-flare--quiet:hover {
    background: var(--vx-ink);
    color: #fff;
  }
  .vx-helm__link:hover { background: var(--vx-fog); color: var(--vx-buoy-deep); }
  .vx-helm__toggle:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--vx-ink); }
  .vx-log__ask:hover { background: var(--vx-fog); }
  .vx-log__ask:hover .vx-log__sign { background: var(--vx-ink); color: #fff; }
  .vx-keel__links a:hover { color: var(--vx-buoy-deep); text-decoration: underline; text-underline-offset: 4px; }
  .vx-ascend:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--vx-ink); }
}

@media (max-width: 899px) {
  .vx-helm__toggle { display: inline-flex; }
  .vx-helm__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 20px 24px;
    background: var(--vx-paper);
    box-shadow: 0 28px 40px -28px rgba(17, 20, 24, .45);
  }
  .vx-helm__toggle[aria-expanded="true"] + .vx-helm__list { display: flex; }
  .vx-helm__link {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 1.0625rem;
  }
  .vx-moor__stars { width: 90px; height: 18px; }
}

@media (min-width: 600px) {
  .vx-hull { padding-inline: 28px; }
  .vx-beacon {
    left: 24px;
    right: auto;
    bottom: 24px;
    width: min(780px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px 18px 24px;
  }
  .vx-beacon__acts { flex-wrap: nowrap; }
  .vx-ascend { right: 24px; bottom: 24px; }
}

/* 700px is where two 300px-wide tiles fit next to each other with a readable measure; below it the bento turns into a single column. */
@media (min-width: 700px) {
  .vx-berth__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "clash clash"
      "blitz master"
      "blitz deep"
      "season tides"
      "season legend";
  }
  [data-berth="clash"] { grid-area: clash; --vx-dx: -48px; }
  [data-berth="blitz"] { grid-area: blitz; --vx-dx: -48px; }
  [data-berth="master"] { grid-area: master; --vx-dx: 48px; }
  [data-berth="deep"] { grid-area: deep; --vx-dx: 48px; }
  [data-berth="season"] { grid-area: season; --vx-dx: -48px; }
  [data-berth="tides"] { grid-area: tides; --vx-dx: 48px; }
  [data-berth="legend"] { grid-area: legend; --vx-dx: 48px; }
  .vx-moor--tall .vx-moor__frame { aspect-ratio: 9 / 14; }
  .vx-moor--lead .vx-moor__frame { aspect-ratio: 16 / 9; }
  .vx-moor--lead .vx-moor__body {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 14px 32px;
    align-items: start;
  }
  .vx-moor--lead .vx-moor__title { grid-column: 1 / -1; }
  .vx-moor--lead .vx-moor__intro { grid-row: span 3; display: grid; gap: 18px; }
  .vx-moor--lead .vx-moor__text,
  .vx-moor--lead .vx-moor__tags,
  .vx-moor--lead .vx-moor__go { grid-column: 2; }
  .vx-berth__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: end;
    column-gap: 48px;
  }
  .vx-berth__head .vx-kicker { grid-column: 1 / -1; }
  .vx-keel__nav { grid-template-columns: repeat(2, minmax(0, 12rem)); }
  .vx-porthole__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); gap: 24px; }
  .vx-porthole__col { gap: 32px; }
  .vx-porthole__col--2 { margin-top: 64px; }
  .vx-porthole__col--1 .vx-porthole__shot { --vx-dx: -40px; }
  .vx-porthole__col--3 .vx-porthole__shot { --vx-dx: 40px; }
  .vx-porthole__head,
  .vx-bearing__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 48px;
  }
  .vx-porthole__head .vx-kicker,
  .vx-bearing__head .vx-kicker { grid-column: 1 / -1; }
  .vx-bearing__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-bearing__item:nth-child(even) { margin-top: 72px; }
}

@media (max-width: 699px) {
  .vx-berth__grid > :nth-child(odd) { --vx-dx: -28px; }
  .vx-berth__grid > :nth-child(even) { --vx-dx: 28px; }
  .vx-porthole__shot:nth-of-type(odd) { --vx-dx: -24px; }
  .vx-porthole__shot:nth-of-type(even) { --vx-dx: 24px; }
  .vx-porthole__frame--tall,
  .vx-porthole__frame--near,
  .vx-porthole__frame--tower { aspect-ratio: 1 / 1; }
  .vx-porthole__frame--near .vx-porthole__img { object-position: 50% 100%; }
}

@media (min-width: 900px) {
  :root { --vx-dock-h: 80px; }
  .vx-helm__link { padding: 0 12px; }
  .vx-hull { padding-inline: 32px; }
  .vx-swell { padding-block: 40px 104px; }
  .vx-swell__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
  }
  .vx-swell__title { font-size: clamp(4.4rem, 7.2vw, 6.8rem); }
  .vx-chart__head,
  .vx-log__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 48px;
  }
  .vx-chart__head .vx-kicker,
  .vx-log__head .vx-kicker { grid-column: 1 / -1; }
  .vx-keel__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; }
  .vx-logbook__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; }
  .vx-logbook__side { position: sticky; top: calc(var(--vx-dock-h) + 24px); }
}

@media (min-width: 1100px) {
  .vx-helm__link { padding: 0 16px; }
  .vx-berth__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "clash clash blitz master"
      "clash clash blitz season"
      "deep tides legend season";
  }
  [data-berth="blitz"] { --vx-dx: 48px; }
  [data-berth="master"] { --vx-dx: 48px; }
  [data-berth="season"] { --vx-dx: 48px; }
  [data-berth="deep"] { --vx-dx: -48px; }
  [data-berth="tides"] { --vx-dx: -48px; }
  .vx-moor--tall .vx-moor__frame { aspect-ratio: 9 / 16; }
  .vx-moor--lead .vx-moor__frame { aspect-ratio: 10 / 9; }
  .vx-moor--lead { padding: 12px 12px 30px; }
  .vx-moor--lead .vx-moor__body { padding: 20px 16px 0; }
  .vx-moor--lead .vx-moor__badge { width: 76px; height: 76px; margin-top: -42px; border-radius: 20px; }
}
