/* ==========================================================================
   KARSOOS — "Liquid Engineering" design system
   Dark cinematic · RTL Persian · molten gold / brand red
   ========================================================================== */

:root {
  --bg: #060607;
  --bg-2: #0a0a0d;
  --panel: #101015;
  --panel-2: #14141b;
  --line: rgba(244, 241, 233, 0.09);
  --line-strong: rgba(244, 241, 233, 0.16);
  --text: #f4f1e9;
  --muted: #a29c90;
  --gold: #e8a812;
  --gold-2: #f5c84a;
  --red: #d11f2a;
  --red-deep: #8f1018;
  --font-fa: "Vazirmatn", "Tahoma", sans-serif;
  --font-en: "Anton", "Vazirmatn", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --container: 1360px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body { height: auto; }

.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-fa);
  direction: rtl;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: #0a0a0a; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262e; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--gold);
  color: #0a0a0a;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

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

/* Cinematic film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(2) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(1.5%, -1%); }
  100% { transform: translate(-1%, 1.5%); }
}

/* --------------------------------------------------------------------------
   Custom cursor
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

.has-cursor .cursor-dot,
.has-cursor .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--gold);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(232, 168, 18, 0.65);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    margin 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.cursor-ring.is-active {
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-color: rgba(245, 200, 74, 0.9);
  background: rgba(232, 168, 18, 0.08);
}

.cursor-ring.is-down {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: #050505;
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
}

.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.pre-logo {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.pre-logo em { font-style: normal; color: var(--gold); }

.pre-bar {
  width: min(280px, 60vw);
  height: 2px;
  background: rgba(244, 241, 233, 0.12);
  overflow: hidden;
}

.pre-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: right center;
}

.pre-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.pre-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 1001;
  position: relative;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #b97f0c);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }

.brand-word {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-word em { font-style: normal; color: var(--gold); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  color: rgba(244, 241, 233, 0.68);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 18px;
  transition: color 0.3s var(--ease);
  overflow: hidden;
}

.main-nav a::before {
  content: "";
  position: absolute;
  inset: 6px 10px;
  background: rgba(232, 168, 18, 0.1);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}

.main-nav a:hover { color: var(--text); }
.main-nav a:hover::before { transform: scaleY(1); }

.main-nav a.active { color: var(--gold-2); }
.main-nav a.active::before { transform: scaleY(1); background: rgba(232, 168, 18, 0.07); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 26px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 32%);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  z-index: 1001;
}

.nav-cta:hover { background: var(--red-deep); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  position: relative;
  z-index: 1001;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
}

.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* Fullscreen menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(209, 31, 42, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(232, 168, 18, 0.1), transparent 60%),
    #070708;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
}

.menu-open .menu-overlay {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-io);
}

.m-link {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 7.5vw, 3.6rem);
  font-weight: 900;
  color: var(--text);
  transition: color 0.3s, padding-inline-start 0.4s var(--ease);
}

.m-link:hover { color: var(--gold); padding-inline-start: 14px; }

.m-link small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.m-link.active { color: var(--gold); }

.menu-foot {
  margin-top: 44px;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 36px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.3s var(--ease);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-io);
}

.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }

.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #0c0a05; }
.btn-gold::before { background: var(--text); }

.btn-red { background: var(--red); color: var(--text); }
.btn-red::before { background: var(--gold); }
.btn-red:hover { color: #0c0a05; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 233, 0.3);
}

.btn-ghost::before { background: rgba(232, 168, 18, 0.14); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-2); }

.btn .arr {
  font-family: var(--font-en);
  font-size: 1.05em;
  line-height: 0;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arr { transform: translateX(-5px); }

/* --------------------------------------------------------------------------
   HERO — fluid simulation stage
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

#fluid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}

.hero-fallback.is-on { opacity: 1; }

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(6, 6, 7, 0.72) 0%, rgba(6, 6, 7, 0.34) 34%, transparent 62%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.6) 0%, transparent 26%, transparent 62%, rgba(6, 6, 7, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  pointer-events: none;
}

.hero-content a,
.hero-content button { pointer-events: auto; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  margin-bottom: 3vh;
}

.hero-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(209, 31, 42, 0.55);
  animation: pulse-dot 1.9s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(209, 31, 42, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(209, 31, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 31, 42, 0); }
}

.hero-ghost {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -52%);
  z-index: 1;
  font-family: var(--font-en);
  font-size: clamp(6rem, 21vw, 21rem);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.13);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  direction: ltr;
}

.hero-ghost .sc { display: inline-block; }

.hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(2.9rem, 9.2vw, 8.2rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 12ch;
}

.hero-title .gold { color: var(--gold); }

.sw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.swi { display: inline-block; will-change: transform; }

.hero-lead {
  position: relative;
  z-index: 2;
  margin-top: 3.2vh;
  max-width: 46ch;
  color: rgba(244, 241, 233, 0.78);
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 2;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4.5vh;
}

.hero-foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.hero-stats {
  display: flex;
  gap: clamp(22px, 4vw, 56px);
}

.hstat b {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 900;
  color: var(--gold-2);
  line-height: 1.2;
}

.hstat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-side {
  position: absolute;
  z-index: 4;
  inset-inline-end: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: rgba(244, 241, 233, 0.35);
  direction: ltr;
  pointer-events: none;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.hero-scroll i {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(244, 241, 233, 0.22);
  position: relative;
  overflow: hidden;
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(100%);
  animation: scroll-hint 2s var(--ease-io) infinite;
}

@keyframes scroll-hint {
  0% { transform: translateX(100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   Marquee strips
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  position: relative;
}

.marquee-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  border: none;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: 34px;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-x var(--mq-speed, 30s) linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-inline: 15px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.05rem;
  color: #161205;
}

.marquee-track span::after {
  content: "✦";
  font-size: 0.8em;
  opacity: 0.55;
}

.marquee-ghost {
  background: transparent;
  padding: 10px 0;
}

.marquee-ghost .marquee-track span {
  font-family: var(--font-en);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.16);
  letter-spacing: 0.04em;
}

.marquee-ghost .marquee-track span.fill {
  color: rgba(232, 168, 18, 0.85);
  -webkit-text-stroke: 0;
}

@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* --------------------------------------------------------------------------
   Sections base
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.sec-head .left { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.sec-title {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sec-title .gold { color: var(--gold); }

.sec-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 14px;
  max-width: 56ch;
}

.sec-num {
  font-family: var(--font-en);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.2);
  direction: ltr;
}

/* --------------------------------------------------------------------------
   Statement (word scrub)
   -------------------------------------------------------------------------- */
.statement {
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.75;
  max-width: 24ch;
}

.statement .hl { color: var(--gold); }

.statement-wrap {
  padding: clamp(70px, 10vw, 130px) 0;
}

/* --------------------------------------------------------------------------
   Feature list — editorial rows
   -------------------------------------------------------------------------- */
.f-list {
  border-top: 1px solid var(--line);
}

.f-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1.1fr 1.6fr 60px;
  align-items: center;
  gap: 28px;
  padding: 38px 10px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.f-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-io);
}

.f-row:hover::before { transform: scaleY(1); }

.f-row > * { transition: color 0.35s var(--ease); }

.f-row:hover .f-idx,
.f-row:hover h3,
.f-row:hover p,
.f-row:hover .f-arrow { color: #161205; }

.f-idx {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  direction: ltr;
}

.f-row h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 900;
}

.f-row p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.f-arrow {
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: rgba(244, 241, 233, 0.4);
  justify-self: end;
  transition: transform 0.4s var(--ease), color 0.3s;
}

.f-row:hover .f-arrow { transform: translateX(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Horizontal scroll showcase
   -------------------------------------------------------------------------- */
.hscroll {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 90% 10%, rgba(209, 31, 42, 0.12), transparent 60%),
    var(--bg-2);
}

.hscroll-head {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 9vw, 110px) 0 40px;
}

.h-track {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 36px);
  width: max-content;
  padding: 20px max(24px, calc((100vw - var(--container)) / 2)) clamp(70px, 9vw, 110px);
}

.hx-card {
  position: relative;
  width: clamp(300px, 30vw, 430px);
  flex-shrink: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease);
}

.hx-card:hover { border-color: rgba(232, 168, 18, 0.45); }

.hx-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}

.hx-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
  background: radial-gradient(ellipse at 50% 90%, rgba(209,31,42,.16), transparent 55%), #0d0d11;
  transition: transform 0.9s var(--ease);
}

.hx-card:hover .hx-media img { transform: scale(1.07); }

.hx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 6, 7, 0.75));
}

.hx-body { padding: 24px 24px 28px; }

.hx-body h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.hx-en {
  direction: ltr;
  text-align: right;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}

.hx-body > p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.hx-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hx-specs span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-2);
  border: 1px solid rgba(232, 168, 18, 0.3);
  padding: 5px 11px;
}

.hx-end {
  width: clamp(280px, 26vw, 380px);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(232, 168, 18, 0.35);
  text-align: center;
  padding: 40px;
  transition: background 0.4s var(--ease), border-color 0.4s;
}

.hx-end:hover { background: rgba(232, 168, 18, 0.06); border-color: var(--gold); }

.hx-end .big {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.hx-end p { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }

.h-progress {
  position: absolute;
  bottom: 34px;
  inset-inline: max(24px, calc((100vw - var(--container)) / 2));
  height: 1px;
  background: var(--line);
}

.h-progress i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 20%;
  background: var(--gold);
}

/* Short desktop viewports: keep image and product details visible together. */
@media (min-width: 901px) and (max-height: 700px) {
  .hscroll-head {
    padding: calc(var(--header-h) + 6px) 0 8px;
  }

  .hscroll .sec-title {
    max-width: 100%;
  }

  .hscroll .sec-sub {
    margin-top: 4px;
    font-size: 0.86rem;
  }

  .h-track {
    padding-top: 8px;
    padding-bottom: 34px;
  }

  .hx-card {
    display: grid;
    grid-template-columns: 48% 52%;
    width: clamp(430px, 48vw, 520px);
    height: 250px;
  }

  .hx-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .hx-body {
    padding: 16px 18px;
    overflow: hidden;
  }

  .hx-body h3 {
    font-size: 1.05rem;
  }

  .hx-en {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .hx-body > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .hx-specs {
    margin-top: 10px;
    gap: 6px;
  }

  .hx-specs span {
    padding: 3px 8px;
    font-size: 0.68rem;
  }

  .hx-end {
    width: 340px;
    height: 250px;
    padding: 28px;
  }

  .h-progress {
    bottom: 16px;
  }
}

/* --------------------------------------------------------------------------
   Parallax band / quote
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.band-bg {
  position: absolute;
  inset: -16% 0;
  z-index: -1;
}

.band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(6, 6, 7, 0.28), rgba(6, 6, 7, 0.86)),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}

.band-quote {
  max-width: 900px;
  padding: 90px 24px;
  text-align: center;
}

.band-quote .mark {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  color: var(--gold-2);
  margin-bottom: 22px;
  direction: ltr;
}

.band-quote h2 {
  font-size: clamp(1.8rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.6;
}

.band-quote h2 .gold { color: var(--gold); }

/* --------------------------------------------------------------------------
   Split (quality / story)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.split-media .frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(232, 168, 18, 0.4);
  z-index: -1;
}

.split-body h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
}

.split-body > p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 14px;
}

.check-list {
  margin: 30px 0 38px;
  display: grid;
  gap: 4px;
}

.check-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.98rem;
}

.check-list li:last-child { border-bottom: none; }

.check-list i {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: rgba(232, 168, 18, 0.12);
  color: var(--gold);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 900;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--bg-2);
  padding: clamp(34px, 4.5vw, 56px) 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.stat:hover { background: var(--panel-2); }

.stat b {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-2);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}

.stat:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-final .band-bg { inset: -14% 0; }

.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 55% at 50% 55%, rgba(143, 16, 24, 0.35), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, rgba(6, 6, 7, 0.55) 30%, rgba(6, 6, 7, 0.62) 70%, var(--bg) 100%);
}

.cta-inner {
  position: relative;
  padding: 100px 24px;
  max-width: 860px;
}

.cta-inner .eyebrow { justify-content: center; }
.cta-inner .eyebrow::before { display: none; }

.cta-inner h2 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}

.cta-inner p {
  color: rgba(244, 241, 233, 0.78);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #050506;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: clamp(32px, 4vw, 48px) 0 32px;
}

.footer-about p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.9;
  max-width: 34ch;
}

.footer-top h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(244, 241, 233, 0.72);
  font-size: 0.95rem;
  transition: color 0.3s, padding-inline-start 0.3s var(--ease);
}

.footer-links a:hover { color: var(--gold-2); padding-inline-start: 8px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.93rem;
  color: rgba(244, 241, 233, 0.72);
  align-items: flex-start;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--gold);
}

.ltr { direction: ltr; display: inline-block; unicode-bidi: embed; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #6e6a61;
}

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  background: var(--bg-2);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.72) 0%, rgba(6, 6, 7, 0.4) 45%, var(--bg-2) 100%),
    linear-gradient(to left, rgba(6, 6, 7, 0.7), transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: inline-flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.page-hero h1 .gold { color: var(--gold); }

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.04rem;
}

.page-hero .sec-num {
  position: absolute;
  inset-inline-end: 0;
  bottom: -0.2em;
  font-size: clamp(5rem, 12vw, 10rem);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Products page
   -------------------------------------------------------------------------- */
.section.products-catalog {
  padding-top: calc(clamp(90px, 12vw, 150px) - 80px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.chip {
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  transition: all 0.35s var(--ease);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.chip:hover { color: var(--text); border-color: var(--gold); }

.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #161205;
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.p-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.p-card:hover {
  border-color: rgba(232, 168, 18, 0.5);
  transform: translateY(-7px);
}

.p-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: #0b0b0e;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
  transition: transform 0.85s var(--ease), filter 0.5s var(--ease);
}

.p-card:hover .p-media img { transform: scale(1.08); }

/* Compensate for the extra space around the chain-oil packshot. */
.p-card[href="products/conveyor-chain-oil/index.html"] .p-media img {
  transform: scale(1.12);
}

.p-card[href="products/conveyor-chain-oil/index.html"]:hover .p-media img {
  transform: scale(1.2);
}

.p-media.contain img { object-fit: contain; padding: 26px; }

.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(6, 6, 7, 0.66));
  pointer-events: none;
}

.p-cat {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 16px;
  z-index: 2;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(244, 241, 233, 0.75);
  letter-spacing: 0.1em;
}

.p-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--red);
}

.p-body h3 {
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 3px;
}

.p-en {
  direction: ltr;
  text-align: right;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 13px;
}

.p-body > p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
  flex: 1;
}

.p-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.p-specs span {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold-2);
  border: 1px solid rgba(232, 168, 18, 0.28);
  padding: 4px 11px;
}

/* CTA band (inner pages) */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 60px);
  background:
    radial-gradient(ellipse 60% 120% at 90% 50%, rgba(232, 168, 18, 0.2), transparent 60%),
    linear-gradient(120deg, var(--red-deep), var(--red) 60%, #e0343e);
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "KARSOOS";
  position: absolute;
  inset-inline-end: -0.4em;
  bottom: -0.36em;
  font-family: var(--font-en);
  font-size: clamp(5rem, 13vw, 11rem);
  color: rgba(255, 255, 255, 0.07);
  z-index: -1;
  direction: ltr;
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.cta-band p { opacity: 0.9; font-size: 1rem; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-cell {
  background: var(--bg-2);
  padding: clamp(34px, 4.5vw, 52px);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.value-cell:hover { background: var(--panel-2); }

.value-cell .v-num {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  direction: ltr;
  display: block;
  margin-bottom: 20px;
}

.value-cell h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.value-cell p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 17px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 12%, var(--red) 88%, transparent);
}

.t-item {
  position: relative;
  padding: 0 0 56px;
  padding-inline-start: 64px;
}

.t-item:last-child { padding-bottom: 0; }

.t-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 9px;
  top: 10px;
  width: 17px;
  height: 17px;
  background: var(--bg);
  border: 2px solid var(--gold);
  rotate: 45deg;
  transition: background 0.3s, box-shadow 0.3s;
}

.t-item:hover::before {
  background: var(--gold);
  box-shadow: 0 0 24px rgba(232, 168, 18, 0.6);
}

.t-phase {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid rgba(232, 168, 18, 0.3);
  padding: 5px 14px;
  margin-bottom: 14px;
}

.t-item h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.t-item p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(209, 31, 42, 0.14), transparent 55%),
    var(--panel);
  border: 1px solid var(--line);
  padding: clamp(32px, 4.5vw, 48px);
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 30px;
}

.c-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.c-item .ico {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(232, 168, 18, 0.3);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: rgba(232, 168, 18, 0.07);
}

.c-item b { display: block; font-size: 0.96rem; margin-bottom: 3px; }

.c-item span,
.c-item a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.3s;
}

.c-item a:hover { color: var(--gold-2); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(32px, 4.5vw, 48px);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 28px;
}

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

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 9px;
  color: rgba(244, 241, 233, 0.85);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 15px 17px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8a812' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 40px;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder { color: #5b584f; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 168, 18, 0.14);
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 15px 18px;
  background: rgba(52, 168, 83, 0.1);
  border: 1px solid rgba(52, 168, 83, 0.4);
  color: #7ddc9b;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-success.show { display: block; }

.form-note { font-size: 0.8rem; color: #6e6a61; margin-top: 14px; }

.map-wrap {
  margin-top: 60px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.86);
}

/* --------------------------------------------------------------------------
   Reveal helper (JS drives these)
   -------------------------------------------------------------------------- */
[data-reveal] { will-change: transform, opacity; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 64px 1.2fr 1.6fr 44px; gap: 18px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 16 / 10; }
  .contact-layout { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-num { display: none; }
  .values-grid { grid-template-columns: 1fr; }

  .h-track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
    -webkit-overflow-scrolling: touch;
  }

  .h-track::-webkit-scrollbar { display: none; }

  .hx-card, .hx-end { scroll-snap-align: start; width: min(78vw, 380px); }
  .h-progress { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav { display: none; }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-stats { flex-wrap: wrap; gap: 18px 26px; }
  .hero-side { display: none; }
  .hero-title { font-size: clamp(2.5rem, 12.5vw, 4rem); }

  .f-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 30px 6px;
  }

  .f-arrow { display: none; }

  .products-catalog .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 20px;
  }

  .products-catalog .chip {
    min-width: 0;
    min-height: 40px;
    padding: 7px 8px;
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .products-catalog .chip[data-filter="all"] {
    grid-column: 1 / -1;
  }

  .p-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .p-card { min-width: 0; }
  .p-media { aspect-ratio: 1 / 1; }
  .products-catalog .p-cat,
  .products-catalog .p-specs { display: none; }
  .p-media img,
  .p-media.contain img { padding: 12px; }
  .p-cat {
    inset-inline: 8px;
    bottom: 6px;
    font-size: 0.62rem;
    letter-spacing: 0;
  }
  .p-body { padding: 12px 10px 14px; }
  .p-body h3 { font-size: 0.92rem; }
  .p-en {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
  }
  .p-body > p {
    font-size: 0.78rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    flex: initial;
  }
  .p-specs { gap: 4px; margin-top: auto; padding-top: 10px; }
  .p-specs span {
    max-width: 100%;
    padding: 3px 5px;
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }

  .footer-top,
  .stats-grid,
  .form-grid { grid-template-columns: 1fr; }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .marquee-gold { transform: none; margin-block: 0; }
  .products-consultation { padding-bottom: 40px; }
  .products-consultation .cta-band {
    gap: 16px;
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    text-align: start;
    justify-items: stretch;
    background: linear-gradient(135deg, #50151b, var(--red-deep));
  }
  .products-consultation .cta-band h2 {
    font-size: 1.12rem;
    line-height: 1.6;
    margin-bottom: 6px;
  }
  .products-consultation .cta-band p {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
  }
  .products-consultation .cta-band::before { font-size: 4.5rem; }
  .products-consultation .btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.82rem;
    justify-content: space-between;
  }
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding: 28px 0 20px;
  }
  .footer-top > div { min-width: 0; }
  .footer-about,
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-about .brand-mark { width: 36px; height: 36px; font-size: 1.3rem; }
  .footer-about .brand-word { font-size: 1.35rem; }
  .footer-about p {
    max-width: none;
    margin-top: 12px;
    font-size: 0.8rem;
    line-height: 1.85;
  }
  .footer-top h4 { margin-bottom: 10px; font-size: 0.78rem; letter-spacing: 0; }
  .footer-links li { margin-bottom: 0; }
  .footer-links a { display: block; padding-block: 8px; font-size: 0.8rem; }
  .footer-top > div:last-child { border-top: 1px solid var(--line); padding-top: 18px; }
  .footer-contact li { gap: 9px; margin-bottom: 8px; font-size: 0.79rem; line-height: 1.8; }
  .footer-contact a { min-width: 0; padding-block: 5px; overflow-wrap: anywhere; }
  .footer-contact svg { width: 14px; height: 14px; }
  .footer-bottom { padding-block: 12px; font-size: 0.7rem; justify-content: center; text-align: center; }
  .footer-bottom .container { flex-direction: column; align-items: center; gap: 6px !important; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
  .grain { display: none; }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Links / bio page  —  /links
   -------------------------------------------------------------------------- */
.links-page {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(209, 31, 42, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(232, 168, 18, 0.12), transparent 50%),
    var(--bg);
}

.links-page .grain { z-index: 1; }

.links-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 420px);
  margin-inline: auto;
  padding: 48px 0 calc(36px + env(safe-area-inset-bottom));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.links-head {
  text-align: center;
  margin-bottom: 36px;
  animation: links-rise 0.7s var(--ease) both;
}

.links-avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 2.4rem;
  color: #0a0a0a;
  background: linear-gradient(145deg, var(--gold-2), var(--gold) 50%, #b97f0c);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(232, 168, 18, 0.16),
    0 18px 40px rgba(232, 168, 18, 0.22);
}

.links-head h1 {
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 6px;
}

.links-head h1 em {
  font-style: normal;
  color: var(--gold);
}

.links-tag {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 10px;
}

.links-head p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.links-list li {
  animation: links-rise 0.65s var(--ease) both;
}

.links-list li:nth-child(1) { animation-delay: 0.08s; }
.links-list li:nth-child(2) { animation-delay: 0.14s; }
.links-list li:nth-child(3) { animation-delay: 0.2s; }
.links-list li:nth-child(4) { animation-delay: 0.26s; }
.links-list li:nth-child(5) { animation-delay: 0.32s; }
.links-list li:nth-child(6) { animation-delay: 0.38s; }
.links-list li:nth-child(7) { animation-delay: 0.44s; }

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px 12px 14px;
  background: rgba(16, 16, 21, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 168, 18, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  background: rgba(20, 20, 27, 0.95);
}

.link-card.is-featured {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
  color: #0c0a05;
}

.link-card.is-featured:hover,
.link-card.is-featured:focus-visible {
  box-shadow: 0 14px 32px rgba(232, 168, 18, 0.28);
  background: linear-gradient(135deg, #ffe08a, var(--gold-2));
}

.link-card-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(232, 168, 18, 0.12);
  color: var(--gold-2);
}

.link-card.is-featured .link-card-ico {
  background: rgba(12, 10, 5, 0.14);
  color: #0c0a05;
}

.link-card-text {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.link-card-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}

.link-card-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.link-card.is-featured .link-card-text small {
  color: rgba(12, 10, 5, 0.62);
}

.link-card-go {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 1.15rem;
  color: var(--gold);
  opacity: 0.7;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.link-card.is-featured .link-card-go { color: #0c0a05; }

.link-card:hover .link-card-go {
  transform: translateX(-4px);
  opacity: 1;
}

.links-foot {
  margin-top: 36px;
  text-align: center;
  color: #6e6a61;
  font-size: 0.78rem;
  animation: links-rise 0.7s var(--ease) 0.5s both;
}

@keyframes links-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .links-shell { padding-top: 72px; }
}

/* --------------------------------------------------------------------------
   Product detail — shock absorber oil
   -------------------------------------------------------------------------- */
.product-detail-page {
  --pd-blue: #0879a8;
  --pd-blue-deep: #042c3f;
}

.pd-hero {
  position: relative;
  min-height: min(940px, 100svh);
  padding: calc(var(--header-h) + 54px) 0 74px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(6, 6, 7, 0.2), rgba(6, 6, 7, 0.88)),
    radial-gradient(ellipse 55% 70% at 18% 50%, rgba(8, 121, 168, 0.22), transparent 68%),
    radial-gradient(ellipse 60% 80% at 85% 45%, rgba(209, 31, 42, 0.13), transparent 64%),
    var(--bg);
}

.pd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}

.pd-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), transparent);
  opacity: 0.65;
}

.pd-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.pd-copy {
  position: relative;
  top: -100px;
  z-index: 2;
  max-width: 650px;
}

.pd-copy .breadcrumb {
  margin-bottom: clamp(30px, 5vh, 52px);
}

.pd-kicker {
  display: inline-block;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.pd-copy h1 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(calc(3.4rem - 5px), calc(7vw - 5px), calc(7.4rem - 5px));
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin: 16px 0 8px;
}

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

.pd-en {
  direction: ltr;
  text-align: right;
  font-family: var(--font-en);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.43);
  font-size: clamp(1.15rem, 2.3vw, 1.85rem);
  letter-spacing: 0.13em;
}

.pd-lead {
  max-width: 50ch;
  margin-top: 24px;
  color: rgba(244, 241, 233, 0.73);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 2;
}

.pd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pd-badges span {
  padding: 6px 14px;
  border: 1px solid rgba(232, 168, 18, 0.32);
  background: rgba(232, 168, 18, 0.05);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.pd-visual {
  position: relative;
  min-height: clamp(520px, 69vh, 700px);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 62%, rgba(8, 121, 168, 0.35), transparent 41%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.008));
  clip-path: polygon(34px 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%, 0 34px);
}

.pd-visual::before,
.pd-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.pd-visual::before {
  inset: 11% 10%;
  border: 1px solid rgba(244, 241, 233, 0.08);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.pd-visual::after {
  inset-inline: 10%;
  bottom: 10%;
  height: 18%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.75), transparent 68%);
  filter: blur(12px);
}

.pd-visual .pd-main-image {
  position: relative;
  z-index: 2;
  width: min(142%, 780px);
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(38% 3%, 52% 3%, 53% 14%, 64% 17%, 69% 24%, 70% 82%, 66% 89%, 34% 89%, 31% 83%, 31% 29%, 34% 20%, 38% 15%);
  filter: contrast(1.08) saturate(1.1) drop-shadow(0 35px 30px rgba(0, 0, 0, 0.58));
  animation: pd-product-float 5.5s ease-in-out infinite;
}

.pd-visual .pd-main-image.is-photo {
  width: calc(100% - 46px);
  height: calc(100% - 46px);
  aspect-ratio: auto;
  object-fit: cover;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  filter: none;
  opacity: 0.84;
}

.pd-visual .pd-main-image.is-packshot {
  width: calc(100% - 108px);
  height: calc(100% - 72px);
  aspect-ratio: auto;
  object-fit: contain;
  clip-path: none;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.58));
}

.pd-thumbnails {
  position: absolute;
  z-index: 5;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-thumbnail {
  position: relative;
  width: 66px;
  height: 66px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 233, 0.2);
  background: rgba(5, 5, 7, 0.86);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.pd-thumbnail:hover,
.pd-thumbnail:focus-visible {
  border-color: rgba(232, 168, 18, 0.7);
  transform: translateX(3px);
}

.pd-thumbnail:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.pd-thumbnail.is-active {
  border-color: var(--gold);
  background: rgba(232, 168, 18, 0.12);
  box-shadow: 0 0 0 1px rgba(232, 168, 18, 0.25);
}

.pd-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pd-product-float {
  0%, 100% { transform: translateY(0) rotate(0.01deg); }
  50% { transform: translateY(-13px) rotate(-1deg); }
}

.pd-label {
  position: absolute;
  z-index: 4;
  top: 23px;
  inset-inline-start: 23px;
  padding: 7px 15px;
  color: #161205;
  background: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.pd-orbit {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px dashed rgba(232, 168, 18, 0.22);
  border-radius: 50%;
  animation: pd-orbit-spin 28s linear infinite;
}

.pd-orbit::before {
  content: "";
  position: absolute;
  top: 9%;
  left: 14%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold);
}

@keyframes pd-orbit-spin {
  to { transform: rotate(360deg); }
}

.pd-visual-meta {
  position: absolute;
  z-index: 3;
  inset-inline: 24px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  direction: ltr;
  color: rgba(244, 241, 233, 0.42);
  font-family: var(--font-en);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.pd-hero-word {
  position: absolute;
  z-index: -1;
  inset-inline-start: 50%;
  bottom: -0.15em;
  transform: translateX(-50%);
  text-align: center;
  direction: ltr;
  font-family: var(--font-en);
  font-size: clamp(7rem, 18vw, 19rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.055);
  white-space: nowrap;
}

.pd-hero-glow {
  position: absolute;
  z-index: -1;
  width: 28vw;
  height: 28vw;
  inset-inline-end: -10vw;
  top: 10%;
  border-radius: 50%;
  background: rgba(209, 31, 42, 0.13);
  filter: blur(100px);
}

.pd-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 24px;
  transform: translateX(50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.pd-scroll i {
  position: relative;
  width: 46px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.pd-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scroll-hint 2s var(--ease-io) infinite;
}

.pd-anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 700;
  background: rgba(8, 8, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.pd-anchor-nav .container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-anchor-nav .container::-webkit-scrollbar { display: none; }

.pd-anchor-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 17px clamp(15px, 2.2vw, 32px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.3s var(--ease);
}

.pd-anchor-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 24%;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.pd-anchor-nav a:hover { color: var(--text); }
.pd-anchor-nav a:hover::after { transform: scaleX(1); }

.pd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.pd-intro-grid > div:first-child {
  position: relative;
}

.pd-intro-grid > div:first-child > .eyebrow {
  position: absolute;
  inset-inline-start: 0;
  bottom: calc(100% + 32px);
  margin-bottom: 0;
}

.pd-intro h2 {
  max-width: 15ch;
  font-size: clamp(calc(2rem - 6px), calc(4.5vw - 6px), calc(3.7rem - 6px));
  line-height: 1.5;
}

.pd-intro-copy {
  position: relative;
  margin-top: 10px;
  padding-inline-start: 30px;
  border-inline-start: 1px solid rgba(232, 168, 18, 0.3);
}

.pd-intro-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 2.1;
}

.pd-intro-copy p + p { margin-top: 18px; }

.pd-benefits {
  padding: clamp(40px, calc(10vw - 80px), 50px) 0 clamp(80px, 10vw, 130px);
  background:
    radial-gradient(ellipse 45% 70% at 0% 50%, rgba(8, 121, 168, 0.1), transparent 65%),
    var(--bg-2);
}

.pd-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.pd-benefit {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--panel);
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.pd-benefit::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pd-blue), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.pd-benefit:hover {
  z-index: 2;
  background: var(--panel-2);
  transform: translateY(-8px);
}

.pd-benefit:hover::after { transform: scaleX(1); }

.pd-benefit svg {
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-benefit h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pd-benefit p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.pd-engineering {
  min-height: 78vh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}

.pd-engineering-bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
}

.pd-engineering-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-engineering::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(6, 6, 7, 0.35), rgba(6, 6, 7, 0.82)),
    linear-gradient(180deg, var(--bg-2), transparent 30%, transparent 70%, var(--bg));
}

.pd-engineering-copy {
  max-width: 900px;
}

.pd-engineering-copy h2 {
  margin: 22px auto;
  max-width: 20ch;
  font-size: clamp(2.1rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.5;
}

.pd-engineering-copy p {
  color: rgba(244, 241, 233, 0.73);
  font-size: 1.02rem;
}

.pd-technical-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.pd-technical-head {
  position: sticky;
  top: calc(var(--header-h) + 88px);
}

.pd-technical-head h2,
.pd-usage-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.4;
}

.pd-technical-head > p {
  margin: 20px 0 34px;
  color: var(--muted);
  line-height: 2;
}

.pd-spec-table {
  border-top: 1px solid var(--line-strong);
}

.pd-spec-table div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) 1.3fr;
  gap: 24px;
  padding: 28px 18px;
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.pd-spec-table div::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}

.pd-spec-table div:hover {
  padding-inline: 28px;
  background: rgba(232, 168, 18, 0.04);
}

.pd-spec-table div:hover::before { transform: scaleY(1); }

.pd-spec-table dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.pd-spec-table dd {
  font-weight: 700;
}

.pd-usage {
  padding-top: max(10px, calc(clamp(90px, 12vw, 150px) - 80px));
  background: var(--bg-2);
}

.pd-usage-grid {
  display: block;
}

.pd-usage-copy {
  width: min(100%, 900px);
  margin-inline: auto;
}

.pd-usage-copy > p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 2;
}

.pd-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(232, 168, 18, 0.25);
  background: rgba(232, 168, 18, 0.055);
  font-size: 0.84rem;
}

.pd-note b { color: var(--gold-2); }
.pd-note span { color: var(--muted); }

.pd-final {
  padding-top: 0;
}

.pd-final .pd-kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.pd-mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .pd-hero {
    min-height: auto;
  }

  .pd-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
    gap: 40px;
  }

  .pd-visual {
    min-height: 550px;
  }

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

}

@media (max-width: 820px) {
  .pd-hero {
    padding-bottom: 60px;
  }

  .pd-hero-grid,
  .pd-intro-grid,
  .pd-technical-grid {
    grid-template-columns: 1fr;
  }

  .pd-copy {
    max-width: none;
  }

  .pd-intro-grid > div:first-child {
    position: static;
  }

  .pd-intro-grid > div:first-child > .eyebrow {
    position: static;
    margin-bottom: 18px;
  }

  .pd-copy h1 {
    font-size: clamp(calc(3.2rem - 5px), calc(11vw - 5px), calc(5.5rem - 5px));
    white-space: normal;
  }

  .pd-visual {
    min-height: min(660px, 78vw);
  }

  .pd-visual .pd-main-image {
    width: min(130%, 760px);
  }

  .pd-scroll {
    display: none;
  }

  .pd-anchor-nav .container {
    justify-content: flex-start;
  }

  .pd-intro h2 {
    max-width: 18ch;
  }

  .pd-intro-copy {
    padding-inline-start: 22px;
  }

  .pd-technical-head {
    position: static;
  }

}

@media (max-width: 560px) {
  .product-detail-page {
    padding-bottom: 74px;
  }

  .pd-hero {
    padding-top: calc(var(--header-h) + 30px);
  }

  .pd-copy .breadcrumb {
    margin-bottom: 26px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
  }

  .pd-copy h1 {
    font-size: clamp(calc(2.9rem - 5px), calc(15vw - 5px), calc(4.2rem - 5px));
  }

  .pd-en {
    font-size: 1rem;
  }

  .pd-lead {
    font-size: 0.94rem;
  }

  .pd-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pd-actions .btn {
    padding-inline: 16px;
    font-size: 0.84rem;
  }

  .pd-visual {
    min-height: 112vw;
  }

  .pd-visual .pd-main-image {
    width: 148%;
  }

  .pd-visual .pd-main-image.is-packshot {
    width: calc(100% - 54px);
    height: calc(100% - 92px);
  }

  .pd-thumbnails {
    inset-inline: 16px;
    top: auto;
    bottom: 48px;
    transform: none;
    flex-direction: row;
    justify-content: center;
  }

  .pd-thumbnail {
    width: 58px;
    height: 58px;
  }

  .pd-visual-meta {
    font-size: 0.55rem;
  }

  .pd-anchor-nav {
    top: var(--header-h);
  }

  .pd-anchor-nav a {
    padding: 14px 17px;
    font-size: 0.76rem;
  }

  .pd-benefit-grid {
    grid-template-columns: 1fr;
  }

  .pd-benefit {
    min-height: 280px;
  }

  .pd-spec-table div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-inline: 10px;
  }

  .pd-spec-table div:hover {
    padding-inline: 16px;
  }

  .pd-note {
    grid-template-columns: 1fr;
  }

  .pd-mobile-cta {
    position: fixed;
    z-index: 850;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-strong);
    background: rgba(6, 6, 7, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .pd-mobile-cta div {
    min-width: 0;
  }

  .pd-mobile-cta small,
  .pd-mobile-cta b {
    display: block;
    line-height: 1.4;
  }

  .pd-mobile-cta small {
    color: var(--muted);
    font-size: 0.67rem;
  }

  .pd-mobile-cta b {
    font-size: 0.82rem;
  }

  .pd-mobile-cta a {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--gold);
    color: #161205;
    font-size: 0.78rem;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-visual .pd-main-image,
  .pd-orbit {
    animation: none;
  }
}

/* Product FAQ: visible, crawlable answers for people and search systems */
.pd-faq {
  padding-top: max(30px, calc(clamp(90px, 12vw, 150px) - 70px));
  background: var(--bg-2);
}

.pd-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.pd-faq-head {
  position: sticky;
  top: calc(var(--header-h) + 86px);
}

.pd-faq-head h2 {
  max-width: 15ch;
  margin-top: 12px;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.2;
}

.pd-faq-head p {
  max-width: 48ch;
  margin-top: 22px;
  color: var(--muted);
  line-height: 2;
}

.pd-faq-list {
  border-top: 1px solid var(--line-strong);
}

.pd-faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.pd-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.pd-faq-item summary::-webkit-details-marker {
  display: none;
}

.pd-faq-item summary i {
  flex: 0 0 auto;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(232, 168, 18, 0.35);
  color: var(--gold-2);
  font-style: normal;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.pd-faq-item[open] summary i {
  transform: rotate(45deg);
  background: rgba(232, 168, 18, 0.08);
}

.pd-faq-item > div {
  padding: 0 4px 26px;
}

.pd-faq-item p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 2;
}

@media (max-width: 820px) {
  .pd-faq-grid {
    grid-template-columns: 1fr;
  }

  .pd-faq-head {
    position: static;
  }

  .pd-faq-head h2 {
    max-width: 19ch;
  }
}

@media (max-width: 560px) {
  .pd-faq-item summary {
    align-items: flex-start;
    padding-block: 20px;
    font-size: 0.92rem;
  }
}

/* Mobile homepage: shorter sections and accessible product browsing. */
@media (max-width: 720px) {
  .home-page .hero { min-height: auto; }
  .home-page .hero-content { padding-top: calc(var(--header-h) + 36px); padding-bottom: 30px; }
  .home-page .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0; gap: 8px; margin-bottom: 18px; }
  .home-page .hero-title { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.3; max-width: 100%; }
  .home-page .hero-lead { font-size: 0.86rem; line-height: 1.9; margin-top: 18px; }
  .home-page .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .home-page .hero-actions .btn { min-width: 0; min-height: 46px; padding: 12px 8px; font-size: 0.77rem; gap: 6px; justify-content: center; }
  .home-page .hero-foot { padding-block: 18px; }
  .home-page .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; text-align: center; }
  .home-page .hstat b { font-size: 1.25rem; margin-bottom: 5px; }
  .home-page .hstat span { font-size: 0.65rem; }
  .home-page .hero-scroll, .home-page .hero-ghost { display: none; }
  .home-page .marquee { padding-block: 12px; }
  .home-page .marquee-track span { font-size: 0.85rem; }
  .home-page .statement-wrap { padding-block: 36px; }
  .home-page .statement { max-width: 100%; font-size: 1.22rem; line-height: 1.95; }
  .home-page main > .section { padding-block: 38px; }
  .home-page .sec-head { gap: 12px; margin-bottom: 22px; }
  .home-page .sec-title { font-size: 1.6rem; line-height: 1.5; }
  .home-page .sec-sub { font-size: 0.82rem; }
  .home-page .eyebrow { font-size: 0.68rem; letter-spacing: 0.04em; }
  .home-page .f-row { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 10px; padding: 18px 0; }
  .home-page .f-idx { font-size: 0.7rem; }
  .home-page .f-row h3 { font-size: 1rem; }
  .home-page .f-row p { grid-column: 2; font-size: 0.8rem; line-height: 1.8; }
  .home-page .hscroll-head { padding: 32px 0 18px; }
  .home-page .h-track { gap: 12px; padding: 4px 24px 28px; scroll-padding-inline: 24px; }
  .home-page .hx-card, .home-page .hx-end { width: min(72vw, 290px); border-radius: 12px; }
  .home-page .hx-media { aspect-ratio: 1.2; }
  .home-page .hx-media img { padding: 16px; }
  .home-page .hx-body { padding: 14px; }
  .home-page .hx-body h3 { font-size: 1rem; }
  .home-page .hx-en { font-size: 0.6rem; letter-spacing: 0.04em; margin-bottom: 8px; overflow-wrap: anywhere; }
  .home-page .hx-body > p { font-size: 0.79rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .home-page .hx-specs { display: none; }
  .home-page .hx-end { padding: 22px; }
  .home-page .hx-end .big { font-size: 1.2rem; }
  .home-page .hx-end p { font-size: 0.82rem; }
  .home-page .hx-end .btn { padding: 12px 16px; font-size: 0.8rem; }
  .home-page .band { min-height: 280px; }
  .home-page .band-quote { padding: 40px 24px; }
  .home-page .band-quote h2 { font-size: 1.45rem; line-height: 1.85; }
  .home-page .band-quote .mark { font-size: 0.6rem; margin-bottom: 12px; }
  .home-page .split { gap: 24px; }
  .home-page .split-media { display: none; }
  .home-page .split-media img { aspect-ratio: 16 / 10; }
  .home-page .split-body h2 { font-size: 1.45rem; margin-bottom: 14px; }
  .home-page .split-body > p { font-size: 0.84rem; line-height: 1.9; }
  .home-page .check-list { margin: 18px 0 22px; }
  .home-page .check-list li { gap: 10px; padding-block: 10px; font-size: 0.8rem; }
  .home-page .split-body .btn { min-height: 44px; padding: 12px 18px; font-size: 0.8rem; }
  .home-page .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 12px; overflow: hidden; }
  .home-page .stat { padding: 22px 10px; }
  .home-page .stat b { font-size: 1.8rem; margin-bottom: 7px; }
  .home-page .stat span { font-size: 0.73rem; }
  .home-page .cta-inner { padding: 40px 24px; }
  .home-page .cta-inner h2 { font-size: 1.5rem; line-height: 1.7; margin-bottom: 12px; }
  .home-page .cta-inner p { font-size: 0.85rem; line-height: 1.9; margin-bottom: 20px; }
  .home-page .cta-inner .btn { min-height: 46px; padding: 12px 24px !important; font-size: 0.85rem !important; }
}

/* Compact product detail layout for phones and small tablets. */
@media (max-width: 820px) {
  .product-detail-page .pd-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 20px) 0 32px;
  }
  .pd-hero-grid { gap: 24px; }
  .pd-copy { top: 0; min-width: 0; }
  .pd-copy .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.7rem;
    white-space: normal;
    overflow: visible;
  }
  .pd-copy h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.4rem);
    line-height: 1.45;
    letter-spacing: 0;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
  }
  .pd-en {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    -webkit-text-stroke: 0;
    overflow-wrap: anywhere;
  }
  .pd-lead { margin-top: 14px; font-size: 0.86rem; line-height: 1.9; }
  .pd-badges { margin-top: 14px; gap: 6px; }
  .pd-badges span { padding: 5px 8px; font-size: 0.67rem; }
  .pd-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }
  .pd-actions .btn {
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.76rem;
    gap: 6px;
    justify-content: center;
  }
  .pd-visual {
    min-height: 0;
    height: clamp(300px, 85vw, 390px);
    border-radius: 16px;
    clip-path: none;
    overflow: hidden;
    padding: 34px 16px 90px;
  }
  .pd-visual .pd-main-image.is-packshot {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    animation: none;
  }
  .pd-thumbnails {
    inset-inline: 12px;
    top: auto;
    bottom: 28px;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .pd-thumbnail { width: 48px; height: 48px; border-radius: 8px; }
  .pd-label { top: 12px; font-size: 0.62rem; }
  .pd-visual-meta { inset-inline: 12px; bottom: 8px; font-size: 0.48rem; gap: 8px; }
  .pd-orbit, .pd-hero-word { display: none; }
  .pd-anchor-nav .container { max-width: 100%; justify-content: flex-start; }
  .pd-anchor-nav a { flex-shrink: 0; padding: 13px 12px; font-size: 0.72rem; }
  .product-detail-page main > .section { padding-block: 36px; }
  .product-detail-page main > section[id] { scroll-margin-top: calc(var(--header-h) + 58px); }
  .pd-intro-grid, .pd-technical-grid, .pd-faq-grid { gap: 22px; }
  .pd-intro h2, .pd-technical-head h2, .pd-usage-copy h2,
  .pd-faq-head h2, .pd-engineering-copy h2 {
    font-size: 1.4rem;
    line-height: 1.65;
    max-width: 100%;
  }
  .pd-intro-copy { padding-inline-start: 14px; }
  .pd-intro-copy p, .pd-usage-copy > p, .pd-faq-head p,
  .pd-engineering-copy p { font-size: 0.86rem; line-height: 1.95; }
  .pd-benefits { padding-block: 32px; }
  .pd-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 12px; overflow: hidden; }
  .pd-benefit { min-height: 0; padding: 18px 12px; }
  .pd-benefit svg { width: 28px; height: 28px; margin-bottom: 14px; }
  .pd-benefit h3 { font-size: 0.88rem; line-height: 1.7; }
  .pd-benefit p { font-size: 0.77rem; line-height: 1.85; }
  .pd-engineering { min-height: 300px; padding-block: 40px; }
  .pd-spec-table div, .pd-spec-table div:hover {
    grid-template-columns: 1fr;
    padding: 14px 10px;
    gap: 6px;
  }
  .pd-spec-table dt { font-size: 0.77rem; }
  .pd-spec-table dd { font-size: 0.85rem; line-height: 1.9; overflow-wrap: anywhere; }
  .pd-note { grid-template-columns: 1fr; gap: 8px; padding: 14px; border-radius: 10px; }
  .pd-faq-item summary { font-size: 0.85rem; gap: 12px; padding-block: 16px; }
  .pd-faq-item p { font-size: 0.83rem; }
  .pd-final .cta-band { padding: 22px 18px; gap: 16px; border-radius: 14px; }
  .pd-final .cta-band h2 { font-size: 1.2rem; line-height: 1.6; }
  .pd-final .cta-band p { font-size: 0.83rem; }
  .pd-final .btn { min-height: 44px; padding: 10px 16px; font-size: 0.8rem; }
}
