/* Chamber desk stylesheet. Light chamber theme.
   Palette:
   CHAMBER-MARBLE #E2E4EA  body ground
   ROD-DEEP       #382224  primary text
   ASSEMBLY-BLUE  #404874  accent / cta / rules
   SEAL-GILT      #E0B256  gilt seal faces
   SEAT-CARD      #D6DEFA  seat card faces
   QUORUM-GREEN   #4C9A6A  quorum accents
   CLERK-GREY     #9694B0  clerk dots and hover underlines only
*/

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  color: #382224;
  background-color: #E2E4EA;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  color: #382224;
  line-height: 1.18;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  color: #9694B0;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- SITE WRAP ---------- */
.site-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- CHAMBER SEAT CARDS NAV (.chamberdesk) ---------- */
.chamberdesk {
  background-color: #382224;
  border-bottom: 4px solid #404874;
}

.chamberdesk-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.chamberdesk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #E2E4EA;
  text-decoration: none;
  white-space: nowrap;
}

.chamberdesk-brand:hover {
  color: #E2E4EA;
}

.chamberdesk-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #9694B0;
  display: inline-block;
  flex: 0 0 auto;
}

.chamberdesk-seats {
  display: flex;
  gap: 8px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
}

.chamberdesk-seat {
  display: block;
  background-color: #D6DEFA;
  border: 2px solid #E0B256;
  border-radius: 5px;
  padding: 7px 13px 7px 22px;
  position: relative;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #382224;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.chamberdesk-seat::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #4C9A6A;
}

.chamberdesk-seat:hover,
.chamberdesk-seat:focus {
  background-color: #E0B256;
  color: #382224;
}

.chamberdesk-seat.is-current {
  background-color: #E0B256;
  color: #382224;
}

.chamberdesk-toggle {
  display: none;
  background-color: #404874;
  color: #E2E4EA;
  border: 2px solid #E0B256;
  border-radius: 5px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  margin-left: auto;
}

/* ---------- FLOOR VOTE COLUMNS HERO (.floorvote) ---------- */
.floorvote {
  padding: 58px 0 54px;
  border-bottom: 3px solid #404874;
}

.floorvote-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: start;
}

.floorvote-copy {
  padding-top: 8px;
}

.floorvote-kicker {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #404874;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E0B256;
  display: inline-block;
}

.floorvote-title {
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #382224;
}

.floorvote-title-word {
  display: block;
  font-size: 4.4rem;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  color: #404874;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.floorvote-lede {
  font-size: 1.06rem;
  color: #382224;
  max-width: 40em;
  margin-bottom: 22px;
}

.floorvote-inline-link {
  white-space: nowrap;
  font-weight: 700;
}

.floorvote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 300px;
  margin-top: 12px;
  background-color: #404874;
  color: #E2E4EA;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 4px;
  border-bottom: 4px solid #E0B256;
}

.floorvote-cta:hover {
  background-color: #382224;
  color: #E2E4EA;
}

.floorvote-cta-arrow {
  font-size: 20px;
  line-height: 1;
}

/* tally board */
.floorvote-board {
  background-color: #D6DEFA;
  border: 3px solid #404874;
  border-radius: 6px;
  padding: 22px 20px 18px;
  box-shadow: 6px 6px 0 #E0B256;
}

.floorvote-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #404874;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.floorvote-board-title {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #382224;
  margin: 0;
}

.floorvote-board-note {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #382224;
}

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

.floorvote-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  background-color: #404874;
  color: #E2E4EA;
  border-radius: 4px;
  padding: 9px 12px;
  margin-bottom: 9px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.floorvote-row-name {
  color: #E2E4EA;
}

.floorvote-yea {
  background-color: #E0B256;
  color: #382224;
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.floorvote-nay {
  background-color: #382224;
  color: #E2E4EA;
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- CONTENT SECTIONS ---------- */
.section {
  padding: 56px 0;
}

.section-rule {
  border: 0;
  border-top: 3px solid #404874;
  margin: 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-sub {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #404874;
  margin: 0 0 12px;
}

.section-lede {
  font-size: 1.05rem;
  max-width: 62em;
  margin-bottom: 28px;
}

/* ---------- CALENDAR ROW RUN (.calendarrow) ---------- */
.calendarrow {
  border-top: 1px solid #404874;
}

.calendarrow-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #404874;
}

.calendarrow-glyph {
  width: 34px;
  height: 34px;
  position: relative;
  margin-top: 6px;
}

.calendarrow-glyph::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 22px;
  height: 9px;
  border-radius: 2px;
  background-color: #9694B0;
  transform: rotate(-32deg);
  transform-origin: left center;
}

.calendarrow-glyph::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 6px;
  height: 14px;
  border-radius: 2px;
  background-color: #9694B0;
  transform: rotate(-32deg);
  transform-origin: top center;
}

.calendarrow-body h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.calendarrow-body h3 a {
  color: #382224;
  text-decoration: none;
  border-bottom: 2px solid #E0B256;
}

.calendarrow-body h3 a:hover {
  color: #404874;
  border-bottom-color: #9694B0;
}

.calendarrow-body p {
  margin: 0;
  color: #382224;
  max-width: 64em;
}

.calendarrow-step {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #382224;
  background-color: #D6DEFA;
  border: 2px solid #404874;
  border-radius: 20px;
  padding: 4px 14px;
  margin-top: 6px;
  white-space: nowrap;
}

.calendarrow-seal {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #E0B256;
  border: 3px solid #382224;
  margin-top: 8px;
}

.calendarrow-row.calendarrow-alt {
  grid-template-columns: 46px 1fr auto auto;
}

.calendarrow-row.calendarrow-alt .calendarrow-seal {
  display: block;
}

/* ---------- MACE BAND (.maceband) ---------- */
.maceband {
  background-color: #404874;
  color: #E2E4EA;
  padding: 34px 0 30px;
  position: relative;
  margin-top: 6px;
}

.maceband-mace {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maceband-orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #E0B256;
  border: 2px solid #382224;
  z-index: 2;
}

.maceband-staff {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #382224;
  top: 9px;
  z-index: 1;
}

.maceband-ribbon {
  position: absolute;
  width: 14px;
  height: 10px;
  background-color: #D6DEFA;
  top: 12px;
  z-index: 2;
}

.maceband-ribbon-one {
  left: 24px;
}

.maceband-ribbon-two {
  right: 24px;
}

.maceband-ribbon-three {
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  width: 10px;
  height: 12px;
  background-color: #D6DEFA;
}

.maceband-sentence {
  margin: 0 auto;
  max-width: 58em;
  padding: 0 24px;
  text-align: center;
  font-size: 1.02rem;
  color: #E2E4EA;
}

/* ---------- GENERIC PROSE PANELS ---------- */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.panel {
  background-color: #D6DEFA;
  border-left: 6px solid #404874;
  border-radius: 4px;
  padding: 22px 20px;
}

.panel h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.panel p {
  margin: 0;
  font-size: 0.97rem;
}

.panel-gilt {
  background-color: #E0B256;
  border-left-color: #382224;
}

.panel-quorum {
  background-color: #4C9A6A;
  color: #E2E4EA;
  border-left-color: #382224;
}

.panel-quorum h3,
.panel-quorum p {
  color: #E2E4EA;
}

/* two-col text block */
.split-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.split-text p {
  font-size: 1rem;
}

/* steps list */
.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: stepper;
}

.steps-item {
  position: relative;
  padding: 0 0 22px 58px;
  border-left: 2px solid #404874;
  margin-left: 18px;
  counter-increment: stepper;
}

.steps-item:last-child {
  padding-bottom: 2px;
  border-left-color: #E2E4EA;
}

.steps-item::before {
  content: counter(stepper);
  position: absolute;
  left: -19px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #404874;
  color: #E2E4EA;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  margin-top: 3px;
}

.steps-item p {
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- SERVICE DETAIL BLOCKS ---------- */
.service-block {
  padding: 30px 0;
  border-bottom: 1px solid #404874;
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.service-block-head h2 {
  font-size: 1.55rem;
  margin: 0;
}

.service-tag {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #382224;
  background-color: #E0B256;
  border-radius: 3px;
  padding: 3px 9px;
  white-space: nowrap;
}

.service-block p {
  max-width: 68em;
}

.service-note {
  background-color: #D6DEFA;
  border-left: 5px solid #4C9A6A;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 0.95rem;
  max-width: 62em;
}

/* ---------- CTA PANEL ---------- */
.cta-panel {
  background-color: #382224;
  border-radius: 6px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-panel h2 {
  color: #E2E4EA;
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.cta-panel p {
  color: #E2E4EA;
  margin: 0;
  max-width: 40em;
}

.cta-panel-button {
  display: inline-block;
  background-color: #E0B256;
  color: #382224;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  white-space: nowrap;
}

.cta-panel-button:hover {
  background-color: #E2E4EA;
  color: #382224;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.contact-form label {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #382224;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #382224;
  background-color: #E2E4EA;
  border: 2px solid #404874;
  border-radius: 4px;
  padding: 11px 13px;
  margin-bottom: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid #E0B256;
  outline-offset: 1px;
}

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

.contact-form button {
  background-color: #404874;
  color: #E2E4EA;
  border: 0;
  border-bottom: 4px solid #E0B256;
  border-radius: 4px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #382224;
}

.contact-form-note {
  font-size: 0.88rem;
  margin-top: 14px;
  color: #382224;
}

.contact-info {
  background-color: #D6DEFA;
  border: 3px solid #404874;
  border-radius: 6px;
  padding: 26px 24px;
}

.contact-info h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #404874;
  margin-top: 16px;
}

.contact-info dd {
  margin: 3px 0 0;
  font-size: 1rem;
  color: #382224;
}

.contact-info dd a {
  color: #404874;
  font-weight: 700;
}

.contact-hours {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid #404874;
}

/* FAQ */
.faq-item {
  border-bottom: 2px solid #404874;
  padding: 4px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 40px 18px 0;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #382224;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #404874;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "\2212";
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 0.98rem;
  max-width: 60em;
}

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

/* ---------- HANSARD CLOSER FOOTER (.hansgard) ---------- */
.hansgard {
  border-top: 3px solid #382224;
  padding: 30px 0 40px;
  margin-top: 0;
}

.hansgard-volume {
  position: relative;
  width: 54px;
  height: 26px;
  margin: -30px auto 22px;
  background-color: #D6DEFA;
  border: 2px solid #382224;
  border-radius: 3px;
}

.hansgard-volume::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -12px;
  width: 7px;
  height: 16px;
  background-color: #E0B256;
  border: 1px solid #382224;
}

.hansgard-links {
  text-align: center;
  margin: 0 0 22px;
  padding: 0;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 14px;
}

.hansgard-links a {
  color: #382224;
  text-decoration: none;
  border-bottom: 1px solid #382224;
  margin: 0 6px;
}

.hansgard-links a:hover {
  color: #404874;
  border-bottom-color: #9694B0;
}

.hansgard-mid {
  max-width: 620px;
  margin: 0 auto 24px;
  text-align: center;
}

.hansgard-brand {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #382224;
  margin-bottom: 6px;
}

.hansgard-blurb {
  font-size: 0.93rem;
  color: #382224;
  margin: 0;
}

.hansgard-baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 12px;
  color: #382224;
  border-top: 1px solid #404874;
  padding-top: 18px;
}

.hansgard-baseline a {
  color: #382224;
  text-decoration: none;
  border-bottom: 1px solid #382224;
}

.hansgard-baseline a:hover {
  color: #404874;
  border-bottom-color: #9694B0;
}

.hansgard-gavel {
  display: inline-block;
  width: 14px;
  height: 4px;
  background-color: #404874;
  position: relative;
  margin-right: 4px;
  transform: rotate(-30deg);
  vertical-align: middle;
}

.hansgard-gavel::after {
  content: "";
  position: absolute;
  left: 5px;
  top: -4px;
  width: 4px;
  height: 12px;
  background-color: #404874;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  transition: transform 0.5s ease, visibility 0.5s ease;
}

.reveal.is-hidden {
  visibility: hidden;
  transform: translateY(14px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .chamberdesk-toggle {
    display: inline-block;
  }

  .chamberdesk-inner {
    flex-wrap: wrap;
  }

  .chamberdesk-seats {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    margin: 10px 0 4px;
    gap: 6px;
  }

  .chamberdesk-seats.is-open {
    display: flex;
  }

  .chamberdesk-seat {
    width: 100%;
    padding: 11px 13px 11px 26px;
  }

  .floorvote-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .floorvote-title {
    font-size: 2.35rem;
  }

  .floorvote-title-word {
    font-size: 3.1rem;
  }

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

  .split-text {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .calendarrow-row,
  .calendarrow-row.calendarrow-alt {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .calendarrow-step,
  .calendarrow-seal {
    grid-column: 2;
    justify-self: start;
  }
}
