/* ============================================================
   KAIZENS — Leather Specialist · Dark Premium Theme
   ============================================================ */

:root {
  --bg: #0d0b09;
  --bg-2: #14110d;
  --bg-3: #1a1611;
  --surface: #17140f;
  --line: rgba(236, 228, 214, 0.10);
  --line-strong: rgba(236, 228, 214, 0.18);
  --text: #ece6da;
  --text-dim: #cfc6b8;
  --muted: #a59b8b;
  --faint: #6f6759;
  --accent: #c98d52;
  --accent-bright: #e3b483;
  --accent-deep: #8a5a2e;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", Roboto, "Helvetica Neue", "Malgun Gothic", sans-serif;
  --font-display: "Marcellus", "Times New Roman", serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 76px;
  --radius: 14px;
}

html[lang="ja"] h1.display { font-size: clamp(34px, 5.4vw, 66px); letter-spacing: 0.02em; }
html[lang="ja"] .section-display { letter-spacing: 0.03em; }
html[lang="ja"] body {
  font-family: "Pretendard Variable", Pretendard, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(201, 141, 82, 0.35); color: #fff; }

/* Film grain overlay */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 2000;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 3000;
  background: var(--accent); color: #14110d; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; transition: top 0.25s;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); flex: none; }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
}
h1.display { font-size: clamp(40px, 7vw, 84px); line-height: 1.08; }
.section-title {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.25; font-weight: 700; letter-spacing: -0.02em;
}
.section-display {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.1; letter-spacing: 0.05em; font-weight: 400;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    background-color 0.45s, color 0.45s, border-color 0.45s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease-out); flex: none; }
.btn:hover svg { transform: translateX(5px); }
.btn-solid { background: var(--accent); color: #171208; }
.btn-solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 0.7s var(--ease-out);
}
.btn-solid:hover { box-shadow: 0 12px 36px -10px rgba(201, 141, 82, 0.55); transform: translateY(-2px); }
.btn-solid:hover::before { transform: translateX(110%); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); transform: translateY(-2px); }
.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); padding: 4px 0;
  border-bottom: 1px solid transparent; border-radius: 0;
  transition: color 0.3s, border-color 0.3s;
}
.btn-text svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.btn-text:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.btn-text:hover svg { transform: translateX(4px); }

:where(a, button):focus-visible {
  outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  transition: background-color 0.5s, border-color 0.5s, height 0.5s var(--ease-out),
    backdrop-filter 0.5s, transform 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(13, 11, 9, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-color: var(--line);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 18px; width: auto; }
.brand { position: relative; z-index: 1102; opacity: 0.95; transition: opacity 0.3s; }
.brand:hover { opacity: 1; }

.main-nav ul { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav a:not(.btn) {
  position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding: 8px 0; transition: color 0.3s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-store { padding: 10px 22px !important; font-size: 12.5px !important; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch a {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 999px; color: var(--faint); transition: color 0.3s, background-color 0.3s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: var(--accent); color: #171208; }

.header-right { display: flex; align-items: center; gap: 18px; }

/* Burger */
.nav-toggle {
  display: none; position: relative; z-index: 1102;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative; display: block; width: 24px; height: 1.6px; background: var(--text);
  transition: background-color 0.3s 0.15s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--text);
  transition: transform 0.4s var(--ease-out), top 0.3s 0.15s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); transition: top 0.3s, transform 0.4s 0.15s var(--ease-out); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); transition: top 0.3s, transform 0.4s 0.15s var(--ease-out); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(60px, 10vh, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  animation: heroZoom 18s var(--ease-out) forwards;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,11,9,0.55) 0%, rgba(13,11,9,0.15) 40%, rgba(13,11,9,0.92) 100%),
    radial-gradient(120% 90% at 20% 100%, rgba(13,11,9,0.75) 0%, transparent 60%);
}
.hero-content { max-width: 780px; }
.hero .eyebrow { color: var(--accent-bright); }
.hero h1 { margin: 6px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero h1 .line > span { display: inline-block; transform: translateY(115%); animation: riseUp 1.1s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes riseUp { to { transform: translateY(0); } }
.hero-sub {
  max-width: 560px; font-size: clamp(15.5px, 1.5vw, 18px); color: rgba(236, 230, 218, 0.82);
  margin-bottom: 38px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.fade-up-late { opacity: 0; transform: translateY(26px); animation: fadeUp 1s var(--ease-out) forwards; }
.hero .eyebrow.fade-up-late { animation-delay: 0.1s; }
.hero-sub.fade-up-late { animation-delay: 0.45s; }
.hero-ctas.fade-up-late { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.scroll-hint {
  position: absolute; right: clamp(20px, 5vw, 48px); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--faint); font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0; animation: fadeUp 1s 1.1s var(--ease-out) forwards;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollPulse { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ============================================================
   Sections — shared
   ============================================================ */
.section { padding: clamp(84px, 12vw, 150px) 0; position: relative; }
.section-dark { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .section-title { margin-top: 10px; color: var(--text); }
.section-head .lead { margin-top: 20px; }

/* Reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* ---------- Intro statement ---------- */
.intro { background: var(--bg); text-align: center; }
.intro .eyebrow { justify-content: center; }
.intro .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--accent); }
.intro-text {
  max-width: 860px; margin: 0 auto;
  font-size: clamp(21px, 2.8vw, 32px); line-height: 1.62; font-weight: 300;
  letter-spacing: -0.005em; color: var(--text);
}
.intro-text strong { font-weight: 600; color: var(--accent-bright); }

/* ---------- Deskterior ---------- */
.desk-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.desk-card .img-frame { margin-bottom: 30px; }
.desk-card:nth-child(2) { margin-top: clamp(40px, 6vw, 90px); }
.img-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-3);
}
.img-frame img {
  width: 100%; height: auto; transition: transform 1.2s var(--ease-out);
}
.img-frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); pointer-events: none;
}
.img-frame:hover img { transform: scale(1.045); }
.card-rule { width: 44px; height: 2px; background: var(--accent); margin-bottom: 18px; }
.desk-card h3 {
  font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.06em; font-weight: 400; margin-bottom: 12px;
}
.desk-card p { color: var(--muted); max-width: 46ch; }

/* ---------- Full-bleed bands (parallax) ---------- */
.band {
  position: relative; overflow: hidden;
  padding: clamp(110px, 16vw, 200px) 0;
}
.band-bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,11,9,0.86) 0%, rgba(13,11,9,0.55) 55%, rgba(13,11,9,0.35) 100%);
}
.band-center { text-align: center; }
.band-center::before {
  background: linear-gradient(180deg, rgba(13,11,9,0.72), rgba(13,11,9,0.58));
}
.band .section-display { color: #f4efe6; }
.band .band-sub { margin-top: 14px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; letter-spacing: 0.02em; color: var(--accent-bright); }
.band p.band-text { max-width: 560px; margin-top: 22px; color: rgba(236, 230, 218, 0.85); }
.band-center p.band-text { margin-inline: auto; }

/* ---------- Brands / marquee ---------- */
.brands { background: var(--bg-2); border-block: 1px solid var(--line); }
.brands-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.brand-col { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.brand-col h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.brand-col p { color: var(--muted); font-size: 15.5px; }
.marquee {
  --gap: clamp(48px, 7vw, 96px);
  position: relative; display: flex; overflow: hidden; user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; flex: none; align-items: center; gap: var(--gap);
  padding-right: var(--gap);
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: 0.12em; color: transparent;
  -webkit-text-stroke: 1px rgba(236, 228, 214, 0.28);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
  white-space: nowrap;
}
.marquee-track span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.feature {
  position: relative; padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 0.5s;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(201, 141, 82, 0.10), transparent 65%);
  opacity: 0; transition: opacity 0.5s;
}
.feature:hover::before { opacity: 1; }
.feature-num {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.2em;
  color: var(--accent); display: block; margin-bottom: 40px;
}
.feature h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Products ---------- */
.featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; margin-bottom: clamp(64px, 9vw, 120px);
}
.featured-info .eyebrow { color: var(--accent); }
.featured-info h3 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); letter-spacing: 0.04em; font-weight: 400; line-height: 1.15; }
.featured-info .sub-name { display: block; font-family: var(--font-sans); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; color: var(--accent-bright); margin-top: 10px; letter-spacing: 0; }
.featured-info p { color: var(--muted); margin: 22px 0 30px; max-width: 52ch; }
.featured .img-frame img { aspect-ratio: 4 / 5; object-fit: cover; }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px);
}
.product-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease-out), border-color 0.6s, box-shadow 0.6s;
}
.product-card:hover {
  transform: translateY(-8px); border-color: rgba(201, 141, 82, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 11, 9, 0.45));
  opacity: 0.6; transition: opacity 0.5s;
}
.product-card:hover .product-media::after { opacity: 0.25; }
.product-num {
  position: absolute; top: 14px; left: 16px; z-index: 1;
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em;
  color: rgba(244, 239, 230, 0.85);
  background: rgba(13, 11, 9, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(236,228,214,0.14);
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-en { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.product-body h3 { font-size: 19.5px; font-weight: 700; margin-bottom: 10px; }
.product-body p { font-size: 14.5px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 18px; }

/* ---------- Stats band ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 80px); text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px);
  color: #f4efe6; line-height: 1;
}
.stat-num .suffix { color: var(--accent-bright); }
.stat-label { margin-top: 12px; font-size: 13.5px; letter-spacing: 0.06em; color: rgba(236, 230, 218, 0.72); }

/* ---------- Custom order ---------- */
.custom-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.custom-info h3 { margin-top: 8px; }
.custom-info .display-sm {
  font-family: var(--font-display); font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 14px;
}
.custom-info p { color: var(--muted); margin: 20px 0 30px; max-width: 50ch; }
.custom-grid .img-frame img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Footer / contact ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 120px); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.footer h2.section-display { font-size: clamp(28px, 3.6vw, 46px); }
.contact-rows { margin-top: 34px; display: grid; gap: 26px; }
.contact-row .label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.contact-row p, .contact-row a { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.contact-row a.phone {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--text);
  letter-spacing: 0.04em; transition: color 0.3s;
}
.contact-row a.phone:hover { color: var(--accent-bright); }
.map-frame {
  margin-top: 38px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); filter: grayscale(0.35) contrast(1.02);
}
.footer-col h3 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 22px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color 0.3s, padding-left 0.3s; }
.footer-col a:hover { color: var(--accent-bright); padding-left: 6px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--faint); }
.footer-bottom .tagline { color: var(--muted); }
.footer-legal { display: flex; align-items: center; gap: 22px; }
.footer-legal a { font-size: 13px; color: var(--faint); transition: color 0.3s; }
.footer-legal a:hover { color: var(--accent-bright); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23, 20, 15, 0.8); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, border-color 0.3s, color 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent-bright); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Terms page ---------- */
.terms-main { padding: calc(var(--header-h) + clamp(48px, 8vw, 90px)) 0 clamp(80px, 10vw, 130px); }
.terms-main .updated { color: var(--faint); font-size: 14px; margin-top: 14px; }
.terms-main .intro-p { color: var(--muted); max-width: 70ch; margin-top: 26px; font-size: 16.5px; }
.terms-list { margin-top: clamp(40px, 6vw, 64px); max-width: 820px; counter-reset: terms; }
.terms-list li { border-top: 1px solid var(--line); padding: 30px 0; counter-increment: terms; }
.terms-list h2 {
  font-size: 18px; font-weight: 700; margin-bottom: 10px; display: flex; gap: 16px; align-items: baseline;
}
.terms-list h2::before {
  content: counter(terms, decimal-leading-zero);
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.15em; color: var(--accent);
}
.terms-list p { color: var(--muted); font-size: 15.5px; max-width: 75ch; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(13, 11, 9, 0.97);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease-out), visibility 0.45s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 10px; text-align: center; }
  .main-nav a:not(.btn) { font-size: 24px; font-weight: 600; letter-spacing: 0.06em; text-transform: none; padding: 12px; color: var(--text); }
  .main-nav li { opacity: 0; transform: translateY(22px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
  .nav-open .main-nav li { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(1) { transition-delay: 0.10s; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: 0.16s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: 0.22s; }
  .nav-open .main-nav li:nth-child(4) { transition-delay: 0.28s; }
  .nav-open .main-nav li:nth-child(5) { transition-delay: 0.34s; }
  .main-nav .nav-store { margin-top: 18px; }
  .main-nav .lang-switch a { font-size: 13px; font-weight: 600; padding: 8px 16px; letter-spacing: 0.08em; }
  body.nav-open { overflow: hidden; }

  .hero { align-items: center; }
  .hero-content { margin-top: 8vh; }
  .scroll-hint { display: none; }
  .desk-grid { grid-template-columns: 1fr; }
  .desk-card:nth-child(2) { margin-top: 0; }
  .brands-cols { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured .img-frame { order: -1; }
  .custom-grid { grid-template-columns: 1fr; }
  .custom-grid .img-frame { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .eyebrow { letter-spacing: 0.22em; font-size: 11px; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-num { margin-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .to-top { right: 18px; bottom: 18px; width: 46px; height: 46px; }
  .header-right .lang-switch { display: none; }
  .main-nav .lang-switch-mobile { display: flex; margin-top: 26px; }
}
@media (min-width: 561px) { .lang-switch-mobile { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-scale, .fade-up-late, .hero h1 .line > span { opacity: 1 !important; transform: none !important; }
  .band-bg { inset: 0; }
  body::after { display: none; }
}
