/* RHJM LLC — Chess Study Hall system
   Palette: analysis-room ivory, gambit-slate, lamp-bone, closet-walnut,
   knight-gold tertiary, score-rule rules. All colors solid hex. */

:root {
  --analysis-room: #F2EEE3;
  --move-ink: #2C2A26;
  --gambit-slate: #4E6E7E;
  --lamp-bone: #FBF8F0;
  --closet-walnut: #3A2E24;
  --knight-gold: #A9873C;
  --score-rule: #D9D2C2;
  --slate-deep: #3C5663;
  --slate-tint: #E7E1D2;
  --walnut-edge: #2C221A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  line-height: 1.22;
  margin: 0 0 0.55em;
  color: #2C2A26;
}

p {
  margin: 0 0 1.05em;
}

a {
  color: #3C5663;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #4E6E7E;
}

/* ============ NAVIGATION: BOARD EDGE FILE RAIL ============ */
.filerail {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #3A2E24;
  border-bottom: 6px solid #D9D2C2;
  box-shadow: 0 4px 14px #2C221A;
}

.filerail-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brandplate {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #2C221A;
  border: 2px solid #A9873C;
  border-radius: 4px;
  padding: 8px 16px 8px 12px;
}

.brandmark {
  position: relative;
  width: 30px;
  height: 34px;
  flex: 0 0 30px;
}

.knight-body {
  position: absolute;
  left: 3px;
  bottom: 0;
  width: 24px;
  height: 22px;
  background-color: #FBF8F0;
  border-radius: 8px 8px 3px 3px;
}

.knight-head {
  position: absolute;
  left: 6px;
  top: 2px;
  width: 13px;
  height: 16px;
  background-color: #FBF8F0;
  border-radius: 6px 9px 2px 4px;
  transform: rotate(-14deg);
}

.knight-ear {
  position: absolute;
  left: 15px;
  top: 0;
  width: 5px;
  height: 9px;
  background-color: #FBF8F0;
  border-radius: 3px 0 0 0;
  transform: rotate(18deg);
}

.brandname {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FBF8F0;
}

.brandsub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A9873C;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.filesquares {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filesquare {
  position: relative;
  display: block;
  width: 78px;
  min-height: 46px;
  padding: 6px 6px 18px;
  text-align: center;
  text-decoration: none;
  background-color: #FBF8F0;
  color: #2C2A26;
  border: 2px solid #D9D2C2;
  border-radius: 2px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 0 1px #F2EEE3;
}

.filesquare:nth-child(odd) {
  transform: translateY(5px);
}

.filesquare:nth-child(even) {
  transform: translateY(-3px);
}

.filesquare.darksquare {
  background-color: #D9D2C2;
}

.filesquare:hover,
.filesquare:focus {
  background-color: #4E6E7E;
  color: #FBF8F0;
  border-color: #A9873C;
}

.filesquare-label {
  display: block;
  margin-top: 3px;
}

.fileletter {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 0.66rem;
  color: #A9873C;
  font-weight: 700;
}

.filesquare:hover .fileletter,
.filesquare:focus .fileletter {
  color: #FBF8F0;
}

.navtoggle {
  display: none;
  background-color: #FBF8F0;
  color: #2C2A26;
  border: 2px solid #A9873C;
  border-radius: 3px;
  padding: 9px 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ============ HERO: ANALYSIS BOARD BAY ============ */
.analysisbay {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px 66px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 34px;
  align-items: center;
}

.bay-copy h1 {
  font-size: 2.72rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

.headline-slate {
  color: #4E6E7E;
}

.bay-kicker {
  display: inline-block;
  background-color: #3A2E24;
  color: #FBF8F0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-left: 5px solid #A9873C;
}

.bay-lede {
  font-size: 1.08rem;
  color: #2C2A26;
  max-width: 54ch;
}

.stamprow {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.stamp {
  display: inline-block;
  background-color: #4E6E7E;
  color: #FBF8F0;
  text-decoration: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border: 3px double #FBF8F0;
  border-radius: 3px;
  box-shadow: 3px 3px 0 #2C221A;
}

.stamp:hover,
.stamp:focus {
  background-color: #3C5663;
  color: #FBF8F0;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #2C221A;
}

.stamp-alt {
  background-color: #FBF8F0;
  color: #2C2A26;
  border-color: #4E6E7E;
}

.stamp-alt:hover,
.stamp-alt:focus {
  background-color: #D9D2C2;
  color: #2C2A26;
}

.stamp-code {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #D9D2C2;
  margin-top: 3px;
}

.stamp-alt .stamp-code {
  color: #3C5663;
}

/* --- the CSS analysis board --- */
.boardframe {
  position: relative;
  background-color: #3A2E24;
  border: 8px solid #2C221A;
  border-radius: 6px;
  padding: 34px 30px 30px 42px;
  box-shadow: 10px 12px 0 #D9D2C2;
}

.lampcone {
  position: absolute;
  top: -4px;
  left: 46%;
  width: 132px;
  height: 96px;
  background-color: #E7E1D2;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  border-bottom: 3px solid #A9873C;
}

.lampbulb {
  position: absolute;
  top: 0;
  left: 46%;
  width: 132px;
  height: 12px;
  background-color: #A9873C;
  border-radius: 3px;
}

.boardgrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 3px solid #FBF8F0;
}

.bsq {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsq.light {
  background-color: #FBF8F0;
}

.bsq.dark {
  background-color: #3A2E24;
  box-shadow: inset 0 0 0 1px #2C221A;
}

.ranknum {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: #A9873C;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.filletter {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: #A9873C;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

/* piece silhouettes from CSS shapes */
.pc {
  position: relative;
}

.pc-pawn {
  width: 20px;
  height: 30px;
}

.pc-pawn .pc-top {
  position: absolute;
  top: 0;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4E6E7E;
}

.pc-pawn .pc-stem {
  position: absolute;
  top: 9px;
  left: 6px;
  width: 8px;
  height: 14px;
  background-color: #4E6E7E;
}

.pc-pawn .pc-base {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 18px;
  height: 7px;
  background-color: #4E6E7E;
  border-radius: 3px;
}

.pc-rook {
  width: 30px;
  height: 34px;
}

.pc-rook .pc-top {
  position: absolute;
  top: 0;
  left: 2px;
  width: 26px;
  height: 10px;
  background-color: #A9873C;
  border-radius: 1px;
}

.pc-rook .pc-stem {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 16px;
  height: 17px;
  background-color: #A9873C;
}

.pc-rook .pc-base {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 28px;
  height: 8px;
  background-color: #A9873C;
  border-radius: 2px;
}

.pc-knight {
  width: 30px;
  height: 34px;
}

.pc-knight .pc-head {
  position: absolute;
  top: 0;
  left: 3px;
  width: 18px;
  height: 20px;
  background-color: #FBF8F0;
  border-radius: 8px 10px 2px 3px;
  transform: rotate(-12deg);
  border: 1px solid #2C2A26;
}

.pc-knight .pc-neck {
  position: absolute;
  top: 12px;
  left: 5px;
  width: 12px;
  height: 15px;
  background-color: #FBF8F0;
  border: 1px solid #2C2A26;
}

.pc-knight .pc-base {
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 28px;
  height: 8px;
  background-color: #FBF8F0;
  border-radius: 2px;
  border: 1px solid #2C2A26;
}

.pc-knight.on-dark .pc-head,
.pc-knight.on-dark .pc-neck,
.pc-knight.on-dark .pc-base {
  background-color: #FBF8F0;
}

.anarrow {
  position: absolute;
  top: 30%;
  left: 18%;
  width: 62%;
  height: 14px;
  background-color: #4E6E7E;
  clip-path: polygon(0 38%, 82% 38%, 82% 0, 100% 50%, 82% 100%, 82% 62%, 0 62%);
  border-left: 3px solid #A9873C;
  z-index: 5;
}

.captray {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 10px;
  background-color: #2C221A;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
}

.captray-cell {
  width: 16px;
  height: 16px;
  background-color: #FBF8F0;
  border: 1px solid #A9873C;
}

.captray-cell.filled {
  background-color: #4E6E7E;
}

.clockpair {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

.miniclock {
  background-color: #FBF8F0;
  border: 3px solid #A9873C;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  position: relative;
}

.miniclock::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 16px;
  background-color: #2C2A26;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(38deg);
}

.miniclock::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 11px;
  background-color: #4E6E7E;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(140deg);
}

.miniclock.second {
  border-color: #4E6E7E;
}

/* ============ OPENING FILE STUDIES ============ */
.openfile {
  background-color: #E7E1D2;
  border-top: 4px solid #D9D2C2;
  border-bottom: 4px solid #D9D2C2;
  padding: 62px 20px 66px;
}

.openfile-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 2.1rem;
}

.section-kicker {
  display: inline-block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #3C5663;
  border-bottom: 2px solid #A9873C;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.filesheet {
  display: grid;
  grid-template-columns: 148px 1fr;
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-left: 8px solid #4E6E7E;
  border-radius: 3px;
  margin-bottom: 22px;
  box-shadow: 6px 7px 0 #D9D2C2;
}

.filesheet.tint {
  background-color: #EDE8DA;
  transform: rotate(-1deg);
}

.filesheet.skew-alt {
  transform: rotate(1deg);
}

.filesheet.inverted {
  background-color: #3A2E24;
  border-left-color: #A9873C;
  border-color: #2C221A;
  box-shadow: 6px 7px 0 #A9873C;
}

.filesheet.inverted .panel-text,
.filesheet.inverted .panel-text h3,
.filesheet.inverted .panel-text p {
  color: #FBF8F0;
}

.filesheet.inverted .movecol {
  background-color: #2C221A;
}

.movecol {
  background-color: #3A2E24;
  color: #FBF8F0;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.movecol .filetag {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FBF8F0;
}

.movecol .movecount {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  color: #A9873C;
}

.movecol .captured {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.movecol .captured span {
  width: 13px;
  height: 13px;
  background-color: #FBF8F0;
  border: 1px solid #A9873C;
}

.movecol .captured span.filled {
  background-color: #4E6E7E;
}

.panel-text {
  padding: 22px 26px 20px;
}

.panel-text h3 {
  font-size: 1.24rem;
  margin-bottom: 0.4em;
}

.panel-text p {
  font-size: 0.97rem;
  margin-bottom: 0.7em;
}

.evalbar {
  position: relative;
  height: 12px;
  background-color: #D9D2C2;
  border: 1px solid #2C2A26;
  border-radius: 2px;
  margin: 12px 0 10px;
}

.evalfill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #4E6E7E;
}

.evalfill.balanced { width: 50%; }
.evalfill.edge { width: 58%; }
.evalfill.plan { width: 66%; }
.evalfill.prep { width: 74%; }
.evalfill.endgame { width: 82%; }
.evalfill.winning { width: 90%; }

.evalwrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.evalwrap .evalbar {
  flex: 1;
  margin: 12px 0;
}

.evalnote {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3C5663;
  white-space: nowrap;
}

.inverted .evalnote {
  color: #A9873C;
}

.movechip {
  display: inline-block;
  background-color: #4E6E7E;
  color: #FBF8F0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border: 2px dashed #FBF8F0;
  border-radius: 2px;
  margin-top: 6px;
}

.sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.sheet-link {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3C5663;
  text-decoration: underline;
}

.inverted .sheet-link {
  color: #FBF8F0;
}

/* ============ TIME CONTROL ACCENT STRIP ============ */
.timecontrol {
  background-color: #4E6E7E;
  color: #FBF8F0;
  padding: 34px 20px;
  border-top: 6px solid #D9D2C2;
  border-bottom: 6px solid #D9D2C2;
}

.timecontrol-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.tc-clock {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background-color: #FBF8F0;
  border: 4px solid #A9873C;
}

.tc-clock::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 17px;
  background-color: #4E6E7E;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(52deg);
}

.tc-clock::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 12px;
  background-color: #2C2A26;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(178deg);
}

.tc-text {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  color: #FBF8F0;
  max-width: 720px;
}

.tc-text strong {
  color: #FBF8F0;
  background-color: #3C5663;
  padding: 2px 7px;
  border-radius: 2px;
}

/* ============ CONTENT BLOCKS (home / services / contact) ============ */
.studybody {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.studybody h2 {
  font-size: 1.96rem;
}

.studybody h3 {
  font-size: 1.28rem;
  margin-top: 30px;
}

.leadpara {
  font-size: 1.09rem;
  color: #2C2A26;
}

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.noteplate {
  background-color: #3A2E24;
  color: #FBF8F0;
  padding: 24px 26px;
  border-left: 8px solid #A9873C;
  border-radius: 3px;
  box-shadow: 6px 7px 0 #D9D2C2;
}

.noteplate h3 {
  color: #FBF8F0;
  margin-top: 0;
}

.noteplate p {
  color: #FBF8F0;
  font-size: 0.96rem;
}

.noteplate ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.noteplate li {
  color: #FBF8F0;
  margin-bottom: 0.45em;
}

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

.scoresheet-list li {
  position: relative;
  padding: 10px 0 10px 46px;
  border-bottom: 1px solid #D9D2C2;
  font-size: 0.98rem;
}

.scoresheet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 26px;
  height: 16px;
  background-color: #FBF8F0;
  border: 2px solid #A9873C;
}

.movenum {
  position: absolute;
  left: 3px;
  top: 15px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.66rem;
  color: #3C5663;
  font-weight: 700;
}

.service-block {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
  margin-bottom: 20px;
  box-shadow: 5px 6px 0 #D9D2C2;
}

.service-tag {
  background-color: #4E6E7E;
  color: #FBF8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  text-align: center;
  padding: 14px 6px;
}

.service-body {
  padding: 20px 24px 18px;
}

.service-body h3 {
  margin-top: 0;
}

.processrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.processstep {
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-top: 6px solid #4E6E7E;
  border-radius: 3px;
  padding: 18px 20px;
}

.processstep .stepno {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #A9873C;
  font-weight: 700;
}

.processstep h4 {
  font-size: 1.02rem;
  margin: 6px 0 8px;
}

.processstep p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.ctaband {
  background-color: #3A2E24;
  color: #FBF8F0;
  padding: 40px 26px;
  border-radius: 3px;
  border-top: 8px solid #4E6E7E;
  text-align: center;
  margin: 40px 0 10px;
}

.ctaband h2 {
  color: #FBF8F0;
  font-size: 1.7rem;
}

.ctaband p {
  color: #FBF8F0;
  max-width: 640px;
  margin: 0 auto 22px;
}

/* ============ CONTACT ============ */
.contactgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.contactcards {
  display: grid;
  gap: 16px;
}

.contactcard {
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-left: 7px solid #4E6E7E;
  border-radius: 3px;
  padding: 18px 22px;
}

.contactcard h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}

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

.contactcard a {
  color: #3C5663;
  font-weight: 700;
}

.studyform {
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
  padding: 26px 26px 24px;
  box-shadow: 6px 7px 0 #D9D2C2;
}

.studyform h3 {
  margin-top: 0;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3C5663;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background-color: #F2EEE3;
  color: #2C2A26;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
  padding: 11px 13px;
  font-family: Georgia, serif;
  font-size: 0.98rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #4E6E7E;
  background-color: #FBF8F0;
}

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

.formnote {
  font-size: 0.84rem;
  color: #3C5663;
  margin-top: 10px;
}

.formstatus {
  margin-top: 12px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #3C5663;
}

.faqlist {
  margin: 12px 0 0;
}

.faqitem {
  background-color: #FBF8F0;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faqq {
  width: 100%;
  text-align: left;
  background-color: #FBF8F0;
  color: #2C2A26;
  border: none;
  padding: 16px 20px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.faqq:hover,
.faqq:focus {
  background-color: #E7E1D2;
}

.faqmark {
  color: #A9873C;
  font-size: 1.2rem;
  font-weight: 700;
}

.faqa {
  padding: 0 20px 16px;
  font-size: 0.95rem;
  color: #2C2A26;
}

.hoursplate {
  background-color: #E7E1D2;
  border: 2px solid #D9D2C2;
  border-radius: 3px;
  padding: 18px 22px;
}

.hoursplate h3 {
  margin-top: 0;
}

.hoursplate table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.hoursplate td {
  padding: 7px 4px;
  border-bottom: 1px solid #D9D2C2;
}

.hoursplate td:last-child {
  text-align: right;
  font-weight: 700;
}

/* ============ FOOTER: TOURNAMENT HALL BASE ============ */
.hallbase {
  background-color: #3A2E24;
  color: #FBF8F0;
  border-top: 6px solid #D9D2C2;
  margin-top: 40px;
}

.rimsquares {
  display: flex;
  height: 16px;
}

.rimsquares span {
  flex: 1;
  background-color: #FBF8F0;
}

.rimsquares span.dark {
  background-color: #2C221A;
}

.hallbase-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}

.hallbrand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hallbrand .brandmark {
  flex: 0 0 30px;
}

.hallplate {
  background-color: #2C221A;
  border: 2px solid #A9873C;
  border-radius: 4px;
  padding: 16px 18px;
}

.hallplate .brandname {
  color: #FBF8F0;
}

.hallblurb {
  color: #FBF8F0;
  font-size: 0.88rem;
  margin: 10px 0 0;
}

.hallcol h4 {
  color: #A9873C;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.hallcol li {
  margin-bottom: 9px;
}

.hallcol a {
  color: #FBF8F0;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid #4E6E7E;
  padding-bottom: 1px;
}

.hallcol a:hover,
.hallcol a:focus {
  color: #A9873C;
  border-bottom-color: #A9873C;
}

.hallbase-edge {
  border-top: 2px solid #4E6E7E;
  margin-top: 10px;
  padding: 18px 20px 26px;
}

.hallbase-edge-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #FBF8F0;
  font-size: 0.85rem;
}

.edge-contact span {
  display: block;
}

.edge-contact a {
  color: #FBF8F0;
}

.clockpair-edge {
  display: flex;
  gap: 8px;
  align-items: center;
}

.clockpair-edge .miniclock {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.clockpair-edge .miniclock::before {
  height: 11px;
  width: 2px;
}

.clockpair-edge .miniclock::after {
  height: 8px;
  width: 2px;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.seen {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .analysisbay {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .contactgrid,
  .twocol {
    grid-template-columns: 1fr;
  }

  .hallbase-inner {
    grid-template-columns: 1fr 1fr;
  }

  .filesheet {
    grid-template-columns: 1fr;
    transform: none;
  }

  .filesheet.inverted {
    transform: none;
  }

  .movecol {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 14px 16px;
  }

  .movecol .captured {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .bay-copy h1 {
    font-size: 2.05rem;
  }

  .navtoggle {
    display: inline-block;
  }

  .filesquares {
    display: none;
    width: 100%;
  }

  .filesquares.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filesquare {
    width: 100%;
    transform: none;
  }

  .filesquare:nth-child(odd),
  .filesquare:nth-child(even) {
    transform: none;
  }

  .hallbase-inner {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-tag {
    justify-content: flex-start;
    padding: 12px 18px;
  }
}
