@charset "utf-8";

:root {
  --turnbuckle: #1f2328;
  --turnbuckle-2: #171a1e;
  --attic: #2b3138;
  --attic-2: #353c44;
  --attic-3: #414952;
  --fishplate: #4c555f;
  --fishplate-2: #67727e;
  --cardoon: #ff7a2f;
  --bayberry: #a44bf5;
  --strutwork: #ffc9a5;
  --watchtower: #e0c6ff;
  --dragline: #7fd8ff;
  --cribwork: #f2f6f9;
  --hurdle: #c3ccd4;
  --ebonwood: #93a0aa;
  --whipstaff: linear-gradient(135deg, #a44bf5 0%, #5c17a8 100%);
  --oxbowfield: 0 10px 34px -12px rgba(255, 122, 47, .54);
  --overfall: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --scarplands-display: "Sofia Sans", "Trebuchet MS", system-ui, sans-serif;
  --scarplands-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --loomwork: 58px;
  --dolerite-w: 236px;
  --limekiln: 14px;
  --caulk-lg: 16px;
  --caulk-md: 12px;
  --caulk-sm: 9px;
  --magnetite: 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(--loomwork) + 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(--turnbuckle);
  color: var(--cribwork);
  font: 400 15px/1.62 var(--scarplands-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body.is-cresset { overflow: hidden; }

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

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

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

.mudstone {
  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;
}
.mudstone__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.mudstone__type { display: block; line-height: 1; }
.mudstone__name {
  font: 800 19px/1 var(--scarplands-display); letter-spacing: -.4px; color: var(--cribwork);
}
.mudstone__name em { font-style: normal; color: var(--cardoon); }
.mudstone__sub {
  display: block; font: 600 8.5px/1 var(--scarplands-body); letter-spacing: 3.2px;
  color: var(--ebonwood); margin-top: 4px;
}

.refectory { display: none; gap: 6px; margin-left: 10px; }
.baldric {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  border-radius: var(--caulk-sm); color: var(--hurdle); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: background .18s, color .18s;
}
.baldric svg { width: 17px; height: 17px; }
.baldric:hover { background: var(--attic-2); color: var(--cribwork); }
.baldric.is-fairlead { background: var(--attic-2); border-color: var(--fishplate-2); color: var(--cribwork); }
.baldric.is-fairlead svg { color: var(--strutwork); }

.wormcast__spacer { flex: 1 1 auto; }

.tugboat {
  display: none; width: 38px; height: 38px; align-items: center; justify-content: center;
  background: var(--attic-2); border: 1px solid var(--fishplate); border-radius: var(--caulk-sm);
  color: var(--hurdle);
}
.tugboat:hover { color: var(--cribwork); border-color: var(--fishplate-2); }
.tugboat svg { width: 18px; height: 18px; }

.gearbox { display: flex; align-items: center; gap: 8px; }
.gearbox .chimneypot { padding: 10px 15px; font-size: 13.5px; }
.gearbox .chimneypot--gristle { display: none; }

.chimneypot {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--caulk-sm); border: 1px solid transparent;
  font: 700 14px/1 var(--scarplands-body); letter-spacing: .2px; text-align: center;
  white-space: nowrap; transition: transform .16s, box-shadow .16s, background .16s;
}
.chimneypot:hover { transform: translateY(-1px); }
.chimneypot:active { transform: translateY(0); }
.chimneypot--whipstaff { background: var(--whipstaff); color: #fff; box-shadow: var(--oxbowfield); }
.chimneypot--whipstaff:hover { color: #fff; box-shadow: 0 14px 40px -12px rgba(255, 122, 47, .70); }
.chimneypot--gristle { background: transparent; border-color: var(--fishplate-2); color: var(--cribwork); }
.chimneypot--gristle:hover { background: var(--attic-2); color: var(--cribwork); }
.chimneypot--sealoft { padding: 15px 34px; font-size: 15px; border-radius: var(--caulk-md); }
.chimneypot--ranchland { padding: 9px 14px; font-size: 13px; }
.chimneypot--shieling { width: 100%; }

.coneflower {
  width: 40px; height: 38px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  background: var(--attic-2); border: 1px solid var(--fishplate); border-radius: var(--caulk-sm);
}
.coneflower span {
  display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--cribwork);
  transition: transform .22s, opacity .18s;
}
.coneflower[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.coneflower[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.coneflower[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. */
.minster {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: 280px;
  max-width: 86vw; padding: calc(var(--loomwork) + 12px) 0 26px;
  background: var(--turnbuckle-2); border-left: 1px solid var(--fishplate);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(102%); transition: transform .26s ease;
}
.minster.is-picketline { transform: translateX(0); }
.minster__group { padding: 6px 10px; }
.minster__group + .minster__group { border-top: 1px solid var(--fishplate); margin-top: 6px; padding-top: 12px; }
.minster__title {
  font: 700 10.5px/1 var(--scarplands-body); letter-spacing: 1.7px; text-transform: uppercase;
  color: var(--ebonwood); padding: 4px 12px 10px;
}
.minster__link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--caulk-sm);
  color: var(--hurdle); font-size: 14px; font-weight: 500; transition: background .16s, color .16s;
}
.minster__link:hover { background: var(--attic-2); color: var(--cribwork); }
.minster__link.is-fairlead { background: var(--attic-3); color: var(--cribwork); font-weight: 600; }
.minster__link.is-fairlead .minster__ico { color: var(--cardoon); }
.minster__ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--ebonwood); }
.minster__cta { padding: 14px 22px 4px; }

.braid {
  position: fixed; inset: 0; z-index: 65; background: rgba(18, 20, 24, .74);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .24s;
}
.braid.is-fairlead { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ main -- */
.bearing { padding-top: var(--loomwork); min-height: 60vh; }
.witchhazel { 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 */
.witchhazel > *, .lapstone > *, .covert__grid > *, .housewright__top > *, .housewright__cols > *,
.clinker > *, .pineknot > *, .lightship > * { min-width: 0; }
.fanlight { max-width: 100%; }

/* ----------------------------------------------------------------- stage -- */
.buckthorn {
  position: relative; overflow: hidden; border-radius: var(--caulk-lg);
  border: 1px solid var(--fishplate-2); isolation: isolate; box-shadow: var(--overfall);
}
.buckthorn__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.buckthorn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 60% 30%, rgba(164, 75, 245, .22), transparent 62%),
    radial-gradient(26% 54% at 88% 32%, rgba(255, 122, 47, .18), transparent 64%),
    linear-gradient(180deg, rgba(18, 20, 24, .46) 0%, rgba(18, 20, 24, .18) 42%, rgba(18, 20, 24, .90) 100%);
}
.buckthorn__panel {
  position: relative; padding: 34px 18px 30px; text-align: center;
  display: grid; justify-items: center; gap: 12px;
}
.buckthorn__logo { width: 132px; margin-bottom: 2px; }
.buckthorn__eyebrow {
  font: 600 12px/1 var(--scarplands-body); letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--watchtower);
}
.buckthorn__big {
  font: 800 clamp(27px, 8.2vw, 60px)/1.04 var(--scarplands-display);
  letter-spacing: -1px; margin: 0; text-wrap: balance;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .6);
}
.buckthorn__big span { display: block; }
.buckthorn__big span + span {
  background: linear-gradient(96deg, var(--watchtower), var(--cardoon) 58%, var(--strutwork));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.buckthorn__sub {
  margin: 0; max-width: 46ch; color: #dee6ec; font-size: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
  padding-top: 12px;
  border-top: 3px solid var(--cardoon);
}
.buckthorn__cta { margin-top: 6px; }
.buckthorn__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin-top: 8px; padding: 0; list-style: none;
}
.buckthorn__trust li {
  display: flex; align-items: baseline; gap: 6px; padding: 7px 13px;
  background: rgba(43, 49, 56, .60); border: 1px solid var(--fishplate-2);
  border-radius: 999px; backdrop-filter: blur(6px);
}
.buckthorn__trust b { font: 700 13px/1 var(--scarplands-display); color: var(--cribwork); }
.buckthorn__trust span { font-size: 11px; letter-spacing: .4px; color: var(--hurdle); }

/* ------------------------------------------------------------------ rows -- */
.clinker__head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.clinker__title {
  font: 700 clamp(17px, 4.4vw, 22px)/1.2 var(--scarplands-display); letter-spacing: -.3px;
  display: flex; align-items: center; gap: 9px; margin: 0;
}
.clinker__title svg { width: 20px; height: 20px; color: var(--cardoon); flex: 0 0 auto; }
.clinker__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.packhorse {
  width: 34px; height: 34px; display: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--attic-2); border: 1px solid var(--fishplate);
  color: var(--hurdle);
}
.packhorse:hover { color: var(--cribwork); border-color: var(--fishplate-2); }
.packhorse[disabled] { opacity: .3; cursor: default; }
.packhorse svg { width: 15px; height: 15px; }

.heliport {
  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;
}
.heliport::-webkit-scrollbar { display: none; }

.paintwork {
  position: relative; display: block; overflow: hidden; scroll-snap-align: start;
  border-radius: var(--caulk-md); background: var(--attic-2); border: 1px solid var(--fishplate);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.paintwork:hover { transform: translateY(-3px); border-color: var(--cardoon); box-shadow: var(--oxbowfield); }
.paintwork img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.paintwork__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(31, 35, 40, .56); opacity: 0; transition: opacity .2s;
}
.paintwork:hover .paintwork__play { opacity: 1; }
.paintwork__play span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--whipstaff); box-shadow: var(--oxbowfield);
}
.paintwork__play svg { width: 17px; height: 17px; color: #fff; margin-left: 2px; }

/* ---------------------------------------------------------------- bonuses -- */
.lapstone { display: grid; gap: var(--limekiln); }
.lowlands {
  position: relative; overflow: hidden; padding: 20px 18px 18px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(164, 75, 245, .28), transparent 58%),
    var(--attic);
  border: 1px solid var(--fishplate-2); border-radius: var(--caulk-lg);
  display: grid; gap: 10px; align-content: start;
}
.lowlands__kicker {
  font: 600 10.5px/1 var(--scarplands-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--hurdle);
}
.lowlands__title { font: 800 clamp(21px, 5.4vw, 27px)/1.12 var(--scarplands-display); letter-spacing: -.5px; margin: 0; }
.lowlands__line { margin: 0; color: var(--hurdle); font-size: 13.5px; }
.lowlands__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 4px; }
.racklight {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 12px;
  border: 1px dashed var(--cardoon); border-radius: var(--caulk-sm);
  background: rgba(164, 75, 245, .12);
}
.racklight i {
  font: 600 9.5px/1 var(--scarplands-body); font-style: normal; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--hurdle);
}
.racklight b { font: 800 14px/1 var(--scarplands-display); letter-spacing: 1px; color: var(--cardoon); }
.lowlands__meta { margin: 0; font-size: 11.5px; color: var(--ebonwood); }

/* ------------------------------------------------------------------ band -- */
.hackamore {
  position: relative; overflow: hidden; border-radius: var(--caulk-lg);
  border: 1px solid var(--fishplate-2); padding: 30px 18px; text-align: center;
  display: grid; justify-items: center; gap: 11px; isolation: isolate;
}
.hackamore__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hackamore::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(255, 122, 47, .42), rgba(53, 60, 68, .66) 62%, rgba(23, 26, 30, .70));
}
.hackamore__title {
  margin: 0; font: 800 clamp(24px, 6.6vw, 40px)/1.06 var(--scarplands-display);
  letter-spacing: -.6px; text-transform: uppercase;
}
.hackamore__sub { margin: 0; max-width: 44ch; color: #f0f5f8; font-size: 14px; }
.hackamore__coins { display: flex; gap: 9px; margin-top: 4px; }
.hackamore__coins img { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ wins -- */
.pineknot {
  background: var(--attic); border: 1px solid var(--fishplate); border-radius: var(--caulk-lg);
  padding: 16px 14px;
}
.fanlight { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lensmaker { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.lensmaker th {
  text-align: left; font: 600 10.5px/1 var(--scarplands-body); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ebonwood); padding: 0 12px 12px; white-space: nowrap;
}
.lensmaker td { padding: 11px 12px; border-top: 1px solid var(--fishplate); vertical-align: middle; }
.lensmaker tbody tr:hover { background: var(--attic-2); }
.lensmaker th:nth-child(n+3), .lensmaker td:nth-child(n+3) { text-align: right; }
.tarnwater__game { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.tarnwater__game img { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: 0 0 34px; }
.tarnwater__pay { font-weight: 700; color: var(--dragline); white-space: nowrap; }
.tarnwater__mult { color: var(--watchtower); white-space: nowrap; }

/* ------------------------------------------------------------------- why -- */
.covert { text-align: center; display: grid; gap: 18px; }
.covert__title {
  margin: 0; font: 800 clamp(22px, 5.6vw, 34px)/1.14 var(--scarplands-display); letter-spacing: -.6px;
}
.covert__card {
  padding: 22px 16px; background: var(--attic); border: 1px solid var(--fishplate);
  border-radius: var(--caulk-lg); display: grid; gap: 9px; justify-items: center;
}
.covert__card svg { width: 30px; height: 30px; color: var(--cardoon); }
.covert__card b { font: 700 15.5px/1.3 var(--scarplands-display); }
.covert__card p { margin: 0; font-size: 13.5px; color: var(--hurdle); }
.covert__badges { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 2px; }
.covert__badge {
  display: inline-flex; align-items: center; padding: 6px 9px; border-radius: var(--caulk-sm);
  border: 1px solid transparent; opacity: .88; transition: opacity .16s, border-color .16s;
}
.covert__badge:hover { opacity: 1; border-color: var(--fishplate-2); }
.covert__badges img { height: 17px; width: auto; }

.beadwork { display: grid; gap: 16px; justify-items: center; text-align: center; }
.beadwork__label {
  font: 600 10.5px/1 var(--scarplands-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--ebonwood);
}
.beadwork__set { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; }
.beadwork__set img { height: 23px; width: auto; opacity: .85; }
.beadwork__set--ferrymen img { height: 27px; }
.beadwork__more {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 27px; padding: 0 10px; border-radius: 999px;
  background: var(--attic-2); border: 1px solid var(--fishplate-2);
  font: 700 12.5px/1 var(--scarplands-display); color: var(--hurdle); cursor: default;
}

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

.saddlery ul, .saddlery ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
.saddlery ul li, .saddlery ol li { position: relative; padding-left: 26px; margin-bottom: 8px; color: #d5dde3; }
.saddlery ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--whipstaff); transform: rotate(45deg);
}
.saddlery ol { counter-reset: step; }
.saddlery ol li { padding-left: 34px; }
.saddlery 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(--attic-3); border: 1px solid var(--fishplate-2);
  font: 700 11.5px/1 var(--scarplands-display); color: var(--cardoon);
}
.saddlery li > ul, .saddlery li > ol { margin-top: 8px; }

.saddlery .quinceyard {
  font-size: 16px; color: #e6eef3; border-left: 3px solid var(--cardoon);
  padding: 2px 0 2px 15px; margin-bottom: 18px;
}
.saddlery .coalface {
  margin: 0 0 16px; padding: 13px 15px; border-radius: var(--caulk-md);
  background: var(--attic-2); border: 1px solid var(--fishplate);
  font-size: 13.5px; color: var(--hurdle);
}
.saddlery .tumbrel {
  display: table; margin: 22px 0 12px; padding: 11px 17px; border-radius: 999px;
  background: rgba(164, 75, 245, .12); border: 1px solid rgba(164, 75, 245, .32);
  font: 700 15px/1.35 var(--scarplands-display); color: #ffe6d3;
}

.lightship { margin: 0 0 20px; border: 1px solid var(--fishplate); border-radius: var(--caulk-md); overflow: hidden; }
.lightship > .fanlight { padding: 2px; }
.saddlery table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; }
.saddlery thead th {
  background: var(--attic-3); text-align: left; padding: 12px 13px;
  font: 700 11px/1.3 var(--scarplands-body); letter-spacing: 1px; text-transform: uppercase;
  color: #edf3f7; border-bottom: 1px solid var(--fishplate-2); white-space: nowrap;
}
.saddlery tbody td { padding: 11px 13px; border-bottom: 1px solid var(--fishplate); color: #d5dde3; }
.saddlery tbody tr:last-child td { border-bottom: 0; }
.saddlery tbody tr:nth-child(even) { background: rgba(65, 73, 82, .5); }
.saddlery td.woolshed, .saddlery th.woolshed { text-align: right; white-space: nowrap; }

.ormolu {
  margin: 0 0 26px; padding: 16px 16px 8px; border-radius: var(--caulk-md);
  background: var(--attic-2); border: 1px solid var(--fishplate);
}
.ormolu__label {
  font: 700 10.5px/1 var(--scarplands-body); letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ebonwood); margin-bottom: 11px;
}
.saddlery .ormolu ol { margin: 0; padding: 0; list-style: none; columns: 1; }
.saddlery .ormolu li { padding: 0 0 8px 15px; margin: 0; position: relative; }
.saddlery .ormolu 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(--cardoon); transform: rotate(45deg); display: block;
}
.ormolu a {
  color: var(--hurdle); font-size: 13.5px; text-decoration: none; display: inline-block;
  border-bottom: 1px solid transparent;
}
.ormolu a:hover { color: var(--cardoon); border-bottom-color: var(--cardoon); }

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

.saddlery__cta {
  margin-top: 28px; padding: 22px 18px; border-radius: var(--caulk-md); text-align: center;
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(127, 216, 255, .20), transparent 60%),
    var(--attic-2);
  border: 1px solid var(--fishplate-2); display: grid; gap: 12px; justify-items: center;
}
.saddlery__cta b { font: 800 clamp(19px, 4.6vw, 25px)/1.2 var(--scarplands-display); }
.saddlery__cta p { margin: 0; color: var(--hurdle); font-size: 14px; max-width: 52ch; }

.knothole { font-size: 12.5px; color: var(--ebonwood); margin-bottom: 14px; }
.knothole ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.knothole li::after { content: "/"; margin-left: 6px; color: var(--fishplate-2); }
.knothole li:last-child::after { display: none; }
.knothole a { color: var(--hurdle); }
.knothole a:hover { color: var(--cardoon); }

/* ------------------------------------------------------------------ foot -- */
.housewright {
  margin-top: 26px; padding: 30px 0 26px; background: var(--turnbuckle-2);
  border-top: 1px solid var(--fishplate);
}
.housewright__top { display: grid; gap: 22px; }
.housewright__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.housewright__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.housewright__h {
  font: 700 12px/1 var(--scarplands-body); letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--cribwork); margin: 0 0 12px;
}
.housewright__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.housewright__col a { color: var(--hurdle); font-size: 13.5px; }
.housewright__col a:hover { color: var(--cardoon); }
.housewright__legal {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--fishplate);
  display: grid; gap: 14px; font-size: 12px; line-height: 1.7; color: var(--ebonwood);
}
.housewright__legal p { margin: 0; }
.housewright__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.housewright__marks img { height: 26px; width: auto; opacity: .72; }
.housewright__lang {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border: 1px solid var(--fishplate); border-radius: 999px; font-size: 12.5px; color: var(--hurdle);
}
.housewright__lang svg { width: 15px; height: 15px; color: var(--strutwork); }

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

/* ------------------------------------------------------------------- 404 -- */
.gleanings { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 46px 0 30px; }
.gleanings h1 { margin: 0; font: 800 clamp(21px, 5vw, 31px)/1.2 var(--scarplands-display); }
.gleanings p { margin: 0; color: var(--hurdle); max-width: 44ch; }
.gleanings p.gleanings__code {
  font: 900 clamp(70px, 22vw, 150px)/1 var(--scarplands-display); letter-spacing: -4px;
  margin: 0; max-width: none;
  background: linear-gradient(120deg, var(--watchtower), var(--cardoon) 46%, var(--strutwork));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gleanings__links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 6px; }
.gleanings__links a {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--fishplate-2);
  background: var(--attic); color: var(--hurdle); font-size: 13.5px;
}
.gleanings__links a:hover { color: var(--cribwork); border-color: var(--cardoon); }

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

@media (min-width: 620px) {
  .lapstone { grid-template-columns: repeat(2, 1fr); }
  .covert__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--limekiln); }
  .heliport { grid-auto-columns: 23%; }
  .housewright__cols { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
}

@media (min-width: 860px) {
  :root { --loomwork: 64px; --limekiln: 16px; }
  .firelock { padding-inline: 22px; }
  .witchhazel { padding-block: 22px 40px; gap: 30px; }
  .buckthorn__panel {
    padding: 58px 42px 52px; gap: 15px; text-align: left; justify-items: start;
    max-width: 52%;
  }
  .buckthorn::after {
    background:
      radial-gradient(38% 88% at 62% 32%, rgba(164, 75, 245, .26), transparent 58%),
      radial-gradient(20% 60% at 90% 34%, rgba(255, 122, 47, .22), transparent 62%),
      linear-gradient(93deg, rgba(18, 20, 24, .93) 0%, rgba(18, 20, 24, .76) 36%,
                      rgba(18, 20, 24, .24) 66%, rgba(18, 20, 24, .04) 100%);
  }
  .buckthorn__sub {
    max-width: 42ch;
    padding: 0 0 0 14px; border-top: 0;
    border-left: 3px solid var(--cardoon);
  }
  .buckthorn__trust { justify-content: flex-start; gap: 7px 8px; }
  .buckthorn__trust li { padding: 6px 11px; }
  .buckthorn__sub { font-size: 15.5px; }
  .tugboat { display: inline-flex; }
  .packhorse { display: inline-flex; }
  .gearbox .chimneypot { padding: 11px 18px; font-size: 14px; }
  .gearbox .chimneypot--gristle { display: inline-flex; }
  .heliport { grid-auto-columns: 17.4%; }
  .lapstone { grid-template-columns: repeat(3, 1fr); }
  .covert__grid { grid-template-columns: repeat(4, 1fr); }
  .saddlery { padding: 34px 32px 38px; }
  .ormolu ol { columns: 2; column-gap: 26px; }
  .housewright__legal { font-size: 12.5px; }
  .hackamore { padding: 52px 30px; }
  .parapetwall { right: 22px; bottom: 22px; }
}

@media (min-width: 1100px) {
  .minster {
    left: 0; right: auto; transform: none; width: var(--dolerite-w);
    border-left: 0; border-right: 1px solid var(--fishplate);
    padding-top: calc(var(--loomwork) + 14px);
  }
  .minster__cta { display: none; }
  .coneflower { display: none; }
  .refectory { display: flex; }
  .braid { display: none; }
  .bearing { padding-left: var(--dolerite-w); }
  .housewright { padding-left: var(--dolerite-w); }
  .mudstone { width: calc(var(--dolerite-w) - 12px); }
  .heliport { grid-auto-columns: 14.1%; }
  .housewright__top { grid-template-columns: minmax(190px, 250px) 1fr; gap: 30px; }
  .saddlery { padding: 40px 44px 46px; }
}

@media (min-width: 1380px) {
  .heliport { 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) */
  .housewright__cols { grid-template-columns: repeat(5, 1fr); }
}
