@charset "utf-8";

:root {
  --citrine: #0b1810;
  --northgate: #050d09;
  --shalebank: #14261c;
  --nimbleweed: #1c3226;
  --chandler: #294335;
  --carbine: #3b5849;
  --cellarman: #517563;
  --flaxseed: #3ec4e9;
  --heathland: #fc9a2a;
  --ampersand: #c3e358;
  --shieldwork: #fad89d;
  --pallet: #47d18c;
  --archway: #f2f7f4;
  --corslet: #c4d3cc;
  --swillhouse: #94a79e;
  --stagecoach: linear-gradient(135deg, #d0e835 0%, #7b970b 100%);
  --groundsel: 0 0 0 3px rgba(208, 232, 53, .34);
  --casement: 0 20px 44px -26px rgba(2, 8, 16, .95);
  --centaury: "Sora", "Trebuchet MS", system-ui, sans-serif;
  --jointwork: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cutter: 60px;
  --regatta: 14px;
  --tickenwork: 20px;
  --meadow: 13px;
  --papermill: 9px;
  --downdraft: 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(--citrine); color: var(--archway);
  /* 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(--jointwork);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(78% 46% at 14% 0%, rgba(62, 196, 233, .10), transparent 62%),
    radial-gradient(62% 40% at 92% 8%, rgba(252, 154, 42, .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(--flaxseed); outline-offset: 2px; border-radius: 4px; }

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

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

/* --------------------------------------------------------------- header -- */
.pulleywork {
  position: sticky; top: 0; z-index: 60; background: rgba(6, 19, 33, .92);
  border-bottom: 1px solid var(--carbine); backdrop-filter: blur(10px);
}
.pulleywork__bar {
  height: var(--cutter); display: flex; align-items: center; gap: 10px;
}
.carbide { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.carbide__type { display: grid; line-height: 1; }
.carbide__name {
  font: 800 clamp(17px, 5vw, 20px)/1 var(--centaury); letter-spacing: -.4px;
  color: var(--archway);
}
.carbide__name em { font-style: normal; color: var(--heathland); }
.carbide__sub {
  font: 600 8.5px/1 var(--jointwork); letter-spacing: 3.1px; margin-top: 4px;
  color: var(--swillhouse); text-transform: uppercase;
}
.chaffinch { display: none; min-width: 0; }
.landrail {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--corslet);
  white-space: nowrap; transition: background .16s, color .16s;
}
.landrail:hover { background: var(--nimbleweed); color: var(--archway); }
.landrail.is-puddlemill { background: var(--chandler); color: var(--archway); font-weight: 600; }
.landrail.is-puddlemill svg { color: var(--flaxseed); }
.landrail svg { width: 16px; height: 16px; color: var(--swillhouse); flex: 0 0 16px; }

.withyfield { 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 */
.withyfield .oriflamme--hookline { display: none; }
.withyfield .oriflamme--sloop { padding: 10px 15px; }
.oriflamme {
  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(--jointwork); white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
}
.oriflamme:hover { transform: translateY(-1px); }
.oriflamme--is-waxwing { padding: 14px 30px; font-size: 15px; }
.oriflamme--sloop { background: var(--stagecoach); color: #10210a; box-shadow: 0 10px 30px -12px rgba(208, 232, 53, .70); }
.oriflamme--sloop:hover { color: #10210a; box-shadow: 0 14px 36px -12px rgba(208, 232, 53, .86); }
.oriflamme--hookline { border-color: var(--cellarman); color: var(--archway); }
.oriflamme--hookline:hover { background: var(--nimbleweed); }
.oriflamme--sm { padding: 8px 14px; font-size: 13px; }

.pilaster {
  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(--meadow); border: 1px solid var(--cellarman); background: var(--nimbleweed);
}
.pilaster span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--archway); }

/* ---------------------------------------------------------------- drawer -- */
/* a viewport-sized clipping host: the drawer parks off-canvas inside it, so
   the slide never widens the page's own scrollable box */
.nave {
  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 */
.haymow { pointer-events: auto; }
.haymow {
  position: absolute; inset: 0 0 0 auto; width: min(310px, 86vw);
  background: var(--shalebank); border-left: 1px solid var(--carbine);
  padding: 14px 12px 30px; overflow-y: auto; overflow-x: hidden; transform: translateX(103%);
  visibility: hidden; transition: transform .26s ease, visibility .26s;
}
.haymow.is-moorstone { transform: translateX(0); visibility: visible; }
.haymow__top { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 14px; }
.haymow__close {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--carbine); background: var(--nimbleweed);
  color: var(--corslet); transition: color .16s, border-color .16s;
}
.haymow__close:hover { color: var(--archway); border-color: var(--cellarman); }
.haymow__close svg { width: 17px; height: 17px; }
.solander + .solander {
  border-top: 1px solid var(--carbine); margin-top: 10px; padding-top: 12px;
}
.solander__title {
  font: 700 10.5px/1 var(--jointwork); letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--swillhouse); padding: 4px 10px 8px;
}
.haymow .landrail { display: flex; border-radius: var(--papermill); padding: 10px 12px; }
.haymow__cta { padding: 14px 10px 0; display: grid; gap: 8px; }
.haymow__cta .oriflamme { width: 100%; }
.nightjar {
  position: fixed; inset: 0; z-index: 70; background: rgba(2, 8, 16, .72);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .22s;
}
.nightjar.is-moorstone { opacity: 1; visibility: visible; }

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

/* ---------------------------------------------------------------- banner -- */
.scrubland {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--tickenwork); border: 1px solid var(--cellarman);
  box-shadow: var(--casement);
}
.scrubland__art {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.scrubland::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 66% at 24% 26%, rgba(62, 196, 233, .17), transparent 64%),
    radial-gradient(44% 58% at 84% 74%, rgba(252, 154, 42, .13), transparent 66%),
    linear-gradient(180deg, rgba(4, 15, 26, .56) 0%, rgba(4, 15, 26, .26) 40%, rgba(4, 15, 26, .92) 100%);
}
.scrubland__body {
  position: relative; padding: 30px 18px 34px; display: grid; gap: 13px;
  justify-items: center; text-align: center;
}
.scrubland__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--jointwork); letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--shieldwork);
}
.scrubland__kicker::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--flaxseed);
}
.scrubland__big {
  margin: 0; font: 800 clamp(24px, 5.6vw, 40px)/1.12 var(--centaury);
  letter-spacing: -1.1px; text-wrap: balance; text-shadow: 0 6px 26px rgba(0, 0, 0, .62);
}
.scrubland__big span { display: block; }
.scrubland__big span + span {
  background: linear-gradient(96deg, var(--shieldwork), var(--flaxseed) 56%, var(--ampersand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.scrubland__sub {
  margin: 0; max-width: 48ch; font-size: 14px; color: #d8e8f7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.scrubland__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 0;
  padding: 0; list-style: none;
}
.scrubland__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(--cellarman); backdrop-filter: blur(6px);
}
.scrubland__trust b { font: 700 13px/1 var(--centaury); color: var(--archway); }
.scrubland__trust span { font-size: 11px; letter-spacing: .3px; color: var(--corslet); }

/* ----------------------------------------------------------------- pills -- */
.zealotry {
  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;
}
.zealotry::-webkit-scrollbar { display: none; }
.sealstone {
  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(--casement); overflow: hidden;
}
.sealstone::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;
}
.sealstone__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);
}
.sealstone__art svg { width: 19px; height: 19px; }
.sealstone:hover { transform: translateY(-1px); }

/* ----------------------------------------------------------------- chips -- */
.apron { display: flex; align-items: center; gap: 8px; }
.apron__search {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--stagecoach); color: #10210a;
}
.apron__search svg { width: 17px; height: 17px; }
.apron__scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.apron__scroll::-webkit-scrollbar { display: none; }
.cudweed {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--nimbleweed); border: 1px solid var(--carbine); color: var(--corslet);
  font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .16s, color .16s;
}
.cudweed:hover { background: var(--chandler); color: var(--archway); }
.cudweed svg { width: 15px; height: 15px; color: var(--flaxseed); }

/* ---------------------------------------------------------------- shelves -- */
.quinceflower { display: block; }
.quinceflower__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.quinceflower__title {
  margin: 0; display: flex; align-items: center; gap: 9px;
  font: 700 clamp(17px, 4.2vw, 22px)/1.2 var(--centaury); letter-spacing: -.3px;
}
.quinceflower__title svg { width: 20px; height: 20px; color: var(--flaxseed); flex: 0 0 auto; }
.quinceflower__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.quinceflower__all {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--cellarman); font-size: 13px; font-weight: 600; color: var(--corslet);
}
.quinceflower__all:hover { color: var(--archway); border-color: var(--flaxseed); }
.quinceflower__arw {
  width: 34px; height: 34px; display: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--nimbleweed); border: 1px solid var(--carbine);
  color: var(--corslet);
}
.quinceflower__arw:hover { color: var(--archway); border-color: var(--cellarman); }
.quinceflower__arw[disabled] { opacity: .3; cursor: default; }
.quinceflower__arw svg { width: 15px; height: 15px; }

.bramblewood {
  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;
}
.bramblewood::-webkit-scrollbar { display: none; }
.barque {
  position: relative; display: block; overflow: hidden; scroll-snap-align: start;
  aspect-ratio: 5 / 7; align-self: start;
  border-radius: var(--meadow); background: var(--nimbleweed); border: 1px solid var(--carbine);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.barque:hover { transform: translateY(-3px); border-color: var(--flaxseed); box-shadow: var(--casement); }
.barque img { width: 100%; height: 100%; object-fit: cover; }
.barque__rtp {
  position: absolute; top: 7px; left: 7px; padding: 4px 8px; border-radius: 999px;
  background: rgba(4, 15, 26, .82); border: 1px solid var(--cellarman);
  font: 700 10.5px/1 var(--jointwork); letter-spacing: .3px; color: var(--shieldwork);
}
.barque__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 25, 43, .62); opacity: 0; transition: opacity .2s;
}
.barque:hover .barque__play { opacity: 1; }
.barque__play span {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--stagecoach); color: #10210a;
}
.barque__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 */
.barque__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px;
  font-size: 11.5px; font-weight: 600; color: var(--archway);
  background: linear-gradient(180deg, transparent, rgba(4, 15, 26, .96));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; transition: opacity .2s;
}
.barque:hover .barque__name, .barque:focus-visible .barque__name { opacity: 1; }

/* ---------------------------------------------------------------- ticker -- */
.poundstone {
  border-block: 1px solid var(--carbine); padding: 12px 0;
  display: grid; gap: 9px;
}
.poundstone__label {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0;
  font: 700 11px/1 var(--jointwork); letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--swillhouse);
}
.poundstone__label svg { width: 14px; height: 14px; color: var(--heathland); }
.poundstone__scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.poundstone__scroll::-webkit-scrollbar { display: none; }
.poundstone__item {
  display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--nimbleweed); border: 1px solid var(--carbine); white-space: nowrap;
}
.poundstone__item img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 30px; }
.poundstone__item b { display: block; font-size: 12px; font-weight: 600; color: var(--corslet); max-width: 15ch; overflow: hidden; text-overflow: ellipsis; }
.poundstone__item span { font: 700 12.5px/1.4 var(--centaury); color: var(--pallet); }

/* ---------------------------------------------------------- wins + mults -- */
.vaultstone { display: grid; gap: var(--regatta); }
.vaultstone > * { min-width: 0; }
.vaultstone__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vaultstone__card {
  position: relative; display: block; padding: 26px 8px 12px; border-radius: var(--meadow);
  background: var(--shalebank); border: 1px solid var(--carbine); text-align: center;
  transition: border-color .2s, transform .2s;
}
.vaultstone__card:hover { border-color: var(--flaxseed); transform: translateY(-3px); }
.vaultstone__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(--chandler); border: 1px solid var(--cellarman); border-top: 0;
  font: 700 12px/1 var(--centaury); color: var(--shieldwork);
}
.vaultstone__card img {
  width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover;
  border-radius: var(--papermill);
}
/* 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. */
.vaultstone__card { container-type: inline-size; }
.vaultstone__amt {
  display: block; margin-top: 9px; letter-spacing: -.2px; color: var(--pallet);
  font: 700 clamp(11px, 3.6vw, 14px)/1.2 var(--jointwork);
}
.vaultstone__amt { font-size: clamp(11px, 13cqi, 14px); }
.vaultstone__name { display: block; margin-top: 3px; font-size: 11px; color: var(--corslet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vaultstone__by {
  display: inline-block; margin-top: 7px; padding: 4px 10px; border-radius: 999px;
  background: var(--chandler); font-size: 10.5px; font-weight: 600; color: var(--swillhouse);
}

.oakumwork { display: grid; gap: 7px; }
.oakumwork > *, .vaultstone__grid > * { min-width: 0; }
.oakumwork__row {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: var(--meadow);
  background: var(--shalebank); border: 1px solid var(--carbine); transition: border-color .2s;
  min-width: 0; overflow: hidden;
}
.oakumwork__row:hover { border-color: var(--flaxseed); }
.oakumwork__row img { width: 36px; height: 36px; border-radius: var(--papermill); object-fit: cover; flex: 0 0 36px; }
.oakumwork__who { min-width: 0; flex: 1 1 auto; }
.oakumwork__who b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oakumwork__who span { font-size: 11.5px; color: var(--swillhouse); }
.oakumwork__val { margin-left: auto; text-align: right; flex: 0 0 auto; }
.oakumwork__val b { display: block; font: 700 13px/1.3 var(--centaury); color: var(--pallet); }
.oakumwork__val span {
  display: inline-block; margin-top: 3px; padding: 3px 9px; border-radius: 999px;
  background: rgba(71, 209, 140, .14); border: 1px solid rgba(71, 209, 140, .3);
  font: 700 11px/1 var(--jointwork); color: var(--pallet);
}

/* -------------------------------------------------------------- promotions -- */
.condenser { display: grid; gap: var(--regatta); }
.condenser > *, .southwind > * > * { min-width: 0; }
.teak {
  display: grid; gap: 9px; padding: 20px 18px; border-radius: var(--meadow);
  background: linear-gradient(168deg, var(--nimbleweed), var(--shalebank));
  border: 1px solid var(--carbine);
}
.teak__kicker {
  font: 700 10.5px/1 var(--jointwork); letter-spacing: 1.9px; text-transform: uppercase;
  color: var(--flaxseed);
}
.teak__title { margin: 0; font: 800 clamp(20px, 5vw, 25px)/1.15 var(--centaury); letter-spacing: -.5px; }
.teak__line { margin: 0; font-size: 14px; color: #cfe2f2; }
.teak__meta { margin: 2px 0 0; font-size: 12px; color: var(--swillhouse); }
.teak .oriflamme { justify-self: start; }

/* ------------------------------------------------------------------ band -- */
.marchland {
  display: grid; gap: 14px; justify-items: center; text-align: center;
  padding: 26px 20px; border-radius: var(--tickenwork);
  background: linear-gradient(104deg, #294335 0%, #3b5849 58%, #1c3226 100%);
  border: 1px solid var(--cellarman); box-shadow: var(--casement);
}
.marchland__big { margin: 0; font: 800 clamp(24px, 6.4vw, 38px)/1.06 var(--centaury); letter-spacing: -.8px; }
.marchland__sub { margin: 0; max-width: 52ch; font-size: 14px; color: #cfe2f2; }

/* ---------------------------------------------------------------- wallet -- */
.boathouse { display: grid; gap: 12px; justify-items: center; padding-block: 6px; }
.boathouse__set { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.boathouse__set img { height: 23px; width: auto; opacity: .88; }
.boathouse__set img[src$=".webp"] { height: 27px; border-radius: 5px; }
.boathouse__set--coin img { height: 27px; }
.boathouse__label {
  margin: 0; font: 700 10.5px/1 var(--jointwork); letter-spacing: 2.3px;
  text-transform: uppercase; color: var(--swillhouse);
}
.boathouse__more {
  position: relative; display: inline-flex; align-items: center; padding: 6px 13px;
  border-radius: 999px; border: 1px solid var(--cellarman); background: var(--nimbleweed);
  font: 700 12px/1 var(--jointwork); color: var(--corslet);
}

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

.cartwheel {
  position: relative; padding: 26px 18px 30px; border-radius: var(--tickenwork);
  background: var(--shalebank); border: 1px solid var(--carbine);
}
.cartwheel h1 {
  margin: 0 0 16px; font: 800 clamp(24px, 6vw, 38px)/1.14 var(--centaury); letter-spacing: -1px;
}
.cartwheel h2 {
  margin: 32px 0 12px; padding-top: 18px; border-top: 1px solid var(--carbine);
  font: 700 clamp(20px, 4.8vw, 27px)/1.22 var(--centaury); letter-spacing: -.5px;
}
.cartwheel h2::before {
  content: ""; display: block; width: 38px; height: 3px; border-radius: 3px;
  margin-bottom: 13px; background: var(--stagecoach);
}
.cartwheel h3 { margin: 24px 0 9px; font: 700 clamp(17px, 4vw, 21px)/1.3 var(--centaury); color: #f2faff; }
.cartwheel h4 { margin: 19px 0 8px; font-size: 15.5px; font-weight: 700; color: var(--shieldwork); }
.cartwheel p { margin: 0 0 14px; color: #cfe2f2; }
.cartwheel strong { color: var(--archway); font-weight: 700; }
.cartwheel a { color: var(--flaxseed); text-decoration: underline; text-underline-offset: 2px; }
.cartwheel .oriflamme, .longboat a { text-decoration: none; }
.cartwheel .oriflamme--sloop { color: #10210a; }
.cartwheel .pricket a { color: var(--swillhouse); text-decoration: none; }
.cartwheel ul, .cartwheel ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.cartwheel ul li { position: relative; padding-left: 22px; color: #cfe2f2; }
.cartwheel ul li::before {
  content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--stagecoach); transform: rotate(45deg);
}
.cartwheel ol { counter-reset: step; }
.cartwheel ol li { position: relative; padding-left: 34px; color: #cfe2f2; }
.cartwheel 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(--chandler); border: 1px solid var(--cellarman);
  font: 700 11.5px/1 var(--centaury); color: var(--flaxseed);
}
.cartwheel li ul { margin: 8px 0 0; }
.cartwheel table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.cartwheel th, .cartwheel td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--carbine); }
.cartwheel th {
  font: 700 10.5px/1.3 var(--jointwork); letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--swillhouse); background: var(--nimbleweed); white-space: nowrap;
}
.cartwheel td { color: #cfe2f2; }
.cartwheel tbody tr:hover td { background: rgba(41, 67, 53, .40); }
.cartwheel .is-entryway { text-align: right; white-space: nowrap; }
.cartwheel__scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px;
  border: 1px solid var(--carbine); border-radius: var(--meadow);
}
.cartwheel details {
  margin: 0 0 9px; border: 1px solid var(--carbine); border-radius: var(--meadow);
  background: var(--nimbleweed); overflow: hidden;
}
.cartwheel summary {
  padding: 14px 42px 14px 16px; position: relative; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--archway);
}
.cartwheel summary::-webkit-details-marker { display: none; }
.cartwheel summary::after {
  content: ""; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px;
  border-right: 2px solid var(--flaxseed); border-bottom: 2px solid var(--flaxseed);
  transform: rotate(45deg); transition: transform .2s;
}
.cartwheel details[open] summary::after { transform: rotate(-135deg); top: 23px; }
.cartwheel details > div { padding: 0 16px 14px; }
.cartwheel details p:last-child { margin-bottom: 0; }
.cartwheel__cta {
  margin-top: 26px; padding: 20px 18px; border-radius: var(--meadow);
  background: var(--nimbleweed); border: 1px solid var(--cellarman); display: grid; gap: 10px;
  justify-items: start;
}
.cartwheel__cta b { font: 700 17px/1.3 var(--centaury); }
.cartwheel__cta p { margin: 0; }

.longboat {
  margin: 0 0 22px; padding: 16px 18px; border-radius: var(--meadow);
  background: var(--nimbleweed); border: 1px solid var(--carbine);
}
.longboat__title {
  margin: 0 0 10px; font: 700 10.5px/1 var(--jointwork); letter-spacing: 2px;
  text-transform: uppercase; color: var(--swillhouse);
}
.longboat ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; counter-reset: none; }
.longboat ol li { padding-left: 18px; position: relative; }
.longboat ol li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--flaxseed);
}
.longboat a { font-size: 13.5px; color: var(--corslet); }
.longboat a:hover { color: var(--flaxseed); }

.saffronwork { display: none; }
.cartwheel.is-housemartin .saffronwork {
  display: flex; align-items: center; justify-content: center;
}
.cartwheel.is-housemartin .cartwheel__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%);
}
.saffronwork { margin-top: 18px; }

/* ---------------------------------------------------------------- footer -- */
.brigand {
  margin-top: 30px; padding: 30px 18px 34px; border-top: 1px solid var(--carbine);
  background: var(--northgate); border-radius: var(--tickenwork) var(--tickenwork) 0 0;
}
.brigand__cols { display: grid; gap: 26px; }
.brigand__title {
  margin: 0 0 12px; font: 700 11px/1 var(--jointwork); letter-spacing: 1.9px;
  text-transform: uppercase; color: var(--archway);
}
.brigand__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.brigand__list a { font-size: 13.5px; color: var(--corslet); }
.brigand__list a:hover { color: var(--flaxseed); }
.brigand__mail a { color: var(--flaxseed); text-decoration: underline; text-underline-offset: 3px; }
.brigand__social { display: flex; flex-wrap: wrap; gap: 9px; }
.brigand__social a {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--nimbleweed); border: 1px solid var(--carbine); color: var(--corslet);
}
.brigand__social a:hover { color: var(--flaxseed); border-color: var(--flaxseed); }
.brigand__social svg { width: 16px; height: 16px; }
.brigand__badges { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.brigand__badges img { height: 30px; width: auto; opacity: .9; }
.brigand__legal { margin: 0 0 12px; font-size: 12px; line-height: 1.7; color: var(--swillhouse); }
.brigand__locale {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--carbine); font-size: 12.5px; color: var(--corslet);
}
.brigand__locale svg { width: 15px; height: 15px; color: var(--flaxseed); }
.brigand__bottom {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--carbine);
  display: grid; gap: 14px;
}

/* ------------------------------------------------------------------- 404 -- */
.aquavit { padding: 40px 0 26px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.aquavit__code {
  margin: 0; font: 900 clamp(66px, 22vw, 128px)/1 var(--centaury); letter-spacing: -4px;
  background: linear-gradient(120deg, var(--shieldwork), var(--flaxseed) 52%, var(--ampersand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aquavit h1 { margin: 0; font: 800 clamp(22px, 5.6vw, 32px)/1.2 var(--centaury); }
.aquavit p { margin: 0; max-width: 54ch; color: var(--corslet); }
.aquavit__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 6px; }
.aquavit__links a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--cellarman);
  font-size: 13.5px; color: var(--corslet);
}
.aquavit__links a:hover { color: var(--archway); border-color: var(--flaxseed); }

.mashtun {
  position: fixed; right: 14px; bottom: 14px; z-index: 55; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; background: var(--stagecoach);
  color: #10210a; box-shadow: var(--casement); opacity: 0; visibility: hidden;
  transform: translateY(9px); transition: opacity .2s, transform .2s, visibility .2s;
}
.mashtun.is-moorstone { opacity: 1; visibility: visible; transform: none; }
.mashtun 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) {
  .pulleywork__bar { padding-inline: 8px; gap: 8px; }
  .carbide__name { font-size: 15px; }
  .carbide__sub { letter-spacing: 1.4px; }
  .withyfield { gap: 6px; }
  .withyfield .oriflamme { padding: 9px 12px; font-size: 12.5px; }
  .pilaster { width: 38px; height: 38px; flex: 0 0 38px; }
}

@media (min-width: 480px) {
  .bramblewood { grid-auto-columns: 31%; }
  .zealotry { grid-auto-columns: 46%; }
  .scrubland__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 */
  .scrubland__art { object-position: right center; }
  .blacksmith { padding-inline: 18px; }
  .bramblewood { grid-auto-columns: 23%; }
  .zealotry { grid-auto-columns: 31%; }
  .condenser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brigand__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartwheel { padding: 30px 26px 34px; }
  .marchland { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; }
  .marchland .oriflamme { justify-self: end; }
}

@media (min-width: 900px) {
  :root { --cutter: 68px; --regatta: 16px; }
  .blacksmith { padding-inline: 24px; }
  .southwind { padding-block: 22px 44px; gap: 34px; }
  .chaffinch {
    display: flex; align-items: center; gap: 2px; margin-left: 8px;
    flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
  }
  .chaffinch::-webkit-scrollbar { display: none; }
  .withyfield { flex: 0 0 auto; }
  .withyfield .oriflamme--hookline { display: inline-flex; }
  .withyfield .oriflamme--sloop { padding: 10px 17px; }
  .pilaster { display: none; }
  .scrubland__body {
    padding: 62px 44px 66px; text-align: left; justify-items: start; max-width: 46%;
  }
  .scrubland::after {
    background:
      radial-gradient(30% 70% at 20% 42%, rgba(62, 196, 233, .18), transparent 62%),
      radial-gradient(26% 60% at 78% 66%, rgba(252, 154, 42, .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%);
  }
  .scrubland__sub { max-width: 44ch; }
  .scrubland__trust { justify-content: flex-start; }
  .zealotry { grid-auto-columns: minmax(0, 1fr); margin-top: -62px; }
  .bramblewood { grid-auto-columns: 17.4%; }
  .quinceflower__arw { display: inline-flex; }
  .condenser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vaultstone { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .brigand__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
  .brigand { padding: 38px 32px 40px; }
  .cartwheel { padding: 38px 38px 42px; }
  .cartwheel ol { columns: auto; }
  .mashtun { right: 22px; bottom: 22px; }
}

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