:root {
  --pch-ink: #241726;
  --pch-ink-soft: #5d4b60;
  --pch-paper: #fffdf8;
  --pch-mark: #75256c;
  --pch-mark-deep: #470538;
  --pch-mark-soft: #c399e8;
  --pch-leaf: #81c77f;
  --pch-sun: #f6b704;
  --pch-sky: #b6d5fc;
  --pch-cream: #fef5d5;
  --pch-rule: #ead9e7;
  --pch-rule-dark: #6a2a63;
  --pch-display: 'Kodchasan', 'Trebuchet MS', sans-serif;
  --pch-text: 'Nobile', Verdana, sans-serif;
  --pch-kick: #8a3a80;

  --pch-step-1: 7px;
  --pch-step-2: 14px;
  --pch-step-3: 22px;
  --pch-step-4: 34px;
  --pch-step-5: 52px;
  --pch-step-6: 78px;
  --pch-hold: min(1136px, 100% - 34px);
  --pch-round: 18px;
}

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

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

body {
  margin: 0;
  background: var(--pch-paper);
  color: var(--pch-ink);
  font-family: var(--pch-text);
  font-size: 17px;
  line-height: 1.62;
}

img { max-width: 100%; display: block; }

a { color: var(--pch-mark); }
a:hover { color: var(--pch-mark-deep); }

blockquote, dl, dd, figure { margin: 0; }
ol, ul { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--pch-display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 var(--pch-step-2);
  letter-spacing: -0.011em;
}
h1 { font-size: clamp(31px, 4.4vw, 49px); }
h2 { font-size: clamp(25px, 3.1vw, 35px); }
h3 { font-size: clamp(19px, 2.1vw, 23px); }

p { margin: 0 0 var(--pch-step-2); }

:focus-visible { outline: 3px solid var(--pch-sun); outline-offset: 2px; }

.cubbywrap { display: flex; flex-direction: column; min-height: 100vh; }
.cubbymain { flex: 1 0 auto; }
.cubbyrow { width: var(--pch-hold); margin-inline: auto; }

.awningskip {
  position: absolute; left: -9999px;
  background: var(--pch-mark-deep); color: #fff;
  padding: var(--pch-step-2) var(--pch-step-3); border-radius: 0 0 var(--pch-round) 0;
}
.awningskip:focus { left: 0; top: 0; z-index: 40; color: #fff; }

.awningtop {
  background: var(--pch-mark-deep); color: #f4e6f2;
  font-size: 13.5px; letter-spacing: 0.03em;
  padding: var(--pch-step-1) 0;
}
.awningtop p { margin: 0; }

.cubbyhead {
  background: var(--pch-paper);
  border-bottom: 2px solid var(--pch-rule);
  position: sticky; top: 0; z-index: 30;
}

.awningbar { padding: var(--pch-step-2) 0; }
.awningbar .cubbyrow {
  display: flex; align-items: center; gap: var(--pch-step-3); flex-wrap: wrap;
}
.awningsign { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.awningsign img { width: 42px; height: 41px; }
.awningsign span {
  font-family: var(--pch-display); font-weight: 700; font-size: 21px;
  color: var(--pch-mark-deep); letter-spacing: -0.02em;
}
.awningnav { display: flex; gap: var(--pch-step-3); margin-left: auto; flex-wrap: wrap; }
.awningnav a {
  text-decoration: none; color: var(--pch-ink);
  font-family: var(--pch-display); font-weight: 500; font-size: 16px;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.awningnav a:hover { border-bottom-color: var(--pch-mark-soft); color: var(--pch-mark); }

.awningcta {
  background: var(--pch-mark); color: #fff; text-decoration: none;
  font-family: var(--pch-display); font-weight: 600; font-size: 16px;
  padding: 8px 17px; border-radius: 999px; white-space: nowrap;
}
.awningcta:hover { background: var(--pch-mark-deep); color: #fff; }

.ledgeband { padding: var(--pch-step-6) 0; }
.ledgeplain { background: var(--pch-paper); }
.ledgetint { background: var(--pch-cream); }

.ledgeplain + .ledgeplain, .ledgetint + .ledgetint { padding-top: 0; }

main > .ledgedark:last-child { padding-bottom: 0; }

main > .ledgedark:last-child > * > :last-child { margin-bottom: 0; }
.ledgedark {
  background: var(--pch-mark-deep); color: #f7ecf5;
  --pch-ink: #f7ecf5;
  --pch-ink-soft: #dcc3d8;
  --pch-kick: var(--pch-sun);
  --pch-rule: var(--pch-rule-dark);
}
.ledgedark a { color: var(--pch-mark-soft); }
.ledgedark h2, .ledgedark h3 { color: #fff; }

.ledgekick {
  font-family: var(--pch-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--pch-kick); margin: 0 0 var(--pch-step-1);
}
.ledgetitle { max-width: 22ch; }
.ledgesub { max-width: 62ch; color: var(--pch-ink-soft); font-size: 17.5px; }

.hushcopy p { font-size: 18.5px; max-width: 52ch; }
.hushtally { display: flex; gap: var(--pch-step-5); flex-wrap: wrap; margin-top: var(--pch-step-4); }
.hushtally div { min-width: 92px; }
.hushtally dt {
  font-family: var(--pch-display); font-weight: 700;
  font-size: 30px; line-height: 1.1; color: var(--pch-sun);
}
.hushtally dd { font-size: 15px; color: var(--pch-ink-soft); margin-top: 3px; }

.cubbybtn, .cubbyghost, .cubbybuy {
  display: inline-block; font-family: var(--pch-display); font-weight: 600;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  padding: 13px var(--pch-step-4); border: 2px solid transparent; font-size: 16.5px;
}
.cubbybtn { background: var(--pch-mark); color: #fff; }
.cubbybtn:hover { background: var(--pch-mark-deep); color: #fff; }

.ledgedark .cubbybtn { background: #fff; color: var(--pch-mark-deep); }
.ledgedark .cubbybtn:hover { background: var(--pch-sun); color: var(--pch-mark-deep); }
.cubbyghost { border-color: currentColor; color: inherit; background: transparent; }
.cubbyghost:hover { background: rgba(117, 37, 108, 0.09); color: inherit; }
.ledgedark .cubbyghost:hover { background: rgba(255, 255, 255, 0.12); }

.cubbybuy { background: var(--pch-sun); color: var(--pch-mark-deep); border-color: var(--pch-sun); }
.cubbybuy:hover { filter: brightness(1.06); color: var(--pch-mark-deep); }

:is(.cubbybtn, .cubbyghost, .cubbybuy):has(+ :is(.cubbybtn, .cubbyghost, .cubbybuy)) {
  margin-right: var(--pch-step-2);
}
:is(.cubbybtn, .cubbyghost, .cubbybuy) + :is(.cubbybtn, .cubbyghost, .cubbybuy) {
  margin-top: var(--pch-step-1);
}

.aislefield { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: var(--pch-step-3); }

.pouchplate {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--pch-rule); border-radius: var(--pch-round);
  overflow: hidden; text-decoration: none; color: inherit;
}
.pouchplate:hover { border-color: var(--pch-mark-soft); color: inherit; }
.pouchsnap {
  aspect-ratio: 1 / 1; min-height: 0; position: relative; background: #fff;
  border-bottom: 1px solid var(--pch-rule);
}
.pouchsnap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.pouchname {
  font-family: var(--pch-display); font-weight: 500; font-size: 15.5px; line-height: 1.34;
  margin: var(--pch-step-2) var(--pch-step-2) var(--pch-step-1);
}

.pouchspec { margin: var(--pch-step-1) 0 0; font-size: 14px; color: var(--pch-ink-soft); }
.pouchplate .pouchspec { margin-inline: var(--pch-step-2); }

.pouchcost {
  margin: auto 0 var(--pch-step-2); padding-top: var(--pch-step-2);
  font-family: var(--pch-display); font-weight: 700; font-size: 19px; color: var(--pch-mark-deep);
}
.pouchplate .pouchcost { margin-inline: var(--pch-step-2); }

.pouchcost span { font-weight: 500; font-size: 16px; color: var(--pch-kick); }

.pouchact { margin: 0 0 var(--pch-step-2); }
.pouchplate .pouchact { margin-inline: var(--pch-step-2); }

.tickpill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--pch-cream); border-radius: 999px; padding: 3px 11px;
  font-size: 14px; font-family: var(--pch-display); font-weight: 600; color: var(--pch-mark-deep);
}
.tickglyph { color: var(--pch-sun); letter-spacing: -1px; }

.aislebay { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: var(--pch-step-3); }
.aislecell {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 244px;
  border-radius: var(--pch-round); padding: var(--pch-step-4);
  text-decoration: none; color: var(--pch-mark-deep);
  background: var(--pch-cream); border: 2px solid var(--pch-rule);
}
.aislecell:hover { border-color: var(--pch-mark); color: var(--pch-mark-deep); }

.aislecell strong, .aislecell em, .aislecell > span > span { display: block; }
.aislecell strong {
  font-family: var(--pch-display); font-weight: 600; font-size: 19px; line-height: 1.3;
}
.aislecell em {
  font-style: normal; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pch-kick); font-family: var(--pch-display); font-weight: 600;
  margin: 2px 0 var(--pch-step-1);
}
.aislecell > span > span { font-size: 15px; color: var(--pch-ink-soft); line-height: 1.5; }
.aislecell img { width: 108px; height: 108px; object-fit: contain; margin-bottom: auto; }

.bibstrip { display: flex; flex-wrap: wrap; gap: 11px; }
.bibcell {
  display: inline-block; text-decoration: none;
  border: 2px solid var(--pch-rule); border-radius: 999px;
  padding: 9px 19px; font-family: var(--pch-display); font-weight: 500; font-size: 15.5px;
  color: var(--pch-mark-deep); background: #fff;
}
.bibcell:hover { border-color: var(--pch-mark); background: var(--pch-cream); color: var(--pch-mark-deep); }
.bibcell b { font-weight: 700; }
.bibcell em { font-style: normal; color: var(--pch-ink-soft); font-size: 13.5px; }

.abacusband { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: var(--pch-step-4); }
.abacusnum {
  font-family: var(--pch-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1; color: inherit; display: block;
}
.abacusword { font-size: 15px; color: var(--pch-ink-soft); display: block; margin-top: 6px; }

.mittrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: var(--pch-step-4); }

.mittcell { display: flex; flex-direction: column; align-items: flex-start; }

.mittcell :is(h2, h3) { margin-bottom: 6px; }
.mittcell p { color: var(--pch-ink-soft); margin: 0; font-size: 16px; }

.mittcell :is(h2, h3) + p { margin-bottom: var(--pch-step-3); }
.mittcell p:last-child { margin-top: auto; }

.mittduo { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: var(--pch-step-3); }
.mittcolumn {
  background: #fff; border: 2px solid var(--pch-rule); border-radius: var(--pch-round);
  padding: var(--pch-step-4);
}

.mittcolumn dt {
  font-family: var(--pch-display); font-weight: 600; color: var(--pch-mark-deep);
  margin-top: var(--pch-step-3);
}
.mittcolumn dt:first-child { margin-top: 0; }
.mittcolumn dd { color: var(--pch-ink-soft); font-size: 16px; }
.mittcolumn ul { margin: 0; padding-left: 20px; }
.mittcolumn li { margin-bottom: var(--pch-step-1); }

.changecols { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--pch-step-5); align-items: start; }
.changeflow { counter-reset: rung; }
.changeflow ol { list-style: none; padding: 0; }
.changerung { counter-increment: rung; position: relative; padding-left: 48px; margin-bottom: var(--pch-step-3); }
.changerung::before {
  content: counter(rung); position: absolute; left: 0; top: 1px;
  width: 33px; height: 33px; border-radius: 50%;
  background: var(--pch-mark); color: #fff;
  font-family: var(--pch-display); font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
}
.changerung b { font-family: var(--pch-display); font-size: 17.5px; display: block; }

table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
caption { text-align: left; font-size: 14px; color: var(--pch-ink-soft); padding-bottom: 9px; }
th, td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--pch-rule); }
th { font-family: var(--pch-display); font-weight: 600; color: var(--pch-mark-deep); }
tbody tr:nth-child(odd) { background: rgba(254, 245, 213, 0.55); }
.ledgedark tbody tr:nth-child(odd) { background: rgba(255, 255, 255, 0.06); }
.ledgedark th { color: var(--pch-sun); }

.cradleframe {
  background: var(--pch-cream); border-radius: var(--pch-round); padding: var(--pch-step-5);
  display: grid; grid-template-columns: 300px 1fr; gap: var(--pch-step-5); align-items: center;
}
.cradlewrap img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 14px; }
.cradlebody p { max-width: 54ch; }

.leafletnook { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pch-step-5); }
.leaflethead { max-width: 30ch; }

.leafletnook .leafletbody { font-size: 16px; color: var(--pch-ink-soft); }
.leafletbody { max-width: 68ch; }

dl.leafletbody dt {
  font-family: var(--pch-display); font-weight: 600; color: var(--pch-mark-deep);
  margin-top: var(--pch-step-3);
}
dl.leafletbody dt:first-child { margin-top: 0; }
dl.leafletbody dd { color: var(--pch-ink-soft); margin-top: 4px; }
.leafletbody ul { padding-left: 20px; }

.saidreel { display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: var(--pch-step-3); }
.saidquote {
  background: #fff; border: 2px solid var(--pch-rule); border-left: 6px solid var(--pch-mark-soft);
  border-radius: var(--pch-round); padding: var(--pch-step-4); margin: 0;
}
.saidquote p { font-size: 16px; margin-bottom: var(--pch-step-2); }
.saidname { font-size: 14px; color: var(--pch-ink-soft); font-style: normal; }
.saidname b { font-family: var(--pch-display); color: var(--pch-mark-deep); }

.buckleband { text-align: center; }
.buckleband h2 { margin-inline: auto; max-width: 18ch; }
.buckleband p { margin-inline: auto; max-width: 54ch; color: #e3cfe0; }

.cratetrail { font-size: 14px; color: var(--pch-ink-soft); padding: var(--pch-step-3) 0 0; }
.cratetrail a { text-decoration: none; }
.cratetrail a:hover { text-decoration: underline; }

.cratetrail i { font-style: normal; margin: 0 7px; color: var(--pch-mark-soft); }

.cratemain { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pch-step-5); padding: var(--pch-step-4) 0 var(--pch-step-6); align-items: start; }
.cratesnap { background: #fff; border: 2px solid var(--pch-rule); border-radius: var(--pch-round); padding: var(--pch-step-4); }
.cratesnap img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.crateside h1 { margin-bottom: var(--pch-step-2); }
.crateword { font-size: 18px; color: var(--pch-ink-soft); max-width: 54ch; }

.cratespec { list-style: none; margin: var(--pch-step-3) 0; padding: 0; }

dl.cratespec div {
  display: grid; grid-template-columns: 150px 1fr; gap: var(--pch-step-2);
  padding: 9px 0; border-bottom: 1px solid var(--pch-rule); font-size: 15.5px;
}
dl.cratespec dt { font-family: var(--pch-display); font-weight: 600; color: var(--pch-mark-deep); }

ul.cratespec li {
  padding: 9px 0 9px var(--pch-step-3); border-bottom: 1px solid var(--pch-rule);
  font-size: 15.5px; position: relative;
}
ul.cratespec li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--pch-mark-soft);
}

:root { --pch-post: var(--pch-mark-deep); --pch-post-aside: var(--pch-ink-soft); }
.cubbypost {
  font-style: normal; font-family: var(--pch-display); font-weight: 600;
  font-size: 15.5px; line-height: 1.55; color: var(--pch-post); margin: 0 0 var(--pch-step-1);
}

.cubbyslot { font-size: 13.5px; line-height: 1.5; color: var(--pch-post-aside); }

.cubbyfoot {
  background: var(--pch-mark-deep); color: #dcc3d8; padding: var(--pch-step-6) 0 var(--pch-step-4); margin-top: auto;
  --pch-post: #fff; --pch-post-aside: #b795b2;
}
.cubbyfootcols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--pch-step-4); }

.cubbyfootcols h2 { color: #fff; font-size: 16px; margin-bottom: var(--pch-step-2); }
.cubbyfootcols ul { list-style: none; margin: 0; padding: 0; }
.cubbyfootcols li { margin-bottom: 9px; }
.cubbyfootcols a { color: #dcc3d8; text-decoration: none; font-size: 15px; }
.cubbyfootcols a:hover { color: #fff; text-decoration: underline; }
.cubbyfootfine {
  border-top: 1px solid var(--pch-rule-dark); margin-top: var(--pch-step-5); padding-top: var(--pch-step-3);
  font-size: 13.5px; color: #b795b2; display: grid; gap: var(--pch-step-3);
}
.cubbyfootfine img { max-width: min(380px, 100%); height: auto; opacity: 0.92; }

@media (max-width: 900px) {
  .changecols, .leafletnook, .cratemain, .cradleframe { grid-template-columns: 1fr; }
  
  .leafletnook { gap: var(--pch-step-2); }
  .cubbyfootcols { grid-template-columns: 1fr 1fr; }
  .ledgeband { padding: var(--pch-step-5) 0; }
  .hushtally { gap: var(--pch-step-3); }
  .cradleframe { padding: var(--pch-step-4); }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  
  .awningbar .cubbyrow { gap: var(--pch-step-2); }
  .awningnav { gap: var(--pch-step-2); width: 100%; margin-left: 0; }
  .awningnav a { font-size: 15px; }
  .cubbyfootcols { grid-template-columns: 1fr; }
  .aislefield { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: var(--pch-step-2); }
  dl.cratespec div { grid-template-columns: 1fr; gap: 2px; }
  dl.cratespec dt { font-size: 14px; }
  table { font-size: 14px; }
  th, td { padding: 9px 8px; }
}
