/* CloudSage Ecom — ground weather observation station theme
   Palette:
   OBSERVATION-PAPER #EFF0EA  body background
   WATCHMAN-INK      #27302A  primary text
   SHELTER-GREEN     #5C7A52  accent
   CELLAR-DEEP       #242E28  wells / footer
   PANEL-DEW         #E2E6DC  panels / cards
   GLASS-TAN         #C9BC98  tertiary details / drum chart
   STORM-SLATE       #5E6E7E  secondary labels
   GAUGE-COPPER      #B4744A  rain gauge float column + clock glyph ONLY
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #EFF0EA;
  color: #27302A;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.2;
  color: #27302A;
}

a {
  color: #5C7A52;
}

img {
  max-width: 100%;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ---------- LOUVER TRACK NAV ---------- */
.louvnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #242E28;
  padding: 0 0 0 0;
}

.louvnav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.louvnav-brand {
  background-color: #EFF0EA;
  color: #242E28;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.14rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  border-left: 5px solid #5C7A52;
}

.louvnav-brand small {
  display: block;
  font-weight: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5E6E7E;
}

.louvnav-rail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  padding-top: 2px;
}

.louvnav-rail li {
  display: flex;
}

.louvnav-link {
  display: block;
  background-color: #5C7A52;
  color: #EFF0EA;
  text-decoration: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 0 10px 10px 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.louvnav-link:hover,
.louvnav-link:focus {
  background-color: #E2E6DC;
  color: #242E28;
}

.louvnav-slats {
  width: 100%;
  height: 5px;
  margin-top: 12px;
  background-color: #1b231e;
}

.louvnav-slats span {
  display: block;
}

.louvnav-toggle {
  display: none;
  background-color: #5C7A52;
  color: #EFF0EA;
  border: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border-radius: 2px;
  cursor: pointer;
  margin-bottom: 8px;
}

/* ---------- OBSERVATION FIELD SCENE ---------- */
.obsfield {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 0;
}

.obsfield-head {
  max-width: 780px;
}

.obsfield-kicker {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5E6E7E;
  margin-bottom: 16px;
}

.obsfield-title {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 6px;
}

.obsfield-display {
  display: block;
  font-size: 4.6rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #5C7A52;
  line-height: 1;
  margin-bottom: 16px;
}

.obsfield-lede {
  font-size: 1.08rem;
  color: #27302A;
  margin-bottom: 14px;
}

.obsfield-inline-link {
  display: inline-block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
  color: #5C7A52;
  text-decoration: none;
  border-bottom: 2px solid #5C7A52;
  padding-bottom: 2px;
}

.obsfield-inline-link:hover {
  color: #242E28;
  border-color: #242E28;
}

.obsfield-band {
  margin-top: 34px;
  background-color: #E2E6DC;
  border: 2px solid #5C7A52;
  border-bottom: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  padding: 26px 20px 0;
  gap: 12px;
  min-height: 300px;
}

.obsfield-cta {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  background-color: #5C7A52;
  color: #EFF0EA;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  padding: 16px 24px;
  transition: background-color 0.25s ease;
}

.obsfield-cta:hover,
.obsfield-cta:focus {
  background-color: #242E28;
}

/* --- shelter --- */
.scene-shelter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 240px;
}

.shelter-body {
  width: 150px;
  background-color: #5C7A52;
  border-radius: 4px 4px 0 0;
  padding: 8px 0;
  position: relative;
  box-shadow: inset 0 0 0 3px #3f5638;
}

.shelter-louver {
  height: 9px;
  margin: 5px 9px;
  background-color: #EFF0EA;
  border-radius: 1px;
}

.shelter-door {
  position: absolute;
  right: -22px;
  top: 26px;
  width: 24px;
  height: 78px;
  background-color: #E2E6DC;
  border: 2px solid #3f5638;
  transform: skewY(-6deg) rotate(8deg);
  transform-origin: left center;
}

.shelter-legs {
  display: flex;
  width: 118px;
  justify-content: space-between;
  height: 84px;
}

.shelter-legs i {
  display: block;
  width: 7px;
  background-color: #27302A;
}

.scene-label {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5E6E7E;
  margin-top: 10px;
}

/* --- drum chart recorder --- */
.scene-drum {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 260px;
}

.drum-chart {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background-color: #C9BC98;
  border: 5px solid #5E6E7E;
  position: relative;
  overflow: hidden;
}

.drum-spiral {
  position: absolute;
  inset: 8px;
  border: 2px solid #8a7f5f;
  border-radius: 50%;
}

.drum-spiral-b {
  position: absolute;
  inset: 26px;
  border: 2px solid #8a7f5f;
  border-radius: 50%;
}

.drum-spiral-c {
  position: absolute;
  inset: 44px;
  border: 1px solid #8a7f5f;
  border-radius: 50%;
}

.drum-stylus {
  width: 4px;
  height: 56px;
  background-color: #B4744A;
  transform: rotate(22deg);
  margin: 0 0 -6px 58px;
}

.drum-pedestal {
  width: 46px;
  height: 66px;
  background-color: #27302A;
}

.drum-base {
  width: 104px;
  height: 12px;
  background-color: #27302A;
}

/* --- rain gauge --- */
.scene-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 260px;
}

.gauge-stack {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.gauge-body {
  width: 44px;
  height: 150px;
  background-color: #E2E6DC;
  border: 3px solid #5E6E7E;
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}

.gauge-float {
  width: 22px;
  height: 84px;
  background-color: #B4744A;
  border-radius: 11px 11px 0 0;
}

.gauge-mast {
  width: 6px;
  height: 190px;
  background-color: #27302A;
  position: relative;
}

.gauge-vane {
  position: absolute;
  top: -4px;
  left: -34px;
  width: 74px;
  height: 8px;
  background-color: #5C7A52;
}

.gauge-vane::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -8px;
  border-left: 16px solid #5E6E7E;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.gauge-cups {
  position: absolute;
  top: 30px;
  left: -26px;
  width: 58px;
  height: 20px;
  display: flex;
  justify-content: space-between;
}

.gauge-cups i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #5C7A52;
  border: 2px solid #27302A;
}

.gauge-base {
  width: 96px;
  height: 12px;
  background-color: #27302A;
}

/* ---------- generic section wrapper ---------- */
.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-head {
  margin-bottom: 34px;
}

.section-kicker {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5E6E7E;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 760px;
  color: #27302A;
}

/* ---------- ENAMEL OBSERVATION BOARD WALL ---------- */
.enamelwall {
  background-color: #EFF0EA;
  padding: 30px 0 70px;
}

.enamelwall-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.enamelwall-board {
  background-color: #E2E6DC;
  border: 3px solid #5E6E7E;
  border-radius: 6px;
  padding: 40px 30px 54px;
  position: relative;
}

.enamelwall-board::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: #5E6E7E;
}

.enamel-plate {
  background-color: #E2E6DC;
  border: 2px solid #5E6E7E;
  border-radius: 4px;
  padding: 20px 22px;
  margin-bottom: 22px;
  position: relative;
}

.enamel-mark {
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #5E6E7E;
}

.plate-w1 { width: 78%; margin-left: 0; }
.plate-w2 { width: 66%; margin-left: 12%; }
.plate-w3 { width: 86%; margin-left: 3%; }
.plate-w4 { width: 60%; margin-left: 22%; }
.plate-w5 { width: 74%; margin-left: 8%; }
.plate-w6 { width: 82%; margin-left: 2%; }

.enamel-plate h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  padding-right: 40px;
}

.enamel-plate p {
  color: #27302A;
}

.enamel-plate p a {
  color: #5C7A52;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #5C7A52;
}

.plate-gauge {
  position: absolute;
  bottom: 12px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #B4744A;
}

.plate-check {
  position: absolute;
  bottom: 12px;
  right: 16px;
  width: 28px;
  height: 28px;
  background-color: #5C7A52;
  border-radius: 3px;
}

.plate-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 9px;
  height: 15px;
  border-right: 3px solid #EFF0EA;
  border-bottom: 3px solid #EFF0EA;
  transform: rotate(42deg);
}

/* ---------- handover notice band ---------- */
.handover {
  background-color: #242E28;
  color: #EFF0EA;
  padding: 18px 24px;
}

.handover-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.handover-clock {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #B4744A;
  position: relative;
}

.handover-clock::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 7px;
  width: 2px;
  height: 9px;
  background-color: #242E28;
}

.handover-clock::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 8px;
  height: 2px;
  background-color: #242E28;
}

.handover p {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ---------- prose blocks ---------- */
.prose-band {
  background-color: #E2E6DC;
}

.prose-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.prose-note {
  background-color: #EFF0EA;
  border-left: 6px solid #5C7A52;
  padding: 20px 22px;
}

.prose-note h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.prose-note ul {
  list-style: none;
  margin-top: 10px;
}

.prose-note li {
  padding: 6px 0;
  border-bottom: 1px solid #c9cfc2;
  color: #27302A;
}

.prose-note li:last-child {
  border-bottom: none;
}

.service-inline {
  color: #5C7A52;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #5C7A52;
}

.lede-para {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.body-para {
  margin-bottom: 16px;
}

.stat-block {
  background-color: #EFF0EA;
  border: 2px solid #5C7A52;
  padding: 26px 24px;
  text-align: center;
}

.stat-block .stat-word {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #5C7A52;
  display: block;
}

.stat-block .stat-caption {
  font-size: 0.9rem;
  color: #5E6E7E;
  display: block;
  margin-top: 6px;
}

/* ---------- services page ---------- */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.svc-row {
  background-color: #E2E6DC;
  border: 2px solid #5E6E7E;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: start;
}

.svc-row-mark {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5E6E7E;
}

.svc-row-mark strong {
  display: block;
  font-size: 2rem;
  color: #5C7A52;
  letter-spacing: 0.02em;
}

.svc-row h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.svc-row p {
  margin-bottom: 12px;
}

.svc-row p:last-child {
  margin-bottom: 0;
}

.process-list {
  list-style: none;
  counter-reset: none;
}

.process-list li {
  background-color: #EFF0EA;
  border-left: 5px solid #5C7A52;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.process-list li strong {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  display: block;
  margin-bottom: 4px;
}

.cta-band {
  background-color: #242E28;
  color: #EFF0EA;
  padding: 40px 24px;
}

.cta-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #EFF0EA;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta-band p {
  max-width: 620px;
}

.cta-band-link {
  display: inline-block;
  background-color: #5C7A52;
  color: #EFF0EA;
  text-decoration: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  padding: 14px 26px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.cta-band-link:hover {
  background-color: #E2E6DC;
  color: #242E28;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5E6E7E;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: #27302A;
  background-color: #EFF0EA;
  border: 2px solid #5E6E7E;
  border-radius: 3px;
  padding: 11px 13px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #5C7A52;
}

.form-submit {
  background-color: #5C7A52;
  color: #EFF0EA;
  border: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 14px 30px;
  border-radius: 2px;
  cursor: pointer;
}

.form-submit:hover {
  background-color: #242E28;
}

.form-status {
  margin-top: 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.9rem;
  color: #5C7A52;
  min-height: 20px;
}

.contact-card {
  background-color: #E2E6DC;
  border: 2px solid #5E6E7E;
  padding: 24px 26px;
  margin-bottom: 22px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.contact-card address {
  font-style: normal;
  color: #27302A;
  line-height: 1.8;
}

.contact-card a {
  color: #5C7A52;
  font-weight: bold;
  text-decoration: none;
}

.faq-item {
  border-bottom: 2px solid #c9cfc2;
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.02rem;
  color: #27302A;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.faq-q::after {
  content: "+";
  color: #5C7A52;
  font-weight: bold;
}

.faq-item.open .faq-q::after {
  content: "-";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #27302A;
}

.faq-item.open .faq-a {
  max-height: 340px;
  margin-top: 10px;
}

/* ---------- INSTRUMENT LOCKER FOOTER ---------- */
.lockerfoot {
  background-color: #242E28;
  color: #EFF0EA;
  margin-top: 0;
}

.lockerfoot-hooks {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  border-bottom: 3px solid #5E6E7E;
}

.lockerfoot-hooks i {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #5E6E7E;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}

.lockerfoot-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.lockerfoot-plate {
  background-color: #EFF0EA;
  color: #242E28;
  padding: 22px 24px;
  border-radius: 3px;
  border-top: 6px solid #5C7A52;
}

.lockerfoot-plate strong {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 10px;
}

.lockerfoot-plate p {
  color: #27302A;
  font-size: 0.95rem;
}

.lockerfoot-col h4 {
  color: #EFF0EA;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lockerfoot-gauge {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #5C7A52;
  border-radius: 50%;
}

.lockerfoot-col ul {
  list-style: none;
}

.lockerfoot-col li {
  margin-bottom: 8px;
}

.lockerfoot-col a {
  color: #EFF0EA;
  text-decoration: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.94rem;
}

.lockerfoot-col a:hover {
  text-decoration: underline;
}

.lockerfoot-strip {
  background-color: #1b231e;
  color: #EFF0EA;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.85rem;
}

.lockerfoot-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}

.lockerfoot-vane {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 3px solid #5C7A52;
  border-top: 3px solid #5C7A52;
  transform: rotate(45deg);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .obsfield-display {
    font-size: 3.3rem;
  }

  .obsfield-band {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
  }

  .scene-shelter,
  .scene-drum,
  .scene-gauge {
    height: auto;
    padding-bottom: 10px;
  }

  .prose-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .svc-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .louvnav-toggle {
    display: inline-block;
  }

  .louvnav-rail {
    display: none;
    width: 100%;
  }

  .louvnav-rail.open {
    display: flex;
  }

  .louvnav-link {
    width: 100%;
    border-radius: 2px;
  }

  .plate-w1,
  .plate-w2,
  .plate-w3,
  .plate-w4,
  .plate-w5,
  .plate-w6 {
    width: 100%;
    margin-left: 0;
  }

  .obsfield-title {
    font-size: 1.8rem;
  }

  .obsfield-display {
    font-size: 2.6rem;
  }
}
