/* CARDINAL SURFBOARDS CHINA
   Mobile-first, self-hosted, no external dependency. */

@font-face {
  font-family: "Cardinal Display";
  src: url("fonts/ss-grey-hood.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b0b0a;
  --ink-soft: #1a1917;
  --paper: #f1f0eb;
  --paper-deep: #e4e2db;
  --white: #fff;
  --muted: #6f6c64;
  --line-light: rgb(255 255 255 / 18%);
  --line-dark: rgb(11 11 10 / 18%);
  --signal: #d4512c;
  --signal-deep: #b83d20;
  --shell: 1200px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(88px, 12vw, 176px);
  --body-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  --display-font: "Cardinal Display", "Arial Narrow", Impact, var(--body-font);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
  --duration-fast: 180ms;
  --duration-mid: 340ms;
  --duration-reveal: 680ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

/* Real page entrance: it clears as soon as the document is ready. */
.page-loader {
  display: none;
}

.js .page-loader {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-content: center;
  background: var(--ink);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 420ms var(--ease-premium),
    visibility 420ms var(--ease-premium);
}

.page-loader img {
  width: min(56vw, 240px);
  opacity: 0;
  animation: loader-mark 620ms var(--ease-premium) 80ms forwards;
}

.page-loader-line {
  width: min(56vw, 240px);
  height: 1px;
  margin-top: 22px;
  overflow: hidden;
  background: rgb(255 255 255 / 18%);
}

.page-loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-line 900ms var(--ease-premium) forwards;
}

.js.page-ready .page-loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.scroll-progress {
  position: fixed;
  z-index: 1100;
  inset: 0 0 auto;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes loader-mark {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loader-line {
  0% { transform: scaleX(0); }
  55% { transform: scaleX(.72); }
  100% { transform: scaleX(1); }
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out);
}

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

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section-paper,
.section-ink,
.section-signal {
  position: relative;
  padding-block: var(--section-space);
}

.section-paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(241 240 235 / 93%), rgb(241 240 235 / 93%)),
    url("images/paper-grain.jpg");
  color: var(--ink);
}

.section-ink {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgb(11 11 10 / 92%), rgb(11 11 10 / 92%)),
    url("images/black-grain.jpg");
  color: var(--white);
}

.section-signal {
  background: var(--signal);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 20px;
  color: rgb(255 255 255 / 68%);
  font-family: var(--display-font);
  font-size: .72rem;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: rgb(11 11 10 / 58%);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0;
  font-weight: 650;
}

h1,
h2 {
  letter-spacing: -.045em;
  line-height: 1.12;
}

h1 {
  max-width: 13em;
  color: var(--white);
  font-size: clamp(2.1rem, 8vw, 5.4rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.2rem, 8vw, 5.5rem);
}

.section-heading {
  margin-bottom: clamp(56px, 9vw, 108px);
}

.section-lead {
  max-width: 38rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

.section-ink .section-lead {
  color: rgb(255 255 255 / 66%);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 68px;
  padding: 11px var(--gutter);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    min-height 260ms ease;
}

.site-header.is-scrolled {
  min-height: 60px;
  border-color: var(--line-light);
  background: rgb(11 11 10 / 94%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(46vw, 190px);
  min-height: 44px;
}

.brand img {
  width: 100%;
}

.desktop-nav,
.header-cta {
  display: none;
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
  min-height: 44px;
  border: 1px solid var(--line-light);
  cursor: pointer;
  font-size: .82rem;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.mobile-menu nav {
  position: fixed;
  inset: 68px 0 auto;
  display: grid;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--ink);
  box-shadow: 0 18px 40px rgb(0 0 0 / 28%);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--line-light);
  text-decoration: none;
}

.mobile-menu nav a:last-child {
  margin-top: 14px;
  justify-content: center;
  border: 1px solid var(--white);
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  filter: grayscale(1) contrast(1.12);
}

.hero-media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: grayscale(1) contrast(1.08);
  transition: opacity 600ms ease;
}

.hero-media video.is-ready {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgb(0 0 0 / 38%) 0%, rgb(0 0 0 / 8%) 25%, rgb(0 0 0 / 72%) 100%),
    linear-gradient(90deg, rgb(0 0 0 / 52%) 0%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(720px, 100svh);
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 148px 82px;
}

.hero-content .eyebrow {
  margin-bottom: 24px;
}

.js .hero-content > * {
  opacity: 0;
  transform: translateY(18px);
}

.js.page-ready .hero-content > * {
  opacity: 1;
  transform: none;
  transition:
    opacity 720ms var(--ease-premium),
    transform 720ms var(--ease-premium);
}

.js.page-ready .hero-content > :nth-child(2) { transition-delay: 70ms; }
.js.page-ready .hero-content > :nth-child(3) { transition-delay: 120ms; }
.js.page-ready .hero-content > :nth-child(4) { transition-delay: 170ms; }
.js.page-ready .hero-content > :nth-child(5) { transition-delay: 220ms; }

.hero-subtitle {
  margin: 26px 0 0;
  color: var(--white);
  font-size: .92rem;
  letter-spacing: .16em;
}

.hero-intro {
  max-width: 39rem;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform var(--duration-fast) var(--ease-out);
}

.button:hover svg {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(1px);
}

.button-light {
  min-width: 164px;
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: transparent;
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: transparent;
  color: var(--ink);
}

.qr-mini {
  display: none;
}

.hero-index {
  display: none;
}

.heritage {
  overflow: hidden;
}

.heritage::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 14px;
  background: var(--ink);
  content: "";
  clip-path: polygon(0 0, 100% 0, 100% 25%, 96% 75%, 90% 25%, 84% 70%, 77% 30%, 70% 76%, 63% 22%, 55% 68%, 48% 28%, 40% 75%, 33% 20%, 26% 66%, 19% 27%, 12% 74%, 6% 24%, 0 70%);
}

.heritage-grid {
  display: grid;
  gap: 60px;
}

.numbers {
  border-top: 1px solid var(--line-dark);
}

.numbers article {
  display: grid;
  grid-template-columns: minmax(96px, .75fr) 1.25fr;
  align-items: center;
  gap: 24px;
  min-height: 124px;
  border-bottom: 1px solid var(--line-dark);
}

.numbers strong {
  font-family: var(--display-font);
  font-size: clamp(3.2rem, 16vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .8;
}

.numbers span {
  font-weight: 650;
  line-height: 1.55;
}

.numbers small {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
}

.heritage-story {
  max-width: 42rem;
}

.heritage-story p {
  margin-bottom: 22px;
  color: #3e3c37;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 2;
}

.certifications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 9vw, 120px);
  border-block: 1px solid var(--line-dark);
}

.certifications figure {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 22px 8px;
  text-align: center;
}

.certifications figure + figure {
  border-left: 1px solid var(--line-dark);
}

.certifications img {
  width: min(100%, 130px);
  height: 58px;
  object-fit: contain;
  filter: grayscale(1);
}

.certifications img.certification-epv {
  width: 72px;
  height: 72px;
  filter: none;
}

.certifications figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}

.shaper {
  overflow: hidden;
}

.shaper::after {
  position: absolute;
  z-index: 0;
  right: -8vw;
  bottom: -10vw;
  color: rgb(255 255 255 / 2.8%);
  content: "RC";
  font-family: var(--display-font);
  font-size: 48vw;
  line-height: .75;
  pointer-events: none;
}

.shaper-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 64px;
}

.shaper-portrait {
  margin: 0;
}

.shaper-portrait > img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.08);
}

.shaper-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  color: rgb(255 255 255 / 56%);
  font-family: var(--display-font);
  font-size: .68rem;
  letter-spacing: .08em;
}

.shaper-copy h2 {
  font-size: clamp(2.5rem, 9vw, 5.6rem);
}

.shaper-copy h2 span {
  display: block;
  margin-top: 12px;
  color: rgb(255 255 255 / 48%);
  font-size: .52em;
  font-weight: 500;
  letter-spacing: -.03em;
}

.pullquote {
  max-width: 36rem;
  margin: 44px 0 36px;
  padding: 24px 0 24px 24px;
  border-left: 2px solid var(--signal);
  color: var(--white);
  font-size: clamp(1.16rem, 2.2vw, 1.55rem);
  line-height: 1.75;
}

.shaper-body {
  max-width: 39rem;
  color: rgb(255 255 255 / 66%);
}

.shaper-body p {
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  color: var(--white);
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  transition: transform var(--duration-fast) var(--ease-out);
}

.text-link:hover span {
  transform: translateX(5px);
}

.boards {
  overflow: hidden;
}

.product-list {
  border-top: 1px solid var(--line-dark);
}

.product {
  display: grid;
  grid-template-columns: 38px minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: center;
  padding-block: 46px;
  border-bottom: 1px solid var(--line-dark);
  transition: background-color var(--duration-mid) var(--ease-out);
}

.product-number {
  align-self: start;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: .72rem;
  transition:
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-mid) var(--ease-premium);
}

.product-visual {
  display: grid;
  min-width: 0;
  height: clamp(250px, 68vw, 420px);
  place-items: center;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgb(11 11 10 / 10%));
  transition: transform 520ms var(--ease-premium);
}

.product:hover .product-visual img {
  transform: translateY(-8px);
}

.product-copy {
  min-width: 0;
}

.product-type {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: .64rem;
  letter-spacing: .08em;
  line-height: 1.4;
}

.product-copy h3 {
  display: flex;
  flex-direction: column;
  font-family: var(--display-font);
  font-size: clamp(1.45rem, 5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: .95;
  text-transform: uppercase;
}

.product-copy h3 span {
  margin-bottom: 8px;
  font-family: var(--body-font);
  font-size: .48em;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.product-copy > p:not(.product-type) {
  display: none;
  max-width: 35rem;
  margin: 24px 0;
  color: #4f4c46;
}

.product-copy dl {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  font-size: .78rem;
}

.product-copy dl div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 8px;
}

.product-copy dt {
  color: var(--muted);
}

.product-copy dd {
  min-width: 0;
  margin: 0;
}

.product-copy dd span {
  display: block;
  color: var(--muted);
}

.price-note {
  max-width: 54rem;
  margin: 28px 0 0 auto;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.7;
}

.technology-grid {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.technology {
  display: grid;
  grid-template-columns: 38px 94px 1fr;
  gap: 12px;
  align-items: start;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-light);
  transition:
    background-color var(--duration-mid) var(--ease-out),
    transform var(--duration-mid) var(--ease-premium);
}

.technology > span {
  color: rgb(255 255 255 / 40%);
  font-family: var(--display-font);
  font-size: .68rem;
}

.technology h3 {
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--duration-mid) var(--ease-premium);
}

.technology p {
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: .88rem;
  line-height: 1.75;
}

.process {
  margin-top: clamp(96px, 14vw, 176px);
}

.process-intro {
  margin-bottom: 56px;
}

.process-intro h3 {
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  letter-spacing: -.045em;
  line-height: 1.1;
}

.process-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #171614;
}

.process-list img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: .64;
  transition:
    transform 760ms var(--ease-premium),
    opacity var(--duration-mid) var(--ease-out);
}

.process-list li:hover img {
  transform: scale(1.025);
  opacity: .78;
}

.process-list li > div {
  position: absolute;
  inset: auto 0 0;
  padding: 80px 24px 26px;
  background: linear-gradient(transparent, rgb(0 0 0 / 88%));
  transition: transform var(--duration-mid) var(--ease-premium);
}

.process-list span {
  display: block;
  margin-bottom: 8px;
  color: rgb(255 255 255 / 50%);
  font-family: var(--display-font);
  font-size: .68rem;
}

.process-list h4 {
  font-family: var(--display-font);
  font-size: 1.5rem;
  font-weight: 400;
}

.process-list p {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: .86rem;
  line-height: 1.7;
}

.china {
  overflow: hidden;
}

.china::after {
  position: absolute;
  right: -8vw;
  bottom: -13vw;
  color: rgb(11 11 10 / 6%);
  content: "CN";
  font-family: var(--display-font);
  font-size: 42vw;
  line-height: .75;
  pointer-events: none;
}

.china-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 70px;
}

.china-copy h2 {
  max-width: 10em;
}

.china-copy > p {
  max-width: 41rem;
  margin-top: 28px;
  font-size: 1.03rem;
  line-height: 1.95;
}

.china-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgb(11 11 10 / 66%);
  font-size: .78rem;
}

.china-note span::before {
  margin-right: 8px;
  content: "•";
}

.contact-form {
  padding: 28px 22px;
  border-top: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 18px 18px 0 rgb(11 11 10 / 10%);
}

.form-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.form-heading span {
  color: var(--muted);
  font-size: .72rem;
}

.form-heading strong {
  font-size: 1.4rem;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .78rem;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgb(11 11 10 / 40%);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  transition: border-color 180ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--signal);
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-status {
  min-height: 1.7em;
  margin: 14px 0 0;
  font-size: .82rem;
  font-weight: 650;
}

.form-status.is-success {
  color: #17633a;
}

.form-status.is-error {
  color: #a02f26;
}

.privacy-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.55;
}

.privacy-note a {
  color: inherit;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact {
  overflow: hidden;
}

.contact-layout {
  display: grid;
  gap: 56px;
}

.contact-title h2 span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: .42em;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.contact-title > p:last-child {
  margin: 26px 0 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 0;
  margin: 0;
  font-style: normal;
}

.contact-details > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details > div:first-child {
  border-top: 1px solid var(--line-dark);
}

.contact-details span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .7rem;
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.wechat-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.qr-frame {
  padding: 8px;
  background: var(--white);
}

.qr-frame a {
  display: block;
}

.qr-frame img {
  width: 100%;
  height: auto;
}

.wechat-card span {
  color: var(--muted);
  font-family: var(--display-font);
  font-size: .68rem;
  letter-spacing: .08em;
}

.wechat-card strong {
  display: block;
  margin-top: 8px;
  line-height: 1.55;
}

.wechat-card p {
  margin: 12px 0 0;
  color: var(--signal-deep);
  font-size: .68rem;
  line-height: 1.5;
}

.contact-action {
  margin-top: clamp(54px, 8vw, 96px);
}

.button-wide {
  width: 100%;
  min-height: 62px;
}

.site-footer {
  padding-block: 44px;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-grid img {
  width: min(56vw, 210px);
}

.footer-grid p {
  margin: 0;
  color: rgb(255 255 255 / 52%);
  font-size: .72rem;
  line-height: 1.8;
}

/* Progressive enhancement: content stays visible without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .process-list li.reveal {
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 620px) {
  .qr-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    margin-left: 22px;
    color: rgb(255 255 255 / 72%);
    font-size: .7rem;
    line-height: 1.5;
    text-decoration: none;
  }

  .qr-mini img {
    width: 64px;
    height: auto;
    padding: 4px;
    background: var(--white);
  }

  .qr-mini b {
    color: var(--white);
    font-weight: 650;
  }

  .product {
    grid-template-columns: 42px minmax(180px, .7fr) minmax(280px, 1.3fr);
    gap: 28px;
  }

  .product-copy > p:not(.product-type) {
    display: block;
  }

  .product-copy dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line-dark);
  }

  .wechat-card {
    padding: 24px;
  }
}

@media (min-width: 820px) {
  .split-heading,
  .product-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 70px;
    align-items: end;
  }

  .section-lead {
    margin: 0;
  }

  .heritage-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 8vw;
    align-items: start;
  }

  .heritage-story {
    padding-top: 8px;
  }

  .certifications figure {
    min-height: 170px;
  }

  .certifications img {
    height: 78px;
  }

  .certifications img.certification-epv {
    width: 88px;
    height: 88px;
  }

  .certifications figcaption {
    font-size: .75rem;
  }

  .shaper-layout {
    grid-template-columns: minmax(280px, .86fr) minmax(420px, 1.14fr);
    gap: 8vw;
    align-items: center;
  }

  .shaper-portrait {
    transform: translateY(6vw);
  }

  .product {
    grid-template-columns: 50px minmax(260px, .8fr) minmax(360px, 1.2fr);
    min-height: 600px;
    padding-block: 60px;
  }

  .product-visual {
    height: 500px;
  }

  .product-copy h3 {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
  }

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

  .technology {
    grid-template-columns: 38px 120px 1fr;
    min-height: 190px;
    padding: 34px 30px;
  }

  .technology:nth-child(odd) {
    border-right: 1px solid var(--line-light);
  }

  .technology h3 {
    font-size: 1.8rem;
  }

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

  .process-list li:nth-child(even) {
    transform: translateY(52px);
  }

  .china-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 8vw;
    align-items: start;
  }

  .contact-form {
    padding: 36px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
    gap: 7vw;
  }

  .wechat-card {
    grid-column: 1 / -1;
    grid-template-columns: 220px 1fr;
    max-width: 660px;
    margin-left: auto;
  }

  .contact-action {
    display: flex;
    justify-content: flex-end;
  }

  .button-wide {
    width: min(100%, 660px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }

  .footer-grid p:last-child {
    text-align: right;
  }
}

@media (min-width: 1060px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
    min-height: 78px;
    padding-block: 10px;
  }

  .brand {
    width: 190px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.6vw, 40px);
  }

  .desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: rgb(255 255 255 / 72%);
    font-size: .75rem;
    text-decoration: none;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--white);
    content: "";
    transition: transform var(--duration-fast) var(--ease-out);
  }

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

  .desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-width: 116px;
    min-height: 44px;
    border: 1px solid var(--line-light);
    font-size: .75rem;
    text-decoration: none;
    transition:
      background-color 180ms ease,
      color 180ms ease;
  }

  .header-cta:hover {
    background: var(--white);
    color: var(--ink);
  }

  .mobile-menu {
    display: none;
  }

  .hero-content {
    padding-bottom: 92px;
  }

  .hero-index {
    position: absolute;
    z-index: 2;
    right: var(--gutter);
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgb(255 255 255 / 58%);
    font-family: var(--display-font);
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .hero-index span:first-child {
    color: var(--white);
    font-size: 1.2rem;
  }

  .numbers article {
    grid-template-columns: .9fr 1.1fr;
  }

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

  .technology {
    display: block;
    min-height: 310px;
    padding: 34px 26px;
    border-right: 1px solid var(--line-light);
  }

  .technology:last-child {
    border-right: 0;
  }

  .technology > span {
    display: block;
    margin-bottom: 68px;
  }

  .technology h3 {
    margin-bottom: 20px;
    font-size: 2rem;
  }

  .technology p {
    font-size: .9rem;
  }

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

  .process-list li:nth-child(even) {
    transform: translateY(52px);
  }

  .contact-layout {
    grid-template-columns: minmax(0, .82fr) minmax(270px, .58fr) minmax(390px, .6fr);
    align-items: start;
  }

  .wechat-card {
    grid-column: auto;
    grid-template-columns: minmax(130px, 180px) 1fr;
    margin: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .product:hover {
    background: rgb(11 11 10 / 3.5%);
  }

  .product:hover .product-number {
    color: var(--signal-deep);
    transform: translateY(5px);
  }

  .product:hover .product-visual img {
    transform: translateY(-10px) scale(1.025);
  }

  .technology:hover {
    background: rgb(255 255 255 / 3.5%);
    transform: translateX(5px);
  }

  .technology:hover h3 {
    transform: translateX(4px);
  }

  .process-list li:hover img {
    transform: scale(1.04);
    opacity: .8;
  }

  .process-list li:hover > div {
    transform: translateY(-5px);
  }

  .qr-mini,
  .wechat-card,
  .contact-details a {
    transition:
      color var(--duration-fast) var(--ease-out),
      border-color var(--duration-fast) var(--ease-out),
      transform var(--duration-mid) var(--ease-premium),
      box-shadow var(--duration-mid) var(--ease-out);
  }

  .qr-mini:hover {
    color: var(--white);
    transform: translateY(-3px);
  }

  .wechat-card:hover,
  .wechat-card:focus-within {
    border-color: rgb(11 11 10 / 34%);
    box-shadow: 0 18px 42px rgb(11 11 10 / 10%);
    transform: translateY(-5px);
  }

  .contact-details a:hover {
    color: var(--signal-deep);
  }
}

@media (hover: none) {
  .product:hover .product-visual img,
  .process-list li:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .page-loader {
    display: none;
  }

  .js .hero-content > *,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media video {
    display: none;
  }
}

@media print {
  .site-header,
  .hero-media video,
  .hero-actions,
  .contact-form,
  .contact-action {
    display: none !important;
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero-content {
    padding-block: 60px;
  }

  .section-paper,
  .section-ink,
  .section-signal {
    padding-block: 60px;
    background: var(--white);
    color: var(--ink);
  }
}
