/* Abacus Homedale LLC — bead column hall */

:root {
  --hall-oat: #DEDEF8;
  --hall-oat-deep: #D2D2EE;
  --hall-ledger: #1E182E;
  --hall-lacquer: #962C2A;
  --hall-lacquer-dark: #7A1F1D;
  --hall-walnut: #583C20;
  --hall-walnut-dark: #3E2914;
  --hall-panel: #CCD6D0;
  --hall-panel-warm: #DCE2DE;
  --hall-copper: #945C5A;
  --hall-jade: #688C80;
  --hall-paper: #F0F0FB;
  --hall-rule: #B6B6D6;
  --hall-rule-soft: #C6C6E0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1E182E;
  background-color: #DEDEF8;
  overflow-x: hidden;
}

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

a {
  color: #962C2A;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7A1F1D;
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  color: #1E182E;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap960 {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.shell-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ BEAD RAIL NAV ============ */

.beadframe {
  background: #3E2914;
  background-color: #3E2914;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 4px solid #962C2A;
}

.beadframe-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.beadframe-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  text-decoration: none;
}

.beadframe-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #962C2A;
  border: 3px solid #945C5A;
  position: relative;
  flex: none;
}

.beadframe-badge::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background-color: #7A1F1D;
  border: 2px solid #DEDEF8;
}

.beadframe-badge::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #DEDEF8;
}

.beadframe-words {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.beadframe-words strong {
  font-family: "Palatino Linotype", Georgia, serif;
  color: #F0F0FB;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
}

.beadframe-words span {
  color: #CBBFA9;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.beadframe-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.beadframe-tab {
  display: block;
}

.beadframe-link {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 84px;
  padding: 0 14px 11px;
  background-color: #583C20;
  color: #DEDEF8;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-top: 3px solid #945C5A;
  border-left: 1px solid #6A4A29;
  border-right: 1px solid #4A3119;
  transition: background-color 140ms ease, color 140ms ease;
}

.beadframe-tab:nth-child(1) .beadframe-link { height: 46px; }
.beadframe-tab:nth-child(2) .beadframe-link { height: 56px; }
.beadframe-tab:nth-child(3) .beadframe-link { height: 40px; }
.beadframe-tab:nth-child(4) .beadframe-link { height: 52px; }
.beadframe-tab:nth-child(5) .beadframe-link { height: 44px; }

.beadframe-link:hover,
.beadframe-link:focus {
  background-color: #962C2A;
  color: #F0F0FB;
}

.beadframe-link.is-current {
  background-color: #962C2A;
  color: #F0F0FB;
  border-top-color: #DEDEF8;
}

.beadframe-toggle {
  display: none;
  background-color: #583C20;
  color: #F0F0FB;
  border: 2px solid #945C5A;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 16px;
  cursor: pointer;
}

.beadframe-toggle:hover {
  background-color: #962C2A;
}

/* ============ COLUMN HALL HERO ============ */

.tallycolumn {
  padding: 62px 0 0;
  background-color: #DEDEF8;
  border-bottom: 1px solid #B6B6D6;
}

.tallycolumn-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
}

.tallycolumn-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #583C20;
  border-bottom: 2px solid #962C2A;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.tallycolumn-title {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  margin: 0 0 6px;
  line-height: 1.04;
}

.tallycolumn-title .tallycolumn-display {
  display: block;
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  color: #962C2A;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin-top: 4px;
}

.tallycolumn-copy p {
  font-size: 1.04rem;
  color: #1E182E;
}

.tallycolumn-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #962C2A;
  text-decoration: none;
  border-bottom: 2px solid #962C2A;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

.tallycolumn-cta-link:hover {
  color: #7A1F1D;
  border-bottom-color: #7A1F1D;
}

.tallycolumn-meta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #B6B6D6;
}

.tallycolumn-meta-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.94rem;
}

.tallycolumn-meta-item span:first-child {
  flex: none;
  width: 76px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #583C20;
}

.tallycolumn-meta-item a {
  color: #1E182E;
  text-decoration: none;
  border-bottom: 1px solid #945C5A;
}

.tallycolumn-meta-item a:hover {
  color: #962C2A;
}

.tallycolumn-aside {
  border-left: 3px solid #945C5A;
  padding-left: 26px;
}

.tallycolumn-aside h2 {
  font-size: 1.12rem;
  margin: 0 0 12px;
  color: #583C20;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tallycolumn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tallycolumn-list li {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #C6C6E0;
  font-size: 0.95rem;
}

.tallycolumn-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tallycolumn-chip {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #688C80;
  border: 2px solid #3F5D54;
  margin-top: 3px;
}

.tallycolumn-list strong {
  display: block;
  color: #1E182E;
  font-size: 0.96rem;
}

.tallycolumn-list span {
  color: #3A3350;
  font-size: 0.88rem;
}

/* --- hall band --- */

.tallycolumn-hall {
  position: relative;
  background-color: #583C20;
  border-top: 4px solid #3E2914;
  border-bottom: 4px solid #3E2914;
  overflow: hidden;
}

.tallycolumn-hall-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0;
  min-height: 330px;
}

.tallycolumn-bay {
  position: relative;
  padding: 26px 26px 30px;
  border-right: 2px solid #3E2914;
}

.tallycolumn-bay:last-child {
  border-right: 0;
}

.tallycolumn-bay-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CBBFA9;
  margin-bottom: 14px;
}

.tallycolumn-cols {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 16px;
  height: 220px;
}

.tallycolumn-col {
  position: relative;
  width: 16px;
  background-color: #3E2914;
  border-radius: 8px;
  border: 1px solid #6A4A29;
  align-self: stretch;
}

.tallycolumn-col::before,
.tallycolumn-col::after {
  content: "";
  position: absolute;
  left: -7px;
  width: 28px;
  height: 15px;
  border-radius: 7px;
  background-color: #962C2A;
  border: 1px solid #7A1F1D;
  box-shadow: inset 0 2px 0 #B24543;
}

.tallycolumn-col::before { top: 24%; }
.tallycolumn-col::after { bottom: 16%; }

.tallycolumn-col.c2::before { top: 46%; background-color: #945C5A; border-color: #6F403E; box-shadow: inset 0 2px 0 #B57A78; }
.tallycolumn-col.c2::after { bottom: 8%; }
.tallycolumn-col.c3::before { top: 12%; }
.tallycolumn-col.c3::after { bottom: 38%; }
.tallycolumn-col.c4::before { top: 34%; background-color: #688C80; border-color: #47665B; box-shadow: inset 0 2px 0 #86A79D; }
.tallycolumn-col.c4::after { bottom: 22%; }
.tallycolumn-col.c5::before { top: 58%; }
.tallycolumn-col.c5::after { bottom: 4%; background-color: #945C5A; border-color: #6F403E; box-shadow: inset 0 2px 0 #B57A78; }

.tallycolumn-deck {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background-color: #3E2914;
  border-top: 3px solid #945C5A;
}

.tallycolumn-run {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
}

.tallycolumn-run-rod {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  background-color: #945C5A;
  border-top: 2px solid #B57A78;
  border-bottom: 2px solid #6F403E;
}

.tallycolumn-run-beads {
  position: relative;
  display: flex;
  gap: 7px;
  padding: 0 6px;
  margin-top: -55px;
  z-index: 2;
}

.tallycolumn-run-bead {
  width: 30px;
  height: 42px;
  border-radius: 15px;
  background-color: #962C2A;
  border: 2px solid #7A1F1D;
  box-shadow: inset 0 4px 0 #B24543;
}

.tallycolumn-run-bead.b2 { background-color: #945C5A; border-color: #6F403E; box-shadow: inset 0 4px 0 #B57A78; }
.tallycolumn-run-bead.b3 { background-color: #688C80; border-color: #47665B; box-shadow: inset 0 4px 0 #86A79D; }
.tallycolumn-run-bead.b4 { margin-left: 26px; }
.tallycolumn-run-bead.b5 { background-color: #945C5A; border-color: #6F403E; box-shadow: inset 0 4px 0 #B57A78; }
.tallycolumn-run-bead.b6 { margin-left: 26px; background-color: #688C80; border-color: #47665B; box-shadow: inset 0 4px 0 #86A79D; }

.tallycolumn-well {
  position: relative;
  height: 220px;
  border-left: 8px solid #3E2914;
  border-right: 8px solid #3E2914;
  border-bottom: 12px solid #3E2914;
  background-color: #4A3119;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 0 16px 12px;
}

.tallycolumn-rod {
  width: 9px;
  border-radius: 5px 5px 0 0;
  background-color: #945C5A;
  border: 1px solid #6F403E;
}

.tallycolumn-rod.r1 { height: 62%; }
.tallycolumn-rod.r2 { height: 88%; }
.tallycolumn-rod.r3 { height: 48%; }
.tallycolumn-rod.r4 { height: 74%; }
.tallycolumn-rod.r5 { height: 56%; }

.tallycolumn-rod::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin: -5px 0 0 -5px;
  background-color: #DEDEF8;
  border: 2px solid #6F403E;
}

.tallycolumn-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #962C2A;
  border-top: 4px solid #7A1F1D;
  padding: 20px 32px;
  text-decoration: none;
  color: #F0F0FB;
}

.tallycolumn-bar:hover {
  background-color: #7A1F1D;
  color: #F0F0FB;
}

.tallycolumn-bar-label {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  font-family: "Palatino Linotype", Georgia, serif;
}

.tallycolumn-bar-label small {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F0D5D4;
  font-family: Georgia, serif;
}

.tallycolumn-bar-arrow {
  font-size: 1.6rem;
  line-height: 1;
  flex: none;
}

/* ============ SECTION SHARED ============ */

.roddeck-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 3px solid #583C20;
  margin-bottom: 34px;
}

.roddeck-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #583C20;
  margin-bottom: 10px;
  display: block;
}

.roddeck-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0;
}

.roddeck-head p {
  margin: 0;
  font-size: 0.98rem;
}

/* ============ ROD RACK ROWS ============ */

.roddeck {
  padding: 64px 0 72px;
  background-color: #DEDEF8;
}

.roddeck-rack {
  display: grid;
  gap: 18px;
}

.roddeck-row {
  position: relative;
  background-color: #CCD6D0;
  border: 1px solid #9FAEA6;
  border-left: 7px solid #583C20;
  padding: 22px 28px 24px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  box-shadow: 4px 4px 0 #BFC9C3;
}

.roddeck-row::after {
  content: "";
  position: absolute;
  right: 14px;
  top: -7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #962C2A;
  border: 1px solid #7A1F1D;
}

.roddeck-row:nth-child(2) { margin-left: 54px; margin-right: 0; }
.roddeck-row:nth-child(3) { margin-left: 18px; margin-right: 88px; }
.roddeck-row:nth-child(4) { margin-left: 96px; margin-right: 22px; }
.roddeck-row:nth-child(5) { margin-left: 0; margin-right: 64px; }
.roddeck-row:nth-child(6) { margin-left: 72px; margin-right: 0; }

.roddeck-row:nth-child(2)::after {
  right: auto;
  left: 22px;
  width: 9px;
  height: 9px;
  background-color: #688C80;
  border-color: #47665B;
}

.roddeck-row:nth-child(4)::after {
  width: 17px;
  height: 17px;
  top: -9px;
  background-color: #945C5A;
  border-color: #6F403E;
}

.roddeck-row:nth-child(5)::after {
  display: none;
}

.roddeck-mark {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
  color: #688C80;
  letter-spacing: 0.02em;
  padding-top: 2px;
  border-right: 2px solid #B4C2BA;
  margin-right: 12px;
  padding-right: 12px;
}

.roddeck-row h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.roddeck-row h3 a {
  color: #1E182E;
  text-decoration: none;
  border-bottom: 2px solid #962C2A;
}

.roddeck-row h3 a:hover {
  color: #962C2A;
}

.roddeck-row p {
  margin: 0 0 10px;
  font-size: 0.96rem;
  color: #2A2340;
}

.roddeck-row p:last-child {
  margin-bottom: 0;
}

.roddeck-note {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #583C20;
  border: 1px solid #945C5A;
  border-radius: 2px;
  padding: 2px 8px;
  margin-top: 4px;
}

.roddeck-tail {
  margin-top: 34px;
  padding: 24px 28px;
  background-color: #F0F0FB;
  border-top: 2px solid #583C20;
  border-bottom: 2px solid #583C20;
  font-size: 0.98rem;
  color: #1E182E;
}

.roddeck-tail a {
  font-weight: bold;
}

/* ============ PLAIN PROSE SECTION ============ */

.proseblock {
  padding: 64px 0;
  background-color: #D2D2EE;
  border-top: 1px solid #B6B6D6;
  border-bottom: 1px solid #B6B6D6;
}

.proseblock-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.proseblock-side {
  border-top: 5px solid #962C2A;
  padding-top: 20px;
}

.proseblock-side h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.proseblock-side p {
  font-size: 0.96rem;
  color: #2A2340;
}

.proseblock-side .proseblock-rule {
  height: 10px;
  width: 90px;
  background-color: #945C5A;
  margin-top: 20px;
}

.proseblock-body h3 {
  font-size: 1.12rem;
  margin: 26px 0 8px;
  color: #583C20;
}

.proseblock-body h3:first-child {
  margin-top: 0;
}

.proseblock-body p {
  font-size: 1rem;
  color: #1E182E;
}

.proseblock-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #1E182E;
}

.proseblock-body li {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

/* ============ PANEL GRID ============ */

.panelrow {
  padding: 62px 0 68px;
  background-color: #DEDEF8;
}

.panelrow-head {
  margin-bottom: 26px;
  border-left: 6px solid #962C2A;
  padding-left: 18px;
}

.panelrow-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 6px;
}

.panelrow-head p {
  margin: 0;
  font-size: 0.96rem;
  color: #3A3350;
}

.panelrow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.panelrow-item {
  background-color: #CCD6D0;
  border: 1px solid #9FAEA6;
  border-bottom: 5px solid #945C5A;
  padding: 22px 22px 24px;
}

.panelrow-item h3 {
  font-size: 1.04rem;
  margin: 0 0 8px;
  color: #1E182E;
}

.panelrow-item p {
  margin: 0;
  font-size: 0.92rem;
  color: #2A2340;
}

/* ============ TALLY WELL BAND ============ */

.tallywell {
  background-color: #583C20;
  background-color: #583C20;
  border-top: 4px solid #3E2914;
  border-bottom: 4px solid #3E2914;
  padding: 20px 0;
}

.tallywell-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.tallywell-stack {
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
}

.tallywell-token {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #962C2A;
  border: 2px solid #DEDEF8;
}

.tallywell-token.t2 { width: 26px; height: 26px; background-color: #945C5A; }
.tallywell-token.t3 { width: 18px; height: 18px; background-color: #688C80; border-color: #DEDEF8; }
.tallywell-token.t4 { width: 24px; height: 24px; background-color: #962C2A; }
.tallywell-token.t5 { width: 15px; height: 15px; background-color: #945C5A; }

.tallywell-text {
  color: #DEDEF8;
  font-size: 0.96rem;
  margin: 0;
  font-family: Georgia, serif;
}

.tallywell-text a {
  color: #F0F0FB;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #945C5A;
}

.tallywell-text a:hover {
  border-bottom-color: #F0F0FB;
}

/* ============ BEAD TRAY FOOTER ============ */

.quayrail {
  background-color: #583C20;
  background-color: #583C20;
  border-top: 6px solid #3E2914;
  color: #DEDEF8;
}

.quayrail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 48px;
  padding: 50px 0 38px;
}

.quayrail-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.quayrail-tray {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 8px;
  background-color: #3E2914;
  border: 3px solid #945C5A;
  position: relative;
  overflow: hidden;
}

.quayrail-tray::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #962C2A;
  border: 1px solid #DEDEF8;
  box-shadow: 18px 0 0 #962C2A, 36px 0 0 #688C80, 9px -16px 0 #945C5A, 27px -16px 0 #962C2A;
}

.quayrail-tray::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 3px;
  background-color: #945C5A;
}

.quayrail-brand h2 {
  color: #F0F0FB;
  font-size: 1.28rem;
  margin: 0 0 8px;
}

.quayrail-brand p {
  margin: 0;
  font-size: 0.92rem;
  color: #D3C7B2;
  max-width: 34ch;
}

.quayrail-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.quayrail-col h3 {
  color: #F0F0FB;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #945C5A;
}

.quayrail-col h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #688C80;
  margin-right: 9px;
  vertical-align: 1px;
}

.quayrail-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quayrail-col li {
  margin-bottom: 7px;
}

.quayrail-col a {
  color: #DEDEF8;
  text-decoration: none;
  font-size: 0.94rem;
  border-bottom: 1px solid #7A5F3D;
  padding-bottom: 1px;
}

.quayrail-col a:hover {
  color: #F0F0FB;
  border-bottom-color: #F0F0FB;
}

.quayrail-base {
  border-top: 1px solid #7A5F3D;
  background-color: #3E2914;
  padding: 16px 0;
}

.quayrail-base-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #D3C7B2;
}

.quayrail-base-inner a {
  color: #DEDEF8;
  text-decoration: none;
  border-bottom: 1px solid #7A5F3D;
}

.quayrail-base-inner a:hover {
  border-bottom-color: #F0F0FB;
}

.quayrail-glyph {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #962C2A;
  border: 1px solid #945C5A;
  margin-right: 8px;
  vertical-align: 0;
}

.quayrail-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

/* ============ INNER PAGE HEADERS ============ */

.pagehead {
  padding: 56px 0 40px;
  background-color: #DEDEF8;
  border-bottom: 3px solid #583C20;
}

.pagehead h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin: 0 0 12px;
  max-width: 22ch;
}

.pagehead p {
  margin: 0;
  max-width: 68ch;
  font-size: 1.02rem;
}

.pagehead-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #583C20;
  margin-bottom: 12px;
  display: block;
}

/* ============ SERVICES PAGE ============ */

.svc-toc {
  padding: 40px 0;
  background-color: #D2D2EE;
  border-bottom: 1px solid #B6B6D6;
}

.svc-toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #583C20;
  margin: 0 0 14px;
}

.svc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.svc-toc-list a {
  display: inline-block;
  padding: 6px 0;
  color: #1E182E;
  text-decoration: none;
  border-bottom: 2px solid #945C5A;
  font-size: 0.94rem;
}

.svc-toc-list a:hover {
  color: #962C2A;
  border-bottom-color: #962C2A;
}

.svc-detail {
  padding: 58px 0 66px;
  background-color: #DEDEF8;
}

.svc-entry {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  padding: 30px 0;
  border-top: 1px solid #B6B6D6;
}

.svc-entry:last-of-type {
  border-bottom: 1px solid #B6B6D6;
}

.svc-entry-side {
  padding-top: 4px;
}

.svc-entry-mark {
  display: block;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  color: #688C80;
  margin-bottom: 6px;
}

.svc-entry-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #583C20;
  border-left: 3px solid #962C2A;
  padding-left: 8px;
}

.svc-entry h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.svc-entry h3 {
  font-size: 1rem;
  color: #583C20;
  margin: 20px 0 6px;
}

.svc-entry p {
  font-size: 0.98rem;
  color: #1E182E;
  margin-bottom: 12px;
}

.svc-entry ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.svc-entry li {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.svc-process {
  padding: 58px 0 66px;
  background-color: #D2D2EE;
  border-top: 1px solid #B6B6D6;
  border-bottom: 1px solid #B6B6D6;
}

.svc-process h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 10px;
}

.svc-process > .wrap960 > p {
  max-width: 68ch;
  margin-bottom: 28px;
}

.svc-steps {
  display: grid;
  gap: 0;
  border-left: 4px solid #583C20;
}

.svc-step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  padding: 20px 0 20px 24px;
  border-bottom: 1px solid #B6B6D6;
}

.svc-step:last-child {
  border-bottom: 0;
}

.svc-step-label {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.1rem;
  color: #962C2A;
}

.svc-step h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.svc-step p {
  margin: 0;
  font-size: 0.95rem;
}

.svc-cta {
  padding: 54px 0 58px;
  background-color: #583C20;
  border-top: 4px solid #3E2914;
  color: #DEDEF8;
}

.svc-cta h2 {
  color: #F0F0FB;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 12px;
}

.svc-cta p {
  max-width: 62ch;
  color: #D3C7B2;
  margin-bottom: 20px;
}

.svc-cta a.svc-cta-btn {
  display: inline-block;
  background-color: #962C2A;
  color: #F0F0FB;
  text-decoration: none;
  padding: 12px 26px;
  border: 2px solid #F0F0FB;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.svc-cta a.svc-cta-btn:hover {
  background-color: #7A1F1D;
  color: #F0F0FB;
}

/* ============ CONTACT PAGE ============ */

.contact-body {
  padding: 56px 0 66px;
  background-color: #DEDEF8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 46px;
  align-items: start;
}

.contact-form-wrap {
  background-color: #CCD6D0;
  border: 1px solid #9FAEA6;
  border-top: 6px solid #962C2A;
  padding: 28px 30px 32px;
}

.contact-form-wrap h2 {
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.contact-form-wrap > p {
  font-size: 0.92rem;
  color: #2A2340;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #583C20;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: #1E182E;
  background-color: #F0F0FB;
  border: 1px solid #7E918A;
  border-radius: 2px;
  padding: 9px 11px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #962C2A;
  outline-offset: 1px;
  border-color: #962C2A;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: #3A3350;
  margin: 0 0 16px;
}

.form-submit {
  display: inline-block;
  background-color: #962C2A;
  color: #F0F0FB;
  font-family: Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  border: 2px solid #7A1F1D;
  padding: 11px 28px;
  cursor: pointer;
}

.form-submit:hover {
  background-color: #7A1F1D;
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #583C20;
  min-height: 1.2em;
}

.contact-details h2 {
  font-size: 1.3rem;
  margin: 0 0 14px;
}

.contact-block {
  padding: 16px 0;
  border-top: 1px solid #B6B6D6;
}

.contact-block:last-child {
  border-bottom: 1px solid #B6B6D6;
}

.contact-block h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #583C20;
  margin: 0 0 6px;
}

.contact-block p {
  margin: 0;
  font-size: 0.96rem;
}

.contact-block address {
  font-style: normal;
  font-size: 0.96rem;
  line-height: 1.65;
}

.contact-block a {
  color: #1E182E;
  text-decoration: none;
  border-bottom: 1px solid #945C5A;
}

.contact-block a:hover {
  color: #962C2A;
}

.contact-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
  padding: 4px 0;
  border-bottom: 1px dotted #B6B6D6;
}

.contact-hours li:last-child {
  border-bottom: 0;
}

.contact-faq {
  padding: 54px 0 62px;
  background-color: #D2D2EE;
  border-top: 1px solid #B6B6D6;
}

.contact-faq h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 8px;
}

.contact-faq > .shell-narrow > p {
  margin-bottom: 24px;
  font-size: 0.96rem;
}

.faq-item {
  border-bottom: 1px solid #9FAEA6;
}

.faq-item:first-of-type {
  border-top: 1px solid #9FAEA6;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 36px 16px 0;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.04rem;
  color: #1E182E;
  cursor: pointer;
  position: relative;
}

.faq-question:hover {
  color: #962C2A;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 1.3rem;
  color: #962C2A;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 24px 16px 0;
  font-size: 0.95rem;
  color: #2A2340;
}

.faq-answer.is-open {
  display: block;
}

/* ============ SCROLL REVEAL ============ */

.reveal {
  visibility: hidden;
  transform: translateY(16px);
  transition: transform 420ms ease;
}

.reveal.is-visible {
  visibility: visible;
  transform: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 980px) {
  .tallycolumn-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tallycolumn-aside {
    border-left: 0;
    border-top: 3px solid #945C5A;
    padding-left: 0;
    padding-top: 18px;
  }

  .tallycolumn-hall-grid {
    grid-template-columns: 1fr;
  }

  .tallycolumn-bay {
    border-right: 0;
    border-bottom: 2px solid #3E2914;
  }

  .tallycolumn-bay:last-child {
    border-bottom: 0;
  }

  .roddeck-head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .proseblock-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .panelrow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quayrail-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .svc-entry {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }

  .beadframe-toggle {
    display: block;
  }

  .beadframe-inner {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 12px;
    min-height: 0;
    padding-bottom: 12px;
  }

  .beadframe-tabs {
    display: none;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    align-items: stretch;
    padding-bottom: 12px;
  }

  .beadframe-tabs.is-open {
    display: flex;
  }

  .beadframe-tab {
    flex: 1 1 calc(50% - 4px);
  }

  .beadframe-link,
  .beadframe-tab:nth-child(1) .beadframe-link,
  .beadframe-tab:nth-child(2) .beadframe-link,
  .beadframe-tab:nth-child(3) .beadframe-link,
  .beadframe-tab:nth-child(4) .beadframe-link,
  .beadframe-tab:nth-child(5) .beadframe-link {
    height: auto;
    min-height: 46px;
    align-items: center;
    border: 1px solid #6A4A29;
  }
}

@media (max-width: 640px) {
  .wrap960,
  .shell-narrow {
    padding: 0 20px;
  }

  .tallycolumn {
    padding-top: 40px;
  }

  .roddeck-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 20px 22px;
    margin-left: 0;
    margin-right: 0;
  }

  .roddeck-mark {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    font-size: 1.4rem;
  }

  .panelrow-grid {
    grid-template-columns: 1fr;
  }

  .quayrail-cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .svc-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .svc-step {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tallywell-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-form-wrap {
    padding: 22px 20px 26px;
  }

  .tallycolumn-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    visibility: visible;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
