/* NBD Installs LLC - jobsite install rig theme */

:root {
  --jobsite: #F0E0A0;
  --steelbay: #344446;
  --safety: #F47242;
  --ladder: #F4D456;
  --rigcard: #F8F8DE;
  --plumb: #5A8A88;
  --tape: #E06446;
  --bolt: #7E8A88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #F0E0A0;
  color: #344446;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: #F47242;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #E06446;
  text-decoration-thickness: 2px;
}

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
  color: #344446;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

/* ---------- INSTALL RIG BOOM NAV ---------- */
.installrig {
  display: flex;
  align-items: stretch;
  gap: 0;
  background-color: #344446;
  padding: 0 24px;
  min-height: 64px;
}

.installrig-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 0;
  flex: 0 0 auto;
}

.installrig-rung {
  width: 12px;
  height: 12px;
  background-color: #F4D456;
  border-radius: 2px;
  display: inline-block;
}

.installrig-wordmark {
  color: #F8F8DE;
  font-family: "Georgia", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.installrig-toggle {
  display: none;
}

.installrig-arms {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 6px;
}

.installrig-arm {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F8F8DE;
  padding: 8px 16px;
  border-radius: 3px;
  margin: 8px 0;
  border-bottom: 3px solid #7E8A88;
  position: relative;
}

.installrig-rivet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #7E8A88;
  flex: 0 0 auto;
}

.installrig-link {
  color: #344446;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.installrig-link:hover {
  color: #F47242;
  text-decoration: none;
}

.installrig-tip {
  width: 8px;
  height: 8px;
  background-color: #F47242;
  border-radius: 1px;
  flex: 0 0 auto;
}

/* ---------- MOUNT BAY HERO ---------- */
.mountbay {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  align-items: start;
}

.mountbay-copy {
  min-width: 0;
}

.mountbay-eyebrow {
  color: #5A8A88;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.mountbay-headline {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 700;
  margin-bottom: 22px;
}

.mountbay-display {
  display: block;
  font-size: 1.28em;
  font-style: italic;
  color: #F47242;
  letter-spacing: -0.01em;
}

.mountbay-lead {
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 46ch;
  margin-bottom: 30px;
}

.mountbay-inline {
  color: #F47242;
  font-weight: 700;
  border-bottom: 2px solid #E06446;
}

.mountbay-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background-color: #F47242;
  color: #F8F8DE;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 30px;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.mountbay-cta:hover {
  background-color: #F8F8DE;
  color: #344446;
  text-decoration: none;
}

.mountbay-cta-arrow {
  font-size: 1.2em;
  line-height: 1;
}

.mountbay-diagram {
  background-color: #F8F8DE;
  border: 2px solid #344446;
  border-radius: 4px;
  padding: 40px 28px 24px;
  align-self: stretch;
}

.mountbay-panel {
  position: relative;
  height: 260px;
  display: block;
}

.mountbay-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 108px;
  height: 16px;
  background-color: #344446;
  border-radius: 2px;
}

.mountbay-stud {
  position: absolute;
  top: 62px;
  width: 22px;
  height: 70px;
  background-color: #7E8A88;
  border-radius: 3px;
  border-bottom: 6px solid #344446;
}

.mountbay-stud-a { left: 16%; }
.mountbay-stud-b { left: 48%; }
.mountbay-stud-c { left: 80%; }

.mountbay-bubble {
  position: absolute;
  top: 112px;
  left: 50%;
  width: 88px;
  height: 8px;
  margin-left: -44px;
  background-color: #F4D456;
  border-radius: 4px;
  border: 2px solid #F0E0A0;
}

.mountbay-shortstud {
  position: absolute;
  width: 14px;
  height: 34px;
  background-color: #5A8A88;
  border-radius: 2px;
}

.mountbay-shortstud-a { left: 32%; top: 142px; }
.mountbay-shortstud-b { left: 64%; top: 142px; }

.mountbay-caption {
  margin: 20px 0 0;
  color: #344446;
  font-size: 0.82rem;
  line-height: 1.5;
  border-top: 2px solid #F4D456;
  padding-top: 12px;
}

/* ---------- BRACKET ROW RUN ---------- */
.bracketrow {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.bracketrow-head {
  max-width: 64ch;
  margin-bottom: 34px;
}

.bracketrow-eyebrow {
  color: #F47242;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bracketrow-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}

.bracketrow-intro {
  font-size: 1.02rem;
  color: #344446;
}

.bracketrow-run {
  border-top: 3px solid #344446;
}

.bracketrow-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 26px 6px;
  border-bottom: 2px solid #F47242;
}

.bracketrow-alt {
  background-color: #F8F8DE;
  border-radius: 3px;
  padding-left: 16px;
  padding-right: 16px;
}

.bracketrow-glyph {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  background-color: #7E8A88;
  border-left: 8px solid #344446;
  border-bottom: 8px solid #344446;
}

.bracketrow-body {
  flex: 1 1 auto;
  min-width: 0;
}

.bracketrow-name {
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.bracketrow-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.bracketrow-rung {
  display: inline-block;
  width: 18px;
  height: 8px;
  background-color: #F4D456;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- ANCHOR BAY BAND ---------- */
.anchorbay {
  position: relative;
  background-color: #F47242;
  padding: 54px 24px 46px;
  margin: 40px 0;
}

.anchorbay::before,
.anchorbay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
}

.anchorbay::before {
  background-color: #F8F8DE;
}

.anchorbay::after {
  background-color: #344446;
  clip-path: polygon(0 0, 0 14px, 5% 14px, 5% 0, 10% 0, 10% 14px, 15% 14px, 15% 0, 20% 0, 20% 14px, 25% 14px, 25% 0, 30% 0, 30% 14px, 35% 14px, 35% 0, 40% 0, 40% 14px, 45% 14px, 45% 0, 50% 0, 50% 14px, 55% 14px, 55% 0, 60% 0, 60% 14px, 65% 14px, 65% 0, 70% 0, 70% 14px, 75% 14px, 75% 0, 80% 0, 80% 14px, 85% 14px, 85% 0, 90% 0, 90% 14px, 95% 14px, 95% 0, 100% 0, 100% 14px);
}

.anchorbay-line {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #F8F8DE;
  font-family: "Georgia", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.55;
}

/* ---------- STORY ---------- */
.mountbay-story {
  padding-top: 40px;
  padding-bottom: 56px;
}

.mountbay-subhead {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.mountbay-side {
  background-color: #F8F8DE;
  border-left: 8px solid #5A8A88;
  padding: 26px 28px;
  border-radius: 3px;
}

.mountbay-sidettl {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.mountbay-list {
  margin: 0;
  padding-left: 20px;
}

.mountbay-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.bracketrow-narrow {
  padding-top: 20px;
  padding-bottom: 64px;
}

.bracketrow-head-after {
  margin-top: 40px;
}

.mountbay-steps {
  margin: 0;
  padding-left: 22px;
  max-width: 72ch;
}

.mountbay-steps li {
  margin-bottom: 16px;
  line-height: 1.7;
}

.mountbay-steps strong {
  color: #F47242;
}

/* ---------- CONTACT FORM ---------- */
.mountbay-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  max-width: 820px;
  background-color: #F8F8DE;
  border-left: 8px solid #344446;
  padding: 30px 30px 26px;
  border-radius: 3px;
}

.mountbay-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mountbay-field:nth-child(4) {
  grid-column: 1 / -1;
}

.mountbay-label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #344446;
}

.mountbay-input {
  font-family: inherit;
  font-size: 1rem;
  color: #344446;
  background-color: #F0E0A0;
  border: 2px solid #7E8A88;
  border-radius: 3px;
  padding: 10px 12px;
}

.mountbay-input:focus {
  outline: 3px solid #F47242;
  outline-offset: 1px;
  border-color: #344446;
}

.mountbay-textarea {
  resize: vertical;
  min-height: 120px;
}

.mountbay-submit {
  grid-column: 1 / -1;
  justify-self: start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mountbay-formnote {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #344446;
}

.mountbay-faq {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.mountbay-faq strong {
  color: #F47242;
}

/* ---------- CALK SHEET FOOTER ---------- */
.calksheet {
  background-color: #F0E0A0;
  padding: 0 24px 40px;
}

.calksheet-rule {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  border-top: 3px solid #344446;
  height: 0;
}

.calksheet-boot {
  position: absolute;
  top: -12px;
  left: 50%;
  margin-left: -22px;
  width: 44px;
  height: 22px;
  background-color: #344446;
  border-radius: 3px 3px 8px 8px;
  border-bottom: 6px solid #F4D456;
}

.calksheet-links {
  max-width: 1160px;
  margin: 26px auto 0;
  padding-top: 8px;
  font-size: 0.95rem;
  color: #344446;
  line-height: 2;
}

.calksheet-links a {
  color: #344446;
  font-weight: 700;
}

.calksheet-links a:hover {
  color: #F47242;
}

.calksheet-body {
  max-width: 1160px;
  margin: 22px auto 0;
  border-top: 2px solid #7E8A88;
  padding-top: 20px;
}

.calksheet-brand {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #344446;
  margin-bottom: 8px;
}

.calksheet-blurb {
  max-width: 70ch;
  font-size: 0.95rem;
  color: #344446;
  margin-bottom: 16px;
}

.calksheet-line {
  font-size: 0.86rem;
  color: #344446;
  line-height: 1.8;
}

.calksheet-phone {
  font-weight: 700;
}

.calksheet-bracket {
  color: #F47242;
  font-weight: 700;
}

/* ---------- REVEAL (safe default visible) ---------- */
.reveal-ready .revealable {
  transform: translateY(18px);
}

.reveal-ready .revealable.is-visible {
  transform: none;
  transition: transform 0.5s ease;
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
  .installrig {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .installrig-toggle {
    display: inline-block;
    margin: 14px 0 14px auto;
    background-color: #F4D456;
    color: #344446;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
  }

  .installrig-arms {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0 0 12px;
    gap: 6px;
  }

  .installrig-arms.is-open {
    display: flex;
  }

  .installrig-arm {
    margin: 0;
    width: 100%;
  }

  .mountbay {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
  }
}

@media (max-width: 520px) {
  .bracketrow-item {
    flex-direction: column;
    gap: 12px;
  }

  .mountbay-diagram {
    padding: 28px 16px 18px;
  }

  .mountbay-contact {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .mountbay-field:nth-child(4) {
    grid-column: 1;
  }
}
