:root {
  --ink: #163136;
  --muted: #5f7073;
  --line: #d6e3e1;
  --paper: #f4f9f8;
  --paper-2: #e6f0ee;
  --white: #fbfefd;
  --accent: #124A50;
  --accent-dark: #0E3B42;
  --green: #2E7C80;
  --shadow: 0 18px 50px rgba(14, 59, 66, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

p,
h1,
h2,
h3,
dl {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 216, 207, 0.74);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-dark);
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  padding: 8px 0;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.nav-cta:hover,
.button.primary:hover {
  background: #0A3137;
}

.button.secondary:hover {
  border-color: var(--accent);
}

.section-pad {
  padding: clamp(56px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 72px);
  background: linear-gradient(115deg, #fbfefd 0%, #f3f9f8 56%, #deefec 100%);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 32px;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.22;
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 34px;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid rgba(18, 74, 80, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.68);
}

.hero-facts dt {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-media picture,
.hero-media img,
.image-panel {
  border-radius: var(--radius);
}

.hero-media picture {
  display: block;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.proof-item {
  min-height: 132px;
  padding: clamp(22px, 3vw, 34px);
  background: #0E3B42;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: #fff;
  font-size: 1.14rem;
}

.proof-item span {
  margin-top: 8px;
  color: #cbe0de;
  font-size: 0.94rem;
}

.split,
.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split p:not(.eyebrow),
.quality-copy p,
.section-head p {
  max-width: 760px;
  color: var(--muted);
}

.process-grid,
.category-grid,
.silhouette-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

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

.process-grid article,
.category-grid article,
.silhouette-list article,
.sketch-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-grid article {
  padding: 18px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.process-grid p,
.category-grid p,
.silhouette-list p,
.sketch-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(36, 26, 15, 0.08);
}

.image-panel img {
  width: 100%;
  height: auto;
}

.image-panel figcaption {
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.products {
  background: var(--paper);
}

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

.section-head h2 + p {
  margin-top: 16px;
}

.product-layout,
.inspiration-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  max-width: 1680px;
  margin: 0 auto;
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  align-self: stretch;
  grid-auto-rows: 1fr;
}

.category-grid article,
.silhouette-list article {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
}

.inspiration {
  background: #fffdf8;
}

.silhouette-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  align-self: stretch;
  grid-auto-rows: 1fr;
}

.products .section-head,
.inspiration .section-head {
  max-width: 720px;
  margin-inline: 0;
}

.product-layout > .image-panel,
.inspiration-grid > .image-panel {
  width: 100%;
}

.product-layout > .image-panel img,
.inspiration-grid > .image-panel img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.compliance-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 74, 80, 0.20);
  border-radius: var(--radius);
  color: var(--muted);
  background: #f0f8f7;
}

.sketch-section {
  background:
    linear-gradient(rgba(244, 249, 248, 0.9), rgba(244, 249, 248, 0.9)),
    repeating-linear-gradient(0deg, rgba(23, 49, 54, 0.035), rgba(23, 49, 54, 0.035) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(23, 49, 54, 0.03), rgba(23, 49, 54, 0.03) 1px, transparent 1px, transparent 24px);
}

.sketch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.sketch-card {
  padding: clamp(16px, 2.5vw, 24px);
  background: #fcfffe;
  box-shadow: 0 12px 30px rgba(36, 26, 15, 0.06);
}

.sketch-card h3 {
  margin-top: 18px;
}

.sketch-canvas {
  position: relative;
  min-height: 360px;
  border: 1px solid #d6e3e1;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(18, 74, 80, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfffe, #f7f1e7);
}

.sketch-canvas svg {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.pencil path,
.guide-lines path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pencil path {
  stroke: #34312d;
  stroke-width: 2.4;
  opacity: 0.82;
}

.pencil.light path {
  stroke-width: 1.05;
  opacity: 0.32;
}

.guide-lines path {
  stroke: #7a9396;
  stroke-width: 0.75;
  opacity: 0.25;
  stroke-dasharray: 4 8;
}

.callout {
  position: absolute;
  z-index: 3;
  min-width: 118px;
  max-width: 156px;
  padding: 7px 10px;
  border: 1px solid rgba(14, 59, 66, 0.24);
  border-radius: 999px;
  color: #124A50;
  background: rgba(255, 253, 248, 0.94);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(36, 26, 15, 0.08);
}

.line {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: rgba(14, 59, 66, 0.42);
  transform-origin: left center;
}

.line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(14, 59, 66, 0.42);
  border-right: 1px solid rgba(14, 59, 66, 0.42);
  transform: rotate(45deg);
}

.sketch-a .c1,
.sketch-b .c1,
.sketch-c .c1,
.sketch-d .c1 {
  top: 18px;
  left: 20px;
}

.sketch-a .l1,
.sketch-b .l1,
.sketch-c .l1,
.sketch-d .l1 {
  top: 69px;
  left: 136px;
  width: 82px;
  transform: rotate(16deg);
}

.sketch-a .c2,
.sketch-b .c2,
.sketch-c .c2,
.sketch-d .c2 {
  top: 74px;
  right: 18px;
}

.sketch-a .l2,
.sketch-b .l2,
.sketch-c .l2,
.sketch-d .l2 {
  top: 118px;
  right: 144px;
  width: 90px;
  transform: rotate(166deg);
}

.sketch-a .c3,
.sketch-b .c3,
.sketch-c .c3,
.sketch-d .c3 {
  bottom: 82px;
  left: 18px;
}

.sketch-a .l3,
.sketch-b .l3,
.sketch-c .l3,
.sketch-d .l3 {
  bottom: 108px;
  left: 135px;
  width: 82px;
  transform: rotate(-16deg);
}

.sketch-a .c4,
.sketch-b .c4,
.sketch-c .c4,
.sketch-d .c4 {
  right: 18px;
  bottom: 28px;
}

.sketch-a .l4,
.sketch-b .l4,
.sketch-c .l4,
.sketch-d .l4 {
  right: 146px;
  bottom: 55px;
  width: 88px;
  transform: rotate(178deg);
}

.quality {
  background: #fffdf8;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #e5eadf;
}

.contact {
  background: #0E3B42;
}

.contact-box {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: #8bd0ca;
}

.contact h2 {
  margin-inline: auto;
  color: #fff;
}

.contact p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px auto 0;
  color: #cbe0de;
}

.contact-actions {
  justify-content: center;
}

.contact .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #cbe0de;
  background: #092B31;
  font-size: 0.92rem;
}

.footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .quality,
  .product-layout,
  .inspiration-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .proof-band,
  .sketch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hero-media {
    order: -1;
  }

  .hero-media picture,
  .hero-media img {
    border-radius: 0;
  }


  .brand small {
    display: none;
  }

  .nav-cta {
    padding-inline: 14px;
  }

  .hero-facts,
  .process-grid,
  .category-grid,
  .silhouette-list,
  .proof-band,
  .sketch-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .site-header .nav-cta {
    width: auto;
  }

  .sketch-canvas {
    min-height: 430px;
    padding-bottom: 98px;
  }

  .sketch-canvas svg {
    min-height: 330px;
  }

  .callout {
    min-width: 0;
    max-width: none;
    border-radius: 6px;
    font-size: 0.76rem;
  }

  .line {
    display: none;
  }

  .sketch-a .c1,
  .sketch-b .c1,
  .sketch-c .c1,
  .sketch-d .c1 {
    top: auto;
    bottom: 60px;
    left: 12px;
    right: auto;
  }

  .sketch-a .c2,
  .sketch-b .c2,
  .sketch-c .c2,
  .sketch-d .c2 {
    top: auto;
    right: 12px;
    bottom: 60px;
    left: auto;
  }

  .sketch-a .c3,
  .sketch-b .c3,
  .sketch-c .c3,
  .sketch-d .c3 {
    bottom: 18px;
    left: 12px;
    right: auto;
  }

  .sketch-a .c4,
  .sketch-b .c4,
  .sketch-c .c4,
  .sketch-d .c4 {
    right: 12px;
    bottom: 18px;
    left: auto;
  }

  .footer {
    flex-direction: column;
  }
}


/* Mobile hero-first placement and horizontal-scroll safeguards */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

main,
.site-header,
.hero,
.section-pad,
.proof-band,
.footer {
  max-width: 100%;
}

.hero > * {
  min-width: 0;
}

.hero-copy {
  order: 1;
}

.hero-media {
  order: 2;
}

@media (max-width: 980px) {
  .hero-copy {
    order: 2;
  }

  .hero-media {
    order: 1;
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    gap: 18px;
    padding-top: 18px;
  }
}


/* Refined mobile hero + overflow fix */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

.site-header,
main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.hero,
.split,
.quality,
.product-layout,
.inspiration-grid,
.proof-band,
.sketch-grid,
.hero-facts,
.process-grid,
.category-grid,
.silhouette-list,
.contact-box,
.footer {
  min-width: 0;
}

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    flex: 0 0 auto;
    padding: 10px 18px;
  }

  .hero.section-pad {
    gap: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 48px;
  }

  .hero-media {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .hero-media picture,
  .hero-media img {
    display: block;
    width: 100%;
    border-radius: 0;
  }

  .hero-copy {
    order: 2;
    min-width: 0;
    padding: 24px 18px 0;
  }

  h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .lead {
    font-size: 1rem;
  }
}


/* Mobile fixed header restored and reduced by 5px */
@media (max-width: 700px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 61px;
    min-height: 61px;
    padding: 8px 16px;
    gap: 12px;
    background: rgba(251, 254, 253, 0.96);
    backdrop-filter: blur(14px);
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .brand strong {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    min-height: 40px;
    padding: 8px 18px;
    flex: 0 0 auto;
  }

  main {
    padding-top: 61px;
  }
}

/* Thinner and more refined buttons */
.button, .nav-cta {
    padding: 6px 14px !important;        /* 上下缩薄，左右适中 */
    font-size: 0.88rem !important;       /* 字号稍微小一点，更精致 */
    min-height: 36px !important;         /* 高度缩小 */
    border-radius: 8px !important;       /* 保持圆角美感 */
    transition: all 0.2s ease-in-out;    /* 悬停过渡效果 */
}

.button.primary:hover, .nav-cta:hover {
    background: #0E3B42;                  /* 悬停颜色更深一点 */
    transform: translateY(-1px);          /* 轻微浮动感 */
}


/* Mobile tweak: compress MOQ / Samples / Service cards and harden horizontal-scroll fix */
@media (max-width: 700px) {
  html,
  body,
  .site-header,
  main,
  .hero,
  .hero-copy,
  .hero-facts,
  .style-gallery,
  .style-gallery-inner,
  .style-card-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .hero > *,
  .hero-copy > *,
  .hero-facts > div,
  .style-card,
  .style-card > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-facts {
    margin-top: 14px;
    gap: 6px;
  }

  .hero-facts div {
    padding: 6px 14px;
    border-radius: 6px;
  }

  .hero-facts dt {
    font-size: 0.76rem;
    line-height: 1;
  }

  .hero-facts dd {
    margin-top: 1px;
    font-size: 0.88rem;
    line-height: 1.06;
  }
}
