/* DOLAN ENTERPRISES, LLC — panel crib yard theme
   BOARD-BONE #F3F1E8 body / SILT-INK #2B2A26 text
   CRATE-COCOA #7A5A3C accent / CRIB-BASALT #26282A steel
   SHEET-CREAM #FAF8EF panel faces / STRAW-BATTEN #D9CFAF battens
   MARK-CRAYON #B4472E order marks only */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #F3F1E8;
  color: #2B2A26;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

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

p {
  margin: 0 0 1em 0;
}

a {
  color: #7A5A3C;
}

img {
  max-width: 100%;
}

/* ============ CRIB CLAMP RAIL NAV ============ */
.cribrail {
  background-color: #26282A;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.cribrail-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.cribrail-rail {
  background-color: #FAF8EF;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 12px 0 0;
  position: relative;
}

.cribrail-jaws {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 10px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.cribrail-jaw {
  width: 10px;
  height: 10px;
  background-color: #26282A;
  border-radius: 2px;
}

.cribrail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #26282A;
  color: #FAF8EF;
  padding: 0 22px;
  min-height: 62px;
  font-family: Georgia, serif;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 3px 0 0 3px;
  position: relative;
  z-index: 2;
}

.cribrail-glyph {
  width: 20px;
  height: 18px;
  border: 2px solid #FAF8EF;
  border-top: none;
  position: relative;
  display: inline-block;
}

.cribrail-glyph::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 3px;
  height: 2px;
  background-color: #FAF8EF;
}

.cribrail-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  padding: 6px 0;
}

.cribrail-tag {
  display: inline-block;
  color: #2B2A26;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 13px;
  background-color: #F3F1E8;
  border: 1px solid #D9CFAF;
  border-left: 4px solid #7A5A3C;
  border-radius: 2px;
  font-weight: bold;
}

.cribrail-tag:hover {
  background-color: #D9CFAF;
  color: #26282A;
}

.cribrail-tag:nth-child(odd) {
  transform: translateY(-4px);
}

.cribrail-tag:nth-child(even) {
  transform: translateY(4px);
}

.cribrail-toggle {
  display: none;
  background-color: #7A5A3C;
  color: #FAF8EF;
  border: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: bold;
}

/* ============ HERO: TWO-PANEL UPRIGHT ============ */
.panelcrib {
  background-color: #F3F1E8;
  padding: 0;
}

.panelcrib-upper {
  background-color: #26282A;
  padding: 44px 24px 0 24px;
  position: relative;
}

.panelcrib-yard {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.panelcrib-post {
  position: absolute;
  top: -44px;
  bottom: 0;
  width: 10px;
  background-color: #7A5A3C;
}

.panelcrib-post-left {
  left: 6%;
}

.panelcrib-post-right {
  right: 6%;
}

.panelcrib-beam {
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 12px;
  background-color: #7A5A3C;
  border-radius: 2px;
}

.panelcrib-panel {
  background-color: #FAF8EF;
  border: 3px solid #26282A;
  position: relative;
  flex: 1 1 0;
  max-width: 380px;
  min-height: 430px;
  padding: 30px 26px 26px 26px;
  box-shadow: 10px 0 0 0 #D9CFAF;
}

.panelcrib-panel-crib-l,
.panelcrib-panel-crib-l::after {
  content: "";
  position: absolute;
  background-color: #26282A;
}

.panelcrib-panel-crib-l::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -3px;
  bottom: -3px;
  width: 7px;
  background-color: #7A5A3C;
}

.panelcrib-panel-crib-r::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -3px;
  bottom: -3px;
  width: 7px;
  background-color: #7A5A3C;
}

.panelcrib-window {
  position: absolute;
  top: 34px;
  right: 28px;
  width: 84px;
  height: 64px;
  background-color: #26282A;
  border: 3px solid #7A5A3C;
}

.panelcrib-window::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #7A5A3C;
  transform: translateX(-50%);
}

.panelcrib-door {
  position: absolute;
  bottom: 24px;
  right: 34px;
  width: 62px;
  height: 118px;
  background-color: #26282A;
  border: 3px solid #7A5A3C;
}

.panelcrib-brace {
  position: absolute;
  height: 6px;
  background-color: #B4472E;
  left: 20px;
  right: 20px;
}

.panelcrib-brace-a {
  top: 46%;
  transform: rotate(24deg);
}

.panelcrib-brace-b {
  top: 60%;
  transform: rotate(-24deg);
}

.panelcrib-battens {
  position: absolute;
  inset: 16px;
  border-left: 2px solid #D9CFAF;
  border-right: 2px solid #D9CFAF;
  pointer-events: none;
}

.panelcrib-headline {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.08;
  color: #2B2A26;
  margin: 0;
  position: relative;
  z-index: 3;
}

.panelcrib-headline em {
  font-style: normal;
  color: #7A5A3C;
  display: block;
}

.panelcrib-mark {
  position: absolute;
  bottom: 14px;
  left: 26px;
  color: #B4472E;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transform: rotate(-6deg);
}

.panelcrib-lower {
  background-color: #F3F1E8;
  padding: 40px 24px 52px 24px;
}

.panelcrib-plinth {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 34px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.panelcrib-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 280px;
}

.panelcrib-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: Georgia, serif;
  font-weight: bold;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 15px 20px;
  border-radius: 2px;
}

.panelcrib-cta-solid {
  background-color: #7A5A3C;
  color: #FAF8EF;
  border: 2px solid #7A5A3C;
}

.panelcrib-cta-solid:hover {
  background-color: #26282A;
  border-color: #26282A;
}

.panelcrib-cta-outline {
  background-color: #F3F1E8;
  color: #7A5A3C;
  border: 2px solid #7A5A3C;
}

.panelcrib-cta-outline:hover {
  background-color: #D9CFAF;
  color: #26282A;
}

.panelcrib-intro {
  flex: 1 1 380px;
  color: #2B2A26;
  font-size: 1.03rem;
}

.panelcrib-intro p:last-child {
  margin-bottom: 0;
}

.panelcrib-crayon-arrow {
  color: #B4472E;
  font-family: Georgia, serif;
  font-weight: bold;
}

/* ============ WALLBOARD LAY-OUT ============ */
.wallboard {
  background-color: #F3F1E8;
  padding: 54px 24px 30px 24px;
}

.wallboard-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.wallboard-heading {
  font-size: 1.9rem;
  color: #2B2A26;
  margin-bottom: 6px;
  display: inline-block;
  border-bottom: 4px solid #7A5A3C;
  padding-bottom: 8px;
}

.wallboard-sub {
  color: #2B2A26;
  max-width: 720px;
  margin: 16px 0 40px 0;
}

.wallboard-field {
  position: relative;
  padding: 10px 0 30px 0;
}

.wallboard-panel {
  background-color: #FAF8EF;
  border: 2px solid #26282A;
  border-left: 8px solid #7A5A3C;
  padding: 26px 24px 58px 24px;
  margin-bottom: 22px;
  position: relative;
  box-shadow: 7px 7px 0 0 #D9CFAF;
}

.wallboard-panel:nth-child(1) {
  width: 88%;
  margin-left: 0;
}

.wallboard-panel:nth-child(2) {
  width: 80%;
  margin-left: auto;
}

.wallboard-panel:nth-child(3) {
  width: 92%;
  margin-left: 0;
}

.wallboard-panel:nth-child(4) {
  width: 84%;
  margin-left: auto;
}

.wallboard-panel:nth-child(5) {
  width: 90%;
  margin-left: 0;
}

.wallboard-panel:nth-child(6) {
  width: 86%;
  margin-left: auto;
}

.wallboard-ptag {
  position: absolute;
  top: -12px;
  left: 18px;
  background-color: #26282A;
  color: #FAF8EF;
  font-family: Georgia, serif;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
}

.wallboard-open {
  position: absolute;
  background-color: #26282A;
  border: 2px solid #7A5A3C;
}

.wo-pic {
  top: 26px;
  right: 34px;
  width: 96px;
  height: 62px;
}

.wo-pair-a {
  top: 26px;
  right: 34px;
  width: 50px;
  height: 56px;
}

.wo-pair-b {
  top: 26px;
  right: 100px;
  width: 50px;
  height: 56px;
}

.wo-door {
  top: 24px;
  right: 40px;
  width: 58px;
  height: 108px;
}

.wo-gable {
  top: 22px;
  right: 36px;
  width: 0;
  height: 0;
  background-color: transparent;
  border-left: 44px solid transparent;
  border-right: 44px solid transparent;
  border-bottom: 58px solid #26282A;
  border-top: none;
}

.wo-hatch {
  top: 30px;
  right: 38px;
  width: 58px;
  height: 58px;
}

.wo-rail {
  top: auto;
  bottom: 46px;
  right: 34px;
  width: 110px;
  height: 26px;
}

.wallboard-h3 {
  font-size: 1.28rem;
  color: #2B2A26;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #D9CFAF;
}

.wallboard-panel p {
  max-width: 78%;
  color: #2B2A26;
}

.wallboard-panel a {
  font-weight: bold;
}

.wallboard-mark {
  position: absolute;
  bottom: 14px;
  left: 24px;
  color: #B4472E;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  transform: rotate(-5deg);
}

/* ============ ACCENT STRIP: HARDWARE BIN ============ */
.hardwarebin {
  background-color: #26282A;
  padding: 20px 24px;
}

.hardwarebin-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.hardwarebin-bins {
  display: flex;
  gap: 9px;
}

.hardwarebin-bin {
  width: 46px;
  height: 40px;
  background-color: #FAF8EF;
  border: 2px solid #7A5A3C;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hardwarebin-fill {
  display: block;
  background-color: #2B2A26;
}

.hb-screws {
  width: 22px;
  height: 3px;
  box-shadow: 0 6px 0 0 #2B2A26, 0 -6px 0 0 #2B2A26;
}

.hb-clips {
  width: 16px;
  height: 16px;
  border: 2px solid #2B2A26;
  border-radius: 50%;
}

.hb-shims {
  width: 24px;
  height: 14px;
  border-left: 5px solid #2B2A26;
  border-right: 5px solid #2B2A26;
}

.hb-straps {
  width: 8px;
  height: 22px;
  box-shadow: 10px 0 0 0 #2B2A26;
}

.hb-nails {
  width: 26px;
  height: 4px;
  transform: rotate(-14deg);
  box-shadow: 0 8px 0 0 #2B2A26;
}

.hardwarebin-note {
  color: #F3F1E8;
  margin: 0;
  max-width: 640px;
  font-size: 0.95rem;
}

.hardwarebin-note strong {
  color: #FAF8EF;
}

/* ============ FOOTER: CRIB SLEEPERS ============ */
.cribbase {
  background-color: #26282A;
  padding: 0;
  margin: 0;
}

.cribbase-sleepers {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 26px 24px 0 24px;
}

.cribbase-sleeper {
  height: 14px;
  flex: 0 0 150px;
  background-color: #7A5A3C;
  border-radius: 2px;
}

.cribbase-sleeper:nth-child(2) {
  flex-basis: 120px;
}

.cribbase-center {
  text-align: center;
  padding: 26px 24px 20px 24px;
}

.cribbase-brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #FAF8EF;
  margin-bottom: 8px;
}

.cribbase-blurb {
  color: #F3F1E8;
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.93rem;
}

.cribbase-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 24px 26px 24px;
}

.cribbase-link {
  color: #FAF8EF;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom: 2px solid #7A5A3C;
  padding-bottom: 3px;
}

.cribbase-link:hover {
  color: #D9CFAF;
}

.cribbase-plinth {
  background-color: #D9CFAF;
  color: #2B2A26;
  padding: 16px 24px;
  text-align: center;
  font-size: 0.85rem;
}

.cribbase-plinth-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.cribbase-crayon {
  color: #B4472E;
  font-weight: bold;
  font-family: Georgia, serif;
}

/* ============ SCROLL REVEAL ============ */
.reveal-now {
  opacity: 1;
  transform: translateY(0);
}

.wallboard-panel, .hardwarebin, .cribbase-center {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js-on .wallboard-panel,
html.js-on .hardwarebin,
html.js-on .cribbase-center {
  opacity: 0;
  transform: translateY(22px);
}

html.js-on .wallboard-panel.reveal-now,
html.js-on .hardwarebin.reveal-now,
html.js-on .cribbase-center.reveal-now {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SERVICES / CONTACT SHARED ============ */
.pageintro {
  background-color: #26282A;
  padding: 46px 24px;
}

.pageintro-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pageintro h1 {
  color: #FAF8EF;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.pageintro p {
  color: #F3F1E8;
  max-width: 760px;
  margin: 0;
}

.contentband {
  background-color: #F3F1E8;
  padding: 50px 24px;
}

.contentband-alt {
  background-color: #FAF8EF;
}

.contentband-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.contentband h2 {
  font-size: 1.65rem;
  border-bottom: 4px solid #7A5A3C;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.servblock {
  background-color: #FAF8EF;
  border: 2px solid #26282A;
  border-top: 8px solid #7A5A3C;
  padding: 26px 26px 22px 26px;
  margin-bottom: 26px;
  box-shadow: 7px 7px 0 0 #D9CFAF;
}

.servblock h3 {
  font-size: 1.28rem;
  color: #2B2A26;
  margin-bottom: 10px;
}

.servblock p {
  margin-bottom: 0.8em;
}

.servblock .servtag {
  display: inline-block;
  background-color: #26282A;
  color: #FAF8EF;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.servmark {
  color: #B4472E;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

/* contact */
.contactgrid {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.contactform {
  flex: 1 1 420px;
  background-color: #FAF8EF;
  border: 2px solid #26282A;
  border-top: 8px solid #7A5A3C;
  padding: 26px;
  box-shadow: 7px 7px 0 0 #D9CFAF;
}

.contactsidetab {
  flex: 1 1 300px;
  background-color: #F3F1E8;
  border: 2px solid #D9CFAF;
  padding: 24px;
}

.fieldrow {
  margin-bottom: 16px;
}

.fieldrow label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: bold;
  color: #2B2A26;
  margin-bottom: 6px;
}

.fieldrow input,
.fieldrow textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid #D9CFAF;
  background-color: #F3F1E8;
  color: #2B2A26;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 2px;
}

.fieldrow input:focus,
.fieldrow textarea:focus {
  outline: none;
  border-color: #7A5A3C;
}

.fieldrow textarea {
  min-height: 130px;
  resize: vertical;
}

.formbtn {
  background-color: #7A5A3C;
  color: #FAF8EF;
  border: 2px solid #7A5A3C;
  padding: 13px 26px;
  font-family: Georgia, serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 2px;
  cursor: pointer;
}

.formbtn:hover {
  background-color: #26282A;
  border-color: #26282A;
}

.formnote {
  font-size: 0.82rem;
  color: #2B2A26;
  margin-top: 12px;
}

.infoblock {
  margin-bottom: 20px;
}

.infoblock h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #7A5A3C;
}

.infoblock p {
  margin-bottom: 4px;
}

.infoblock a {
  font-weight: bold;
}

.faqitem {
  background-color: #FAF8EF;
  border-left: 6px solid #7A5A3C;
  padding: 18px 22px;
  margin-bottom: 16px;
}

.faqitem h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.faqitem p {
  margin-bottom: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
  .cribrail-tags {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 12px;
  }

  .cribrail-tags.open {
    display: flex;
  }

  .cribrail-tag {
    transform: none;
    text-align: center;
  }

  .cribrail-tag:nth-child(odd),
  .cribrail-tag:nth-child(even) {
    transform: none;
  }

  .cribrail-toggle {
    display: block;
    margin: 10px 0;
  }

  .cribrail-rail {
    flex-wrap: wrap;
    padding-bottom: 10px;
  }

  .cribrail-brand {
    border-radius: 3px;
  }

  .panelcrib-yard {
    flex-direction: column;
    align-items: stretch;
  }

  .panelcrib-headline {
    font-size: 1.9rem;
  }

  .wallboard-panel,
  .wallboard-panel:nth-child(1),
  .wallboard-panel:nth-child(2),
  .wallboard-panel:nth-child(3),
  .wallboard-panel:nth-child(4),
  .wallboard-panel:nth-child(5),
  .wallboard-panel:nth-child(6) {
    width: 100%;
    margin-left: 0;
  }

  .wallboard-panel p {
    max-width: 100%;
  }

  .wallboard-open,
  .wo-pic,
  .wo-pair-a,
  .wo-pair-b,
  .wo-door,
  .wo-gable,
  .wo-hatch,
  .wo-rail {
    display: none;
  }

  .panelcrib-window,
  .panelcrib-door {
    display: none;
  }
}
