/* ============================================================
   ZHONGYUAN PHARMA press-room stylesheet
   Herbal folio press room above Hysan Avenue
   FOLIO CREAM body, PRESS INK text, DRIED TANSY accent
   All surfaces opaque. No rgba. No decimal opacity. No text gradients.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body,
header,
footer,
section,
div,
main,
p,
h1,
h2,
h3,
h4,
ul,
li,
a { font-family: inherit; }

a { color: #6B5E1E; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #2A2C27; }

p { margin: 0 0 1em; }
img { max-width: 100%; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }

/* ============================ NAV ============================ */
/* PRESS STRAP NAV - sticky press-room header */
.navwrap { background-color: #F4F1E4; }
.pressstrap {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 6vw;
  background-color: #F4F1E4;
  border-bottom: 3px solid #8A897F;
  box-shadow: 0 1px 0 #C6C0A4;
}
.brandplate {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.presslogo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 13px;
  background-color: #8F8A3D;
  color: #FBF9EF;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #6B5E1E;
  text-transform: uppercase;
}
.csstable {
  display: inline-block;
  width: 20px;
  height: 22px;
  position: relative;
}
.csstable { display: inline-block; width: 22px; height: 26px; position: relative; }
.csstable .boardline {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #6B5E1E;
  border-radius: 2px;
}
.csstable .bl { top: 2px; }
.csstable .bb { bottom: 2px; }
.csstable .wingnut {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #8F8A3D;
  border: 2px solid #2A2C27;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
}
.navlinks { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.straploop {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px 7px 12px;
  background-color: #E3DEC9;
  border: 1px solid #BEB89B;
  border-radius: 8px 8px 2px 2px;
  color: #2A2C27;
  font-weight: 600;
  position: relative;
}
.straploop::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #8F8A3D;
  position: absolute;
  top: 4px;
  right: 5px;
}
.straploop:hover { background-color: #FBF9EF; color: #2A2C27; }
.ctachip {
  text-decoration: none;
  display: inline-block;
  padding: 9px 17px;
  background-color: #8F8A3D;
  color: #FBF9EF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}
.ctachip:hover { background-color: #6B5E1E; color: #FBF9EF; }
.navtick {
  width: 100%;
  height: 3px;
  margin-top: -3px;
  background-image: repeating-linear-gradient(90deg, #8A897F 0 12px, #F4F1E4 12px 24px);
}
.menutoggle {
  display: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 10px 14px;
  background-color: #8F8A3D;
  color: #FBF9EF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

/* ============================ HERO ============================ */
/* FOLIO PRESS HERO - open bench, no side split */
.foliopress { background-color: #F4F1E4; }
.clip {
  position: relative;
  overflow: hidden;
}
.benchpress { padding: 30px 6vw 0; position: relative; }
.pressstage {
  position: relative;
}
.pressdiagram {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: end;
}
.pressframe { position: relative; background-color: #2E3029; border-radius: 6px; width: 100%; padding: 10px; }
.topboard, .botboard {
  position: relative;
  background-color: #8A897F;
  border: 2px solid #2A2C27;
  border-radius: 3px;
  min-height: 96px;
  box-shadow: 0 3px 0 #5B5140;
}
.botboard { margin-top: 6px; box-shadow: none; }
.presswindow {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background-color: #FBF9EF;
  border: 1px dashed #6B5E1E;
  border-radius: 2px;
}
.presswindow::before,
.presswindow::after {
  content: "";
  position: absolute;
  background-color: #BCB59B;
}
.presswindow::before { left: 34%; right: 34%; top: 0; bottom: 0; width: 4px; }
.presswindow::after { top: 34%; bottom: 34%; left: 0; right: 0; height: 4px; }
.pressstrap {
  position: absolute;
  background-color: #8F8A3D;
  height: 30px;
  width: 22px;
  border-radius: 3px;
  border: 1px solid #6B5E1E;
  z-index: 2;
}
.pressstrap.ps1 { top: -8px; left: 30%; }
.pressstrap.ps2 { bottom: -8px; left: 54%; }
.wingnut {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #8F8A3D;
  border: 2px solid #2A2C27;
  z-index: 3;
}
.topboard .wingnut.wn1 { top: -6px; left: 28%; }
.botboard .wingnut.wn2 { bottom: -6px; left: 52%; }
.sheetedge {
  position: absolute;
  top: 18px;
  left: -8px;
  width: 30px;
  height: 110px;
  background-color: #FBF9EF;
  border: 1px solid #BEB89B;
  transform: rotate(4deg);
}
.mortar {
  position: absolute;
  bottom: -26px;
  right: 6%;
  width: 44px;
  height: 54px;
  background-color: #C7BE9E;
  border-radius: 14px 14px 4px 4px;
  border: 1px solid #8A897F;
}
.pestle {
  position: absolute;
  bottom: 34px;
  right: 16%;
  width: 9px;
  height: 86px;
  background-color: #C7BE9E;
  transform: rotate(24deg);
  border-radius: 5px;
}
.openside {
  position: relative;
  background-color: #FBF9EF;
  border: 1px solid #BEB89B;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 8px 8px 0 #BDB69A;
  min-height: 310px;
}
.botanica {
  position: relative;
  width: 66%;
  margin: 4px auto 0;
  min-height: 170px;
}
.botanica .stemline {
  position: absolute;
  left: 50%;
  top: 4px;
  bottom: 0;
  width: 3px;
  background-color: #8A897F;
  margin-left: -1px;
}
.leaf {
  position: absolute;
  width: 40px;
  height: 24px;
  background-color: #C7BE9E;
  border-radius: 50% 0 50% 0;
  border: 1px solid #8A897F;
}
.leaf.lf1 { top: 12px; left: 6px; transform: rotate(-14deg); }
.leaf.lf2 { top: 12px; right: 6px; transform: rotate(14deg) scaleX(-1); }
.leaf.lf3 { top: 60px; left: 2px; transform: rotate(-18deg); }
.leaf.lf4 { top: 60px; right: 2px; transform: rotate(18deg) scaleX(-1); }
.blossom {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background-color: #8F8A3D;
  border-radius: 50%;
  border: 2px solid #6B5E1E;
}
.tagchip {
  display: inline-block;
  margin-top: 12px;
  margin-left: 4px;
  padding: 3px 12px;
  background-color: #D9CBB2;
  color: #2A2C27;
  font-family: Courier New, monospace;
  border-radius: 2px;
  border: 1px solid #8A897F;
}
.claypot {
  width: 78px;
  height: 46px;
  background: linear-gradient(#C9BE9C, #B3A884);
  border-radius: 4px 4px 16px 16px;
  position: relative;
  bottom: -34px;
  margin-left: 4px;
  border: 1px solid #8A897F;
}
.claypot::before {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: -6px;
  height: 9px;
  background-color: #C9BE9C;
  border: 1px solid #8A897F;
  border-radius: 3px;
}

/* BENCH SLAB below the diagram */
.bench {
  position: relative;
  margin: 26px 0 0;
  background-color: #FBF9EF;
  border: 1px solid #BEB89B;
  padding: 30px 6vw;
  border-radius: 4px;
  box-shadow: 0 4px 0 #C7BE9E;
}
.bench .leadkicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8F8A3D;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.bench h1 {
  font-size: 2.5rem;
  margin: 0 0 6px;
  color: #2A2C27;
}
.batchstamp {
  display: inline-block;
  width: 74px;
  height: 74px;
  border: 2px dashed #8F8A3D;
  border-radius: 50%;
  color: #8F8A3D;
  text-align: center;
  font-family: Courier New, monospace;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 33px;
  position: relative;
  vertical-align: middle;
  margin-left: 14px;
}
.lead { font-size: 1.18rem; line-height: 1.65; max-width: 70ch; color: #383b33; }
.ctarow { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 13px 22px; font-weight: 700; border-radius: 3px; text-decoration: none; }
.btn-tansy { background-color: #8F8A3D; color: #FBF9EF; }
.btn-tansy:hover { background-color: #6B5E1E; color: #FBF9EF; }
.btn-ink { background-color: transparent; color: #2A2C27; border: 2px solid #2A2C27; }
.btn-ink:hover { background-color: #2A2C27; color: #FBF9EF; }

/* OAK KICK STRIP stats */
.oakkick {
  background-color: #2E3029;
  color: #F4F1E4;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.statcell { padding: 14px 6vw; display: flex; flex-direction: column; }
.statnum { font-size: 1.9rem; font-weight: 700; color: #F4F1E4; }
.statlbl { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: #CDC7A6; }
.statcell + .statcell { border-left: 1px solid #8F8A3D; }

/* ============================ SECTIONS ============================ */
.sectiontitle { padding: 10px 0 4px; }
.sectiontitle .kicker { font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #8F8A3D; font-size: 0.82rem; margin: 0; }
.sectiontitle h2 { font-size: 2rem; margin: 4px 0 6px; color: #2A2C27; }
.stwrap { padding: 0 6vw; }

/* MONOGRAPH ROWS */
.monographarea { padding: 12px 0 30px; }
.monorow {
  background-color: #FBF9EF;
  border: 1px solid #C0BAA0;
  padding: 22px 6vw;
  position: relative;
  max-width: 100%;
}
.monorow:nth-child(even) { margin-left: 40px; }
.monorow:nth-child(odd) { margin-right: 40px; }
.deckleright {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  background-image: repeating-linear-gradient(90deg, #FBF9EF 0 10px, #EFEAD6 10px 12px, #DFD9C2 12px 14px);
  left: auto;
}
.monorow:nth-child(odd) .deckleright { left: auto; right: 0; border-left: 1px solid #C0BAA0; }
.monorow:nth-child(even) .deckleright { right: auto; left: 0; border-right: 1px solid #C0BAA0; }
.monostamp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #8F8A3D;
  color: #8F8A3D;
  font-family: Courier New, monospace;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-bottom: 8px;
  transform: rotate(-6deg);
}
.monorow h3 { font-size: 1.35rem; margin: 0 0 2px; color: #2A2C27; }
.botatchip {
  display: inline-block;
  padding: 2px 11px;
  background-color: #D9CBB2;
  color: #2A2C27;
  font-style: italic;
  font-family: Georgia, serif;
  border-radius: 3px;
  border: 1px solid #C0BAA0;
  margin: 4px 0 10px;
}
.monocopy { color: #383b33; max-width: 74ch; }
.monorow .detailslink {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  color: #8F8A3D;
  text-decoration: none;
}
.monorow .detailslink:hover { text-decoration: underline; }

/* STATEMENT ROW */
.statementrow {
  background-color: #8F8A3D;
  color: #FBF9EF;
}
.statementrow .inner {
  padding: 46px 6vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px 6vw;
}
.statfig { font-size: 4.4rem; font-weight: 700; line-height: 1; color: #FBF9EF; }
.statfig small { display: block; font-size: 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; color: #F4F1E4; margin-top: 6px; }
.stattxt { flex: 1 1 300px; font-size: 1.15rem; max-width: 60ch; color: #FBF9EF; }
.stattxt strong { color: #FBF9EF; }

/* PRESS RUN verification band */
.pressband { background-color: #8A897F; color: #F4F1E4; }
.pressband .stwrap { padding-top: 34px; padding-bottom: 0; }
.pressband .sectiontitle .kicker { color: #F4F1E4; }
.pressband .sectiontitle h2 { color: #F4F1E4; }
.runline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 6vw 10px;
  position: relative;
}
.runline::before {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  top: 58px;
  border-top: 2px dashed #F4F1E4;
}
.station {
  position: relative;
  background-color: #F4F1E4;
  color: #2A2C27;
  padding: 14px 18px 14px 26px;
  border-radius: 30px;
  font-weight: 700;
  z-index: 2;
  flex: 1 1 130px;
  min-width: 130px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.station::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #8F8A3D;
  border: 2px solid #FBF9EF;
}
.station.released { background-color: #8F8A3D; color: #FBF9EF; }
.caprow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 16px 6vw 40px;
}
.caprow article { color: #F4F1E4; font-size: 0.92rem; line-height: 1.6; }
.caprow article h3 { font-size: 0.95rem; margin: 0 0 6px; color: #F4F1E4; text-transform: uppercase; letter-spacing: 1px; }

/* ACCENT BOOKING BAND */
.bookingband { background-color: #8F8A3D; color: #FBF9EF; }
.bookingband .inner {
  padding: 44px 6vw;
  text-align: center;
}
.autumnstamp {
  display: inline-block;
  width: auto;
  padding: 8px 20px;
  border: 2px dashed #FBF9EF;
  font-family: Courier New, monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  border-radius: 3px;
  color: #FBF9EF;
  margin: 0 0 16px;
}
.bookingband h2 { color: #FBF9EF; font-size: 1.9rem; margin: 0 0 8px; }
.bookingband p { color: #FBF9EF; max-width: 64ch; margin: 0 auto 20px; font-size: 1.05rem; }
.btn-herbsheet { background-color: #FBF9EF; color: #2A2C27; }
.btn-herbsheet:hover { background-color: #EFEAD6; color: #2A2C27; }

/* ============================ FOOTER ============================ */
/* CORD SHELF FOOTER */
.cordshelf { background-color: #2E3029; color: #F4F1E4; position: relative; z-index: 1; }
.shellflap { padding: 26px 6vw 6px; }
.motto {
  font-family: Courier New, monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #F4F1E4;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.folder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
}
.cordbow {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #8F8A3D;
  border-radius: 50% 50% 50% 50%;
  position: relative;
}
.footcols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 26px;
  padding: 18px 6vw 30px;
}
.footcols h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #CDC7A6;
  font-size: 0.85rem;
  margin: 0 0 10px;
}
.footcols ul { list-style: none; margin: 0; padding: 0; }
.footcols li { margin: 6px 0; }
.footcols a { color: #F4F1E4; text-decoration: none; }
.footcols a:hover { text-decoration: underline; color: #FBF9EF; }
.footplate {
  background-color: #FBF9EF;
  color: #2A2C27;
  padding: 30px 6vw;
  border-top: 3px solid #8F8A3D;
}
.footplate .cname { font-weight: 700; font-size: 1.2rem; margin: 0 0 6px; color: #2A2C27; }
.footaddr { font-style: normal; color: #383b33; margin: 0; }
.footaddr a { color: #8F8A3D; font-weight: 700; }
.copyright { margin: 14px 0 0; color: #8F8A3D; }
.footline .inner p { margin: 6px 0; }

/* ============================ SECONDARY PAGE TOP ============================ */
.pagetitle { padding: 34px 6vw 8px; }
.pagetitle .crumb { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #8F8A3D; font-size: 0.85rem; margin: 0 0 6px; }
.pagetitle h1 { font-size: 2.4rem; margin: 0; color: #2A2C27; }

/* ============================ CONTACT ============================ */
.duorow { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; padding: 10px 6vw 0; }
@media (max-width: 860px) { .duorow { grid-template-columns: 1fr; } }
.contactform { background-color: #8A897F; padding: 24px; border-radius: 4px; color: #2A2C27; }
.contactform h2 { color: #FBF9EF; margin-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; color: #FBF9EF; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 12px;
  background-color: #FBF9EF;
  border: 1px solid #2A2C27;
  color: #2A2C27;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 2px;
}
.field textarea { min-height: 130px; resize: vertical; }
.btn-submit { border: none; cursor: pointer; background-color: #8F8A3D; color: #FBF9EF; width: 100%; padding: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 3px; }
.btn-submit:hover { background-color: #6B5E1E; }
.formnote { font-size: 0.85rem; color: #F4F1E4; margin: 8px 0 0; }
.contactdetails h2 { color: #2A2C27; margin-top: 0; }
.detblock { margin-bottom: 18px; }
.detblock h3 { font-size: 1rem; margin: 0 0 4px; color: #2A2C27; text-transform: uppercase; letter-spacing: 1px; }
.detblock p { margin: 0; color: #383b33; }
.detblock a { color: #8F8A3D; font-weight: 700; }
.faqlist { background-color: #FBF9EF; border: 1px solid #C0BAA0; }
.faqitem { border-top: 1px solid #C0BAA0; padding: 14px 18px; }
.faqitem h3 { margin: 0 0 6px; cursor: pointer; color: #2A2C27; }
.faqitem p { margin: 0; color: #383b33; }

/* Reveal helpers ---------------------------------------------------
   Hidden state is applied ONLY after JS adds the anim-ready class to
   the document root, so with no JavaScript every unit stays visible. */
.anim-ready [data-reveal] {
  opacity: 0;
  -webkit-transform: translateY(16px);
  transform: translateY(16px);
  -webkit-transition: opacity 0.7s ease, transform 0.7s ease;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-ready [data-reveal].revealed {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
.heroreveal { opacity: 1; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 820px) {
  .navlinks { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
  .navlinks.open { display: flex; }
  .straploop { justify-content: center; }
  .menutoggle { display: inline-block; }
  .pressdiagram { grid-template-columns: 1fr; }
  .pressframe { min-height: auto; }
  .openside { min-height: auto; }
  .runline { flex-direction: column; }
  .runline::before { display: none; }
  .caprow { grid-template-columns: 1fr; }
  .monorow:nth-child(even), .monorow:nth-child(odd) { margin-left: 0; margin-right: 0; }
  .bench h1 { font-size: 2rem; }
  .statcell { padding: 10px 6vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

noscript .reveal-unit { opacity: 1; visibility: visible; }
