@charset "utf-8";

:root {
  --cottongrass: #3d382f;
  --cottongrass-2: #2f2b23;
  --coppermine: #4a4339;
  --coppermine-2: #564e42;
  --coppermine-3: #635a4c;
  --chalkland: #6f6555;
  --chalkland-2: #8b806b;
  --zincworks: #e8b64a;
  --lawnstone: #3a6fe0;
  --honeydew: #f5dfa8;
  --thornbush: #cfe0ff;
  --hoarfrost: #7ee0c8;
  --reredos: #faf7f0;
  --coracle: #d8d1c2;
  --landfall: #ada492;
  --moundwork: linear-gradient(135deg, #3a6fe0 0%, #1a3fa8 100%);
  --inkstone: 0 10px 34px -12px rgba(232, 182, 74, .56);
  --crozier: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --handrail-display: "Spectral", "Trebuchet MS", system-ui, sans-serif;
  --handrail-body: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lampwick: 58px;
  --eastgate-w: 236px;
  --sowthistle: 14px;
  --marbleway-lg: 16px;
  --marbleway-md: 12px;
  --marbleway-sm: 9px;
  --batten: 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(--lampwick) + 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(--cottongrass);
  color: var(--reredos);
  font: 400 15px/1.62 var(--handrail-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
body.is-brake { overflow: hidden; }

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

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

/* ---------------------------------------------------------------- topbar -- */
.binnacle {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--lampwick);
  display: flex; align-items: center;
  background: rgba(74, 67, 57, .92);
  border-bottom: 1px solid var(--chalkland);
  backdrop-filter: blur(14px);
}
.binnacle.is-farrier { box-shadow: 0 10px 30px -18px #000; }
.binnacle__inner {
  width: 100%; max-width: 1660px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px; padding-inline: 12px;
}

.fullering {
  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;
}
.fullering__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.fullering__type { display: block; line-height: 1; }
.fullering__name {
  font: 800 19px/1 var(--handrail-display); letter-spacing: -.4px; color: var(--reredos);
}
.fullering__name em { font-style: normal; color: var(--zincworks); }
.fullering__sub {
  display: block; font: 600 8.5px/1 var(--handrail-body); letter-spacing: 3.2px;
  color: var(--landfall); margin-top: 4px;
}

.abutment { display: none; gap: 6px; margin-left: 10px; }
.clavicle {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  border-radius: var(--marbleway-sm); color: var(--coracle); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: background .18s, color .18s;
}
.clavicle svg { width: 17px; height: 17px; }
.clavicle:hover { background: var(--coppermine-2); color: var(--reredos); }
.clavicle.is-candlewick { background: var(--coppermine-2); border-color: var(--chalkland-2); color: var(--reredos); }
.clavicle.is-candlewick svg { color: var(--honeydew); }

.binnacle__spacer { flex: 1 1 auto; }

.deadeye {
  display: none; width: 38px; height: 38px; align-items: center; justify-content: center;
  background: var(--coppermine-2); border: 1px solid var(--chalkland); border-radius: var(--marbleway-sm);
  color: var(--coracle);
}
.deadeye:hover { color: var(--reredos); border-color: var(--chalkland-2); }
.deadeye svg { width: 18px; height: 18px; }

.eyebright { display: flex; align-items: center; gap: 8px; }
.eyebright .dewpond { padding: 10px 15px; font-size: 13.5px; }
.eyebright .dewpond--roebuck { display: none; }

.dewpond {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--marbleway-sm); border: 1px solid transparent;
  font: 700 14px/1 var(--handrail-body); letter-spacing: .2px; text-align: center;
  white-space: nowrap; transition: transform .16s, box-shadow .16s, background .16s;
}
.dewpond:hover { transform: translateY(-1px); }
.dewpond:active { transform: translateY(0); }
.dewpond--moundwork { background: var(--moundwork); color: #fff; box-shadow: var(--inkstone); }
.dewpond--moundwork:hover { color: #fff; box-shadow: 0 14px 40px -12px rgba(232, 182, 74, .72); }
.dewpond--roebuck { background: transparent; border-color: var(--chalkland-2); color: var(--reredos); }
.dewpond--roebuck:hover { background: var(--coppermine-2); color: var(--reredos); }
.dewpond--porcelain { padding: 15px 34px; font-size: 15px; border-radius: var(--marbleway-md); }
.dewpond--torchlight { padding: 9px 14px; font-size: 13px; }
.dewpond--gullwing { width: 100%; }

.engineworks {
  width: 40px; height: 38px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  background: var(--coppermine-2); border: 1px solid var(--chalkland); border-radius: var(--marbleway-sm);
}
.engineworks span {
  display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--reredos);
  transition: transform .22s, opacity .18s;
}
.engineworks[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.engineworks[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.engineworks[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. */
.settlestone {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: 280px;
  max-width: 86vw; padding: calc(var(--lampwick) + 12px) 0 26px;
  background: var(--cottongrass-2); border-left: 1px solid var(--chalkland);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(102%); transition: transform .26s ease;
}
.settlestone.is-oriflamme { transform: translateX(0); }
.settlestone__group { padding: 6px 10px; }
.settlestone__group + .settlestone__group { border-top: 1px solid var(--chalkland); margin-top: 6px; padding-top: 12px; }
.settlestone__title {
  font: 700 10.5px/1 var(--handrail-body); letter-spacing: 1.7px; text-transform: uppercase;
  color: var(--landfall); padding: 4px 12px 10px;
}
.settlestone__link {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: var(--marbleway-sm);
  color: var(--coracle); font-size: 14px; font-weight: 500; transition: background .16s, color .16s;
}
.settlestone__link:hover { background: var(--coppermine-2); color: var(--reredos); }
.settlestone__link.is-candlewick { background: var(--coppermine-3); color: var(--reredos); font-weight: 600; }
.settlestone__link.is-candlewick .settlestone__ico { color: var(--zincworks); }
.settlestone__ico { width: 18px; height: 18px; flex: 0 0 18px; color: var(--landfall); }
.settlestone__cta { padding: 14px 22px 4px; }

.signalbox {
  position: fixed; inset: 0; z-index: 65; background: rgba(38, 34, 28, .72);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .24s;
}
.signalbox.is-candlewick { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ main -- */
.marchland { padding-top: var(--lampwick); min-height: 60vh; }
.stannary { 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 */
.stannary > *, .potashfield > *, .tenoncut__grid > *, .partridge__top > *, .partridge__cols > *,
.bilberry > *, .oakenshaw > *, .rigging > * { min-width: 0; }
.dyeworks { max-width: 100%; }

/* ----------------------------------------------------------------- stage -- */
.manorhouse {
  position: relative; overflow: hidden; border-radius: var(--marbleway-lg);
  border: 1px solid var(--chalkland-2); isolation: isolate; box-shadow: var(--crozier);
}
.manorhouse__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.manorhouse::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 76% at 80% 28%, rgba(232, 182, 74, .20), transparent 62%),
    linear-gradient(180deg, rgba(26, 23, 18, .46) 0%, rgba(26, 23, 18, .20) 42%, rgba(26, 23, 18, .90) 100%);
}
.manorhouse__panel {
  position: relative; padding: 34px 18px 30px; text-align: center;
  display: grid; justify-items: center; gap: 12px;
}
.manorhouse__logo { width: 132px; margin-bottom: 2px; }
.manorhouse__eyebrow {
  font: 600 12px/1 var(--handrail-body); letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--thornbush);
  display: inline-block; padding: 6px 12px; border-radius: 2px;
  background: rgba(232, 182, 74, .14);
  box-shadow: inset 2px 0 0 var(--zincworks);
}
.manorhouse__big {
  font: 800 clamp(26px, 7.4vw, 46px)/1.10 var(--handrail-display);
  letter-spacing: -.3px; margin: 0; text-wrap: balance;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .6);
}
.manorhouse__big span { display: block; }
.manorhouse__big span + span {
  background: linear-gradient(96deg, var(--thornbush), var(--zincworks) 58%, var(--honeydew));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manorhouse__sub {
  margin: 0; max-width: 46ch; color: #e9e3d6; font-size: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}
.manorhouse__cta { margin-top: 6px; }
.manorhouse__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin-top: 8px; padding: 0; list-style: none;
}
.manorhouse__trust li {
  display: flex; align-items: baseline; gap: 6px; padding: 7px 13px;
  background: rgba(74, 67, 57, .58); border: 1px solid var(--chalkland-2);
  border-radius: 999px; backdrop-filter: blur(6px);
}
.manorhouse__trust b { font: 700 13px/1 var(--handrail-display); color: var(--reredos); }
.manorhouse__trust span { font-size: 11px; letter-spacing: .4px; color: var(--coracle); }

/* ------------------------------------------------------------------ rows -- */
.bilberry__head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.bilberry__title {
  font: 700 clamp(17px, 4.4vw, 22px)/1.2 var(--handrail-display); letter-spacing: -.3px;
  display: flex; align-items: center; gap: 9px; margin: 0;
}
.bilberry__title svg { width: 20px; height: 20px; color: var(--zincworks); flex: 0 0 auto; }
.bilberry__tools { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.crocus {
  width: 34px; height: 34px; display: none; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--coppermine-2); border: 1px solid var(--chalkland);
  color: var(--coracle);
}
.crocus:hover { color: var(--reredos); border-color: var(--chalkland-2); }
.crocus[disabled] { opacity: .3; cursor: default; }
.crocus svg { width: 15px; height: 15px; }

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

.tidegate {
  position: relative; display: block; overflow: hidden; scroll-snap-align: start;
  border-radius: var(--marbleway-md); background: var(--coppermine-2); border: 1px solid var(--chalkland);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tidegate:hover { transform: translateY(-3px); border-color: var(--zincworks); box-shadow: var(--inkstone); }
.tidegate img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; }
.tidegate__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(61, 56, 47, .54); opacity: 0; transition: opacity .2s;
}
.tidegate:hover .tidegate__play { opacity: 1; }
.tidegate__play span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--moundwork); box-shadow: var(--inkstone);
}
.tidegate__play svg { width: 17px; height: 17px; color: #fff; margin-left: 2px; }

/* ---------------------------------------------------------------- bonuses -- */
.potashfield { display: grid; gap: var(--sowthistle); }
.fenland {
  position: relative; overflow: hidden; padding: 20px 18px 18px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(58, 111, 224, .28), transparent 58%),
    var(--coppermine);
  border: 1px solid var(--chalkland-2); border-radius: var(--marbleway-lg);
  display: grid; gap: 10px; align-content: start;
}
.fenland__kicker {
  font: 600 10.5px/1 var(--handrail-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--coracle);
}
.fenland__title { font: 800 clamp(21px, 5.4vw, 27px)/1.12 var(--handrail-display); letter-spacing: -.5px; margin: 0; }
.fenland__line { margin: 0; color: var(--coracle); font-size: 13.5px; }
.fenland__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 4px; }
.hurdlework {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 12px;
  border: 1px dashed var(--zincworks); border-radius: var(--marbleway-sm);
  background: rgba(58, 111, 224, .10);
}
.hurdlework i {
  font: 600 9.5px/1 var(--handrail-body); font-style: normal; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--coracle);
}
.hurdlework b { font: 800 14px/1 var(--handrail-display); letter-spacing: 1px; color: var(--zincworks); }
.fenland__meta { margin: 0; font-size: 11.5px; color: var(--landfall); }

/* ------------------------------------------------------------------ band -- */
.adze {
  position: relative; overflow: hidden; border-radius: var(--marbleway-lg);
  border: 1px solid var(--chalkland-2); padding: 30px 18px; text-align: center;
  display: grid; justify-items: center; gap: 11px; isolation: isolate;
}
.adze__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.adze::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(232, 182, 74, .44), rgba(86, 78, 66, .64) 62%, rgba(47, 43, 35, .66));
}
.adze__title {
  margin: 0; font: 800 clamp(24px, 6.6vw, 40px)/1.06 var(--handrail-display);
  letter-spacing: -.6px; text-transform: uppercase;
}
.adze__sub { margin: 0; max-width: 44ch; color: #f5f1e8; font-size: 14px; }
.adze__coins { display: flex; gap: 9px; margin-top: 4px; }
.adze__coins img { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ wins -- */
.oakenshaw {
  background: var(--coppermine); border: 1px solid var(--chalkland); border-radius: var(--marbleway-lg);
  padding: 16px 14px;
}
.dyeworks { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chalet { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.chalet th {
  text-align: left; font: 600 10.5px/1 var(--handrail-body); letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--landfall); padding: 0 12px 12px; white-space: nowrap;
}
.chalet td { padding: 11px 12px; border-top: 1px solid var(--chalkland); vertical-align: middle; }
.chalet tbody tr:hover { background: var(--coppermine-2); }
.chalet th:nth-child(n+3), .chalet td:nth-child(n+3) { text-align: right; }
.rennet__game { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.rennet__game img { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex: 0 0 34px; }
.rennet__pay { font-weight: 700; color: var(--hoarfrost); white-space: nowrap; }
.rennet__mult { color: var(--thornbush); white-space: nowrap; }

/* ------------------------------------------------------------------- why -- */
.tenoncut { text-align: center; display: grid; gap: 18px; }
.tenoncut__title {
  margin: 0; font: 800 clamp(22px, 5.6vw, 34px)/1.14 var(--handrail-display); letter-spacing: -.6px;
}
.tenoncut__card {
  padding: 22px 16px; background: var(--coppermine); border: 1px solid var(--chalkland);
  border-radius: var(--marbleway-lg); display: grid; gap: 9px; justify-items: center;
}
.tenoncut__card svg { width: 30px; height: 30px; color: var(--zincworks); }
.tenoncut__card b { font: 700 15.5px/1.3 var(--handrail-display); }
.tenoncut__card p { margin: 0; font-size: 13.5px; color: var(--coracle); }
.tenoncut__badges { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 2px; }
.tenoncut__badge {
  display: inline-flex; align-items: center; padding: 6px 9px; border-radius: var(--marbleway-sm);
  border: 1px solid transparent; opacity: .88; transition: opacity .16s, border-color .16s;
}
.tenoncut__badge:hover { opacity: 1; border-color: var(--chalkland-2); }
.tenoncut__badges img { height: 17px; width: auto; }

.phosphor { display: grid; gap: 16px; justify-items: center; text-align: center; }
.phosphor__label {
  font: 600 10.5px/1 var(--handrail-body); letter-spacing: 2px; text-transform: uppercase;
  color: var(--landfall);
}
.phosphor__set { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: center; }
.phosphor__set img { height: 23px; width: auto; opacity: .85; }
.phosphor__set--maltings img { height: 27px; }
.phosphor__more {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 27px; padding: 0 10px; border-radius: 999px;
  background: var(--coppermine-2); border: 1px solid var(--chalkland-2);
  font: 700 12.5px/1 var(--handrail-display); color: var(--coracle); cursor: default;
}

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

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

.pierhead .fellside {
  font-size: 16px; color: #efe9dd; border-left: 3px solid var(--zincworks);
  padding: 2px 0 2px 15px; margin-bottom: 18px;
}
.pierhead .wrackline {
  margin: 0 0 16px; padding: 13px 15px; border-radius: var(--marbleway-md);
  background: var(--coppermine-2); border: 1px solid var(--chalkland);
  font-size: 13.5px; color: var(--coracle);
}
.pierhead .fallowfield {
  display: table; margin: 22px 0 12px; padding: 11px 17px; border-radius: 999px;
  background: rgba(58, 111, 224, .10); border: 1px solid rgba(58, 111, 224, .30);
  font: 700 15px/1.35 var(--handrail-display); color: #fff2d5;
}

.rigging { margin: 0 0 20px; border: 1px solid var(--chalkland); border-radius: var(--marbleway-md); overflow: hidden; }
.rigging > .dyeworks { padding: 2px; }
.pierhead table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13.5px; }
.pierhead thead th {
  background: var(--coppermine-3); text-align: left; padding: 12px 13px;
  font: 700 11px/1.3 var(--handrail-body); letter-spacing: 1px; text-transform: uppercase;
  color: #f3eee3; border-bottom: 1px solid var(--chalkland-2); white-space: nowrap;
}
.pierhead tbody td { padding: 11px 13px; border-bottom: 1px solid var(--chalkland); color: #e2dccd; }
.pierhead tbody tr:last-child td { border-bottom: 0; }
.pierhead tbody tr:nth-child(even) { background: rgba(99, 90, 76, .5); }
.pierhead td.powderhorn, .pierhead th.powderhorn { text-align: right; white-space: nowrap; }

.backstay {
  margin: 0 0 26px; padding: 16px 16px 8px; border-radius: var(--marbleway-md);
  background: var(--coppermine-2); border: 1px solid var(--chalkland);
}
.backstay__label {
  font: 700 10.5px/1 var(--handrail-body); letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--landfall); margin-bottom: 11px;
}
.pierhead .backstay ol { margin: 0; padding: 0; list-style: none; columns: 1; }
.pierhead .backstay li { padding: 0 0 8px 15px; margin: 0; position: relative; }
.pierhead .backstay 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(--zincworks); transform: rotate(45deg); display: block;
}
.backstay a {
  color: var(--coracle); font-size: 13.5px; text-decoration: none; display: inline-block;
  border-bottom: 1px solid transparent;
}
.backstay a:hover { color: var(--zincworks); border-bottom-color: var(--zincworks); }

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

.pierhead__cta {
  margin-top: 28px; padding: 22px 18px; border-radius: var(--marbleway-md); text-align: center;
  background:
    radial-gradient(110% 130% at 0% 0%, rgba(245, 223, 168, .22), transparent 60%),
    var(--coppermine-2);
  border: 1px solid var(--chalkland-2); display: grid; gap: 12px; justify-items: center;
}
.pierhead__cta b { font: 800 clamp(19px, 4.6vw, 25px)/1.2 var(--handrail-display); }
.pierhead__cta p { margin: 0; color: var(--coracle); font-size: 14px; max-width: 52ch; }

.stepwell { font-size: 12.5px; color: var(--landfall); margin-bottom: 14px; }
.stepwell ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stepwell li::after { content: "/"; margin-left: 6px; color: var(--chalkland-2); }
.stepwell li:last-child::after { display: none; }
.stepwell a { color: var(--coracle); }
.stepwell a:hover { color: var(--zincworks); }

/* ------------------------------------------------------------------ foot -- */
.partridge {
  margin-top: 26px; padding: 30px 0 26px; background: var(--cottongrass-2);
  border-top: 1px solid var(--chalkland);
}
.partridge__top { display: grid; gap: 22px; }
.partridge__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.partridge__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.partridge__h {
  font: 700 12px/1 var(--handrail-body); letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--reredos); margin: 0 0 12px;
}
.partridge__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.partridge__col a { color: var(--coracle); font-size: 13.5px; }
.partridge__col a:hover { color: var(--zincworks); }
.partridge__legal {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--chalkland);
  display: grid; gap: 14px; font-size: 12px; line-height: 1.7; color: var(--landfall);
}
.partridge__legal p { margin: 0; }
.partridge__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.partridge__marks img { height: 26px; width: auto; opacity: .72; }
.partridge__lang {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border: 1px solid var(--chalkland); border-radius: 999px; font-size: 12.5px; color: var(--coracle);
}
.partridge__lang svg { width: 15px; height: 15px; color: var(--honeydew); }

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

/* ------------------------------------------------------------------- 404 -- */
.bridleway { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 46px 0 30px; }
.bridleway h1 { margin: 0; font: 800 clamp(21px, 5vw, 31px)/1.2 var(--handrail-display); }
.bridleway p { margin: 0; color: var(--coracle); max-width: 44ch; }
.bridleway p.bridleway__code {
  font: 900 clamp(70px, 22vw, 150px)/1 var(--handrail-display); letter-spacing: -4px;
  margin: 0; max-width: none;
  background: linear-gradient(120deg, var(--thornbush), var(--zincworks) 46%, var(--honeydew));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bridleway__links { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 6px; }
.bridleway__links a {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--chalkland-2);
  background: var(--coppermine); color: var(--coracle); font-size: 13.5px;
}
.bridleway__links a:hover { color: var(--reredos); border-color: var(--zincworks); }

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

@media (min-width: 620px) {
  .potashfield { grid-template-columns: repeat(2, 1fr); }
  .tenoncut__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sowthistle); }
  .varnish { grid-auto-columns: 23%; }
  .partridge__cols { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
}

@media (min-width: 860px) {
  :root { --lampwick: 64px; --sowthistle: 16px; }
  .welldeck { padding-inline: 22px; }
  .stannary { padding-block: 22px 40px; gap: 30px; }
  .manorhouse__panel {
    padding: 60px 44px 54px; gap: 16px; text-align: left; justify-items: start;
    max-width: 50%;
  }
  .manorhouse::after {
    background:
      radial-gradient(34% 86% at 82% 30%, rgba(232, 182, 74, .24), transparent 58%),
      linear-gradient(93deg, rgba(26, 23, 18, .94) 0%, rgba(26, 23, 18, .78) 36%,
                      rgba(26, 23, 18, .26) 66%, rgba(26, 23, 18, .04) 100%);
  }
  .manorhouse__sub { max-width: 40ch; }
  .manorhouse__trust { justify-content: flex-start; gap: 7px 8px; }
  .manorhouse__trust li { padding: 6px 12px; }
  .manorhouse__sub { font-size: 15.5px; }
  .deadeye { display: inline-flex; }
  .crocus { display: inline-flex; }
  .eyebright .dewpond { padding: 11px 18px; font-size: 14px; }
  .eyebright .dewpond--roebuck { display: inline-flex; }
  .varnish { grid-auto-columns: 17.4%; }
  .potashfield { grid-template-columns: repeat(3, 1fr); }
  .tenoncut__grid { grid-template-columns: repeat(4, 1fr); }
  .pierhead { padding: 34px 32px 38px; }
  .backstay ol { columns: 2; column-gap: 26px; }
  .partridge__legal { font-size: 12.5px; }
  .adze { padding: 52px 30px; }
  .windowbay { right: 22px; bottom: 22px; }
}

@media (min-width: 1100px) {
  .settlestone {
    left: 0; right: auto; transform: none; width: var(--eastgate-w);
    border-left: 0; border-right: 1px solid var(--chalkland);
    padding-top: calc(var(--lampwick) + 14px);
  }
  .settlestone__cta { display: none; }
  .engineworks { display: none; }
  .abutment { display: flex; }
  .signalbox { display: none; }
  .marchland { padding-left: var(--eastgate-w); }
  .partridge { padding-left: var(--eastgate-w); }
  .fullering { width: calc(var(--eastgate-w) - 12px); }
  .varnish { grid-auto-columns: 14.1%; }
  .partridge__top { grid-template-columns: minmax(190px, 250px) 1fr; gap: 30px; }
  .pierhead { padding: 40px 44px 46px; }
}

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