/* ============================================================
   YACHIY — Wholesale Trading & Supply (LIGHT, rice-paper theme)
   Canal-side duck farm & bamboo grove motif
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #2E5A3C;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: #2E5A3C;
  font-weight: 700;
  line-height: 1.2;
}

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

/* ---------- Scroll reveal (safe without JS) ---------- */
.fade-up {
  opacity: 1;
  transform: none;
}

/* ---------- Utility buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #2E5A3C;
  color: #FFFDF6;
}

.btn-primary:hover {
  background-color: #24482F;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(46, 90, 60, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #2E5A3C;
  border-color: #2E5A3C;
}

.btn-outline:hover {
  background-color: #2E5A3C;
  color: #FFFDF6;
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* ---------- Eyebrow chip ---------- */
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
}

.chip {
  background-color: #2E5A3C;
  color: #FBF7EC;
}

.chip-outline {
  background-color: transparent;
  color: #2E5A3C;
  border: 2px solid #2E5A3C;
}

/* ============================================================
   COOP-RAIL NAV (.coop-rail-nav)
   ============================================================ */
.coop-rail-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFDF6;
  box-shadow: 0 2px 8px rgba(51, 48, 42, 0.08);
}

.coop-slat-band {
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #7A4A2B 0,
    #7A4A2B 22px,
    #2E5A3C 22px,
    #2E5A3C 44px
  );
  border-bottom: 1px solid #E5DDC9;
}

.coop-rail {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.duck-badge {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #9FC5B8;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.duck-badge-body {
  position: absolute;
  left: 6px;
  top: 16px;
  width: 22px;
  height: 14px;
  background-color: #2E5A3C;
  border-radius: 60% 60% 45% 45%;
  transform: rotate(-8deg);
}

.duck-badge-head {
  position: absolute;
  left: 1px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: #2E5A3C;
  border-radius: 50%;
}

.duck-badge-beak {
  position: absolute;
  left: 1px;
  top: 12px;
  width: 7px;
  height: 4px;
  background-color: #7A4A2B;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  color: #2E5A3C;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.main-nav a {
  color: #45403A;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: #2E5A3C;
  border-bottom-color: #2E5A3C;
  text-decoration: none;
}

.egg-dot {
  width: 7px;
  height: 9px;
  border-radius: 50%;
  background-color: #9FC5B8;
  display: inline-block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background-color: #2E5A3C;
  border-radius: 2px;
  display: block;
}

/* ============================================================
   DUCKLING-PROCESSION HERO (.duckling-procession-hero)
   ============================================================ */
.duckling-procession-hero {
  background-color: #FBF7EC;
}

.hero-upper {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 24px 60px;
  text-align: center;
}

.hero-upper .chip {
  margin-bottom: 28px;
}

.hero-upper h1 {
  font-size: 48px;
  line-height: 1.15;
  color: #33302A;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}

.hero-upper h1 .accent {
  color: #2E5A3C;
}

.hero-upper .hero-sub {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 18px;
  color: #5A544A;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Canal water band with duckling procession */
.canal-band {
  position: relative;
  height: 120px;
  background-color: #7FB3A3;
  border-top: 3px solid #9FC5B8;
  border-bottom: 3px solid #9FC5B8;
  overflow: hidden;
  width: 100%;
}

.duck-procession {
  position: absolute;
  left: 0;
  right: 0;
  top: 55px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  z-index: 1;
}

/* Mother duck silhouette */
.mother-duck {
  position: relative;
  width: 70px;
  height: 40px;
}

.mother-duck::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 48px;
  height: 26px;
  background-color: #2E5A3C;
  border-radius: 60% 60% 50% 50%;
}

.mother-duck::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #2E5A3C;
  border-radius: 50%;
}

/* Duckling silhouettes */
.duckling {
  position: relative;
  width: 36px;
  height: 22px;
}

.duckling::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 15px;
  background-color: #24482F;
  border-radius: 55% 55% 45% 45%;
}

.duckling::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 13px;
  height: 13px;
  background-color: #24482F;
  border-radius: 50%;
}

/* Reed clusters */
.reed {
  position: absolute;
  height: 0;
  border-bottom: 78px solid #7A4A2B;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  width: 3px;
  bottom: 18px;
  z-index: 0;
}

.reed::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -14px;
  width: 10px;
  height: 18px;
  background-color: #9FC5B8;
  border-radius: 100% 100% 70% 70%;
}

.reed-left { left: 8%; }
.reed-left-2 { left: 14%; transform: rotate(12deg) scale(0.8); }
.reed-right { right: 8%; }
.reed-right-2 { right: 14%; transform: rotate(-12deg) scale(0.8); }

/* ============================================================
   BASKET-WEAVE LEDGER (.basket-weave-ledger)
   ============================================================ */
.basket-weave-ledger {
  background-color: #FFFDF6;
  padding: 80px 24px;
}

.ledger-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.ledger-head h2 {
  font-size: 34px;
  margin: 18px 0 16px;
  color: #2E5A3C;
}

.ledger-head .ledger-intro {
  font-size: 17px;
  color: #45403A;
}

.ledger-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background-color: #FFFDF6;
  border: 1px solid #E5DDC9;
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(46, 90, 60, 0.04);
}

.basket-square {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin-top: 4px;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 8px, #2E5A3C 8px 9px),
    repeating-linear-gradient(90deg, transparent 0 8px, #9FC5B8 8px 9px);
  border: 2px solid #2E5A3C;
  border-radius: 6px;
  background-color: #FBF7EC;
}

.basket-square.rotated {
  transform: rotate(0deg);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 7px, #2E5A3C 7px 8px),
    repeating-linear-gradient(-45deg, transparent 0 7px, #9FC5B8 7px 8px);
}

.service-body {
  flex: 1;
}

.service-body h3 {
  font-size: 22px;
  color: #2E5A3C;
  margin-bottom: 10px;
}

.service-body p {
  color: #45403A;
}

.handle-chip {
  flex-shrink: 0;
  margin-top: 10px;
  min-width: 52px;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #2E5A3C;
  border: 2px solid #7A4A2B;
  border-top: none;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 8px 6px 10px;
  background-color: #FBF7EC;
  color: #7A4A2B;
}

/* ============================================================
   METRIC BAND (.metric-band)
   ============================================================ */
.metric-band {
  background-color: #2E5A3C;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 50px 24px;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
}

.metric-num {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: #FFFDF6;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FC5B8;
}

.metric-hairline {
  width: 1px;
  background-color: #6F8F7C;
  display: block;
  margin: 8px 0;
}

/* ============================================================
   STATEMENT BAND (.statement-band)
   ============================================================ */
.statement-band {
  background-color: #FBF7EC;
  padding: 80px 24px;
}

.statement-inner {
  max-width: 820px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 4px solid #9FC5B8;
}

.statement-text {
  font-size: 26px;
  line-height: 1.6;
  color: #33302A;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 18px;
}

.statement-attr {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A4A2B;
}

/* ============================================================
   CTA BAND (.cta-band)
   ============================================================ */
.cta-band {
  background-color: #FFFDF6;
  padding: 80px 24px;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: 34px;
  color: #2E5A3C;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 17px;
  color: #45403A;
  margin-bottom: 28px;
}

/* ============================================================
   NEST-ROOST FOOTER (.nest-roost-footer)
   ============================================================ */
.nest-roost-footer {
  background-color: #33302A;
  color: #E9E2D2;
  position: relative;
}

.roost-edge {
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #7A4A2B 0,
    #7A4A2B 14px,
    #2E5A3C 14px,
    #2E5A3C 16px,
    #7A4A2B 16px,
    #7A4A2B 30px,
    #2E5A3C 30px,
    #2E5A3C 32px
  );
}

.footer-zones {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-zone h4 {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9FC5B8;
  margin-bottom: 16px;
}

.nest-glyph {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 36px;
  margin-bottom: 14px;
}

.nest-bowl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 22px;
  background-color: #9FC5B8;
  border-radius: 0 0 100px 100px;
}

.nest-egg {
  position: absolute;
  bottom: 8px;
  left: 14px;
  width: 14px;
  height: 18px;
  background-color: #FFFDF6;
  border-radius: 50%;
}

.nest-egg.right {
  left: 34px;
}

.footer-wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #FFFDF6;
  margin-bottom: 10px;
}

.footer-descriptor {
  font-size: 14px;
  color: #CFC7B4;
  max-width: 280px;
}

.link-zones {
  display: flex;
  gap: 40px;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-group a {
  color: #FFFDF6;
  font-size: 15px;
}

.link-group a:hover {
  color: #9FC5B8;
  text-decoration: none;
}

.contact-zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.contact-zone a {
  color: #FFFDF6;
}

.contact-zone a:hover {
  color: #9FC5B8;
}

.footer-legal {
  border-top: 1px solid rgba(233, 226, 210, 0.2);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
  color: #D8D2C2;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* ============================================================
   INNER PAGES (services / contact) — page hero
   ============================================================ */
.page-hero {
  background-color: #FBF7EC;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
}

.page-hero-inner h1 {
  font-size: 40px;
  color: #2E5A3C;
  margin: 20px 0 18px;
}

.page-hero-sub {
  font-size: 18px;
  color: #5A544A;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Services process band */
.process-band {
  background-color: #FBF7EC;
  padding: 70px 24px;
}

.process-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.process-inner h2 {
  font-size: 32px;
  color: #2E5A3C;
  margin: 16px 0 40px;
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left;
}

.process-steps li {
  background-color: #FFFDF6;
  border: 1px solid #E5DDC9;
  border-radius: 8px;
  padding: 24px;
}

.process-num {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background-color: #2E5A3C;
  color: #FFFDF6;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  margin-bottom: 14px;
}

.process-steps h4 {
  font-size: 18px;
  color: #2E5A3C;
  margin-bottom: 8px;
}

.process-steps p {
  font-size: 15px;
  color: #45403A;
}

/* Contact page */
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.contact-form-panel,
.contact-info-panel {
  background-color: #FFFDF6;
  border: 1px solid #E5DDC9;
  border-radius: 10px;
  padding: 34px;
}

.contact-form-panel h2 {
  font-size: 28px;
  color: #2E5A3C;
  margin-bottom: 12px;
}

.form-intro {
  font-size: 15px;
  color: #5A544A;
  margin-bottom: 24px;
}

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

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #2E5A3C;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #E5DDC9;
  border-radius: 6px;
  background-color: #FBF7EC;
  color: #33302A;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2E5A3C;
  background-color: #FFFDF6;
}

.form-feedback {
  margin-top: 16px;
  font-weight: 700;
  color: #2E5A3C;
}

.info-block {
  margin-bottom: 28px;
}

.info-block h3 {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FC5B8;
  margin-bottom: 8px;
}

.info-block a {
  font-size: 16px;
  color: #2E5A3C;
}

.info-block p {
  font-size: 16px;
  color: #45403A;
}

/* FAQ band */
.faq-band {
  background-color: #FFFDF6;
  padding: 70px 24px;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.faq-inner h2 {
  font-size: 30px;
  color: #2E5A3C;
  margin: 16px 0 30px;
}

.faq-item {
  text-align: left;
  border: 1px solid #E5DDC9;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #FBF7EC;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #2E5A3C;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: #45403A;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-zones {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .metric-band {
    flex-direction: column;
    gap: 24px;
  }

  .metric-hairline {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

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

  .hero-upper h1 {
    font-size: 36px;
  }
}

@media (max-width: 720px) {
  .coop-rail {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    display: none;
    padding-top: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .egg-dot {
    display: none;
  }

  .main-nav a {
    width: 100%;
    padding: 8px 0;
  }

  .service-row {
    flex-direction: column;
    padding: 20px;
  }

  .handle-chip {
    align-self: flex-end;
  }

  .hero-upper {
    padding-top: 60px;
  }

  .hero-upper h1 {
    font-size: 30px;
  }

  .audit-band,
  .statement-text {
    font-size: 21px;
  }

  .basket-weave-ledger,
  .statement-band,
  .cta-band,
  .process-band,
  .faq-band {
    padding: 50px 18px;
  }
}
