:root {
  --bg: #f6efe8;
  --bg-soft: #fbf7f2;
  --paper: #fffaf6;
  --paper-strong: #ffffff;
  --ink: #281e17;
  --ink-soft: rgba(74, 56, 43, 0.78);
  --line: rgba(185, 112, 57, 0.14);
  --line-strong: rgba(185, 112, 57, 0.24);
  --accent: #c67742;
  --accent-deep: #a85b2e;
  --accent-soft: rgba(198, 119, 66, 0.1);
  --hero-ink: rgba(255, 245, 238, 0.94);
  --hero-soft: rgba(255, 234, 219, 0.78);
  --dark: #16100d;
  --dark-soft: #221813;
  --container: 1280px;
  --header-height: 86px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-soft: 0 20px 50px rgba(106, 66, 38, 0.08);
  --shadow-hover: 0 28px 62px rgba(106, 66, 38, 0.14);
  --font-ui: "Source Han Sans SC", "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 227, 198, 0.36), transparent 18%),
    radial-gradient(circle at 88% 8%, rgba(255, 239, 220, 0.3), transparent 18%),
    linear-gradient(180deg, #f8f2eb 0%, #f5eee7 100%);
}

a,
button {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 72px), var(--container));
  margin: 0 auto;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.corp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(10, 8, 7, 0.18);
  backdrop-filter: blur(18px);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.corp-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(20, 14, 11, 0.78);
  box-shadow: 0 16px 30px rgba(12, 9, 7, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
}

.brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(255, 231, 213, 0.76);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav-link,
.header-cta,
.primary-button,
.ghost-button,
.solution-link,
.scene-brief,
.scene-card,
.product-group,
.product-chip-list a,
.contact-card,
.detail-link,
.detail-button {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    opacity 0.24s ease;
}

.site-nav-link {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 238, 226, 0.74);
}

.site-nav-link:hover,
.site-nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f1;
}

.header-cta,
.primary-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffaf6;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 28px rgba(168, 91, 46, 0.18);
}

.header-cta:hover,
.primary-button:hover,
.primary-button-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(168, 91, 46, 0.24);
}

.ghost-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff8f3;
  background: rgba(255, 255, 255, 0.04);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-section,
.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-section {
  min-height: calc(100svh - var(--header-height));
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(11, 9, 8, 0.88) 10%, rgba(11, 9, 8, 0.54) 52%, rgba(11, 9, 8, 0.28) 100%),
    url("./assets/images/home-scene-web.png") center center / cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 192, 123, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.06), rgba(12, 9, 7, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.46fr);
  gap: 36px;
  align-items: end;
  min-height: calc(100svh - var(--header-height) - 140px);
  padding: 84px 0 72px;
}

.hero-copy,
.hero-aside {
  position: relative;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 232, 214, 0.86);
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 18px 0 0;
  color: var(--hero-ink);
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
}

.hero-summary {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--hero-soft);
  font-size: 1.06rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-aside {
  align-self: center;
  display: grid;
  gap: 14px;
}

.hero-aside-card {
  padding: 26px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 56px rgba(8, 6, 5, 0.18);
}

.hero-aside-card-compact p {
  margin: 14px 0 0;
  color: var(--hero-soft);
  line-height: 1.86;
}

.hero-check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--hero-ink);
}

.hero-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #efb47d, var(--accent));
}

.hero-metric-band {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 0 30px;
}

.metric-card strong {
  display: block;
  color: var(--hero-ink);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 233, 216, 0.72);
}

.editorial-section,
.scene-section {
  padding: 110px 0;
}

.editorial-section {
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 229, 202, 0.28), transparent 20%),
    linear-gradient(180deg, #f8f3ee 0%, #f4ede6 100%);
}

.scene-section {
  background: linear-gradient(180deg, #fffaf5 0%, #f7f0ea 100%);
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
}

.section-head p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 28px;
  margin-top: 42px;
}

.solution-feature,
.solution-link,
.scene-brief,
.product-group,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.solution-feature {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.solution-feature-media {
  min-height: 320px;
}

.solution-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-feature-copy {
  padding: 28px;
}

.solution-feature-copy h3 {
  margin: 14px 0 0;
  font-size: 1.9rem;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.solution-feature-copy p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.86;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.solution-link:hover,
.scene-brief:hover,
.product-group:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-strong);
}

.solution-index {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-weight: 700;
}

.solution-link strong {
  display: block;
  font-size: 1.14rem;
}

.solution-link p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.76;
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 32px;
  align-items: start;
}

.scene-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 3.8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
}

.scene-copy p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.92;
}

.scene-brief-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.scene-brief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}

.scene-brief span {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-weight: 700;
}

.scene-brief strong {
  display: block;
  font-size: 1.08rem;
}

.scene-brief p {
  margin: 8px 0 0;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scene-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-card-large {
  grid-row: span 2;
  min-height: 578px;
}

.scene-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.12), rgba(16, 12, 10, 0.6));
}

.scene-card-copy {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 1;
}

.scene-card-copy strong {
  display: block;
  margin-top: 12px;
  color: var(--hero-ink);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.06;
}

.scene-card-text {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.scene-card-text strong {
  display: block;
  margin-top: 14px;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.scene-card-text p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.scene-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--accent-deep);
  font-weight: 600;
}

.product-section {
  padding: 110px 0;
  background:
    linear-gradient(180deg, rgba(16, 11, 8, 0.94), rgba(16, 11, 8, 0.98)),
    radial-gradient(circle at 82% 18%, rgba(255, 192, 123, 0.12), transparent 24%);
}

.section-head-light h2,
.section-head-light p:last-child {
  color: var(--hero-ink);
}

.section-head-light p:last-child {
  color: var(--hero-soft);
}

.product-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: 28px;
  margin-top: 42px;
}

.product-overview,
.product-group {
  border-radius: var(--radius-xl);
}

.product-overview {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 12% 12%, rgba(255, 193, 137, 0.18), transparent 20%);
  box-shadow: 0 24px 62px rgba(7, 5, 4, 0.22);
}

.product-overview h3 {
  margin: 18px 0 0;
  color: var(--hero-ink);
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.product-overview p {
  margin: 16px 0 0;
  color: var(--hero-soft);
  line-height: 1.88;
}

.product-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.product-overview-stats article {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.product-overview-stats strong {
  display: block;
  color: var(--hero-ink);
  font-size: 1.54rem;
}

.product-overview-stats span {
  display: block;
  margin-top: 8px;
  color: var(--hero-soft);
}

.product-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-group {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 56px rgba(8, 6, 5, 0.16);
}

.product-group-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 176px;
  margin-bottom: 20px;
}

.product-group-media img {
  width: 100%;
  height: 176px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.product-group-media img:last-child:nth-child(3) {
  grid-column: span 2;
}

.product-group-media-single {
  grid-template-columns: 1fr;
}

.product-group-copy h3 {
  margin: 14px 0 0;
  color: var(--hero-ink);
  font-size: 1.42rem;
}

.product-group-copy p {
  margin: 12px 0 0;
  color: var(--hero-soft);
  line-height: 1.8;
}

.product-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-chip-list a {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--hero-ink);
}

.product-chip-list a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-section {
  min-height: 640px;
}

.contact-media {
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.9) 8%, rgba(12, 9, 7, 0.52) 54%, rgba(12, 9, 7, 0.28) 100%),
    url("./assets/images/living-room-web.png") center center / cover no-repeat;
}

.contact-overlay {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 193, 136, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(12, 9, 7, 0.14), rgba(12, 9, 7, 0.4));
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 28px;
  align-items: center;
  min-height: 640px;
  padding: 90px 0;
}

.contact-copy h2 {
  margin: 18px 0 0;
  color: var(--hero-ink);
  font-size: clamp(2.5rem, 3.8vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
}

.contact-copy p {
  margin: 18px 0 0;
  color: var(--hero-soft);
  line-height: 1.92;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.contact-card h3 {
  margin: 14px 0 0;
  color: var(--hero-ink);
  font-size: 1.34rem;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--hero-soft);
  line-height: 1.8;
}

.contact-card-accent {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(198, 119, 66, 0.16), rgba(198, 119, 66, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.primary-button-wide {
  width: 100%;
  margin-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.66s ease,
    transform 0.66s ease;
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .hero-inner,
  .solution-layout,
  .scene-layout,
  .product-editorial,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .scene-card-large {
    min-height: 420px;
    grid-row: span 1;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .corp-header {
    height: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-nav-link {
    white-space: nowrap;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 74px 0 40px;
  }

  .hero-metric-grid,
  .product-overview-stats,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .scene-grid,
  .product-groups {
    grid-template-columns: 1fr;
  }

  .scene-card-large {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy h1,
  .section-head h2,
  .scene-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .solution-link,
  .scene-brief,
  .product-group,
  .contact-card,
  .hero-aside-card,
  .product-overview {
    padding: 20px;
  }

  .product-group-media {
    grid-template-columns: 1fr;
  }

  .product-group-media img:last-child:nth-child(3) {
    grid-column: auto;
  }
}
