/* ============================================================
   L'angelot — Handmade Leather Dog Tags
   Design system + page styles
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   THEME TOKENS
   Default = Dark Luxe (ダーク × ゴールド)
   ============================================================ */
:root {
  --serif-en: 'Marcellus', 'Shippori Mincho', serif;
  --serif-jp: 'Shippori Mincho', serif;
  --sans-jp:  'Zen Kaku Gothic New', sans-serif;

  /* surfaces */
  --bg:    oklch(0.205 0.012 62);
  --bg-2:  oklch(0.245 0.014 62);
  --bg-3:  oklch(0.285 0.015 62);
  --bg-inv: oklch(0.96 0.012 85);

  /* ink */
  --ink:      oklch(0.93 0.012 80);
  --ink-soft: oklch(0.80 0.014 78);
  --ink-mute: oklch(0.62 0.016 72);
  --ink-inv:  oklch(0.26 0.02 60);

  /* lines + accent */
  --line:      oklch(0.40 0.018 68 / 0.55);
  --line-soft: oklch(0.50 0.016 70 / 0.28);
  --gold:      oklch(0.78 0.085 82);
  --gold-2:    oklch(0.68 0.085 70);
  --gold-soft: oklch(0.78 0.085 82 / 0.16);

  --hero-overlay: linear-gradient(180deg, oklch(0.18 0.012 60 / 0.15), oklch(0.16 0.012 60 / 0.78));
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.04) inset, 0 24px 60px -34px oklch(0 0 0 / 0.85);
  --shadow-soft: 0 18px 50px -30px oklch(0 0 0 / 0.7);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

[data-theme="ivory"] {
  --bg:    oklch(0.965 0.010 88);
  --bg-2:  oklch(0.945 0.012 86);
  --bg-3:  oklch(0.985 0.006 90);
  --bg-inv: oklch(0.24 0.02 60);

  --ink:      oklch(0.30 0.022 58);
  --ink-soft: oklch(0.42 0.02 60);
  --ink-mute: oklch(0.56 0.018 64);
  --ink-inv:  oklch(0.95 0.01 88);

  --line:      oklch(0.55 0.02 64 / 0.30);
  --line-soft: oklch(0.55 0.02 64 / 0.16);
  --gold:      oklch(0.58 0.09 66);
  --gold-2:    oklch(0.50 0.085 58);
  --gold-soft: oklch(0.58 0.09 66 / 0.12);

  --hero-overlay: linear-gradient(180deg, oklch(0.99 0.006 90 / 0.10), oklch(0.97 0.008 88 / 0.55));
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 22px 55px -36px oklch(0.3 0.03 60 / 0.45);
  --shadow-soft: 0 18px 48px -32px oklch(0.3 0.03 60 / 0.32);
}

[data-theme="craft"] {
  --bg:    oklch(0.905 0.024 80);
  --bg-2:  oklch(0.875 0.028 76);
  --bg-3:  oklch(0.935 0.020 82);
  --bg-inv: oklch(0.27 0.03 56);

  --ink:      oklch(0.32 0.035 52);
  --ink-soft: oklch(0.44 0.032 54);
  --ink-mute: oklch(0.56 0.028 58);
  --ink-inv:  oklch(0.93 0.02 82);

  --line:      oklch(0.50 0.04 54 / 0.34);
  --line-soft: oklch(0.50 0.04 54 / 0.18);
  --gold:      oklch(0.52 0.10 56);
  --gold-2:    oklch(0.44 0.095 48);
  --gold-soft: oklch(0.52 0.10 56 / 0.14);

  --hero-overlay: linear-gradient(180deg, oklch(0.92 0.02 80 / 0.12), oklch(0.88 0.025 76 / 0.58));
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.4) inset, 0 22px 55px -36px oklch(0.3 0.04 52 / 0.5);
  --shadow-soft: 0 18px 48px -32px oklch(0.3 0.04 52 / 0.36);
}

/* ============================================================
   BASE
   ============================================================ */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-jp);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
  transition: background 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* eyebrow */
.eyebrow {
  font-family: var(--serif-en);
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* section heading */
.sec-title {
  font-family: var(--serif-jp);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--ink);
}
.sec-lead {
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 2.05;
}

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { align-items: center; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--sans-jp);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  padding: 0.95em 1.9em;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn .en { font-family: var(--serif-en); letter-spacing: 0.16em; font-size: 0.78rem; text-transform: uppercase; }
.btn-primary {
  background: var(--gold);
  color: oklch(0.20 0.012 60);
  border: 1px solid var(--gold);
}
[data-theme="ivory"] .btn-primary, [data-theme="craft"] .btn-primary { color: var(--bg-3); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-arrow svg { transition: transform 0.25s ease; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
}
.brand {
  font-family: var(--serif-en);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  display: flex; flex-direction: column; line-height: 1;
}
.brand small {
  font-family: var(--sans-jp);
  font-size: 0.52rem; letter-spacing: 0.46em;
  color: var(--gold); margin-top: 6px; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-size: 0.86rem; letter-spacing: 0.06em; color: var(--ink-soft);
  position: relative; padding-block: 6px; transition: color 0.25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.lang-toggle button {
  font-family: var(--serif-en);
  font-size: 0.72rem; letter-spacing: 0.12em;
  padding: 7px 12px; color: var(--ink-mute); transition: all 0.25s ease;
}
.lang-toggle button.active { background: var(--gold); color: oklch(0.2 0.012 60); }
[data-theme="ivory"] .lang-toggle button.active,
[data-theme="craft"] .lang-toggle button.active { color: var(--bg-3); }

.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 80px; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 80px);
  align-items: center; width: 100%;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.24;
  letter-spacing: 0.03em;
  margin: 26px 0 28px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub { color: var(--ink-soft); font-size: 1.06rem; line-height: 2.05; max-width: 44ch; }
.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 34px; margin-top: 52px; padding-top: 30px;
  border-top: 1px solid var(--line-soft); flex-wrap: wrap;
}
.hero-meta .item .n {
  font-family: var(--serif-en); font-size: 1.7rem; color: var(--gold); line-height: 1;
}
.hero-meta .item .l { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.08em; margin-top: 8px; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft);
}
.hero-frame image-slot { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; z-index: 3; bottom: -22px; left: -22px;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--bg-2); border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-soft);
}
.hero-badge .seal { font-family: var(--serif-en); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--gold); line-height: 1.7; }
.hero-glow {
  position: absolute; inset: auto -10% -30% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--gold-soft), transparent 62%);
  pointer-events: none; z-index: 0;
}

/* ============================================================
   IMAGE PLACEHOLDER (shared)
   ============================================================ */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 120px;
  background:
    repeating-linear-gradient(135deg,
      color-mix(in oklab, var(--ink) 7%, transparent) 0 2px,
      transparent 2px 11px),
    var(--bg-3);
  display: grid; place-items: center;
}
.ph span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-mute);
  text-transform: uppercase; padding: 6px 12px;
  border: 1px dashed var(--line); border-radius: 2px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
}

/* ============================================================
   LEATHER NAME-PLATE on BRAIDED CORD (CSS rendering)
   ============================================================ */
.tag-stage {
  position: relative; display: grid; place-items: center;
  padding: 26px 6px; min-height: 240px; width: 100%;
}
.band {
  position: relative; width: min(100%, 380px); height: 130px;
  display: grid; place-items: center;
}
/* braided two-tone cord running across */
.braid {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 24px; border-radius: 12px; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.04) 38%, rgba(0,0,0,0.34) 100%),
    repeating-linear-gradient(57deg,
      var(--cord1) 0 7px,
      color-mix(in oklab, var(--cord1) 64%, #000) 7px 9px,
      var(--cord2) 9px 16px,
      color-mix(in oklab, var(--cord2) 64%, #000) 16px 18px);
  box-shadow:
    inset 0 -4px 7px rgba(0,0,0,0.32),
    inset 0 2px 3px rgba(255,255,255,0.3),
    0 10px 22px -12px rgba(0,0,0,0.7);
}
/* lobster clasp + ring on the right end */
.clasp { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; align-items: center; }
.clasp .ring {
  width: 15px; height: 15px; border-radius: 50%; border: 3px solid;
  border-color: #ececf0 #b6b6bc #9a9aa0 #d4d4da; box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.clasp .hook {
  width: 11px; height: 19px; border-radius: 6px; margin-left: -3px;
  background: radial-gradient(circle at 36% 30%, #f2f2f4, #9c9ca2 72%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* the curled leather name plate */
.nameplate {
  position: relative; z-index: 3;
  width: 236px; height: 92px; border-radius: 11px;
  background:
    radial-gradient(150% 90% at 14% 8%, color-mix(in oklab, var(--lt-light) 92%, transparent), transparent 52%),
    radial-gradient(130% 120% at 86% 96%, color-mix(in oklab, var(--lt-dark) 82%, transparent), transparent 58%),
    linear-gradient(90deg,
      color-mix(in oklab, var(--lt-dark) 78%, transparent) 0%,
      var(--lt-base) 11%, var(--lt-light) 50%, var(--lt-base) 89%,
      color-mix(in oklab, var(--lt-dark) 78%, transparent) 100%);
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--lt-light) 80%, transparent) inset,
    0 -6px 14px -8px color-mix(in oklab, var(--lt-dark) 85%, transparent) inset,
    0 18px 34px -18px rgba(0,0,0,0.62);
  display: grid; place-items: center; overflow: hidden;
}
.nameplate::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.5; pointer-events: none;
}
/* hand-stitch lines along top & bottom edges */
.nameplate::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 8px; bottom: 8px;
  border-top: 1.5px dotted color-mix(in oklab, var(--lt-stitch) 82%, transparent);
  border-bottom: 1.5px dotted color-mix(in oklab, var(--lt-stitch) 82%, transparent);
  pointer-events: none;
}
.plate-name {
  position: relative; z-index: 2; padding: 0 16px; text-align: center;
  white-space: nowrap; max-width: 100%;
  font-family: 'Dancing Script', cursive; font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 1.95rem); line-height: 1.05; letter-spacing: 0.01em;
  color: color-mix(in oklab, var(--lt-engrave) 94%, transparent);
  text-shadow: 0 1px 0 color-mix(in oklab, var(--lt-light) 55%, transparent), 0 -0.5px 0.5px rgba(0,0,0,0.28);
}
.nameplate.back .plate-name {
  font-family: var(--serif-en); font-weight: 400; font-size: clamp(1rem, 4vw, 1.3rem); letter-spacing: 0.06em;
}
.plate-back { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.plate-sub {
  position: relative; z-index: 2; text-align: center; white-space: nowrap;
  font-family: var(--sans-jp); font-size: 0.7rem; letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--lt-engrave) 82%, transparent);
  text-shadow: 0 1px 0 color-mix(in oklab, var(--lt-light) 50%, transparent);
}
/* crystal accents (diagonal, like the real piece) */
.crystal { position: absolute; z-index: 4; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 0 5px rgba(255,255,255,0.4); }
.crystal.clear { background: radial-gradient(circle at 34% 28%, #ffffff, #e8eef6 38%, #b6c0cd 76%); }
.crystal.ab { background: radial-gradient(circle at 34% 28%, #fbfff0, #b7f0ca 32%, #82d2e2 58%, #c9a2e2 86%); }
.crystal.c-tl { top: 13px; left: 16px; width: 13px; height: 13px; }
.crystal.c-br { bottom: 13px; right: 16px; width: 13px; height: 13px; }

/* ============================================================
   CUSTOMIZER
   ============================================================ */
.customizer {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.cz-preview {
  position: relative; border-radius: 4px; padding: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--gold-soft), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.cz-flip {
  display: inline-flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.cz-flip button {
  font-size: 0.78rem; letter-spacing: 0.08em; padding: 8px 18px; color: var(--ink-mute);
  transition: all 0.25s ease;
}
.cz-flip button.active { background: var(--gold); color: oklch(0.2 0.012 60); }
[data-theme="ivory"] .cz-flip button.active,
[data-theme="craft"] .cz-flip button.active { color: var(--bg-3); }

.cz-controls { display: flex; flex-direction: column; gap: 30px; }
.field-label {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px;
}
.field-label .num {
  font-family: var(--serif-en); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em;
}
.field-label .txt { font-size: 0.94rem; letter-spacing: 0.04em; color: var(--ink); }
.field-label .en { font-family: var(--serif-en); font-size: 0.66rem; letter-spacing: 0.2em; color: var(--ink-mute); text-transform: uppercase; margin-left: auto; }

.cz-input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 2px; padding: 13px 16px; color: var(--ink);
  font-family: var(--sans-jp); font-size: 1rem; letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.cz-input::placeholder { color: var(--ink-mute); }
.cz-input:focus { outline: none; border-color: var(--gold); }
.cz-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; position: relative;
  border: 1px solid oklch(0 0 0 / 0.25);
  box-shadow: 0 2px 6px oklch(0 0 0 / 0.3) inset, 0 1px 3px oklch(0 0 0 / 0.3);
  transition: transform 0.2s ease;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold); transform: scale(1.06); }
.swatch.cord-style { border-radius: 4px; width: 34px; height: 40px; }
.swatch-group { display: flex; flex-direction: column; gap: 12px; }
.swatch-group .sg-label { font-size: 0.76rem; color: var(--ink-mute); letter-spacing: 0.06em; }

.shape-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.shape-btn {
  width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 4px;
  display: grid; place-items: center; transition: all 0.25s ease; color: var(--ink-mute);
}
.shape-btn:hover { border-color: var(--gold); color: var(--gold); }
.shape-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.shape-btn i { display: block; background: currentColor; }
.shape-btn .s-round { width: 26px; height: 26px; border-radius: 50%; }
.shape-btn .s-square { width: 26px; height: 26px; border-radius: 6px; }
.shape-btn .s-shield { width: 24px; height: 28px; border-radius: 5px 5px 50% 50% / 5px 5px 32% 32%; }
.shape-btn .s-tag { width: 30px; height: 22px; border-radius: 4px; }

.cz-note {
  font-size: 0.82rem; color: var(--ink-mute); line-height: 1.8;
  padding: 16px; border: 1px dashed var(--line); border-radius: 3px;
  background: var(--gold-soft);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px);
}
.product-card {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px;
  overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: var(--shadow-soft); }
.product-card .pc-img { aspect-ratio: 4/3; position: relative; }
.product-card .pc-img image-slot { width: 100%; height: 100%; }
.product-card .pc-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--serif-en); font-size: 0.62rem; letter-spacing: 0.16em;
  padding: 5px 10px; background: color-mix(in oklab, var(--bg) 70%, transparent);
  border: 1px solid var(--gold-soft); color: var(--gold); text-transform: uppercase;
}
.product-card .pc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .pc-name { font-family: var(--serif-jp); font-size: 1.22rem; font-weight: 600; letter-spacing: 0.04em; }
.product-card .pc-en { font-family: var(--serif-en); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; }
.product-card .pc-desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.85; margin-top: 4px; }
.product-card .pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.product-card .pc-price { font-family: var(--serif-en); font-size: 1.3rem; color: var(--ink); }
.product-card .pc-price small { font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.06em; }
.product-card .pc-buy { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.product-card .pc-buy svg { transition: transform 0.25s ease; }
.product-card:hover .pc-buy svg { transform: translateX(3px); }

/* ============================================================
   ORDER FLOW
   ============================================================ */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.flow-step { position: relative; padding-top: 30px; }
.flow-step .fs-num {
  font-family: var(--serif-en); font-size: 3rem; line-height: 1; color: var(--gold);
  opacity: 0.9;
}
.flow-step .fs-line { height: 1px; background: var(--line); margin: 22px 0; position: relative; }
.flow-step .fs-line::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.flow-step .fs-title { font-family: var(--serif-jp); font-size: 1.16rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 10px; }
.flow-step .fs-en { font-family: var(--serif-en); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; display: block; margin-bottom: 12px; }
.flow-step .fs-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.9; }

/* ============================================================
   CARE
   ============================================================ */
.care-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.care-visual { position: relative; aspect-ratio: 5/4; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); }
.care-visual image-slot { width: 100%; height: 100%; }
.care-list { display: flex; flex-direction: column; }
.care-item { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.care-item:last-child { border-bottom: none; }
.care-item .ci-ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold-soft); display: grid; place-items: center; color: var(--gold);
}
.care-item .ci-title { font-family: var(--serif-jp); font-size: 1.06rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 5px; }
.care-item .ci-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.85; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.review-card {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 4px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 18px;
}
.review-card .stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.9rem; }
.review-card .quote { font-family: var(--serif-jp); font-size: 1.04rem; line-height: 2.0; letter-spacing: 0.02em; color: var(--ink); }
.review-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.review-card .who .av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.review-card .who .av image-slot { width: 100%; height: 100%; }
.review-card .who .meta .n { font-size: 0.9rem; color: var(--ink); }
.review-card .who .meta .d { font-size: 0.76rem; color: var(--ink-mute); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 26px 0; font-family: var(--serif-jp); font-size: 1.08rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); transition: color 0.25s ease;
}
.faq-q:hover { color: var(--gold); }
.faq-q .qn { font-family: var(--serif-en); font-size: 0.8rem; color: var(--gold); flex: none; }
.faq-q .qi { margin-left: auto; flex: none; position: relative; width: 16px; height: 16px; transition: transform 0.3s ease; }
.faq-q .qi::before, .faq-q .qi::after { content: ""; position: absolute; background: var(--gold); }
.faq-q .qi::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-q .qi::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); transition: opacity 0.3s ease; }
.faq-item.open .qi::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a .faq-a-inner { padding: 0 0 28px 38px; color: var(--ink-soft); font-size: 0.94rem; line-height: 2.0; max-width: 60ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 15px; color: var(--ink); font-family: var(--sans-jp); font-size: 0.95rem;
  transition: border-color 0.25s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }
.contact-aside .ca-card { padding: 26px; border: 1px solid var(--line-soft); border-radius: 4px; margin-bottom: 18px; }
.contact-aside .ca-card h4 { font-family: var(--serif-jp); font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.03em; }
.contact-aside .ca-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.95; }
.contact-aside .ca-card a { color: var(--gold); }
.form-success {
  padding: 14px 16px; border: 1px solid var(--gold); border-radius: 2px; color: var(--gold);
  font-size: 0.9rem; background: var(--gold-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 56px 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.9; max-width: 36ch; }
.footer-col h5 { font-family: var(--serif-en); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--ink-soft); padding: 6px 0; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ============================================================
   reveal — transform-only entrance. Opacity is ALWAYS 1 so
   content can never be left invisible if a render context
   throttles/pauses animations.
   ============================================================ */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .reveal:not(.in) { transform: translateY(22px); }
  .reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.nav-mobile-only { display: none; }

@media (max-width: 1000px) {
  .product-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hero-grid, .customizer, .care-wrap, .faq-wrap, .contact-wrap, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .care-wrap .care-visual { order: -1; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 700px) {
  .section { padding-block: clamp(56px, 13vw, 96px); }
  .nav { height: 64px; }
  .site-header.scrolled { backdrop-filter: blur(12px); }
  .brand { font-size: 1.3rem; }
  .nav-cta-desktop { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: color-mix(in oklab, var(--bg) 96%, transparent); backdrop-filter: blur(14px);
    padding: 18px var(--pad) 26px; gap: 4px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .nav-mobile-only a { color: var(--gold) !important; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); }
  .nav-right { gap: 12px; }

  .product-grid, .review-grid, .flow-grid { grid-template-columns: 1fr; }
  .cz-input-row, .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px 28px; }
  .hero { padding-top: 64px; min-height: auto; padding-block: 96px 64px; }
  .hero h1 { margin: 20px 0 22px; }

  /* customizer breathing room so the clasp never clips */
  .cz-preview { padding: 26px 20px; }
  .tag-stage { padding: 22px 14px; min-height: 200px; }
  .band { width: min(100%, 320px); }
  .nameplate { width: min(90%, 226px); }

  /* comfortable touch targets */
  .cz-flip button { padding: 11px 16px; }
  .swatch { width: 42px; height: 42px; }
  .swatch.cord-style { width: 36px; height: 44px; }

  .hero-badge { width: 104px; height: 104px; bottom: -16px; left: 50%; transform: translateX(-50%); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  :root { --pad: 16px; }
  .brand small { font-size: 0.46rem; letter-spacing: 0.32em; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.3em; }
  .lang-toggle button { padding: 6px 9px; }
  .band { width: 100%; }
  .nameplate { width: 92%; }
  .plate-name { font-size: clamp(1.25rem, 8vw, 1.7rem); }
}
