@charset "utf-8";

:root {
  --hedgerow: #061b1b;
  --cloudberry: #031010;
  --cinnabar: #102b2a;
  --bedstraw: #153534;
  --glen: #1f4543;
  --threshfield: #2d5855;
  --cedar: #40726f;
  --gasket: #f6cf31;
  --boatswain: #4fdbee;
  --sledgework: #ce6cef;
  --agate: #f9e094;
  --woodruff: #5cd699;
  --gearworks: #f2f8f8;
  --lathework: #c2d6d6;
  --culverin: #91acac;
  --gambrel: linear-gradient(135deg, #b424db 0%, #5b1797 100%);
  --magnetite: 0 0 0 3px rgba(180, 36, 219, .34);
  --haddocknet: 0 20px 44px -26px rgba(2, 8, 16, .95);
  --mandrel: "Gantari", "Trebuchet MS", system-ui, sans-serif;
  --serviceberry: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hearthstone: 60px;
  --panelwork: 14px;
  --crofter: 20px;
  --demesne: 13px;
  --shackle: 9px;
  --kelpforest: 1320px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; background: var(--hedgerow); color: var(--gearworks);
  /* the drawer parks off-canvas to the right; clip keeps it out of the page's
     scroll box without turning body into a scroll container (sticky survives) */
  overflow-x: clip;
  font: 400 15px/1.65 var(--serviceberry);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(78% 46% at 14% 0%, rgba(246, 207, 49, .10), transparent 62%),
    radial-gradient(62% 40% at 92% 8%, rgba(79, 219, 238, .07), transparent 64%);
  background-attachment: fixed;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gasket); outline-offset: 2px; border-radius: 4px; }

.larkspur {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.printworks {
  position: absolute; left: 10px; top: -60px; z-index: 200; padding: 11px 18px;
  border-radius: var(--shackle); background: var(--bedstraw); color: var(--gearworks);
  transition: top .18s;
}
.printworks:focus { top: 10px; }

.hazelbrake { width: 100%; max-width: var(--kelpforest); margin-inline: auto; padding-inline: 14px; }

/* --------------------------------------------------------------- header -- */
.shearwater {
  position: sticky; top: 0; z-index: 60; background: rgba(6, 19, 33, .92);
  border-bottom: 1px solid var(--threshfield); backdrop-filter: blur(10px);
}
.shearwater__bar {
  height: var(--hearthstone); display: flex; align-items: center; gap: 10px;
}
.thatchreed { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.thatchreed__type { display: grid; line-height: 1; }
.thatchreed__name {
  font: 800 clamp(17px, 5vw, 20px)/1 var(--mandrel); letter-spacing: -.4px;
  color: var(--gearworks);
}
.thatchreed__name em { font-style: normal; color: var(--boatswain); }
.thatchreed__sub {
  font: 600 8.5px/1 var(--serviceberry); letter-spacing: 3.1px; margin-top: 4px;
  color: var(--culverin); text-transform: uppercase;
}
.prow { display: none; min-width: 0; }
.swordgrass {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--lathework);
  white-space: nowrap; transition: background .16s, color .16s;
}
.swordgrass:hover { background: var(--bedstraw); color: var(--gearworks); }
.swordgrass.is-gamekeeper { background: var(--glen); color: var(--gearworks); font-weight: 600; }
.swordgrass.is-gamekeeper svg { color: var(--gasket); }
.swordgrass svg { width: 16px; height: 16px; color: var(--culverin); flex: 0 0 16px; }

.roundel { margin-left: auto; display: flex; align-items: center; gap: 8px; }
/* the mobile bar is logo - register - burger, exactly as the reference has it,
   so log-in only appears once the horizontal nav does */
.roundel .mitrework--hawkbit { display: none; }
.roundel .mitrework--musketry { padding: 10px 15px; }
.mitrework {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 17px; border-radius: 999px; border: 1px solid transparent;
  font: 700 14px/1 var(--serviceberry); white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.mitrework:hover { transform: translateY(-1px); }
.mitrework--is-merestone { padding: 14px 30px; font-size: 15px; }
.mitrework--musketry { background: var(--gambrel); color: #ffffff; box-shadow: 0 10px 30px -12px rgba(180, 36, 219, .70); }
.mitrework--musketry:hover { color: #ffffff; box-shadow: 0 14px 36px -12px rgba(180, 36, 219, .86); }
.mitrework--hawkbit { border-color: var(--cedar); color: var(--gearworks); }
.mitrework--hawkbit:hover { background: var(--bedstraw); }
.mitrework--sm { padding: 8px 14px; font-size: 13px; }

.eddy {
  width: 42px; height: 42px; flex: 0 0 42px;
  /* a column flexbox, not a grid: grid gave each bar its own stretched row and
     spread them 14px apart no matter what margin they carried */
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--demesne); border: 1px solid var(--cedar); background: var(--bedstraw);
}
.eddy span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--gearworks); }

/* ---------------------------------------------------------------- drawer -- */
/* a viewport-sized clipping host: the drawer parks off-canvas inside it, so
   the slide never widens the page's own scrollable box */
.wildfowler {
  position: fixed; inset: 0; z-index: 80; overflow: hidden; pointer-events: none;
}
/* only the panel itself is clickable — everything around it falls through to
   the scrim below, which is what closes the drawer */
.ormolume { pointer-events: auto; }
.ormolume {
  position: absolute; inset: 0 0 0 auto; width: min(310px, 86vw);
  background: var(--cinnabar); border-left: 1px solid var(--threshfield);
  padding: 14px 12px 30px; overflow-y: auto; overflow-x: hidden; transform: translateX(103%);
  visibility: hidden; transition: transform .26s ease, visibility .26s;
}
.ormolume.is-rune { transform: translateX(0); visibility: visible; }
.ormolume__top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 14px; }
.ormolume__close {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--threshfield); background: var(--bedstraw);
  color: var(--lathework); transition: color .16s, border-color .16s;
}
.ormolume__close:hover { color: var(--gearworks); border-color: var(--cedar); }
.ormolume__close svg { width: 17px; height: 17px; }
.sweepstake + .sweepstake {
  border-top: 1px solid var(--threshfield); margin-top: 10px; padding-top: 12px;
}
.sweepstake__title {
  font: 700 10.5px/1 var(--serviceberry); letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--culverin); padding: 4px 10px 8px;
}
.ormolume .swordgrass { display: flex; border-radius: var(--shackle); padding: 10px 12px; }
.ormolume__cta { padding: 14px 10px 0; display: grid; gap: 8px; }
.ormolume__cta .mitrework { width: 100%; }
.gundeck {
  position: fixed; inset: 0; z-index: 70; background: rgba(2, 8, 16, .72);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .22s;
}
.gundeck.is-rune { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ main -- */
.bowerbird { min-height: 62vh; }
.sorrelwood { padding-block: 16px 34px; display: grid; gap: 26px; }
.sorrelwood > * { min-width: 0; }

/* ---------------------------------------------------------------- banner -- */
.gyrfalcon {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--crofter); border: 1px solid var(--cedar);
  box-shadow: var(--haddocknet);
}
.gyrfalcon__art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.gyrfalcon::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 66% at 24% 26%, rgba(246, 207, 49, .17), transparent 64%),
    radial-gradient(44% 58% at 84% 74%, rgba(79, 219, 238, .13), transparent 66%),
    linear-gradient(180deg, rgba(4, 15, 26, .56) 0%, rgba(4, 15, 26, .26) 40%, rgba(4, 15, 26, .92) 100%);
}
.gyrfalcon__body {
  position: relative; padding: 30px 18px 34px; display: grid; gap: 13px;
  justify-items: center; text-align: center;
}
.gyrfalcon__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--serviceberry); letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--agate);
}
.gyrfalcon__kicker::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gasket);
}
.gyrfalcon__big {
  margin: 0; font: 800 clamp(25px, 6.0vw, 42px)/1.1 var(--mandrel);
  letter-spacing: -1.1px; text-wrap: balance; text-shadow: 0 6px 26px rgba(0, 0, 0, .62);
}
.gyrfalcon__big span { display: block; }
.gyrfalcon__big span + span {
  background: linear-gradient(96deg, var(--agate), var(--gasket) 56%, var(--sledgework));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gyrfalcon__sub {
  margin: 0; max-width: 48ch; font-size: 14px; color: #d8e8f7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.gyrfalcon__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 0;
  padding: 0; list-style: none;
}
.gyrfalcon__trust li {
  display: flex; align-items: baseline; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: rgba(9, 32, 54, .64); border: 1px solid var(--cedar); backdrop-filter: blur(6px);
}
.gyrfalcon__trust b { font: 700 13px/1 var(--mandrel); color: var(--gearworks); }
.gyrfalcon__trust span { font-size: 11px; letter-spacing: .3px; color: var(--lathework); }

/* ----------------------------------------------------------------- pills -- */
.crest {
  display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 10px;
  /* the shell's own gap sits between the two, so the pull has to clear it
     before it can overlap the banner's bottom edge the way the reference does */
  margin-top: -46px; padding: 0 2px 6px; overflow-x: auto; position: relative; z-index: 2;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.crest::-webkit-scrollbar { display: none; }
.lacquer {
  position: relative; display: flex; align-items: center; gap: 11px; scroll-snap-align: start;
  padding: 9px 34px 9px 9px; border-radius: 999px; color: #04121f; font-weight: 700;
  font-size: 14px; box-shadow: var(--haddocknet); overflow: hidden;
}
.lacquer::after {
  content: ""; position: absolute; right: 15px; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); opacity: .8;
}
.lacquer__art {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(4, 18, 31, .22);
  border: 1px solid rgba(4, 18, 31, .2);
}
.lacquer__art svg { width: 19px; height: 19px; }
.lacquer:hover { transform: translateY(-1px); }

/* ----------------------------------------------------------------- chips -- */
.meerschaum { display: flex; align-items: center; gap: 8px; }
.meerschaum__search {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gambrel); color: #ffffff;
}
.meerschaum__search svg { width: 17px; height: 17px; }
.meerschaum__scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.meerschaum__scroll::-webkit-scrollbar { display: none; }
.chiselwork {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--bedstraw); border: 1px solid var(--threshfield); color: var(--lathework);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .16s, color .16s;
}
.chiselwork:hover { background: var(--glen); color: var(--gearworks); }
.chiselwork svg { width: 15px; height: 15px; color: var(--gasket); }

/* ---------------------------------------------------------------- shelves -- */
.upcastway { display: block; }
.upcastway__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.upcastway__title {
  margin: 0; display: flex; align-items: center; gap: 9px;
  font: 700 clamp(17px, 4.2vw, 22px)/1.2 var(--mandrel); letter-spacing: -.3px;
}
.upcastway__title svg { width: 20px; height: 20px; color: var(--gasket); flex: 0 0 auto; }
.upcastway__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.upcastway__all {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--cedar); font-size: 13px; font-weight: 600; color: var(--lathework);
}
.upcastway__all:hover { color: var(--gearworks); border-color: var(--gasket); }
.upcastway__arw {
  width: 34px; height: 34px; display: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bedstraw); border: 1px solid var(--threshfield);
  color: var(--lathework);
}
.upcastway__arw:hover { color: var(--gearworks); border-color: var(--cedar); }
.upcastway__arw[disabled] { opacity: .3; cursor: default; }
.upcastway__arw svg { width: 15px; height: 15px; }

.flotsam {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px;
  align-items: start; overflow-x: auto; padding: 5px 0 9px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.flotsam::-webkit-scrollbar { display: none; }
.creelboat {
  position: relative; display: block; overflow: hidden; scroll-snap-align: start;
  aspect-ratio: 5 / 7; align-self: start;
  border-radius: var(--demesne); background: var(--bedstraw); border: 1px solid var(--threshfield);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.creelboat:hover { transform: translateY(-3px); border-color: var(--gasket); box-shadow: var(--haddocknet); }
.creelboat img { width: 100%; height: 100%; object-fit: cover; }
.creelboat__rtp {
  position: absolute; top: 7px; left: 7px; padding: 4px 8px; border-radius: 999px;
  background: rgba(4, 15, 26, .82); border: 1px solid var(--cedar);
  font: 700 10.5px/1 var(--serviceberry); letter-spacing: .3px; color: var(--agate);
}
.creelboat__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 25, 43, .62); opacity: 0; transition: opacity .2s;
}
.creelboat:hover .creelboat__play { opacity: 1; }
.creelboat__play span {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gambrel); color: #ffffff;
}
.creelboat__play svg { width: 17px; height: 17px; margin-left: 2px; }
/* the reference prints nothing over the artwork, so the title rides in with
   the hover veil instead of sitting on top of the provider's own logo */
.creelboat__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px;
  font-size: 11.5px; font-weight: 600; color: var(--gearworks);
  background: linear-gradient(180deg, transparent, rgba(4, 15, 26, .96));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
}
.creelboat:hover .creelboat__name, .creelboat:focus-visible .creelboat__name { opacity: 1; }

/* ---------------------------------------------------------------- ticker -- */
.nailwork {
  border-block: 1px solid var(--threshfield); padding: 12px 0;
  display: grid; gap: 9px;
}
.nailwork__label {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0;
  font: 700 11px/1 var(--serviceberry); letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--culverin);
}
.nailwork__label svg { width: 14px; height: 14px; color: var(--boatswain); }
.nailwork__scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.nailwork__scroll::-webkit-scrollbar { display: none; }
.nailwork__item {
  display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--bedstraw); border: 1px solid var(--threshfield); white-space: nowrap;
}
.nailwork__item img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 30px; }
.nailwork__item b { display: block; font-size: 12px; font-weight: 600; color: var(--lathework); max-width: 15ch; overflow: hidden; text-overflow: ellipsis; }
.nailwork__item span { font: 700 12.5px/1.4 var(--mandrel); color: var(--woodruff); }

/* ---------------------------------------------------------- wins + mults -- */
.diadem { display: grid; gap: var(--panelwork); }
.diadem > * { min-width: 0; }
.diadem__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.diadem__card {
  position: relative; display: block; padding: 26px 8px 12px; border-radius: var(--demesne);
  background: var(--cinnabar); border: 1px solid var(--threshfield); text-align: center;
  transition: border-color .2s, transform .2s;
}
.diadem__card:hover { border-color: var(--gasket); transform: translateY(-3px); }
.diadem__rank {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  min-width: 30px; padding: 3px 9px 4px; border-radius: 0 0 9px 9px;
  background: var(--glen); border: 1px solid var(--cedar); border-top: 0;
  font: 700 12px/1 var(--mandrel); color: var(--agate);
}
.diadem__card img {
  width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover;
  border-radius: var(--shackle);
}
/* Three cards across leaves about 74px of text at 320px, and an 11-character
   money string in the display face needs 117px there — measured, not guessed.
   The amount therefore takes the body face, which is far narrower, and sizes
   against the card itself so it holds for any future type pairing. The vw
   clamp is the fallback for engines without container units. */
.diadem__card { container-type: inline-size; }
.diadem__amt {
  display: block; margin-top: 9px; letter-spacing: -.2px; color: var(--woodruff);
  font: 700 clamp(11px, 3.6vw, 14px)/1.2 var(--serviceberry);
}
.diadem__amt { font-size: clamp(11px, 13cqi, 14px); }
.diadem__name { display: block; margin-top: 3px; font-size: 11px; color: var(--lathework); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.diadem__by {
  display: inline-block; margin-top: 7px; padding: 4px 10px; border-radius: 999px;
  background: var(--glen); font-size: 10.5px; font-weight: 600; color: var(--culverin);
}

.rudderpost { display: grid; gap: 7px; }
.rudderpost > *, .diadem__grid > * { min-width: 0; }
.rudderpost__row {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: var(--demesne);
  background: var(--cinnabar); border: 1px solid var(--threshfield); transition: border-color .2s;
  min-width: 0; overflow: hidden;
}
.rudderpost__row:hover { border-color: var(--gasket); }
.rudderpost__row img { width: 36px; height: 36px; border-radius: var(--shackle); object-fit: cover; flex: 0 0 36px; }
.rudderpost__who { min-width: 0; flex: 1 1 auto; }
.rudderpost__who b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rudderpost__who span { font-size: 11.5px; color: var(--culverin); }
.rudderpost__val { margin-left: auto; text-align: right; flex: 0 0 auto; }
.rudderpost__val b { display: block; font: 700 13px/1.3 var(--mandrel); color: var(--woodruff); }
.rudderpost__val span {
  display: inline-block; margin-top: 3px; padding: 3px 9px; border-radius: 999px;
  background: rgba(92, 214, 153, .14); border: 1px solid rgba(92, 214, 153, .3);
  font: 700 11px/1 var(--serviceberry); color: var(--woodruff);
}

/* -------------------------------------------------------------- promotions -- */
.canticle { display: grid; gap: var(--panelwork); }
.canticle > *, .sorrelwood > * > * { min-width: 0; }
.charabanc {
  display: grid; gap: 9px; padding: 20px 18px; border-radius: var(--demesne);
  background: linear-gradient(168deg, var(--bedstraw), var(--cinnabar));
  border: 1px solid var(--threshfield);
}
.charabanc__kicker {
  font: 700 10.5px/1 var(--serviceberry); letter-spacing: 1.9px; text-transform: uppercase;
  color: var(--gasket);
}
.charabanc__title { margin: 0; font: 800 clamp(20px, 5vw, 25px)/1.15 var(--mandrel); letter-spacing: -.5px; }
.charabanc__line { margin: 0; font-size: 14px; color: #cfe2f2; }
.charabanc__meta { margin: 2px 0 0; font-size: 12px; color: var(--culverin); }
.charabanc .mitrework { justify-self: start; }

/* ------------------------------------------------------------------ band -- */
.stallboard {
  display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 26px 20px; border-radius: var(--crofter);
  background: linear-gradient(104deg, #1f4543 0%, #2d5855 58%, #153534 100%);
  border: 1px solid var(--cedar); box-shadow: var(--haddocknet);
}
.stallboard__big { margin: 0; font: 800 clamp(24px, 6.4vw, 38px)/1.06 var(--mandrel); letter-spacing: -.8px; }
.stallboard__sub { margin: 0; max-width: 52ch; font-size: 14px; color: #cfe2f2; }

/* ---------------------------------------------------------------- wallet -- */
.fablework { display: grid; gap: 12px; justify-items: center; padding-block: 6px; }
.fablework__set { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.fablework__set img { height: 23px; width: auto; opacity: .88; }
.fablework__set img[src$=".webp"] { height: 27px; border-radius: 5px; }
.fablework__set--coin img { height: 27px; }
.fablework__label {
  margin: 0; font: 700 10.5px/1 var(--serviceberry); letter-spacing: 2.3px;
  text-transform: uppercase; color: var(--culverin);
}
.fablework__more {
  position: relative; display: inline-flex; align-items: center; padding: 6px 13px;
  border-radius: 999px; border: 1px solid var(--cedar); background: var(--bedstraw);
  font: 700 12px/1 var(--serviceberry); color: var(--lathework);
}

/* --------------------------------------------------------------- article -- */
.bolster { margin: 0 0 14px; padding: 0; font-size: 12.5px; color: var(--culverin); }
.bolster ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.bolster li + li::before { content: "/"; margin-right: 7px; color: var(--cedar); }
.bolster a:hover { color: var(--gasket); }

.hardtack {
  position: relative; padding: 26px 18px 30px; border-radius: var(--crofter);
  background: var(--cinnabar); border: 1px solid var(--threshfield);
}
.hardtack h1 {
  margin: 0 0 16px; font: 800 clamp(24px, 6vw, 38px)/1.14 var(--mandrel); letter-spacing: -1px;
}
.hardtack h2 {
  margin: 32px 0 12px; padding-top: 18px; border-top: 1px solid var(--threshfield);
  font: 700 clamp(20px, 4.8vw, 27px)/1.22 var(--mandrel); letter-spacing: -.5px;
}
.hardtack h2::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 3px;
  margin-bottom: 13px; background: var(--gambrel);
}
.hardtack h3 { margin: 24px 0 9px; font: 700 clamp(17px, 4vw, 21px)/1.3 var(--mandrel); color: #f2faff; }
.hardtack h4 { margin: 19px 0 8px; font-size: 15.5px; font-weight: 700; color: var(--agate); }
.hardtack p { margin: 0 0 14px; color: #cfe2f2; }
.hardtack strong { color: var(--gearworks); font-weight: 700; }
.hardtack a { color: var(--gasket); text-decoration: underline; text-underline-offset: 2px; }
.hardtack .mitrework, .spar a { text-decoration: none; }
.hardtack .mitrework--musketry { color: #ffffff; }
.hardtack .bolster a { color: var(--culverin); text-decoration: none; }
.hardtack ul, .hardtack ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hardtack ul li { position: relative; padding-left: 22px; color: #cfe2f2; }
.hardtack ul li::before {
  content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--gambrel); transform: rotate(45deg);
}
.hardtack ol { counter-reset: step; }
.hardtack ol li { position: relative; padding-left: 34px; color: #cfe2f2; }
.hardtack ol li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 23px; height: 23px;
  display: grid; place-items: center; border-radius: 7px;
  background: var(--glen); border: 1px solid var(--cedar);
  font: 700 11.5px/1 var(--mandrel); color: var(--gasket);
}
.hardtack li ul { margin: 8px 0 0; }
.hardtack table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.hardtack th, .hardtack td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--threshfield); }
.hardtack th {
  font: 700 10.5px/1.3 var(--serviceberry); letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--culverin); background: var(--bedstraw); white-space: nowrap;
}
.hardtack td { color: #cfe2f2; }
.hardtack tbody tr:hover td { background: rgba(31, 69, 67, .40); }
.hardtack .is-rennetwort { text-align: right; white-space: nowrap; }
.hardtack__scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px;
  border: 1px solid var(--threshfield); border-radius: var(--demesne);
}
.hardtack details {
  margin: 0 0 9px; border: 1px solid var(--threshfield); border-radius: var(--demesne);
  background: var(--bedstraw); overflow: hidden;
}
.hardtack summary {
  padding: 14px 42px 14px 16px; position: relative; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--gearworks);
}
.hardtack summary::-webkit-details-marker { display: none; }
.hardtack summary::after {
  content: ""; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px;
  border-right: 2px solid var(--gasket); border-bottom: 2px solid var(--gasket);
  transform: rotate(45deg); transition: transform .2s;
}
.hardtack details[open] summary::after { transform: rotate(-135deg); top: 23px; }
.hardtack details > div { padding: 0 16px 14px; }
.hardtack details p:last-child { margin-bottom: 0; }
.hardtack__cta {
  margin-top: 26px; padding: 20px 18px; border-radius: var(--demesne);
  background: var(--bedstraw); border: 1px solid var(--cedar); display: grid; gap: 10px;
  justify-items: start;
}
.hardtack__cta b { font: 700 17px/1.3 var(--mandrel); }
.hardtack__cta p { margin: 0; }

.spar {
  margin: 0 0 22px; padding: 16px 18px; border-radius: var(--demesne);
  background: var(--bedstraw); border: 1px solid var(--threshfield);
}
.spar__title {
  margin: 0 0 10px; font: 700 10.5px/1 var(--serviceberry); letter-spacing: 2px;
  text-transform: uppercase; color: var(--culverin);
}
.spar ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; counter-reset: none; }
.spar ol li { padding-left: 18px; position: relative; }
.spar ol li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gasket);
}
.spar a { font-size: 13.5px; color: var(--lathework); }
.spar a:hover { color: var(--gasket); }

.cedarwood { display: none; }
.hardtack.is-venturer .cedarwood {
  display: flex; align-items: center; justify-content: center;
}
.hardtack.is-venturer .hardtack__body {
  max-height: 1120px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.cedarwood { margin-top: 18px; }

/* ---------------------------------------------------------------- footer -- */
.mullein {
  margin-top: 30px; padding: 30px 18px 34px; border-top: 1px solid var(--threshfield);
  background: var(--cloudberry); border-radius: var(--crofter) var(--crofter) 0 0;
}
.mullein__cols { display: grid; gap: 26px; }
.mullein__title {
  margin: 0 0 12px; font: 700 11px/1 var(--serviceberry); letter-spacing: 1.9px;
  text-transform: uppercase; color: var(--gearworks);
}
.mullein__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.mullein__list a { font-size: 13.5px; color: var(--lathework); }
.mullein__list a:hover { color: var(--gasket); }
.mullein__mail a { color: var(--gasket); text-decoration: underline; text-underline-offset: 3px; }
.mullein__social { display: flex; flex-wrap: wrap; gap: 9px; }
.mullein__social a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bedstraw); border: 1px solid var(--threshfield); color: var(--lathework);
}
.mullein__social a:hover { color: var(--gasket); border-color: var(--gasket); }
.mullein__social svg { width: 16px; height: 16px; }
.mullein__badges { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mullein__badges img { height: 30px; width: auto; opacity: .9; }
.mullein__legal { margin: 0 0 12px; font-size: 12px; line-height: 1.7; color: var(--culverin); }
.mullein__locale {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--threshfield); font-size: 12.5px; color: var(--lathework);
}
.mullein__locale svg { width: 15px; height: 15px; color: var(--gasket); }
.mullein__bottom {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--threshfield);
  display: grid; gap: 14px;
}

/* ------------------------------------------------------------------- 404 -- */
.kestrelwood { padding: 40px 0 26px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.kestrelwood__code {
  margin: 0; font: 900 clamp(66px, 22vw, 128px)/1 var(--mandrel); letter-spacing: -4px;
  background: linear-gradient(120deg, var(--agate), var(--gasket) 52%, var(--sledgework));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kestrelwood h1 { margin: 0; font: 800 clamp(22px, 5.6vw, 32px)/1.2 var(--mandrel); }
.kestrelwood p { margin: 0; max-width: 54ch; color: var(--lathework); }
.kestrelwood__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 6px; }
.kestrelwood__links a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--cedar);
  font-size: 13.5px; color: var(--lathework);
}
.kestrelwood__links a:hover { color: var(--gearworks); border-color: var(--gasket); }

.birch {
  position: fixed; right: 14px; bottom: 14px; z-index: 55; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; background: var(--gambrel);
  color: #ffffff; box-shadow: var(--haddocknet); opacity: 0; visibility: hidden;
  transform: translateY(9px); transition: opacity .2s, transform .2s, visibility .2s;
}
.birch.is-rune { opacity: 1; visibility: visible; transform: none; }
.birch svg { width: 19px; height: 19px; }

/* ------------------------------------------------------------ breakpoints -- */
/* 320px is the narrowest phone worth supporting, and the mobile bar there is
   logo + CTA + burger with nothing to give. A two-word CTA — "Open account"
   rather than "Sign up" — pushed the row 1px past the viewport, so the bar
   tightens itself instead of the copy having to stay short. */
@media (max-width: 359px) {
  .shearwater__bar { padding-inline: 8px; gap: 8px; }
  .thatchreed__name { font-size: 15px; }
  .thatchreed__sub { letter-spacing: 1.4px; }
  .roundel { gap: 6px; }
  .roundel .mitrework { padding: 9px 12px; font-size: 12.5px; }
  .eddy { width: 38px; height: 38px; flex: 0 0 38px; }
}

@media (min-width: 480px) {
  .flotsam { grid-auto-columns: 31%; }
  .crest { grid-auto-columns: 46%; }
  .gyrfalcon__body { padding: 42px 26px 44px; }
}

@media (min-width: 620px) {
  /* the wide art starts here, and it is composed with the cast flush right,
     so every crop above this width must eat the haze, never the phone */
  .gyrfalcon__art { object-position: right center; }
  .hazelbrake { padding-inline: 18px; }
  .flotsam { grid-auto-columns: 23%; }
  .crest { grid-auto-columns: 31%; }
  .canticle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mullein__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hardtack { padding: 30px 26px 34px; }
  .stallboard { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .stallboard .mitrework { justify-self: end; }
}

@media (min-width: 900px) {
  :root { --hearthstone: 68px; --panelwork: 16px; }
  .hazelbrake { padding-inline: 24px; }
  .sorrelwood { padding-block: 22px 44px; gap: 34px; }
  .prow {
    display: flex; align-items: center; gap: 2px; margin-left: 8px;
    flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
  }
  .prow::-webkit-scrollbar { display: none; }
  .roundel { flex: 0 0 auto; }
  .roundel .mitrework--hawkbit { display: inline-flex; }
  .roundel .mitrework--musketry { padding: 10px 17px; }
  .eddy { display: none; }
  .gyrfalcon__body {
    padding: 62px 44px 66px; text-align: left; justify-items: start; max-width: 40%;
  }
  .gyrfalcon::after {
    background:
      radial-gradient(30% 70% at 20% 42%, rgba(246, 207, 49, .18), transparent 62%),
      radial-gradient(26% 60% at 78% 66%, rgba(79, 219, 238, .15), transparent 64%),
      linear-gradient(92deg, rgba(4, 15, 26, .95) 0%, rgba(4, 15, 26, .80) 34%,
                      rgba(4, 15, 26, .26) 64%, rgba(4, 15, 26, .04) 100%);
  }
  .gyrfalcon__sub { max-width: 44ch; }
  .gyrfalcon__trust { justify-content: flex-start; }
  .crest { grid-auto-columns: minmax(0, 1fr); margin-top: -62px; }
  .flotsam { grid-auto-columns: 17.4%; }
  .upcastway__arw { display: inline-flex; }
  .canticle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diadem { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .mullein__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
  .mullein { padding: 38px 32px 40px; }
  .hardtack { padding: 38px 38px 42px; }
  .hardtack ol { columns: auto; }
  .birch { right: 22px; bottom: 22px; }
}

@media (min-width: 1180px) {
  .gyrfalcon__body { padding: 74px 54px 78px; max-width: 38%; }
  .swordgrass { padding: 9px 14px; font-size: 14.5px; }
}
