:root {
  --ink: #121814;
  --forest: #1a2e24;
  --forest-mid: #2a4a3a;
  --gold: #d4a017;
  --gold-soft: #e8c547;
  --wood: #8b7355;
  --mist: #e6ebe7;
  --paper: #f3f5f2;
  --muted: #5c6b62;
  --white: #ffffff;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Source Sans 3", "Noto Sans SC", "PingFang SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0.85rem 0;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 24, 20, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--white);
  z-index: 2;
}

.logo-mark {
  color: var(--gold-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(0.28rem) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-0.28rem) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 12vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroKen 18s var(--ease) infinite alternate;
}

@keyframes heroKen {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.35) 0%, rgba(10, 14, 12, 0.2) 40%, rgba(10, 14, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(18, 24, 20, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.75rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.05;
  color: var(--gold-soft);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  border: 1px solid var(--forest-mid);
  color: var(--forest);
  background: transparent;
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head-light {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head-light .eyebrow {
  color: var(--gold-soft);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head-light .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

/* Sell */
.section-sell {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(212, 160, 23, 0.08), transparent 55%),
    var(--paper);
}

.sell-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.sell-visual {
  margin: 0;
  overflow: hidden;
  min-height: 100%;
}

.sell-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.product-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(26, 46, 36, 0.15);
}

.product-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(26, 46, 36, 0.12);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

.product-list li:hover {
  padding-left: 0.5rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--forest);
}

.product-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Recycle */
.section-recycle {
  position: relative;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.recycle-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.recycle-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.recycle-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 24, 20, 0.92) 0%, rgba(26, 46, 36, 0.88) 55%, rgba(18, 24, 20, 0.9) 100%);
}

.recycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.recycle-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.recycle-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.recycle-col li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.recycle-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 1px;
  background: var(--gold);
}

/* About */
.section-about {
  background: var(--mist);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.about-visual {
  margin: 0;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.promise-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 500;
  color: var(--forest);
}

.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, var(--paper) 0%, #dde5df 100%);
  text-align: center;
}

.contact-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.contact-inner .section-title {
  margin-bottom: 0.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0 1.25rem;
}

.contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.25rem 0;
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

.footer-meta {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.footer-meta a:hover {
  color: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.65;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  transition-delay: 0.05s;
}

.hero .hero-title.reveal {
  transition-delay: 0.18s;
}

.hero .hero-lead.reveal {
  transition-delay: 0.3s;
}

.hero .hero-actions.reveal {
  transition-delay: 0.42s;
}

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 16, 14, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    align-items: center;
    padding: 7rem 0 5rem;
    text-align: left;
  }

  .sell-layout,
  .about-layout,
  .recycle-grid {
    grid-template-columns: 1fr;
  }

  .product-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .sell-visual img {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }
}

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

  .hero-img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
