/* Baumgardner Holdings LLC — Systems Integration practice
   Palette: GRAIN-PAPER #F1EDDE, ELEV-INK #2E2A21, AUGER-GOLD #B08226,
   PIT-DEEP #23201A, DUST-CREAM #EAE4D0, SILO-SLATE #4A555C, TICKET-RUST #9C4F2C */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", "Nimbus Roman", serif;
  background-color: #F1EDDE;
  color: #2E2A21;
  line-height: 1.68;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: #6C4E10;
}

h1,
h2,
h3,
h4 {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.18;
  color: #2E2A21;
}

p {
  margin: 0 0 1.05em;
}

.grail-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ ANNEX DOORFRAME HEADER (.graindrive) ============ */
.graindrive {
  background-color: #23201A;
  border-bottom: 4px solid #B08226;
}

.graindrive-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.graindrive-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.graindrive-hoop {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 4px solid #B08226;
  box-shadow: inset 0 0 0 3px #23201A, inset 0 0 0 5px #B08226;
  flex: 0 0 auto;
}

.graindrive-sign b {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  color: #EAE4D0;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.1;
}

.graindrive-sign span {
  display: block;
  color: #C9A248;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
}

.doorframe-ticks {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.doorframe-tick {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 6px 4px 0 4px;
  border-bottom: 2px solid #4A555C;
  color: #F1EDDE;
  text-decoration: none;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doorframe-tick i {
  display: block;
  width: 3px;
  background-color: #B08226;
}

.doorframe-tick:nth-child(1) i { height: 14px; }
.doorframe-tick:nth-child(2) i { height: 20px; }
.doorframe-tick:nth-child(3) i { height: 11px; }
.doorframe-tick:nth-child(4) i { height: 24px; }
.doorframe-tick:nth-child(5) i { height: 17px; }

.doorframe-tick:hover {
  color: #B08226;
  border-bottom-color: #B08226;
}

.doorframe-tick.is-here {
  color: #B08226;
  border-bottom-color: #B08226;
}

.graindrive-burger {
  display: none;
  background-color: #B08226;
  color: #23201A;
  border: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}

/* ============ HERO: ELEVATOR BLOCK BAY (.grainelev) ============ */
.grainelev {
  padding: 54px 0 0 0;
  background-color: #F1EDDE;
  border-bottom: 1px solid #D6CFB8;
}

.grainelev-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 30px 24px;
}

.grainelev-head h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  margin: 0 0 6px 0;
  font-weight: 700;
}

.grainelev-head h1 em {
  font-style: normal;
  color: #9C4F2C;
  display: block;
  font-size: 1.06em;
  letter-spacing: 0.02em;
}

.grainelev-lede {
  max-width: 720px;
  font-size: 1.06rem;
  color: #2E2A21;
  margin: 14px 0 0 0;
}

.grainelev-next {
  display: inline-block;
  margin-top: 10px;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6418;
  text-decoration: none;
  border-bottom: 2px solid #B08226;
  padding-bottom: 2px;
}

.grainelev-next:hover {
  color: #6C4E10;
}

/* the full-width elevator band */
.elev-band {
  background-color: #EAE4D0;
  border-top: 1px solid #CFC7AE;
  border-bottom: 1px solid #CFC7AE;
}

.elev-band-scene {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* tall shiplap elevator block */
.shiplap-block {
  position: relative;
  width: 200px;
  height: 300px;
  background-color: #D8D0B8;
  border: 3px solid #2E2A21;
  border-bottom: 0;
  background-image: repeating-linear-gradient(
    90deg,
    #D8D0B8 0px,
    #D8D0B8 20px,
    #C4BB9F 20px,
    #C4BB9F 23px
  );
}

.bin-plaque {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background-color: #B08226;
  border: 4px solid #2E2A21;
  box-shadow: inset 0 0 0 6px #EAE4D0, inset 0 0 0 9px #2E2A21;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #23201A;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.shiplap-cornice {
  position: absolute;
  top: -14px;
  left: -10px;
  right: -10px;
  height: 16px;
  background-color: #2E2A21;
}

/* drive-through alley portal */
.alley-portal {
  position: relative;
  flex: 1 1 auto;
  max-width: 300px;
  height: 250px;
  align-self: flex-end;
  border: 4px solid #2E2A21;
  border-bottom: 0;
  background-color: #C4BB9F;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.alley-arch {
  width: 62%;
  height: 72%;
  margin-top: 0;
  background-color: #2E2A21;
  border-radius: 50% 50% 0 0;
}

.office-window {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 52px;
  height: 46px;
  background-color: #C9A248;
  border: 3px solid #2E2A21;
}

.office-window::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: #2E2A21;
}

/* auger tube + scale house ticket window */
.auger-rise {
  position: relative;
  width: 40px;
  height: 300px;
  border: 3px solid #2E2A21;
  background-color: #A89B7C;
  background-image: repeating-linear-gradient(
    180deg,
    #A89B7C 0px,
    #A89B7C 16px,
    #928768 16px,
    #928768 19px
  );
  align-self: flex-end;
}

.auger-cap {
  position: absolute;
  top: -16px;
  left: -8px;
  right: -8px;
  height: 18px;
  background-color: #B08226;
  border: 3px solid #2E2A21;
}

.ticket-window {
  position: absolute;
  bottom: 18px;
  right: 12px;
  width: 46px;
  height: 40px;
  background-color: #C9A248;
  border: 3px solid #2E2A21;
}

/* full-width functional CTA bar */
.elev-bar {
  display: block;
  background-color: #B08226;
  color: #23201A;
  text-decoration: none;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding: 18px 24px;
  text-align: center;
  border-top: 3px solid #23201A;
}

.elev-bar span {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}

.elev-bar:hover {
  background-color: #946D1E;
  color: #23201A;
}

/* ============ BIN PLAQUE LADDER (.elevbin) ============ */
.elevbin {
  padding: 62px 0 40px 0;
  background-color: #F1EDDE;
}

.elevbin-intro {
  max-width: 1180px;
  margin: 0 auto 40px auto;
  padding: 0 24px;
}

.elevbin-intro h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  margin: 0 0 10px 0;
}

.elevbin-intro p {
  max-width: 780px;
  color: #2E2A21;
}

.elevbin-ladder {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.elevbin-plaque {
  position: relative;
  background-color: #EAE4D0;
  border: 3px solid #2E2A21;
  border-radius: 46px;
  padding: 30px 40px;
  margin-bottom: 26px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.elevbin-plaque.is-revealed {
  transform: translateY(0);
}

.elevbin-plaque:hover {
  border-color: #B08226;
}

/* deliberate irregular widths and offsets */
.elevbin-plaque.a-d {
  width: 86%;
  margin-left: 0;
}

.elevbin-plaque.a-j {
  width: 78%;
  margin-left: 10%;
}

.elevbin-plaque.a-m {
  width: 90%;
  margin-left: 2%;
}

.elevbin-plaque.a-p {
  width: 74%;
  margin-left: 14%;
}

.elevbin-plaque.a-t {
  width: 88%;
  margin-left: 1%;
}

.elevbin-plaque.a-z {
  width: 80%;
  margin-left: 8%;
}

.bin-letter {
  position: absolute;
  top: -18px;
  left: 34px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #B08226;
  border: 3px solid #2E2A21;
  color: #23201A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.bin-letter.hoop-ring {
  box-shadow: inset 0 0 0 5px #EAE4D0, inset 0 0 0 7px #2E2A21;
}

.bin-letter.rivet::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #9C4F2C;
}

.elevbin-plaque h3 {
  margin: 4px 0 8px 0;
  font-size: 1.24rem;
}

.elevbin-plaque h3 a {
  color: #2E2A21;
  text-decoration: none;
  border-bottom: 2px solid #B08226;
}

.elevbin-plaque h3 a:hover {
  color: #8A6418;
}

.elevbin-plaque p {
  margin: 0;
  color: #2E2A21;
}

/* ============ DRIFT APRON BAND (accent strip) ============ */
.driftapron {
  background-color: #23201A;
  padding: 20px 0;
}

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

.drift-battens {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  flex: 0 0 auto;
}

.drift-battens i {
  display: block;
  width: 9px;
  background-color: #B08226;
}

.drift-battens i:nth-child(1) { height: 30px; }
.drift-battens i:nth-child(2) { height: 20px; }
.drift-battens i:nth-child(3) { height: 26px; }

.driftapron-inner p {
  margin: 0;
  color: #EAE4D0;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

/* ============ LONG-FORM COPY BLOCKS ============ */
.annexcopy {
  padding: 60px 0;
  background-color: #F1EDDE;
}

.annexcopy.alt {
  background-color: #EAE4D0;
  border-top: 1px solid #CFC7AE;
  border-bottom: 1px solid #CFC7AE;
}

.annexcopy-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.annexcopy h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  margin: 0 0 12px 0;
}

.annexcopy h3 {
  font-size: 1.12rem;
  margin: 26px 0 6px 0;
}

.annexcopy p {
  color: #2E2A21;
}

.annexcopy-side {
  background-color: #EAE4D0;
  border: 3px solid #2E2A21;
  border-radius: 18px;
  padding: 26px 28px;
}

.annexcopy.alt .annexcopy-side {
  background-color: #F1EDDE;
}

.annexcopy-side h3 {
  margin-top: 0;
}

.annexcopy-side ul {
  margin: 0;
  padding-left: 20px;
  color: #2E2A21;
}

.annexcopy-side li {
  margin-bottom: 9px;
}

/* ============ SCALE HOUSE FOOTER (.scalehouse) ============ */
.scalehouse {
  background-color: #23201A;
  color: #EAE4D0;
  border-top: 4px solid #B08226;
}

.scalehouse-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 34px 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 46px;
}

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

.scalehouse-win {
  flex: 0 0 auto;
  width: 74px;
  height: 58px;
  background-color: #C9A248;
  border: 4px solid #B08226;
  box-shadow: inset 0 0 0 3px #23201A;
}

.scalehouse-brand h3 {
  color: #EAE4D0;
  margin: 0 0 8px 0;
  font-size: 1.16rem;
}

.scalehouse-brand p {
  color: #D8D0B8;
  margin: 0;
  font-size: 0.95rem;
}

.scalehouse-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  align-content: start;
}

.scalehouse-nav h4 {
  grid-column: 1 / -1;
  color: #B08226;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.scalehouse-nav h4 span {
  color: #B08226;
  margin-right: 8px;
}

.scalehouse-nav a {
  color: #EAE4D0;
  text-decoration: none;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  padding: 3px 0;
  border-bottom: 1px solid #3A362C;
}

.scalehouse-nav a:hover {
  color: #B08226;
  border-bottom-color: #B08226;
}

.scalehouse-strip {
  background-color: #2E2A21;
  border-top: 1px solid #3A362C;
}

.scalehouse-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: center;
  justify-content: space-between;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  color: #D8D0B8;
}

.scalehouse-strip-inner a {
  color: #D8D0B8;
}

.scalehouse-strip-inner a:hover {
  color: #B08226;
}

.grain-glyph {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #B08226;
  margin-right: 7px;
  vertical-align: -1px;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  transform: translateY(16px);
  transition: transform 640ms ease;
}

.reveal.is-revealed {
  transform: translateY(0);
}

/* ============ SERVICES PAGE ============ */
.pagehead {
  background-color: #EAE4D0;
  border-bottom: 1px solid #CFC7AE;
  padding: 48px 0 40px 0;
}

.pagehead h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  margin: 0 0 10px 0;
}

.pagehead p {
  max-width: 760px;
  margin: 0;
  font-size: 1.04rem;
}

.service-block {
  padding: 44px 0;
  border-bottom: 1px solid #D6CFB8;
}

.service-block:nth-child(even) {
  background-color: #EAE4D0;
}

.service-block-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 34px;
}

.service-tag {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #23201A;
  background-color: #B08226;
  border: 3px solid #2E2A21;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block h2 {
  font-size: 1.4rem;
  margin: 0 0 12px 0;
}

.service-block p {
  color: #2E2A21;
  margin: 0 0 12px 0;
}

.process-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  counter-reset: stepc;
}

.process-step {
  position: relative;
  padding: 20px 0 20px 70px;
  border-bottom: 1px solid #D6CFB8;
}

.process-step h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
}

.process-step::before {
  counter-increment: stepc;
  content: counter(stepc);
  position: absolute;
  left: 0;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #23201A;
  color: #B08226;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
}

.page-cta {
  padding: 56px 0;
  background-color: #EAE4D0;
  border-top: 1px solid #CFC7AE;
  text-align: center;
}

.page-cta h2 {
  margin: 0 0 12px 0;
  font-size: 1.7rem;
}

.page-cta p {
  max-width: 700px;
  margin: 0 auto 22px auto;
}

.cta-btn {
  display: inline-block;
  background-color: #B08226;
  color: #23201A;
  border: 3px solid #23201A;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 15px 30px;
  text-decoration: none;
}

.cta-btn:hover {
  background-color: #946D1E;
  color: #23201A;
}

/* ============ CONTACT PAGE ============ */
.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
}

.contact-form {
  background-color: #EAE4D0;
  border: 3px solid #2E2A21;
  border-radius: 18px;
  padding: 30px 32px;
}

.contact-form label {
  display: block;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2E2A21;
  margin: 16px 0 6px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #2E2A21;
  background-color: #F1EDDE;
  border: 2px solid #4A555C;
  border-radius: 8px;
  padding: 11px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #B08226;
  outline: 2px solid #B08226;
}

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

.contact-form button {
  margin-top: 20px;
  background-color: #B08226;
  color: #23201A;
  border: 3px solid #23201A;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  padding: 14px 28px;
  cursor: pointer;
}

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

.form-note {
  font-size: 0.86rem;
  color: #4A555C;
  margin-top: 12px;
}

.contact-info h2 {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
}

.contact-info address {
  font-style: normal;
  color: #2E2A21;
  margin: 0 0 18px 0;
}

.contact-info .info-line {
  margin: 0 0 8px 0;
}

.faq-item {
  border-top: 1px solid #CFC7AE;
  padding: 16px 0;
}

.faq-q {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: 0;
  color: #2E2A21;
  font-size: 1rem;
  text-align: left;
  width: 100%;
  padding: 0;
}

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

.faq-a {
  display: none;
  padding-top: 10px;
  color: #2E2A21;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .annexcopy-grid,
  .contact-wrap,
  .scalehouse-top {
    grid-template-columns: 1fr;
  }

  .graindrive-burger {
    display: block;
  }

  .doorframe-ticks {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .doorframe-ticks.open {
    display: flex;
  }

  .doorframe-tick {
    background-color: #2E2A21;
    border-bottom: 1px solid #3A362C;
    padding: 12px 14px;
    justify-content: flex-start;
  }

  .elev-band-scene {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding-bottom: 24px;
    gap: 30px;
  }

  .shiplap-block,
  .auger-rise {
    width: 150px;
    height: 220px;
  }

  .alley-portal {
    max-width: 220px;
    height: 190px;
    width: 100%;
  }

  .elevbin-plaque.a-d,
  .elevbin-plaque.a-j,
  .elevbin-plaque.a-m,
  .elevbin-plaque.a-p,
  .elevbin-plaque.a-t,
  .elevbin-plaque.a-z {
    width: 100%;
    margin-left: 0;
  }

  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .scalehouse-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grainelev-head h1 {
    font-size: 1.9rem;
  }

  .driftapron-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* default visible if JS disabled */
.no-js .reveal {
  transform: none;
}
