:root {
  --denim: #3E5878;
  --denim-deep: #2B3F59;
  --denim-patch: #344B69;
  --denim-light: #517096;
  --stitch: #E6D7A8;
  --stitch-soft: rgba(230, 215, 168, 0.72);
  --rivet: #C6A15B;
  --rivet-dark: #937133;
  --wash-tag: #F5EFE0;
  --ink: #1D2B3D;
  --footer: #182332;
  --max: 1200px;
  --pill: 999px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: #F4F0E4;
  background-color: var(--denim);
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 2px,
      rgba(0, 0, 0, 0.06) 2px,
      rgba(0, 0, 0, 0.06) 5px
    ),
    radial-gradient(circle at 50% 18%, rgba(81, 112, 150, 0.45), transparent 55%);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

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

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--stitch);
  color: var(--ink);
  padding: 8px 12px;
}

/* fixed 64px white semi-transparent top bar */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed var(--denim);
  color: var(--ink);
}

.nav {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--denim-deep);
  border: 1.5px solid var(--rivet);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { font-size: 14px; color: #3A4D66; }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--denim-deep);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost {
  font-size: 14px;
  color: var(--ink);
  padding: 8px 12px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--pill);
  background: var(--rivet);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-solid:hover { background: var(--stitch); }

.btn-solid.lg {
  min-height: 48px;
  padding: 0 30px;
  font-size: 16px;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1.5px solid var(--denim);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  justify-self: end;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.drawer {
  display: none;
  position: fixed;
  inset: 64px 0 auto;
  background: var(--denim-deep);
  border-bottom: 2px dashed var(--stitch);
  padding: 12px 24px 20px;
  z-index: 49;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(230, 215, 168, 0.3);
  color: var(--stitch);
  font-size: 15px;
}

/* Denim jacket close-up skeleton:
   Twill fabric #3E5878, stitching #E6D7A8, copper rivet #C6A15B.
   Neck label (领标): WorkBuddy官网,
   Main leather/woven patch (主标): WorkBuddy,
   Left chest pocket (左口袋): WorkBuddy下载,
   Right chest pocket (右口袋): WorkBuddy官网下载,
   Care/wash label (洗标): WorkBuddy网页版. */
.jacket-panel {
  position: relative;
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 28px 26px 38px;
  background-color: var(--denim-patch);
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(0, 0, 0, 0.07) 2px,
      rgba(0, 0, 0, 0.07) 5px
    );
  border: 2px dashed var(--stitch);
  outline: 6px solid var(--denim-deep);
  border-radius: 10px;
  box-shadow: 0 22px 48px rgba(15, 24, 36, 0.42);
}

/* Copper rivets at the 4 corners of the jacket yoke */
.rivet-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F2D694, var(--rivet) 60%, var(--rivet-dark));
  border: 1.5px solid #594119;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}
.rivet-dot.tl { top: 10px; left: 10px; }
.rivet-dot.tr { top: 10px; right: 10px; }
.rivet-dot.bl { bottom: 10px; left: 10px; }
.rivet-dot.br { bottom: 10px; right: 10px; }

/* Woven neck label (领标) */
.neck-label {
  display: inline-block;
  padding: 6px 22px;
  margin-bottom: 18px;
  background: var(--wash-tag);
  color: var(--ink);
  border: 2px dashed var(--rivet-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Main stitched patch (主标) */
.main-label-patch {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 28px 24px 30px;
  background: var(--denim-deep);
  border: 2px dashed var(--stitch);
  border-radius: 8px;
  position: relative;
}

/* Left & right chest pockets with flap and copper button */
.pocket-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.denim-pocket {
  position: relative;
  padding: 28px 18px 20px;
  background: var(--denim);
  border: 2px dashed var(--stitch);
  clip-path: polygon(0% 0%, 100% 0%, 100% 82%, 50% 100%, 0% 82%);
  color: var(--stitch);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}
/* Pocket flap & copper button */
.denim-pocket::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 16px;
  border-bottom: 2px dashed var(--stitch);
  background: var(--denim-deep);
}
.denim-pocket::after {
  content: "●";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  line-height: 14px;
  border-radius: 50%;
  background: var(--rivet);
  color: var(--ink);
  font-size: 8px;
}
.denim-pocket:hover {
  background: var(--denim-light);
  color: #fff;
}

/* White fabric care/wash tag sticking out at the bottom seam (洗标) */
.wash-care-tag {
  position: absolute;
  right: 32px;
  bottom: -18px;
  padding: 8px 16px;
  background: var(--wash-tag);
  color: var(--ink);
  border: 1px solid #C8BFA8;
  border-top: 3px dashed var(--stitch);
  font-family: "Courier New", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(2deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

/* hero */
.hero {
  padding: 140px 0 72px;
  text-align: center;
}

.hero-title {
  margin: 0 auto 14px;
  font-size: clamp(38px, 5.8vw, 66px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--stitch);
  text-shadow: 0 3px 0 var(--ink);
}

.hero-lead {
  margin: 0 auto 24px;
  max-width: 560px;
  color: rgba(244, 240, 228, 0.86);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-link {
  color: var(--stitch);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1.5px dashed var(--stitch);
}

.hero-shot-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 72%;
  height: 66%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(230, 215, 168, 0.25), transparent 68%);
  filter: none;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  background: var(--denim-deep);
  border: 2px dashed var(--stitch);
  box-shadow: 0 24px 54px rgba(15, 24, 36, 0.5);
}
.hero-shot img { width: 100%; border-radius: 10px; }

/* sections */
.section { padding: 96px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--denim-deep);
  border: 1.5px dashed var(--stitch);
  color: var(--stitch);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--stitch);
}

.section-sub {
  max-width: 400px;
  margin: 0;
  color: rgba(244, 240, 228, 0.8);
  font-size: 15px;
}

.center-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.center-copy p { color: rgba(244, 240, 228, 0.8); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border-radius: var(--pill);
  background: var(--denim-deep);
  border: 1.5px dashed var(--stitch);
  width: fit-content;
  margin-bottom: 18px;
}

.tab {
  border-radius: var(--pill);
  padding: 9px 18px;
  font-size: 14px;
  color: var(--stitch);
}
.tab.is-on {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 800;
}

.scenario-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 410px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--denim-deep);
  border: 2px dashed var(--stitch);
}

.scenario-text {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-right: 2px dashed rgba(230, 215, 168, 0.35);
}
.scenario-text h3 {
  margin: 0;
  font-size: 24px;
  color: var(--stitch);
}
.scenario-text p {
  margin: 0;
  color: rgba(244, 240, 228, 0.86);
  font-size: 14px;
}

.scenario-visual {
  background: var(--denim-patch);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.scenario-visual img {
  width: 100%;
  border-radius: 10px;
}

.pane { display: none; }
.pane.is-on { display: contents; }

/* cooperation: light gray full band */
.eco {
  background: #E9ECEF;
  color: var(--ink);
  border-top: 2px dashed var(--denim);
  border-bottom: 2px dashed var(--denim);
}
.eco .section-title { color: var(--ink); }
.eco .center-copy p { color: #3A4D66; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.logo-chip {
  min-width: 118px;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--denim);
  border: 2px dashed var(--stitch);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--stitch);
}

/* trust: light rounded band + 3 white cards */
.trust-band {
  background: var(--wash-tag);
  color: var(--ink);
  border: 2px dashed var(--denim);
  border-radius: 20px;
  padding: 46px 36px;
}
.trust-band .section-title { color: var(--ink); }
.trust-band .section-sub { color: #3A4D66; }

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

.trust-card {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 14px;
  padding: 28px;
  border: 1.5px dashed var(--denim);
}
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}
.trust-card p {
  margin: 0;
  color: #3A4D66;
  font-size: 14px;
}

/* download */
.dl-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 32px;
}

.dl-group-label {
  display: block;
  margin-bottom: 14px;
  color: var(--stitch);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.dl-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dl-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 10px;
  background: var(--denim-deep);
  border: 1.5px dashed var(--stitch);
  position: relative;
}

.dl-ico {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--rivet);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.dl-tile strong {
  display: block;
  font-size: 14px;
  color: var(--stitch);
}
.dl-tile span {
  font-size: 12px;
  color: rgba(244, 240, 228, 0.78);
}

.badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--rivet);
  color: var(--ink);
  font-weight: 800;
}

/* subpages */
.page-hero {
  padding: 124px 0 48px;
  text-align: center;
}

.page-body { padding: 48px 0 88px; }

.article {
  max-width: 760px;
  background: var(--denim-deep);
  border: 2px dashed var(--stitch);
  border-radius: 14px;
  padding: 36px;
}
.article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  color: var(--stitch);
}
.article h2:first-child { margin-top: 0; }
.article p { color: rgba(244, 240, 228, 0.88); margin: 0 0 12px; }
.article ul { color: rgba(244, 240, 228, 0.88); padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article a { color: var(--stitch); font-weight: 700; border-bottom: 1px dashed var(--stitch); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.help-card {
  padding: 24px;
  border-radius: 12px;
  background: var(--denim-deep);
  border: 1.5px dashed var(--stitch);
}
.help-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--stitch);
}
.help-card p {
  margin: 0;
  color: rgba(244, 240, 228, 0.86);
  font-size: 14px;
}

.entry-box {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 14px;
  background: var(--denim-deep);
  border: 2px dashed var(--stitch);
  text-align: center;
}
.entry-box p { color: rgba(244, 240, 228, 0.84); margin: 0 0 18px; }
.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1.5px dashed var(--stitch);
  color: var(--stitch);
  font-size: 14px;
  font-weight: 700;
}

/* footer */
.footer {
  background: var(--footer);
  color: rgba(230, 215, 168, 0.75);
  padding: 56px 0 0;
  border-top: 2px dashed var(--stitch);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px dashed rgba(230, 215, 168, 0.25);
}

.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--stitch); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(230, 215, 168, 0.68);
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--stitch);
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(230, 215, 168, 0.68);
  margin-bottom: 9px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(230, 215, 168, 0.52);
}

.footer-wordmark {
  text-align: center;
  padding: 20px 0 36px;
  font-size: clamp(44px, 9.5vw, 112px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(230, 215, 168, 0.08);
  line-height: 1;
  user-select: none;
}

@media (max-width: 968px) {
  .nav-links,
  .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { grid-template-columns: 1fr auto; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .scenario-card,
  .trust-grid,
  .dl-groups,
  .help-grid { grid-template-columns: 1fr; }
  .scenario-text { border-right: 0; border-bottom: 2px dashed rgba(230, 215, 168, 0.35); }
  .footer-top,
  .footer-bottom { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 28px; }
  .container { width: min(100% - 32px, var(--max)); }
  .wash-care-tag { position: static; display: inline-block; margin-top: 16px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 16px, var(--max)); }
  .dl-tiles,
  .pocket-row { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .section { padding: 72px 0; }
  .trust-band { padding: 28px 18px; }
  .article { padding: 24px 18px; }
}

/* runtime paint budget — keep the look, drop expensive filters */
.hero-glow {
  filter: none;
  contain: paint;
  pointer-events: none;
}
.header {
  -webkit-backdrop-filter: blur(8px);
  contain: layout style;
}
.section,
.eco,
.page-body {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 640px) {
  .header,
  .drawer,
  .hero-shot,
  .jelly-cube,
  .refraction-seam {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
