/* =====================================================================
   Alain Hirsch Construction Corp. — Stair Hall Mockup stylesheet
   Palette: linen ground, charcoal ink, brass handrail accents.
   Theme: LIGHT. Accent: #B3823A handrail-brass.
   ===================================================================== */

:root {
  --linen: #F2EFE8;
  --ink: #2B2925;
  --brass: #B3823A;
  --brass-deep: #8C6427;
  --tread: #FAF7EE;
  --oak: #E7DFCC;
  --slate: #46586A;
  --mist: #E3E7EB;
  --rust: #A24E32;
  --paper: #FBF9F3;
  --ink-soft: #4A4640;
  --rule: #C9BFA6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Georgia", "Times New Roman", serif;
  background-color: #F2EFE8;
  color: #2B2925;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #8C6427;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: "Optima", "Gill Sans", "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  color: #2B2925;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1.1em;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: #8C6427;
  margin-bottom: 0.6em;
}

/* ============================ TREADRAIL NAV ============================ */

.treadrail {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #FAF7EE;
  border-bottom: 3px solid #2B2925;
  box-shadow: 0 2px 0 #B3823A;
}

.treadrail-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.newel-brand {
  flex: 0 0 auto;
  padding-bottom: 12px;
  position: relative;
}

.newel-post-block {
  display: inline-block;
  background-color: #46586A;
  color: #FAF7EE;
  padding: 14px 18px 16px;
  border-radius: 3px 3px 0 0;
  position: relative;
  border: 2px solid #2B2925;
  border-bottom: none;
}

.newel-post-block::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background-color: #B3823A;
  border: 2px solid #2B2925;
  border-radius: 50%;
}

.newel-brand-name {
  display: block;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.newel-brand-sub {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E7DFCC;
  margin-top: 3px;
}

.treadrail-handrail {
  flex: 1 1 auto;
  height: 8px;
  margin-bottom: 34px;
  background-color: #B3823A;
  border-radius: 4px;
  border: 1px solid #8C6427;
  position: relative;
}

.treadrail-handrail::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -26px;
  width: 3px;
  height: 26px;
  background-color: #8C6427;
}

.treadrail-treads {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
  padding: 0 24px 0;
  max-width: 1220px;
  margin: 0 auto;
}

.tread-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2B2925;
  background-color: #E7DFCC;
  border: 2px solid #2B2925;
  border-bottom: none;
  padding: 16px 22px 14px;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  transition: background-color 0.15s linear, color 0.15s linear;
}

.tread-link:hover {
  background-color: #FAF7EE;
  color: #8C6427;
  text-decoration: none;
}

.tread-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: #46586A;
}

.tread-link.is-here {
  background-color: #B3823A;
  color: #2B2925;
}

.tread-link.is-here::before {
  background-color: #2B2925;
}

.tread-w1 { width: 118px; margin-bottom: 0; }
.tread-w2 { width: 140px; margin-bottom: 7px; }
.tread-w3 { width: 132px; margin-bottom: 14px; }
.tread-w4 { width: 146px; margin-bottom: 21px; }
.tread-w5 { width: 128px; margin-bottom: 28px; }

.treadrail-toggle {
  display: none;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #FAF7EE;
  background-color: #46586A;
  border: 2px solid #2B2925;
  padding: 12px 16px;
  cursor: pointer;
  margin-bottom: 18px;
}

/* ============================ HERO: STRINGER STAIRBAY ============================ */

.stringerbay {
  background-color: #F2EFE8;
  border-bottom: 4px solid #46586A;
}

.stringerbay-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px 54px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 34px;
  align-items: center;
}

.stringerbay-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 0.35em;
}

.stringerbay-copy h1 .hold-brass {
  color: #B3823A;
}

.stringerbay-copy .lede {
  font-size: 1.08rem;
  color: #4A4640;
  max-width: 62ch;
}

.hallctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.treadbtn {
  display: inline-block;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2B2925;
  background-color: #B3823A;
  padding: 15px 26px;
  border: 2px solid #2B2925;
  border-bottom-width: 7px;
  box-shadow: 6px 0 0 #8C6427;
}

.treadbtn:hover {
  background-color: #FAF7EE;
  color: #8C6427;
  text-decoration: none;
}

.treadbtn.ghost {
  background-color: #46586A;
  color: #FAF7EE;
  border-bottom-color: #2B2925;
  box-shadow: 6px 0 0 #2B2925;
}

.treadbtn.ghost:hover {
  background-color: #2B2925;
  color: #FAF7EE;
}

/* The staircase illustration, built from divs */
.stair-scene {
  position: relative;
  height: 350px;
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  padding: 14px;
  overflow: hidden;
}

.stringer-board {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 340px;
  height: 300px;
  background-color: #E7DFCC;
  clip-path: polygon(0 100%, 0 62%, 17% 62%, 17% 48%, 34% 48%, 34% 34%, 51% 34%, 51% 20%, 68% 20%, 68% 6%, 85% 6%, 85% 0, 100% 0, 100% 100%);
  border-left: 2px solid #2B2925;
}

.stair-tread {
  position: absolute;
  height: 22px;
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  border-top: 5px solid #B3823A;
}

.stair-tread.t1 { left: 12px;   bottom: 22px;  width: 110px; }
.stair-tread.t2 { left: 62px;   bottom: 64px;  width: 110px; }
.stair-tread.t3 { left: 112px;  bottom: 106px; width: 110px; }
.stair-tread.t4 { left: 162px;  bottom: 148px; width: 110px; }
.stair-tread.t5 { left: 212px;  bottom: 190px; width: 110px; }
.stair-tread.t6 { left: 262px;  bottom: 232px; width: 110px; }

.stair-rail {
  position: absolute;
  left: 46px;
  bottom: 196px;
  width: 290px;
  height: 7px;
  background-color: #B3823A;
  transform: rotate(-19deg);
  transform-origin: left center;
  border-radius: 3px;
}

.baluster {
  position: absolute;
  width: 5px;
  height: 60px;
  background-color: #8C6427;
}

.baluster.b1 { left: 60px;  bottom: 44px;  height: 56px; }
.baluster.b2 { left: 148px; bottom: 108px; height: 56px; }
.baluster.b3 { left: 238px; bottom: 172px; height: 56px; }

.tread-level {
  position: absolute;
  left: 120px;
  bottom: 132px;
  width: 96px;
  height: 9px;
  background-color: #46586A;
  border: 2px solid #2B2925;
}

.tread-level::after {
  content: "";
  position: absolute;
  left: 42px;
  top: -7px;
  width: 10px;
  height: 8px;
  background-color: #B3823A;
  border: 2px solid #2B2925;
  border-radius: 50%;
}

.lumber-stack {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 96px;
  height: 70px;
}

.lumber-offcut {
  position: absolute;
  height: 12px;
  background-color: #E7DFCC;
  border: 2px solid #2B2925;
}

.lumber-offcut.l1 { left: 0;   bottom: 0;  width: 96px; }
.lumber-offcut.l2 { left: 6px; bottom: 14px; width: 84px; }
.lumber-offcut.l3 { left: 2px; bottom: 28px; width: 90px; }
.lumber-offcut.l4 { left: 10px; bottom: 42px; width: 72px; }
.lumber-offcut.l5 { left: 4px; bottom: 56px; width: 80px; }

.nail-apron-hook {
  position: absolute;
  right: 122px;
  top: 16px;
  width: 12px;
  height: 26px;
  border: 3px solid #46586A;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.sandpaper-block {
  position: absolute;
  right: 30px;
  top: 20px;
  width: 54px;
  height: 30px;
  background-color: #A24E32;
  border: 2px solid #2B2925;
}

.tread-gauge-tool {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 74px;
  height: 16px;
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
}

.tread-gauge-tool::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 2px;
  width: 10px;
  height: 8px;
  background-color: #B3823A;
  border: 2px solid #2B2925;
}

.landing-platform {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 84px;
  height: 14px;
  background-color: #46586A;
  border: 2px solid #2B2925;
}

/* ============================ LANDING LEDGER (SERVICES) ============================ */

.landingledger {
  background-color: #E3E7EB;
  padding: 66px 0 70px;
  border-bottom: 4px solid #2B2925;
}

.ledger-head {
  max-width: 1140px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.ledger-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.ledger-head p {
  max-width: 74ch;
  color: #3A4450;
}

.flight-run {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 30px;
}

.flight-run.upper {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 44px;
}

.flight-run.lower {
  grid-template-columns: repeat(3, 1fr);
}

.flight-card {
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  padding: 18px 20px 24px;
  position: relative;
  box-shadow: 8px 8px 0 #46586A;
}

.flight-run.upper .flight-card:nth-child(1) { margin-top: 0; }
.flight-run.upper .flight-card:nth-child(2) { margin-top: 26px; }
.flight-run.upper .flight-card:nth-child(3) { margin-top: 52px; }

.flight-run.lower .flight-card:nth-child(1) { margin-top: 52px; }
.flight-run.lower .flight-card:nth-child(2) { margin-top: 26px; }
.flight-run.lower .flight-card:nth-child(3) { margin-top: 0; }

.flight-mini {
  position: relative;
  height: 64px;
  margin-bottom: 14px;
  border-bottom: 3px solid #B3823A;
}

.flight-step {
  position: absolute;
  bottom: 0;
  height: 14px;
  background-color: #E7DFCC;
  border: 2px solid #2B2925;
  border-top: 4px solid #B3823A;
}

.flight-step.fs1 { left: 0;   width: 60px; bottom: 0; }
.flight-step.fs2 { left: 26px; width: 60px; bottom: 16px; }
.flight-step.fs3 { left: 52px; width: 60px; bottom: 32px; }
.flight-step.fs4 { left: 78px; width: 60px; bottom: 48px; }

.landing-plate {
  background-color: #46586A;
  color: #FAF7EE;
  padding: 8px 12px;
  margin: 0 0 10px;
  display: inline-block;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.flight-card p {
  color: #3A3630;
  font-size: 0.95rem;
}

.flight-card .flight-link {
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8C6427;
}

.compliance-tag {
  position: absolute;
  top: -16px;
  right: -12px;
  background-color: #B3823A;
  color: #2B2925;
  border: 2px solid #2B2925;
  padding: 6px 10px;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

/* ============================ NARRATIVE BANDS ============================ */

.hallband {
  background-color: #FAF7EE;
  padding: 64px 0;
  border-bottom: 4px solid #B3823A;
}

.hallband.slate {
  background-color: #46586A;
  color: #F2EFE8;
  border-bottom-color: #2B2925;
}

.hallband.slate h2 {
  color: #FAF7EE;
}

.hallband.slate p {
  color: #EDE9DE;
}

.hallband.slate a {
  color: #E7DFCC;
  text-decoration: underline;
}

.band-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.band-grid h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
}

.band-copy p {
  color: #3A3630;
}

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

.offcut-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 2px solid #E7DFCC;
}

.offcut-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 10px;
  background-color: #B3823A;
  border: 2px solid #2B2925;
}

.hallband.slate .offcut-list li {
  border-bottom-color: #5B6E80;
}

.hallband.slate .offcut-list li::before {
  background-color: #B3823A;
  border-color: #FAF7EE;
}

/* ============================ CODE CHECK STRIP ============================ */

.codecheck {
  background-color: #B3823A;
  color: #2B2925;
  padding: 26px 0;
  border-top: 3px solid #2B2925;
  border-bottom: 3px solid #2B2925;
}

.codecheck-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.codecheck-badge {
  flex: 0 0 auto;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  background-color: #2B2925;
  color: #FAF7EE;
  padding: 8px 12px;
  border: 2px solid #2B2925;
}

.codecheck-text {
  flex: 1 1 260px;
  font-size: 1rem;
  font-weight: 600;
  color: #2B2925;
}

.codecheck a {
  color: #2B2925;
  text-decoration: underline;
}

/* ============================ NEWEL BASE FOOTER ============================ */

.newelbase {
  background-color: #46586A;
  color: #F2EFE8;
  padding: 0 0 0;
  border-top: 6px solid #B3823A;
}

.newelbase-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 46px 24px 10px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  align-items: start;
}

.foot-newel {
  position: relative;
  padding-top: 30px;
}

.foot-newel-cap {
  position: absolute;
  top: 0;
  left: 14px;
  width: 30px;
  height: 30px;
  background-color: #B3823A;
  border: 2px solid #FAF7EE;
  border-radius: 50%;
}

.foot-newel-post {
  background-color: #2B2925;
  border: 2px solid #FAF7EE;
  padding: 16px 16px 18px;
  border-radius: 2px;
}

.foot-brand-name {
  display: block;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #FAF7EE;
  line-height: 1.2;
}

.foot-brand-sub {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E7DFCC;
  margin-top: 4px;
}

.foot-balusters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.baluster-group {
  border-top: 6px solid #B3823A;
  padding-top: 14px;
}

.baluster-group h4 {
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #FAF7EE;
  margin-bottom: 0.7em;
}

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

.baluster-group li {
  margin-bottom: 7px;
}

.baluster-group a {
  color: #E3E7EB;
  font-size: 0.92rem;
}

.baluster-group a:hover {
  color: #FAF7EE;
}

.newelbase-nosing {
  height: 10px;
  background-color: #B3823A;
  border-top: 2px solid #2B2925;
  border-bottom: 2px solid #2B2925;
}

.newelbase-base {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 0.86rem;
  color: #E3E7EB;
}

.newelbase-base a {
  color: #FAF7EE;
}

.level-glyph {
  display: inline-block;
  width: 30px;
  height: 10px;
  background-color: #B3823A;
  border: 2px solid #FAF7EE;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
}

.level-glyph::after {
  content: "";
  position: absolute;
  left: 13px;
  top: -6px;
  width: 6px;
  height: 6px;
  background-color: #FAF7EE;
  border-radius: 50%;
}

.newelbase-base .copy-note {
  margin-left: auto;
}

/* ============================ SECONDARY PAGE SHELL ============================ */

.pagebanner {
  background-color: #FAF7EE;
  border-bottom: 4px solid #46586A;
  padding: 54px 0 46px;
}

.pagebanner-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.pagebanner h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.pagebanner p {
  max-width: 70ch;
  color: #3A3630;
}

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

.service-article {
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  border-left: 10px solid #B3823A;
  padding: 26px 28px;
  margin: 0 0 26px;
  box-shadow: 8px 8px 0 #E7DFCC;
}

.service-article h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}

.service-article p {
  color: #3A3630;
}

.process-strip {
  background-color: #46586A;
  color: #F2EFE8;
  padding: 56px 0;
}

.process-strip h2 {
  color: #FAF7EE;
}

.process-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-cell {
  background-color: #2B2925;
  border-top: 6px solid #B3823A;
  padding: 18px 16px 20px;
}

.process-cell h4 {
  color: #FAF7EE;
  font-size: 0.95rem;
}

.process-cell p {
  color: #E3E7EB;
  font-size: 0.9rem;
  margin: 0;
}

.cta-band {
  background-color: #B3823A;
  color: #2B2925;
  padding: 42px 0;
  border-top: 3px solid #2B2925;
  border-bottom: 3px solid #2B2925;
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.cta-band h2 {
  flex: 1 1 360px;
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

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

.contact-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 66px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  border-top: 10px solid #B3823A;
  padding: 28px 26px 30px;
  box-shadow: 8px 8px 0 #E7DFCC;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #46586A;
  margin-bottom: 6px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #2B2925;
  background-color: #FFFFFF;
  border: 2px solid #2B2925;
  padding: 11px 12px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid #B3823A;
  outline-offset: 0;
}

.form-note {
  font-size: 0.85rem;
  color: #4A4640;
}

.form-status {
  margin-top: 12px;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 0.86rem;
  color: #8C6427;
  font-weight: 700;
}

.contact-side {
  display: grid;
  gap: 22px;
}

.side-card {
  background-color: #46586A;
  color: #F2EFE8;
  border: 2px solid #2B2925;
  padding: 20px 20px 22px;
}

.side-card h3 {
  color: #FAF7EE;
  font-size: 1.05rem;
}

.side-card p,
.side-card address {
  color: #EDE9DE;
  font-style: normal;
  font-size: 0.94rem;
}

.side-card a {
  color: #E7DFCC;
  text-decoration: underline;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #5B6E80;
  font-size: 0.9rem;
  color: #EDE9DE;
}

.faq-block {
  background-color: #E3E7EB;
  padding: 56px 0;
  border-top: 4px solid #46586A;
}

.faq-block h2 {
  max-width: 1140px;
  margin: 0 auto 26px;
  padding: 0 24px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.faq-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item {
  background-color: #FAF7EE;
  border: 2px solid #2B2925;
  border-left: 8px solid #B3823A;
  margin-bottom: 14px;
}

.faq-q {
  width: 100%;
  text-align: left;
  cursor: pointer;
  background-color: #FAF7EE;
  color: #2B2925;
  border: none;
  padding: 16px 18px;
  font-family: "Optima", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.faq-q:hover {
  color: #8C6427;
}

.faq-a {
  padding: 0 18px 18px;
  color: #3A3630;
  display: none;
}

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

/* ============================ REVEAL ANIMATION ============================ */

.reveal-candidate {
  transform: translateY(0);
  transition: transform 0.5s ease;
}

html.js-ready .reveal-candidate {
  transform: translateY(18px);
}

html.js-ready .reveal-candidate.is-revealed {
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .stringerbay-grid {
    grid-template-columns: 1fr;
  }
  .stair-scene {
    height: 320px;
  }
  .band-grid {
    grid-template-columns: 1fr;
  }
  .flight-run.upper,
  .flight-run.lower {
    grid-template-columns: 1fr;
  }
  .flight-run.upper .flight-card,
  .flight-run.lower .flight-card {
    margin-top: 0;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .newelbase-grid {
    grid-template-columns: 1fr;
  }
  .foot-balusters {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .treadrail-inner {
    max-width: 100%;
    padding: 10px 16px 0;
  }
  .treadrail-handrail {
    display: none;
  }
  .treadrail-toggle {
    display: block;
    margin-left: auto;
  }
  .treadrail-treads {
    flex-wrap: wrap;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.25s ease;
  }
  .treadrail-treads.is-open {
    max-height: 420px;
    padding: 10px 16px 18px;
  }
  .tread-link {
    clip-path: none;
    width: auto;
    flex: 1 1 42%;
    border: 2px solid #2B2925;
  }
  .tread-link::before {
    display: none;
  }
  .tread-w1, .tread-w2, .tread-w3, .tread-w4, .tread-w5 {
    width: auto;
    margin-bottom: 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .codecheck-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .newelbase-base .copy-note {
    margin-left: 0;
  }
}
