body .cn-home {
  --cn-home-burgundy: #6f1d2a;
  --cn-home-cocoa: #8e5a52;
  --cn-home-gold: #c9a56a;
  --cn-home-ink: #171313;
  --cn-home-muted: #746a67;
  --cn-home-border: #d9c8b8;
  --cn-home-cream: #fff7ea;
  --cn-home-blush: #f5ece8;
}

body .cn-home .cn-home-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  max-width: 1240px;
  margin: clamp(38px, 5vw, 70px) auto clamp(56px, 7vw, 92px);
  padding: clamp(36px, 5vw, 66px);
  border: 1px solid rgba(217, 200, 184, 0.82);
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(255, 247, 234, 0.98), rgba(248, 243, 236, 0.9) 56%, rgba(245, 236, 232, 0.96));
  box-shadow: 0 26px 78px rgba(42, 28, 24, 0.06);
}

body .cn-home .cn-home-hero::before {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 106, 0.7), transparent);
  transform-origin: center;
  opacity: 0.46;
}

body .cn-home .cn-home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

body .cn-home .cn-home-hero h1 {
  max-width: 700px;
  line-height: 1.02;
}

body .cn-home .cn-home-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(8px, 2vw, 18px);
}

body .cn-home .cn-home-proof article {
  min-height: 90px;
  border: 1px solid rgba(111, 29, 42, 0.16);
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.6);
}

body .cn-home .cn-home-proof strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cn-home-ink);
  font-size: 22px;
  line-height: 1;
}

body .cn-home .cn-home-proof span {
  display: block;
  color: var(--cn-home-cocoa);
  font-size: 13px;
  line-height: 1.45;
}

body .cn-home .cn-home-hero-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #fffaf4;
  box-shadow: 0 26px 80px rgba(42, 28, 24, 0.13);
}

body .cn-home .cn-home-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 247, 234, 0.08) 42%, rgba(255, 247, 234, 0.36) 50%, rgba(255, 247, 234, 0.08) 58%, transparent 100%);
  opacity: 0.58;
  transform: translateX(-120%);
  animation: cnHomeSheen 7.2s ease-in-out 1.1s infinite;
  pointer-events: none;
}

body .cn-home .cn-home-main-img {
  display: block;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  min-height: 430px;
}

body .cn-home .cn-home-hero-art figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 247, 234, 0.42);
  border-radius: 18px;
  background: rgba(42, 28, 24, 0.5);
  color: rgba(255, 247, 234, 0.9);
  font-size: 13px;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}

body .cn-home .cn-home-hero-copy > *,
body .cn-home .cn-home-hero-art,
body .cn-home .cn-home-proof article {
  animation: cnHomeReveal 760ms cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

body .cn-home .cn-home-hero-copy > :nth-child(2) {
  animation-delay: 90ms;
}

body .cn-home .cn-home-hero-copy > :nth-child(3) {
  animation-delay: 170ms;
}

body .cn-home .cn-home-hero-copy > :nth-child(4),
body .cn-home .cn-home-hero-art {
  animation-delay: 250ms;
}

body .cn-home .cn-home-proof article:nth-child(1) {
  animation-delay: 360ms;
}

body .cn-home .cn-home-proof article:nth-child(2) {
  animation-delay: 450ms;
}

body .cn-home .cn-home-proof article:nth-child(3) {
  animation-delay: 540ms;
}

body .cn-home .cn-home-path,
body .cn-home .cn-home-collection,
body .cn-home .cn-home-capability,
body .cn-home .cn-home-metrics {
  max-width: 1180px;
  margin: clamp(60px, 8vw, 108px) auto;
}

body .cn-home .cn-home-path {
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(217, 200, 184, 0.82);
  border-radius: 28px;
  background: rgba(255, 247, 234, 0.7);
}

body .cn-home .cn-home-path h2,
body .cn-home .cn-home-section-head h2 {
  max-width: 840px;
}

body .cn-home .cn-home-path-line {
  height: 1px;
  margin: 28px 0 26px;
  background: rgba(217, 200, 184, 0.75);
  overflow: hidden;
}

body .cn-home .cn-home-path-line span {
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cn-home-gold), transparent);
  animation: cnHomeTrace 5.8s ease-in-out infinite;
}

body .cn-home .cn-home-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

body .cn-home .cn-home-path-grid article {
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(217, 200, 184, 0.7);
}

body .cn-home .cn-home-path-grid span,
body .cn-home .cn-micro {
  color: var(--cn-home-cocoa);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body .cn-home .cn-home-path-grid h3 {
  margin: 10px 0 8px;
}

body .cn-home .cn-home-path-grid p {
  margin: 0;
  color: var(--cn-home-muted);
  font-size: 14px;
}

body .cn-home .cn-home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

body .cn-home .cn-home-section-head .cn-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

body .cn-home .cn-home-section-head p:last-child {
  color: var(--cn-home-muted);
}

body .cn-home .cn-home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body .cn-home .cn-home-category-card {
  overflow: hidden;
  border: 1px solid rgba(217, 200, 184, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(42, 28, 24, 0.06);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

body .cn-home .cn-home-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 165, 106, 0.7);
  box-shadow: 0 24px 66px rgba(42, 28, 24, 0.11);
}

body .cn-home .cn-home-category-card a {
  display: block;
}

body .cn-home .cn-home-category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms ease;
}

body .cn-home .cn-home-category-card:hover img {
  transform: scale(1.035);
}

body .cn-home .cn-home-category-card div {
  padding: 22px 22px 24px;
}

body .cn-home .cn-home-category-card h3 {
  margin: 7px 0 10px;
}

body .cn-home .cn-home-category-card p:last-child {
  margin-bottom: 0;
  color: var(--cn-home-muted);
}

body .cn-home .cn-home-studio {
  max-width: 1180px;
  margin: clamp(64px, 8vw, 118px) auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

body .cn-home .cn-home-studio figure {
  margin: 0;
}

body .cn-home .cn-home-studio figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(217, 200, 184, 0.8);
  box-shadow: 0 24px 70px rgba(42, 28, 24, 0.11);
}

body .cn-home .cn-home-service-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 24px;
}

body .cn-home .cn-home-service-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(217, 200, 184, 0.72);
}

body .cn-home .cn-home-service-list article:last-child {
  border-bottom: 1px solid rgba(217, 200, 184, 0.72);
}

body .cn-home .cn-home-service-list strong {
  color: var(--cn-home-ink);
}

body .cn-home .cn-home-service-list span {
  color: var(--cn-home-muted);
}

body .cn-home .cn-home-capability .cn-card {
  background: rgba(255, 255, 255, 0.68);
}

body .cn-home .cn-home-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 200, 184, 0.86);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(111, 29, 42, 0.96), rgba(42, 28, 24, 0.96));
}

body .cn-home .cn-home-metrics div {
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid rgba(255, 247, 234, 0.18);
}

body .cn-home .cn-home-metrics div:last-child {
  border-right: 0;
}

body .cn-home .cn-home-metrics .cn-micro {
  color: rgba(255, 247, 234, 0.72);
}

body .cn-home .cn-home-metrics strong {
  display: block;
  margin: 8px 0 12px;
  color: #fff7ea;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

body .cn-home .cn-home-metrics span {
  color: rgba(255, 247, 234, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

body .cn-home .cn-home-final {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr) !important;
  grid-template-areas:
    "kicker actions"
    "title text" !important;
  gap: 18px clamp(36px, 6vw, 92px) !important;
  align-items: end;
  max-width: 1180px;
  margin: clamp(64px, 8vw, 112px) auto 0;
  padding: clamp(42px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid rgba(255, 247, 234, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(111, 29, 42, 0.96), rgba(42, 28, 24, 0.98));
  box-shadow: 0 26px 78px rgba(42, 28, 24, 0.12);
}

body .cn-home .cn-home-final .cn-kicker {
  grid-area: kicker;
  margin: 0;
  color: rgba(255, 247, 234, 0.56);
}

body .cn-home .cn-home-final h2 {
  grid-area: title;
  max-width: 700px;
  min-width: 0;
  margin: 0;
  color: #fff7ea;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: 1.02;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}

body .cn-home .cn-home-final > p:not(.cn-kicker):not(:last-child) {
  grid-area: text;
  max-width: 560px;
  min-width: 0;
  margin: 0;
  color: rgba(255, 247, 234, 0.78);
  font-size: 16px;
  line-height: 1.72;
}

body .cn-home .cn-home-final > p:last-child {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-self: start;
  margin: 0;
}

body .cn-home .cn-home-final .cn-btn {
  background: #fff7ea;
  color: #56313a;
  border-color: #fff7ea;
}

body .cn-home .cn-home-final .cn-btn-ghost {
  background: transparent;
  color: #fff7ea;
  border-color: rgba(255, 247, 234, 0.62);
}

body .cn-home .cn-home-final .cn-btn + .cn-btn {
  margin-left: 0;
}

@keyframes cnHomeReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cnHomeSheen {
  0%, 38% {
    transform: translateX(-120%);
  }
  62%, 100% {
    transform: translateX(120%);
  }
}

@keyframes cnHomeTrace {
  0% {
    transform: translateX(-110%);
  }
  55%, 100% {
    transform: translateX(280%);
  }
}

@media (max-width: 1080px) {
  body .cn-home .cn-home-proof,
  body .cn-home .cn-home-category-grid,
  body .cn-home .cn-home-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body .cn-home .cn-home-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body .cn-home .cn-home-hero {
    grid-template-columns: 1fr;
  }

  body .cn-home .cn-home-main-img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  body .cn-home .cn-home-section-head,
  body .cn-home .cn-home-studio {
    grid-template-columns: 1fr;
  }

  body .cn-home .cn-home-final {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "kicker"
      "title"
      "text"
      "actions" !important;
    gap: 16px !important;
  }

  body .cn-home .cn-home-final > p:last-child {
    justify-content: flex-start;
  }

  body .cn-home .cn-home-studio figure img {
    aspect-ratio: 16 / 10;
  }

  body .cn-home .cn-home-metrics div:nth-child(2) {
    border-right: 0;
  }

  body .cn-home .cn-home-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 247, 234, 0.18);
  }
}

@media (max-width: 720px) {
  body .cn-home .cn-home-hero {
    margin-top: 28px;
    padding: 26px;
    border-radius: 22px;
  }

  body .cn-home .cn-home-proof,
  body .cn-home .cn-home-category-grid,
  body .cn-home .cn-home-path-grid,
  body .cn-home .cn-home-metrics {
    grid-template-columns: 1fr;
  }

  body .cn-home .cn-home-proof span {
    min-height: auto;
  }

  body .cn-home .cn-home-main-img {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }

  body .cn-home .cn-home-hero-art {
    border-radius: 22px;
  }

  body .cn-home .cn-home-hero-art figcaption {
    position: static;
    border-radius: 0;
    border: 0;
    background: rgba(42, 28, 24, 0.9);
  }

  body .cn-home .cn-home-path,
  body .cn-home .cn-home-collection,
  body .cn-home .cn-home-capability,
  body .cn-home .cn-home-metrics {
    margin: 52px auto;
  }

  body .cn-home .cn-home-service-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body .cn-home .cn-home-metrics div,
  body .cn-home .cn-home-metrics div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 247, 234, 0.18);
  }

  body .cn-home .cn-home-metrics div:last-child {
    border-bottom: 0;
  }

  body .cn-home .cn-home-final .cn-btn + .cn-btn {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .cn-home .cn-home-hero::before,
  body .cn-home .cn-home-hero::after,
  body .cn-home .cn-home-hero-copy > *,
  body .cn-home .cn-home-hero-art,
  body .cn-home .cn-home-hero-art::after,
  body .cn-home .cn-home-proof article,
  body .cn-home .cn-home-path-line span,
  body .cn-home .cn-home-category-card,
  body .cn-home .cn-home-category-card img {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
