/* ==========================================================================
   DAOJIE — Handan Daojie Trading Co., Ltd.
   Dark warm-brown-black theme · Amber / Honey / Deep-brown accents
   ========================================================================== */

:root {
  --bg: #151208;
  --bg-raise: #1E1A12;
  --bg-raise-2: #252013;
  --ink: #F2EDE0;
  --ink-soft: #C9BEA5;
  --amber: #D99A26;
  --amber-deep: #B87E16;
  --honey: #E8C87A;
  --brown: #4A3B1C;
  --brown-soft: #5C4A24;
  --ink-on-amber: #241A06;
  --ink-on-honey: #2B2108;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #151208;
  color: #F2EDE0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: #D99A26;
  color: #241A06;
}

/* ==========================================================================
   SCROLL REVEAL — safe without JavaScript
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   NAVIGATION — Balance Scale Nav
   ========================================================================== */

.pan-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #151208;
  border-bottom: 1px solid #D99A26;
}

.pan-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.pan-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.pan-wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #F2EDE0;
}

.pan-wordmark span {
  color: #D99A26;
}

/* Balance-scale glyph beside the brand */
.pan-scale {
  display: inline-block;
  width: 34px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.pan-scale .beam {
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  height: 2px;
  background: #D99A26;
}

.pan-scale .pivot {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: #D99A26;
  transform: translateX(-50%);
}

.pan-scale .wire {
  position: absolute;
  top: 2px;
  width: 2px;
  height: 9px;
  background: #D99A26;
}

.pan-scale .wire.l {
  left: 5px;
}

.pan-scale .wire.r {
  right: 5px;
}

.pan-scale .pan {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 9px;
  border: 2px solid #D99A26;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.pan-scale .pan.l {
  left: 0;
}

.pan-scale .pan.r {
  right: 0;
}

.pan-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1 1 auto;
  list-style: none;
}

.pan-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #C9BEA5;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.pan-links a:hover {
  color: #F2EDE0;
}

.pan-links a.active {
  color: #F2EDE0;
}

.pan-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #D99A26;
}

.pan-cta {
  flex-shrink: 0;
  background: #D99A26;
  color: #241A06;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.pan-cta:hover {
  background: #E8C87A;
}

.pan-burger {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #1E1A12;
  border: 1px solid #4A3B1C;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pan-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E8C87A;
}

/* ==========================================================================
   HERO — Balance Scale Hero
   ========================================================================== */

.balance-hero {
  background-color: #151208;
  border-bottom: 1px solid #1E1A12;
}

.balance-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 24px 84px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: #D99A26;
  color: #241A06;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.balance-hero h1 {
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #F2EDE0;
  margin-bottom: 22px;
}

.balance-hero h1 em {
  font-style: normal;
  color: #E8C87A;
}

.hero-sub {
  font-size: 1.08rem;
  color: #C9BEA5;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-amber {
  background: #D99A26;
  color: #241A06;
}

.btn-amber:hover {
  background: #E8C87A;
}

.btn-honey {
  border: 2px solid #E8C87A;
  color: #E8C87A;
  background: transparent;
}

.btn-honey:hover {
  background: #E8C87A;
  color: #2B2108;
}

.btn-dark {
  background: #241A06;
  color: #E8C87A;
}

.btn-dark:hover {
  background: #4A3B1C;
}

/* CSS balance scale illustration */
.scale-figure {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 360px;
  margin: 0 auto;
}

.scale-stand {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  width: 14px;
  height: 214px;
  background: #4A3B1C;
  border-radius: 7px;
}

.scale-base {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background: #D99A26;
  border-radius: 5px;
}

.scale-beam {
  position: absolute;
  left: 50%;
  top: 96px;
  transform: translateX(-50%);
  width: 280px;
  height: 11px;
  background: #D99A26;
  border-radius: 6px;
}

.scale-beam-cap {
  position: absolute;
  left: 50%;
  top: 84px;
  transform: translateX(-50%);
  width: 22px;
  height: 16px;
  background: #E8C87A;
  border-radius: 3px;
}

.scale-pan {
  position: absolute;
  top: 106px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #2E2616;
  border: 3px solid #D99A26;
}

.scale-pan.left {
  left: 0;
}

.scale-pan.right {
  right: 0;
}

.scale-pan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -46px;
  transform: translateX(-50%);
  width: 2px;
  height: 46px;
  background: #E8C87A;
}

.scale-stack {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scale-stack span {
  display: block;
  width: 46px;
  height: 16px;
  border-radius: 2px;
}

.scale-stack .b1 {
  background: #E8C87A;
}

.scale-stack .b2 {
  background: #D99A26;
}

.scale-stack .b3 {
  background: #4A3B1C;
}

.scale-coin {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #D99A26;
  border: 3px solid #E8C87A;
}

/* ==========================================================================
   SECTION 1 — Statement Row
   ========================================================================== */

.statement-row {
  background-color: #151208;
}

.statement-row-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 74px 24px;
  text-align: center;
}

.statement-row p {
  font-size: 1.85rem;
  line-height: 1.4;
  font-weight: 700;
  color: #F2EDE0;
  letter-spacing: -0.01em;
}

.statement-row p em {
  font-style: normal;
  color: #E8C87A;
}

/* ==========================================================================
   SECTION 2 — Merch Grid
   ========================================================================== */

.merch-grid {
  background-color: #1E1A12;
  border-top: 1px solid #2E2616;
  border-bottom: 1px solid #2E2616;
}

.merch-grid-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-head {
  margin-bottom: 44px;
  max-width: 640px;
}

.section-head .kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8C87A;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #F2EDE0;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-head p {
  color: #C9BEA5;
  font-size: 1.02rem;
}

.merch-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.merch-tile {
  min-height: 190px;
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.merch-tile h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.merch-tile p {
  font-size: 0.96rem;
  line-height: 1.5;
}

.merch-tile.t-amber {
  background: #D99A26;
}
.merch-tile.t-amber h3,
.merch-tile.t-amber p {
  color: #241A06;
}

.merch-tile.t-honey {
  background: #E8C87A;
}
.merch-tile.t-honey h3,
.merch-tile.t-honey p {
  color: #2B2108;
}

.merch-tile.t-brown {
  background: #4A3B1C;
}
.merch-tile.t-brown h3 {
  color: #F2EDE0;
}
.merch-tile.t-brown p {
  color: #E8C87A;
}

.merch-tile.t-dark {
  background: #252013;
}
.merch-tile.t-dark h3 {
  color: #F2EDE0;
}
.merch-tile.t-dark p {
  color: #C9BEA5;
}

/* ==========================================================================
   SECTION 3 — Stat Three
   ========================================================================== */

.stat-three {
  background-color: #151208;
}

.stat-three-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-size: 4.2rem;
  font-weight: 800;
  color: #E8C87A;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #C9BEA5;
}

/* ==========================================================================
   SECTION 4 — Support Two
   ========================================================================== */

.support-two {
  background-color: #1E1A12;
  border-top: 1px solid #2E2616;
}

.support-two-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
}

.support-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-panel {
  background: #252013;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}

.support-panel .rule {
  height: 6px;
  background: #D99A26;
}

.support-panel.p2 .rule {
  background: #E8C87A;
}

.support-panel .body {
  padding: 30px;
}

.support-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #F2EDE0;
  margin-bottom: 12px;
}

.support-panel p {
  color: #C9BEA5;
  font-size: 1.0rem;
}

/* ==========================================================================
   SECTION 5 — FAQ Accordion
   ========================================================================== */

.faq-accordion {
  background-color: #151208;
}

.faq-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px;
}

.faq-item {
  border-bottom: 1px solid #2E2616;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #F2EDE0;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 22px 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 2px solid #D99A26;
  border-radius: 50%;
  color: #D99A26;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #D99A26;
  color: #241A06;
}

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

.faq-a p {
  padding: 0 4px 22px;
  color: #C9BEA5;
  font-size: 1.0rem;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

/* ==========================================================================
   SECTION 6 — CTA Band
   ========================================================================== */

.cta-band {
  background: #D99A26;
}

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

.cta-band h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #241A06;
  letter-spacing: -0.01em;
}

.cta-band p {
  color: #3A2B06;
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 6px;
}

/* ==========================================================================
   FOOTER — Balance Footer
   ========================================================================== */

.balance-footer {
  background: #151208;
  border-top: 2px solid #D99A26;
}

.balance-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-marker .marker {
  width: 16px;
  height: 16px;
  background: #D99A26;
}

.footer-brand-marker .wordmark {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #F2EDE0;
}

.footer-brand p {
  color: #C9BEA5;
  font-size: 0.96rem;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8C87A;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #C9BEA5;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #E8C87A;
}

.footer-contact p {
  color: #C9BEA5;
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: #C9BEA5;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #E8C87A;
}

.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2E2616;
  font-size: 0.9rem;
  color: #C9BEA5;
  text-align: center;
}

.footer-legal a {
  color: #E8C87A;
}

.footer-legal a:hover {
  color: #F2EDE0;
}

/* ==========================================================================
   SECONDARY PAGE — page hero (services / contact)
   ========================================================================== */

.page-hero {
  background-color: #1E1A12;
  border-bottom: 1px solid #2E2616;
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 68px 24px;
}

.page-hero .kicker {
  display: inline-block;
  background: #D99A26;
  color: #241A06;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #F2EDE0;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #C9BEA5;
  max-width: 680px;
}

/* Services specific */
.service-block {
  padding: 64px 0;
  border-bottom: 1px solid #1E1A12;
}

.service-block:nth-child(even) {
  background: #1E1A12;
}

.service-block-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-num {
  font-size: 3rem;
  font-weight: 800;
  color: #4A3B1C;
  line-height: 1;
}

.service-block h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #F2EDE0;
  margin-bottom: 14px;
}

.service-block p {
  color: #C9BEA5;
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.service-block ul {
  list-style: none;
  margin-top: 8px;
}

.service-block ul li {
  color: #C9BEA5;
  font-size: 1.0rem;
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: #D99A26;
  border-radius: 50%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  background: #252013;
  border-radius: 6px;
  padding: 24px;
}

.process-step .num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #E8C87A;
  letter-spacing: 0.08em;
}

.process-step h4 {
  color: #F2EDE0;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 10px 0 8px;
}

.process-step p {
  color: #C9BEA5;
  font-size: 0.94rem;
}

/* Contact specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: #252013;
  border-radius: 6px;
  padding: 30px;
}

.contact-info-card h3 {
  color: #F2EDE0;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-line {
  margin-bottom: 18px;
}

.contact-line .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8C87A;
  margin-bottom: 4px;
}

.contact-line p,
.contact-line a {
  color: #C9BEA5;
  font-size: 1.0rem;
}

.contact-line a:hover {
  color: #E8C87A;
}

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

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E8C87A;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #1E1A12;
  border: 1px solid #4A3B1C;
  color: #F2EDE0;
  font-size: 1.0rem;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #D99A26;
}

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

.contact-form .btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #C9BEA5;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #2E2616;
  color: #C9BEA5;
  font-size: 0.98rem;
}

.hours-list li span:last-child {
  color: #E8C87A;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .pan-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: #151208;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid #2E2616;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 49;
  }

  .pan-links.open {
    transform: translateY(0);
  }

  .pan-links li {
    width: 100%;
  }

  .pan-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #1E1A12;
  }

  .pan-burger {
    display: flex;
  }

  .pan-cta {
    margin-left: auto;
  }

  .balance-hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 24px 60px;
  }

  .balance-hero h1 {
    font-size: 2.4rem;
  }

  .scale-figure {
    max-width: 320px;
    height: 320px;
  }

  .merch-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-num {
    font-size: 2.2rem;
  }
}

@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .merch-tiles {
    grid-template-columns: 1fr;
  }

  .balance-hero h1 {
    font-size: 2rem;
  }

  .statement-row p {
    font-size: 1.45rem;
  }

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

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

  .section-head h2 {
    font-size: 1.8rem;
  }

  .pan-scale {
    display: none;
  }
}
