/*
Theme Name: Dongyu Squishy
Theme URI: https://example.com/dongyu-squishy
Author: Jinhua Dongyu Toys Co., Ltd.
Author URI: https://dongyutoys.com
Description: A minimalist editable WordPress theme for a squishy toy manufacturer, with Customizer-controlled homepage sections and entrance animations.
Version: 1.3.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dongyu-squishy
Tags: customizer, custom-logo, one-page, business, portfolio
*/

:root {
  --ink: #171512;
  --muted: #6e6860;
  --paper: #fbf7f0;
  --surface: #fffdf8;
  --line: rgba(23, 21, 18, 0.13);
  --mint: #a9d8c2;
  --coral: #e98e75;
  --violet: #c5a4d8;
  --ochre: #d7a64d;
  --shadow: 0 24px 80px rgba(79, 65, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f2ea;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  isolation: isolate;
  line-height: 1.5;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, #fffaf4 0%, #f8f2ea 46%, #f3ede5 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.ambient-bg::before,
.ambient-bg::after {
  position: absolute;
  content: "";
}

.ambient-bg::before {
  inset: -6% -8%;
  opacity: 0.16;
  background-image: url("assets/squishy-hero.png");
  background-position: right -10vw top 88px;
  background-repeat: no-repeat;
  background-size: min(980px, 74vw) auto;
  filter: saturate(0.95) contrast(1.02);
  transform-origin: 74% 20%;
  animation: ambientProductFloat 36s ease-in-out infinite alternate;
}

.ambient-bg::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 10%, rgba(169, 216, 194, 0.12) 10% 26%, transparent 26% 54%, rgba(255, 255, 255, 0.48) 54% 66%, transparent 66%),
    linear-gradient(72deg, transparent 0 58%, rgba(197, 164, 216, 0.1) 58% 76%, transparent 76%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1) 0%, rgba(246, 240, 231, 0.58) 100%);
  animation: ambientGlassShift 32s ease-in-out infinite alternate;
}

@keyframes ambientProductFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-18px, 14px, 0) scale(1.035);
  }
}

@keyframes ambientGlassShift {
  from {
    transform: translate3d(-12px, 0, 0);
  }

  to {
    transform: translate3d(16px, 0, 0);
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.has-reveal .reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-reveal .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-reveal .reveal-item[data-reveal="soft"] {
  transform: translateY(18px);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  animation: headerIn 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 240, 0.88);
  border-color: var(--line);
  box-shadow: 0 10px 36px rgba(47, 39, 29, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.custom-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(23, 21, 18, 0.76);
  font-size: 14px;
}

.site-nav ul {
  display: inline-flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding-block: 7px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 13px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, 86vh);
  padding: clamp(108px, 13vh, 138px) clamp(20px, 4vw, 56px) 58px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(251, 247, 240, 0), var(--paper));
  content: "";
  pointer-events: none;
  animation: heroFadeIn 900ms ease 260ms both;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  animation: heroImageIn 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.82) 30%, rgba(251, 247, 240, 0.13) 64%),
    linear-gradient(180deg, rgba(251, 247, 240, 0.72) 0%, rgba(251, 247, 240, 0) 36%);
  content: "";
  animation: heroFadeIn 820ms ease 100ms both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(610px, 100%);
}

.hero-copy > * {
  animation: heroTextIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 120ms;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 230ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 350ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 470ms;
}

.eyebrow {
  margin: 0 0 16px;
  color: #8f624d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 10.5ch;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  border: 1px solid var(--ink);
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.48);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -24px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.intro-strip div {
  min-height: 120px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.93);
}

.intro-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.intro-strip p {
  margin: 0;
  max-width: 250px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 720;
  line-height: 1.22;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.home-main .section-heading {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(148px, 17vw, 216px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 5vw, 56px);
  padding: clamp(34px, 5vw, 66px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  text-align: center;
}

.home-main .section-heading .eyebrow {
  margin: 0;
}

.home-main .section-heading h2 {
  max-width: 920px;
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.12;
}

.page-section:first-child > .section-heading {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(148px, 17vw, 216px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 5vw, 56px);
  padding: clamp(34px, 5vw, 66px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  text-align: center;
}

.page-section:first-child > .section-heading .eyebrow {
  margin: 0;
}

.page-section:first-child > .section-heading h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.12;
}

.page-band-heading {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(132px, 15vw, 190px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  margin-bottom: clamp(34px, 5vw, 56px);
  padding: clamp(30px, 4vw, 56px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  text-align: center;
}

.page-band-heading .eyebrow {
  margin: 0;
}

.page-band-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.12;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-panel {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.66);
  box-shadow: 0 18px 58px rgba(67, 55, 40, 0.06);
}

.about-copy p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.about-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 21, 18, 0.16);
}

.about-meta article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.16);
}

.about-meta span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.about-meta p {
  margin: 0;
  color: var(--muted);
}

.page-section {
  padding-bottom: clamp(76px, 10vw, 132px);
}

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

.b2b-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 58px rgba(67, 55, 40, 0.06);
}

.b2b-card .eyebrow {
  margin-bottom: 38px;
}

.b2b-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.1;
}

.b2b-card p {
  margin: 0;
  color: var(--muted);
}

.capability-card {
  position: relative;
  overflow: hidden;
}

.capability-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.58)),
    radial-gradient(circle at 85% 10%, rgba(161, 214, 192, 0.22), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(232, 139, 113, 0.14), transparent 32%);
  content: "";
  pointer-events: none;
}

.capability-card > * {
  position: relative;
  z-index: 1;
}

.capability-visual {
  position: relative;
  height: 116px;
  margin: -4px 0 24px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(244, 239, 229, 0.68));
  overflow: hidden;
}

.toy-shape,
.box-shape,
.sample-sheet,
.route-line,
.check-panel,
.check-dot {
  position: absolute;
  display: block;
}

.toy-shape {
  border-radius: 999px 999px 72% 72%;
  box-shadow: inset -10px -14px 20px rgba(23, 21, 18, 0.08);
}

.toy-shape--round {
  width: 74px;
  height: 70px;
  right: 36px;
  bottom: 18px;
  background: linear-gradient(145deg, #ffd55f, #f08f72);
}

.toy-shape--soft {
  width: 58px;
  height: 56px;
  right: 104px;
  bottom: 24px;
  background: linear-gradient(145deg, #b8e4d0, #8fc7b1);
}

.sample-sheet {
  width: 98px;
  height: 68px;
  left: 24px;
  top: 22px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.12) 0 36px, transparent 36px),
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(23, 21, 18, 0.1) 13px 14px),
    rgba(255, 253, 248, 0.92);
}

.box-shape {
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.76), rgba(224, 169, 70, 0.36));
  box-shadow: 0 16px 26px rgba(67, 55, 40, 0.08);
}

.box-shape--front {
  width: 112px;
  height: 62px;
  left: 34px;
  bottom: 22px;
}

.box-shape--back {
  width: 88px;
  height: 54px;
  right: 42px;
  top: 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.74), rgba(161, 214, 192, 0.5));
}

.route-line {
  width: 114px;
  height: 42px;
  right: 68px;
  bottom: 24px;
  border-top: 2px dashed rgba(143, 98, 77, 0.42);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.check-panel {
  width: 112px;
  height: 76px;
  left: 28px;
  top: 20px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(23, 21, 18, 0.1) 18px 19px),
    rgba(255, 253, 248, 0.92);
}

.check-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c2a1de, #9ed7c2);
  box-shadow: inset -8px -10px 18px rgba(23, 21, 18, 0.1);
}

.check-dot::after {
  position: absolute;
  inset: 15px 13px;
  border-right: 4px solid rgba(255, 253, 248, 0.96);
  border-bottom: 4px solid rgba(255, 253, 248, 0.96);
  content: "";
  transform: rotate(45deg);
}

.check-dot--one {
  right: 36px;
  top: 18px;
}

.check-dot--two {
  right: 92px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  opacity: 0.78;
}

.check-dot--three {
  right: 22px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  opacity: 0.6;
}

.registered-info {
  margin-top: 22px;
}

.registered-info strong {
  color: var(--ink);
}

.product-grid article,
.product-card {
  display: grid;
  align-content: start;
  min-height: 290px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 46px rgba(79, 65, 49, 0.1);
  transform: translateY(-2px);
}

.product-card--media {
  gap: 0;
}

.product-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  margin-bottom: 24px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 253, 248, 0.72);
}

.product-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  margin-bottom: 24px;
  border: 1px dashed rgba(23, 21, 18, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: 26px;
}

.product-actions .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
}

.button.ghost {
  background: rgba(255, 253, 248, 0.46);
}

.button.compact {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.swatch {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 56px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 50%;
}

.swatch.mint {
  background: var(--mint);
}

.swatch.coral {
  background: var(--coral);
}

.swatch.violet {
  background: var(--violet);
}

.swatch.ochre {
  background: var(--ochre);
}

.product-grid h3,
.timeline h3,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.1;
}

.product-grid p,
.timeline p,
.custom-copy p,
.contact-card,
.feature-list {
  color: var(--muted);
}

.product-card .text-link {
  align-self: end;
  margin-top: 26px;
}

.product-archive {
  padding-top: clamp(116px, 15vh, 158px);
  padding-bottom: clamp(76px, 10vw, 132px);
}

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

.application-grid .b2b-card {
  min-height: 190px;
}

.single-intro {
  width: min(680px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.page-editable-content {
  margin: 0 0 clamp(34px, 5vw, 58px);
}

.split {
  width: 100%;
  max-width: none;
}

.split .section-heading,
.custom-panel {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.custom-panel {
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: stretch;
  padding: clamp(36px, 6vw, 68px);
  border-block: 1px solid var(--line);
  background: #f2eee5;
}

.custom-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 48px);
}

.custom-copy p {
  max-width: 420px;
  margin-bottom: 0;
  font-size: 20px;
}

.custom-support-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 21, 18, 0.18);
}

.custom-support-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.18);
}

.custom-support-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(169, 216, 194, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.custom-support-item h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.12;
}

.custom-support-item p {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 21, 18, 0.18);
}

.feature-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.18);
}

.feature-list span {
  color: var(--ink);
  font-weight: 800;
}

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

.timeline.extended {
  grid-template-columns: repeat(4, 1fr);
}

.timeline article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 70px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
}

.contact {
  padding-bottom: clamp(76px, 10vw, 132px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.contact-card,
.inquiry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(67, 55, 40, 0.07);
}

.contact-card {
  min-height: 430px;
  padding: clamp(28px, 4vw, 44px);
}

.contact-card .text-link {
  margin-top: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cn-name {
  margin-bottom: 30px;
  color: var(--ink);
  font-weight: 700;
}

address {
  max-width: 560px;
  margin-bottom: 28px;
  font-style: normal;
}

.inquiry-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input {
  min-height: 50px;
  padding: 0 15px;
}

textarea {
  resize: vertical;
  min-height: 120px;
  padding: 13px 15px;
}

input:focus,
textarea:focus {
  border-color: rgba(23, 21, 18, 0.42);
  box-shadow: 0 0 0 4px rgba(169, 216, 194, 0.22);
}

.inquiry-card .button {
  width: fit-content;
  min-width: 156px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f2eee5;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(28px, 5vw, 74px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
}

.footer-brand {
  display: grid;
  gap: 22px;
  align-content: start;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand p {
  max-width: 410px;
  margin: 0;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 14px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.1;
}

.footer-column address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
}

.footer-column a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(23, 21, 18, 0.14);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.policy-links,
.policy-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-links a {
  color: var(--muted);
}

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

.news-section {
  padding-bottom: clamp(76px, 10vw, 132px);
}

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

.news-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 58px rgba(67, 55, 40, 0.06);
}

.news-card-image {
  display: grid;
  aspect-ratio: 1.42;
  place-items: center;
  overflow: hidden;
  background: #f2eee5;
  color: rgba(23, 21, 18, 0.4);
  font-size: 13px;
  font-weight: 800;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-card-image img {
  transform: scale(1.035);
}

.news-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.news-card time,
.single-meta,
.single-back {
  color: #8f624d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-empty {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.66);
  color: var(--muted);
}

.news-empty p {
  margin: 0;
}

.single-main {
  padding: clamp(116px, 15vh, 158px) clamp(20px, 4vw, 56px) clamp(76px, 10vw, 132px);
}

.single-article {
  width: min(980px, 100%);
  margin: 0 auto;
}

.single-hero {
  width: min(860px, 100%);
  margin-bottom: clamp(32px, 5vw, 58px);
}

.single-back {
  display: inline-flex;
  margin-bottom: 28px;
  border-bottom: 1px solid currentColor;
}

.single-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.98;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.single-meta span::before {
  content: "/";
  margin-right: 12px;
  color: rgba(23, 21, 18, 0.32);
}

.single-featured-image {
  margin: 0 0 clamp(34px, 6vw, 70px);
  overflow: hidden;
  border-radius: 8px;
  background: #f2eee5;
}

.single-featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.single-content {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.74;
}

.single-content > * {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin-top: 1.75em;
  margin-bottom: 0.65em;
  line-height: 1.1;
}

.single-content h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.single-content h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.single-content p,
.single-content li {
  color: var(--muted);
}

.single-content a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 750;
}

.single-content img {
  height: auto;
  border-radius: 8px;
}

.single-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--coral);
  color: var(--ink);
  font-size: 1.14em;
}

.posts-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.posts-pagination a,
.posts-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  padding: 0 14px;
  color: var(--ink);
}

.single-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(760px, 100%);
  margin: clamp(40px, 6vw, 76px) auto 0;
}

.product-detail-layout-wrap {
  width: min(1240px, 100%);
}

.product-back-link {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.product-media-gallery {
  display: grid;
  gap: 16px;
}

.product-main-media {
  display: grid;
  min-height: 420px;
  margin: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.66);
  box-shadow: 0 18px 56px rgba(79, 65, 49, 0.08);
  cursor: zoom-in;
}

.product-main-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.product-main-media--empty {
  color: var(--muted);
  font-weight: 750;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
}

.product-gallery-thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(23, 21, 18, 0.12);
}

.product-gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  transition: transform 180ms ease;
}

.product-gallery-thumb:hover img {
  transform: scale(1.035);
}

.product-image-lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  background: transparent;
}

.product-image-lightbox::backdrop {
  background: rgba(23, 21, 18, 0.76);
}

.product-image-lightbox__surface {
  position: relative;
  display: grid;
  place-items: center;
  max-height: min(92vh, 920px);
  padding: 18px;
  border-radius: 8px;
  background: var(--surface);
}

.product-image-lightbox__surface img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 36px);
  object-fit: contain;
}

.product-image-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 21, 18, 0.76);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.product-image-lightbox__close:hover,
.product-image-lightbox__close:focus-visible {
  background: var(--ink);
}

.product-detail-panel {
  position: sticky;
  top: 118px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 20px 64px rgba(67, 55, 40, 0.08);
}

.product-detail-panel h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.08;
  text-align: center;
}

.product-detail-panel > .eyebrow {
  text-align: center;
}

.product-detail-summary {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

.product-spec-list {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 21, 18, 0.16);
}

.product-spec-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.16);
  color: var(--muted);
  line-height: 1.45;
}

.product-spec-list span {
  color: var(--ink);
  font-weight: 800;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-description-panel {
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.62);
}

.product-description-panel h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.product-description-content {
  width: 100%;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .has-reveal .reveal-item {
    opacity: 1;
    transform: none;
  }

  .ambient-bg::before,
  .ambient-bg::after {
    animation: none !important;
  }
}

@media (max-width: 930px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.68);
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 4px;
    justify-self: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav a {
    padding: 12px 6px;
  }

  .hero {
    min-height: 760px;
    padding-top: 118px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 247, 240, 0.99) 0%, rgba(251, 247, 240, 0.88) 44%, rgba(251, 247, 240, 0.12) 82%),
      linear-gradient(90deg, rgba(251, 247, 240, 0.72), rgba(251, 247, 240, 0));
  }

  .hero-image {
    object-position: 66% center;
  }

  h1 {
    max-width: 9.6ch;
  }

  .intro-strip,
  .about-panel,
  .about-meta article,
  .news-grid,
  .product-grid,
  .b2b-grid,
  .application-grid,
  .timeline,
  .timeline.extended,
  .contact-grid,
  .custom-panel,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
  }

  .product-grid {
    border-left: 1px solid var(--line);
  }

  .product-grid article,
  .product-card {
    min-height: 240px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-panel {
    position: static;
  }

  .product-main-media {
    min-height: 300px;
  }

  .swatch {
    margin-bottom: 34px;
  }

  .custom-panel {
    padding: 30px 20px;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .custom-support-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-panel {
    padding: 30px 20px;
  }

  .timeline span {
    margin-bottom: 42px;
  }

  .single-hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 720px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy {
    width: min(100%, 342px);
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(44px, 14vw, 58px);
  }

  .hero-text {
    max-width: 322px;
    font-size: 16px;
  }

  .hero-actions {
    width: min(100%, 342px);
  }

  .hero-actions,
  .single-footer,
  .product-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .intro-strip,
  .split .section-heading,
  .custom-panel,
  .news-section {
    width: calc(100% - 28px);
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 13vw, 50px);
  }

  .news-card-body {
    padding: 22px;
  }

  .single-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .single-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

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

  .product-detail-panel,
  .product-description-panel {
    padding: 24px 18px;
  }

  .product-detail-panel h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .product-spec-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .single-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner,
  .footer-bottom {
    width: calc(100% - 28px);
  }
}

/* Centered horizontal section titles used on Products and Process pages. */
.dongyu-centered-band-title {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: clamp(148px, 17vw, 216px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  padding: clamp(34px, 5vw, 66px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  text-align: center;
}

.dongyu-centered-band-title .eyebrow {
  margin: 0;
}

.dongyu-centered-band-title h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(30px, 3.35vw, 46px);
  line-height: 1.12;
}

@media (max-width: 560px) {
  .dongyu-centered-band-title {
    width: calc(100% - 28px);
    min-height: auto;
    padding-block: 34px;
  }

  .dongyu-centered-band-title h2 {
    max-width: 100%;
    font-size: clamp(30px, 10vw, 42px);
  }
}

@media (max-width: 1040px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-main .section-heading {
    min-height: auto;
    padding-block: 34px;
  }

  .page-section:first-child > .section-heading,
  .page-band-heading {
    min-height: auto;
    padding-block: 34px;
  }

  .home-main .section-heading h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .page-section:first-child > .section-heading h1,
  .page-band-heading h2 {
    max-width: 100%;
    font-size: clamp(30px, 10vw, 42px);
  }

  .capability-visual {
    height: 104px;
  }
}

/* Premium pastel sensory-toy atmosphere. Decorative layers are deliberately CSS-only. */
:root {
  --paper: #fff9f4;
  --surface: #fffdf8;
  --line: rgba(62, 48, 39, 0.14);
  --shadow: 0 20px 54px rgba(90, 67, 54, 0.09);
}

body {
  background: #fffdf8;
}

.ambient-bg {
  background:
    radial-gradient(circle at 9% 7%, rgba(182, 225, 211, 0.34), transparent 24%),
    radial-gradient(circle at 92% 15%, rgba(246, 202, 213, 0.32), transparent 24%),
    radial-gradient(circle at 82% 68%, rgba(210, 199, 236, 0.23), transparent 28%),
    radial-gradient(circle at 19% 82%, rgba(185, 224, 239, 0.18), transparent 29%),
    #fffdf8;
}

.ambient-bg::before {
  inset: -12%;
  opacity: 1;
  background:
    radial-gradient(ellipse at 74% 14%, rgba(255, 219, 190, 0.31) 0 10%, transparent 32%),
    radial-gradient(ellipse at 18% 48%, rgba(183, 222, 238, 0.22) 0 12%, transparent 36%),
    radial-gradient(ellipse at 80% 86%, rgba(206, 235, 216, 0.24) 0 11%, transparent 35%);
  filter: blur(30px);
  transform: none;
  animation: none;
}

.ambient-bg::after {
  inset: 0;
  opacity: 0.46;
  background-image: radial-gradient(circle at 1px 1px, rgba(112, 96, 84, 0.12) 0.75px, transparent 0.9px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  animation: none;
}

.hero {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.38), rgba(255, 249, 244, 0.66));
}

.hero-image {
  z-index: -3;
}

.hero::before {
  z-index: -2;
  background:
    radial-gradient(circle at 78% 46%, rgba(250, 187, 202, 0.36) 0 13%, transparent 31%),
    radial-gradient(circle at 68% 58%, rgba(190, 223, 241, 0.27) 0 12%, transparent 30%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.86) 31%, rgba(255, 253, 248, 0.2) 67%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.72) 0%, rgba(255, 249, 244, 0) 40%);
}

.hero::after {
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 249, 244, 0), var(--paper));
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-gel {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50% 45% 48% 52%;
  box-shadow: inset 12px 14px 26px rgba(255, 255, 255, 0.44), 0 16px 40px rgba(120, 89, 108, 0.1);
  filter: blur(0.2px);
}

.hero-gel--peach {
  top: 18%;
  right: 16%;
  width: clamp(88px, 10vw, 154px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.68), rgba(255, 184, 171, 0.26) 42%, rgba(246, 176, 194, 0.14) 74%);
  transform: rotate(-16deg);
}

.hero-gel--lavender {
  right: 3%;
  bottom: 14%;
  width: clamp(64px, 8vw, 118px);
  aspect-ratio: 1.1;
  background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.65), rgba(203, 185, 233, 0.29) 45%, rgba(183, 202, 239, 0.15) 78%);
  transform: rotate(12deg);
}

.hero-gel--mint {
  top: 45%;
  right: 34%;
  width: clamp(42px, 5vw, 74px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.7), rgba(169, 220, 201, 0.27) 50%, rgba(165, 206, 225, 0.14) 80%);
  transform: rotate(25deg);
}

.intro-strip,
.about-panel,
.b2b-card,
.timeline article,
.contact-card,
.inquiry-card,
.news-card,
.product-grid article,
.product-card,
.product-detail-panel,
.product-description-panel {
  border-color: rgba(87, 67, 57, 0.14);
  background: rgba(255, 253, 248, 0.83);
  box-shadow: 0 16px 46px rgba(92, 69, 59, 0.075);
}

.product-grid--media,
.product-archive .product-grid {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(125deg, rgba(209, 239, 229, 0.32), rgba(255, 244, 237, 0.34) 48%, rgba(218, 207, 241, 0.28));
  box-shadow: 0 22px 58px rgba(92, 69, 59, 0.075);
  overflow: hidden;
}

.product-card {
  border-radius: 0;
}

.product-card:hover,
.news-card:hover {
  box-shadow: 0 20px 52px rgba(92, 69, 59, 0.12);
}

.section,
.page-section,
.news-section,
.contact {
  position: relative;
  isolation: isolate;
}

.home-main .about::before,
.page-section:nth-of-type(even)::before {
  position: absolute;
  z-index: -1;
  top: clamp(44px, 7vw, 92px);
  right: -4vw;
  left: -4vw;
  height: calc(100% - clamp(44px, 7vw, 92px));
  border-radius: 46% 54% 10% 12% / 5% 8% 7% 9%;
  background: linear-gradient(116deg, rgba(235, 241, 234, 0.7), rgba(251, 239, 235, 0.62) 50%, rgba(239, 233, 248, 0.66));
  content: "";
  pointer-events: none;
}

.home-main .products::before,
.product-archive::before {
  position: absolute;
  z-index: -1;
  inset: 6% 0 0;
  border-radius: 48% 52% 0 0 / 4% 6% 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(182, 226, 211, 0.24), transparent 26%),
    radial-gradient(circle at 87% 76%, rgba(205, 193, 233, 0.2), transparent 31%),
    rgba(255, 253, 248, 0.4);
  content: "";
  pointer-events: none;
}

.home-main .split::before,
.home-main .process::before,
.page-section.split::before {
  background: linear-gradient(116deg, rgba(255, 241, 232, 0.72), rgba(244, 238, 252, 0.72) 55%, rgba(228, 241, 248, 0.6));
}

.home-main .contact::before {
  position: absolute;
  z-index: -1;
  inset: 6% -4vw 0;
  border-radius: 48% 52% 8% 8% / 6% 6% 0 0;
  background:
    radial-gradient(circle at 16% 25%, rgba(255, 205, 186, 0.46), transparent 22%),
    radial-gradient(circle at 84% 70%, rgba(188, 222, 240, 0.38), transparent 25%),
    linear-gradient(115deg, rgba(253, 239, 230, 0.83), rgba(242, 236, 252, 0.8));
  content: "";
  pointer-events: none;
}

.custom-panel {
  border: 1px solid rgba(87, 67, 57, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(207, 194, 237, 0.22), transparent 28%),
    linear-gradient(120deg, rgba(255, 248, 239, 0.92), rgba(245, 241, 252, 0.84));
  box-shadow: 0 20px 52px rgba(92, 69, 59, 0.07);
}

.timeline article,
.b2b-card,
.contact-card,
.inquiry-card {
  border-radius: 12px;
}

.contact-card,
.inquiry-card {
  background: rgba(255, 253, 250, 0.9);
}

.site-footer {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 10% 15%, rgba(177, 156, 194, 0.18), transparent 28%),
    radial-gradient(circle at 82% 90%, rgba(234, 171, 156, 0.13), transparent 28%),
    #29242d;
  color: rgba(255, 250, 245, 0.72);
}

.site-footer .brand,
.site-footer .footer-column h3 {
  color: #fffaf6;
}

.site-footer .brand-mark {
  border-color: rgba(255, 250, 245, 0.72);
}

.site-footer .brand small,
.site-footer .footer-column address,
.site-footer .footer-column a,
.site-footer .policy-links a {
  color: rgba(255, 250, 245, 0.66);
}

.site-footer .footer-column a:hover,
.site-footer .policy-links a:hover {
  color: #fffaf6;
}

.site-footer .footer-bottom {
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .ambient-bg::before {
    opacity: 0.58;
    filter: blur(22px);
  }

  .hero-gel--peach {
    right: 5%;
    opacity: 0.66;
  }

  .hero-gel--lavender,
  .hero-gel--mint {
    display: none;
  }

  .home-main .about::before,
  .page-section:nth-of-type(even)::before,
  .home-main .products::before,
  .product-archive::before,
  .home-main .split::before,
  .home-main .process::before,
  .page-section.split::before,
  .home-main .contact::before {
    right: -14px;
    left: -14px;
    border-radius: 36px 36px 12px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bg::before,
  .ambient-bg::after,
  .hero-gel {
    animation: none !important;
  }
}

/* Visual refinement: soft tactile depth without changing content or layout. */
.hero::before {
  background:
    radial-gradient(ellipse at 79% 42%, rgba(255, 225, 203, 0.48) 0 8%, rgba(249, 193, 206, 0.19) 25%, transparent 46%),
    radial-gradient(circle at 64% 64%, rgba(183, 220, 239, 0.24) 0 10%, transparent 30%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 32%, rgba(255, 253, 248, 0.17) 68%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.78) 0%, rgba(255, 249, 244, 0) 40%);
}

.hero-gel {
  opacity: 0.78;
  box-shadow: inset 15px 16px 30px rgba(255, 255, 255, 0.55), inset -8px -12px 24px rgba(151, 105, 125, 0.06), 0 18px 38px rgba(119, 86, 104, 0.1);
}

.hero-gel--peach {
  right: 13%;
  opacity: 0.56;
}

.hero-gel--lavender {
  right: 4%;
  opacity: 0.58;
}

.hero-gel--mint {
  top: 52%;
  right: 31%;
  opacity: 0.52;
}

.hero-gel--blue {
  top: 21%;
  right: 3.5%;
  width: clamp(34px, 4vw, 58px);
  aspect-ratio: 0.92;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.8), rgba(173, 215, 240, 0.31) 47%, rgba(187, 184, 231, 0.14) 80%);
  transform: rotate(22deg);
  opacity: 0.58;
}

.product-grid--media,
.product-archive .product-grid {
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-grid--media .product-card,
.product-archive .product-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(95, 76, 65, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 7%, rgba(212, 196, 238, 0.2), transparent 30%),
    linear-gradient(155deg, rgba(255, 254, 251, 0.96), rgba(255, 250, 245, 0.83));
  box-shadow: 0 14px 36px rgba(91, 68, 57, 0.075);
}

.product-grid--media .product-card:nth-child(4n + 1),
.product-archive .product-card:nth-child(4n + 1) {
  background:
    radial-gradient(circle at 82% 7%, rgba(181, 227, 213, 0.32), transparent 32%),
    linear-gradient(155deg, rgba(255, 254, 251, 0.98), rgba(244, 252, 248, 0.86));
}

.product-grid--media .product-card:nth-child(4n + 2),
.product-archive .product-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at 82% 7%, rgba(255, 206, 187, 0.28), transparent 32%),
    linear-gradient(155deg, rgba(255, 254, 251, 0.98), rgba(255, 246, 240, 0.88));
}

.product-grid--media .product-card:nth-child(4n + 3),
.product-archive .product-card:nth-child(4n + 3) {
  background:
    radial-gradient(circle at 82% 7%, rgba(197, 187, 234, 0.3), transparent 32%),
    linear-gradient(155deg, rgba(255, 254, 251, 0.98), rgba(248, 246, 255, 0.88));
}

.product-grid--media .product-card:nth-child(4n),
.product-archive .product-card:nth-child(4n) {
  background:
    radial-gradient(circle at 82% 7%, rgba(253, 224, 171, 0.28), transparent 32%),
    linear-gradient(155deg, rgba(255, 254, 251, 0.98), rgba(255, 250, 237, 0.88));
}

.product-grid--media .product-card:hover,
.product-archive .product-card:hover {
  border-color: rgba(95, 76, 65, 0.17);
  box-shadow: 0 20px 46px rgba(91, 68, 57, 0.12);
}

.product-grid--media .product-card-image,
.product-archive .product-card-image {
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 222, 208, 0.62), rgba(219, 212, 245, 0.45) 48%, rgba(190, 229, 216, 0.48));
  box-shadow: 0 10px 24px rgba(93, 71, 59, 0.08);
}

.product-grid--media .product-card-placeholder,
.product-archive .product-card-placeholder {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 230, 216, 0.62), rgba(216, 223, 247, 0.52));
}

.page-section::before {
  position: absolute;
  z-index: -1;
  top: clamp(42px, 6vw, 84px);
  right: -4vw;
  left: -4vw;
  height: calc(100% - clamp(42px, 6vw, 84px));
  border-radius: 48% 52% 12% 10% / 5% 7% 7% 8%;
  background: linear-gradient(120deg, rgba(255, 249, 243, 0.76), rgba(244, 251, 248, 0.57));
  content: "";
  pointer-events: none;
}

.page-section:nth-of-type(3n + 1)::before {
  background: linear-gradient(120deg, rgba(255, 248, 240, 0.78), rgba(243, 250, 247, 0.6));
}

.page-section:nth-of-type(3n + 2)::before {
  background: linear-gradient(120deg, rgba(246, 243, 253, 0.72), rgba(235, 246, 252, 0.62));
}

.page-section:nth-of-type(3n)::before {
  background: linear-gradient(120deg, rgba(255, 243, 236, 0.74), rgba(246, 239, 251, 0.63));
}

.home-main .about::before,
.home-main .products::before,
.home-main .split::before,
.home-main .process::before,
.home-main .contact::before,
.product-archive::before {
  border-radius: 48% 52% 12% 10% / 5% 7% 7% 8%;
}

.contact::after {
  position: absolute;
  z-index: -1;
  top: 26%;
  right: clamp(2%, 8vw, 12%);
  width: clamp(72px, 10vw, 152px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 48% 52% 45% 55%;
  background: radial-gradient(circle at 31% 27%, rgba(255, 255, 255, 0.78), rgba(247, 182, 198, 0.25) 44%, rgba(189, 205, 238, 0.15) 80%);
  box-shadow: inset 11px 12px 24px rgba(255, 255, 255, 0.45), 0 16px 34px rgba(134, 91, 107, 0.08);
  content: "";
  pointer-events: none;
}

.contact-card,
.inquiry-card {
  border-color: rgba(103, 74, 75, 0.14);
  box-shadow: 0 20px 48px rgba(102, 72, 77, 0.09);
}

@media (max-width: 760px) {
  .hero-gel--blue {
    display: none;
  }

  .product-grid--media,
  .product-archive .product-grid {
    gap: 14px;
  }

  .product-grid--media .product-card,
  .product-archive .product-card {
    border-radius: 14px;
  }

  .page-section::before,
  .contact::after {
    display: none;
  }
}

/* Final visual polish: small, low-opacity refinements only. */
.hero::before {
  background:
    radial-gradient(ellipse at 79% 42%, rgba(255, 222, 198, 0.56) 0 8%, rgba(249, 193, 206, 0.24) 26%, transparent 47%),
    radial-gradient(circle at 65% 64%, rgba(176, 218, 241, 0.29) 0 10%, transparent 31%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 32%, rgba(255, 253, 248, 0.17) 68%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.78) 0%, rgba(255, 249, 244, 0) 40%);
}

.hero-gel {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 16px 17px 32px rgba(255, 255, 255, 0.58), inset -8px -12px 24px rgba(151, 105, 125, 0.06), 0 18px 38px rgba(119, 86, 104, 0.09);
}

.hero-gel--peach,
.hero-gel--lavender {
  opacity: 0.64;
}

.hero-gel--mint,
.hero-gel--blue {
  opacity: 0.59;
}

.product-grid--media .product-card,
.product-archive .product-card {
  border-color: rgba(95, 76, 65, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(91, 68, 57, 0.055);
}

.product-grid--media .product-card:hover,
.product-archive .product-card:hover {
  border-color: rgba(95, 76, 65, 0.14);
  box-shadow: 0 17px 40px rgba(91, 68, 57, 0.09);
}

.product-grid--media .product-card-image,
.product-archive .product-card-image {
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(93, 71, 59, 0.065), 0 0 34px rgba(213, 192, 233, 0.13);
}

.home-main .about::before {
  background:
    radial-gradient(circle at 13% 22%, rgba(188, 227, 214, 0.21), transparent 28%),
    linear-gradient(116deg, rgba(238, 246, 239, 0.76), rgba(255, 246, 239, 0.66) 50%, rgba(244, 238, 252, 0.7));
}

.home-main .process::before,
.page-section:nth-of-type(3n + 2)::before {
  background:
    radial-gradient(circle at 85% 18%, rgba(196, 214, 241, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(246, 243, 253, 0.78), rgba(235, 246, 252, 0.68));
}

.home-main .contact::before {
  background:
    radial-gradient(circle at 16% 25%, rgba(255, 205, 186, 0.5), transparent 22%),
    radial-gradient(circle at 84% 70%, rgba(188, 222, 240, 0.42), transparent 25%),
    linear-gradient(115deg, rgba(254, 239, 231, 0.88), rgba(242, 236, 252, 0.84));
}

.contact::after {
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: inset 12px 13px 26px rgba(255, 255, 255, 0.52), 0 18px 38px rgba(134, 91, 107, 0.09);
  opacity: 0.82;
}

.contact-card,
.inquiry-card {
  box-shadow: 0 22px 52px rgba(102, 72, 77, 0.08);
}

/* Homepage card consistency: image frames, text clamps, and bottom-aligned actions. */
.home-main .products .product-grid--media,
.home-main .news-section .news-grid {
  align-items: stretch;
}

.home-main .products .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.home-main .products .product-card-image,
.home-main .products .product-card-placeholder {
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}

.home-main .products .product-card h3 {
  display: -webkit-box;
  min-height: 2.2em;
  margin-bottom: 12px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-main .products .product-card p {
  display: -webkit-box;
  min-height: 4.5em;
  margin-bottom: 0;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-main .products .product-card .product-actions {
  margin-top: auto;
  padding-top: 26px;
}

.home-main .news-section .news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-main .news-section .news-card-image {
  height: auto;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
}

.home-main .news-section .news-card-image img {
  object-fit: cover;
  object-position: center;
}

.home-main .news-section .news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
}

.home-main .news-section .news-card h3 {
  display: -webkit-box;
  min-height: 2.16em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-main .news-section .news-card p {
  display: -webkit-box;
  min-height: 4.5em;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-main .news-section .news-card .text-link {
  margin-top: auto;
  padding-top: 2px;
}

@media (max-width: 930px) {
  .home-main .products .product-card-image,
  .home-main .products .product-card-placeholder {
    height: 230px;
  }

  .home-main .news-section .news-card-image {
    height: 205px;
  }
}

@media (max-width: 560px) {
  .home-main .products .product-card-image,
  .home-main .products .product-card-placeholder {
    height: 230px;
  }

  .home-main .news-section .news-card-image {
    height: 210px;
  }
}
