:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #192d36;
  --muted: #4c5d62;
  --accent: #285663;
  --line: #d4dcd8;
  --display: "Songti SC", "Noto Serif CJK SC", STSong, SimSun, serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
  --header-height: 4.75rem;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-block-start: calc(var(--header-height) + 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { font-family: var(--display); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.23; letter-spacing: .015em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.frame {
  max-width: 91rem;
  width: calc(100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: .5rem auto auto .75rem;
  padding: .5rem .75rem;
  color: white;
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  line-height: 1.08;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, .5rem);
  grid-template-rows: repeat(2, .5rem);
  gap: .14rem;
  transform: rotate(-45deg);
  margin-inline: .18rem .1rem;
}

.brand-mark i { background: var(--accent); border-radius: 1px; }
.brand-mark i:nth-child(2) { background: #557a82; }
.brand-mark i:nth-child(3) { background: #a0b6b7; }
.brand-mark i:nth-child(4) { background: #335e6a; }
.brand-name { font-family: Georgia, serif; font-size: 1.11rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.brand-name span { font-weight: 400; }
.section-nav { display: flex; align-self: stretch; gap: clamp(.3rem, 2.4vw, 2.2rem); }
.section-nav a, .header-contact { font-size: .91rem; text-decoration: none; white-space: nowrap; }
.section-nav a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding-inline: .25rem;
}

.section-nav a[aria-current] { color: var(--accent); font-weight: 650; }
.section-nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
}

.header-contact {
  justify-self: end;
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  padding: .25rem 1rem;
  border: 1px solid #a9b9b7;
  color: var(--accent);
}

.header-contact:hover { background: #e6eeeb; }

.hero {
  background: #eaf0ee;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: clamp(29rem, 48vw, 44rem);
}

.hero-copy {
  align-self: center;
  padding: 3rem clamp(1rem, 4vw, 4rem) 3rem 0;
}

.eyebrow {
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .18em;
}

.hero h1 {
  font-size: clamp(2.65rem, 5.7vw, 6rem);
  line-height: 1.19;
  margin-block: 1rem 1.3rem;
  letter-spacing: -.045em;
}

.hero h1 span { color: var(--accent); }
.hero-summary { max-width: 23em; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  width: fit-content;
  padding: .56rem 1.28rem;
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .025em;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease;
}

.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: #193f4b; }
.button-primary:focus-visible { outline-color: var(--accent); }
.button-outline { border-color: #9badac; color: var(--accent); }
.button-outline:hover { background: #e6eeeb; }
.hero .button { margin-top: 1.65rem; }

.hero-material {
  position: relative;
  margin-right: calc(-1 * max(var(--gutter), (100vw - 91rem) / 2));
  overflow: hidden;
  background: #3d5b70;
}

.hero-material img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 49% 52%; }
.hero-material::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, #102734b8); pointer-events: none; }
.hero-material figcaption {
  position: absolute;
  z-index: 1;
  bottom: clamp(1rem, 2.6vw, 2rem);
  left: clamp(1rem, 3vw, 2.5rem);
  color: #fff;
  font-size: .875rem;
}

.hero-material figcaption span { margin-left: .6em; font-size: .79rem; letter-spacing: .12em; }

.section { padding-block: clamp(3.4rem, 7vw, 7.5rem); }
.company { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(2.5rem, 8vw, 8rem); }
.company h2 { margin-block: .65rem 1rem; }
.company-copy > p:not(.eyebrow) { color: var(--muted); margin-block-start: .8rem; }
.text-link { font-size: .93rem; color: var(--accent); text-underline-offset: .33em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }
.company .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .95rem; }
.company-photo img { width: 100%; height: auto; aspect-ratio: 1.44; object-fit: cover; object-position: center 54%; background: #e1e5e1; }
.company-photo figcaption { margin-top: .48rem; color: var(--muted); font-size: .85rem; }

.credentials {
  display: grid;
  grid-template-columns: .66fr 1fr;
  align-items: start;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(3.4rem, 7vw, 7rem);
  padding: clamp(1.6rem, 4.2vw, 3.6rem);
  border-top: 2px solid #668a92;
  background: #edf2ef;
}

.credentials h2 { margin-top: .65rem; }
.credentials-copy p { max-width: 34em; color: var(--muted); }
.credentials .button { margin-top: 1rem; }

.process { background: #1c3541; color: #f5f7f3; }
.process .eyebrow { color: #b5d4d7; }
.process-intro { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.process h2 { margin-top: .65rem; }
.process p:not(.eyebrow) { color: #c8d8da; }
.process-intro p:not(.eyebrow) { max-width: 24em; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 2.8rem);
  margin: 2.35rem 0 0;
  padding: 0;
  list-style-position: inside;
}

.process-steps li { padding-block-start: 1.1rem; border-top: 1px solid #58717a; }
.process-steps li::marker { font-family: Georgia, serif; font-size: 1.15rem; color: #b5d4d7; }
.process-steps h3 { display: inline; margin-left: .3em; font-size: 1.18rem; }
.process-steps p { margin-top: .55rem; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.7rem; }
.section-heading h2 { margin-top: .65rem; }
.collection-link { flex: none; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card { display: block; border-bottom: 1px solid var(--line); text-decoration: none; }
.product-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #e5e9e5; }
.product-info { padding: .8rem 0 .95rem; }
.product-info p { color: var(--muted); font-size: .875rem; }
.product-info h3 { font-size: clamp(1.025rem, 1.65vw, 1.35rem); margin-top: .1rem; }
.product-card:hover h3 { text-decoration: underline; text-underline-offset: .25em; }

.contact { background: #e5ece9; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; padding-block: clamp(2.1rem, 5vw, 4.6rem); }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.contact p { margin-top: .45rem; color: var(--muted); }
.contact .button { flex: none; }
.site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 5.2rem; gap: 1rem; }
.site-footer .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 48rem) {
  :root { --header-height: 6.45rem; }
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: 3.65rem 2.8rem; column-gap: .7rem; row-gap: 0; }
  .brand-name { font-size: 1rem; }
  .header-contact { grid-column: 2; grid-row: 1; min-height: 2.75rem; border-color: transparent; padding-inline: .5rem; margin-right: -.5rem; }
  .section-nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: .2rem; border-top: 1px solid var(--line); }
  .section-nav a { padding: 0; }
  .hero-inner { display: block; width: 100%; }
  .hero-copy { padding: 2.05rem var(--gutter) 1.9rem; }
  .hero h1 { font-size: clamp(2.55rem, 8.8vw, 4.5rem); margin-block: .6rem .7rem; }
  .hero-summary { max-width: 24em; }
  .hero .button { margin-top: 1.05rem; }
  .hero-material { margin-right: 0; height: clamp(12.5rem, 56vw, 23rem); }
  .company { grid-template-columns: 1fr; gap: 1.35rem; }
  .company-photo img { aspect-ratio: 1.5; }
  .credentials { grid-template-columns: 1fr; gap: .8rem; }
  .process-intro { display: grid; gap: .7rem; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .section-heading { margin-bottom: 1.2rem; }
  .contact-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 24rem) {
  .section-heading .button { padding-inline: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
