/* =====================================================================
   ImagineBuild — Assembly Bricks motif stylesheet
   Palette: maple #F6F2EA bg | denim-ink #2B3440 text | tangerine #E08A3C
            plate-panel #FDFBF6 | denim-deep #223047 | denim-blue #3E5A80
            hairline #E7DFCF
   ===================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  background-color: #F6F2EA;
  color: #2B3440;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: #3E5A80; text-decoration: none; }
a:hover { color: #E08A3C; }

h1, h2, h3, h4 { color: #223047; font-weight: 800; line-height: 1.15; }

/* ---------------------------------------------------------------------
   Utility: content wrapper
   ------------------------------------------------------------------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------
   GLOBAL ELEMENT mixin-like shared block (used as backdrop pieces)
   ------------------------------------------------------------------- */
.block {
  background-color: #3E5A80;
  color: #FDFBF6;
  border-radius: 6px;
}

/* ---------------------------------------------------------------------
   RUNNING BOND HEADER (.bondhead)
   Six brick blocks in running bond around the brand and links.
   ------------------------------------------------------------------- */
.bondhead {
  background-color: #223047;
  border-bottom: 0.55rem solid #E7DFCF;
}
.bondhead .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}
.bondhead-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.bondhead .brand-brick {
  background-color: #E08A3C;
  color: #223047;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.bondhead .brand-brick a { color: #223047; }
.bondhead .brand-brick a:hover { color: #FFF7EA; }
.bondhead-ribbon {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}
.bondhead .navlist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.bondhead .navlist a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-height: 46px;
  background-color: #3E5A80;
  color: #FDFBF6;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 700;
}
.bondhead .navlist a:hover,
.bondhead .navlist a.nav-active {
  background-color: #E08A3C;
  color: #223047;
}
.bondhead-trowel {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E7DFCF;
  font-size: 15px;
  padding: 6px 4px;
}
.bondhead-trowel .trowel-blade {
  width: 8px;
  height: 34px;
  background-color: #E7DFCF;
  border-radius: 2px 2px 8px 8px;
}
.bondhead-trowel .trowel-handle {
  width: 34px;
  height: 10px;
  background-color: #E08A3C;
  border-radius: 3px;
}
.bondhead-tumbler {
  background-color: #FDFBF6;
}
.bondhead .nav-toggle {
  display: none;
  background-color: #3E5A80;
  color: #FDFBF6;
  border: 0;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
  align-self: stretch;
}

@media (max-width: 860px) {
  .bondhead-row { flex-direction: column; }
  .bondhead .brand-brick { justify-content: flex-start; }
  .bondhead .nav-toggle { display: block; align-self: flex-start; }
  .bondhead .navlist {
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 6px;
  }
  .bondhead .navlist.is-open { display: flex; }
  .bondhead .navlist a { width: 100%; justify-content: flex-start; height: auto; }
  .bondhead-trowel { align-self: flex-start; }
}

/* ---------------------------------------------------------------------
   HERO — BLOCK STACK BUILD (.blockstack)
   ------------------------------------------------------------------- */
.blockstack {
  position: relative;
  background-color: #F6F2EA;
  padding: 64px 0 78px;
  overflow: hidden;
}
.blockstack-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.blockstack-copy { flex: 1 1 400px; }
.blockstack-scene { flex: 0 1 430px; position: relative; min-height: 360px; }

.blockstack h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.02;
}
.blockstack h1 .hl-tang { color: #E08A3C; }
.blockstack .lead {
  font-size: 19px;
  max-width: 560px;
  margin-bottom: 26px;
  color: #37424F;
}
.blockstack-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* stud buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #E08A3C;
  color: #223047;
  font-weight: 800;
  border-radius: 8px;
  padding: 14px 26px;
  border-bottom: 4px solid #B96F2A;
}
.btn:hover { color: #FDFBF6; background-color: #3E5A80; border-bottom-color: #223047; }
.btn-plate {
  background-color: #3E5A80;
  color: #FDFBF6;
  border-bottom-color: #223047;
}
.btn-plate:hover { background-color: #E08A3C; color: #223047; border-bottom-color: #B96F2A; }

.btn .btn-stud {
  width: 12px; height: 12px; border-radius: 3px;
  background-color: currentColor;
  box-shadow: 6px 0 0 0 currentColor, 12px 0 0 0 currentColor;
}

/* the scene — oversized blocks with studs stacked on a baseplate */
.baseplate-floor {
  position: absolute;
  bottom: -14px;
  left: -24px;
  right: -24px;
  height: 22px;
  background-color: #3E5A80;
  border-radius: 6px;
}
.baseplate-floor .clamp-stud {
  position: absolute;
  top: -6px;
  width: 12px; height: 8px; border-radius: 3px;
  background-color: #E08A3C;
}
.scene-brick { position: absolute; border-radius: 8px; }
.scene-brick::before,
.scene-block::before {
  content: "";
  position: absolute;
  background-color: inherit;
  top: -8px;
  height: 10px;
  border-radius: 4px 4px 0 0;
}
.tang-brick { background-color: #E08A3C; }
.blue-brick { background-color: #3E5A80; }
.deep-brick { background-color: #223047; }
.milk-brick { background-color: #FDFBF6; }
.cream-brick { background-color: #E7DFCF; }

.scene-big {
  width: 210px; height: 210px;
  left: 40px; top: 20px;
  background-color: #E08A3C;
}
.scene-big::before { left: 12px; right: 12px; }
.scene-sb { width: 90px; height: 210px; left: 300px; top: 60px; background-color: #3E5A80; transform: rotate(0deg); }
.scene-sb::before { left: 10px; right: 10px; }
.scene-rot { width: 210px; height: 88px; left: 360px; top: 20px; background-color: #223047; }
.scene-rot::before { left: 12px; right: 12px; }
.scene-half {
  width: 150px; height: 70px; left: 250px; bottom: 60px;
  background-color: #F6F2EA;
}
.scene-half::before { left: 10px; right: 10px; }
.scene-tower { width: 90px; height: 66px; left: 420px; bottom: 60px; background-color: #E7DFCF; }
.scene-block { position: absolute; border-radius: 8px; }

/* leaning props */
.scene-level {
  position: absolute;
  left: 20px; bottom: 20px;
  width: 170px; height: 18px;
  background: #223047;
  border-radius: 4px;
  transform: rotate(-8deg);
  z-index: 3;
}
.scene-level::after {
  content: "";
  position: absolute;
  left: 76px; top: 5px;
  width: 18px; height: 8px;
  background: #E08A3C;
  border-radius: 2px;
}
.scene-plan {
  position: absolute;
  right: 14px; bottom: 6px;
  width: 150px; height: 20px;
  background: #FDFBF6;
  border: 2px solid #E7DFCF;
  border-radius: 4px;
  transform: rotate(6deg);
  z-index: 3;
  box-shadow: 6px 8px 0 #DDD2BD;
}
.scene-plan::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; background: #3E5A80;
}

/* ---------------------------------------------------------------------
   ASSEMBLY STEPS (.assemblysteps)
   An instruction-manual cascade — six panels, staircase indents.
   ------------------------------------------------------------------- */
.assemblysteps {
  background-color: #FDFBF6;
  padding: 72px 0 64px;
}
.steps-head { text-align: center; margin-bottom: 48px; }
.steps-head .kicker {
  color: #E08A3C; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 14px;
}
.steps-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 6px; }
.steps-head p { color: #55616E; max-width: 640px; margin: 12px auto 0; }

.step-panel {
  background-color: #F6F2EA;
  border: 1px solid #E7DFCF;
  border-radius: 10px;
  margin-bottom: 18px;
  max-width: 1080px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: stretch;
}
.step-panel.step-0 { margin-left: 0%; }
.step-panel.step-1 { margin-left: 6%; }
.step-panel.step-2 { margin-left: 12%; }
.step-panel.step-3 { margin-left: 18%; }
.step-panel.step-4 { margin-left: 24%; }
.step-panel.step-5 { margin-left: 30%; }

@media (max-width: 720px) {
  .step-panel.step-0,
  .step-panel.step-1,
  .step-panel.step-2,
  .step-panel.step-3,
  .step-panel.step-4,
  .step-panel.step-5 { margin-left: 0; }
}

.step-num {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #E08A3C;
  font-weight: 900;
  font-size: 40px;
  border-right: 2px dashed #3E5A80;
  padding-right: 20px;
}
.step-num small {
  color: #3E5A80;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 4px;
}

.step-diagram {
  flex: 0 0 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background-color: #EAE2D1;
  border-radius: 8px;
  border: 1px solid #E7DFCF;
}
/* dotted alignment line joining diagram to text */
.step-diagram::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 22px;
  height: 0;
  border-top: 2px dotted #3E5A80;
}

.step-text { flex: 1 1 320px; }
.step-text h3 { margin-bottom: 8px; font-size: 24px; }
.step-text p { color: #37424F; }

/* tiny symbolic solids inside the diagram */
.step-solid { display: flex; align-items: flex-end; gap: 6px; }
.smlb { background-color: #E08A3C; border-radius: 4px; }
.smlb.sb-blue { background-color: #3E5A80; }
.smlb.sb-deep { background-color: #223047; }

.dia-tower { width: 40px; height: 90px; background-color: #E08A3C; }
.dia-tower::before { left: 6px; right: 6px; }
.dia-arch {
  width: 70px; height: 46px;
  border-radius: 40px 40px 4px 4px;
  background-color: #3E5A80;
}
.dia-arch::before { content: ""; position: absolute; top: 14px; left: 18%; right: 18%; height: 46px; background-color: #F6F2EA; border-radius: 30px 30px 4px 4px; }
.dia-l { width: 24px; height: 92px; background: #223047; }
.dia-l2 { width: 60px; height: 30px; background: #223047; }
.dia-bridge { width: 60px; height: 18px; background: #E08A3C; border-radius: 4px; }
.dia-bridge2 { width: 18px; height: 60px; background: #3E5A80; }
.dia-wall { width: 80px; height: 66px; background-color: #FDFBF6; }
.dia-brickrow { display: flex; flex-direction: column; gap: 5px; height: 66px; justify-content: space-between; background-color: #223047; padding: 14px 6px; border-radius: 4px; }
.dia-brickrow span { display: block; height: 10px; background: #3E5A80; border-radius: 2px; }
.dia-gable { width: 0; height: 0; border-left: 44px solid transparent; border-right: 44px solid transparent; border-bottom: 74px solid #E08A3C; }
.dia-roof { width: 88px; height: 8px; background: #3E5A80; border-radius: 4px; margin-top: 8px; }

/* six services decorative chips linking into homepage copy */
.service-note a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   ABOUT / workshop band (homepage center piece)
   ------------------------------------------------------------------- */
.aboutband {
  background-color: #F6F2EA;
  padding: 72px 0;
}
.aboutband-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.aboutband-head .kicker {
  color: #E08A3C; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 14px;
}
.aboutband-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 8px; }
.aboutband-head p { color: #55616E; margin-top: 14px; }
.aboutband-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.about-pane {
  background-color: #FDFBF6;
  border: 1px solid #E7DFCF;
  border-radius: 10px;
  padding: 24px;
}
.about-pane .ap-chip {
  display: inline-block;
  background-color: #223047;
  color: #FDFBF6;
  font-weight: 800;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.about-pane h3 { margin-bottom: 10px; color: #223047; }
.about-pane p { color: #37424F; }
.about-list { list-style: none; display: grid; gap: 10px; }
.about-list li { padding-left: 26px; position: relative; color: #37424F; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  background-color: #E08A3C;
  border-radius: 3px;
}
.about-cap {
  background-color: #223047;
  color: #FDFBF6;
  border-radius: 10px;
  padding: 26px;
  grid-column: span 2;
}
.about-cap h3 { color: #E08A3C; margin-bottom: 10px; }
.about-cap p { color: #E7DFCF; }

/* ---------------------------------------------------------------------
   HARD HAT STRIP
   ------------------------------------------------------------------- */
.hardhat {
  background-color: #3E5A80;
  color: #FDFBF6;
  padding: 44px 0;
}
.hardhat .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.hardhat .hh-cap {
  font-size: clamp(22px, 3vw, 30px);
  color: #FDFBF6;
  font-weight: 800;
}
.hardhat p { max-width: 720px; color: #E7DFCF; }
.hardhat .hh-cta {
  background-color: #E08A3C;
  color: #223047;
  font-weight: 800;
  border-radius: 8px;
  border-bottom: 4px solid #B96F2A;
  padding: 13px 24px;
  white-space: nowrap;
}
.hardhat .hh-cta:hover { color: #FDFBF6; border-bottom-color: #223047; }

/* ---------------------------------------------------------------------
   BASEPLATE FOOTER (.baseplate)
   ------------------------------------------------------------------- */
.baseplate {
  background-color: #FDFBF6;
  border-top: 0.5rem solid #E7DFCF;
  padding: 44px 0 26px;
}
.baseplate-studsky {
  height: 26px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.baseplate-studsky .ps {
  width: 12px; height: 12px;
  background-color: #3E5A80;
  border-radius: 4px;
}
.baseplate-studsky .ps.tap { background-color: #E08A3C; }
.baseplate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid #E7DFCF;
}
.baseplate-brand { flex: 1 1 320px; }
.baseplate-brand .bp-word {
  font-size: 22px;
  font-weight: 900;
  color: #E08A3C;
  letter-spacing: 1px;
}
.baseplate-brand p { color: #55616E; margin-top: 10px; max-width: 360px; }
.baseplate-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
}
.baseplate-cols h4 {
  color: #223047;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.baseplate-cols ul { list-style: none; display: grid; gap: 8px; }
.baseplate-cols a { color: #55616E; }
.baseplate-cols a:hover { color: #E08A3C; }
.baseplate-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  color: #3E5A80;
  font-size: 14px;
}

/* ---------------------------------------------------------------------
   Scroll reveal (class-based, safe without JS)
   ------------------------------------------------------------------- */
.fade-up { opacity: 1; }
.js-on .fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-on .fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-on .fade-up { opacity: 1; transform: none; transform: none; }
}

/* ---------------------------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------------------------- */
.contactpage { background-color: #F6F2EA; }
.page-head {
  background-color: #223047;
  color: #FDFBF6;
  padding: 64px 0 48px;
}
.page-head h1 { color: #FDFBF6; font-size: clamp(30px, 4vw, 46px); }
.page-head p { color: #E7DFCF; max-width: 720px; margin-top: 12px; }
.page-head .crumb { color: #E08A3C; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; font-size: 13px; }

.contactgrid {
  padding: 60px 0;
  display: grid;
  gap: 44px;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}
@media (max-width: 860px) { .contactgrid { grid-template-columns: 1fr; } }

.formpanel {
  background-color: #FDFBF6;
  border: 1px solid #E7DFCF;
  border-radius: 12px;
  padding: 32px;
}
.formpanel h2 { margin-bottom: 6px; }
.formpanel > p { color: #55616E; margin-bottom: 22px; }
.formrow { margin-bottom: 18px; }
.formrow label {
  display: block;
  font-weight: 800;
  color: #223047;
  margin-bottom: 6px;
  font-size: 14px;
}
.formrow input,
.formrow select,
.formrow textarea {
  width: 100%;
  border: 2px solid #E7DFCF;
  border-radius: 8px;
  background-color: #F6F2EA;
  color: #2B3440;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
}
.formrow input:focus,
.formrow textarea:focus,
.formrow select:focus {
  outline: none;
  border-color: #E08A3C;
}
.formrow textarea { min-height: 150px; resize: vertical; }
.formnote-send {
  background-color: #F6F2EA;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  color: #37424F;
  border: 1px dashed #3E5A80;
}

.infopanel .infobox {
  background-color: #223047;
  color: #FDFBF6;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 22px;
}
.infopanel .infobox h3 { color: #E08A3C; font-size: 18px; margin-bottom: 10px; }
.infobox-row { display: grid; gap: 4px; margin-bottom: 14px; }
.infobox-row .k { color: #E7DFCF; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.infobox-row .v { color: #FDFBF6; }

/* Faq accordion */
.faqpanel { margin-top: 12px; padding-bottom: 70px; }
.faqpanel h2 { margin-bottom: 18px; }
.faqpanel h3 { font-size: 18px; }
.acc-item { margin-bottom: 10px; }
.acc-q {
  width: 100%;
  text-align: left;
  background-color: #FDFBF6;
  border: 1px solid #E7DFCF;
  border-radius: 8px;
  color: #223047;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 18px;
  cursor: pointer;
}
.acc-a {
  background-color: #F6F2EA;
  border: 1px solid #E7DFCF;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: #37424F;
  padding: 16px 18px;
  display: none;
}
.acc-item.is-open .acc-a { display: block; }
.acc-item.is-open .acc-q { color: #E08A3C; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.hourslist { list-style: none; display: grid; gap: 8px; }
.hourslist li { display: flex; justify-content: space-between; gap: 16px; }
.hourslist .d { font-weight: 800; color: #E08A3C; }
.hourslist .t { color: #FDFBF6; }

/* ---------------------------------------------------------------------
   SERVICES PAGE extra panes
   ------------------------------------------------------------------- */
.process-strip { background-color: #FDFBF6; padding: 60px 0; }
.process-strip h2 { text-align: center; margin-bottom: 10px; }
.process-strip .sub { text-align: center; color: #55616E; max-width: 640px; margin: 0 auto 34px; }
.process-flow { display: grid; gap: 16px; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) { .process-flow { grid-template-columns: 1fr; } }
.flow-pane {
  background-color: #F6F2EA;
  border: 1px solid #E7DFCF;
  border-radius: 10px;
  padding: 18px;
}
.flow-pane .fp-num { color: #E08A3C; font-weight: 900; font-size: 28px; }
.flow-pane h3 { font-size: 17px; margin: 6px 0; }
.flow-pane p { color: #55616E; font-size: 14px; }

/* ---------------------------------------------------------------------
   Shared numbering strip used on secondary pages
   ------------------------------------------------------------------- */
.trace-head .trace-word {
  display: inline-block;
  background-color: #E08A3C;
  color: #223047;
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 12px;
}
