/* =========================================================
   XULAI QUARTZ — Precision fused quartz, made to drawing.
   Static catalogue / prototype stylesheet.
   ========================================================= */

:root {
  --ink: #08171c;
  --ink-deep: #040f13;
  --ink-soft: #0d232a;
  --paper: #f3f0e9;
  --paper-deep: #e9e3d8;
  --card: #fcfaf5;
  --white: #fafcfc;
  --ice: #d3edf1;
  --aqua: #8bd6e1;
  --brass: #c8a66f;
  --muted: #66716c;
  --muted-light: #929b95;
  --line: rgba(8, 23, 28, 0.13);
  --line-strong: rgba(8, 23, 28, 0.24);
  --line-dark: rgba(212, 243, 249, 0.14);
  --font-sans: "Inter", "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-display: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-serif: "Times New Roman", "Songti SC", "STSong", serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(20px, 4.2vw, 68px);
  --max-width: 1420px;
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 214, 225, 0.34) #07161c;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #07161c; }
::-webkit-scrollbar-thumb {
  background: #29444b;
  border: 2px solid #07161c;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: #3b5a62; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-synthesis: none;
}

body.modal-open { overflow: hidden; }

body.menu-open { overflow: hidden; }

body.is-transitioning { overflow: hidden; }

::selection {
  background: var(--aqua);
  color: var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

[hidden] { display: none !important; }

section[id],
div[id="top"] { scroll-margin-top: 96px; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 130;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--aqua);
  box-shadow: 0 0 14px rgba(139, 214, 225, 0.45);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- micro typography ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.light { color: rgba(235, 247, 249, 0.52); }

.eyebrow-index {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.eyebrow.light .eyebrow-index { color: var(--aqua); }

.rule {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.rule.dark { background: rgba(7, 19, 26, 0.25); }

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.button svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.button:hover svg { transform: translateX(4px); }

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.button-ghost {
  border-color: rgba(231, 247, 250, 0.26);
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(231, 247, 250, 0.68);
  background: rgba(255, 255, 255, 0.055);
}

.button-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: #0d2732;
  border-color: #0d2732;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(6, 20, 27, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 11px;
  gap: 10px;
}

.button-small svg { width: 15px; height: 15px; }

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s, opacity 0.3s;
}

.text-button:hover { border-color: var(--ink); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid rgba(216, 243, 248, 0.1);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 15, 21, 0.84);
  border-bottom-color: rgba(216, 243, 248, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--white);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--ice);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-type strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.brand-type span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: rgba(235, 247, 249, 0.47);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(21px, 2.6vw, 38px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  padding: 7px 0;
  font-size: 12px;
  letter-spacing: 0.07em;
  color: rgba(235, 247, 249, 0.66);
  transition: color 0.3s;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--aqua);
  transition: width 0.35s var(--ease);
}

.primary-nav a:hover { color: var(--white); }
.primary-nav a:hover::after { width: 100%; }

.primary-nav sup {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--aqua);
  letter-spacing: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.header-mail {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(235, 247, 249, 0.48);
  transition: color 0.3s;
}

.header-mail:hover { color: var(--white); }

.menu-button {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(235, 247, 249, 0.22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 1px;
  background: var(--white);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 22px; width: 10px; }

body.menu-open .menu-button span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

body.menu-open .menu-button span:last-child {
  top: 19px;
  width: 14px;
  transform: rotate(-45deg);
}

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 116px 0 30px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 12%, rgba(70, 164, 190, 0.16), transparent 42%),
    linear-gradient(160deg, #071822, #040d12 72%);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s;
  overflow-y: auto;
}

body.menu-open .mobile-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner {
  min-height: calc(100dvh - 146px);
  display: flex;
  flex-direction: column;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: baseline;
  padding: 19px 0;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(23px, 5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mobile-menu nav a:last-child { border-bottom: 1px solid var(--line-dark); }

.mobile-menu nav a span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--aqua);
}

.mobile-menu nav a em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  color: rgba(235, 247, 249, 0.33);
}

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 40px;
}

.mobile-menu-foot > a {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(235, 247, 249, 0.58);
}

/* ---------- page transition ---------- */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1400;
  visibility: hidden;
  pointer-events: none;
}

.page-transition.is-active {
  visibility: visible;
  pointer-events: auto;
}

.transition-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(35, 100, 119, 0.18), transparent 55%),
    #040f14;
  transition: transform 0.64s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.panel-left {
  left: 0;
  transform: translateX(-101%);
}

.panel-right {
  right: 0;
  transform: translateX(101%);
}

.page-transition.is-active .panel-left,
.page-transition.is-active .panel-right { transform: translateX(0); }

.page-transition.is-leaving .panel-left { transform: translateX(-101%); }
.page-transition.is-leaving .panel-right { transform: translateX(101%); }

.page-transition.is-leaving .transition-panel { transition-delay: 0.04s; }

.transition-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--white);
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.page-transition.is-active .transition-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}

.page-transition.is-leaving .transition-content {
  opacity: 0;
  transform: translateY(-5px);
  transition-duration: 0.12s;
  transition-delay: 0s;
}

.transition-mark {
  width: 44px;
  height: 44px;
  color: var(--ice);
}

.transition-content p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.transition-content strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(247, 252, 252, 0.92);
}

.transition-content p span {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.24em;
  color: rgba(211, 237, 241, 0.45);
}

.transition-bar {
  width: 118px;
  height: 1px;
  margin-top: 6px;
  background: rgba(211, 237, 241, 0.14);
  overflow: hidden;
}

.transition-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}

.page-transition.is-active .transition-bar span {
  animation: transitionBar 0.72s 0.2s var(--ease) forwards;
}

@keyframes transitionBar {
  to { transform: scaleX(1); }
}

/* =========================================================
   Hero — moving product corridor
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #040f14;
}

.hero-gallery {
  position: absolute;
  inset: -5% -4%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 17px);
  transform: scale(1.04);
  opacity: 0.78;
  pointer-events: none;
}

.gallery-row {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: galleryLeft 112s linear infinite;
  will-change: transform;
}

.gallery-row:nth-child(1) .gallery-track { margin-left: -7vw; }
.gallery-row:nth-child(2) .gallery-track { margin-left: -18vw; }
.gallery-row:nth-child(3) .gallery-track { margin-left: -3vw; }

.gallery-row:nth-child(2) .gallery-track {
  animation-direction: reverse;
  animation-duration: 132s;
}

.gallery-row:nth-child(3) .gallery-track {
  animation-duration: 152s;
}

.gallery-set {
  display: flex;
  flex: none;
  gap: clamp(9px, 1.05vw, 15px);
  padding-right: clamp(9px, 1.05vw, 15px);
}

.gallery-item {
  position: relative;
  flex: none;
  width: clamp(190px, 30vh, 342px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(205, 238, 244, 0.14);
  background: #0a1b23;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.58) brightness(0.52) contrast(1.09);
  transform: scale(1.015);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(2, 10, 15, 0.08), rgba(2, 10, 15, 0.38));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(4, 15, 20, 0.8) 0%, rgba(4, 15, 20, 0.57) 31%, rgba(4, 15, 20, 0.2) 57%, rgba(4, 15, 20, 0.75) 100%),
    linear-gradient(180deg, rgba(4, 15, 20, 0.8) 0%, rgba(4, 15, 20, 0.15) 25%, rgba(4, 15, 20, 0.24) 67%, rgba(4, 15, 20, 0.96) 100%);
}

.hero-center {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 96px;
  text-align: center;
}

.hero-center::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(880px, 86vw);
  height: min(430px, 46vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(3, 13, 18, 0.56), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
}

.hero-eyebrow {
  justify-content: center;
  margin-bottom: 27px;
  animation: heroIn 0.9s 0.06s var(--ease) both;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(139, 214, 225, 0.12), 0 0 18px rgba(139, 214, 225, 0.7);
  animation: pulseDot 3.2s ease-in-out infinite;
}

.hero-brand {
  margin-right: -0.08em;
  font-size: clamp(4.2rem, 12vw, 11rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--white);
  text-shadow: 0 16px 55px rgba(0, 0, 0, 0.35);
  animation: heroIn 1.1s 0.12s var(--ease) both;
}

.hero-brand-en {
  margin-top: 17px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.48em;
  color: rgba(211, 237, 241, 0.55);
  animation: heroIn 0.9s 0.2s var(--ease) both;
}

.hero-tagline {
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: rgba(234, 247, 249, 0.58);
  animation: heroIn 0.9s 0.26s var(--ease) both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 36px;
  animation: heroIn 0.9s 0.34s var(--ease) both;
}

.hero-actions .button {
  min-width: 142px;
}

.hero-actions .button-ghost {
  background: rgba(5, 16, 21, 0.86);
  border-color: rgba(231, 247, 250, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-actions .button-ghost:hover {
  background: rgba(8, 25, 31, 0.96);
  border-color: rgba(231, 247, 250, 0.76);
}

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 23px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 243, 248, 0.14);
}

.hero-foot > p {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.15em;
  color: rgba(235, 247, 249, 0.3);
}

.hero-foot > p span {
  margin: 0 8px;
  color: var(--aqua);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(235, 247, 249, 0.48);
  transition: color 0.3s;
}

.scroll-cue:hover { color: var(--white); }

.scroll-line {
  display: inline-block;
  width: clamp(30px, 5vw, 58px);
  height: 1px;
  background: rgba(235, 247, 249, 0.2);
}

.scroll-cue svg {
  width: 12px;
  height: 18px;
  color: var(--aqua);
  animation: scrollArrow 2.4s ease-in-out infinite;
}

@keyframes galleryLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Discipline strip
   ========================================================= */

.discipline-strip {
  border-top: 1px solid rgba(216, 243, 248, 0.07);
  border-bottom: 1px solid rgba(216, 243, 248, 0.09);
  background: #06141c;
  color: var(--white);
}

.strip-inner {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.strip-label,
.strip-code {
  flex: none;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.22em;
  color: rgba(235, 247, 249, 0.33);
}

.strip-inner p {
  flex: 1;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(235, 247, 249, 0.6);
}

.strip-inner p span {
  margin: 0 12px;
  color: var(--aqua);
}

/* =========================================================
   Shared section typography
   ========================================================= */

.section {
  position: relative;
  padding: clamp(84px, 9.5vw, 150px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.66fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
  margin-bottom: clamp(42px, 5vw, 70px);
}

.section-heading h2 {
  margin-top: 21px;
  font-size: clamp(2.55rem, 4.55vw, 4.7rem);
  line-height: 1.11;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading h2 span { color: #7f857f; }

.section-aside {
  max-width: 390px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.section-aside p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.section-aside .aside-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.9;
  letter-spacing: 0.16em;
  color: #99a5a7;
}

/* =========================================================
   Catalogue
   ========================================================= */

.products {
  background:
    radial-gradient(ellipse at 92% 2%, rgba(164, 202, 210, 0.22), transparent 30%),
    var(--paper);
}

.products::before {
  content: "PRODUCTS / 01—15";
  position: absolute;
  top: 50%;
  right: 18px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.24em;
  color: rgba(7, 19, 26, 0.22);
}

.catalog-tools {
  position: sticky;
  top: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 calc(var(--gutter) * -0.18);
  padding: 13px calc(var(--gutter) * 0.18);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 243, 239, 0.91);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.filter-list {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-list::-webkit-scrollbar { display: none; }

.filter {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  flex: none;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 1px;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #68777b;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.filter sup {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  line-height: 1;
  color: #98a5a7;
}

.filter:hover {
  color: var(--ink);
  border-color: var(--line);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.filter.is-active sup { color: var(--aqua); }

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  width: 235px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  transition: border-color 0.3s, background 0.3s;
}

.search-box:focus-within {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
}

.search-box svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #7f8d90;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.search-box input::placeholder {
  color: #929d9f;
  letter-spacing: 0.05em;
}

.search-box kbd {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  color: #8c999b;
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px 20px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  color: #8d9a9c;
}

.catalog-status span:last-child { color: #99a5a7; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 1.9vw, 27px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(7, 19, 26, 0.12);
  background: var(--card);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease), opacity 0.6s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 19, 26, 0.3);
  box-shadow: 0 28px 58px rgba(10, 34, 43, 0.12);
}

.product-card:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce8ec;
  isolation: isolate;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(4, 17, 24, 0.45), transparent 40%);
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.94) contrast(1.015);
  transition: transform 1.1s var(--ease);
}

.product-card:hover .card-media img { transform: scale(1.035); }

.card-index,
.card-category {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: rgba(247, 251, 252, 0.9);
}

.card-index {
  top: 13px;
  left: 14px;
  padding: 4px 6px;
  background: rgba(4, 16, 23, 0.45);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  font-size: 7px;
}

.card-category {
  left: 14px;
  bottom: 12px;
  font-size: 6.5px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.card-arrow {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(246, 252, 253, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: rgba(4, 16, 23, 0.18);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s;
}

.card-arrow svg { width: 15px; height: 15px; }

.product-card:hover .card-arrow {
  transform: rotate(0deg) scale(1.04);
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 19px 20px;
}

.card-en {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 6.8px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  color: #929fa1;
}

.card-body h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.card-desc {
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 15px;
}

.card-tags li {
  padding: 4px 7px;
  border: 1px solid rgba(7, 19, 26, 0.12);
  border-radius: 99px;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #57676b;
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  font-size: 0;
}

.card-link:focus-visible {
  outline: none;
}

.product-card.is-hidden { display: none; }

.catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 70px 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
}

.catalog-empty > span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.catalog-empty p {
  max-width: 380px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* =========================================================
   Applications
   ========================================================= */

.applications {
  background:
    radial-gradient(ellipse at 4% 12%, rgba(168, 199, 206, 0.24), transparent 28%),
    var(--paper);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px 23px 34px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.55s var(--ease), color 0.55s var(--ease);
}

.application-card:last-child { border-right: 0; }

.application-card:hover {
  background: var(--ink);
  color: var(--white);
}

.application-num {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #9ca8aa;
  transition: color 0.4s;
}

.application-card:hover .application-num { color: var(--aqua); }

.application-en {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: #98a4a6;
  transition: color 0.4s;
}

.application-card:hover .application-en { color: rgba(232, 245, 248, 0.4); }

.application-card h3 {
  margin-top: auto;
  padding-top: 54px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.application-card > p:last-of-type {
  margin-top: 12px;
  max-width: 245px;
  font-size: 11.5px;
  line-height: 1.8;
  color: #6c7a7d;
  transition: color 0.4s;
}

.application-card:hover > p:last-of-type { color: rgba(232, 245, 248, 0.55); }

.application-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--aqua);
  transition: width 0.6s var(--ease);
}

.application-card:hover .application-line { width: 100%; }

/* =========================================================
   Contact & footer
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 140px) 0 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(55, 151, 177, 0.2), transparent 40%),
    linear-gradient(150deg, #071923, #040d12 74%);
}

.contact-glow {
  position: absolute;
  right: -18vw;
  bottom: -34vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(181, 231, 241, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(181, 231, 241, 0.018);
  pointer-events: none;
}

.contact-top h2 {
  margin-top: 25px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.contact-top h2 em {
  font-style: normal;
  color: var(--ice);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(46px, 6vw, 76px);
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 510px);
  padding: 23px 0;
  border-top: 1px solid rgba(216, 243, 248, 0.25);
  border-bottom: 1px solid rgba(216, 243, 248, 0.25);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.4s, padding 0.4s var(--ease);
}

.contact-button:hover {
  border-color: var(--aqua);
  padding-left: 10px;
  padding-right: 10px;
}

.contact-button > span:first-child {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.contact-button small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: rgba(232, 245, 248, 0.36);
}

.contact-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid rgba(216, 243, 248, 0.32);
  border-radius: 50%;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.contact-arrow svg { width: 25px; height: 25px; }

.contact-button:hover .contact-arrow {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--ink);
}

.contact-note {
  max-width: 410px;
  margin-top: 17px;
  font-size: 10.5px;
  line-height: 1.8;
  color: rgba(232, 245, 248, 0.38);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  padding-left: clamp(24px, 4vw, 48px);
  border-left: 1px solid rgba(216, 243, 248, 0.13);
}

.contact-item > span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  color: rgba(232, 245, 248, 0.32);
}

.contact-item a,
.contact-item p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 251, 252, 0.86);
  overflow-wrap: anywhere;
  transition: color 0.3s;
}

.contact-item a:hover { color: var(--aqua); }

.contact-address {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 243, 248, 0.1);
}

.contact-address p { max-width: 360px; }

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  align-items: center;
  gap: 30px;
  margin-top: clamp(68px, 9vw, 120px);
  padding: 27px 0 33px;
  border-top: 1px solid rgba(216, 243, 248, 0.11);
}

.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand .brand-type strong { font-size: 13px; }
.footer-brand .brand-type span { font-size: 6.5px; }

.footer-brand > p {
  margin-top: 13px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(232, 245, 248, 0.3);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 21px;
}

.footer-nav a {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(232, 245, 248, 0.46);
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--white); }

.footer-meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.9;
  letter-spacing: 0.11em;
  color: rgba(232, 245, 248, 0.28);
}

/* =========================================================
   Product dialog
   ========================================================= */

.modal {
  width: min(1070px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(2, 9, 13, 0.76);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.modal[open] { animation: modalIn 0.42s var(--ease) both; }
.modal[open]::backdrop { animation: backdropIn 0.35s ease both; }

.modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  z-index: 8;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(7, 19, 26, 0.2);
  border-radius: 50%;
  background: rgba(247, 249, 246, 0.8);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.modal-close.light {
  border-color: rgba(244, 251, 252, 0.26);
  background: rgba(5, 16, 23, 0.5);
  color: var(--white);
}

.modal-close.light:hover { background: var(--white); color: var(--ink); }

.modal-close span {
  position: absolute;
  width: 15px;
  height: 1px;
  background: currentColor;
}

.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }

.product-modal-media {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  overflow: hidden;
  background: #081820;
}

.modal-media-blur {
  position: absolute;
  inset: -12%;
  background-position: center;
  background-size: cover;
  filter: blur(34px) brightness(0.34) saturate(0.75);
  transform: scale(1.12);
  opacity: 0.95;
}

.product-modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(3, 14, 21, 0.52), transparent 34%),
    linear-gradient(to bottom, rgba(3, 14, 21, 0.28), transparent 24%);
  pointer-events: none;
}

.product-modal-media > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 110px);
  object-fit: contain;
  border: 1px solid rgba(248, 252, 253, 0.16);
  box-shadow: 0 28px 66px rgba(0, 0, 0, 0.34);
}

.modal-media-index,
.modal-media-cat {
  position: absolute;
  z-index: 2;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  color: rgba(249, 253, 253, 0.75);
}

.modal-media-index { top: 22px; }
.modal-media-cat { bottom: 22px; color: rgba(249, 253, 253, 0.5); }

.product-modal-body {
  display: flex;
  flex-direction: column;
  padding: 42px 37px 30px;
}

.product-modal-body h2 {
  margin-top: 21px;
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.modal-en {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: #8b989a;
}

.modal-detail {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.95;
  color: #647377;
}

.modal-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 24px;
}

.modal-features li {
  position: relative;
  padding: 11px 0 11px 14px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.6;
  color: #526266;
}

.modal-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aqua);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.modal-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 8px;
  color: #607074;
}

.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: auto;
  padding-top: 28px;
}

.modal-hint {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: #98a4a6;
}

/* =========================================================
   Quote dialog
   ========================================================= */

.quote-modal { width: min(1010px, calc(100vw - 40px)); }

.quote-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
}

.quote-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 34px 34px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 88% 8%, rgba(74, 174, 197, 0.25), transparent 46%),
    linear-gradient(160deg, #081b25, #040e14);
}

.quote-aside::after {
  content: "";
  position: absolute;
  right: -40%;
  bottom: -28%;
  width: 115%;
  aspect-ratio: 1;
  border: 1px solid rgba(181, 231, 241, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.quote-aside h2 {
  margin-top: 26px;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.quote-aside > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.9;
  color: rgba(232, 245, 248, 0.48);
}

.quote-aside-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 40px;
}

.quote-aside-foot span {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  color: rgba(232, 245, 248, 0.32);
}

.quote-aside-foot a {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(245, 251, 252, 0.83);
  overflow-wrap: anywhere;
}

.quote-mobile-head { display: none; }

.quote-body {
  padding: 44px 38px 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field-full { grid-column: 1 / -1; }

.field > span:first-child {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #5c6b6f;
}

.field > span:first-child em {
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: #99a5a7;
}

.field input:not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--ink);
  font-size: 11.5px;
  transition: border-color 0.3s, background 0.3s;
}

.field input:not([type="file"]),
.field select {
  height: 43px;
  padding: 0 11px;
}

.field textarea {
  min-height: 94px;
  padding: 10px 11px;
  line-height: 1.7;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #9da8aa; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #ae5547;
  background: rgba(174, 85, 71, 0.04);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23707e81' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.file-field { position: relative; }

.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 51px;
  padding: 8px 11px;
  border: 1px dashed rgba(7, 19, 26, 0.22);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.file-field:hover .file-ui {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.45);
}

.file-field:focus-within .file-ui {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.file-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border: 1px solid var(--line);
  color: #617175;
}

.file-icon svg { width: 16px; height: 16px; }

.file-ui > span:nth-child(2) {
  font-size: 10px;
  color: #718084;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-ui small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.05em;
  color: #a0abad;
  white-space: nowrap;
}

.form-error {
  margin-top: 13px;
  font-size: 10px;
  color: #9c4035;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.form-footer p {
  max-width: 255px;
  font-size: 9px;
  line-height: 1.7;
  color: #929da0;
}

/* quote result */

.quote-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.result-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
}

.result-mark svg { width: 24px; height: 24px; }

.quote-result h3 {
  margin-top: 18px;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.quote-result > p:not(.eyebrow):not(.result-note) {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: #6b7a7d;
}

.quote-summary {
  width: 100%;
  max-height: 190px;
  margin: 20px 0 0;
  padding: 13px;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: #536367;
}

.result-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.result-note {
  min-height: 16px;
  margin-top: 13px;
  font-size: 9px;
  color: #597075;
}

/* =========================================================
   Reveal / motion
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.js .product-card.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
    border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.js .product-card.reveal.is-inview {
  transition: opacity 0.7s var(--ease), transform 0.45s var(--ease),
    border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.js .product-card.reveal.is-inview:hover {
  transform: translateY(-6px);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes visualIn {
  from { opacity: 0; transform: translateY(20px) rotateX(3deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* =========================================================
   Type & colour refinement
   ========================================================= */

.eyebrow { font-size: 10px; letter-spacing: 0.18em; gap: 12px; }
.eyebrow-index { font-size: 9px; color: var(--brass); }
.rule { width: 42px; }

.brand-type strong { font-size: 16px; }
.brand-type span { font-size: 8px; }
.primary-nav a { font-size: 13px; letter-spacing: 0.06em; }
.primary-nav sup { font-size: 8px; }
.header-mail { font-size: 10px; }

.button { min-height: 54px; padding: 0 25px; font-size: 13px; }
.button-small { min-height: 44px; padding: 0 19px; font-size: 12px; }

.section-heading h2 { font-size: clamp(2.6rem, 4.35vw, 4.5rem); line-height: 1.12; }
.section-heading h2 span { color: #7f857f; }
.section-aside p { font-size: 14px; line-height: 1.95; }
.section-aside .aside-meta { font-size: 8.5px; }

.filter { min-height: 40px; padding: 0 12px; font-size: 12px; }
.filter sup { margin-top: 11px; font-size: 8px; }
.search-box input { font-size: 11px; }
.search-box kbd { font-size: 9px; }
.catalog-status { font-size: 9px; }

.card-index { padding: 5px 7px; font-size: 8px; }
.card-category { font-size: 7.5px; }
.card-en { font-size: 8px; letter-spacing: 0.11em; }
.card-body h3 { font-size: 22px; line-height: 1.38; }
.card-desc { font-size: 13px; line-height: 1.8; color: var(--muted); }
.card-tags li { padding: 5px 9px; font-size: 9.5px; }
.card-arrow { width: 34px; height: 34px; }

.application-num { font-size: 9px; }
.application-en { font-size: 7.5px; }
.application-card h3 { font-size: 23px; }
.application-card > p:last-of-type { max-width: 260px; font-size: 13px; line-height: 1.85; }

.contact-button > span:first-child { font-size: 19px; }
.contact-button small { font-size: 8px; }
.contact-note { font-size: 12px; line-height: 1.85; }
.contact-item > span { font-size: 8px; }
.contact-item a, .contact-item p { font-size: 13.5px; }
.contact-address p { max-width: 380px; }

.footer-brand .brand-type strong { font-size: 14px; }
.footer-brand > p { font-size: 9px; }
.footer-nav a { font-size: 10px; }
.footer-meta { font-size: 8px; }

.modal-media-index, .modal-media-cat { z-index: 3; font-size: 8px; }
.modal-en { font-size: 8.5px; }
.modal-detail { font-size: 14.5px; line-height: 1.95; color: var(--muted); }
.modal-features li { padding: 12px 0 12px 14px; font-size: 12px; }
.modal-tags span { font-size: 9px; }
.modal-hint { font-size: 8px; }

.quote-aside > p:not(.eyebrow) { font-size: 13px; line-height: 1.9; }
.quote-aside-foot span { font-size: 8px; }
.quote-aside-foot a { font-size: 12.5px; }
.field > span:first-child { font-size: 10px; }
.field > span:first-child em { font-size: 7.5px; }
.field input:not([type="file"]), .field select, .field textarea { font-size: 12.5px; }
.file-ui > span:nth-child(2) { font-size: 11px; }
.file-ui small { font-size: 7.5px; }
.form-footer p { max-width: 285px; font-size: 10px; line-height: 1.7; }
.quote-result > p:not(.eyebrow):not(.result-note) { font-size: 12.5px; }
.quote-summary { font-size: 9px; }
.result-note { font-size: 10px; }

.products {
  background:
    radial-gradient(ellipse at 92% 2%, rgba(201, 180, 142, 0.18), transparent 30%),
    var(--paper);
}

.applications {
  background:
    radial-gradient(ellipse at 4% 12%, rgba(201, 180, 142, 0.14), transparent 28%),
    var(--paper);
}

.card-media img { filter: saturate(0.86) contrast(1.025) brightness(0.985); }
.product-card:hover .card-media img { transform: scale(1.03); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1280px) {
  .header-mail { display: none; }
}

@media (max-width: 1120px) {
  .primary-nav { gap: 21px; }
  .product-grid { gap: 17px; }
  .card-body { padding: 16px 16px 18px; }
  .card-body h3 { font-size: 19px; }
}

@media (max-width: 980px) {
  :root { --header-h: 78px; }

  .primary-nav { display: none; }
  .menu-button { display: block; }
  .header-tools { gap: 14px; }
  .site-header.is-scrolled .header-inner { height: 68px; }

  .hero {
    min-height: 100svh;
    padding: 0;
  }

  .hero-center {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 92px;
  }

  .hero-brand {
    font-size: clamp(4rem, 13vw, 8.2rem);
  }

  .hero-gallery { inset: -5% -12%; }

  .gallery-item { width: clamp(185px, 30vh, 302px); }

  .hero-foot { bottom: 18px; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .section-aside {
    max-width: 520px;
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .application-card:nth-child(2) { border-right: 0; }
  .application-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .contact-grid { grid-template-columns: 1fr; gap: 45px; }

  .contact-details {
    max-width: 600px;
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid rgba(216, 243, 248, 0.13);
  }

  .footer { grid-template-columns: 1fr 1fr; }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 6px;
  }

  .product-modal-media { min-height: 490px; }

  .quote-aside { padding: 40px 28px 28px; }
  .quote-body { padding: 38px 30px 30px; }
}

@media (max-width: 760px) {
  .button { min-height: 50px; padding: 0 20px; font-size: 12px; }
  .button-small { min-height: 42px; padding: 0 15px; font-size: 11px; }

  .header-inner { gap: 14px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-type strong { font-size: 13px; }
  .brand-type span { font-size: 6.5px; }
  .header-tools .button { display: none; }

  .mobile-menu { padding-top: 104px; }

  .hero-center {
    padding-top: 120px;
    padding-bottom: 82px;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 8.5px;
    gap: 8px;
  }

  .hero-brand {
    font-size: clamp(3.85rem, 15.5vw, 5.4rem);
    letter-spacing: 0.06em;
  }

  .hero-brand-en {
    margin-top: 13px;
    font-size: 8px;
    letter-spacing: 0.34em;
  }

  .hero-tagline {
    margin-top: 10px;
    font-size: 12px;
  }

  .hero-actions {
    width: min(100%, 330px);
    flex-direction: column;
    gap: 9px;
    margin-top: 28px;
  }

  .hero-actions .button { width: 100%; }

  .hero-gallery {
    inset: -3% -28%;
    gap: 9px;
    opacity: 0.72;
  }

  .gallery-item { width: clamp(190px, 30vh, 240px); }
  .gallery-set { gap: 9px; padding-right: 9px; }

  .hero-foot {
    bottom: 15px;
    padding-top: 11px;
  }

  .hero-foot > p { display: none; }
  .scroll-cue { font-size: 7px; gap: 9px; }

  .strip-inner { min-height: 56px; gap: 12px; }
  .strip-inner p { font-size: 9px; letter-spacing: 0.05em; text-align: left; }
  .strip-inner p span { margin: 0 5px; }
  .strip-code { display: none; }
  .strip-label { font-size: 7px; }

  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 38px; gap: 20px; }
  .section-heading h2 { font-size: clamp(2rem, 8vw, 3.4rem); }
  .eyebrow { font-size: 9px; gap: 8px; }
  .rule { width: 25px; }

  .catalog-tools {
    top: 68px;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 calc(var(--gutter) * -0.5);
    padding: 10px calc(var(--gutter) * 0.5);
  }

  .filter-list {
    width: 100%;
    order: 1;
  }

  .filter { min-height: 36px; padding: 0 9px; font-size: 11px; }

  .search-box {
    width: 100%;
    order: 2;
    background: rgba(255, 255, 255, 0.5);
  }

  .catalog-status { padding: 12px 0 16px; font-size: 8px; }
  .catalog-status span:last-child { display: none; }

  .product-grid { grid-template-columns: 1fr; gap: 15px; }
  .card-body { padding: 19px 19px 21px; }
  .card-body h3 { font-size: 22px; }
  .card-desc { font-size: 13px; }
  .card-en { font-size: 8px; }

  .application-grid { grid-template-columns: 1fr; }
  .application-card {
    min-height: 0;
    padding: 22px 20px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .application-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .application-card:last-child { border-bottom: 0; }
  .application-card h3 { margin-top: 0; padding-top: 26px; font-size: 23px; }
  .application-card > p:last-of-type { max-width: none; }
  .application-en { margin-top: 9px; }

  .contact { padding-top: 76px; }
  .contact-top h2 { font-size: clamp(2.7rem, 11vw, 4.5rem); }
  .contact-grid { margin-top: 40px; gap: 36px; }
  .contact-button { padding: 19px 0; }
  .contact-button > span:first-child { font-size: 16px; }
  .contact-arrow { width: 46px; height: 46px; }
  .contact-details { gap: 23px 18px; }
  .contact-item a, .contact-item p { font-size: 12.5px; }

  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 58px;
    padding: 25px 0 27px;
  }
  .footer-meta { padding-top: 0; }
  .footer-nav { gap: 10px 18px; }

  .modal { width: calc(100vw - 22px); max-height: calc(100dvh - 22px); }
  .modal-shell, .quote-shell { max-height: calc(100dvh - 22px); }
  .modal-shell { grid-template-columns: 1fr; }
  .product-modal-media {
    min-height: 0;
    padding: 14px;
  }
  .product-modal-media > img {
    max-height: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  }
  .product-modal-body { padding: 29px 22px 24px; }
  .product-modal-body h2 { margin-top: 16px; font-size: 31px; }
  .modal-detail { margin-top: 17px; font-size: 12px; }
  .modal-features { margin-top: 18px; }
  .modal-features li { font-size: 10px; }
  .modal-actions { margin-top: 20px; padding-top: 20px; }
  .modal-close { top: 11px; right: 11px; width: 38px; height: 38px; }

  .quote-shell { grid-template-columns: 1fr; }
  .quote-aside { display: none; }
  .quote-body { padding: 38px 21px 26px; }
  .quote-mobile-head { display: block; margin-bottom: 23px; }
  .quote-mobile-head h2 {
    margin-top: 13px;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.045em;
  }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-footer .button { width: 100%; }
  .form-footer p { max-width: none; }
  .file-ui small { display: none; }
  .quote-result h3 { font-size: 24px; }
  .result-actions { width: 100%; }
  .result-actions .button { width: 100%; }
}

@media (max-width: 430px) {
  .scroll-line { display: none; }
  .filter { padding: 0 8px; }
  .modal-actions { gap: 14px; }
  .modal-actions .button { width: 100%; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .gallery-track { animation: none !important; }
  .hero-eyebrow, .hero-brand, .hero-brand-en, .hero-tagline, .hero-actions {
    opacity: 1;
    transform: none;
  }
  .js .reveal { opacity: 1; transform: none; }
}
