/* FutureEndure — pine ledge stylesheet
   LEDGE-PAPER #C8D8CC · PINE-INK #283A1A · NEEDLE-COPPER #D28636
   CONE-GOLD #B07838 · ROOT-BARK #745828 */

:root {
  --ledge-paper: #C8D8CC;
  --pine-ink: #283A1A;
  --needle-copper: #D28636;
  --cone-gold: #B07838;
  --root-bark: #745828;
  --ledge-deep: #AFBFB2;
  --ledge-line: #9CB09E;
  --pine-soft: #1E2C13;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #C8D8CC;
  color: #283A1A;
  line-height: 1.7;
}

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

a {
  color: #283A1A;
  text-decoration: underline;
  text-decoration-color: #745828;
  text-underline-offset: 3px;
}

a:hover {
  color: #745828;
  text-decoration-color: #D28636;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #283A1A;
  line-height: 1.22;
  margin: 0;
}

/* ---------------- NAVIGATION: NEEDLE TUFT ROWS ---------------- */

.needlerow {
  background-color: #283A1A;
  border-bottom: 4px solid #D28636;
  position: sticky;
  top: 0;
  z-index: 50;
}

.needlerow-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.needlerow-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #C8D8CC;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 6px 4px;
  flex-shrink: 0;
}

.needlerow-brand:hover {
  color: #C8D8CC;
}

.needlerow-conedot {
  width: 12px;
  height: 14px;
  background-color: #B07838;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  display: inline-block;
}

.needlerow-brandtext {
  font-style: italic;
}

.needlerow-nav {
  margin-left: auto;
}

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

.needlerow-tuft {
  position: relative;
}

.needlerow-tuft > a {
  position: relative;
  z-index: 2;
  display: block;
  padding: 9px 16px 13px;
  color: #C8D8CC;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.03em;
  border: 1px solid #D28636;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  background-color: #1E2C13;
}

.needlerow-tuft > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background-color: #744728;
}

.needlerow-tuft > a::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #745828;
}

.needlerow-tuft > a:hover,
.needlerow-tuft > a:focus {
  background-color: #D28636;
  color: #1E2C13;
  border-color: #D28636;
}

.needlerow-toggle {
  display: none;
  margin-left: auto;
  background-color: #1E2C13;
  border: 1px solid #D28636;
  border-radius: 6px;
  padding: 8px 9px;
  cursor: pointer;
}

.needlerow-togglebar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #C8D8CC;
  margin: 4px 0;
}

/* ---------------- HERO: LEDGE BAY COLUMNS ---------------- */

.ledgehero {
  background-color: #C8D8CC;
  border-bottom: 2px solid #9CB09E;
  overflow-x: hidden;
}

.ledgehero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 40px;
  align-items: center;
}

.ledgehero-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #745828;
  font-weight: bold;
}

.ledgehero-headline {
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.ledgehero-display {
  display: block;
  font-style: italic;
  font-size: 82px;
  color: #D28636;
  line-height: 1;
  margin-top: 6px;
}

.ledgehero-lede {
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 28px;
  color: #283A1A;
}

.ledgehero-inline-link {
  color: #283A1A;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #D28636;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.ledgehero-inline-link:hover {
  color: #745828;
}

.ledgehero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: #D28636;
  color: #1E2C13;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 0.02em;
  padding: 15px 26px;
  border: 2px solid #1E2C13;
  border-radius: 4px;
  min-width: 300px;
}

.ledgehero-cta:hover {
  background-color: #1E2C13;
  color: #C8D8CC;
}

.ledgehero-arrow {
  font-size: 20px;
}

/* hero pine scene */
.ledgehero-scene {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
}

.ledgehero-pine {
  position: relative;
  width: 360px;
  height: 420px;
}

.ledgehero-ledge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 34px;
  background-color: #283A1A;
  border-top: 5px solid #745828;
  border-radius: 2px;
}

.ledgehero-rock {
  position: absolute;
  bottom: 34px;
  left: 40px;
  width: 220px;
  height: 26px;
  background-color: #AFBFB2;
  border-top: 3px solid #9CB09E;
  border-left: 3px solid #9CB09E;
  border-right: 3px solid #9CB09E;
  border-radius: 40px 60px 0 0;
}

.ledgehero-trunk {
  position: absolute;
  bottom: 58px;
  left: 168px;
  width: 20px;
  height: 250px;
  background-color: #745828;
  border-left: 4px solid #5E4720;
  transform: rotate(4deg);
  transform-origin: bottom center;
  border-radius: 3px;
}

.ledgehero-branch {
  position: absolute;
  height: 12px;
  background-color: #745828;
  border-radius: 6px;
  transform-origin: left center;
}

.ledgehero-branch-a {
  bottom: 250px;
  left: 176px;
  width: 120px;
  transform: rotate(-28deg);
}

.ledgehero-branch-b {
  bottom: 200px;
  left: 182px;
  width: 140px;
  transform: rotate(16deg);
}

.ledgehero-branch-c {
  bottom: 150px;
  left: 176px;
  width: 110px;
  transform: rotate(-18deg);
}

.ledgehero-branch-d {
  bottom: 108px;
  left: 150px;
  width: 100px;
  transform: rotate(192deg);
}

.ledgehero-fan {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
}

.ledgehero-fan::before,
.ledgehero-fan::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.ledgehero-branch-a .ledgehero-fan {
  right: -8px;
}

.ledgehero-branch-a .ledgehero-fan::before,
.ledgehero-branch-b .ledgehero-fan::before,
.ledgehero-branch-c .ledgehero-fan::before,
.ledgehero-branch-d .ledgehero-fan::before {
  border-width: 0 46px 22px 46px;
  border-color: transparent transparent #283A1A transparent;
  left: -46px;
  top: -22px;
}

.ledgehero-branch-a .ledgehero-fan::after,
.ledgehero-branch-b .ledgehero-fan::after,
.ledgehero-branch-c .ledgehero-fan::after,
.ledgehero-branch-d .ledgehero-fan::after {
  border-width: 0 34px 30px 34px;
  border-color: transparent transparent #34481F transparent;
  left: -34px;
  top: -30px;
}

.ledgehero-branch-d .ledgehero-fan {
  right: 56px;
}

.ledgehero-drop {
  position: absolute;
  width: 10px;
  height: 14px;
  background-color: #D28636;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.ledgehero-drop-a {
  bottom: 214px;
  left: 300px;
}

.ledgehero-drop-b {
  bottom: 168px;
  left: 156px;
}

.ledgehero-cones {
  position: absolute;
  bottom: 58px;
  left: 120px;
  display: flex;
  gap: 6px;
}

.ledgehero-cone {
  width: 16px;
  height: 22px;
  background-color: #B07838;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ---------------- STORY SECTIONS ---------------- */

.ledgestory {
  background-color: #C8D8CC;
  border-bottom: 2px solid #9CB09E;
}

.ledgestory-first {
  padding-top: 30px;
}

.ledgestory-second {
  background-color: #BCCFC1;
}

.ledgestory-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 24px;
}

.ledgestory-title {
  font-size: 36px;
  margin-bottom: 18px;
}

.ledgestory-lead {
  font-size: 17px;
  margin: 0 0 18px;
  color: #283A1A;
}

.ledgestory-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.ledgestory-col {
  border-top: 3px solid #D28636;
  padding-top: 16px;
}

.ledgestory-col h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.ledgestory-col p {
  margin: 0;
  font-size: 16px;
}

/* ---------------- TAPROOT ROW RUN ---------------- */

.taprootrow {
  background-color: #C8D8CC;
  border-bottom: 2px solid #9CB09E;
}

.taprootrow-light {
  background-color: #BCCFC1;
}

.taprootrow-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 24px;
}

.taprootrow-title {
  font-size: 36px;
  margin-bottom: 30px;
}

.taprootrow-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid #D28636;
}

.taprootrow-row:last-child {
  border-bottom: 1px solid #D28636;
}

.taprootrow-glyph {
  position: relative;
  width: 34px;
  height: 48px;
  margin-top: 4px;
  display: block;
}

.taprootrow-glyph::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 4px;
  height: 48px;
  background-color: #745828;
}

.taprootrow-glyph::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 26px;
  width: 24px;
  height: 4px;
  background-color: #745828;
  transform: rotate(22deg);
  transform-origin: center;
  box-shadow: 0 12px 0 -0px #745828;
}

.taprootrow-body h3 {
  font-size: 25px;
  margin-bottom: 8px;
}

.taprootrow-body p {
  margin: 0 0 10px;
  font-size: 16px;
}

.taprootrow-body p:last-child {
  margin-bottom: 0;
}

.taprootrow-needle {
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 10px;
  display: block;
}

.taprootrow-needle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 2px;
  height: 22px;
  background-color: #283A1A;
  transform: rotate(30deg);
}

.taprootrow-needle::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 2px;
  width: 2px;
  height: 22px;
  background-color: #283A1A;
  transform: rotate(-30deg);
}

/* season ledger steps */
.ledgerstep {
  border-top: 1px solid #D28636;
  padding: 20px 0;
}

.ledgerstep:last-child {
  border-bottom: 1px solid #D28636;
}

.ledgerstep-head {
  font-size: 21px;
  margin-bottom: 6px;
  color: #283A1A;
}

.ledgerstep p {
  margin: 0;
  font-size: 16px;
}

/* ---------------- GROWTH BAND ---------------- */

.growthband {
  background-color: #D28636;
  border-top: 8px solid #283A1A;
  border-bottom: 8px solid #283A1A;
  position: relative;
  overflow-x: hidden;
}

.growthband-rings {
  position: relative;
  height: 54px;
  background-color: #C8D8CC;
  border-bottom: 6px solid #283A1A;
  overflow: hidden;
}

.growthband-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 3px solid #283A1A;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.growthband-ring-a {
  width: 30px;
  height: 30px;
}

.growthband-ring-b {
  width: 70px;
  height: 44px;
}

.growthband-ring-c {
  width: 120px;
  height: 50px;
  border-color: #745828;
}

.growthband-resin {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  width: 14px;
  background-color: #D28636;
}

.growthband-resin::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 240px;
  width: 8px;
  background-color: #D28636;
}

.growthband-text {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 24px;
  text-align: center;
  color: #1E2C13;
  font-size: 19px;
  font-style: italic;
  font-weight: bold;
}

/* ---------------- CTA COPY BLOCK ---------------- */

.ledgeband-copy {
  background-color: #283A1A;
  color: #C8D8CC;
  border-bottom: 8px solid #D28636;
}

.ledgeband-copy-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px;
}

.ledgeband-copy-title {
  font-size: 34px;
  color: #C8D8CC;
  margin-bottom: 18px;
}

.ledgeband-copy p {
  font-size: 17px;
  margin: 0 0 16px;
  color: #C8D8CC;
}

.ledgeband-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: #D28636;
  color: #1E2C13;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  padding: 14px 24px;
  border: 2px solid #C8D8CC;
  border-radius: 4px;
  margin-top: 8px;
}

.ledgeband-cta:hover {
  background-color: #C8D8CC;
  color: #283A1A;
}

.ledgeband-arrow {
  font-size: 19px;
}

/* ---------------- CONTACT BAY ---------------- */

.contactbay {
  background-color: #C8D8CC;
  border-bottom: 2px solid #9CB09E;
}

.contactbay-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}

.contactbay-title {
  font-size: 26px;
  margin-bottom: 18px;
}

.contactbay-form {
  border-top: 3px solid #D28636;
  padding-top: 20px;
}

.contactbay-field {
  margin-bottom: 16px;
}

.contactbay-field label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: #283A1A;
}

.contactbay-field input,
.contactbay-field textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: #283A1A;
  background-color: #EDF2EE;
  border: 2px solid #283A1A;
  border-radius: 4px;
  padding: 10px 12px;
}

.contactbay-field input:focus,
.contactbay-field textarea:focus {
  outline: 3px solid #D28636;
  outline-offset: 1px;
}

.contactbay-submit {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background-color: #D28636;
  color: #1E2C13;
  border: 2px solid #283A1A;
  border-radius: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: bold;
  padding: 13px 24px;
  cursor: pointer;
}

.contactbay-submit:hover {
  background-color: #283A1A;
  color: #C8D8CC;
}

.contactbay-arrow {
  font-size: 19px;
}

.contactbay-status {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: bold;
  color: #283A1A;
  min-height: 1.2em;
}

.contactbay-details {
  background-color: #BCCFC1;
  border-left: 5px solid #745828;
  padding: 24px;
}

.contactbay-list {
  margin: 0;
}

.contactbay-list dt {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #745828;
  font-weight: bold;
  margin-top: 16px;
}

.contactbay-list dt:first-child {
  margin-top: 0;
}

.contactbay-list dd {
  margin: 4px 0 0;
  font-size: 16px;
  color: #283A1A;
}

/* ---------------- FOOTER: CONE CLOSER ---------------- */

.conefoot {
  background-color: #C8D8CC;
  color: #283A1A;
}

.conefoot-rule {
  height: 6px;
  background-color: #283A1A;
  position: relative;
}

.conefoot-cones {
  position: absolute;
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: flex-end;
  background-color: #C8D8CC;
  padding: 0 10px;
}

.conefoot-cone {
  width: 12px;
  height: 16px;
  background-color: #B07838;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.conefoot-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 24px 30px;
}

.conefoot-links {
  margin: 0 0 16px;
  font-size: 16px;
}

.conefoot-links a {
  color: #283A1A;
  text-decoration: none;
}

.conefoot-links a:hover {
  color: #745828;
  text-decoration: underline;
  text-decoration-color: #D28636;
}

.conefoot-brand {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 17px;
  color: #283A1A;
}

.conefoot-blurb {
  margin: 0 0 16px;
  font-size: 15px;
  max-width: 640px;
  color: #283A1A;
}

.conefoot-baseline {
  margin: 0;
  font-size: 13px;
  border-top: 1px solid #745828;
  padding-top: 14px;
  color: #283A1A;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.conefoot-needle {
  display: inline-block;
  width: 2px;
  height: 12px;
  background-color: #283A1A;
  transform: rotate(24deg);
  margin-right: 4px;
}

.conefoot-sep {
  color: #745828;
}

.conefoot-baseline a {
  color: #283A1A;
}

.conefoot-baseline a:hover {
  color: #745828;
}

/* ---------------- REVEAL ANIMATION ---------------- */

.reveal {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.js-ready .reveal {
  transform: translateY(22px);
  filter: saturate(0.2) contrast(0.85);
}

.js-ready .reveal.is-revealed {
  transform: none;
  filter: none;
}

.contactbay-note {
  margin: 20px 0 0;
  font-size: 15px;
  color: #283A1A;
  border-top: 1px solid #745828;
  padding-top: 14px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  .ledgehero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 48px;
  }

  .ledgehero-headline {
    font-size: 38px;
  }

  .ledgehero-display {
    font-size: 62px;
  }

  .ledgehero-scene {
    min-height: 360px;
  }

  .ledgestory-columns {
    grid-template-columns: 1fr;
  }

  .contactbay-inner {
    grid-template-columns: 1fr;
  }

  .taprootrow-row {
    grid-template-columns: 38px 1fr;
  }

  .taprootrow-needle {
    display: none;
  }
}

@media (max-width: 760px) {
  .needlerow-toggle {
    display: block;
  }

  .needlerow-nav {
    width: 100%;
    margin-left: 0;
    display: none;
  }

  .needlerow-nav.is-open {
    display: block;
  }

  .needlerow-tufts {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .needlerow-tuft > a {
    border-radius: 8px;
    border-bottom: 1px solid #D28636;
    padding: 12px 16px;
  }

  .needlerow-tuft > a::before,
  .needlerow-tuft > a::after {
    display: none;
  }

  .ledgehero-headline {
    font-size: 33px;
  }

  .ledgehero-display {
    font-size: 54px;
  }

  .ledgehero-cta {
    min-width: 0;
    width: 100%;
  }

  .ledgehero-pine {
    transform: scale(0.85);
    transform-origin: bottom center;
  }

  .ledgestory-title,
  .taprootrow-title {
    font-size: 28px;
  }
}
