/* Cangzhou Taojing Trading Co., Ltd. — wave crystal salt-pan theme
   Palette: LAKE-BLUE #5A7EA6 body, SKY-MIST #7E9AB4 text/accent.
   No rgba, no opacity, no gradients on text. All decorative lines are solid hex. */

* {
  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: #5A7EA6;
  color: #7E9AB4;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #7E9AB4;
  text-decoration: none;
}

a:hover {
  color: #7E9AB4;
  text-decoration: underline;
}

/* ---------- TIDE LINE RAIL NAV ---------- */
.tidalnav {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: #5A7EA6;
  padding: 16px 28px;
  border-bottom: 3px solid #7E9AB4;
  flex-wrap: wrap;
}

.tidalnav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: bold;
  letter-spacing: 0.4px;
  color: #7E9AB4;
  margin-right: auto;
  max-width: 360px;
  line-height: 1.3;
}

.tidalnav-dot {
  width: 11px;
  height: 11px;
  background-color: #7E9AB4;
  transform: rotate(45deg);
  display: inline-block;
  flex: none;
}

.tidalnav-rail {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.tidalnav-line {
  position: relative;
  background-color: #7E9AB4;
  padding: 9px 20px 13px;
  border-radius: 0;
  border-bottom: 2px solid #5A7EA6;
}

.tidalnav-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 7px;
  background-color: #5A7EA6;
  border-top: 1px solid #7E9AB4;
  border-bottom: 1px solid #7E9AB4;
}

.tidalnav-line::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 9px;
  width: 5px;
  height: 5px;
  background-color: #5A7EA6;
  border-radius: 50%;
  z-index: 2;
}

.tidalnav-link {
  position: relative;
  z-index: 2;
  color: #5A7EA6;
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.tidalnav-link:hover {
  color: #5A7EA6;
  text-decoration: underline;
}

.tidalnav-toggle {
  display: none;
  background-color: #5A7EA6;
  color: #7E9AB4;
  border: 2px solid #7E9AB4;
  font-family: Georgia, serif;
  font-size: 1rem;
  padding: 6px 14px;
  cursor: pointer;
}

/* ---------- BRINE PAN COLUMNS HERO ---------- */
.brinehero {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 72px;
  align-items: center;
}

.brinehero-copy {
  padding-right: 40px;
}

.brinehero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7E9AB4;
  border-left: 3px solid #7E9AB4;
  padding-left: 12px;
  margin-bottom: 22px;
}

.brinehero-headline {
  font-size: 2.9rem;
  line-height: 1.12;
  color: #7E9AB4;
  font-weight: bold;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.brinehero-display {
  display: block;
  font-style: italic;
  font-size: 4.1rem;
  line-height: 1.02;
  color: #7E9AB4;
  margin-top: 6px;
}

.brinehero-text {
  font-size: 1.04rem;
  color: #7E9AB4;
  margin-bottom: 20px;
  max-width: 560px;
}

.brinehero-text a {
  text-decoration: underline;
  font-weight: bold;
}

.brinehero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: #7E9AB4;
  color: #5A7EA6;
  font-weight: bold;
  font-size: 1rem;
  padding: 0;
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.brinehero-cta span.brinehero-cta-label {
  padding: 14px 26px;
}

.brinehero-cta span.brinehero-cta-arrow {
  padding: 14px 20px;
  border-left: 2px solid #5A7EA6;
}

.brinehero-cta:hover {
  color: #5A7EA6;
  text-decoration: none;
}

/* Salt pan grid over brine pool */
.brinehero-pan {
  position: relative;
  background-color: #5A7EA6;
  border: 3px solid #7E9AB4;
  padding: 18px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brinehero-pool {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  height: 100%;
  background-color: #7E9AB4;
  padding: 6px;
}

.brinehero-cell {
  position: relative;
  background-color: #5A7EA6;
  border: 1px solid #7E9AB4;
  aspect-ratio: 1 / 1;
}

.brinehero-cell::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  background-color: #7E9AB4;
}

.brinehero-cell::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background-color: #7E9AB4;
}

.brinehero-rake {
  position: absolute;
  right: -10px;
  top: 12px;
  width: 6px;
  height: 78%;
  background-color: #7E9AB4;
}

.brinehero-rake::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -14px;
  width: 34px;
  height: 12px;
  background-color: #7E9AB4;
}

.brinehero-rake::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -8px;
  width: 22px;
  height: 4px;
  background-color: #7E9AB4;
}

/* ---------- HARVEST ROW RUN ---------- */
.harvestwrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 28px 40px;
}

.harvestrow-intro {
  margin-bottom: 26px;
  font-size: 1.12rem;
  color: #7E9AB4;
  max-width: 760px;
}

.harvestrow {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid #7E9AB4;
  align-items: start;
}

.harvestrow:last-child {
  border-bottom: 1px solid #7E9AB4;
}

.harvestrow-rake {
  position: relative;
  width: 34px;
  height: 34px;
  border-left: 4px solid #7E9AB4;
  margin-top: 6px;
}

.harvestrow-rake::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 4px;
  height: 14px;
  background-color: #7E9AB4;
}

.harvestrow-rake::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 22px;
  height: 4px;
  background-color: #7E9AB4;
  box-shadow: 4px -6px 0 0 #7E9AB4, 4px 6px 0 0 #7E9AB4;
}

.harvestrow-body h3 {
  font-size: 1.36rem;
  color: #7E9AB4;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.harvestrow-body p {
  color: #7E9AB4;
  font-size: 1rem;
  max-width: 760px;
}

.harvestrow-body a {
  text-decoration: underline;
  font-weight: bold;
}

.harvestrow-crystal {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #7E9AB4;
  transform: rotate(45deg);
  float: right;
  margin-top: 6px;
}

.harvestrow-has-crystal .harvestrow-body {
  position: relative;
}

/* ---------- CRYSTAL BAND ---------- */
.crystalband {
  margin: 20px auto 0;
  max-width: 1180px;
  background-color: #7E9AB4;
  padding: 0;
}

.crystalband-profile {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 14px 22px 0;
  background-color: #5A7EA6;
  border-left: 3px solid #7E9AB4;
  border-right: 3px solid #7E9AB4;
  border-top: 3px solid #7E9AB4;
}

.crystalband-cell {
  width: 26px;
  height: 18px;
  background-color: #7E9AB4;
  border: 1px solid #5A7EA6;
  position: relative;
}

.crystalband-cell.is-corner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background-color: #5A7EA6;
}

.crystalband-cell.is-rake {
  width: 6px;
  height: 34px;
  background-color: #7E9AB4;
  align-self: flex-start;
  margin-left: auto;
  border: none;
}

.crystalband-body {
  background-color: #7E9AB4;
  color: #5A7EA6;
  text-align: center;
  padding: 22px 28px;
  font-size: 1.12rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  border-left: 3px solid #7E9AB4;
  border-right: 3px solid #7E9AB4;
  border-bottom: 3px solid #7E9AB4;
}

/* ---------- SECONDARY / PROSE SECTIONS ---------- */
.saltsection {
  max-width: 1000px;
  margin: 0 auto;
  padding: 54px 28px;
}

.saltsection h2 {
  font-size: 1.9rem;
  color: #7E9AB4;
  margin-bottom: 18px;
  border-left: 5px solid #7E9AB4;
  padding-left: 16px;
  letter-spacing: -0.3px;
}

.saltsection p {
  color: #7E9AB4;
  margin-bottom: 16px;
  font-size: 1.02rem;
  max-width: 860px;
}

.saltsection a {
  text-decoration: underline;
  font-weight: bold;
}

.saltgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #7E9AB4;
  margin-top: 22px;
}

.saltgrid-item {
  padding: 24px 22px;
  border-right: 1px solid #7E9AB4;
  border-bottom: 1px solid #7E9AB4;
}

.saltgrid-item:nth-child(3n) {
  border-right: none;
}

.saltgrid-item h4 {
  color: #7E9AB4;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.saltgrid-item p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

.whyblock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 10px;
}

.whyblock h3 {
  font-size: 1.3rem;
  color: #7E9AB4;
  margin-bottom: 8px;
}

/* ---------- DYKE CLOSER FOOTER ---------- */
.dykefoot {
  background-color: #5A7EA6;
  border-top: 2px solid #7E9AB4;
  margin-top: 40px;
  padding: 0 28px 40px;
  position: relative;
}

.dykefoot-crest {
  position: relative;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 26px solid #5A7EA6;
  border-right: 26px solid #5A7EA6;
  border-bottom: 20px solid #7E9AB4;
  transform: translateY(-1px);
}

.dykefoot-crest::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -12px;
  width: 24px;
  height: 3px;
  background-color: #5A7EA6;
}

.dykefoot-links {
  text-align: center;
  padding: 26px 0 20px;
  font-size: 0.98rem;
  color: #7E9AB4;
}

.dykefoot-links a {
  color: #7E9AB4;
  text-decoration: none;
  padding: 0 4px;
}

.dykefoot-links a:hover {
  text-decoration: underline;
}

.dykefoot-sep {
  color: #7E9AB4;
  padding: 0 6px;
}

.dykefoot-brand {
  text-align: center;
  font-size: 1.12rem;
  font-weight: bold;
  color: #7E9AB4;
  margin-bottom: 8px;
}

.dykefoot-blurb {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 20px;
  color: #7E9AB4;
  font-size: 0.98rem;
}

.dykefoot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #7E9AB4;
  font-size: 0.9rem;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.9;
}

.dykefoot-meta span.dykefoot-glyph {
  display: inline-block;
  width: 12px;
  height: 6px;
  border-top: 2px solid #7E9AB4;
  border-bottom: 2px solid #7E9AB4;
  margin-right: 6px;
}

.dykefoot-meta .dykefoot-sep {
  padding: 0 2px;
}

.dykefoot-meta a {
  color: #7E9AB4;
  text-decoration: underline;
}

/* ---------- SCROLL REVEAL (transform only, no opacity) ---------- */
.reveal {
  transition: transform 0.6s ease;
}

.js-reveal .reveal {
  transform: translateY(22px);
}

.js-reveal .reveal.is-visible {
  transform: translateY(0);
}

/* ---------- SERVICES PAGE EXTRAS ---------- */
.serviceblock {
  border-top: 1px solid #7E9AB4;
  padding: 30px 0;
}

.serviceblock:last-of-type {
  border-bottom: 1px solid #7E9AB4;
}

.serviceblock h3 {
  font-size: 1.5rem;
  color: #7E9AB4;
  margin-bottom: 10px;
}

.serviceblock .serviceblock-tag {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7E9AB4;
  border: 1px solid #7E9AB4;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.serviceblock p {
  color: #7E9AB4;
  margin-bottom: 14px;
  max-width: 840px;
}

.processlist {
  list-style: none;
  margin-top: 18px;
  counter-reset: step;
}

.processlist li {
  position: relative;
  padding: 16px 0 16px 66px;
  border-top: 1px solid #7E9AB4;
  color: #7E9AB4;
}

.processlist li:last-child {
  border-bottom: 1px solid #7E9AB4;
}

.processlist li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 40px;
  height: 40px;
  border: 2px solid #7E9AB4;
  color: #7E9AB4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.processlist li strong {
  color: #7E9AB4;
  display: block;
  margin-bottom: 4px;
  font-size: 1.06rem;
}

/* ---------- CONTACT PAGE ---------- */
.contactwrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contactwrap h1,
.contactintro-h1 {
  font-size: 2.4rem;
  color: #7E9AB4;
  margin-bottom: 18px;
}

.contactintro {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 28px 0;
}

.contactintro p {
  color: #7E9AB4;
  max-width: 760px;
  margin-bottom: 12px;
}

.contactcol h2 {
  font-size: 1.4rem;
  color: #7E9AB4;
  margin-bottom: 16px;
  border-left: 4px solid #7E9AB4;
  padding-left: 12px;
}

.contactinfo-list {
  list-style: none;
}

.contactinfo-list li {
  padding: 12px 0;
  border-top: 1px solid #7E9AB4;
  color: #7E9AB4;
}

.contactinfo-list li:last-child {
  border-bottom: 1px solid #7E9AB4;
}

.contactinfo-list strong {
  display: block;
  color: #7E9AB4;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contactinfo-list a {
  color: #7E9AB4;
  text-decoration: underline;
}

.contactform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contactform label {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  color: #7E9AB4;
  margin-bottom: 6px;
  font-weight: bold;
}

.contactform input,
.contactform textarea {
  width: 100%;
  background-color: #5A7EA6;
  border: 2px solid #7E9AB4;
  color: #7E9AB4;
  font-family: Georgia, serif;
  font-size: 1rem;
  padding: 11px 13px;
}

.contactform input::placeholder,
.contactform textarea::placeholder {
  color: #7E9AB4;
}

.contactform input:focus,
.contactform textarea:focus {
  outline: none;
  border-color: #7E9AB4;
  background-color: #5A7EA6;
}

.contactform textarea {
  min-height: 140px;
  resize: vertical;
}

.contactform button {
  align-self: flex-start;
  background-color: #7E9AB4;
  color: #5A7EA6;
  border: none;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 14px 30px;
  cursor: pointer;
  letter-spacing: 0.4px;
}

.contactform button:hover {
  color: #5A7EA6;
}

.contactform-note {
  font-size: 0.88rem;
  color: #7E9AB4;
  margin-top: 2px;
}

.contactform-status {
  font-size: 0.92rem;
  color: #7E9AB4;
  font-weight: bold;
  min-height: 1em;
}

.faqwrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 28px 60px;
}

.faqwrap h2 {
  font-size: 1.7rem;
  color: #7E9AB4;
  margin-bottom: 18px;
  border-left: 5px solid #7E9AB4;
  padding-left: 16px;
}

.faqitem {
  border-top: 1px solid #7E9AB4;
}

.faqitem:last-child {
  border-bottom: 1px solid #7E9AB4;
}

.faqitem-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #7E9AB4;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: bold;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  position: relative;
}

.faqitem-q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #7E9AB4;
}

.faqitem.is-open .faqitem-q::after {
  content: "\2212";
}

.faqitem-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faqitem.is-open .faqitem-a {
  max-height: 340px;
}

.faqitem-a p {
  color: #7E9AB4;
  padding: 0 0 20px;
  max-width: 760px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .brinehero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }
  .brinehero-copy {
    padding-right: 0;
    margin-bottom: 36px;
  }
  .saltgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .saltgrid-item:nth-child(3n) {
    border-right: 1px solid #7E9AB4;
  }
  .saltgrid-item:nth-child(2n) {
    border-right: none;
  }
  .whyblock {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contactwrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .tidalnav {
    padding: 14px 18px;
  }
  .tidalnav-toggle {
    display: inline-block;
  }
  .tidalnav-rail {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
  .tidalnav.is-open .tidalnav-rail {
    display: flex;
  }
  .tidalnav-line {
    width: 100%;
  }
  .brinehero-headline {
    font-size: 2.2rem;
  }
  .brinehero-display {
    font-size: 3rem;
  }
  .saltgrid {
    grid-template-columns: 1fr;
  }
  .saltgrid-item {
    border-right: none;
  }
  .harvestrow {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }
  .saltsection,
  .harvestwrap,
  .contactwrap,
  .contactintro,
  .faqwrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .loginbutton, .brinehero-cta {
    width: 100%;
  }
}
