:root {
  --ink: #2d2925;
  --muted: #756e66;
  --paper: #ffffff;
  --soft: #faf8f5;
  --line: rgba(159, 131, 95, 0.2);
  --red: #9f835f;
  --red-dark: #2d2925;
  --red-soft: #f5f2ec;
  --accent: #9f835f;
  /* Accent for text: #9f835f is too light to read on white (WCAG AA needs 4.5:1). */
  --accent-text: #846a47;
  --white: #ffffff;
  --shadow: 0 24px 54px rgba(159, 131, 95, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family:
    "Inter",
    "Noto Sans SC",
    "Source Han Sans SC",
    "Segoe UI",
    Arial,
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

main,
section {
  max-width: 100%;
}

:lang(zh-CN) body,
body:lang(zh-CN) {
  font-family:
    "Inter",
    "Noto Sans SC",
    "Source Han Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

h1,
h2 {
  font-family:
    "Outfit",
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    "SimSun",
    serif;
}

h3,
h4,
.brand strong,
.nav a,
.button,
.eyebrow,
.section-kicker {
  font-family:
    "Outfit",
    "Inter",
    "Noto Sans SC",
    "Source Han Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2 {
  letter-spacing: 0.02em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.page-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(64, 38, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--accent-text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(48, 36, 36, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 82px) 56px;
  color: var(--ink);
  background: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 43%, rgba(255, 255, 255, 0.22) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 6vw, 76px);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #c5a880);
  box-shadow: 0 14px 32px rgba(159, 131, 95, 0.22);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.button.ghost {
  color: var(--accent-text);
  border-color: rgba(159, 131, 95, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 6vw, 82px);
  bottom: 56px;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px 22px;
  width: min(360px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(159, 131, 95, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel strong {
  justify-self: end;
  font-size: 15px;
  color: var(--ink);
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 82px);
}

.split,
.section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.lead,
.section-head p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.lead p {
  margin: 0 0 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.stats div {
  padding: 34px clamp(20px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--accent-text);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
}

.stats span {
  margin-top: 8px;
  color: var(--muted);
}

.capability {
  background: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.capability-grid article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--white), var(--soft));
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.045);
}

.capability-grid span {
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.capability-grid h3,
.product-card h3,
.timeline h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.capability-grid p,
.product-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.capability-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.capability-grid small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(159, 131, 95, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 13px;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.category-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(159, 131, 95, 0.22);
  border-radius: 999px;
  color: var(--red-dark);
  background: var(--red-soft);
  font-size: 14px;
  font-weight: 700;
}

.image-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(24px, 6vw, 82px);
  color: var(--ink);
  background: var(--white);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 44%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
}

.image-band div {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.image-band span,
.image-band strong {
  display: block;
}

.image-band span {
  color: var(--accent-text);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-band strong {
  margin-top: 10px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.14;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 26px;
}

.product-card h3 {
  margin-top: 0;
}

.product-category-card {
  min-height: 230px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--white), var(--soft));
}

.product-category-card div {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.product-category-card p {
  line-height: 1.75;
}

.product-showcase {
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.07);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.showcase-card:hover {
  border-color: rgba(159, 131, 95, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(23, 23, 23, 0.1);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
}

.showcase-card div {
  min-height: 184px;
  padding: 28px 30px 32px;
}

.showcase-card span {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
}

.showcase-card h3 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 650;
  line-height: 1.18;
}

.showcase-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cooperation {
  background: var(--soft);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.timeline div {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(159, 131, 95, 0.08), rgba(255, 255, 255, 0) 42%),
    var(--white);
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.045);
}

.timeline div::after {
  position: absolute;
  top: 50px;
  right: -23px;
  width: 23px;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline div:nth-child(4n)::after,
.timeline div:last-child::after {
  display: none;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #c5a880);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(159, 131, 95, 0.22);
}

.timeline h3 {
  margin: 28px 0 12px;
}

.timeline p {
  line-height: 1.75;
}

.timeline small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-top: auto;
  padding: 6px 11px;
  border: 1px solid rgba(159, 131, 95, 0.2);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
}

.quality {
  background: var(--white);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.quality-grid div {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--white), var(--soft));
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.045);
}

.quality-grid span {
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quality-grid h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.quality-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.quality-grid small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-top: auto;
  padding: 6px 11px;
  border: 1px solid rgba(159, 131, 95, 0.2);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 82px);
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 241, 0.92) 52%, rgba(245, 242, 236, 0.96) 100%),
    url("assets/factory-packing-1600.webp") center/cover;
}

.contact-copy p {
  color: var(--muted);
}

.contact dl {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
}

.contact dt {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(159, 131, 95, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(48, 36, 36, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(159, 131, 95, 0.52);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(159, 131, 95, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(109, 100, 100, 0.62);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(480px, 1.24fr) minmax(260px, 0.58fr);
  gap: clamp(30px, 5.4vw, 82px);
  align-items: start;
  padding: 44px clamp(20px, 6vw, 82px);
  background: #2d2925;
  color: var(--white);
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  max-width: 360px;
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.4;
}

.footer-brand span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.footer-companies {
  display: grid;
  gap: 18px;
}

.footer-companies article {
  display: grid;
  grid-template-columns: minmax(220px, 0.54fr) minmax(280px, 1fr);
  gap: clamp(18px, 3vw, 38px);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-companies article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-companies b {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 650;
  line-height: 1.45;
}

.footer-companies span {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  gap: 14px;
  justify-self: end;
  min-width: 250px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact b {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 500;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.5;
}

.footer-info {
  display: grid;
  gap: 10px;
}

.footer-info p {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: 18px;
  margin: 0;
}

.footer-info b {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
}

.footer-info a,
.footer-info span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.55;
}

.footer-home {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 620px;
  padding: 140px clamp(20px, 6vw, 82px) 72px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(245, 242, 236, 0.9)),
    var(--white);
}

.subpage-hero h1,
.contact-page h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.subpage-hero img {
  width: 100%;
  min-height: 360px;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.detail-grid article,
.catalog-grid article {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(15, 111, 100, 0.055), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, var(--white), var(--soft));
  box-shadow: 0 16px 42px rgba(21, 32, 29, 0.045);
}

.detail-grid span,
.catalog-grid span,
.service-list span {
  color: var(--accent-text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid h3,
.catalog-grid h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.detail-grid p,
.catalog-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.catalog-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.catalog-grid small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 111, 100, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 13px;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  grid-template-areas:
    "label title"
    ". copy";
  gap: 12px clamp(34px, 5vw, 78px);
  align-items: start;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 111, 100, 0.035), rgba(255, 255, 255, 0) 34%),
    var(--white);
  box-shadow: 0 18px 44px rgba(21, 32, 29, 0.05);
}

.service-list span {
  grid-area: label;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-left: 18px;
  font-size: 16px;
  letter-spacing: 0;
}

.service-list span::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 22px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.service-list h2 {
  grid-area: title;
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.16;
}

.service-list p {
  grid-area: copy;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.page-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--red-soft), var(--white));
}

.page-cta h2 {
  max-width: 850px;
  margin: 0 auto 26px;
}

.contact-page {
  min-height: auto;
  padding-top: 140px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 98px);
    overflow-y: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--red-soft);
  }

  .nav-cta {
    text-align: center;
  }

  .lang-switch {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 260px;
  }

  .hero-panel {
    right: 20px;
    bottom: 24px;
  }

  .split,
  .section-head,
  .contact,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-top: 90px;
  }

  .subpage-hero {
    min-height: auto;
  }

  .stats,
  .product-grid,
  .showcase-grid,
  .detail-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .capability-grid,
  .timeline,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline div:nth-child(4n)::after {
    display: block;
  }

  .timeline div:nth-child(2n)::after,
  .timeline div:last-child::after {
    display: none;
  }

  .service-list article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "title"
      "copy";
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .brand strong {
    max-width: 190px;
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 16px 28px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    grid-template-columns: 1fr;
    margin-top: 26px;
    padding: 18px;
  }

  .hero-panel strong {
    justify-self: start;
    margin-bottom: 6px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 56px 16px;
  }

  .section h2,
  .contact h2,
  .subpage-hero h1,
  .contact-page h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.16;
  }

  .lead,
  .section-head p,
  .contact-copy p,
  .subpage-hero p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .stats div {
    padding: 24px 16px;
  }

  .stats strong {
    font-size: 24px;
  }

  .image-band {
    min-height: 430px;
    padding: 32px 16px;
  }

  .image-band strong {
    font-size: clamp(30px, 8vw, 40px);
  }

  .product-grid {
    gap: 16px;
    margin-top: 30px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .capability-grid,
  .timeline,
  .quality-grid,
  .detail-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .timeline div::after {
    display: none;
  }

  body.inner-minimal .timeline {
    grid-template-columns: 1fr;
  }

  body.inner-minimal .page-cta {
    margin-inline: 16px;
    padding: 34px 22px;
  }

  .capability-grid article,
  .timeline div,
  .quality-grid div,
  .detail-grid article,
  .catalog-grid article {
    min-height: auto;
    padding: 24px;
  }

  .capability-grid h3,
  .timeline h3,
  .quality-grid h3,
  .detail-grid h3,
  .catalog-grid h3,
  .showcase-card h3,
  .product-card h3 {
    font-size: 22px;
  }

  .subpage-hero {
    padding: 112px 16px 54px;
  }

  .subpage-hero img {
    min-height: 220px;
    max-height: 300px;
  }

  .service-list {
    gap: 16px;
  }

  .service-list article {
    padding: 24px;
  }

  .service-list h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .contact {
    gap: 34px;
    padding: 106px 16px 56px;
  }

  .contact dl {
    gap: 14px;
    margin-top: 24px;
  }

  .contact dd {
    overflow-wrap: anywhere;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-width: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

body.home-minimal {
  --ink: #2d2925;
  --muted: #756e66;
  --soft: #faf8f5;
  --line: rgba(159, 131, 95, 0.2);
  --red: #9f835f;
  --red-dark: #2d2925;
  --red-soft: #f5f2ec;
  --accent: #9f835f;
  /* Accent for text: #9f835f is too light to read on white (WCAG AA needs 4.5:1). */
  --accent-text: #846a47;
  --shadow: 0 24px 54px rgba(159, 131, 95, 0.1);
  background: #ffffff;
}

body.home-minimal .site-header {
  padding-inline: clamp(18px, 5vw, 72px);
}

body.home-minimal .site-header.is-scrolled,
body.home-minimal .site-header.is-open {
  box-shadow: 0 10px 30px rgba(21, 32, 29, 0.08);
}

body.home-minimal .brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
}

body.home-minimal .brand strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

body.home-minimal .brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  opacity: 1;
}

body.home-minimal .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  grid-template-areas:
    "content media"
    "panel media";
  align-items: center;
  gap: clamp(34px, 5.5vw, 82px);
  min-height: 720px;
  padding: 138px clamp(20px, 6vw, 82px) 76px;
  background:
    linear-gradient(110deg, #ffffff 0%, #ffffff 48%, rgba(245, 242, 236, 0.86) 48%, rgba(245, 242, 236, 0.86) 100%);
}

body.home-minimal .hero-media {
  position: relative;
  inset: auto;
  grid-area: media;
  align-self: stretch;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

body.home-minimal .hero-overlay {
  display: none;
}

body.home-minimal .hero-content {
  grid-area: content;
  max-width: 840px;
}

body.home-minimal .eyebrow,
body.home-minimal .section-kicker {
  margin-bottom: 18px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.home-minimal:lang(zh-CN) .eyebrow,
body.home-minimal:lang(zh-CN) .section-kicker {
  letter-spacing: 0.08em;
}

body.home-minimal .hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 650;
  line-height: 1;
}

body.home-minimal .hero-copy {
  max-width: 720px;
  margin-top: 30px;
  color: #6b6259;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.36;
}

body.home-minimal .button.primary {
  background: var(--ink);
  box-shadow: none;
}

body.home-minimal .button.primary:hover {
  background: var(--red-dark);
}

body.home-minimal .button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

body.home-minimal .hero-panel {
  position: relative;
  right: auto;
  bottom: auto;
  grid-area: panel;
  width: 100%;
  max-width: 820px;
  margin-top: 0;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home-minimal .hero-panel span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

body.home-minimal .hero-panel strong {
  justify-self: start;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

body.home-minimal .intro.section {
  padding-block: clamp(74px, 9vw, 112px);
  border-top: 1px solid var(--line);
}

body.home-minimal .intro .split {
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 120px);
}

body.home-minimal .intro h2,
body.home-minimal .product-showcase h2 {
  max-width: 760px;
  font-weight: 650;
  line-height: 1.08;
}

body.home-minimal .lead,
body.home-minimal .section-head p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.82;
}

body.home-minimal .stats {
  margin: 0 clamp(20px, 6vw, 82px);
  border-block: 1px solid var(--line);
  background: var(--white);
}

body.home-minimal .stats div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 0;
  text-align: center;
}

body.home-minimal .stats strong {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 650;
}

body.home-minimal .stats span {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
}

body.home-minimal .capability,
body.home-minimal .image-band,
body.home-minimal .products,
body.home-minimal .cooperation,
body.home-minimal .quality,
body.home-minimal .contact {
  display: none;
}

body.home-minimal .contact.home-inquiry {
  display: grid;
}

body.home-minimal .product-showcase {
  background: var(--white);
}

body.home-minimal .product-showcase .section-head {
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 0.9fr);
}

body.home-minimal .showcase-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

body.home-minimal .showcase-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.home-minimal .showcase-card:hover {
  transform: none;
  box-shadow: none;
}

body.home-minimal .showcase-card img {
  aspect-ratio: 16 / 10;
}

body.home-minimal .showcase-card div {
  min-height: 190px;
  padding: 30px 34px 34px;
}

body.home-minimal .showcase-card h3 {
  margin-top: 18px;
  font-size: 28px;
  font-weight: 650;
}

body.home-minimal .showcase-card p {
  max-width: 420px;
  font-size: 16px;
  line-height: 1.75;
}

body.home-minimal .footer {
  background: #2d2925;
}

body.about-minimal main {
  background: #ffffff;
}

body.about-minimal .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  min-height: 680px;
  padding: 136px clamp(20px, 6vw, 82px) 72px;
  background:
    radial-gradient(circle at 84% 16%, rgba(197, 168, 128, 0.16), transparent 32%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 50%, rgba(245, 242, 236, 0.88) 50%, rgba(245, 242, 236, 0.88) 100%);
}

body.about-minimal .about-hero-copy {
  max-width: 820px;
}

body.about-minimal .about-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
}

body.about-minimal .about-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 28px 0 0;
  color: #6b6259;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.46;
}

body.about-minimal .about-hero-media {
  margin: 0;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.about-minimal .about-hero-media img {
  display: block;
  width: 100%;
  min-height: 420px;
  aspect-ratio: 4 / 4.25;
  border-radius: 18px;
  object-fit: cover;
}

body.about-minimal .about-statement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(20px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
  transform: translateY(-28px);
  box-shadow: var(--shadow);
}

body.about-minimal .about-statement div {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(18px, 3.2vw, 44px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

body.about-minimal .about-statement div:last-child {
  border-right: 0;
}

body.about-minimal .about-statement span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body.about-minimal .about-statement strong {
  max-width: 360px;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 650;
  line-height: 1.3;
}

body.about-minimal .about-section {
  padding: clamp(74px, 9vw, 112px) clamp(20px, 6vw, 82px);
}

body.about-minimal .about-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: start;
}

body.about-minimal .about-split h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 650;
  line-height: 1.08;
}

body.about-minimal .about-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

body.about-minimal .about-copy p {
  margin: 0 0 18px;
}

body.about-minimal .about-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 clamp(20px, 6vw, 82px) clamp(74px, 9vw, 112px);
  border: 0;
  background: transparent;
}

body.about-minimal .about-focus article {
  min-height: 280px;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow);
}

body.about-minimal .about-focus span {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.about-minimal .about-focus h3 {
  margin: 58px 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 650;
  line-height: 1.2;
}

body.about-minimal .about-focus p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

body.about-minimal .about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 7vw, 86px) clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--red-soft), #ffffff);
}

body.about-minimal .about-cta h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1.08;
}

body.inner-minimal main {
  background: #ffffff;
}

body.inner-minimal .inner-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: 660px;
  padding: 136px clamp(20px, 6vw, 82px) 70px;
  background:
    radial-gradient(circle at 84% 16%, rgba(197, 168, 128, 0.16), transparent 32%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 52%, rgba(245, 242, 236, 0.88) 52%, rgba(245, 242, 236, 0.88) 100%);
}

body.inner-minimal .inner-hero-copy {
  max-width: 820px;
}

body.inner-minimal .inner-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
}

body.inner-minimal .inner-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: #6b6259;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.55;
}

body.inner-minimal .inner-hero .hero-actions {
  margin-top: 34px;
}

body.inner-minimal .inner-hero-media {
  margin: 0;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

body.inner-minimal .inner-hero-media img {
  display: block;
  width: 100%;
  min-height: 410px;
  aspect-ratio: 4 / 4.15;
  border-radius: 18px;
  object-fit: cover;
}

body.inner-minimal .inner-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(20px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  overflow: hidden;
  transform: translateY(-28px);
  box-shadow: var(--shadow);
}

body.inner-minimal .inner-band div {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(18px, 3.2vw, 44px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

body.inner-minimal .inner-band div:last-child {
  border-right: 0;
}

body.inner-minimal .inner-band span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body.inner-minimal .inner-band strong {
  max-width: 360px;
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 650;
  line-height: 1.3;
}

body.inner-minimal .inner-section {
  padding: clamp(74px, 9vw, 112px) clamp(20px, 6vw, 82px);
  background: #ffffff;
}

body.inner-minimal .inner-head {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 64px);
}

body.inner-minimal .inner-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

body.inner-minimal .inner-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 650;
  line-height: 1.08;
}

body.inner-minimal .inner-head p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}

body.inner-minimal .inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border: 0;
  background: transparent;
}

body.inner-minimal .inner-grid article {
  min-height: 290px;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow);
}

body.inner-minimal .inner-grid span {
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.inner-minimal .inner-grid h3 {
  margin: 58px 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 33px);
  font-weight: 650;
  line-height: 1.2;
}

body.inner-minimal .inner-grid p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

body.inner-minimal .inner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(58px, 7vw, 86px) clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--red-soft), #ffffff);
}

body.inner-minimal .inner-cta h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 650;
  line-height: 1.08;
}

body.contact-minimal .inner-contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  min-height: 100vh;
  padding: 148px clamp(20px, 6vw, 82px) clamp(72px, 8vw, 104px);
  background:
    radial-gradient(circle at 84% 16%, rgba(197, 168, 128, 0.16), transparent 32%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 52%, rgba(245, 242, 236, 0.88) 52%, rgba(245, 242, 236, 0.88) 100%);
}

body.contact-minimal .contact-copy {
  max-width: 700px;
}

body.contact-minimal .contact-copy h1 {
  max-width: 740px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
}

body.contact-minimal .contact-copy p:not(.section-kicker) {
  max-width: 650px;
  margin: 28px 0 0;
  color: #6b6259;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.58;
}

body.contact-minimal .contact-copy dl {
  display: grid;
  gap: 0;
  margin: 48px 0 0;
  border-block: 1px solid var(--line);
}

body.contact-minimal .contact-copy dl div {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

body.contact-minimal .contact-copy dl div:last-child {
  border-bottom: 0;
}

body.contact-minimal .contact-copy dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

body.contact-minimal .contact-copy dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 650;
  line-height: 1.36;
}

body.contact-minimal .contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

body.contact-minimal .contact-form label:nth-last-of-type(-n + 2),
body.contact-minimal .contact-form button,
body.contact-minimal .contact-form .form-note {
  grid-column: 1 / -1;
}

body.contact-minimal .contact-form input,
body.contact-minimal .contact-form select,
body.contact-minimal .contact-form textarea {
  background: #ffffff;
}

body.inner-minimal .detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border: 0;
  background: transparent;
}

body.inner-minimal .detail-grid article {
  min-height: 290px;
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(159, 131, 95, 0.075), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow);
}

body.inner-minimal .detail-grid h3 {
  margin-top: 58px;
  font-size: clamp(24px, 2.4vw, 33px);
  font-weight: 650;
  line-height: 1.2;
}

body.inner-minimal .timeline {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

body.inner-minimal .timeline div {
  min-height: 260px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(159, 131, 95, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow);
}

body.inner-minimal .timeline div::after {
  display: none;
}

body.inner-minimal .page-cta {
  margin: clamp(24px, 4vw, 56px) clamp(20px, 6vw, 82px) clamp(72px, 8vw, 112px);
  padding: clamp(44px, 6vw, 78px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 16%, rgba(197, 168, 128, 0.18), transparent 30%),
    linear-gradient(135deg, var(--red-soft), #ffffff);
  box-shadow: var(--shadow);
}

.quote-support,
.faq-section {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 6vw, 82px);
  background: #ffffff;
}

.quote-support {
  border-top: 1px solid var(--line);
}

.quote-support-head,
.faq-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.quote-support h2,
.faq-section h2 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 1.08;
}

.quote-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote-support-grid article {
  min-height: 300px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(159, 131, 95, 0.08), rgba(255, 255, 255, 0) 42%),
    #ffffff;
  box-shadow: var(--shadow);
}

.quote-support-grid span {
  display: block;
  margin-bottom: clamp(44px, 5vw, 74px);
  color: var(--accent-text);
  font-weight: 750;
}

.quote-support-grid h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.16;
}

.quote-support-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.74;
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.faq-list {
  display: grid;
  max-width: 1120px;
  margin-left: auto;
  padding: 10px clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 28px 0;
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 650;
  line-height: 1.25;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  margin-left: 24px;
  color: var(--accent-text);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 780px;
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

@media (max-width: 980px) {
  body.home-minimal .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "media"
      "panel";
    min-height: auto;
    padding-top: 132px;
  }

  body.home-minimal .hero-panel {
    margin-top: 0;
  }

  body.home-minimal .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.about-minimal .about-hero,
  body.inner-minimal .subpage-hero,
  body.about-minimal .about-split,
  body.inner-minimal .inner-hero,
  body.inner-minimal .inner-head,
  body.contact-minimal .inner-contact {
    grid-template-columns: 1fr;
  }

  body.about-minimal .about-hero,
  body.inner-minimal .subpage-hero,
  body.inner-minimal .inner-hero {
    min-height: auto;
    padding-top: 132px;
  }

  body.about-minimal .about-hero-media img,
  body.inner-minimal .subpage-hero > img,
  body.inner-minimal .inner-hero-media img {
    min-height: 300px;
    aspect-ratio: 16 / 10;
  }

  body.about-minimal .about-statement,
  body.inner-minimal .inner-band,
  body.inner-minimal .detail-grid,
  body.about-minimal .about-focus,
  body.inner-minimal .inner-grid {
    grid-template-columns: 1fr;
  }

  body.about-minimal .about-statement,
  body.inner-minimal .inner-band {
    margin-top: 24px;
    transform: none;
  }

  body.about-minimal .about-statement div,
  body.inner-minimal .inner-band div {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body.about-minimal .about-statement div:last-child,
  body.inner-minimal .inner-band div:last-child {
    border-bottom: 0;
  }

  body.about-minimal .about-cta,
  body.inner-minimal .inner-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-support-head,
  .faq-head,
  .quote-support-grid {
    grid-template-columns: 1fr;
  }

  .quote-support-grid article {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .quote-support-grid article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .quote-support-grid span {
    margin-bottom: 36px;
  }

  body.inner-minimal .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-self: start;
  }

  .footer-companies article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.contact-minimal .inner-contact {
    min-height: auto;
    padding-top: 132px;
  }
}

@media (max-width: 640px) {
  body.home-minimal .hero {
    padding: 116px 16px 56px;
  }

  body.home-minimal .hero h1 {
    font-size: clamp(42px, 11vw, 58px);
    line-height: 1.04;
  }

  body.home-minimal .hero-panel {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body.home-minimal .intro.section,
  body.home-minimal .product-showcase {
    padding-inline: 16px;
  }

  body.home-minimal .stats {
    margin-inline: 16px;
  }

  body.home-minimal .showcase-grid {
    grid-template-columns: 1fr;
  }

  body.about-minimal .about-hero,
  body.inner-minimal .subpage-hero,
  body.inner-minimal .inner-hero {
    padding: 116px 16px 56px;
  }

  body.about-minimal .about-hero h1,
  body.inner-minimal .subpage-hero h1,
  body.inner-minimal .inner-hero h1 {
    font-size: clamp(40px, 10vw, 56px);
    line-height: 1.05;
  }

  body.about-minimal .about-hero p:not(.eyebrow),
  body.inner-minimal .subpage-hero p:not(.eyebrow),
  body.inner-minimal .inner-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  body.about-minimal .about-hero-media img,
  body.inner-minimal .subpage-hero > img,
  body.inner-minimal .inner-hero-media img {
    min-height: 240px;
  }

  body.about-minimal .about-statement,
  body.about-minimal .about-focus,
  body.inner-minimal .inner-band {
    margin-inline: 16px;
  }

  body.about-minimal .about-section,
  body.about-minimal .about-cta,
  body.inner-minimal .inner-section,
  body.inner-minimal .inner-cta {
    padding-inline: 16px;
  }

  body.inner-minimal .inner-head .section-kicker {
    margin-bottom: 0;
  }

  body.inner-minimal .inner-grid article {
    min-height: 250px;
  }

  body.inner-minimal .inner-grid h3 {
    margin-top: 44px;
  }

  body.inner-minimal .timeline {
    grid-template-columns: 1fr;
  }

  body.inner-minimal .page-cta {
    margin-inline: 16px;
    padding: 34px 22px;
  }

  body.contact-minimal .inner-contact {
    padding: 116px 16px 56px;
  }

  body.contact-minimal .contact-copy h1 {
    font-size: clamp(40px, 10vw, 56px);
    line-height: 1.05;
  }

  body.contact-minimal .contact-copy p:not(.section-kicker) {
    font-size: 18px;
  }

  body.contact-minimal .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  body.contact-minimal .contact-form label:nth-last-of-type(-n + 2),
  body.contact-minimal .contact-form button,
  body.contact-minimal .contact-form .form-note {
    grid-column: auto;
  }

  .quote-support,
  .faq-section {
    padding-inline: 16px;
  }

  .quote-support h2,
  .faq-section h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .faq-list summary {
    padding: 24px 0;
  }

  .footer {
    padding-inline: 16px;
  }

  .footer-info p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.service-lux {
  --lux-ink: #2d2925;
  --lux-muted: #756e66;
  --lux-cream: #faf8f5;
  --lux-soft: #f5f2ec;
  --lux-gold: #c5a880;
  --lux-gold-dark: #9f835f;
  --lux-line: rgba(159, 131, 95, 0.18);
  --lux-shadow: 0 24px 54px rgba(159, 131, 95, 0.08);
  --lux-display: "Outfit", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --lux-heading: "Outfit", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --lux-body: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--lux-cream);
  color: var(--lux-ink);
  font-family: var(--lux-body);
}

.service-lux .lux-kicker {
  margin: 0 0 16px;
  color: var(--accent-text);
  font-family: var(--lux-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-lux-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  min-height: 720px;
  padding: 136px clamp(20px, 6vw, 82px) 76px;
  background:
    radial-gradient(circle at 84% 18%, rgba(197, 168, 128, 0.16), transparent 34%),
    linear-gradient(135deg, #fcfaf7 0%, #ffffff 48%, #f5f2ec 100%);
}

.service-lux-copy {
  max-width: 760px;
}

.service-lux-copy h1 {
  margin: 0;
  max-width: 740px;
  color: var(--lux-ink);
  font-family: var(--lux-display);
  font-size: clamp(50px, 5.9vw, 84px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

html[lang="zh-CN"] .service-lux-copy h1,
html[lang="zh-CN"] .service-lux-story-copy h2,
html[lang="zh-CN"] .service-lux-head h2,
html[lang="zh-CN"] .service-lux-cta h2 {
  letter-spacing: 0.02em;
  line-height: 1.12;
}

html[lang="zh-CN"] .service-lux-copy > p:not(.lux-kicker),
html[lang="zh-CN"] .service-lux-story-copy > p:not(.lux-kicker),
html[lang="zh-CN"] .service-lux-head > p:not(.lux-kicker),
html[lang="zh-CN"] .service-lux-options p,
html[lang="zh-CN"] .service-lux-steps p,
html[lang="zh-CN"] .service-lux-duo p {
  letter-spacing: 0.01em;
  line-height: 1.86;
}

.service-lux-copy > p:not(.lux-kicker) {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--lux-muted);
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.58;
}

.service-lux .hero-actions {
  margin-top: 34px;
}

.service-lux .button.primary {
  border-color: var(--lux-gold-dark);
  background: var(--lux-gold-dark);
  color: #ffffff;
}

.service-lux .button.primary:hover {
  border-color: var(--lux-ink);
  background: var(--lux-ink);
}

.service-lux .button.ghost {
  border-color: var(--lux-line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--lux-ink);
}

.service-lux-media,
.service-lux-story-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--lux-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--lux-shadow);
}

.service-lux-media img,
.service-lux-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.inner-minimal .subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: 660px;
  padding: 136px clamp(20px, 6vw, 82px) 70px;
  background:
    radial-gradient(circle at 84% 16%, rgba(197, 168, 128, 0.16), transparent 32%),
    linear-gradient(110deg, #ffffff 0%, #ffffff 52%, rgba(245, 242, 236, 0.88) 52%, rgba(245, 242, 236, 0.88) 100%);
}

body.inner-minimal .subpage-hero > div {
  max-width: 820px;
}

body.inner-minimal .subpage-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 650;
  line-height: 1.04;
}

body.inner-minimal .subpage-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: #6b6259;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.55;
}

body.inner-minimal .subpage-hero > img {
  width: 100%;
  min-height: 410px;
  aspect-ratio: 4 / 4.15;
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.service-lux-media img {
  min-height: 460px;
  aspect-ratio: 1.24 / 1;
}

.service-lux-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 6vw, 82px);
  border: 1px solid var(--lux-line);
  border-radius: 22px;
  background: var(--lux-line);
  overflow: hidden;
  transform: translateY(-34px);
  box-shadow: var(--lux-shadow);
}

.service-lux-summary article {
  min-height: 156px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.9);
}

.service-lux-summary span {
  display: block;
  color: var(--lux-muted);
  font-family: var(--lux-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-lux-summary strong {
  display: block;
  margin-top: 18px;
  color: var(--lux-ink);
  font-family: var(--lux-heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.22;
}

.service-lux-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 82px);
  background: #ffffff;
}

.service-lux-story-copy h2,
.service-lux-head h2,
.service-lux-cta h2 {
  margin: 0;
  color: var(--lux-ink);
  font-family: var(--lux-display);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.service-lux-story-copy > p:not(.lux-kicker),
.service-lux-head > p:not(.lux-kicker) {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--lux-muted);
  font-size: 17px;
  line-height: 1.82;
}

.service-lux-duo {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.service-lux-duo article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--lux-line);
  border-radius: 18px;
  background: var(--lux-cream);
}

.service-lux-duo b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.14);
  color: var(--accent-text);
  font-size: 18px;
}

.service-lux-duo h3 {
  margin: 0 0 8px;
  color: var(--lux-ink);
  font-family: var(--lux-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.service-lux-duo p {
  margin: 0;
  color: var(--lux-muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-lux-story-image img {
  min-height: 520px;
  aspect-ratio: 0.9 / 1;
}

.service-lux-builder,
.service-lux-process {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 6vw, 82px);
  background: var(--lux-cream);
}

.service-lux-process {
  border-top: 1px solid var(--lux-line);
  background: #ffffff;
}

.service-lux-head {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.service-lux-head .lux-kicker {
  align-self: start;
}

.service-lux-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-lux-options article {
  min-height: 280px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--lux-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--lux-shadow);
}

.service-lux-options span {
  /* Large text needs 3:1 against white; the old 42% tint was 1.6:1. */
  color: var(--accent);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.service-lux-options h3 {
  margin: 74px 0 14px;
  color: var(--lux-ink);
  font-family: var(--lux-heading);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
}

.service-lux-options p {
  margin: 0;
  color: var(--lux-muted);
  font-size: 15px;
  line-height: 1.72;
}

.service-lux-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--lux-line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--lux-line);
}

.service-lux-steps article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  background: #ffffff;
}

.service-lux-steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--lux-line);
  border-radius: 50%;
  color: var(--accent-text);
  font-weight: 800;
}

.service-lux-steps h3 {
  margin: 58px 0 14px;
  color: var(--lux-ink);
  font-family: var(--lux-heading);
  font-size: 23px;
  font-weight: 700;
}

.service-lux-steps p {
  margin: 0;
  color: var(--lux-muted);
  font-size: 15px;
  line-height: 1.72;
}

.service-lux-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(58px, 7vw, 88px) clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--lux-line);
  background: linear-gradient(135deg, var(--lux-soft), #ffffff);
}

@media (max-width: 1100px) {
  .service-lux-options,
  .service-lux-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .service-lux-hero,
  .service-lux-story,
  .service-lux-head {
    grid-template-columns: 1fr;
  }

  .service-lux-hero {
    min-height: auto;
    padding-top: 132px;
  }

  .service-lux-media img,
  .service-lux-story-image img {
    min-height: 320px;
    aspect-ratio: 16 / 10;
  }

  .service-lux-summary {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 24px;
  }

  .service-lux-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .service-lux-hero,
  .service-lux-story,
  .service-lux-builder,
  .service-lux-process,
  .service-lux-cta {
    padding-inline: 16px;
  }

  .service-lux-hero {
    padding-top: 116px;
  }

  .service-lux-copy h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .service-lux-copy > p:not(.lux-kicker) {
    font-size: 18px;
  }

  .service-lux-summary {
    margin-inline: 16px;
  }

  .service-lux-options,
  .service-lux-steps {
    grid-template-columns: 1fr;
  }

  .service-lux-options article,
  .service-lux-steps article {
    min-height: auto;
  }

  .service-lux-options h3,
  .service-lux-steps h3 {
    margin-top: 42px;
  }
}

/* ---------------------------------------------------------------------------
   Layout fixes. Several page-specific rules above (home-minimal, inner-minimal)
   come after the shared breakpoints and re-set two-column grids, so they win on
   small screens. These rules come last on purpose.
   --------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-companies {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-contact {
    min-width: 0;
  }
}

@media (max-width: 980px) {
  body.home-minimal .intro .split,
  body.home-minimal .product-showcase .section-head,
  body.inner-minimal .subpage-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  body.inner-minimal .subpage-hero {
    min-height: auto;
  }

  body.inner-minimal .subpage-hero > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-contact {
    justify-self: start;
  }

  .footer-companies article {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* --- Accessibility -------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --- Inquiry form result and WhatsApp ------------------------------------ */

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-actions[hidden] {
  display: none;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

.not-found {
  min-height: 70vh;
}

.not-found .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.nav .lang-switch,
.nav .nav-cta {
  white-space: nowrap;
}

/* --- Inquiry result popup ------------------------------------------------- */

.form-dialog {
  position: fixed;
  width: min(460px, calc(100vw - 32px));
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(45, 41, 37, 0.25);
  text-align: center;
}

.form-dialog::backdrop {
  background: rgba(45, 41, 37, 0.45);
}

.form-dialog h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.form-dialog p {
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.form-dialog .form-actions {
  justify-content: center;
}

.form-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.form-dialog-close:hover {
  background: var(--soft);
}

/* Between tablet and wide desktop the full nav leaves no room for the tagline,
   which otherwise wraps out of the header. */
@media (max-width: 1180px) {
  .brand small {
    display: none;
  }
}

/* WhatsApp shortcut under the inquiry form */
.form-whatsapp {
  justify-self: start;
  color: #128c4b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.form-whatsapp:hover,
.form-whatsapp:focus-visible {
  text-decoration: underline;
}
