/* YUU BATES LLC - Irrigation Sluice Motif
   Palette: plaster-lime #F3F1E5 body, peat-ink #2C2A22 text,
   canal-teal #2F6F68 accent, stone-panel #FBFAF2,
   pool-deep #123B37, clay-gate #B4713B, hairline #E3DFCB.
   Directives: light theme only, no rgba, no opacity decimals,
   class selectors only, 16px body font, unique class names. */

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

/* ---------- SLUICE GATE HEADER (.slucehead) ---------- */
.slucehead {
  background-color: #123B37;
  overflow: hidden;
}
.slucehead-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.sluce-weirwall {
  flex: 1 1 300px;
  background-color: #2F6F68;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  box-sizing: border-box;
}
.sluce-brand {
  margin: 0;
  font-size: 2.1rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: #2C2A22;
  font-family: Georgia, "Times New Roman", serif;
}
.sluce-brand-line {
  margin: 5px 0 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FBFAF2;
}
.sluce-gates {
  flex: 2 1 520px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  box-sizing: border-box;
}
.sluce-gate {
  flex: 1 1 20%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 2px solid #123B37;
}
.sluce-gate:last-child {
  border-right: 2px solid #123B37;
}
.winch-wheel {
  width: 40px;
  height: 40px;
  margin: 14px 0 2px 0;
  position: relative;
  background-color: transparent;
}
.winch-rim {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid #B4713B;
  box-sizing: border-box;
  margin: 2px auto 0 auto;
}
.winch-spoke {
  width: 2px;
  height: 34px;
  background-color: #B4713B;
  margin: -34px auto 0 auto;
}
.winch-chain {
  width: 3px;
  height: 8px;
  background-color: #C8C2A8;
  margin: 0 auto 0 auto;
}
.sluce-plank {
  width: 64%;
  margin: 6px auto 0 auto;
  background-color: #3E3830;
  box-shadow: inset 0 0 0 1px #554A3B, inset 0 0 0 4px #4A4234;
  text-align: center;
  padding: 12px 4px 16px 4px;
}
.sluce-link {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: none;
  color: #FBFAF2;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sluce-link:hover {
  color: #f4d9a8;
}
.sluce-water {
  width: 100%;
  background-color: #2F6F68;
  border-top: 3px solid #123B37;
  box-sizing: border-box;
}
.waterline {
  height: 22px;
  background-image: repeating-linear-gradient(to right, #2F6F68 0px, #2F6F68 16px, #123B37 16px, #123B37 20px);
  display: flex;
  align-items: center;
}
.flow-arrow {
  display: inline-block;
  color: #FBFAF2;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0;
}
.sluce-nav-toggle {
  display: none;
}

/* ---------- WEIR STEPS HERO (.weirsteps) ---------- */
.weirsteps {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px 60px 24px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.weir-copy {
  flex: 1 1 46%;
  box-sizing: border-box;
}
.weir-copy h1 {
  font-size: 3.1rem;
  line-height: 1.08;
  margin: 0 0 24px 0;
  color: #2C2A22;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
}
.accent-flow {
  color: #2F6F68;
}
.weir-lead p {
  font-size: 1.12rem;
  margin: 0 0 20px 0;
}
.weir-cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.headgate-btn {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  text-decoration: none;
  color: #FBFAF2;
  background-color: #2F6F68;
  padding: 14px 28px;
  border: 3px solid #B4713B;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #FBFAF2;
  display: inline-block;
}
.headgate-btn:hover {
  background-color: #123B37;
}
.headgate-btn.secondary {
  background-color: #123B37;
  border-color: #B4713B;
}
.headgate-btn.secondary:hover {
  background-color: #2F6F68;
}

/* Stepped weir scene */
.weir-scene {
  flex: 1 1 40%;
  min-width: 360px;
  box-sizing: border-box;
  background:
    repeating-linear-gradient(to right, #E3DFCB 0px, #E3DFCB 1px, #F3F1E5 1px, #F3F1E5 30px);
  border-bottom: none;
}
.weir-scene-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #B4713B;
  margin: 0 0 16px 0;
  font-weight: bold;
}
.weir-platform {
  background-color: #FBFAF2;
  border: 1px solid #E3DFCB;
  box-shadow: inset 0 0 0 6px #FBFAF2, 0 -2px 0 #E3DFCB;
  position: relative;
  padding-bottom: 220px;
  overflow: hidden;
}
.staff-scene {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 14px;
  height: 120px;
  background-color: #B4713B;
  box-shadow: inset 0 0 0 2px #FBFAF2;
}
.depth-ladder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: repeating-linear-gradient(to bottom, #FBFAF2 0px, #FBFAF2 2px, #2C2A22 2px, #2C2A22 7px, #FBFAF2 7px, #FBFAF2 20px);
}
.weir-steps {
  position: relative;
  margin-top: 40px;
}
.terrace {
  height: 70px;
  background-color: #2F6F68;
  border-top: 4px solid #123B37;
}
.terrace.falls {
  border-bottom: 12px solid #B4713B;
  position: relative;
}
.terrace.falls::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50px;
  height: 50px;
  background-color: #A4C9D4;
  border-top: 3px solid #FBFAF2;
}
.water-rips {
  height: 16px;
  background-image: repeating-linear-gradient(to right, #C2E0E2 0px, #C2E0E2 12px, transparent 12px, transparent 18px);
  margin-top: 4px;
}
.upper-channel {
  height: 26px;
  background-color: #B8DDD6;
  position: relative;
  margin-bottom: 8px;
}
.main-gate {
  position: absolute;
  right: 30px;
  top: 18px;
  width: 90px;
  height: 90px;
  background-color: #FBFAF2;
  border: 4px solid #B4713B;
  box-shadow: inset 0 0 0 3px #B4713B;
  border-radius: 50%;
}
.handwheel-x {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 5px;
  height: 5px;
  background-color: #39504b;
  border: 12px solid #123B37;
  border-radius: 50%;
  box-sizing: content-box;
}
.gate-post {
  position: absolute;
  right: 30px;
  top: 12px;
  width: 90px;
  height: 150px;
  border-left: 6px solid #2C2A22;
  border-right: 6px solid #2C2A22;
  background-color: #3E3830;
  box-sizing: border-box;
}

/* ---- REVIEW base for scroll reveal (class .rv-watch) ----
   Default state (no js-on on the root) is fully visible so a noscript
   page displays everything. Once javascript adds js-on to the root the
   watched blocks animate in from a translated, transparent state and
   are flipped to rv-seen when scrolled into view or by the fallback
   timer. Hiding is done only through classes, never inline styles. */
.js-on .rv-watch {
  opacity: 0;
  transform: translateY(18px);
}
.js-on .rv-seen {
  opacity: 1;
  transform: none;
}
.js-on .rv-watch,
.js-on .rv-seen {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js-on .rv-watch,
  .js-on .rv-seen {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- FIELD PLOTS (.fieldplots) ---------- */
.fieldplots {
  background-color: #F3F1E5;
}
.ditch-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.field-intro {
  padding: 30px 0 10px 0;
}
.field-intro h2 {
  font-size: 2.4rem;
  margin: 0 0 12px 0;
  color: #2C2A22;
}
.field-intro p {
  max-width: 780px;
  font-size: 1.1rem;
}
.ditch-main {
  position: relative;
  height: 34px;
  background-color: #2F6F68;
  border-top: 4px solid #123B37;
  border-bottom: 4px solid #123B37;
  margin: 30px 0 46px 0;
}
.ditch-flow {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}
.plot-grid {
  display: block;
}
.plot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
  margin-bottom: 26px;
}
.plot {
  max-width: 48%;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 34px;
  background-color: #FBFAF2;
  border: 1px solid #E3DFCB;
  box-shadow: 0 0 0 5px #F3F1E5, 0 0 0 6px #E3DFCB;
  padding: 26px 26px 30px 26px;
}.plot.wide {
  width: 100%;
  max-width: 58%;
}
.plot.narrow {
  width: 46%;
  max-width: 46%;
}
.plot.deep {
  background-color: #123B37;
  border: none;
  box-shadow: 0 0 0 5px #F3F1E5, 0 0 0 6px #123B37;
}
.plot.deep .plot-copy,
.plot.deep .plot-copy p {
  color: #FBFAF2;
}
.plot.deep h3 {
  color: #f4d9a8;
}
.plot-something {
  display: none;
}
.plot-stake {
  background-color: #B4713B;
  padding: 9px 16px;
  display: inline-block;
  color: #FBFAF2;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  box-shadow: 0 0 0 3px #F3F1E5, 0 0 0 4px #B4713B;
}
.plot-copy {
  margin-top: 12px;
}
.plot-copy h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  color: #2F6F68;
}
.plot-copy p {
  margin: 0 0 10px 0;
  font-size: 1.02rem;
}
.plot-feed {
  position: absolute;
  top: -54px;
  left: 30%;
  height: 34px;
  width: 4px;
  background: repeating-linear-gradient(to bottom, #2F6F68 0px, #2F6F68 7px, #F3F1E5 7px, #F3F1E5 11px);
}
.plot-feed-arrow {
  position: absolute;
  top: -58px;
  left: 29%;
  color: #B4713B;
  font-size: 18px;
  z-index: 2;
}
/* weave text band */
.weave-text {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 30px 24px;
}
.weave-text h2 {
  font-size: 2.1rem;
  color: #2F6F68;
  margin: 0 0 18px 0;
}
.weave-text p {
  font-size: 1.12rem;
  margin: 0 0 16px 0;
}
.weave-text a {
  color: #2F6F68;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #B4713B;
}
.weave-text a:hover {
  color: #B4713B;
}

/* ---------- WATER RELEASE STRIP ---------- */
.water-release {
  background-color: #2F6F68;
  border-top: 6px solid #123B37;
  border-bottom: 6px solid #123B37;
}
.water-release-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.water-release h2 {
  color: #FBFAF2;
  margin: 0 0 10px 0;
  font-size: 1.9rem;
}
.water-release p {
  color: #FBFAF2;
  font-size: 1.14rem;
  margin: 0 0 22px 0;
}
.intake-open {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: none;
  color: #FBFAF2;
  background-color: #B4713B;
  border: 3px solid #FBFAF2;
  padding: 13px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
}
.intake-open:hover {
  background-color: #123B37;
}

/* ---------- CISTERN OUTFLOW FOOTER (.cisternfoot) ---------- */
.cisternfoot {
  background-color: #123B37;
  margin-top: 0;
}
.cistern-topline {
  height: 8px;
  background-color: #2F6F68;
}
.cisternfoot-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 24px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.cistern-brand {
  flex: 1 1 320px;
  max-width: 360px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.cistern-mouth {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #2F6F68;
  border: 8px solid #B4713B;
  box-shadow: inset 0 0 0 4px #123B37;
  position: relative;
}
.cistern-depth-ladder {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: #2C2A22;
  font-size: 0.72rem;
}
.cistern-depth-ladder::after {
  content: "8 6 4 2 0";
  position: absolute;
  top: 4px;
  left: 0;
  font-size: 0.02rem;
  color: #2F6F68;
}
.cispit {
  position: relative;
}
.cistern-mouth-text {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #FBFAF2;
  font-weight: bold;
  font-size: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.cistern-brand h3 {
  margin: 0 0 10px 0;
  color: #FBFAF2;
  font-size: 1.7rem;
}
.cistern-brand p {
  color: #C9C4AA;
  margin: 0 0 14px 0;
  font-size: 1.02rem;
}
.outflow-groups {
  flex: 2 1 520px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.outflow-pipe {
  flex: 1 1 150px;
  max-width: 240px;
  box-sizing: border-box;
  border-top: 6px solid #B4713B;
  padding-top: 18px;
}
.flange {
  width: 16px;
  height: 6px;
  background-color: #B4713B;
  margin-bottom: 6px;
}
.outflow-pipe h4 {
  margin: 0 0 14px 0;
  color: #f4d9a8;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}
.outflow-pipe a {
  display: block;
  color: #C9C4AA;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.outflow-pipe a:hover {
  color: #FBFAF2;
  text-decoration: underline;
}
.cistern-channel {
  border-top: 4px solid #2F6F68;
  margin-top: 30px;
}
.cistern-footline {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 26px 24px;
  color: #C9C4AA;
  font-size: 0.95rem;
}
.cistern-footline a {
  color: #f4d9a8;
  text-decoration: none;
}
.cistern-footline a:hover {
  text-decoration: underline;
}
.foot-contact {
  display: block;
  margin: 6px 0 0 0;
}

/* ---------- shared page intro for subpages ---------- */
.page-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px 40px 24px;
}
.page-intro h1 {
  font-size: 3rem;
  margin: 0 0 18px 0;
  color: #2C2A22;
}
.page-intro p {
  font-size: 1.16rem;
  max-width: 780px;
}

/* ---------- section generic band ---------- */
.section-band {
  background-color: #FBFAF2;
  border-top: 4px solid #E3DFCB;
  border-bottom: 4px solid #E3DFCB;
}
.section-band-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px;
}
.section-band h2 {
  font-size: 2.2rem;
  color: #123B37;
  margin: 0 0 20px 0;
}
.section-band h3 {
  color: #2F6F68;
  font-size: 1.5rem;
}
.section-band p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 18px 0;
}
.two-col {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.two-col > div {
  flex: 1 1 42%;
}
.legal-link-row a {
  color: #2F6F68;
}

/* process overview on services page */
.process-overview {
  background-color: #123B37;
}
.process-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px;
}
.process-inner h2 {
  font-size: 2.1rem;
  color: #f4d9a8;
  text-align: center;
  margin: 0 0 30px 0;
}
.step-trace {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
}
.step-line {
  flex: 1 1 150px;
  max-width: 200px;
  background-color: #FBFAF2;
  border-top: 6px solid #B4713B;
  padding: 16px 18px 22px 18px;
  box-sizing: border-box;
  box-shadow: 0 0 0 4px #123B37;
}
.step-number {
  display: inline-block;
  background-color: #2F6F68;
  color: #FBFAF2;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
}
.step-line h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #123B37;
}
.step-line p {
  margin: 0;
  font-size: 0.98rem;
}
.section-intro-line {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #B4713B;
  font-weight: bold;
}
.step-link {
  display: inline-block;
  color: #2F6F68;
  font-weight: bold;
  margin-top: 6px;
  text-decoration: none;
  border-bottom: 2px solid #B4713B;
}
.step-link:hover {
  color: #123B37;
}

/* contact page helper */
.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-form-panel {
  flex: 1 1 52%;
}
.contact-detail-panel {
  flex: 1 1 34%;
}
.contact-form-panel label {
  display: block;
  font-weight: bold;
  margin: 16px 0 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #123B37;
}
.contact-field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  background-color: #F3F1E5;
  border: 2px solid #E3DFCB;
  color: #2C2A22;
}
.contact-field:focus {
  outline: none;
  border-color: #2F6F68;
  background-color: #FBFAF2;
}
textarea.contact-field {
  min-height: 140px;
}
.submit-rail {
  font-family: Georgia, "Times New Roman", serif;
  background-color: #2F6F68;
  border: 3px solid #B4713B;
  color: #FBFAF2;
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 20px;
  cursor: pointer;
}
.submit-rail:hover {
  background-color: #123B37;
}
.contact-form-note {
  font-size: 0.9rem;
  color: #4a4a44;
}
.detail-item {
  padding: 14px 0;
  border-bottom: 1px solid #E3DFCB;
}
.detail-item h4 {
  margin: 0 0 6px 0;
  color: #2F6F68;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.detail-item p {
  margin: 0;
  font-size: 1.05rem;
}
.detail-item a {
  color: #2F6F68;
  text-decoration: none;
  border-bottom: 2px solid #B4713B;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item h4 {
  color: #123B37;
  margin-bottom: 6px;
  font-size: 1.08rem;
}
.faq-item p {
  margin: 0;
  font-size: 1rem;
}
.form-status {
  display: none;
  margin-top: 16px;
  color: #123B37;
  font-weight: bold;
}

/* mobile responsive */
@media (max-width: 880px) {
  .slucehead-inner {
    flex-direction: column;
  }
  .sluce-weirwall {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 18px;
  }
  .sluce-nav-toggle {
    display: inline-block;
    font-family: Georgia, "Times New Roman", serif;
    color: #FBFAF2;
    background-color: #B4713B;
    border: 2px solid #FBFAF2;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
  }
  .sluce-gates {
    width: 100%;
    flex-direction: row;
    display: none;
  }
  .slucehead.menu-open .sluce-gates {
    display: flex;
  }
  .sluce-gate {
    flex: 1 1 40%;
    min-width: 40%;
  }
  .sluce-water {
    display: none;
  }
  .weirsteps {
    flex-direction: column;
  }
  .weir-scene {
    min-width: 0;
    width: 100%;
    order: 2;
  }
  .plot {
    max-width: 100% !important;
    width: 100% !important;
  }
  .plot-row {
    flex-direction: column;
  }
  .step-trace {
    flex-direction: column;
    align-items: stretch;
  }
  .step-line {
    max-width: 100%;
  }
  .cistern-brand {
    flex-direction: column;
    max-width: 100%;
  }
  .outflow-pipe {
    max-width: 100%;
  }
}
