@font-face { font-family: 'RHD'; src: url(rhd-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'RHD'; src: url(rhd-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Madefor'; src: url(madefor-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Madefor'; src: url(madefor-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --tannin: #14110e;
  --char: #241f19;
  --vellum: #f8f5f0;
  --nubuck: #e6ddd0;
  --patina: #a07a34;
  --pewter: #6d6459;
  --oxide: #8c5f3c;
  --russet: #7a3f2c;
  --edge: rgba(20, 17, 14, .12);
  --edgesoft: rgba(20, 17, 14, .07);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--vellum);
  color: var(--tannin);
  font: 400 17px/1.65 'Madefor', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: .001em;
}

h1, h2, h3, h4 { font-family: 'RHD', 'Segoe UI', system-ui, sans-serif; font-weight: 700; line-height: 1.14; letter-spacing: -.018em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 35px); }
h3 { font-size: clamp(19px, 1.9vw, 23px); }
h4 { font-size: 17px; }
p { margin: 0 0 1.05em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.benchline { width: min(1180px, 100% - 40px); margin-inline: auto; }

.benchplain { padding: clamp(46px, 6vw, 84px) 0; }
.benchtint { padding: clamp(46px, 6vw, 84px) 0; background: var(--nubuck); }
.benchdark { padding: clamp(46px, 6vw, 84px) 0; background: var(--tannin); color: var(--vellum); }
.benchdark h1, .benchdark h2, .benchdark h3 { color: var(--vellum); }

.leadline { font-size: clamp(17px, 1.6vw, 20px); color: var(--pewter); max-width: 62ch; }
.benchdark .leadline { color: rgba(248, 245, 240, .78); }

.topbench {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 245, 240, .94);
  backdrop-filter: saturate(1.4) blur(9px);
  border-bottom: 1px solid var(--edge);
}
.topbench > .benchline { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.topbench img { height: 26px; width: auto; }
.navply { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.navply a { text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: .01em; padding: 6px 0; border-bottom: 2px solid transparent; }
.navply a:hover { border-bottom-color: var(--patina); }

.railstore {
  font: 600 14px 'Madefor', system-ui, sans-serif;
  background: var(--tannin); color: var(--vellum);
  padding: 9px 17px; border-radius: 999px; border: 0; cursor: pointer;
  white-space: nowrap;
}
.railstore:hover { background: var(--patina); color: var(--tannin); }

.flaptoggle {
  display: none; margin-left: auto; width: 42px; height: 38px;
  background: none; border: 1px solid var(--edge); border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
.flaptoggle span { display: block; width: 19px; height: 2px; background: var(--tannin); }

@media (max-width: 860px) {
  .flaptoggle { display: flex; }
  .navply {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--vellum); border-bottom: 1px solid var(--edge);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px;
  }
  .navply.navplyon { display: flex; }
  .navply a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--edgesoft); }

  .railstore { width: 100%; margin-top: 12px; padding: 13px 17px; border-radius: 10px; }
}

.crumbline { font-size: 14px; color: var(--pewter); padding: 18px 0 0; }
.crumbline a { text-decoration: none; }
.crumbline a:hover { text-decoration: underline; }

.gussetgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 24px; }

.gussetcard {
  display: flex; flex-direction: column;
  background: var(--vellum); border: 1px solid var(--edge); border-radius: 14px;
  overflow: hidden; transition: transform .16s, box-shadow .16s;
}
.gussetcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 17, 14, .11); }

.gussetface { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }

.gussetshot { position: relative; aspect-ratio: 1 / 1; background: var(--nubuck); min-height: 0; }
.gussetshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gussetname { font-family: 'RHD', system-ui, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; padding: 14px 15px 5px; }
.gussettag { font-size: 13.5px; color: var(--pewter); padding: 0 15px 4px; }
.gussetprice { font-weight: 600; padding: 4px 15px 12px; margin-top: auto; }
.gussetstars { font-size: 13px; color: var(--patina); padding: 0 15px; }

.gussetgo {
  font: 600 14px 'Madefor', system-ui, sans-serif;
  background: var(--patina); color: var(--tannin);
  border: 0; cursor: pointer; padding: 11px 14px; width: 100%; text-align: center;
}
.gussetgo:hover { background: #b78c3d; }

.openbench { background: var(--tannin); color: var(--vellum); padding: clamp(52px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.openbench h1 { max-width: 17ch; }
.openbench .leadline { color: rgba(248, 245, 240, .8); margin-bottom: 26px; }
.openrail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.openrail .gussetcard { background: var(--char); border-color: rgba(248, 245, 240, .14); color: var(--vellum); }
.openrail .gussettag { color: rgba(248, 245, 240, .6); }
@media (max-width: 860px) {
  .openrail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding-inline: 20px; }
  .openrail .gussetcard { flex: 0 0 61%; scroll-snap-align: start; }
}

.claspgo {
  display: inline-block; background: var(--patina); color: var(--tannin);
  font: 600 15.5px 'Madefor', system-ui, sans-serif; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
}
.claspgo:hover { background: #b78c3d; }
.claspgo[data-tone="quiet"] { background: transparent; color: inherit; border: 1px solid currentColor; }

.gaugewall { width: 100%; border-collapse: collapse; margin-top: 26px; }
.gaugewall th, .gaugewall td { border: 1px solid var(--edge); padding: 0; text-align: center; }
.gaugewall thead th { background: var(--nubuck); font-size: 14px; padding: 12px 10px; font-weight: 600; }
.gaugewall tbody th {
  text-align: left; padding: 14px 16px; background: var(--nubuck);
  font-family: 'RHD', system-ui, sans-serif; font-size: 16px; width: 34%;
}
.gaugewall tbody th span { display: block; font-family: 'Madefor', system-ui, sans-serif; font-weight: 400; font-size: 13px; color: var(--pewter); margin-top: 3px; }

.gaugewall td a {
  display: block; padding: 20px 10px; text-decoration: none;
  font-family: 'RHD', system-ui, sans-serif; font-size: clamp(20px, 2.6vw, 28px);
  color: var(--oxide); background: var(--vellum);
}
.gaugewall td a:hover { background: var(--patina); color: var(--tannin); }
.gaugenone { display: block; padding: 20px 10px; color: var(--pewter); opacity: .5; font-size: 14px; }

.uspply { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.uspply > div { background: var(--vellum); border: 1px solid var(--edge); border-radius: 13px; padding: 22px; }
.uspply h3 { font-size: 17px; margin-bottom: .4em; }
.uspply p { font-size: 15px; color: var(--pewter); margin: 0; }

.askpills { display: flex; flex-wrap: wrap; gap: 10px; }
.askpills a {
  text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 9px 17px; border-radius: 999px;
  background: var(--vellum); border: 1px solid var(--edge);
}
.askpills a:hover { border-color: var(--patina); color: var(--oxide); }

.catplinth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.catplinth a { position: relative; display: block; text-decoration: none; border-radius: 15px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--nubuck); }
.catplinth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catplinth span { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(20, 17, 14, .86)); }
.catplinth strong { display: block; font-family: 'RHD', system-ui, sans-serif; font-size: 18px; }
.catplinth em { font-style: normal; font-size: 13.5px; opacity: .78; }

.twinbench { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; max-width: 760px; }

.twinslate { display: flex; flex-direction: column; background: var(--vellum); border: 1px solid var(--edge); border-radius: 17px; overflow: hidden; }

.twinslate > a { display: block; position: relative; aspect-ratio: 1 / 1; min-height: 0; background: var(--nubuck); }
.twinslate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.twinslate h3 { font-size: 18px; padding: 18px 20px 0; margin: 0; }
.twinslate h3 a { text-decoration: none; color: inherit; }
.twinslate h3 a:hover { color: var(--oxide); }

.twinslate dl { margin: auto 0 0; padding: 14px 20px 20px; }
.twinslate dl > div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--edgesoft); padding: 9px 0; }
.twinslate dt { color: var(--pewter); font-size: 14.5px; }
.twinslate dd { margin: 0; font-weight: 600; font-size: 14.5px; text-align: right; }

.figureband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.figureband strong { display: block; font-family: 'RHD', system-ui, sans-serif; font-size: clamp(30px, 4vw, 46px); color: var(--patina); line-height: 1; }
.figureband span { display: block; font-size: 14.5px; color: rgba(248, 245, 240, .74); margin-top: 9px; }

.creedrun { counter-reset: cr; list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.creedrun li { counter-increment: cr; border-top: 3px solid var(--patina); padding-top: 18px; }
.creedrun li::before {
  content: counter(cr, decimal-leading-zero);
  display: block; font-family: 'RHD', system-ui, sans-serif;
  font-size: 34px; line-height: 1; color: var(--patina); margin-bottom: 12px;
}
.creedrun h3 { font-size: 17.5px; margin-bottom: .45em; }
.creedrun p { color: var(--pewter); margin: 0; font-size: 15.5px; }

.stepsply { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.stepsply ol { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.railstep { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 22px; }
.railstep::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tannin); color: var(--vellum);
  font-family: 'RHD', system-ui, sans-serif; font-size: 16px;
  display: grid; place-items: center;
}
.railstep p { color: var(--pewter); margin: 0; font-size: 15.5px; }
.refertable { width: 100%; border-collapse: collapse; font-size: 15px; }
.refertable th, .refertable td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--edge); }
.refertable th { font-family: 'RHD', system-ui, sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--pewter); }
.refertable tr:last-child td { border-bottom: 0; }

.spotbench { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: center; }
.spotbench > a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--nubuck); }
.spotbench img { width: 100%; height: 100%; object-fit: cover; }

.keepband { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.keepband > div { border-radius: 15px; padding: 26px; border: 1px solid var(--edge); background: var(--vellum); }
.keepband ul { margin: 0; padding-left: 20px; }
.keepband li { margin-bottom: 9px; font-size: 15.5px; }
.keepband h3 { color: var(--oxide); }
.keepband > div:last-child h3 { color: var(--russet); }

.longnote { max-width: 78ch; }
.longnote ul { padding-left: 20px; }
.longnote li { margin-bottom: 8px; }
.longnote .refertable { margin: 22px 0 30px; }

.voiceband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voiceslate { background: var(--vellum); border: 1px solid var(--edge); border-radius: 14px; padding: 24px; }
.voiceslate p { font-size: 15.5px; }
.voiceply { font-size: 13.5px; color: var(--pewter); margin: 0; }
.voiceslate .gussetstars { padding: 0 0 8px; }

.closeply { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.platewrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: start; padding: 26px 0 clamp(40px, 5vw, 70px); }
.plateshot { border-radius: 16px; overflow: hidden; background: var(--nubuck); aspect-ratio: 1 / 1; position: relative; }
.plateshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plateside h1 { font-size: clamp(25px, 3.1vw, 36px); }
.plateside .gussetstars { padding: 0 0 10px; font-size: 14.5px; }
.factply { list-style: none; padding: 0; margin: 22px 0; }
.factrow { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--edgesoft); font-size: 15.5px; }
.factrow strong { flex: 0 0 40%; font-weight: 600; }
.measureply { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0 26px; }
.measureply th, .measureply td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge); }
.measureply th { font-family: 'RHD', system-ui, sans-serif; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--pewter); }
.platealso { margin: 20px 0 0; font-family: 'RHD', system-ui, sans-serif; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--pewter); }
.platethumb { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; margin-top: 10px; }
.platethumb a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--edge); }
.platethumb img { width: 100%; height: 100%; object-fit: cover; }

.pickply { padding: 26px 0 clamp(40px, 5vw, 70px); }
.dropform { background: var(--vellum); border: 1px solid var(--edge); border-radius: 16px; padding: clamp(22px, 3vw, 34px); }
.dropform fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.dropform legend { font-family: 'RHD', system-ui, sans-serif; font-weight: 700; font-size: 17px; padding: 0 0 12px; }
.dropform label { display: block; border: 1px solid var(--edge); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.dropform label:hover { border-color: var(--patina); }
.dropform input { margin-right: 10px; accent-color: var(--oxide); }
.dropform label span { display: block; font-size: 14px; color: var(--pewter); margin: 4px 0 0 26px; }
.dropform input:checked + strong { color: var(--oxide); }
.dropout { margin-top: 34px; }
.dropband { font-family: 'RHD', system-ui, sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.dropgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }

.noteply { max-width: 74ch; margin-inline: auto; padding: 26px 0 clamp(40px, 5vw, 70px); }
.noteply h2 { margin-top: 1.6em; }
.noteply blockquote { margin: 26px 0; padding: 18px 22px; border-left: 3px solid var(--patina); background: var(--nubuck); border-radius: 0 12px 12px 0; }
.noteply blockquote p:last-child { margin: 0; }
.guidebench { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.noteslate {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--vellum); border: 1px solid var(--edge); border-radius: 15px; padding: 26px;
  transition: transform .16s, box-shadow .16s;
}
.noteslate:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 17, 14, .1); }
.noteslate em { font-style: normal; font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--patina); font-weight: 600; }
.noteslate h3 { margin: 10px 0 8px; }
.noteslate p { font-size: 15px; color: var(--pewter); margin: 0; }

address.benchaddr { font-style: normal; line-height: 1.7; margin: 0 0 10px; }
.longnote address.benchaddr { margin: 0 0 18px; font-weight: 600; color: var(--tannin); }

.footbench { background: var(--tannin); color: rgba(248, 245, 240, .74); padding: clamp(40px, 5vw, 62px) 0 30px; font-size: 14.5px; }
.footbench img { height: 24px; width: auto; margin-bottom: 16px; }
.footbench a { color: rgba(248, 245, 240, .74); text-decoration: none; }
.footbench a:hover { color: var(--patina); }
.footbench h4 { color: var(--vellum); font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.footbench ul { list-style: none; padding: 0; margin: 0; }
.footbench li { margin-bottom: 8px; }
.footbench > .benchline > div:first-child { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footbench > .benchline > p { border-top: 1px solid rgba(248, 245, 240, .16); margin: 34px 0 0; padding-top: 20px; font-size: 13px; opacity: .72; }

@media (max-width: 980px) {
  .uspply, .catplinth, .figureband { grid-template-columns: repeat(2, 1fr); }
  .creedrun, .voiceband, .guidebench { grid-template-columns: 1fr; }
  .twinbench, .stepsply, .spotbench, .keepband, .platewrap { grid-template-columns: 1fr; }
  .footbench > .benchline > div:first-child { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .benchline { width: calc(100% - 32px); }
  .uspply, .catplinth, .figureband { grid-template-columns: 1fr; }
  .gussetgrid, .dropgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
  .footbench > .benchline > div:first-child { grid-template-columns: 1fr; }

  .gaugewall tbody th { width: 30%; padding: 10px 11px; font-size: 15px; }
  .gaugewall tbody th span { font-size: 12px; }
  .gaugewall thead th { font-size: 12.5px; padding: 9px 6px; }
  .gaugewall td a { padding: 15px 6px; }
  .gaugenone { padding: 15px 6px; font-size: 13px; }
}
