:root {
  --navy-950: #031c25;
  --navy-900: #062833;
  --navy-800: #0a3440;
  --teal-600: #157d79;
  --teal-500: #1b928b;
  --gold-500: #d8ad52;
  --gold-400: #e2bd69;
  --cream-100: #f7f2e9;
  --cream-50: #fbf8f2;
  --sand-200: #e5dac9;
  --sand-100: #eee6da;
  --ink: #0a2732;
  --muted: #647178;
  --white: #ffffff;
  --line: rgba(10, 39, 50, 0.14);
  --shadow: 0 24px 70px rgba(3, 28, 37, 0.14);
  --shadow-soft: 0 14px 42px rgba(3, 28, 37, 0.09);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1180px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream-50);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

::selection {
  color: var(--navy-950);
  background: var(--gold-400);
}

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

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--gold-400);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--teal-600);
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
}

.section-heading-light h2,
.section-heading-light > p:last-child {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.82rem;
}

.button-gold {
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 10px 30px rgba(216, 173, 82, 0.22);
}

.button-gold:hover {
  background: #e4bd69;
  box-shadow: 0 14px 34px rgba(216, 173, 82, 0.3);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}

.button-navy {
  color: var(--white);
  background: var(--navy-900);
}

.button-navy:hover {
  background: var(--teal-600);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--teal-600);
  font-weight: 750;
}

.text-link span:last-child {
  transition: transform 160ms ease;
}

.text-link:hover span:last-child {
  transform: translate(3px, -3px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 28, 37, 0.91);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 186px;
  height: 48px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
}

.primary-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

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

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-switcher {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-button {
  min-width: 38px;
  padding: 6px 9px;
  border: 0;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--navy-950);
  background: var(--gold-500);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  padding: 84px 0 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(27, 146, 139, 0.18), transparent 30%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 58%, #093741);
}

.hero::after {
  position: absolute;
  right: -20%;
  bottom: -66%;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(216, 173, 82, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-pattern,
.about-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, rgba(216,173,82,.08) 12%, transparent 12.5%, transparent 87%, rgba(216,173,82,.08) 87.5%, rgba(216,173,82,.08)),
    linear-gradient(150deg, rgba(216,173,82,.08) 12%, transparent 12.5%, transparent 87%, rgba(216,173,82,.08) 87.5%, rgba(216,173,82,.08)),
    linear-gradient(30deg, rgba(216,173,82,.08) 12%, transparent 12.5%, transparent 87%, rgba(216,173,82,.08) 87.5%, rgba(216,173,82,.08)),
    linear-gradient(150deg, rgba(216,173,82,.08) 12%, transparent 12.5%, transparent 87%, rgba(216,173,82,.08) 87.5%, rgba(216,173,82,.08)),
    linear-gradient(60deg, rgba(27,146,139,.06) 25%, transparent 25.5%, transparent 75%, rgba(27,146,139,.06) 75%, rgba(27,146,139,.06));
  background-position: 0 0, 0 0, 54px 94px, 54px 94px, 0 0;
  background-size: 108px 188px;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 66%);
  mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 66%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  padding: 24px 0 72px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(3.6rem, 6.8vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  color: var(--gold-400);
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(216, 173, 82, 0.54);
  background: #e9dfd0;
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame-main {
  top: 0;
  right: 0;
  width: 78%;
  aspect-ratio: 0.79;
  padding: 11px;
  background: rgba(3, 28, 37, 0.66);
  border-radius: 180px 180px 24px 24px;
}

.hero-frame-main img {
  border-radius: 168px 168px 15px 15px;
}

.hero-frame-small {
  width: 39%;
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 18px;
  background: var(--navy-900);
}

.hero-frame-small img {
  border-radius: 12px;
}

.hero-frame-camel {
  left: 0;
  bottom: 74px;
  transform: rotate(-2deg);
}

.hero-frame-tray {
  right: -7%;
  bottom: -18px;
  width: 32%;
  transform: rotate(3deg);
}

.hero-note {
  position: absolute;
  z-index: 3;
  top: 62px;
  left: 2%;
  display: flex;
  width: 180px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(3, 28, 37, 0.28);
  transform: rotate(-4deg);
}

.hero-note-number {
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
}

.hero-note span:last-child {
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.25;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: repeat(4, 1fr);
}

.hero-metrics > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 22px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-metrics strong {
  color: var(--gold-400);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 650;
}

/* Intro */
.intro {
  background: var(--cream-50);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 90px;
}

.intro-copy {
  padding-top: 34px;
}

.intro-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Products */
.products-section {
  background: var(--cream-100);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--navy-900);
  color: var(--white);
  background: var(--navy-900);
}

.product-grid {
  display: grid;
  margin-top: 54px;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(3, 28, 37, 0.14);
}

.product-card.is-hidden {
  display: none;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.18;
  background: #ebe2d5;
}

.product-image-wrap::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(3, 28, 37, 0.3), transparent);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-card:hover .product-image-wrap::after {
  opacity: 1;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.product-card[data-product="03"] .product-image-wrap img,
.product-card[data-product="05"] .product-image-wrap img,
.product-card[data-product="08"] .product-image-wrap img,
.product-card[data-product="09"] .product-image-wrap img,
.product-card[data-product="13"] .product-image-wrap img {
  object-fit: contain;
  padding: 14px;
  background: #f0e7db;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.045);
}

.product-number {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  color: var(--navy-950);
  background: rgba(247, 242, 233, 0.9);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.product-card-content {
  padding: 23px 24px 25px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--teal-600);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.product-card-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-use {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-details-button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--teal-600);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.product-details-button:hover {
  color: var(--navy-900);
}

.noscript-message {
  padding: 20px;
  background: #fff4d8;
  border-radius: 12px;
}

/* Capabilities */
.capabilities {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.capabilities::before {
  position: absolute;
  top: -180px;
  left: -120px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(216, 173, 82, 0.12);
  border-radius: 50%;
  content: "";
}

.capabilities-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 80px;
}

.capabilities-top > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
}

.capability-grid {
  position: relative;
  display: grid;
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: repeat(4, 1fr);
}

.capability-card {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 200ms ease;
}

.capability-card:hover {
  background: rgba(255, 255, 255, 0.055);
}

.capability-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 850;
}

.capability-card h3 {
  margin: 38px 0 12px;
  font-size: 1.18rem;
}

.capability-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.palette-panel {
  display: grid;
  margin-top: 34px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.palette-panel h3 {
  margin: 0;
  font-size: 1.55rem;
}

.palette-panel p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.86rem;
}

.palette-swatches {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 10px;
}

.palette-swatches span {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.13);
  background: var(--swatch);
  border-radius: 50%;
  cursor: help;
}

/* Process */
.process {
  background: var(--cream-50);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  align-items: center;
  gap: 90px;
}

.process-visual {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 20px;
  border: 1px solid rgba(216, 173, 82, 0.62);
  background: var(--navy-900);
  border-radius: 240px 240px 28px 28px;
}

.process-visual img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  border-radius: 220px 220px 18px 18px;
}

.process-caption {
  position: absolute;
  right: 42px;
  bottom: 40px;
  left: 42px;
  padding: 16px 18px;
  color: var(--navy-950);
  background: rgba(216, 173, 82, 0.92);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

.process-list {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 54px 1fr;
  gap: 20px;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
}

.process-list h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.about-pattern {
  opacity: 0.22;
  transform: scaleX(-1);
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 100px;
}

.about-copy h2 {
  margin: 0 0 30px;
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.66);
}

.about-company {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-company span {
  color: var(--gold-400);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-company strong {
  font-size: 0.9rem;
}

.about-visual {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(216, 173, 82, 0.6);
  border-radius: 18px;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 10px;
}

.about-seal {
  position: absolute;
  right: -32px;
  bottom: -28px;
  display: grid;
  width: 150px;
  height: 150px;
  place-content: center;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 50%;
  text-align: center;
  transform: rotate(-7deg);
}

.about-seal strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.about-seal span {
  font-size: 0.63rem;
}

/* Download */
.download-band {
  padding: 70px 0;
  color: var(--white);
  background: var(--teal-600);
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.download-inner p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.download-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Contact */
.contact {
  background: var(--cream-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 90px;
}

.contact-copy h2 {
  margin: 0;
  max-width: 570px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  margin-top: 43px;
  border-top: 1px solid var(--line);
}

.contact-details > div {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 140px 1fr;
  gap: 18px;
}

.contact-details span {
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-details a {
  font-weight: 750;
}

.contact-details p {
  margin: 0;
  font-size: 0.86rem;
}

.inquiry-form {
  display: grid;
  padding: 38px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--cream-50);
  border-radius: 12px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.inquiry-form input {
  height: 50px;
  padding: 0 14px;
}

.inquiry-form textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21, 125, 121, 0.12);
}

.inquiry-form .button {
  justify-self: start;
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Footer */
.site-footer {
  padding: 60px 0 26px;
  color: var(--white);
  background: var(--navy-950);
}

.footer-top {
  display: grid;
  padding-bottom: 44px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 55px;
}

.footer-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.59);
}

.footer-email {
  color: var(--gold-400);
  font-weight: 750;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(3, 28, 37, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Product dialog */
.product-dialog {
  width: min(930px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(3, 28, 37, 0.34);
}

.product-dialog::backdrop {
  background: rgba(3, 28, 37, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dialog-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: 0.9fr 1fr;
}

.dialog-grid > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--sand-100);
}

.dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
}

.dialog-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dialog-content > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.dialog-meta {
  display: grid;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px 1fr;
  gap: 9px 18px;
}

.dialog-meta span {
  color: var(--teal-600);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dialog-meta strong {
  font-size: 0.78rem;
}

.dialog-content .button {
  align-self: flex-start;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 80px;
  max-width: 360px;
  padding: 13px 17px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Chinese typography */
html[data-language="zh"] body {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", ui-sans-serif, sans-serif;
}

html[data-language="zh"] .hero-copy h1,
html[data-language="zh"] .section-heading h2,
html[data-language="zh"] .about-copy h2,
html[data-language="zh"] .contact-copy h2 {
  letter-spacing: -0.035em;
}

/* Responsive */
@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .primary-nav {
    gap: 17px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 0.93fr 1.07fr;
    gap: 36px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .capability-card {
    padding: 26px 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 48px 28px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 26px;
    background: rgba(3, 28, 37, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    font-size: 1.45rem;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 12px;
  }

  .hero-visual {
    width: min(100%, 620px);
    min-height: 580px;
    margin-inline: auto;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-metrics > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .intro-grid,
  .capabilities-top,
  .process-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .products-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-filters {
    justify-content: flex-start;
  }

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

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

  .palette-panel {
    grid-template-columns: 1fr;
  }

  .process-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .process-content {
    max-width: 720px;
  }

  .about-copy {
    order: 2;
  }

  .about-visual {
    width: min(82%, 520px);
    margin-inline: auto;
  }

  .download-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand img {
    width: 154px;
    height: auto;
  }

  .header-inner {
    gap: 10px;
  }

  .language-switcher {
    display: flex;
  }

  .language-button {
    min-width: 32px;
    padding-inline: 6px;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .download-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-frame-main {
    width: 82%;
  }

  .hero-frame-small {
    width: 42%;
  }

  .hero-frame-tray {
    right: 0;
    width: 34%;
  }

  .hero-note {
    top: 42px;
    width: 158px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics > div,
  .hero-metrics > div:nth-child(3) {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .product-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    margin-top: 38px;
  }

  .product-filters {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .product-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .capability-grid {
    border-left: 0;
  }

  .capability-card {
    min-height: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.13);
  }

  .palette-panel {
    padding: 28px 24px;
  }

  .process-visual {
    min-height: 480px;
    padding: 13px;
  }

  .process-visual img {
    height: 450px;
  }

  .process-caption {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .about-visual {
    width: 88%;
  }

  .about-seal {
    right: -18px;
    bottom: -24px;
    width: 120px;
    height: 120px;
  }

  .contact-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .inquiry-form {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .dialog-grid > img {
    min-height: 280px;
    height: 280px;
  }

  .dialog-content {
    padding: 34px 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
