/* BDA ARCHITECTURE, P.C. — sun-dried brick yard theme */

:root {
  --limewash: #F4EEE4;
  --kiln-ink: #2B241E;
  --terra-fresh: #A94F35;
  --yard-deep: #40513E;
  --mold-cream: #FBF8F1;
  --sand-straw: #DCCDB2;
  --mortar-taupe: #6E5A44;
  --sky-shade: #4C5F66;
}

* { 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;
  background-color: #F4EEE4;
  color: #2B241E;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: #A94F35; }

/* ============ YARD GATE HEADER ============ */
.yardgate {
  background-color: #2B241E;
  padding: 0 24px;
  border-bottom: 6px solid #A94F35;
}

.yardgate-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0 0;
}

.yardgate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
}

.brand-glyph {
  width: 30px;
  height: 22px;
  background-color: #A94F35;
  border: 3px solid #FBF8F1;
  position: relative;
  flex: 0 0 auto;
}
.brand-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 3px;
  background-color: #FBF8F1;
  transform: translateX(-50%);
}

.brand-text {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: #FBF8F1;
  font-weight: bold;
}

.yardgate-boards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.yardgate-boards li { margin: 0; }

.gate-board {
  display: block;
  background-color: #6E5A44;
  color: #FBF8F1;
  text-decoration: none;
  padding: 10px 16px;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-top: 3px solid #DCCDB2;
}
.gate-board:hover,
.gate-board:focus {
  background-color: #A94F35;
  border-top-color: #FBF8F1;
}
.gate-board.b1 { padding-top: 8px; padding-bottom: 14px; }
.gate-board.b2 { padding-top: 14px; padding-bottom: 8px; }
.gate-board.b3 { padding-top: 6px; padding-bottom: 16px; }
.gate-board.b4 { padding-top: 16px; padding-bottom: 6px; }
.gate-board.b5 { padding-top: 11px; padding-bottom: 11px; }

.yardgate-toggle {
  display: none;
  background-color: #A94F35;
  color: #FBF8F1;
  border: 2px solid #FBF8F1;
  font-size: 1.2rem;
  padding: 6px 14px;
  cursor: pointer;
  margin-bottom: 14px;
}

/* ============ HERO: CASTING BED BAY ============ */
.castbed-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 0 24px;
}

.castbed-head {
  max-width: 760px;
}

.home-kicker {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6E5A44;
  margin: 0 0 14px 0;
}

.home-h1 {
  font-size: 2.9rem;
  line-height: 1.12;
  margin: 0 0 6px 0;
  color: #2B241E;
  font-weight: bold;
}

.home-h1 .grand {
  display: block;
  font-size: 4.6rem;
  color: #A94F35;
  letter-spacing: 2px;
}

.home-lead {
  font-size: 1.08rem;
  color: #2B241E;
  margin: 20px 0 0 0;
  max-width: 700px;
}

.home-secondary {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.95rem;
  color: #A94F35;
  text-decoration: none;
  border-bottom: 2px solid #A94F35;
  padding-bottom: 2px;
}
.home-secondary:hover { color: #40513E; border-bottom-color: #40513E; }

/* --- the full-width yard band --- */
.castbed-band {
  background-color: #FBF8F1;
  border-top: 5px solid #DCCDB2;
  border-bottom: 5px solid #DCCDB2;
  margin-top: 34px;
}

.castbed-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 28px;
  padding: 38px 24px 30px 24px;
  align-items: end;
}

.yard-scene { position: relative; min-height: 250px; }

.scene-label {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6E5A44;
  margin: 0 0 8px 0;
}

/* casting bed: molds in a row */
.bed-ground {
  position: relative;
  height: 8px;
  background-color: #DCCDB2;
  margin-top: 150px;
}

.mold {
  position: absolute;
  bottom: 8px;
  width: 46px;
  height: 30px;
  background-color: #6E5A44;
  border: 3px solid #2B241E;
}
.mold::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background-color: #2B241E;
  transform: translateX(-50%);
}
.mold.m1 { left: 4%; }
.mold.m2 { left: 22%; }
.mold.m3 { left: 40%; }
.mold.m4 { left: 58%; }
.mold.m5 { left: 76%; }

.mortar-tub {
  position: absolute;
  left: 6%;
  bottom: 8px;
  width: 62px;
  height: 40px;
  background-color: #9A6A46;
  border: 4px solid #2B241E;
  border-radius: 0 0 14px 14px;
}
.mortar-tub::after {
  content: "";
  position: absolute;
  left: 18px;
  top: -34px;
  width: 4px;
  height: 38px;
  background-color: #2B241E;
  transform: rotate(16deg);
  transform-origin: bottom center;
}
.mortar-tub::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -24px;
  width: 24px;
  height: 12px;
  background-color: #2B241E;
  transform: rotate(16deg);
}

/* drying rack */
.rack-ground {
  position: relative;
  height: 8px;
  background-color: #DCCDB2;
  margin-top: 150px;
}

.standing-brick {
  position: absolute;
  bottom: 8px;
  width: 30px;
  height: 46px;
  background-color: #A94F35;
  border: 3px solid #2B241E;
}
.standing-brick::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  background-color: #F4EEE4;
}
.sb1 { left: 6%; height: 40px; }
.sb2 { left: 24%; height: 56px; }
.sb3 { left: 42%; height: 34px; }
.sb4 { left: 60%; height: 62px; }
.sb5 { left: 78%; height: 44px; }

.gauge-board {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  width: 210px;
  height: 34px;
  background-color: #FBF8F1;
  border: 3px solid #2B241E;
}
.gauge-board::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 3px;
  background-color: #4C5F66;
}

/* pyramid and wheelbarrow */
.pile-ground {
  position: relative;
  height: 8px;
  background-color: #DCCDB2;
  margin-top: 150px;
}

.brick-pile span {
  position: absolute;
  background-color: #A94F35;
  border: 3px solid #2B241E;
}
.pile-a { left: 12%; bottom: 8px; width: 44px; height: 16px; }
.pile-b { left: 12%; bottom: 24px; width: 44px; height: 16px; }
.pile-c { left: 12%; bottom: 40px; width: 44px; height: 16px; }
.pile-d { left: 26%; bottom: 8px; width: 44px; height: 16px; }
.pile-e { left: 26%; bottom: 24px; width: 44px; height: 16px; }
.pile-f { left: 40%; bottom: 8px; width: 44px; height: 16px; }

.wheelbarrow {
  position: absolute;
  right: 4%;
  bottom: 8px;
  width: 76px;
  height: 44px;
  background-color: #40513E;
  border: 4px solid #2B241E;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
}
.wheelbarrow::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #2B241E;
}
.wheelbarrow::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 34px;
  height: 5px;
  background-color: #2B241E;
  transform: rotate(-18deg);
}

.canopy-poles {
  position: absolute;
  right: 30%;
  bottom: 8px;
  width: 120px;
  height: 150px;
}
.canopy-poles::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 150px;
  background-color: #6E5A44;
}
.canopy-poles::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 6px;
  height: 150px;
  background-color: #6E5A44;
}
.canopy-roof {
  position: absolute;
  left: -14px;
  top: 0;
  width: 148px;
  height: 14px;
  background-color: #40513E;
  border: 3px solid #2B241E;
}

/* primary CTA full-width functional bar */
.castbed-cta {
  display: block;
  background-color: #A94F35;
  color: #FBF8F1;
  text-decoration: none;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 20px 24px;
  text-align: center;
  border-top: 4px solid #2B241E;
}
.castbed-cta:hover { background-color: #40513E; }

/* ============ DRYING RACK LADDER ============ */
.dryrack {
  max-width: 1160px;
  margin: 0 auto;
  padding: 70px 24px 40px 24px;
}

.section-title {
  font-size: 2.1rem;
  color: #2B241E;
  margin: 0 0 8px 0;
}

.section-sub {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6E5A44;
  margin: 0 0 36px 0;
}

.entry {
  position: relative;
  background-color: #FBF8F1;
  border-left: 8px solid #DCCDB2;
  border-bottom: 3px solid #DCCDB2;
  padding: 22px 26px;
  margin-bottom: 20px;
}
.entry.e1 { width: 88%; margin-left: 0; }
.entry.e2 { width: 80%; margin-left: auto; }
.entry.e3 { width: 92%; margin-left: 3%; }
.entry.e4 { width: 84%; margin-left: auto; }
.entry.e5 { width: 90%; margin-left: 1%; }
.entry.e6 { width: 78%; margin-left: auto; }

.gauge-notch {
  position: absolute;
  left: -8px;
  top: 18px;
  background-color: #4C5F66;
  color: #FBF8F1;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 4px 8px;
  letter-spacing: 1px;
}

.entry h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  color: #2B241E;
}
.entry p { margin: 0 0 10px 0; color: #2B241E; }
.entry a {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.85rem;
  color: #A94F35;
  text-decoration: none;
  border-bottom: 2px solid #A94F35;
}
.entry a:hover { color: #40513E; border-bottom-color: #40513E; }

.entry-pile {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 34px;
  height: 40px;
}
.entry-pile span {
  position: absolute;
  left: 0;
  width: 34px;
  height: 10px;
  background-color: #A94F35;
  border: 2px solid #2B241E;
}
.entry-pile span:nth-child(2) { top: 14px; }
.entry-pile span:nth-child(3) { top: 28px; }

.entry-sand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-color: #DCCDB2;
}

/* ============ COURSING BAND ============ */
.coursing-band {
  background-color: #40513E;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  margin: 40px 0 0 0;
}

.coursing-notches {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.coursing-notches span {
  width: 10px;
  height: 26px;
  background-color: #4C5F66;
}
.coursing-notches span:nth-child(even) { height: 18px; margin-top: 8px; }

.coursing-sentence {
  color: #FBF8F1;
  font-size: 1rem;
  margin: 0;
}

/* ============ CANOPY POSTS FOOTER ============ */
.canopypost {
  background-color: #40513E;
  margin-top: 0;
}

.canopypost-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  padding: 46px 24px 30px 24px;
}

.canopypost-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.canopypost-glyph {
  width: 26px;
  height: 20px;
  background-color: #A94F35;
  border: 3px solid #FBF8F1;
  position: relative;
  flex: 0 0 auto;
  margin-top: 4px;
}
.canopypost-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 3px;
  background-color: #FBF8F1;
  transform: translateX(-50%);
}

.canopypost-name {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: #FBF8F1;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.canopypost-blurb {
  color: #DCCDB2;
  font-size: 0.95rem;
  margin: 0;
}

.canopypost-col h4 {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DCCDB2;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #6E5A44;
}

.canopypost-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.canopypost-col li { margin: 0 0 10px 0; }
.canopypost-col a {
  color: #FBF8F1;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}
.canopypost-col a:hover { border-bottom-color: #FBF8F1; }

.canopypost-strip {
  background-color: #DCCDB2;
  padding: 16px 24px;
}
.canopypost-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.84rem;
  color: #2B241E;
}
.canopypost-strip-inner .pole-glyph {
  width: 6px;
  height: 18px;
  background-color: #6E5A44;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* ============ REVEAL ============ */
.reveal-it {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-it.is-shown {
  opacity: 1;
  transform: none;
}

/* ============ SERVICES PAGE ============ */
.page-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 24px 10px 24px;
}
.page-hero h1 {
  font-size: 2.5rem;
  color: #2B241E;
  margin: 0 0 12px 0;
}
.page-hero p {
  max-width: 780px;
  color: #2B241E;
  font-size: 1.05rem;
}

.service-block {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
}
.service-block h2 {
  font-size: 1.55rem;
  color: #2B241E;
  margin: 34px 0 10px 0;
  padding-left: 16px;
  border-left: 7px solid #A94F35;
}
.service-block p { color: #2B241E; margin: 0 0 12px 0; }

.process-overview {
  max-width: 1160px;
  margin: 20px auto 0 auto;
  padding: 34px 24px;
  background-color: #FBF8F1;
  border-top: 5px solid #DCCDB2;
  border-bottom: 5px solid #DCCDB2;
}
.process-overview h2 {
  font-size: 1.7rem;
  color: #2B241E;
  margin: 0 0 14px 0;
}
.process-overview ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-overview li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 56px;
  border-bottom: 2px solid #DCCDB2;
  color: #2B241E;
}
.process-overview li:last-child { border-bottom: none; }
.process-overview li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  background-color: #40513E;
  color: #FBF8F1;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  text-align: center;
  line-height: 34px;
  font-size: 0.9rem;
}

.service-cta {
  max-width: 1160px;
  margin: 34px auto 46px auto;
  padding: 0 24px;
}
.service-cta a {
  display: block;
  background-color: #A94F35;
  color: #FBF8F1;
  text-decoration: none;
  text-align: center;
  padding: 20px 24px;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 4px solid #2B241E;
}
.service-cta a:hover { background-color: #40513E; }

/* ============ CONTACT PAGE ============ */
.contact-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 24px 20px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}
.contact-wrap h1 {
  font-size: 2.4rem;
  color: #2B241E;
  margin: 0 0 12px 0;
}
.contact-wrap p { color: #2B241E; }

.contact-form label {
  display: block;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6E5A44;
  margin: 14px 0 6px 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: Georgia, serif;
  font-size: 1rem;
  padding: 11px 12px;
  border: 3px solid #6E5A44;
  background-color: #FBF8F1;
  color: #2B241E;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  margin-top: 18px;
  background-color: #A94F35;
  color: #FBF8F1;
  border: 3px solid #2B241E;
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 26px;
  cursor: pointer;
}
.contact-form button:hover { background-color: #40513E; }

.form-note {
  font-size: 0.9rem;
  color: #6E5A44;
  margin-top: 12px;
}

.contact-info {
  background-color: #FBF8F1;
  border-left: 8px solid #A94F35;
  padding: 26px;
}
.contact-info h2 {
  font-size: 1.3rem;
  color: #2B241E;
  margin: 0 0 12px 0;
}
.contact-info h2:not(:first-child) { margin-top: 26px; }
.contact-info p { margin: 0 0 8px 0; }
.contact-info a { color: #A94F35; text-decoration: none; border-bottom: 2px solid #A94F35; }
.contact-info a:hover { color: #40513E; border-bottom-color: #40513E; }

.faq-block {
  max-width: 1160px;
  margin: 10px auto 46px auto;
  padding: 0 24px;
}
.faq-block h2 {
  font-size: 1.7rem;
  color: #2B241E;
  margin: 30px 0 16px 0;
}
.faq-item {
  background-color: #FBF8F1;
  border-left: 7px solid #DCCDB2;
  margin-bottom: 14px;
}
.faq-q {
  width: 100%;
  text-align: left;
  background-color: #FBF8F1;
  border: none;
  border-bottom: 2px solid #DCCDB2;
  color: #2B241E;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  padding: 16px 20px;
  cursor: pointer;
}
.faq-q:hover { color: #A94F35; }
.faq-a {
  display: none;
  padding: 16px 20px;
  color: #2B241E;
  margin: 0;
}
.faq-item.is-open .faq-a { display: block; }

/* ============ YARD NOTES ============ */
.yard-notes {
  background-color: #FBF8F1;
  border-top: 5px solid #DCCDB2;
  border-bottom: 5px solid #DCCDB2;
}
.yard-notes-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 56px 24px;
}
.notes-flow {
  columns: 2;
  column-gap: 46px;
  column-rule: 3px solid #DCCDB2;
}
.notes-flow p {
  margin: 0 0 18px 0;
  color: #2B241E;
  break-inside: avoid;
}
.notes-services {
  margin-top: 30px;
  padding: 22px 26px;
  background-color: #F4EEE4;
  border-left: 8px solid #40513E;
}
.notes-services p { margin: 0; color: #2B241E; }
.notes-services a {
  color: #A94F35;
  text-decoration: none;
  border-bottom: 2px solid #A94F35;
}
.notes-services a:hover { color: #40513E; border-bottom-color: #40513E; }

@media (max-width: 760px) {
  .notes-flow { columns: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .castbed-band-inner { grid-template-columns: 1fr; }
  .canopypost-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .entry.e1, .entry.e2, .entry.e3, .entry.e4, .entry.e5, .entry.e6 {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .yardgate-toggle { display: block; }
  .yardgate-inner { flex-wrap: wrap; align-items: center; padding-top: 14px; }
  .yardgate-boards {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    padding-bottom: 16px;
  }
  .yardgate-boards.is-open { display: flex; }
  .gate-board { width: 100%; padding: 12px 14px !important; }
  .home-h1 { font-size: 2.1rem; }
  .home-h1 .grand { font-size: 3rem; }
  .coursing-band { flex-direction: column; align-items: flex-start; }
}
