:root {
  --ink: #101722;
  --ink-2: #162033;
  --muted: #6c7788;
  --line: #e6ebf2;
  --page: #f6f8fb;
  --white: #ffffff;
  --orange: #ff6a2a;
  --orange-2: #ff9a3d;
  --gold: #ffd56a;
  --cyan: #36c6d8;
  --blue: #315df4;
  --green: #1ec58a;
  --shadow: 0 28px 80px rgba(16, 23, 34, 0.14);
  --soft-shadow: 0 16px 42px rgba(16, 23, 34, 0.08);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 120px;
}

#services {
  scroll-margin-top: 170px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--white);
  background: rgba(16, 23, 34, 0.72);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(16, 23, 34, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 23, 34, 0.1);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 19px;
  font-weight: 950;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.nav-cta,
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  overflow: hidden;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  letter-spacing: 0;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.nav-cta::before,
.btn::before {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -55%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}

.nav-cta,
.btn.primary {
  color: var(--ink);
  border-color: #ffb257;
  background: linear-gradient(135deg, #ffc65d 0%, #ff7a32 100%);
  box-shadow:
    0 12px 28px rgba(255, 106, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(16, 23, 34, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.btn.subtle {
  color: #d94f18;
  background: #ffffff;
  border-color: #ffc8aa;
  box-shadow: 0 9px 22px rgba(255, 106, 42, 0.08);
}

.site-header .nav-cta {
  min-height: 46px;
  padding: 0 18px;
}

.hero-actions .btn {
  min-width: 186px;
  min-height: 54px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: var(--white);
  background: #0d1422;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 28%, rgba(255, 213, 106, 0.2), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(54, 198, 216, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(9, 14, 24, 0.92) 0%, rgba(12, 19, 32, 0.8) 48%, rgba(12, 19, 32, 0.4) 100%),
    linear-gradient(0deg, #0d1422 0%, rgba(13, 20, 34, 0.08) 38%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 190px 0 130px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 950;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.1vw, 23px);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin-top: 58px;
}

.hero-metrics span {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.hero-metrics small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.service-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 90vw);
  margin: -74px auto 0;
  overflow: hidden;
  border: 1px solid rgba(230, 235, 242, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.service-strip a {
  min-height: 136px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.service-strip a:last-child {
  border-right: 0;
}

.service-strip span {
  color: var(--orange);
  font-weight: 950;
}

.service-strip strong {
  display: block;
  margin: 14px 0 4px;
  color: var(--ink);
  font-size: 22px;
}

.service-strip small {
  color: var(--muted);
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 110px 0;
}

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

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 950;
}

.section-head p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.service-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 106, 42, 0.14), rgba(54, 198, 216, 0.1));
}

.service-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--ink);
  background: linear-gradient(135deg, #fff2db, #ffe0c5);
  font-weight: 950;
}

.service-grid h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.studio {
  width: 100%;
  max-width: none;
  padding-left: max(5vw, 24px);
  padding-right: max(5vw, 24px);
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(49, 93, 244, 0.24), transparent 30%),
    radial-gradient(circle at 82% 74%, rgba(255, 106, 42, 0.2), transparent 34%),
    #111827;
}

.studio-copy,
.compare-grid {
  width: min(1180px, 90vw);
  margin-left: auto;
  margin-right: auto;
}

.studio-copy {
  max-width: 760px;
  margin-bottom: 42px;
}

.studio h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.12;
}

.studio-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

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

.compare-grid article {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.compare-grid h3 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 28px;
}

.compare-grid ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.pricing {
  width: 100%;
  max-width: none;
  padding-left: max(5vw, 24px);
  padding-right: max(5vw, 24px);
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.price-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  padding: 32px;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 23, 34, 0.08);
}

.price-grid article.featured {
  border-color: rgba(255, 106, 42, 0.48);
  background: linear-gradient(180deg, #fff9f4 0%, #ffffff 42%);
  box-shadow: 0 24px 58px rgba(255, 106, 42, 0.14);
  transform: translateY(-10px);
}

.price-grid mark {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.price-grid span {
  color: var(--orange);
  font-weight: 950;
}

.price-grid .revision-sticker {
  position: absolute;
  top: 126px;
  right: 32px;
  left: auto;
  z-index: 2;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: 88px;
  min-height: 54px;
  padding: 2px 0 2px 14px;
  border: 0;
  border-left: 2px solid #ff6a2a;
  border-radius: 0;
  color: #d9531e;
  text-align: left;
  background: transparent;
  box-shadow: none;
  line-height: 1;
  transform: none;
}

.price-grid .revision-sticker::before,
.price-grid .revision-sticker::after {
  content: none;
}

.price-grid .revision-sticker strong {
  color: inherit;
  font-size: 31px;
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.price-grid .revision-sticker small {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  white-space: nowrap;
}

.price-grid .revision-sticker.is-none {
  color: #667386;
  border-left-color: #8a96a7;
  background: transparent;
  box-shadow: none;
}

.price-grid .revision-sticker.is-none small {
  color: inherit;
  background: transparent;
}

.price-grid .revision-sticker.is-plus {
  color: #b96a00;
  border-left-color: #f2a52f;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.price-grid .revision-sticker.is-plus small {
  color: inherit;
  background: transparent;
}

.price-grid h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 52px;
  line-height: 1;
}

.price-grid small {
  font-size: 17px;
}

.price-grid p,
.price-grid li {
  color: var(--muted);
}

.price-grid article > p {
  max-width: calc(100% - 118px);
  min-height: 68px;
  margin: 0;
  line-height: 1.55;
}

.revision-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label value"
    "note note";
  align-items: center;
  gap: 5px 14px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #ffd2b8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7f1, #fffdfb);
}

.price-grid .revision-summary > span {
  grid-area: label;
  color: #89411e;
  font-size: 13px;
  font-weight: 900;
}

.price-grid .revision-summary > strong {
  grid-area: value;
  color: var(--orange);
  font-size: 27px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-grid .revision-summary > small {
  grid-area: note;
  color: #8b6a58;
  font-size: 12px;
  line-height: 1.45;
}

.revision-summary.is-none {
  border-color: #e1e6ed;
  background: #f7f9fb;
}

.price-grid .revision-summary.is-none > span,
.price-grid .revision-summary.is-none > strong,
.price-grid .revision-summary.is-none > small {
  color: #687281;
}

.revision-summary.is-plus {
  border-color: #ffb68a;
  background: linear-gradient(135deg, #fff2e8, #fffaf6);
}

.price-grid ul {
  display: grid;
  gap: 10px;
  min-height: 188px;
  margin: 18px 0 16px;
  padding: 18px 0 0;
  border-top: 1px solid #edf0f4;
  list-style: none;
}

.price-grid .tier-pricing li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #f7f9fb;
}

.price-grid .tier-pricing li.discounted {
  position: relative;
  overflow: hidden;
  border-color: #ffe0cd;
  background: #fff8f3;
}

.price-grid .tier-pricing li.discounted::before {
  content: "";
  align-self: stretch;
  width: 3px;
  margin: -10px 9px -10px -12px;
  background: #ff9b55;
}

.price-grid .tier-pricing li.volume-best {
  border-color: #ffc39d;
  background: linear-gradient(90deg, #fff4ec 0%, #fffaf6 100%);
  box-shadow: 0 6px 16px rgba(255, 106, 42, 0.07);
}

.price-grid .tier-pricing li.volume-best::before {
  background: var(--orange);
}

.price-grid .tier-pricing .tier-quantity {
  color: #303846;
  font-size: 15px;
  font-weight: 900;
}

.price-grid .tier-pricing .tier-copy {
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.price-grid .tier-pricing .tier-quota {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  color: #7d8794;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.price-grid .tier-pricing li.discounted .tier-quantity {
  margin-right: auto;
}

.price-grid .tier-pricing .tier-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-grid .tier-pricing del {
  color: #a9afb8;
  font-size: 12px;
  text-decoration-color: #f08c61;
  text-decoration-thickness: 2px;
}

.price-grid .tier-pricing strong {
  min-width: 58px;
  color: var(--ink);
  text-align: right;
  font-size: 16px;
}

.price-grid .tier-pricing li.discounted strong {
  color: #e9551c;
  font-size: 19px;
  letter-spacing: 0;
}

.price-grid .tier-pricing small {
  min-width: 50px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #ff7438;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.price-grid .tier-pricing li.volume-best small {
  background: linear-gradient(90deg, #ff9d43, #ff622d);
  box-shadow: 0 5px 12px rgba(255, 98, 45, 0.2);
}

.price-grid .tier-pricing li:not(.discounted) small {
  color: #7d8794;
  background: #edf1f5;
}

.price-grid .tier-pricing li .tier-copy .tier-quota {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  color: #7d8794;
  background: transparent;
  box-shadow: none;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}

.price-grid .btn {
  width: 100%;
  margin-top: auto;
  border-radius: 10px;
}

.revision-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 20px;
  width: min(1180px, 90vw);
  margin: 18px auto 0;
  padding: 16px 2px;
  border-top: 1px solid #ffd8c0;
  border-bottom: 1px solid #e4e9ef;
  color: var(--muted);
  font-size: 14px;
}

.revision-guide strong {
  color: var(--ink);
  font-size: 15px;
}

.revision-guide .revision-example {
  padding: 7px 11px;
  border-radius: 999px;
  color: #8d421f;
  background: #fff2e8;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .revision-guide {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .revision-guide .revision-example {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .price-grid .revision-sticker {
    top: 112px;
    right: 20px;
    left: auto;
    width: 82px;
    min-height: 50px;
    padding: 2px 0 2px 12px;
    border-radius: 0;
  }

  .price-grid .revision-sticker strong {
    font-size: 27px;
  }

  .price-grid .revision-sticker small {
    min-height: 0;
    padding: 0;
    font-size: 10px;
  }

  .price-grid article > p {
    max-width: calc(100% - 96px);
    min-height: 64px;
  }

  .revision-guide {
    width: 100%;
    margin-top: 12px;
    padding: 14px 0;
  }

  .revision-guide .revision-example {
    border-radius: 10px;
    white-space: normal;
  }
}

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

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.case-card div {
  position: relative;
  min-height: 260px;
  background: #eef3f7;
}

.case-card div::before,
.case-card div::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(31, 47, 70, 0.14);
}

.case-card div::before {
  left: 26px;
  top: 28px;
  width: 56%;
  height: 45%;
  border-radius: 14px;
}

.case-card div::after {
  right: 28px;
  bottom: 30px;
  width: 34%;
  height: 30%;
  border-radius: 12px;
}

.case-card.beauty div { background: linear-gradient(135deg, #fff1f4, #e7f5ff); }
.case-card.home div { background: linear-gradient(135deg, #edf8f1, #fff2dc); }
.case-card.digital div { background: linear-gradient(135deg, #182033, #ffb13d); }
.case-card.food div { background: linear-gradient(135deg, #ffe8c4, #fff6e2, #d83c37); }
.case-card.video div { background: linear-gradient(135deg, #101722, #333f55, #ff6a2a); }
.case-card.fashion div { background: linear-gradient(135deg, #f4f0ff, #ffd8c2); }

.case-card h3,
.case-card p {
  padding-left: 24px;
  padding-right: 24px;
}

.case-card h3 {
  margin: 22px 0 6px;
  color: var(--ink);
  font-size: 21px;
}

.case-card p {
  margin: 0;
  padding-bottom: 24px;
  color: var(--muted);
}

.process {
  background: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  list-style: none;
  box-shadow: var(--soft-shadow);
}

.timeline li {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
}

.timeline span {
  color: var(--orange);
  font-weight: 950;
}

.timeline strong {
  display: block;
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  padding: 110px max(5vw, 24px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 106, 42, 0.22), transparent 28%),
    linear-gradient(135deg, #101722 0%, #162033 100%);
}

.contact > div {
  width: min(660px, 100%);
  margin-left: auto;
}

.contact h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.1;
}

.contact p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.wechat-card {
  width: min(420px, 100%);
  margin-right: auto;
  padding: 28px;
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.26);
}

.qr {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 12px solid #fff0e8;
  border-radius: 18px;
  color: var(--orange);
  background:
    linear-gradient(90deg, var(--ink) 8px, transparent 8px) 0 0 / 28px 28px,
    linear-gradient(var(--ink) 8px, transparent 8px) 0 0 / 28px 28px,
    #fff9f5;
  font-size: 76px;
  font-weight: 950;
}

.wechat-card strong {
  display: block;
  margin-top: 18px;
  color: var(--orange);
}

.wechat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(5vw, 24px) 94px;
  color: rgba(255, 255, 255, 0.72);
  background: #0d1422;
}

.site-footer strong {
  color: var(--white);
  font-size: 22px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: clamp(150px, 11vw, 180px);
  isolation: isolate;
  animation: contact-dock-enter 0.72s cubic-bezier(0.2, 0.78, 0.28, 1) both;
}

.float-actions::before,
.float-actions::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 8% 6%;
  border: 2px solid rgba(255, 186, 61, 0.72);
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  animation: contact-attention-ring 6s ease-out infinite;
}

.float-actions::after {
  animation-delay: 0.42s;
}

.floating-contact-preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 16px 28px rgba(15, 22, 34, 0.2));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.floating-contact-preview img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 100%;
  will-change: transform;
  animation: contact-gentle-nudge 6s ease-in-out infinite;
}

.floating-contact-preview:hover {
  filter: drop-shadow(0 20px 34px rgba(15, 22, 34, 0.28));
  transform: translateY(-4px) scale(1.025);
}

.floating-contact-preview:hover img {
  animation-play-state: paused;
}

.floating-contact-preview:focus-visible {
  outline: 3px solid rgba(255, 174, 66, 0.72);
  outline-offset: 4px;
}

@keyframes contact-dock-enter {
  from {
    opacity: 0;
    transform: translate3d(26px, 22px, 0) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes contact-gentle-nudge {
  0%,
  68%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  74% {
    transform: translate3d(0, -6px, 0) rotate(-0.6deg);
  }
  80% {
    transform: translate3d(0, -2px, 0) rotate(0.6deg);
  }
  86% {
    transform: translate3d(0, -5px, 0) rotate(-0.35deg);
  }
  92% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes contact-attention-ring {
  0%,
  68% {
    opacity: 0;
    transform: scale(0.94);
  }
  74% {
    opacity: 0.42;
  }
  90% {
    opacity: 0;
    transform: scale(1.14);
  }
  100% {
    opacity: 0;
    transform: scale(1.14);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 66px;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 12px;
    border-radius: 18px;
    background: rgba(16, 23, 34, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .service-strip,
  .service-grid,
  .compare-grid,
  .price-grid,
  .case-grid,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip a:last-child {
    border-bottom: 0;
  }

  .price-grid article.featured {
    transform: none;
  }

  .timeline {
    border-radius: 18px;
  }

  .contact > div,
  .wechat-card {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .brand small {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-inner {
    padding-top: 136px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 74px 0;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .service-grid article,
  .price-grid article {
    padding: 26px;
  }

  .contact {
    padding-top: 76px;
    padding-bottom: 132px;
  }

  .process {
    padding-top: 96px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 128px;
  }

  .float-actions {
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 108px;
  }
}

/* Two-level case filters: content type first, then ecommerce industry. */
.cases .case-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: -10px 0 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f6;
}

.cases .case-tab {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: rgba(16, 23, 34, 0.68);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.cases .case-tab.active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 23, 34, 0.09);
}

.case-filter-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-filter-row > strong {
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}

.industry-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.industry-filter {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(16, 23, 34, 0.68);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.industry-filter:hover,
.industry-filter:focus-visible {
  color: var(--ink);
  border-color: rgba(255, 106, 42, 0.42);
}

.industry-filter.active {
  color: #7a3513;
  border-color: #ffd1b9;
  background: #fff0e6;
}

.cases .work-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.cases .case-card {
  border-radius: 8px;
}

.case-card[hidden],
.case-empty[hidden] {
  display: none;
}

.case-empty {
  margin: 0;
  padding: 54px 20px;
  border: 1px dashed #cad3df;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .cases .case-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cases .case-tabs::-webkit-scrollbar,
  .industry-filters::-webkit-scrollbar {
    display: none;
  }

  .cases .case-tab {
    flex: 0 0 auto;
    padding: 0 16px;
  }

  .case-filter-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .industry-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .industry-filter {
    flex: 0 0 auto;
  }
}

/* Image assets keep the guarantee icons consistent across browsers. */
.guarantee-section .guarantee-icon::before,
.guarantee-section .guarantee-icon::after {
  content: none !important;
  display: none !important;
}

.guarantee-section .guarantee-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .guarantee-section .guarantee-icon img {
    width: 48px;
    height: 48px;
  }
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(940px, 100%);
  margin-top: 58px;
}

.pain-cards span {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.pain-cards span::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 213, 106, 0.12);
}

.pain-cards strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.pain-cards small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
}

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

.service-grid.dense article {
  min-height: 230px;
}

.services {
  position: relative;
  width: 100%;
  max-width: none;
  padding-top: 72px;
  padding-left: max(5vw, 24px);
  padding-right: max(5vw, 24px);
  background:
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 56%, #f4f8fc 100%);
}

.services::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.core-services {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin-left: auto;
  margin-right: auto;
}

.core-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.core-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(230, 235, 242, 0.95);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
  box-shadow: 0 24px 70px rgba(16, 23, 34, 0.1);
}

.core-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 106, 42, 0.12), transparent 36%),
    radial-gradient(circle at 80% 12%, rgba(54, 198, 216, 0.16), transparent 30%);
  pointer-events: none;
}

.core-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 32px;
  height: 178px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(16, 23, 34, 0.95), rgba(34, 47, 70, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.core-card.detail-page::after {
  background: linear-gradient(135deg, #fff0d7, #f8fbff);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 42, 0.12);
}

.core-card.short-video::after {
  background: linear-gradient(135deg, #101722, #ff6a2a);
}

.core-card-top,
.core-card h3,
.core-card p,
.core-card ul,
.service-preview {
  position: relative;
  z-index: 1;
}

.core-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.core-card-top span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange-2));
  font-weight: 950;
}

.core-card-top b {
  color: #aeb7c5;
  font-size: 12px;
  text-transform: uppercase;
}

.core-card h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
}

.core-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.core-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 auto;
  padding: 0;
  list-style: none;
}

.core-card li {
  padding: 7px 10px;
  border-radius: 999px;
  color: #834119;
  background: #fff0e5;
  font-size: 13px;
  font-weight: 900;
}

.service-preview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  min-height: 138px;
  margin-top: 36px;
  padding: 18px;
}

.service-preview i {
  display: block;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 28px rgba(16, 23, 34, 0.14);
}

.service-preview i:first-child {
  grid-row: span 2;
}

.detail-page .service-preview i {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 26px rgba(255, 106, 42, 0.12);
}

.short-video .service-preview {
  grid-template-columns: repeat(3, 1fr);
}

.short-video .service-preview i {
  min-height: 102px;
}

.short-video .service-preview i:first-child {
  grid-row: auto;
}

.market-panel {
  padding-top: 0;
}

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

.market-grid article {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.market-grid article:first-child {
  background: linear-gradient(145deg, #ffffff, #f6fbff);
}

.market-grid article:last-child {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 82% 22%, rgba(54, 198, 216, 0.22), transparent 30%),
    linear-gradient(135deg, #101722, #24304a);
}

.market-grid span,
.guarantee-grid span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-grid h3 {
  margin: 10px 0 24px;
  font-size: 30px;
  line-height: 1.15;
}

.tag-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tag-cloud b {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0 10px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff4ed;
  font-size: 15px;
}

.tag-cloud.dark b {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.market-panel {
  width: 100%;
  max-width: none;
  padding: 72px max(5vw, 24px) 98px;
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.adapt-panel {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 42px;
  align-items: stretch;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(230, 235, 242, 0.92);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9)),
    radial-gradient(circle at 92% 12%, rgba(54, 198, 216, 0.12), transparent 30%);
  box-shadow: 0 22px 70px rgba(16, 23, 34, 0.08);
}

.adapt-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px 10px 0;
}

.adapt-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 950;
}

.adapt-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.adapt-groups {
  display: grid;
  gap: 14px;
}

.adapt-group {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 116px;
  padding: 18px 20px;
  border: 1px solid rgba(230, 235, 242, 0.88);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.adapt-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: #9c4817;
  background: #fff0e5;
  font-size: 13px;
  font-weight: 950;
}

.adapt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adapt-tags b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(230, 235, 242, 0.95);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 23, 34, 0.04);
  font-size: 14px;
  font-weight: 900;
}

.platform-tags b {
  color: #192338;
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
}

.custom-section {
  position: relative;
  overflow: hidden;
  padding: 78px max(5vw, 24px) 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 106, 42, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(9, 14, 24, 0.78), rgba(9, 14, 24, 0.92)),
    linear-gradient(90deg, rgba(13, 20, 34, 0.98), rgba(13, 20, 34, 0.62)),
    url("https://cdn.meimengai.cn/uploads/website/meimeng-portal-20260826/assets/hero-workspace.png") center / cover;
}

.custom-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 24, 0.74), transparent 42%, rgba(7, 13, 24, 0.52)),
    linear-gradient(180deg, rgba(7, 13, 24, 0.08), rgba(7, 13, 24, 0.58));
  pointer-events: none;
}

.custom-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  width: min(1240px, 90vw);
  margin: 0 auto;
}

.custom-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.custom-copy h2 {
  margin: 0;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1.1;
}

.custom-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
}

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

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

.custom-feature-grid article {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.custom-feature-grid article::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 22px;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--orange-2));
}

.custom-feature-grid article::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -48px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 86, 0.16), transparent 68%);
}

.custom-feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 12px;
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange-2));
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(255, 128, 47, 0.22);
}

.custom-feature-grid h3,
.guarantee-grid h3,
.news-grid h3 {
  margin: 18px 0 9px;
  font-size: 21px;
  line-height: 1.25;
}

.custom-feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.compare-grid strong {
  color: var(--gold);
}

.studio {
  position: relative;
  overflow: hidden;
  padding-top: 112px;
  padding-bottom: 124px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 106, 42, 0.07), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(54, 198, 216, 0.08), transparent 30%),
    repeating-linear-gradient(120deg, rgba(16, 23, 34, 0.022) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.studio::before {
  content: "WHY CHOOSE US";
  position: absolute;
  top: 72px;
  left: 50%;
  color: rgba(16, 23, 34, 0.028);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  transform: translateX(-50%);
}

.studio-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 58px;
  text-align: center;
}

.studio h2 {
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 56px);
}

.studio-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.studio-copy::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: visible;
  padding: 56px 62px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.86) 0%, rgba(255, 255, 255, 0.94) 46%, rgba(255, 248, 244, 0.72) 100%),
    #ffffff;
  box-shadow: 0 30px 90px rgba(16, 23, 34, 0.12);
}

.compare-grid::before {
  content: "";
  position: absolute;
  top: 54px;
  bottom: 54px;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255, 106, 42, 0.9) 0 9px, transparent 9px 18px);
  border-left: 0;
  transform: translateX(-50%);
}

.compare-grid::after {
  content: "WHY DID YOU CHOOSE US";
  position: absolute;
  right: -18px;
  top: 110px;
  display: grid;
  place-items: center;
  width: 44px;
  height: calc(100% - 200px);
  min-height: 244px;
  color: var(--white);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), #ff8c35);
  box-shadow: 0 18px 38px rgba(255, 106, 42, 0.26);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 5px;
  writing-mode: vertical-rl;
}

.compare-grid article {
  padding: 18px 82px 18px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.compare-grid article:last-child {
  padding-right: 28px;
  padding-left: 94px;
}

.compare-grid h3 {
  margin: 0 0 36px;
  color: var(--ink);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.2;
}

.compare-grid article:last-child h3 {
  color: var(--orange);
}

.compare-grid ul {
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.compare-grid li {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 20px;
  align-items: start;
}

.compare-grid li::before {
  content: "";
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    #a8adb5;
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px #c4c8cf, 0 12px 22px rgba(16, 23, 34, 0.08);
  font-size: 22px;
  font-weight: 950;
}

.compare-grid article:last-child li::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--orange);
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px rgba(255, 106, 42, 0.36), 0 12px 24px rgba(255, 106, 42, 0.15);
}

.compare-grid li.icon-money::before {
  content: "¥";
}

.compare-grid li.icon-pen::before {
  content: "!";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    #a8adb5;
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px #c4c8cf, 0 12px 22px rgba(16, 23, 34, 0.08);
}

.compare-grid li.icon-clock::before {
  content: "";
  background:
    radial-gradient(circle at 50% 50%, transparent 0 36%, #ffffff 37% 43%, transparent 44%),
    linear-gradient(90deg, transparent 47%, #ffffff 47% 53%, transparent 53%) 50% 48% / 18px 18px no-repeat,
    linear-gradient(0deg, transparent 48%, #ffffff 48% 54%, transparent 54%) 54% 48% / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    #a8adb5;
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px #c4c8cf, 0 12px 22px rgba(16, 23, 34, 0.08);
}

.compare-grid li.icon-check::before {
  content: "✓";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--orange);
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px rgba(255, 106, 42, 0.36), 0 12px 24px rgba(255, 106, 42, 0.15);
}

.compare-grid article:last-child li.icon-clock::before {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 36%, #ffffff 37% 43%, transparent 44%),
    linear-gradient(90deg, transparent 47%, #ffffff 47% 53%, transparent 53%) 50% 48% / 18px 18px no-repeat,
    linear-gradient(0deg, transparent 48%, #ffffff 48% 54%, transparent 54%) 54% 48% / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--orange);
  box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 1px rgba(255, 106, 42, 0.36), 0 12px 24px rgba(255, 106, 42, 0.15);
}

.compare-grid strong {
  display: block;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
}

.compare-grid article:last-child strong {
  color: var(--ink);
}

.compare-grid span {
  grid-column: 2;
  display: block;
  margin-top: 8px;
  color: #4d5a6d;
  font-size: 17px;
  line-height: 1.72;
}

.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border: 5px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0%, #fff7f1 100%);
  box-shadow: 0 18px 42px rgba(255, 106, 42, 0.16);
  font-size: 44px;
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.guarantee-section {
  padding-top: 100px;
}

.guarantee-grid article,
.news-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.guarantee-grid article {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.guarantee-grid p,
.news-grid p {
  margin: 0;
  color: var(--muted);
}

.price-note {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1180px, 90vw);
  margin: 24px auto 0;
}

.price-note span,
.send-list span,
.footer-benefits span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.price-note span {
  color: #884217;
  background: #fff2e7;
  border: 1px solid #ffd6be;
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 26px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.work-grid .case-card div {
  min-height: 190px;
}

.case-card.mother div { background: linear-gradient(135deg, #fff3e2, #f3f9ff); }
.case-card.auto div { background: linear-gradient(135deg, #1b2638, #36c6d8); }
.case-card.care div { background: linear-gradient(135deg, #e8fff6, #fff0f5); }
.case-card.daily div { background: linear-gradient(135deg, #fff7d8, #d9efff); }

.news-section {
  padding-top: 80px;
}

.news-grid time {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}

.send-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.send-list span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer {
  display: block;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: #0d1422;
}

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 34px 0 20px;
}

.footer-benefits span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 20px 0 94px;
}

.footer-bottom strong {
  color: var(--white);
  font-size: 22px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.guarantee-section {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  margin: 0;
  padding: 108px max(5vw, 24px) 118px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(9, 14, 24, 0.76), rgba(9, 14, 24, 0.88)),
    linear-gradient(90deg, rgba(9, 14, 24, 0.78), rgba(9, 14, 24, 0.42)),
    url("https://cdn.meimengai.cn/uploads/website/meimeng-portal-20260826/assets/hero-workspace.png") center / cover;
}

.guarantee-section::before {
  content: "DESIGN GUARANTEE";
  position: absolute;
  top: 74px;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(56px, 8vw, 132px);
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  transform: translateX(-50%);
}

.guarantee-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 106, 42, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 14, 24, 0.08), rgba(9, 14, 24, 0.3));
  pointer-events: none;
}

.guarantee-section .section-head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 62px;
  color: var(--white);
  text-align: center;
}

.guarantee-section .section-head h2 {
  color: var(--white);
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.12;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.guarantee-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.guarantee-section .section-head::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--orange-2));
}

.guarantee-section .guarantee-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.guarantee-section .guarantee-grid article {
  min-height: 318px;
  padding: 58px 34px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(5, 9, 16, 0.7), rgba(5, 9, 16, 0.55));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.guarantee-section .guarantee-icon {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  margin: 0 auto 34px;
  border: 8px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  color: var(--orange-2);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.guarantee-section .guarantee-icon::before {
  color: var(--orange-2);
  font-size: 38px;
  font-weight: 950;
  line-height: 1;
}

.guarantee-section .guarantee-grid article:nth-child(1) .guarantee-icon::before {
  content: "◇";
}

.guarantee-section .guarantee-grid article:nth-child(2) .guarantee-icon::before {
  content: "%";
}

.guarantee-section .guarantee-grid article:nth-child(3) .guarantee-icon::before {
  content: "☆";
}

.guarantee-section .guarantee-grid article:nth-child(4) .guarantee-icon::before {
  content: "◎";
}

.guarantee-section .guarantee-grid h3 {
  margin: 0;
  color: var(--white);
  font-size: 30px;
  line-height: 1.2;
}

.guarantee-section .guarantee-grid em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-style: normal;
}

.guarantee-section .guarantee-grid p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.85;
  text-align: left;
}

@media (max-width: 1180px) {
  .service-grid.dense,
  .work-grid,
  .core-services {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-feature-grid,
  .guarantee-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 1060px) {
  .pain-cards,
  .market-grid,
  .price-note,
  .footer-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .adapt-panel {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 38px 28px;
  }

  .compare-grid::before,
  .compare-grid::after,
  .vs-badge {
    display: none;
  }

  .compare-grid article,
  .compare-grid article:last-child {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .pain-cards,
  .service-grid.dense,
  .core-services,
  .market-grid,
  .custom-inner,
  .custom-feature-grid,
  .guarantee-grid,
  .price-note,
  .work-grid,
  .news-grid,
  .footer-benefits {
    grid-template-columns: 1fr;
  }

  .pain-cards {
    margin-top: 34px;
  }

  .pain-cards span {
    min-height: 104px;
  }

  .custom-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .market-grid article,
  .core-card,
  .adapt-panel,
  .adapt-group,
  .custom-feature-grid article,
  .guarantee-grid article,
  .news-grid article {
    padding: 24px;
  }

  .price-note span,
  .send-list span {
    width: 100%;
  }

  .market-panel {
    padding: 44px 20px 72px;
  }

  .adapt-panel {
    width: 100%;
    padding: 22px;
    border-radius: 22px;
  }

  .adapt-copy h2 {
    font-size: 28px;
  }

  .adapt-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adapt-tags b {
    flex: 1 1 calc(50% - 8px);
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 128px;
  }
}

.hero {
  min-height: 650px;
}

.hero > img {
  object-position: center;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 177, 65, 0.13), transparent 27%),
    linear-gradient(180deg, rgba(11, 17, 28, 0.5) 0%, rgba(11, 17, 28, 0.45) 44%, rgba(8, 14, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 14, 24, 0.72) 0%, rgba(8, 14, 24, 0.18) 50%, rgba(8, 14, 24, 0.56) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 0 78px;
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 12px;
  color: #ffb244;
  font-size: 12px;
  letter-spacing: 0;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  line-height: 1;
}

.hero h1 span {
  color: inherit;
}

.hero h1 .hero-brand-name {
  position: relative;
  color: #fff;
  font-size: clamp(66px, 7.2vw, 104px);
  font-weight: 950;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.hero h1 .hero-brand-name::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 16px auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd266, #ff6a2f);
}

.hero h1 .hero-title-copy {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.26;
}

.hero-title-copy em {
  color: #ffc34f;
  font-style: normal;
}

.hero-lead {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .btn {
  position: relative;
  min-width: 174px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.hero-actions .btn.primary {
  border-color: rgba(255, 218, 148, 0.72);
  background: linear-gradient(135deg, #ffc55a 0%, #ff7a32 100%);
  box-shadow:
    0 12px 28px rgba(255, 105, 47, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.hero-actions .btn.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(10, 17, 28, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.pain-cards {
  width: min(1040px, 90vw);
  margin-top: 40px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(9, 15, 25, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.pain-cards span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 86px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.pain-cards span:last-child {
  border-right: 0;
}

.pain-cards span::after {
  display: none;
}

.pain-cards strong {
  color: #ffc34f;
  font-size: 25px;
  line-height: 1.1;
}

.pain-cards small {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .hero-inner {
    padding-top: 108px;
  }

  .pain-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: min(920px, 90vw);
  }

  .pain-cards strong {
    font-size: 22px;
  }

  .pain-cards small {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 650px;
  }

  .hero-inner {
    align-items: stretch;
    padding: 96px 0 70px;
    text-align: center;
  }

  .hero h1 .hero-brand-name {
    font-size: 56px;
  }

  .hero h1 .hero-title-copy {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .pain-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    margin-top: 30px;
  }

  .pain-cards span {
    flex-direction: column;
    gap: 6px;
    min-height: 88px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 0;
    padding: 14px 10px;
  }

  .pain-cards span:nth-child(2n) {
    border-right: 0;
  }

  .pain-cards span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .pain-cards strong {
    font-size: 24px;
  }

  .pain-cards small {
    font-size: 12px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .btn {
    min-width: 158px;
    min-height: 44px;
    padding: 0 20px;
  }

  .hero-actions .btn.ghost {
    display: none;
  }

  .services {
    padding-top: 48px;
  }
}

@media (max-width: 1180px) {
  .guarantee-section .guarantee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(900px, 90vw);
  }
}

@media (max-width: 640px) {
  .guarantee-section {
    padding: 78px 20px 86px;
  }

  .guarantee-section::before {
    top: 52px;
    font-size: 48px;
  }

  .guarantee-section .section-head {
    margin-bottom: 36px;
  }

  .guarantee-section .section-head h2 {
    font-size: 34px;
  }

  .guarantee-section .section-head p:not(.eyebrow) {
    font-size: 16px;
  }

  .guarantee-section .guarantee-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 18px;
  }

  .guarantee-section .guarantee-grid article {
    min-height: auto;
    padding: 34px 26px 28px;
  }

  .guarantee-section .guarantee-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
    border-width: 6px;
  }

  .guarantee-section .guarantee-icon::before {
    font-size: 31px;
  }

  .guarantee-section .guarantee-grid h3 {
    font-size: 26px;
  }

  .guarantee-section .guarantee-grid p {
    font-size: 15px;
    text-align: center;
  }
}

.guarantee-section {
  width: min(1180px, 90vw);
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 0 112px;
  color: var(--ink);
  background: transparent;
}

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

.guarantee-section .section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  color: var(--ink);
}

.guarantee-section .section-head h2 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(42px, 5vw, 68px);
}

.guarantee-section .section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.guarantee-section .section-head::after {
  background: linear-gradient(90deg, var(--gold), var(--orange-2));
}

.guarantee-section .guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin: 0;
}

.guarantee-section .guarantee-grid article {
  min-height: 330px;
  padding: 38px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: var(--soft-shadow);
  backdrop-filter: none;
}

.guarantee-section .guarantee-grid article small {
  display: none;
}

.guarantee-section .guarantee-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 28px;
  border: 1px solid rgba(255, 106, 42, 0.16);
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255, 106, 42, 0.08);
  box-shadow: 0 18px 34px rgba(255, 106, 42, 0.1);
}

.guarantee-section .guarantee-icon::before {
  color: var(--orange);
  font-size: 36px;
}

.guarantee-section .guarantee-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.guarantee-section .guarantee-grid em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.guarantee-section .guarantee-grid p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
}

@media (max-width: 1180px) {
  .guarantee-section .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .guarantee-section {
    width: min(100% - 40px, 1180px);
    padding: 78px 0 86px;
  }

  .guarantee-section .section-head h2 {
    font-size: 34px;
  }

  .guarantee-section .section-head p:not(.eyebrow) {
    font-size: 16px;
  }

  .guarantee-section .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guarantee-section .guarantee-grid article {
    min-height: auto;
    padding: 30px 24px;
  }

  .guarantee-section .guarantee-grid p {
    text-align: center;
  }
}

.guarantee-section .guarantee-icon {
  position: relative;
  overflow: visible;
  color: var(--orange);
  background: #ffffff;
  box-shadow:
    0 16px 34px rgba(16, 23, 34, 0.08),
    inset 0 0 0 1px rgba(255, 106, 42, 0.1);
}

.guarantee-section .guarantee-icon::before,
.guarantee-section .guarantee-icon::after,
.guarantee-section .guarantee-icon i,
.guarantee-section .guarantee-icon i::before,
.guarantee-section .guarantee-icon i::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.guarantee-section .icon-diamond::before {
  width: 40px;
  height: 40px;
  top: 22px;
  left: 22px;
  border: 4px solid var(--orange);
  border-radius: 8px;
  transform: rotate(45deg);
}

.guarantee-section .icon-diamond i::before,
.guarantee-section .icon-diamond i::after {
  display: none;
}

.guarantee-section .icon-diamond i::before {
  left: auto;
  transform: none;
}

.guarantee-section .icon-diamond i::after {
  right: auto;
  transform: none;
}

.guarantee-section .icon-value::before,
.guarantee-section .icon-value::after {
  width: 50px;
  height: 50px;
  top: 18px;
  left: 18px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-value::before {
  border-right-color: transparent;
  transform: rotate(-28deg);
}

.guarantee-section .icon-value::after {
  border-left-color: transparent;
  transform: rotate(152deg);
}

.guarantee-section .icon-value i::before {
  content: "%";
  position: absolute;
  top: 24px;
  left: 29px;
  color: var(--orange);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.guarantee-section .icon-star::before {
  content: "☆";
  top: 19px;
  left: 24px;
  color: var(--orange);
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
}

.guarantee-section .icon-star::after {
  width: 50px;
  height: 50px;
  top: 18px;
  left: 18px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-30deg);
}

.guarantee-section .icon-team::before {
  width: 24px;
  height: 24px;
  top: 18px;
  left: 31px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team::after {
  width: 42px;
  height: 24px;
  top: 44px;
  left: 22px;
  border: 4px solid var(--orange);
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
}

.guarantee-section .icon-team i::before,
.guarantee-section .icon-team i::after {
  width: 18px;
  height: 18px;
  top: 26px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team i::before {
  left: 16px;
}

.guarantee-section .icon-team i::after {
  right: 16px;
}

.guarantee-section .guarantee-grid article .guarantee-icon.icon-diamond::before,
.guarantee-section .guarantee-grid article .guarantee-icon.icon-value::before,
.guarantee-section .guarantee-grid article .guarantee-icon.icon-value::after,
.guarantee-section .guarantee-grid article .guarantee-icon.icon-team::before,
.guarantee-section .guarantee-grid article .guarantee-icon.icon-team::after {
  content: "";
}

.guarantee-section .guarantee-grid article .guarantee-icon.icon-star::before {
  content: "☆";
}

@media (max-width: 640px) {
  .guarantee-section .icon-diamond::before {
    top: 18px;
    left: 18px;
  }

  .guarantee-section .icon-diamond i::before {
    left: 30px;
    top: 43px;
  }

  .guarantee-section .icon-diamond i::after {
    right: 30px;
    top: 43px;
  }

  .guarantee-section .icon-value::before,
  .guarantee-section .icon-value::after,
  .guarantee-section .icon-star::after {
    top: 14px;
    left: 14px;
  }

  .guarantee-section .icon-value i::before {
    top: 20px;
    left: 25px;
  }

  .guarantee-section .icon-star::before {
    top: 15px;
    left: 20px;
  }

  .guarantee-section .icon-team::before {
    top: 14px;
    left: 27px;
  }

  .guarantee-section .icon-team::after {
    top: 40px;
    left: 18px;
  }

  .guarantee-section .icon-team i::before,
  .guarantee-section .icon-team i::after {
    top: 22px;
  }

  .guarantee-section .icon-team i::before {
    left: 12px;
  }

  .guarantee-section .icon-team i::after {
    right: 12px;
  }
}

.guarantee-section .guarantee-icon,
.guarantee-section .guarantee-icon * {
  font-size: 0;
  line-height: 0;
}

.guarantee-section .guarantee-icon b {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.guarantee-section .icon-diamond::before,
.guarantee-section .icon-diamond::after,
.guarantee-section .icon-value::before,
.guarantee-section .icon-value::after,
.guarantee-section .icon-star::before,
.guarantee-section .icon-star::after,
.guarantee-section .icon-team::before,
.guarantee-section .icon-team::after {
  content: "";
}

.guarantee-section .icon-diamond i {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 36px;
  height: 36px;
  border: 4px solid var(--orange);
  border-radius: 7px;
  transform: rotate(45deg);
}

.guarantee-section .icon-value::before {
  top: 19px;
  left: 19px;
  width: 48px;
  height: 48px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.guarantee-section .icon-value::after {
  right: 16px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  border-right: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
  transform: rotate(-28deg);
}

.guarantee-section .icon-value i,
.guarantee-section .icon-value b {
  width: 9px;
  height: 9px;
  border: 3px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-value i {
  top: 29px;
  left: 31px;
}

.guarantee-section .icon-value b {
  right: 30px;
  bottom: 29px;
}

.guarantee-section .icon-value i::after {
  top: 10px;
  left: 14px;
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--orange);
  transform: rotate(-55deg);
}

.guarantee-section .icon-star i {
  top: 23px;
  left: 23px;
  width: 40px;
  height: 40px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
}

.guarantee-section .icon-star i::after {
  top: 7px;
  left: 7px;
  width: 26px;
  height: 26px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
}

.guarantee-section .icon-star::before {
  top: 18px;
  left: 18px;
  width: 50px;
  height: 50px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.guarantee-section .icon-star::after {
  right: 18px;
  bottom: 20px;
  width: 14px;
  height: 14px;
  border-right: 4px solid var(--orange);
  border-bottom: 4px solid var(--orange);
  transform: rotate(-28deg);
}

.guarantee-section .icon-team::before {
  top: 18px;
  left: 31px;
  width: 24px;
  height: 24px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team::after {
  top: 45px;
  left: 23px;
  width: 40px;
  height: 25px;
  border: 4px solid var(--orange);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}

.guarantee-section .icon-team i,
.guarantee-section .icon-team b {
  top: 29px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team i {
  left: 15px;
}

.guarantee-section .icon-team b {
  right: 15px;
}

.guarantee-section .icon-team i::after,
.guarantee-section .icon-team b::after {
  top: 18px;
  width: 25px;
  height: 18px;
  border: 4px solid var(--orange);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
}

.guarantee-section .icon-team i::after {
  left: -10px;
}

.guarantee-section .icon-team b::after {
  right: -10px;
}

.guarantee-section .guarantee-icon::before,
.guarantee-section .guarantee-icon::after,
.guarantee-section .guarantee-icon i,
.guarantee-section .guarantee-icon i::before,
.guarantee-section .guarantee-icon i::after,
.guarantee-section .guarantee-icon b,
.guarantee-section .guarantee-icon b::before,
.guarantee-section .guarantee-icon b::after {
  content: "";
  position: absolute;
  display: none;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  clip-path: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transform: none;
}

.guarantee-section .icon-diamond i {
  display: block;
  top: 25px;
  left: 25px;
  width: 36px;
  height: 36px;
  border: 4px solid var(--orange);
  border-radius: 7px;
  transform: rotate(45deg);
}

.guarantee-section .icon-value::before {
  display: block;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.guarantee-section .icon-value i {
  display: block;
  top: 41px;
  left: 30px;
  width: 28px;
  height: 4px;
  border-radius: 99px;
  background: var(--orange);
  transform: rotate(-55deg);
}

.guarantee-section .icon-value i::before,
.guarantee-section .icon-value i::after {
  display: block;
  width: 8px;
  height: 8px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: #ffffff;
}

.guarantee-section .icon-value i::before {
  top: -11px;
  left: -4px;
}

.guarantee-section .icon-value i::after {
  right: -5px;
  bottom: -11px;
}

.guarantee-section .icon-star::before {
  display: block;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border: 4px solid var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.guarantee-section .icon-star i {
  display: block;
  top: 26px;
  left: 26px;
  width: 34px;
  height: 34px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.guarantee-section .icon-star i::after {
  display: block;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.guarantee-section .icon-team::before {
  display: block;
  top: 18px;
  left: 32px;
  width: 22px;
  height: 22px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team::after {
  display: block;
  top: 43px;
  left: 23px;
  width: 40px;
  height: 25px;
  border: 4px solid var(--orange);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}

.guarantee-section .icon-team i,
.guarantee-section .icon-team b {
  display: block;
  top: 31px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--orange);
  border-radius: 50%;
}

.guarantee-section .icon-team i {
  left: 16px;
}

.guarantee-section .icon-team b {
  right: 16px;
}

.pricing .section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.pricing .section-head h2 {
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.08;
}

.pricing-spec {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid #ffd6be;
  border-radius: 999px;
  color: #884217;
  background: rgba(255, 242, 231, 0.72);
  font-size: 18px;
  font-weight: 900;
}

.pricing-spec i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange-2));
}

.pricing .section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .pricing .section-head h2 {
    font-size: 34px;
  }

  .pricing-spec {
    gap: 10px;
    padding: 9px 14px;
    font-size: 15px;
  }
}

.site-header {
  top: 0;
  left: 0;
  right: 0;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  width: 100%;
  min-height: 76px;
  padding: 0 max(5vw, 24px);
  border: 0;
  border-bottom: 1px solid rgba(16, 23, 34, 0.08);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(16, 23, 34, 0.08);
  backdrop-filter: blur(18px);
  transform: none;
}

.brand {
  min-width: 0;
}

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

.brand small {
  color: rgba(16, 23, 34, 0.58);
}

.main-nav a {
  color: rgba(16, 23, 34, 0.68);
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(255, 106, 42, 0.08);
}

.menu-toggle {
  border-color: rgba(16, 23, 34, 0.12);
  background: rgba(16, 23, 34, 0.04);
}

.menu-toggle span {
  background: var(--ink);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-height: 70px;
    padding: 0 18px;
  }

  .menu-toggle {
    justify-self: end;
  }

  .main-nav {
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(16, 23, 34, 0.08);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 40px rgba(16, 23, 34, 0.1);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 0;
    width: 100%;
    min-height: 66px;
    border-radius: 0;
  }
}

/* A light transition keeps the custom section distinct without a hard dark break. */
.custom-section {
  padding-top: 92px;
  padding-bottom: 104px;
  color: var(--ink);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.99) 0%, rgba(247, 249, 252, 0.93) 48%, rgba(247, 249, 252, 0.97) 100%),
    url("https://cdn.meimengai.cn/uploads/website/meimeng-portal-20260826/assets/hero-workspace.png") 70% center / cover no-repeat;
}

.custom-section::before {
  background:
    repeating-linear-gradient(120deg, rgba(16, 23, 34, 0.018) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 20%, transparent 82%, rgba(255, 255, 255, 0.68));
}

.custom-inner {
  width: min(1320px, 92vw);
  gap: 42px;
}

.custom-copy {
  max-width: 780px;
}

.custom-copy h2 {
  color: var(--ink);
  text-shadow: none;
}

.custom-copy p:not(.eyebrow) {
  color: var(--muted);
}

.custom-feature-grid {
  gap: 20px;
}

.custom-feature-grid article {
  min-height: 216px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(214, 222, 233, 0.92);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(16, 23, 34, 0.09);
  backdrop-filter: blur(12px);
}

.custom-feature-grid article::before {
  top: 0;
  left: 28px;
  width: 48px;
  height: 3px;
}

.custom-feature-grid article::after {
  display: none;
}

.custom-feature-grid h3 {
  margin-top: 22px;
  color: var(--ink);
}

.custom-feature-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  .custom-section {
    padding-top: 68px;
    padding-bottom: 72px;
    background:
      linear-gradient(rgba(247, 249, 252, 0.96), rgba(247, 249, 252, 0.98)),
      url("https://cdn.meimengai.cn/uploads/website/meimeng-portal-20260826/assets/hero-workspace.png") center / cover no-repeat;
  }

  .custom-inner {
    width: 100%;
    gap: 30px;
  }

  .custom-feature-grid article {
    min-height: auto;
    padding: 26px 24px 24px;
  }
}

/* Service categories and custom benefits now read as one continuous flow. */
.service-custom-flow {
  position: relative;
  display: flow-root;
  background: linear-gradient(180deg, #f4f7fa 0%, #f8fafc 58%, #ffffff 100%);
}

.service-custom-flow .service-strip {
  box-shadow: 0 22px 58px rgba(16, 23, 34, 0.11);
}

.service-custom-flow .custom-section {
  padding-top: 58px;
  padding-bottom: 94px;
  border: 0;
  background: transparent;
}

.service-custom-flow .custom-section::before {
  content: none;
  display: none;
}

.service-custom-flow .custom-inner {
  gap: 34px;
}

.service-custom-flow .custom-feature-grid {
  gap: 18px;
}

.service-custom-flow .custom-feature-grid article {
  min-height: 198px;
  padding: 26px 24px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(16, 23, 34, 0.075);
}

.service-custom-flow .custom-feature-grid article::before,
.service-custom-flow .custom-feature-grid article::after {
  content: none;
  display: none;
}

.service-custom-flow .custom-feature-grid .custom-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--orange);
  background: #fff1e8;
  box-shadow: none;
}

.service-custom-flow .custom-feature-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-custom-flow .custom-feature-grid h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.service-custom-flow .custom-feature-grid p {
  font-size: 14px;
  line-height: 1.72;
}

@media (max-width: 640px) {
  .service-custom-flow .custom-section {
    padding-top: 44px;
    padding-bottom: 68px;
  }

  .service-custom-flow .custom-inner {
    gap: 28px;
  }

  .service-custom-flow .custom-feature-grid article {
    min-height: auto;
  }
}

/* Refined full-width navigation. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(420px, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 78px;
  padding: 0 clamp(24px, 4vw, 72px);
  border: 0;
  border-bottom: 1px solid rgba(16, 23, 34, 0.09);
  border-radius: 0;
  color: var(--ink);
  background: rgba(249, 251, 253, 0.94);
  box-shadow: 0 8px 30px rgba(16, 23, 34, 0.08);
  backdrop-filter: blur(18px) saturate(135%);
  transform: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 72px);
  bottom: -1px;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.site-header .brand {
  gap: 11px;
  min-width: 0;
}

.site-header .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 23, 34, 0.1);
}

.site-header .brand strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.site-header .brand small {
  margin-top: 4px;
  color: rgba(16, 23, 34, 0.5);
  font-size: 11px;
  letter-spacing: 0;
}

.site-header .main-nav {
  position: static;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  gap: clamp(22px, 2.5vw, 42px);
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px 0 0;
  border-radius: 0;
  color: rgba(16, 23, 34, 0.66);
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.site-header .main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible {
  color: var(--ink);
  background: transparent;
}

.site-header .main-nav a:hover::after,
.site-header .main-nav a:focus-visible::after {
  width: 100%;
}

.site-header .nav-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange-2));
  box-shadow: 0 10px 24px rgba(255, 106, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header .nav-cta:hover,
.site-header .nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 106, 42, 0.23);
}

.site-header .menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(16, 23, 34, 0.12);
  border-radius: 8px;
  background: rgba(16, 23, 34, 0.035);
  box-shadow: none;
}

.site-header .menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 70px;
    padding: 0 18px;
  }

  .site-header::after {
    left: 18px;
    width: 56px;
  }

  .site-header .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
    padding: 8px 18px 14px;
    border-top: 1px solid rgba(16, 23, 34, 0.08);
    background: rgba(249, 251, 253, 0.98);
    box-shadow: 0 20px 34px rgba(16, 23, 34, 0.1);
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(16, 23, 34, 0.07);
  }

  .site-header .main-nav a:last-child {
    border-bottom: 0;
  }

  .site-header .main-nav a::after {
    content: none;
    display: none;
  }

  .site-header .nav-cta {
    display: none;
  }

  .site-header .menu-toggle {
    display: block;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .site-header .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .site-header .brand strong {
    font-size: 18px;
  }

  .site-header .brand small {
    display: none;
  }
}

/* Filtered results keep the original card footprint instead of stretching. */
.cases .work-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

@media (max-width: 1180px) {
  .cases .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cases .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cases .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Case hierarchy: strong content-type cards above lightweight industry chips. */
.cases .section-head {
  max-width: none;
  margin: 0 auto 18px;
  text-align: center;
}

.cases .section-head h2 {
  font-size: clamp(38px, 4.2vw, 52px);
}

.cases .case-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: min(680px, 100%);
  margin: 0 auto 22px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cases .case-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 9px;
  min-height: 132px;
  padding: 8px 14px 18px;
  overflow: visible;
  color: var(--ink);
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transition: transform 0.2s ease;
}

.cases .case-tab-icon {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cases .case-tab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.55) opacity(0.72);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cases .case-tab:hover,
.cases .case-tab:focus-visible {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: none;
}

.cases .case-tab:hover .case-tab-icon img,
.cases .case-tab:focus-visible .case-tab-icon img {
  filter: saturate(0.9) opacity(0.96);
}

.cases .case-tab-copy {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  gap: 3px;
  place-items: center;
  border-radius: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cases .case-tab-copy small {
  color: #8b95a4;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.cases .case-tab-copy strong {
  color: #545d6a;
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cases .case-tab.active {
  color: var(--ink);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.cases .case-tab.active .case-tab-copy strong {
  color: #7a3513;
  border-color: #ffd0b8;
  background: #fff0e6;
}

.cases .case-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 54px;
  height: 4px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.cases .case-tab.active .case-tab-icon img {
  transform: scale(1.12);
  filter: saturate(1.08) opacity(1) drop-shadow(0 11px 13px rgba(255, 106, 42, 0.28));
}

.cases .case-tab.active .case-tab-copy small {
  color: var(--orange);
}

.cases .case-tab.active .case-tab-copy {
  animation: case-tab-copy-in 0.24s ease both;
}

.cases .case-card:not([hidden]) {
  animation: case-card-in 0.3s ease both;
}

@keyframes case-tab-copy-in {
  from {
    opacity: 0.55;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes case-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cases .case-filter-row {
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: stretch;
  align-items: start;
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.cases .industry-filters {
  justify-content: flex-start;
}

.cases .case-filter-row > strong {
  display: flex;
  align-items: center;
  min-height: 38px;
}

@media (max-width: 640px) {
  .cases .case-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 4px;
    overflow-x: auto;
  }

  .cases .section-head {
    margin-bottom: 14px;
  }

  .cases .case-tab {
    flex: 0 0 132px;
    min-height: 116px;
    padding: 8px 8px 16px;
    gap: 6px;
  }

  .cases .case-tab-icon {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .cases .case-tab-copy strong {
    font-size: 15px;
  }

  .cases .case-tab.active::after {
    left: 50%;
    bottom: 2px;
  }

  .cases .case-filter-row {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .cases .industry-filters {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases .case-tab,
  .cases .case-tab-icon img,
  .cases .case-tab-copy strong {
    transition: none;
  }

  .cases .case-tab.active .case-tab-copy,
  .cases .case-card:not([hidden]) {
    animation: none;
  }
}

/* Two-stage case preview: suite modal followed by a scrollable long-image viewer. */
body.case-preview-open {
  overflow: hidden;
}

.cases .case-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cases .case-card:hover,
.cases .case-card:focus-visible {
  border-color: rgba(255, 106, 42, 0.42);
  box-shadow: 0 22px 48px rgba(16, 23, 34, 0.13);
  transform: translateY(-4px);
  outline: none;
}

.cases .case-card::after {
  content: "查看整套案例";
  position: absolute;
  top: 150px;
  left: 50%;
  z-index: 3;
  padding: 8px 13px;
  border-radius: 6px;
  color: #fff;
  background: rgba(16, 23, 34, 0.82);
  box-shadow: 0 10px 24px rgba(16, 23, 34, 0.2);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.cases .case-card:hover::after,
.cases .case-card:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.case-suite-modal[hidden],
.case-viewer[hidden] {
  display: none;
}

.case-suite-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(11, 18, 30, 0.72);
  backdrop-filter: blur(9px);
  cursor: default;
}

.case-suite-dialog {
  position: relative;
  z-index: 1;
  width: min(1480px, 96vw);
  max-height: min(900px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: #f8f9fc;
  box-shadow: 0 34px 100px rgba(6, 11, 20, 0.34);
}

.case-suite-header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 18px 72px 18px 28px;
  border-bottom: 1px solid #e3e8f0;
  background: rgba(255, 255, 255, 0.94);
}

.case-suite-kicker {
  margin: 0 0 2px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
}

.case-suite-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.case-suite-count {
  align-self: center;
  padding: 6px 10px;
  border-radius: 6px;
  color: #8b421f;
  background: #fff0e6;
  font-size: 12px;
  font-weight: 800;
}

.case-modal-close,
.case-viewer-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #596477;
  background: transparent;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
}

.case-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
}

.case-modal-close:hover,
.case-modal-close:focus-visible {
  color: var(--ink);
  background: #eef1f5;
}

.case-suite-body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  max-height: calc(min(900px, 92vh) - 82px);
  padding: 24px 26px 28px;
  overflow-y: auto;
}

.case-suite-info {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 22px 20px;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #fff;
}

.case-suite-cover {
  margin: -8px -6px 18px;
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #f7f8fb;
}

.case-suite-source-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f8fa;
}

.case-suite-cover .case-preview-art {
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-suite-cover .case-preview-copy {
  display: none;
}

.case-suite-type {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  color: #8b421f;
  background: #fff0e6;
  font-size: 12px;
  font-weight: 900;
}

.case-suite-info h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.case-suite-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.case-suite-info dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.case-suite-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
  font-size: 12px;
}

.case-suite-info dt {
  color: #8a94a4;
}

.case-suite-info dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.case-long-preview {
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.case-long-preview:hover,
.case-long-preview:focus-visible {
  background: var(--orange);
}

.case-suite-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.case-preview-card,
.case-viewer-thumb {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.case-preview-card p {
  margin: 8px 2px 0;
  color: #576274;
  font-size: 12px;
  line-height: 1.45;
}

.case-preview-card p strong {
  margin-right: 4px;
  color: var(--orange);
}

.case-preview-art {
  --case-accent: #ff7a38;
  --case-soft: #ffe8d9;
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(16, 23, 34, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.7)),
    var(--case-soft);
  box-shadow: 0 12px 28px rgba(16, 23, 34, 0.08);
  isolation: isolate;
}

.case-preview-art::before {
  content: "";
  position: absolute;
  top: 13%;
  left: 50%;
  z-index: -1;
  width: 38%;
  height: 48%;
  border: 10px solid var(--case-accent);
  border-radius: 44% 44% 28% 28%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 22px 22px 0 color-mix(in srgb, var(--case-accent) 20%, transparent);
  transform: translateX(-50%);
}

.case-preview-art::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 7px;
  background: var(--case-accent);
}

.case-preview-art.has-image {
  display: block;
  padding: 0;
  background: #fff;
}

.case-preview-art.has-image::before,
.case-preview-art.has-image::after {
  display: none;
}

.case-preview-art.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-suite-modal[data-case-type="detail"] .case-preview-card {
  align-self: start;
}

.case-suite-modal[data-case-type="detail"] .case-preview-card .case-preview-art.has-image {
  aspect-ratio: auto;
  background: #f7f8fa;
}

.case-suite-modal[data-case-type="detail"] .case-preview-card .case-preview-art.has-image img {
  height: auto;
  object-fit: contain;
}

.case-viewer-sheet .case-preview-art.has-image {
  aspect-ratio: auto;
}

.case-viewer-sheet .case-preview-art.has-image img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.case-preview-art.has-image .case-preview-copy,
.case-preview-art.has-image .case-preview-number {
  display: none;
}

.work-grid .case-card .case-card-cover.has-image {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f6f9;
}

.work-grid .case-card .case-card-cover.has-image::before,
.work-grid .case-card .case-card-cover.has-image::after {
  display: none;
}

.case-card-cover.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cases .case-card .case-card-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 26px;
  margin: 18px 24px 0;
  padding: 5px 10px 5px 9px;
  border: 1px solid rgba(255, 106, 42, 0.24);
  border-radius: 999px;
  color: #8f3e17;
  background: #fff5ee;
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  pointer-events: none;
}

.cases .case-card .case-card-category::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 0 0 3px rgba(255, 106, 42, 0.08);
}

.cases .case-card .case-card-category + h3 {
  margin-top: 10px;
}

.case-card[data-cover-shape="landscape"] .case-card-cover.has-image {
  aspect-ratio: 4 / 3;
}

.case-card[data-cover-shape="portrait"] .case-card-cover.has-image {
  aspect-ratio: 3 / 4;
}

.case-card[data-cover-shape="long"] .case-card-cover.has-image {
  aspect-ratio: 2 / 3;
}

.case-card[data-cover-shape="portrait"] .case-card-cover.has-image img,
.case-card[data-cover-shape="long"] .case-card-cover.has-image img,
.case-card[data-case-type="detail"] .case-card-cover.has-image img,
.case-card[data-case-type="video"] .case-card-cover.has-image img {
  object-fit: contain;
}

.case-preview-number {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--case-accent);
  font-size: 11px;
  font-weight: 950;
}

.case-preview-copy {
  position: relative;
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(16, 23, 34, 0.08);
}

.case-preview-copy b,
.case-preview-copy small {
  display: block;
}

.case-preview-copy b {
  font-size: 14px;
}

.case-preview-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.case-preview-card:hover .case-preview-art,
.case-preview-card:focus-visible .case-preview-art {
  border-color: color-mix(in srgb, var(--case-accent) 55%, white);
  box-shadow: 0 18px 38px rgba(16, 23, 34, 0.14);
  transform: translateY(-2px);
}

.case-preview-art[data-theme="fashion"] { --case-accent: #db6b72; --case-soft: #fff0f1; }
.case-preview-art[data-theme="beauty"] { --case-accent: #cc6590; --case-soft: #fff0f6; }
.case-preview-art[data-theme="food"] { --case-accent: #e85d42; --case-soft: #fff1d8; }
.case-preview-art[data-theme="home"] { --case-accent: #69917b; --case-soft: #edf7f0; }
.case-preview-art[data-theme="mother"] { --case-accent: #d58a56; --case-soft: #fff4e8; }
.case-preview-art[data-theme="digital"] { --case-accent: #475b82; --case-soft: #edf1f8; }
.case-preview-art[data-theme="daily"] { --case-accent: #d2a43f; --case-soft: #fff8dc; }
.case-preview-art[data-theme="care"] { --case-accent: #4b9d98; --case-soft: #eafffa; }
.case-preview-art[data-theme="auto"] { --case-accent: #2b8291; --case-soft: #e8f5f7; }
.case-preview-art[data-theme="video"] { --case-accent: #ff6a2a; --case-soft: #f0e9e5; }

.case-viewer {
  position: fixed;
  inset: 0;
  z-index: 400;
  color: #fff;
  background: rgba(18, 27, 44, 0.985);
}

.case-viewer-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 12px 78px 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 27, 44, 0.92);
}

.case-viewer-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-viewer-toolbar span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.case-viewer-toolbar strong {
  padding: 7px 11px;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}

.case-viewer-toolbar p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.case-viewer-close {
  position: absolute;
  top: 13px;
  right: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.case-viewer-close:hover,
.case-viewer-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.case-viewer-layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  height: 100%;
  padding-top: 68px;
}

.case-viewer-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px 24px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(9, 15, 26, 0.36);
}

.case-viewer-thumb {
  position: relative;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.58;
  cursor: pointer;
}

.case-viewer-thumb-index {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 4px;
  color: #fff;
  background: rgba(10, 17, 29, 0.8);
  font-size: 10px;
  font-weight: 900;
}

.case-viewer-thumb.active .case-viewer-thumb-index {
  color: var(--ink);
  background: var(--gold);
}

.case-viewer-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.case-viewer-thumb .case-preview-art {
  aspect-ratio: 4 / 5;
  padding: 5px;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.case-viewer-thumb .case-preview-copy,
.case-viewer-thumb .case-preview-number {
  display: none;
}

.case-viewer-scroll {
  height: 100%;
  padding: 20px max(24px, calc((100vw - 860px) / 2)) 80px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  contain: layout paint;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.case-viewer-sheet {
  width: min(720px, 100%);
  margin: 0 auto;
  contain: paint;
}

.case-viewer-sheet .case-preview-art {
  aspect-ratio: 4 / 5;
  padding: clamp(24px, 4vw, 48px);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.case-viewer-sheet .case-preview-art.has-image {
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-viewer-sheet .case-preview-art::before {
  top: 11%;
  width: 42%;
  height: 52%;
  border-width: 18px;
}

.case-viewer-sheet .case-preview-copy {
  padding: 20px 22px;
}

.case-viewer-sheet .case-preview-copy b {
  font-size: clamp(22px, 3vw, 34px);
}

.case-viewer-sheet .case-preview-copy small {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .case-suite-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) and (max-width: 1500px) {
  .case-suite-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .case-suite-modal {
    align-items: end;
    padding: 0;
  }

  .case-suite-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
  }

  .case-suite-header {
    min-height: 70px;
    padding: 14px 60px 14px 18px;
  }

  .case-suite-count {
    display: none;
  }

  .case-suite-body {
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: calc(92vh - 70px);
    padding: 16px;
  }

  .case-suite-info {
    position: static;
  }

  .case-suite-info dl,
  .case-suite-desc {
    display: none;
  }

  .case-suite-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .case-viewer-toolbar {
    min-height: 60px;
    padding-left: 14px;
  }

  .case-viewer-toolbar p {
    display: none;
  }

  .case-viewer-layout {
    grid-template-columns: 70px minmax(0, 1fr);
    padding-top: 60px;
  }

  .case-viewer-thumbs {
    padding: 10px 8px 18px;
  }

  .case-viewer-scroll {
    padding: 12px 12px 50px;
  }

  .case-viewer-sheet {
    margin-bottom: 0;
  }
}

/* Case cards: image-led portfolio treatment with a quieter information hierarchy. */
.cases .work-grid .case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 23, 34, 0.07);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.cases .work-grid .case-card[hidden] {
  display: none;
}

.cases .case-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  margin: 26px auto 0;
  padding: 0 18px;
  border: 1px solid #e0e5eb;
  border-radius: 999px;
  color: #6f7887;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(16, 23, 34, 0.05);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cases .case-load-more::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 42, 0.1);
}

.cases .case-load-more:hover,
.cases .case-load-more:focus-visible {
  color: var(--ink);
  border-color: rgba(255, 106, 42, 0.34);
  background: #fff;
}

.cases .case-load-more[hidden] {
  display: none;
}

.cases .work-grid .case-card:hover,
.cases .work-grid .case-card:focus-visible {
  border-color: rgba(255, 106, 42, 0.38);
  box-shadow: 0 20px 44px rgba(16, 23, 34, 0.12);
  transform: translateY(-5px);
}

.cases .work-grid .case-card .case-card-cover.has-image {
  border-bottom: 1px solid #edf0f4;
  background: #f5f6f8;
}

.cases .work-grid .case-card .case-card-cover.has-image img {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cases .work-grid .case-card:hover .case-card-cover.has-image img,
.cases .work-grid .case-card:focus-visible .case-card-cover.has-image img {
  transform: scale(1.025);
}

.cases .work-grid .case-card .case-card-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 20px;
  margin: 18px 20px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #a64c21;
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.cases .work-grid .case-card .case-card-category::before {
  flex: 0 0 18px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  box-shadow: none;
}

.cases .work-grid .case-card .case-card-category + h3,
.cases .work-grid .case-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 10px 20px 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cases .work-grid .case-card p {
  flex: 1 1 auto;
  min-height: 44px;
  margin: 7px 0 0;
  padding: 0 64px 20px 20px;
  color: #748093;
  font-size: 14px;
  line-height: 1.55;
}

.cases .work-grid .case-card::after {
  content: "\2197";
  top: auto;
  right: 18px;
  bottom: 18px;
  left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e3e7ed;
  border-radius: 50%;
  color: #4e5868;
  background: #f7f8fa;
  box-shadow: none;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
  opacity: 1;
  transform: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cases .work-grid .case-card:hover::after,
.cases .work-grid .case-card:focus-visible::after {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .cases .work-grid .case-card .case-card-category {
    margin: 15px 16px 0;
  }

  .cases .work-grid .case-card .case-card-category + h3,
  .cases .work-grid .case-card h3 {
    min-height: 46px;
    margin: 8px 16px 0;
    font-size: 17px;
  }

  .cases .work-grid .case-card p {
    min-height: 40px;
    padding: 0 52px 16px 16px;
    font-size: 13px;
  }

  .cases .work-grid .case-card::after {
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cases .work-grid .case-card,
  .cases .work-grid .case-card .case-card-cover.has-image img,
  .cases .work-grid .case-card::after {
    transition: none;
  }
}

/* Short-video cases use a focused before-and-after demo instead of industry cards. */
.video-replica-showcase {
  width: min(1240px, 100%);
  margin: 18px auto 0;
  padding: 30px 0 0;
}

.video-replica-showcase[hidden],
.cases .case-filter-row[hidden],
.cases .work-grid[hidden] {
  display: none !important;
}

.video-replica-heading {
  position: relative;
  max-width: 820px;
  margin: 0 auto 28px;
  padding-bottom: 18px;
  text-align: center;
}

.video-replica-heading::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc45f, #ff6b2c);
  content: "";
  transform: translateX(-50%);
}

.video-replica-heading p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.video-replica-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.25;
}

.video-replica-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 198, 211, 0.78);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #111722;
  box-shadow: 0 22px 52px rgba(22, 31, 45, 0.14);
}

.video-replica-player {
  display: block;
  width: 100%;
  aspect-ratio: 257 / 72;
  object-fit: contain;
  cursor: pointer;
}

.video-replica-play {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: rgba(15, 20, 30, 0.7);
  backdrop-filter: blur(8px);
}

.video-replica-play {
  right: 16px;
  bottom: 14px;
  min-width: 62px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.video-replica-play:hover,
.video-replica-play:focus-visible {
  background: rgba(255, 102, 42, 0.92);
}

.video-replica-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 64px;
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(216, 222, 230, 0.92);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: #465164;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 34px rgba(22, 31, 45, 0.07);
  text-align: left;
}

.video-replica-kicker {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #ffc9ad;
  border-radius: 999px;
  color: #8f3915;
  background: #fff0e5;
  font-size: 12px;
  font-weight: 800;
}

.video-replica-prompt {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.video-replica-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(920px, 100%);
  margin: 0 auto 34px;
  padding: 0 14px;
  border-bottom: 1px solid #dfe4eb;
  background: transparent;
}

.video-replica-tab {
  position: relative;
  min-height: 50px;
  padding: 11px 12px 14px;
  border: 0;
  color: #697386;
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.video-replica-tab::after {
  position: absolute;
  right: 22%;
  bottom: -2px;
  left: 22%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc45f, #ff6b2c);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-replica-tab:hover,
.video-replica-tab:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.video-replica-tab.active {
  color: #9a4219;
  background: linear-gradient(180deg, rgba(255, 245, 237, 0), rgba(255, 238, 226, 0.82));
}

.video-replica-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 760px) {
  .video-replica-showcase {
    margin-top: 12px;
    padding: 14px 0 0;
  }

  .video-replica-heading {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .video-replica-heading h3 {
    font-size: 26px;
  }

  .video-replica-play {
    right: 10px;
    bottom: 9px;
  }

  .video-replica-copy {
    display: grid;
    justify-items: start;
    gap: 8px;
    min-height: auto;
    padding: 12px 14px 14px;
  }

  .video-replica-prompt {
    font-size: 14px;
  }

  .video-replica-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 0;
    margin-bottom: 24px;
    padding: 0 4px 6px;
  }

  .video-replica-tab {
    min-height: 44px;
    padding: 9px 6px 11px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-replica-tab {
    transition: none;
  }
}

/* Disabled hero experiments: preserve the established centered hero design. */
@media (max-width: 0px) {
/* Refined hero: one clear message, visible work samples, lighter supporting content. */
.hero {
  min-height: 720px;
  background: #101722;
}

.hero > img {
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.04) brightness(0.98);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 14, 23, 0.08) 0%, rgba(8, 14, 23, 0.03) 52%, rgba(8, 14, 23, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 14, 23, 0.95) 0%, rgba(8, 14, 23, 0.86) 32%, rgba(8, 14, 23, 0.46) 58%, rgba(8, 14, 23, 0.2) 100%);
}

.hero-inner {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 112px 0 132px;
  text-align: left;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: rgba(255, 196, 92, 0.94);
  font-size: 12px;
  font-weight: 900;
}

.hero .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd266, #ff7a32);
}

.hero h1 {
  display: flex;
  max-width: 820px;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.hero h1 .hero-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffc45c;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 900;
  text-shadow: none;
}

.hero h1 .hero-brand-name::after {
  width: 62px;
  height: 1px;
  margin: 0;
  background: rgba(255, 196, 92, 0.58);
}

.hero h1 .hero-title-copy {
  display: block;
  max-width: 800px;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(44px, 4.8vw, 70px);
  font-weight: 950;
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-title-copy em {
  color: #ffc34f;
}

.hero-lead {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.pain-cards {
  width: min(820px, 100%);
  margin-top: 36px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 16, 26, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(12px);
}

.pain-cards span {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding: 13px 18px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.pain-cards span:last-child {
  border-right: 0;
}

.pain-cards strong {
  color: #ffc45c;
  font-size: 19px;
  line-height: 1.1;
}

.pain-cards small {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.service-custom-flow .service-strip {
  width: min(1120px, 90vw);
  margin-top: -50px;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(16, 23, 34, 0.1);
}

.service-custom-flow .service-strip a {
  min-height: 112px;
  padding: 22px 24px;
}

.service-custom-flow .service-strip strong {
  margin-top: 10px;
  font-size: 20px;
}

@media (max-width: 1060px) {
  .hero,
  .hero-inner {
    min-height: 700px;
  }

  .hero > img {
    object-position: 64% center;
  }

  .hero-inner {
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 14, 23, 0.12) 0%, rgba(8, 14, 23, 0.16) 54%, rgba(8, 14, 23, 0.78) 100%),
      linear-gradient(90deg, rgba(8, 14, 23, 0.95) 0%, rgba(8, 14, 23, 0.84) 48%, rgba(8, 14, 23, 0.4) 100%);
  }

  .service-custom-flow .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-custom-flow .service-strip a {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-custom-flow .service-strip a:nth-child(2n) {
    border-right: 0;
  }

  .service-custom-flow .service-strip a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .hero h1 .hero-title-copy {
    max-width: 650px;
    font-size: clamp(38px, 7vw, 54px);
  }

  .pain-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pain-cards span:nth-child(2n) {
    border-right: 0;
  }

  .pain-cards span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero > img {
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 14, 23, 0.42) 0%, rgba(8, 14, 23, 0.58) 56%, rgba(8, 14, 23, 0.9) 100%),
      linear-gradient(90deg, rgba(8, 14, 23, 0.88), rgba(8, 14, 23, 0.5));
  }

  .hero-inner {
    align-items: flex-start;
    justify-content: center;
    padding: 96px 0 92px;
    text-align: left;
  }

  .hero .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    align-items: flex-start;
  }

  .hero h1 .hero-brand-name {
    font-size: 23px;
  }

  .hero h1 .hero-brand-name::after {
    width: 42px;
  }

  .hero h1 .hero-title-copy {
    margin-top: 14px;
    font-size: 35px;
    line-height: 1.14;
    text-align: left;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .pain-cards {
    margin-top: 28px;
  }

  .pain-cards span {
    min-height: 74px;
    padding: 11px 12px;
  }

  .pain-cards strong {
    font-size: 17px;
  }

  .pain-cards small {
    font-size: 11px;
  }

  .service-custom-flow .service-strip {
    width: calc(100% - 24px);
    margin-top: -34px;
  }

  .service-custom-flow .service-strip a {
    min-height: 102px;
    padding: 18px 16px;
  }

  .service-custom-flow .service-strip strong {
    font-size: 17px;
  }

  .service-custom-flow .service-strip small {
    font-size: 12px;
  }
}

/* Alternative centered hero composition. */
.hero {
  min-height: 740px;
}

.hero > img {
  object-position: center;
  filter: saturate(0.96) contrast(1.03) brightness(0.98);
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 50% 34%, rgba(7, 12, 20, 0.4) 0%, rgba(7, 12, 20, 0.46) 48%, rgba(7, 12, 20, 0.64) 100%),
    linear-gradient(180deg, rgba(8, 14, 23, 0.12) 0%, rgba(8, 14, 23, 0.26) 48%, rgba(8, 14, 23, 0.88) 100%);
}

.hero-inner {
  min-height: 740px;
  align-items: center;
  justify-content: center;
  padding: 106px 0 136px;
  text-align: center;
}

.hero .eyebrow {
  display: none;
}

.hero h1 {
  max-width: 1020px;
  align-items: center;
}

.hero h1 .hero-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffc45c;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.hero h1 .hero-brand-name::before,
.hero h1 .hero-brand-name::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 0;
  background: rgba(255, 196, 92, 0.62);
}

.hero h1 .hero-title-copy {
  max-width: 980px;
  margin-top: 22px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
}

.hero-lead {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.pain-cards {
  width: min(900px, 100%);
  margin-top: 38px;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.pain-cards span {
  min-height: 66px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.pain-cards strong {
  position: relative;
  font-size: 19px;
}

.pain-cards strong::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ffc45c;
  box-shadow: 0 0 12px rgba(255, 196, 92, 0.52);
  vertical-align: 4px;
}

.pain-cards small {
  max-width: 120px;
  font-size: 11px;
  text-align: left;
}

@media (max-width: 1060px) {
  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero > img {
    object-position: center;
  }

  .hero-overlay {
    background:
      radial-gradient(ellipse at 50% 32%, rgba(7, 12, 20, 0.3) 0%, rgba(7, 12, 20, 0.48) 58%, rgba(7, 12, 20, 0.7) 100%),
      linear-gradient(180deg, rgba(8, 14, 23, 0.18) 0%, rgba(8, 14, 23, 0.32) 52%, rgba(8, 14, 23, 0.9) 100%);
  }

  .hero-inner {
    padding: 104px 0 126px;
  }
}

@media (max-width: 820px) {
  .hero h1 .hero-title-copy {
    max-width: 700px;
    font-size: clamp(38px, 7vw, 54px);
  }

  .pain-cards span {
    flex-direction: column;
    gap: 5px;
  }

  .pain-cards small {
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-inner {
    min-height: 700px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-inner {
    align-items: center;
    padding: 96px 0 96px;
    text-align: center;
  }

  .hero h1 {
    align-items: center;
  }

  .hero h1 .hero-brand-name {
    font-size: 22px;
  }

  .hero h1 .hero-brand-name::before,
  .hero h1 .hero-brand-name::after {
    width: 24px;
  }

  .hero h1 .hero-title-copy {
    margin-top: 16px;
    font-size: 34px;
    line-height: 1.14;
    text-align: center;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    justify-content: center;
  }

  .pain-cards {
    margin-top: 30px;
  }

  .pain-cards span {
    min-height: 70px;
  }
}

}

/* Contact QR dialog */
body.contact-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 18px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 13, 22, 0.76);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(5px);
  transition: opacity 0.22s ease;
}

.contact-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  border-radius: 10px;
  outline: none;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.42));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact-modal-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border-radius: 10px;
  object-fit: contain;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 13, 20, 0.76);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  background: #111722;
  outline: 3px solid rgba(255, 213, 106, 0.55);
  transform: rotate(4deg) scale(1.05);
}

.contact-modal.is-open .contact-modal-backdrop,
.contact-modal.is-open .contact-modal-card {
  opacity: 1;
}

.contact-modal.is-open .contact-modal-card {
  transform: translateY(0) scale(1);
}

@media (max-width: 520px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-modal-card,
  .contact-modal-card img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .contact-modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}

/* Consistent interactive feedback across primary actions and filters. */
.nav-cta,
.btn,
.industry-filter,
.cases .case-tab,
.cases .case-load-more,
.case-long-preview,
.video-replica-tab,
.site-header .menu-toggle {
  -webkit-tap-highlight-color: transparent;
}

.nav-cta:focus-visible,
.btn:focus-visible,
.industry-filter:focus-visible,
.cases .case-tab:focus-visible,
.cases .case-load-more:focus-visible,
.case-long-preview:focus-visible,
.video-replica-tab:focus-visible,
.site-header .menu-toggle:focus-visible {
  outline: 3px solid rgba(255, 139, 59, 0.42);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover,
  .btn.primary:hover {
    color: #ffffff;
    border-color: #151d2b;
    background: #151d2b;
    box-shadow: 0 18px 38px rgba(16, 23, 34, 0.3);
    transform: translateY(-4px);
  }

  .site-header .nav-cta:hover {
    box-shadow: 0 14px 30px rgba(16, 23, 34, 0.28);
    transform: translateY(-3px);
  }

  .btn.ghost:hover {
    color: #111927;
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
  }

  .btn.subtle:hover {
    color: #ffffff;
    border-color: #ff6a2a;
    background: #ff6a2a;
    box-shadow: 0 16px 32px rgba(255, 106, 42, 0.26);
    transform: translateY(-4px);
  }

  .nav-cta:hover::before,
  .btn:hover::before {
    left: 125%;
  }

  .industry-filter:hover {
    color: #9a4219;
    border-color: #ffb88e;
    background: #fff9f5;
    box-shadow: 0 8px 18px rgba(255, 106, 42, 0.11);
    transform: translateY(-2px);
  }

  .industry-filter.active:hover {
    color: #6f2c10;
    border-color: #ff9b68;
    background: #ffe8d9;
    box-shadow: 0 8px 20px rgba(255, 106, 42, 0.16);
  }

  .cases .case-tab:not(.active):hover {
    transform: translateY(-5px);
  }

  .cases .case-tab:not(.active):hover .case-tab-copy strong {
    color: #9a4219;
    border-color: rgba(255, 166, 111, 0.68);
    background: rgba(255, 247, 241, 0.88);
  }

  .cases .case-load-more:hover {
    border-color: #ffb68b;
    box-shadow: 0 12px 24px rgba(255, 106, 42, 0.12);
    transform: translateY(-2px);
  }

  .case-long-preview:hover {
    background: linear-gradient(135deg, #ff9a3d, #ff6a2a);
    box-shadow: 0 13px 26px rgba(255, 106, 42, 0.24);
    transform: translateY(-2px);
  }

  .video-replica-tab:not(.active):hover {
    color: #9a4219;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 240, 229, 0.72));
    transform: translateY(-2px);
  }

  .video-replica-tab:not(.active):hover::after {
    opacity: 0.5;
    transform: scaleX(0.72);
  }

  .site-header .menu-toggle:hover {
    border-color: rgba(255, 106, 42, 0.34);
    background: #fff4ed;
    box-shadow: 0 8px 18px rgba(255, 106, 42, 0.1);
  }
}

.nav-cta:active,
.btn:active,
.industry-filter:active,
.cases .case-tab:active,
.cases .case-load-more:active,
.case-long-preview:active,
.video-replica-tab:active,
.site-header .menu-toggle:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .float-actions,
  .float-actions::before,
  .float-actions::after,
  .floating-contact-preview img,
  .contact-modal-backdrop,
  .contact-modal-card,
  .contact-modal-close {
    animation: none;
    transition: none;
  }

  .nav-cta,
  .nav-cta::before,
  .btn,
  .btn::before,
  .industry-filter,
  .cases .case-tab,
  .cases .case-load-more,
  .case-long-preview,
  .video-replica-tab,
  .site-header .menu-toggle {
    transition: none;
  }
}
