/* =========================================================
   XINSEN — style.css
   Light theme · warm gold accent · integrated sourcing
   ========================================================= */

:root {
  --cream: #FBF6EC;
  --cream-soft: #FBF3E4;
  --cream-deep: #F3E8D2;
  --ink: #231C10;
  --ink-soft: #4A3E2B;
  --ink-mute: #6B5C41;
  --gold: #D9A441;
  --gold-deep: #B07E24;
  --gold-dark: #8A621A;
  --gold-light: #E9C46A;
  --line: #E7D9BC;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
}

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

a {
  color: var(--gold-deep);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.08rem;
  color: var(--ink-mute);
  max-width: 720px;
}

.lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--gold-deep);
}

.btn-ghost:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* =========================================================
   GOLD INGOT NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.ingot-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 14px 32px;
  box-shadow: 0 1px 0 rgba(35, 28, 16, 0.04);
}

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

.ingot {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 28px;
  flex-shrink: 0;
}

/* base trapezoid bar (boat of the sycee) */
.ingot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(180deg, #EBC873 0%, #D9A441 48%, #B8832A 100%);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  border-radius: 3px;
}

/* raised center panel */
.ingot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 15px;
  background: radial-gradient(ellipse at 50% 35%, #F4D98F 0%, #D9A441 68%, #B8832A 100%);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(35, 28, 16, 0.28);
}

.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink);
}

.ingot-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.ingot-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.ingot-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.ingot-links a:hover {
  color: var(--ink);
}

.ingot-links a:hover::after {
  transform: scaleX(1);
}

.ingot-cta {
  flex-shrink: 0;
  background-color: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.ingot-cta:hover {
  background-color: var(--gold-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   TEA CUP HERO
   ========================================================= */
.tea-hero {
  position: relative;
  background-color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background-color: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.15rem;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.hero-sub {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

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

/* Tea visual */
.tea-visual {
  position: relative;
  width: 100%;
  height: 360px;
}

.tea-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle at 50% 55%, #F6E3B8 0%, rgba(251, 246, 236, 0) 68%);
  border-radius: 50%;
}

.steam {
  position: absolute;
  left: 52%;
  top: 4%;
  width: 40px;
  height: 120px;
  transform: translateX(-50%);
}

.steam-wisp {
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 62px;
  border-radius: 999px;
  background: linear-gradient(180deg, #EBC873 0%, #F3E3B6 100%);
}

.steam-wisp.s1 {
  left: 8px;
  animation: steam-rise 3.2s ease-in-out infinite;
}

.steam-wisp.s2 {
  left: 24px;
  height: 46px;
  animation: steam-rise 3.2s ease-in-out 1.1s infinite;
}

@keyframes steam-rise {
  0% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-28px) scaleY(1.15); }
  100% { transform: translateY(0) scaleY(1); }
}

.tea-cup {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 210px;
  height: 150px;
}

.cup-handle {
  position: absolute;
  right: -4px;
  top: 16px;
  width: 38px;
  height: 68px;
  border: 6px solid var(--gold-deep);
  border-left: none;
  border-radius: 0 34px 34px 0;
}

.cup-body {
  position: absolute;
  left: 20px;
  bottom: 26px;
  width: 150px;
  height: 108px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF3E4 100%);
  border: 4px solid var(--gold);
  border-radius: 12px 12px 48px 48px / 12px 12px 64px 64px;
  overflow: hidden;
}

.tea-surface {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 20px;
  background: linear-gradient(180deg, #B8832A 0%, #C9973A 100%);
}

.cup-saucer {
  position: absolute;
  left: 6px;
  bottom: 8px;
  width: 180px;
  height: 16px;
  background: linear-gradient(180deg, #EBC873 0%, #C08A2B 100%);
  border-radius: 50%;
}

.leaf {
  position: absolute;
  width: 46px;
  height: 22px;
  background: linear-gradient(120deg, #9DB15A 0%, #6F8437 100%);
  border-radius: 100% 0 100% 0;
}

.leaf-1 {
  top: 30%;
  left: 6%;
  transform: rotate(-28deg);
  animation: leaf-float 5s ease-in-out infinite;
}

.leaf-2 {
  top: 46%;
  right: 4%;
  transform: rotate(24deg) scale(0.8);
  animation: leaf-float 5s ease-in-out 1.4s infinite;
}

.leaf-vein {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E9EBD4;
  transform: translateY(-50%);
}

@keyframes leaf-float {
  0%, 100% { transform: translateY(0) rotate(-28deg); }
  50% { transform: translateY(-14px) rotate(-22deg); }
}

/* =========================================================
   FULL-WIDTH STATEMENT
   ========================================================= */
.statement-row {
  background-color: var(--ink);
  padding: 96px 24px;
}

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

.statement-row .section-eyebrow {
  color: var(--gold-light);
}

.statement-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  line-height: 1.3;
  color: var(--cream);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 48px;
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about-copy .btn {
  margin-top: 8px;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fact-card {
  background-color: var(--cream-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
}

.fact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.fact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* =========================================================
   BENTO GRID
   ========================================================= */
.categories-section {
  background-color: var(--cream-soft);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 18px;
}

.bento-cell {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(35, 28, 16, 0.10);
}

.cell-mark {
  width: 22px;
  height: 22px;
  background-color: var(--gold);
  border-radius: 4px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.bento-cell h3 {
  font-size: 1.35rem;
}

.bento-cell p {
  color: var(--ink-mute);
  font-size: 0.98rem;
}

.cell-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.cell-wide {
  grid-column: span 2;
}

/* =========================================================
   NUMBERED PROCESS
   ========================================================= */
.process-section {
  padding: 96px 0;
}

.process-list {
  list-style: none;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 20px;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background-color: var(--line);
}

.process-step {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 22px 0;
}

.step-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
  border-radius: 50%;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold-deep);
}

.step-body h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--ink-mute);
  max-width: 640px;
}

/* =========================================================
   STATS
   ========================================================= */
.stats-section {
  background-color: var(--ink);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.engagement-section {
  padding: 96px 0;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table thead th {
  background-color: var(--gold);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  text-align: left;
  padding: 18px 22px;
}

.compare-table thead th:first-child {
  background-color: var(--gold-deep);
  color: var(--white);
}

.compare-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--cream-soft);
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}

.compare-table tbody td {
  padding: 16px 22px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.compare-table tbody tr:nth-child(even) td {
  background-color: #FDFAF3;
}

/* =========================================================
   SPLIT CTA + CONTACT
   ========================================================= */
.cta-band {
  background-color: var(--cream-soft);
  border-top: 1px solid var(--line);
  padding: 96px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.cta-copy p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.cta-contacts a {
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(35, 28, 16, 0.06);
}

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

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background-color: var(--white);
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  min-height: 1.2em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--ink);
  border-top: 4px solid var(--gold);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col p {
  color: #D8CCB4;
  font-size: 0.95rem;
}

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

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

.footer-col a,
.footer-col span {
  color: #D8CCB4;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid #3B311F;
  padding: 18px 24px;
  text-align: center;
}

.footer-bottom p {
  color: #B9AC92;
  font-size: 0.88rem;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 24px 64px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .tea-visual {
    max-width: 420px;
    margin: 0 auto;
  }

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

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

  .cell-lg,
  .cell-wide {
    grid-column: span 2;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

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

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

@media (max-width: 720px) {
  .ingot-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 20px;
  }

  .ingot-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0 8px;
    margin: 0;
  }

  .ingot-links.open {
    display: flex;
  }

  .ingot-links a::after {
    display: none;
  }

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

  .nav-toggle {
    display: flex;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .statement-text {
    font-size: 1.7rem;
  }

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

  .cell-lg,
  .cell-wide {
    grid-column: span 1;
  }

  .process-step {
    gap: 18px;
  }

  .process-list {
    padding-left: 0;
  }

  .process-list::before {
    left: 22px;
  }

  .step-num {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

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