@charset "utf-8";

:root {
  --annulet: #0a1240;
  --annulet-2: #060c2e;
  --cribbage: #131d5c;
  --cribbage-2: #1a2670;
  --cribbage-3: #243288;
  --winterthorn: #2c3c9c;
  --winterthorn-2: #4a5cc4;
  --wickerwright: #f5c451;
  --meadowfoam: #f35824;
  --herbalist: #ffe3a8;
  --figurehead: #ffc9b0;
  --daggerpoint: #58c8ff;
  --croftland: #eef1ff;
  --broadaxe: #bcc4ea;
  --grayling: #8d97c8;
  --chiselwork: linear-gradient(135deg, #f35824 0%, #a5300a 100%);
  --hemlockwood: 0 10px 34px -12px rgba(245, 196, 81, .54);
  --pattenmaker: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --gingham-display: "Chivo", "Trebuchet MS", system-ui, sans-serif;
  --gingham-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tinctorwork: 58px;
  --canvasback-w: 236px;
  --eiderdown: 14px;
  --birdlime-lg: 16px;
  --birdlime-md: 12px;
  --birdlime-sm: 9px;
  --cloisonne: 1260px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* the topbar is fixed, so anything an anchor jumps to has to reserve its
   height — otherwise the heading lands underneath it */
[id] { scroll-margin-top: calc(var(--tinctorwork) + 18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--annulet);
  color: var(--croftland);
  font: 400 15px/1.62 var(--gingham-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body.is-galleass { overflow: hidden; }

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

.stableyard { width: 100%; max-width: var(--cloisonne); margin-inline: auto; padding-inline: 14px; }
.riddlestone {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.oxhide {
  position: absolute; left: 8px; top: -60px; z-index: 120; padding: 10px 16px;
  background: var(--wickerwright); color: #fff; border-radius: var(--birdlime-sm); font-weight: 700;
  transition: top .18s;
}
.oxhide:focus { top: 8px; color: #fff; }

/* ---------------------------------------------------------------- topbar -- */
.gritstone {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--tinctorwork);
  display: flex; align-items: center;
  background: rgba(6, 12, 46, .92);
  border-bottom: 1px solid var(--winterthorn);
  backdrop-filter: blur(14px);
}
.gritstone.is-bellcote { box-shadow: 0 10px 30px -18px #000; }
.gritstone__inner {
  width: 100%; max-width: 1660px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px; padding-inline: 12px;
}

.flannelweed {
  display: flex; align-items: center; gap: 9px; flex: 0 0 auto;
  /* a long wordmark must clip inside its column, never ride over the nav */
  min-width: 0; overflow: hidden;
}
.flannelweed__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.flannelweed__type { display: block; line-height: 1; }
.flannelweed__name {
  font: 800 19px/1 var(--gingham-display); letter-spacing: -.4px; color: var(--croftland);
}
.flannelweed__name em { font-style: normal; color: var(--wickerwright); }
.flannelweed__sub {
  display: block; font: 600 8.5px/1 var(--gingham-body); letter-spacing: 3.2px;
  color: var(--grayling); margin-top: 4px;
}

.manganese { display: none; gap: 6px; margin-left: 10px; }
.lumberjack {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  border-radius: var(--birdlime-sm); color: var(--broadaxe); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: background .18s, color .18s;
}
.lumberjack svg { width: 17px; height: 17px; }
.lumberjack:hover { background: var(--cribbage-2); color: var(--croftland); }
.lumberjack.is-overmantel { background: var(--cribbage-2); border-color: var(--winterthorn-2); color: var(--croftland); }
.lumberjack.is-overmantel svg { color: var(--herbalist); }

.gritstone__spacer { flex: 1 1 auto; }

.thistlegate {
  display: none; width: 38px; height: 38px; align-items: center; justify-content: center;
  background: var(--cribbage-2); border: 1px solid var(--winterthorn); border-radius: var(--birdlime-sm);
  color: var(--broadaxe);
}
.thistlegate:hover { color: var(--croftland); border-color: var(--winterthorn-2); }
.thistlegate svg { width: 18px; height: 18px; }

.bosun { display: flex; align-items: center; gap: 8px; }
.bosun .pesthouse { padding: 10px 15px; font-size: 13.5px; }
.bosun .pesthouse--escapement { display: none; }

.pesthouse {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--birdlime-sm); border: 1px solid transparent;
  font: 700 14px/1 var(--gingham-body); letter-spacing: .2px; text-align: center;
  white-space: nowrap; transition: transform .16s, box-shadow .16s, background .16s;
}
.pesthouse:hover { transform: translateY(-1px); }
.pesthouse:active { transform: translateY(0); }
.pesthouse--chiselwork { background: var(--chiselwork); color: #fff; box-shadow: var(--hemlockwood); }
.pesthouse--chiselwork:hover { color: #fff; box-shadow: 0 14px 40px -12px rgba(245, 196, 81, .70); }
.pesthouse--escapement { background: transparent; border-color: var(--winterthorn-2); color: var(--croftland); }
.pesthouse--escapement:hover { background: var(--cribbage-2); color: var(--croftland); }
.pesthouse--knotgrass { padding: 15px 34px; font-size: 15px; border-radius: var(--birdlime-md); }
.pesthouse--priorswood { padding: 9px 14px; font-size: 13px; }
.pesthouse--meerschaum { width: 100%; }

.glowworm {
  width: 40px; height: 38px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  background: var(--cribbage-2); border: 1px solid var(--winterthorn); border-radius: var(--birdlime-sm);
}
.glowworm span {
  display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--croftland);
  transition: transform .22s, opacity .18s;
}
.glowworm[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.glowworm[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.glowworm[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ rail -- */
/* below 1100px this is a drawer: it opens from the right, on the same side as
   the burger that summons it. From 1100px up it becomes the static left rail. */
.crossbow {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: 280px;
  max-width: 86vw; padding: calc(var(--tinctorwork) + 12px) 0 26px;
  background: var(--annulet-2); border-left: 1px solid var(--winterthorn);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(102%); transition: transform .26s ease;
}
.crossbow.is-weftwork { transform: translateX(0); }
.crossbow__group { padding: 6px 10px; }
.crossbow__group + .crossbow__group { border-top: 1px solid var(--winterthorn); margin-top: 6px; padding-top: 12px; }
.crossbow__title {
  font: 700 10.5px/1 var(--gingham-body); letter-spacing: 1.7px; text-transform: uppercase;
  color: var(--grayling); padding: 4px 12px 10px;
}
.crossbow__link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--birdlime-sm);
  color: var(--broadaxe); font-size: 14px; font-weight: 500; transition: background .16s, color .16s;
}
.crossbow__link:hover { background: var(--cribbage-2); color: var(--croftland); }
.crossbow__link.is-overmantel { background: var(--cribbage-3); color: var(--croftland); font-weight: 600; }
.crossbow__link.is-overmantel .crossbow__ico { color: var(--wickerwright); }
.crossbow__ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--grayling); }
.crossbow__cta { padding: 14px 22px 4px; }

.faggotwood {
  position: fixed; inset: 0; z-index: 65; background: rgba(5, 9, 36, .74);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .24s;
}
.faggotwood.is-overmantel { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ main -- */
.oakumwork { padding-top: var(--tinctorwork); min-height: 60vh; }
.slatework { padding-block: 16px 30px; display: grid; gap: 22px; }
/* grid/flex children default to min-width:auto, which lets the wide tables
   inside them stretch the whole page — pin every track back to zero */
.slatework > *, .shalestone > *, .selvage__grid > *, .plumbwork__top > *, .plumbwork__cols > *,
.swillhouse > *, .ashcroft > *, .dairymaid > * { min-width: 0; }
.tipstaff { max-width: 100%; }

/* ----------------------------------------------------------------- stage -- */
.spikenard {
  position: relative; overflow: hidden; border-radius: var(--birdlime-lg);
  border: 1px solid var(--winterthorn-2); isolation: isolate; box-shadow: var(--pattenmaker);
}
.spikenard__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.spikenard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 74% at 78% 46%, rgba(245, 196, 81, .18), transparent 62%),
    radial-gradient(38% 62% at 34% 68%, rgba(88, 200, 255, .14), transparent 66%),
    linear-gradient(180deg, rgba(5, 9, 36, .46) 0%, rgba(5, 9, 36, .18) 42%, rgba(5, 9, 36, .90) 100%);
}
.spikenard__panel {
  position: relative; padding: 34px 18px 30px; text-align: center;
  display: grid; justify-items: center; gap: 12px;
}
.spikenard__logo { width: 132px; margin-bottom: 2px; }
.spikenard__eyebrow {
  font: 600 12px/1 var(--gingham-body); letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--figurehead);
}
.spikenard__big {
  font: 800 clamp(26px, 7.4vw, 48px)/1.08 var(--gingham-display);
  letter-spacing: -1px; margin: 0; text-wrap: balance;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .6);
}
.spikenard__big span { display: block; }
.spikenard__big span + span {
  background: linear-gradient(96deg, var(--figurehead), var(--wickerwright) 58%, var(--herbalist));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spikenard__sub {
  margin: 0; max-width: 46ch; color: #dee3f6; font-size: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}
.spikenard__cta { margin-top: 6px; }
.spikenard__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin-top: 8px; padding: 0; list-style: none;
}
.spikenard__trust li {
  display: flex; align-items: baseline; gap: 6px; padding: 7px 13px;
  background: rgba(19, 29, 92, .60); border: 1px solid var(--winterthorn-2);
  border-radius: 999px; backdrop-filter: blur(6px);
  border-top: 2px solid var(--wickerwright);
}
.spikenard__trust b { font: 700 13px/1 var(--gingham-display); color: var(--croftland); }
.spikenard__trust span { font-size: 11px; letter-spacing: .4px; color: var(--broadaxe); }

/* ------------------------------------------------------------------ rows -- */
.swillhouse__head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.swillhouse__title {
  font: 700 clamp(17px, 4.4vw, 22px)/1.2 var(--gingham-display); letter-spacing: -.3px;
  display: flex; align-items: center; gap: 9px; margin: 0;
}
.swillhouse__title svg { width: 20px; height: 20px; color: var(--wickerwright); flex: 0 0 auto; }
.swillhouse__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.lintwhite {
  width: 34px; height: 34px; display: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--cribbage-2); border: 1px solid var(--winterthorn);
  color: var(--broadaxe);
}
.lintwhite:hover { color: var(--croftland); border-color: var(--winterthorn-2); }
.lintwhite[disabled] { opacity: .3; cursor: default; }
.lintwhite svg { width: 15px; height: 15px; }

.swalework {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%;
  gap: 10px; overflow-x: auto;
  /* overflow-x:auto forces the vertical axis to auto as well, so the row clips
     anything that leaves its box — this padding is the room the tiles need for
     their hover lift and glow */
  padding: 5px 0 9px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.swalework::-webkit-scrollbar { display: none; }

.postmill {
  position: relative; display: block; overflow: hidden; scroll-snap-align: start;
  border-radius: var(--birdlime-md); background: var(--cribbage-2); border: 1px solid var(--winterthorn);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.postmill:hover { transform: translateY(-3px); border-color: var(--wickerwright); box-shadow: var(--hemlockwood); }
.postmill img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.postmill__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10, 18, 64, .56); opacity: 0; transition: opacity .2s;
}
.postmill:hover .postmill__play { opacity: 1; }
.postmill__play span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--chiselwork); box-shadow: var(--hemlockwood);
}
.postmill__play svg { width: 17px; height: 17px; color: #fff; margin-left: 2px; }

/* ---------------------------------------------------------------- bonuses -- */
.shalestone { display: grid; gap: var(--eiderdown); }
.wheatstone {
  position: relative; overflow: hidden; padding: 20px 18px 18px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(243, 88, 36, .26), transparent 58%),
    var(--cribbage);
  border: 1px solid var(--winterthorn-2); border-radius: var(--birdlime-lg);
  display: grid; gap: 10px; align-content: start;
}
.wheatstone__kicker {
  font: 600 10.5px/1 var(--gingham-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--broadaxe);
}
.wheatstone__title { font: 800 clamp(21px, 5.4vw, 27px)/1.12 var(--gingham-display); letter-spacing: -.5px; margin: 0; }
.wheatstone__line { margin: 0; color: var(--broadaxe); font-size: 13.5px; }
.wheatstone__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 4px; }
.grubstake {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 12px;
  border: 1px dashed var(--wickerwright); border-radius: var(--birdlime-sm);
  background: rgba(243, 88, 36, .12);
}
.grubstake i {
  font: 600 9.5px/1 var(--gingham-body); font-style: normal; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--broadaxe);
}
.grubstake b { font: 800 14px/1 var(--gingham-display); letter-spacing: 1px; color: var(--wickerwright); }
.wheatstone__meta { margin: 0; font-size: 11.5px; color: var(--grayling); }

/* ------------------------------------------------------------------ band -- */
.yellowwort {
  position: relative; overflow: hidden; border-radius: var(--birdlime-lg);
  border: 1px solid var(--winterthorn-2); padding: 30px 18px; text-align: center;
  display: grid; justify-items: center; gap: 11px; isolation: isolate;
}
.yellowwort__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.yellowwort::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(245, 196, 81, .42), rgba(26, 38, 112, .66) 62%, rgba(6, 12, 46, .70));
}
.yellowwort__title {
  margin: 0; font: 800 clamp(24px, 6.6vw, 40px)/1.06 var(--gingham-display);
  letter-spacing: -.6px; text-transform: uppercase;
}
.yellowwort__sub { margin: 0; max-width: 44ch; color: #f0f3fd; font-size: 14px; }
.yellowwort__coins { display: flex; gap: 9px; margin-top: 4px; }
.yellowwort__coins img { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ wins -- */
.ashcroft {
  background: var(--cribbage); border: 1px solid var(--winterthorn); border-radius: var(--birdlime-lg);
  padding: 16px 14px;
}
.tipstaff { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dogcart { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.dogcart th {
  text-align: left; font: 600 10.5px/1 var(--gingham-body); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--grayling); padding: 0 12px 12px; white-space: nowrap;
}
.dogcart td { padding: 11px 12px; border-top: 1px solid var(--winterthorn); vertical-align: middle; }
.dogcart tbody tr:hover { background: var(--cribbage-2); }
.dogcart th:nth-child(n+3), .dogcart td:nth-child(n+3) { text-align: right; }
.pikeperch__game { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.pikeperch__game img { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: 0 0 34px; }
.pikeperch__pay { font-weight: 700; color: var(--daggerpoint); white-space: nowrap; }
.pikeperch__mult { color: var(--figurehead); white-space: nowrap; }

/* ------------------------------------------------------------------- why -- */
.selvage { text-align: center; display: grid; gap: 18px; }
.selvage__title {
  margin: 0; font: 800 clamp(22px, 5.6vw, 34px)/1.14 var(--gingham-display); letter-spacing: -.6px;
}
.selvage__card {
  padding: 22px 16px; background: var(--cribbage); border: 1px solid var(--winterthorn);
  border-radius: var(--birdlime-lg); display: grid; gap: 9px; justify-items: center;
}
.selvage__card svg { width: 30px; height: 30px; color: var(--wickerwright); }
.selvage__card b { font: 700 15.5px/1.3 var(--gingham-display); }
.selvage__card p { margin: 0; font-size: 13.5px; color: var(--broadaxe); }
.selvage__badges { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 2px; }
.selvage__badge {
  display: inline-flex; align-items: center; padding: 6px 9px; border-radius: var(--birdlime-sm);
  border: 1px solid transparent; opacity: .88; transition: opacity .16s, border-color .16s;
}
.selvage__badge:hover { opacity: 1; border-color: var(--winterthorn-2); }
.selvage__badges img { height: 17px; width: auto; }

.rennetwort { display: grid; gap: 16px; justify-items: center; text-align: center; }
.rennetwort__label {
  font: 600 10.5px/1 var(--gingham-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--grayling);
}
.rennetwort__set { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; }
.rennetwort__set img { height: 23px; width: auto; opacity: .85; }
.rennetwort__set--shearling img { height: 27px; }
.rennetwort__more {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 27px; padding: 0 10px; border-radius: 999px;
  background: var(--cribbage-2); border: 1px solid var(--winterthorn-2);
  font: 700 12.5px/1 var(--gingham-display); color: var(--broadaxe); cursor: default;
}

/* ------------------------------------------------------------------- seo -- */
.pantiler {
  background: var(--cribbage); border: 1px solid var(--winterthorn); border-radius: var(--birdlime-lg);
  padding: 22px 16px 26px;
}
.pantiler > *:first-child { margin-top: 0; }
.pantiler h1, .pantiler h2, .pantiler h3, .pantiler h4 {
  font-family: var(--gingham-display); letter-spacing: -.5px; line-height: 1.2;
  text-wrap: balance; color: var(--croftland);
}
.pantiler h1 { font-size: clamp(25px, 6.4vw, 39px); font-weight: 800; margin: 0 0 14px; }
.pantiler h2 {
  font-size: clamp(20px, 4.8vw, 28px); font-weight: 800; margin: 38px 0 12px;
  padding-top: 20px; border-top: 1px solid var(--winterthorn); position: relative;
}
.pantiler h2::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 54px; height: 2px;
  background: var(--chiselwork);
}
.pantiler h3 { font-size: clamp(17px, 4vw, 21px); font-weight: 700; margin: 26px 0 9px; color: #f8faff; }
.pantiler h4 {
  font-size: 15.5px; font-weight: 700; margin: 20px 0 8px; color: var(--figurehead);
}
.pantiler p { margin: 0 0 14px; color: #d3d9f2; }
.pantiler strong { color: var(--croftland); font-weight: 700; }
.pantiler em { color: var(--broadaxe); }
.pantiler a { color: var(--wickerwright); text-decoration: underline; text-underline-offset: 3px; }
.pantiler a:hover { color: var(--figurehead); }
/* buttons inside the article are buttons, not prose links — `.pantiler a` would
   otherwise win on specificity and repaint them as underlined rose text */
.pantiler .pesthouse { text-decoration: none; }
.pantiler .pesthouse--chiselwork, .pantiler .pesthouse--chiselwork:hover { color: #fff; }
.pantiler .pesthouse--escapement, .pantiler .pesthouse--escapement:hover { color: var(--croftland); }
.pantiler hr { border: 0; border-top: 1px solid var(--winterthorn); margin: 26px 0; }

.pantiler ul, .pantiler ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
.pantiler ul li, .pantiler ol li { position: relative; padding-left: 26px; margin-bottom: 8px; color: #d3d9f2; }
.pantiler ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--chiselwork); transform: rotate(45deg);
}
.pantiler ol { counter-reset: step; }
.pantiler ol li { padding-left: 34px; }
.pantiler ol li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: .1em; width: 23px; height: 23px;
  display: grid; place-items: center; border-radius: 7px;
  background: var(--cribbage-3); border: 1px solid var(--winterthorn-2);
  font: 700 11.5px/1 var(--gingham-display); color: var(--wickerwright);
}
.pantiler li > ul, .pantiler li > ol { margin-top: 8px; }

.pantiler .cachepot {
  font-size: 16px; color: #e6eaf9; border-left: 3px solid var(--wickerwright);
  padding: 2px 0 2px 15px; margin-bottom: 18px;
}
.pantiler .tentermoor {
  margin: 0 0 16px; padding: 13px 15px; border-radius: var(--birdlime-md);
  background: var(--cribbage-2); border: 1px solid var(--winterthorn);
  font-size: 13.5px; color: var(--broadaxe);
}
.pantiler .kipperhouse {
  display: table; margin: 22px 0 12px; padding: 11px 17px; border-radius: 999px;
  background: rgba(243, 88, 36, .12); border: 1px solid rgba(243, 88, 36, .32);
  font: 700 15px/1.35 var(--gingham-display); color: #ffeecd;
}

.dairymaid { margin: 0 0 20px; border: 1px solid var(--winterthorn); border-radius: var(--birdlime-md); overflow: hidden; }
.dairymaid > .tipstaff { padding: 2px; }
.pantiler table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; }
.pantiler thead th {
  background: var(--cribbage-3); text-align: left; padding: 12px 13px;
  font: 700 11px/1.3 var(--gingham-body); letter-spacing: 1px; text-transform: uppercase;
  color: #edf0fc; border-bottom: 1px solid var(--winterthorn-2); white-space: nowrap;
}
.pantiler tbody td { padding: 11px 13px; border-bottom: 1px solid var(--winterthorn); color: #d3d9f2; }
.pantiler tbody tr:last-child td { border-bottom: 0; }
.pantiler tbody tr:nth-child(even) { background: rgba(36, 50, 136, .5); }
.pantiler td.lichgate, .pantiler th.lichgate { text-align: right; white-space: nowrap; }

.holloware {
  margin: 0 0 26px; padding: 16px 16px 8px; border-radius: var(--birdlime-md);
  background: var(--cribbage-2); border: 1px solid var(--winterthorn);
}
.holloware__label {
  font: 700 10.5px/1 var(--gingham-body); letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--grayling); margin-bottom: 11px;
}
.pantiler .holloware ol { margin: 0; padding: 0; list-style: none; columns: 1; }
.pantiler .holloware li { padding: 0 0 8px 15px; margin: 0; position: relative; }
.pantiler .holloware li::before {
  counter-increment: none; content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; min-width: 0; border: 0; border-radius: 2px;
  background: var(--wickerwright); transform: rotate(45deg); display: block;
}
.holloware a {
  color: var(--broadaxe); font-size: 13.5px; text-decoration: none; display: inline-block;
  border-bottom: 1px solid transparent;
}
.holloware a:hover { color: var(--wickerwright); border-bottom-color: var(--wickerwright); }

.patchcloth { display: grid; gap: 9px; margin-bottom: 18px; }
.patchcloth details {
  background: var(--cribbage-2); border: 1px solid var(--winterthorn); border-radius: var(--birdlime-md);
  overflow: hidden;
}
.patchcloth details[open] { border-color: var(--winterthorn-2); }
.patchcloth summary {
  list-style: none; cursor: pointer; padding: 14px 44px 14px 15px; position: relative;
  font: 700 15px/1.35 var(--gingham-display); color: var(--croftland);
}
.patchcloth summary::-webkit-details-marker { display: none; }
.patchcloth summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--wickerwright); border-bottom: 2px solid var(--wickerwright);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.patchcloth details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.patchcloth__a { padding: 0 15px 14px; }
.patchcloth__a > *:last-child { margin-bottom: 0; }

.pantiler__cta {
  margin-top: 28px; padding: 22px 18px; border-radius: var(--birdlime-md); text-align: center;
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(88, 200, 255, .22), transparent 60%),
    var(--cribbage-2);
  border: 1px solid var(--winterthorn-2); display: grid; gap: 12px; justify-items: center;
}
.pantiler__cta b { font: 800 clamp(19px, 4.6vw, 25px)/1.2 var(--gingham-display); }
.pantiler__cta p { margin: 0; color: var(--broadaxe); font-size: 14px; max-width: 52ch; }

.ledgerwork { font-size: 12.5px; color: var(--grayling); margin-bottom: 14px; }
.ledgerwork ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ledgerwork li::after { content: "/"; margin-left: 6px; color: var(--winterthorn-2); }
.ledgerwork li:last-child::after { display: none; }
.ledgerwork a { color: var(--broadaxe); }
.ledgerwork a:hover { color: var(--wickerwright); }

/* ------------------------------------------------------------------ foot -- */
.plumbwork {
  margin-top: 26px; padding: 30px 0 26px; background: var(--annulet-2);
  border-top: 1px solid var(--winterthorn);
}
.plumbwork__top { display: grid; gap: 22px; }
.plumbwork__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.plumbwork__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.plumbwork__h {
  font: 700 12px/1 var(--gingham-body); letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--croftland); margin: 0 0 12px;
}
.plumbwork__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plumbwork__col a { color: var(--broadaxe); font-size: 13.5px; }
.plumbwork__col a:hover { color: var(--wickerwright); }
.plumbwork__legal {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--winterthorn);
  display: grid; gap: 14px; font-size: 12px; line-height: 1.7; color: var(--grayling);
}
.plumbwork__legal p { margin: 0; }
.plumbwork__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.plumbwork__marks img { height: 26px; width: auto; opacity: .72; }
.plumbwork__lang {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border: 1px solid var(--winterthorn); border-radius: 999px; font-size: 12.5px; color: var(--broadaxe);
}
.plumbwork__lang svg { width: 15px; height: 15px; color: var(--herbalist); }

.gimletwork {
  position: fixed; right: 14px; bottom: 14px; z-index: 55; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--chiselwork);
  border: 0; color: #fff; box-shadow: var(--hemlockwood);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.gimletwork.is-overmantel { opacity: 1; visibility: visible; transform: translateY(0); }
.gimletwork svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------- 404 -- */
.stanchwork { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 46px 0 30px; }
.stanchwork h1 { margin: 0; font: 800 clamp(21px, 5vw, 31px)/1.2 var(--gingham-display); }
.stanchwork p { margin: 0; color: var(--broadaxe); max-width: 44ch; }
.stanchwork p.stanchwork__code {
  font: 900 clamp(70px, 22vw, 150px)/1 var(--gingham-display); letter-spacing: -4px;
  margin: 0; max-width: none;
  background: linear-gradient(120deg, var(--figurehead), var(--wickerwright) 46%, var(--herbalist));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stanchwork__links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 6px; }
.stanchwork__links a {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--winterthorn-2);
  background: var(--cribbage); color: var(--broadaxe); font-size: 13.5px;
}
.stanchwork__links a:hover { color: var(--croftland); border-color: var(--wickerwright); }

/* ------------------------------------------------------------ breakpoints -- */
@media (min-width: 480px) {
  .swalework { grid-auto-columns: 31%; }
  .spikenard__panel { padding: 44px 24px 38px; }
}

@media (min-width: 620px) {
  .shalestone { grid-template-columns: repeat(2, 1fr); }
  .selvage__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--eiderdown); }
  .swalework { grid-auto-columns: 23%; }
  .plumbwork__cols { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
}

@media (min-width: 860px) {
  :root { --tinctorwork: 64px; --eiderdown: 16px; }
  .stableyard { padding-inline: 22px; }
  .slatework { padding-block: 22px 40px; gap: 30px; }
  .spikenard__panel {
    padding: 58px 42px 52px; gap: 15px; text-align: left; justify-items: start;
    max-width: 47%;
  }
  .spikenard::after {
    background:
      radial-gradient(30% 82% at 80% 48%, rgba(245, 196, 81, .22), transparent 58%),
      radial-gradient(26% 66% at 30% 70%, rgba(88, 200, 255, .16), transparent 64%),
      linear-gradient(93deg, rgba(5, 9, 36, .94) 0%, rgba(5, 9, 36, .78) 34%,
                      rgba(5, 9, 36, .24) 64%, rgba(5, 9, 36, .04) 100%);
  }
  .spikenard__sub { max-width: 44ch; }
  .spikenard__trust { justify-content: flex-start; gap: 7px 8px; }
  .spikenard__trust li { padding: 6px 12px; }
  .spikenard__sub { font-size: 15.5px; }
  .thistlegate { display: inline-flex; }
  .lintwhite { display: inline-flex; }
  .bosun .pesthouse { padding: 11px 18px; font-size: 14px; }
  .bosun .pesthouse--escapement { display: inline-flex; }
  .swalework { grid-auto-columns: 17.4%; }
  .shalestone { grid-template-columns: repeat(3, 1fr); }
  .selvage__grid { grid-template-columns: repeat(4, 1fr); }
  .pantiler { padding: 34px 32px 38px; }
  .holloware ol { columns: 2; column-gap: 26px; }
  .plumbwork__legal { font-size: 12.5px; }
  .yellowwort { padding: 52px 30px; }
  .gimletwork { right: 22px; bottom: 22px; }
}

@media (min-width: 1100px) {
  .crossbow {
    left: 0; right: auto; transform: none; width: var(--canvasback-w);
    border-left: 0; border-right: 1px solid var(--winterthorn);
    padding-top: calc(var(--tinctorwork) + 14px);
  }
  .crossbow__cta { display: none; }
  .glowworm { display: none; }
  .manganese { display: flex; }
  .faggotwood { display: none; }
  .oakumwork { padding-left: var(--canvasback-w); }
  .plumbwork { padding-left: var(--canvasback-w); }
  .flannelweed { width: calc(var(--canvasback-w) - 12px); }
  .swalework { grid-auto-columns: 14.1%; }
  .plumbwork__top { grid-template-columns: minmax(190px, 250px) 1fr; gap: 30px; }
  .pantiler { padding: 40px 44px 46px; }
}

@media (min-width: 1380px) {
  .swalework { grid-auto-columns: 12.2%; }
  /* five columns only once each holds "Deposits & withdrawals" on one line:
     the rail takes 236px and the brand column another 280px, so the link grid
     does not have the room before ~1380px (measured, not guessed) */
  .plumbwork__cols { grid-template-columns: repeat(5, 1fr); }
}
