/* =========================================================
   MAISON AXY — Luxury Editorial Demo
   Inspiration: Hermès × Maison Margiela × The Row × Loro Piana
   Design Director: AMELA Design Team
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,500;1,700&family=Italiana&family=Inter:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&family=Noto+Sans+JP:wght@200;300;400;500;700&display=swap');

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* === PAPER & INK — near white, barely warm === */
  --paper: #FEFDF9;        /* almost white, faintest cream */
  --paper-2: #FAF6EC;
  --paper-3: #F0E9D6;
  --paper-soft: #FFFFFC;
  --surface: #FFFFFF;
  --surface-cream: #FCF8EE;

  --ink: #0C0C0A;
  --ink-2: #232220;
  --ink-3: #4A4742;
  --muted: #7A766D;
  --muted-2: #A39E94;
  --line: #DED6C2;
  --line-soft: #EAE3CF;
  --line-hair: #F2ECDD;

  /* === ACCENT — Whisper bronze (used sparingly) === */
  --accent: #7A6444;       /* deeper, more refined */
  --accent-dark: #4D3F2A;
  --accent-light: #9C8160;

  /* Functional */
  --success: #3A5A3B;
  --warning: #8C5A22;
  --error: #6E2A2A;

  /* === TYPOGRAPHY === */
  --f-italiana: 'Italiana', 'Playfair Display', 'Noto Serif JP', serif;
  --f-playfair: 'Playfair Display', 'Noto Serif JP', serif;
  --f-cormorant: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --f-jp-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --f-sans: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --f-jp-sans: 'Noto Sans JP', 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* === SHARP === */
  --r: 0;

  /* === LAYOUT === */
  --container: 1320px;
  --container-wide: 1520px;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-jp-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture overlay on entire body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139,115,85,0.04) 0%, transparent 60%);
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; transition: opacity .35s ease; }
a:hover { opacity: .58; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* ============ TYPOGRAPHY HELPERS ============ */
.italiana { font-family: var(--f-italiana); font-weight: 400; letter-spacing: 0.01em; }
.playfair { font-family: var(--f-playfair); font-weight: 400; }
.cormorant { font-family: var(--f-cormorant); font-weight: 400; }
.jp-serif { font-family: var(--f-jp-serif); font-weight: 300; }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-accent { color: var(--accent); }
.eyebrow.center::before, .eyebrow.center::after {
  content: '—';
  margin: 0 14px;
  color: var(--line);
}

.tiny {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.roman {
  font-family: var(--f-italiana);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* Section numbering — fashion week style */
.section-num {
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ============ LAYOUT ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.section { padding: 180px 0; position: relative; z-index: 2; }
.section-sm { padding: 100px 0; position: relative; z-index: 2; }
.section-xs { padding: 56px 0; position: relative; z-index: 2; }

.rule { height: 1px; background: var(--line); border: none; margin: 0; }
.rule-hair { height: 1px; background: var(--line-hair); border: none; }
.rule-vertical { width: 1px; background: var(--line); }
.rule-accent { height: 1px; background: var(--accent); border: none; width: 60px; }
.dot-accent { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }

/* ============ HEADER — Fashion week style ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 253, 249, 0.94);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--line-hair);
  height: var(--header-h);
}
.header-top {
  height: 28px;
  border-bottom: 1px solid var(--line-hair);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.header-inner {
  height: calc(var(--header-h) - 28px);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  font-family: var(--f-italiana);
  font-size: 30px;
  letter-spacing: 0.42em;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  text-indent: 0.42em;
}
.logo small {
  display: block;
  font-family: var(--f-cormorant);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
  font-style: italic;
}
.nav { display: flex; gap: 38px; align-items: center; }
.nav a {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 8px 0;
  font-family: var(--f-sans);
}
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 6px; height: 1px; background: var(--accent);
}
.header-actions { display: flex; gap: 14px; align-items: center; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  transition: opacity .3s;
  color: var(--ink);
}
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1; fill: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 18px 38px;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  min-height: 54px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}
.btn:hover { color: var(--ink); opacity: 1; }
.btn:hover::before { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline::before { background: var(--ink); }
.btn-outline:hover { color: var(--paper); }
.btn-accent {
  background: var(--accent); border-color: var(--accent); color: var(--paper);
}
.btn-accent::before { background: var(--accent-dark); }
.btn-accent:hover { color: var(--paper); }
.btn-text {
  padding: 0; background: none; border: none; color: var(--ink);
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600;
  position: relative; min-height: auto;
  padding-bottom: 6px;
  display: inline-block;
}
.btn-text::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%; background: currentColor;
  transform-origin: right;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.btn-text:hover::after { transform: scaleX(0); transform-origin: left; }
.btn-text:hover { background: none; opacity: 1; }
.btn-sm { padding: 12px 22px; font-size: 9px; min-height: 38px; letter-spacing: 0.28em; }
.btn-block { width: 100%; }
.btn-icon { width: 14px; height: 1px; background: currentColor; position: relative; display: inline-block; }
.btn-icon::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ============ HERO — FULL CINEMATIC ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  background: #0A0A08;
  overflow: hidden;
  margin-top: -1px;
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.62) contrast(1.08) saturate(0.85);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero:hover .hero-image { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.5) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.75 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative; z-index: 3;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 48px 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #F4F0E6;
}
.hero-top {
  position: absolute;
  top: 48px; left: 48px; right: 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: rgba(244,240,230,0.7);
}
.hero-top .right { text-align: right; line-height: 2; font-size: 10px; letter-spacing: 0.4em; font-family: var(--f-sans); font-weight: 300; text-transform: uppercase; }
.hero-eyebrow {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 36px; font-weight: 400;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent-light); }
.hero-title {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 14ch;
}
.hero-title .accent-word { font-style: italic; font-weight: 400; color: var(--accent-light); }
.hero-title .en {
  display: block;
  font-family: var(--f-italiana);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(244,240,230,0.78);
  margin-top: 28px;
  text-transform: uppercase;
}
.hero-sub {
  font-family: var(--f-jp-serif);
  max-width: 480px;
  color: rgba(244,240,230,0.7);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 24px; align-items: center; }
.hero .btn { background: transparent; color: #F4F0E6; border-color: #F4F0E6; }
.hero .btn::before { background: #F4F0E6; }
.hero .btn:hover { color: var(--ink); }
.hero .btn-text { color: #F4F0E6; }

.hero-side {
  position: absolute;
  right: 48px; bottom: 100px;
  text-align: right;
  z-index: 4;
  color: rgba(244,240,230,0.85);
}
.hero-side .marker {
  font-family: var(--f-italiana);
  font-size: 64px;
  line-height: 0.9;
  color: var(--accent-light);
  margin-bottom: 8px;
  font-style: italic;
}
.hero-side .label {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(244,240,230,0.6);
  font-weight: 400;
}
.hero-side .meta { margin-top: 24px; font-size: 10px; letter-spacing: 0.32em; color: rgba(244,240,230,0.5); line-height: 2; font-family: var(--f-sans); text-transform: uppercase; }

.scroll-cue {
  position: absolute;
  left: 48px; bottom: 32px;
  color: rgba(244,240,230,0.6);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-sans);
  z-index: 4;
}
.scroll-cue::after {
  content: ''; width: 60px; height: 1px;
  background: linear-gradient(90deg, rgba(244,240,230,0.6), transparent);
  animation: scroll-pulse 2.6s infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .35; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(8px); }
}

/* ============ MANIFESTO — Massive serif statement ============ */
.manifesto {
  padding: 220px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line-hair);
  background: var(--paper-soft);
}
.manifesto::before {
  content: '·';
  position: absolute;
  top: 80px; left: 50%; transform: translateX(-50%);
  color: var(--accent);
  font-size: 32px;
  font-family: var(--f-italiana);
}
.manifesto .container-narrow { position: relative; }
.manifesto .quote-mark {
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 120px;
  color: var(--accent);
  line-height: 0.5;
  opacity: .25;
  margin-bottom: 24px;
  display: block;
}
.manifesto h2 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 36px;
}
.manifesto h2 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}
.manifesto .signature {
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-top: 48px;
}
.manifesto .signature::before { content: '— '; }

/* ============ SECTION HEAD ============ */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 100px;
  gap: 60px;
  flex-wrap: wrap;
}
.section-head-text { max-width: 640px; }
.section-head .index {
  font-family: var(--f-italiana);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.section-head .index::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 80px; }
.section-head h2 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.section-head h2 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.section-head .en {
  font-family: var(--f-italiana);
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.section-head-right { text-align: right; }
.section-head p {
  color: var(--ink-3);
  max-width: 460px;
  font-size: 14px;
  line-height: 1.95;
  font-family: var(--f-jp-serif);
  font-weight: 300;
}

/* ============ CONCEPT GRID (refined) ============ */
.concept {
  padding: 140px 0;
  border-bottom: 1px solid var(--line-hair);
  position: relative;
}
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.concept-item {
  padding: 80px 56px 64px;
  border-right: 1px solid var(--line);
  position: relative;
}
.concept-item:last-child { border-right: none; }
.concept-num {
  font-family: var(--f-italiana);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.3em;
  display: flex; align-items: center; gap: 12px;
}
.concept-num::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.concept-item h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.concept-item p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 2;
  font-family: var(--f-jp-sans);
  font-weight: 300;
}

/* ============ PROJECT CARDS — Pure editorial (Hermès / Bottega) ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 96px 40px;
}
.project-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 120px 56px; }
.project-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 140px 72px; }

.project-card {
  cursor: pointer;
  display: block;
  position: relative;
}
.project-card:hover .project-img img { transform: scale(1.04); filter: brightness(.98); }
.project-card:hover .project-name { color: var(--accent-dark); }

.project-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper-3);
  margin-bottom: 32px;
}
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.8s cubic-bezier(.2,.6,.2,1), filter .6s;
}

/* Minimal "by reservation" mark — replaces all urgency badges */
.project-mark {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--paper);
  padding: 9px 16px;
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
}
.project-mark.confirmed { background: var(--ink); color: var(--paper); }

.project-fav {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .35s;
  opacity: 0;
}
.project-card:hover .project-fav { opacity: 1; }
.project-fav svg { width: 16px; height: 16px; stroke: var(--paper); fill: none; stroke-width: 1; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4)); }
.project-fav:hover svg { stroke: var(--paper); fill: rgba(255,255,255,0.2); }
.project-fav.active svg { fill: var(--paper); }

.project-num {
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-bottom: 16px;
  text-align: center;
}
.project-num::before, .project-num::after {
  content: ' · ';
  color: var(--line);
}

.project-name {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color .35s;
  letter-spacing: -0.005em;
  text-align: center;
}
.project-name .en {
  display: block;
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.project-athlete {
  font-family: var(--f-italiana);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: 0.22em;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}
.project-price {
  font-family: var(--f-playfair);
  font-size: 18px;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-align: center;
  color: var(--ink);
}
.project-price .yen {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-left: 8px;
  font-family: var(--f-sans);
  font-style: normal;
}

/* ============ EDITORIAL SECTIONS ============ */
.editorial {
  position: relative;
  z-index: 2;
}
.editorial-full {
  height: 90vh;
  min-height: 720px;
  background-size: cover; background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editorial-full::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.25) 100%);
}
.editorial-full .center-text {
  position: relative; z-index: 2;
  text-align: center;
  color: #F4F0E6;
  max-width: 720px;
  padding: 0 32px;
}
.editorial-full .roman {
  color: rgba(244,240,230,0.7);
  margin-bottom: 28px;
  display: block;
}
.editorial-full h3 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.editorial-full h3 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.editorial-full p {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  color: rgba(244,240,230,0.85);
  margin-bottom: 40px;
}
.editorial-full .btn { background: transparent; color: #F4F0E6; border-color: #F4F0E6; }
.editorial-full .btn::before { background: #F4F0E6; }
.editorial-full .btn:hover { color: var(--ink); }
.editorial-full .marker-top {
  position: absolute;
  top: 48px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 60px;
  background: rgba(244,240,230,0.4);
}

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.editorial-split-img {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
}
.editorial-split-text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper-soft);
}
.editorial-split-text .roman { margin-bottom: 24px; }
.editorial-split-text h3 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.25;
  margin: 24px 0 32px;
  letter-spacing: -0.01em;
}
.editorial-split-text h3 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}
.editorial-split-text p {
  color: var(--ink-3);
  line-height: 2;
  margin-bottom: 24px;
  max-width: 480px;
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: 15px;
}

/* ============ LOOKBOOK STRIP ============ */
.lookbook {
  padding: 140px 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
}
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.lookbook-item { overflow: hidden; }
.lookbook-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.6,.2,1); }
.lookbook-item:hover img { transform: scale(1.04); }
.lookbook-item.tall { grid-column: span 5; grid-row: span 2; aspect-ratio: 3/4; }
.lookbook-item.wide { grid-column: span 7; aspect-ratio: 16/10; }
.lookbook-item.square { grid-column: span 7; aspect-ratio: 5/4; }
.lookbook-caption {
  margin-top: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ ATELIER — Athlete cards (pure, minimal) ============ */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px 56px;
}
.athlete-card { display: block; cursor: pointer; position: relative; text-align: center; }
.athlete-card:hover img { transform: scale(1.04); }
.athlete-card:hover .athlete-name { color: var(--accent-dark); }
.athlete-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-3);
  margin-bottom: 32px;
  position: relative;
}
.athlete-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s cubic-bezier(.2,.6,.2,1);
  filter: contrast(0.96);
}
.athlete-num {
  position: absolute;
  bottom: 20px; left: 20px;
  color: var(--paper);
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.36em;
  z-index: 2;
  background: rgba(12,12,10,0.5);
  padding: 6px 14px;
}
.athlete-meta {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 4px;
}
.athlete-meta .roman {
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--muted);
  margin-bottom: 10px;
}
.athlete-name {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 4px;
  transition: color .35s;
  letter-spacing: -0.005em;
}
.athlete-en {
  font-family: var(--f-playfair);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.athlete-sport {
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

/* ============ STORE DETAIL ============ */
.store-hero {
  position: relative;
  height: 75vh;
  min-height: 560px;
  background-size: cover; background-position: center;
  display: flex;
  align-items: flex-end;
}
.store-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.store-hero-content {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 80px;
  color: #F4F0E6;
  z-index: 2;
}
.store-hero .num {
  font-family: var(--f-italiana);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: rgba(244,240,230,0.7);
  margin-bottom: 24px;
}
.store-hero h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.store-hero .en {
  font-family: var(--f-italiana);
  font-size: clamp(20px, 2.4vw, 32px);
  color: rgba(244,240,230,0.78);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}
.store-stats {
  display: flex; gap: 80px; align-items: end;
  padding-top: 40px;
  border-top: 1px solid rgba(244,240,230,0.22);
  flex-wrap: wrap;
}
.store-stat .label {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(244,240,230,0.5);
  margin-bottom: 10px;
}
.store-stat .value {
  font-family: var(--f-playfair);
  font-size: 32px;
  font-weight: 400;
}
.store-stat .value-sm {
  font-family: var(--f-jp-serif);
  font-size: 18px;
  font-weight: 300;
}

.store-bio {
  padding: 120px 0;
  border-bottom: 1px solid var(--line-hair);
}
.store-bio .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  align-items: start;
}
.store-bio .left-col .index { margin-bottom: 24px; }
.store-bio .left-col .title-sub {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.store-bio .left-col .sport {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.store-bio p {
  font-family: var(--f-jp-serif);
  font-size: 20px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 28px;
  font-weight: 300;
}
.store-bio .quote {
  font-family: var(--f-playfair);
  font-style: italic;
  color: var(--accent-dark);
  font-size: 18px;
  line-height: 1.85;
  padding-left: 32px;
  border-left: 1px solid var(--accent);
}

/* ============ PROJECT DETAIL ============ */
.project-detail-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 100px;
  padding: 72px 0 100px;
}
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.project-gallery .main {
  grid-column: 1 / -1;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-3);
}
.project-gallery .thumb {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--paper-3);
}
.project-gallery img { width: 100%; height: 100%; object-fit: cover; }

.project-info { padding-top: 12px; }
.project-info .num-line {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--accent);
}
.project-info .num-line::before, .project-info .num-line::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.project-info .category {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.project-info h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.project-info h1 .en {
  display: block;
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.project-info .athlete {
  font-family: var(--f-jp-sans);
  font-size: 13px;
  color: var(--muted);
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; align-items: center;
}
.project-info .athlete a {
  color: var(--ink);
  font-family: var(--f-jp-serif);
  font-size: 15px;
  font-weight: 400;
}
.project-info .athlete .lbl {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
}
.project-info .price {
  font-family: var(--f-playfair);
  font-size: 40px;
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.project-info .price .yen { font-size: 16px; color: var(--muted); margin-left: 8px; font-family: var(--f-sans); letter-spacing: 0.2em; }
.project-info .price .tax { font-size: 10px; color: var(--muted); margin-left: 16px; letter-spacing: 0.18em; font-family: var(--f-sans); text-transform: uppercase; }

.crowdfund-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  padding: 36px;
  margin-bottom: 36px;
  background: var(--surface-cream);
  position: relative;
}
.crowdfund-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 24px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
}
.crowdfund-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.crowdfund-label {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.crowdfund-value {
  font-family: var(--f-playfair);
  font-size: 28px;
  font-weight: 400;
}
.crowdfund-value .total { color: var(--muted); font-size: 16px; font-family: var(--f-sans); margin-left: 4px; letter-spacing: 0.04em; }
.crowdfund-progress {
  height: 2px;
  background: var(--line);
  position: relative;
  margin: 28px 0 16px;
}
.crowdfund-progress .bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--accent);
}
.crowdfund-meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-sans);
  font-size: 11px; letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.crowdfund-meta .pct {
  font-family: var(--f-playfair);
  font-size: 16px;
  color: var(--accent-dark);
  font-weight: 500;
}
.countdown {
  display: flex; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.countdown-unit {
  flex: 1;
  text-align: center;
  padding: 18px 8px;
  background: var(--ink);
  color: var(--paper);
}
.countdown-num {
  font-family: var(--f-playfair);
  font-size: 32px;
  display: block;
  line-height: 1;
  font-weight: 400;
}
.countdown-label {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase;
  margin-top: 8px;
  color: rgba(242,237,227,0.7);
  font-weight: 500;
}

.notice {
  background: var(--paper-soft);
  padding: 22px 26px;
  margin-bottom: 28px;
  border-left: 1px solid var(--accent);
  font-family: var(--f-jp-serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  font-weight: 300;
}
.notice strong { color: var(--ink); font-weight: 500; }
.notice .label {
  display: block;
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.variant-group { margin-bottom: 28px; }
.variant-label {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex; justify-content: space-between;
  font-weight: 500;
}
.variant-label .selected { color: var(--ink); font-weight: 600; }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.variant {
  min-width: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  text-align: center;
  font-family: var(--f-sans);
  font-size: 12px;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.variant:hover { border-color: var(--ink); }
.variant.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.variant.color {
  width: 36px; height: 36px; padding: 0;
  border-radius: 50%;
  position: relative;
}
.variant.color.selected::after {
  content: ''; position: absolute; inset: -5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

/* ============ TABS ============ */
.tabs {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 60px 0;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--line-hair);
}
.tab-btn {
  padding: 26px 36px;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color .35s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px; background: var(--accent);
}
.tab-panel { padding: 64px 0; display: none; }
.tab-panel.active { display: block; }
.tab-panel .narrow { max-width: 760px; }
.tab-panel h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 28px;
}
.tab-panel p { line-height: 2; color: var(--ink-3); margin-bottom: 24px; font-family: var(--f-jp-serif); font-weight: 300; font-size: 15px; }
.tab-panel .meta-list { list-style: none; }
.tab-panel .meta-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-hair);
  font-size: 14px;
  font-family: var(--f-jp-serif);
  font-weight: 300;
}
.tab-panel .meta-list .key {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.collab-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.collab-card {
  border: 1px solid var(--line-hair);
  padding: 28px;
  display: flex; gap: 24px;
  background: var(--surface-cream);
}
.collab-avatar {
  width: 80px; height: 80px;
  background: var(--paper-3);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.collab-info .role {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.collab-info h4 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 6px;
}
.collab-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-family: var(--f-jp-sans);
  font-weight: 300;
}

/* ============ PAGE HEAD ============ */
.page-head {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line-hair);
  background: var(--paper);
  position: relative;
}
.page-head .container { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.page-head .index {
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.page-head .index::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.page-head h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 0.98;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-head h1 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.page-head .en {
  font-family: var(--f-italiana);
  color: var(--muted);
  font-size: 22px;
  letter-spacing: 0.1em;
}
.page-head-meta {
  text-align: right;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  line-height: 2.2;
  font-weight: 500;
}
.page-head-meta .num {
  font-family: var(--f-playfair);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.breadcrumb {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  padding: 32px 0;
  font-weight: 500;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); opacity: 1; }
.breadcrumb .sep { margin: 0 14px; color: var(--line); }

/* ============ FILTER BAR ============ */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 16px;
}
.filter-tabs { display: flex; gap: 4px; }
.filter-tab {
  padding: 12px 22px;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .3s;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.filter-tab:hover { color: var(--ink); }
.filter-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.filter-sort {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.filter-sort select {
  border: none; background: none;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
  cursor: pointer;
  padding: 4px;
}

/* ============ CART ============ */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 100px;
  padding: 72px 0 140px;
}
.cart-items { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-hair);
  align-items: start;
}
.cart-item-img {
  aspect-ratio: 3/4;
  background: var(--paper-3);
  background-size: cover; background-position: center;
}
.cart-item-info .athlete {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.cart-item-info h4 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 19px;
  margin-bottom: 10px;
}
.cart-item-info .variant-info {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.cart-item-info .status {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
}
.cart-item-right { text-align: right; }
.cart-item-right .price {
  font-family: var(--f-playfair);
  font-size: 20px;
  margin-bottom: 14px;
  font-weight: 400;
}
.cart-item-right .remove {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cart-summary {
  border-top: 2px solid var(--ink);
  padding: 40px;
  background: var(--surface-cream);
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.cart-summary h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.summary-row.total {
  border-top: 1px solid var(--ink);
  margin-top: 20px;
  padding-top: 24px;
  font-family: var(--f-playfair);
  font-size: 26px;
  font-weight: 400;
}
.summary-row.total .amount { font-weight: 500; }

/* ============ CHECKOUT ============ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 100px;
  padding: 56px 0 120px;
}
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.step {
  flex: 1;
  display: flex; align-items: center; gap: 16px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--f-playfair);
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
  font-weight: 400;
}
.step.done .step-num { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step.active .step-num { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.step-label {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.step.done .step-label, .step.active .step-label { color: var(--ink); font-weight: 600; }
.step::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
  margin-left: 16px;
}
.step:last-child::after { display: none; }

.form-group { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.form-input, .form-select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--f-sans);
  font-size: 14px;
  transition: border-color .3s;
}
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--ink);
}
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .3s;
  background: var(--surface);
}
.payment-option:hover { border-color: var(--ink); }
.payment-option.selected { border-color: var(--ink); background: var(--surface-cream); }
.payment-option .radio {
  width: 18px; height: 18px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.payment-option.selected .radio::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--ink); border-radius: 50%;
}
.payment-option .pay-info { flex: 1; }
.payment-option h4 {
  font-family: var(--f-jp-serif);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}
.payment-option p {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--f-jp-sans);
  letter-spacing: 0.02em;
}
.payment-option .pay-icon {
  font-family: var(--f-italiana);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.section-title {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-hair);
}

/* ============ ORDER COMPLETE ============ */
.complete-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 140px;
  text-align: center;
}
.complete-icon {
  width: 88px; height: 88px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 36px;
  position: relative;
}
.complete-icon::before {
  content: ''; position: absolute; inset: -8px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.complete-icon svg { width: 36px; height: 36px; stroke: var(--accent); }
.complete-wrap h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.complete-wrap .order-no {
  font-family: var(--f-italiana);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 48px;
  letter-spacing: 0.2em;
}
.timeline {
  text-align: left;
  margin: 56px 0;
  border: 1px solid var(--line);
  padding: 40px;
  background: var(--surface-cream);
}
.timeline h3 {
  font-family: var(--f-jp-serif);
  font-size: 20px;
  margin-bottom: 28px;
  font-weight: 400;
}
.timeline-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line-hair);
}
.timeline-step:last-child { border-bottom: none; }
.timeline-step .date {
  font-family: var(--f-italiana);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.timeline-step .desc {
  font-family: var(--f-jp-serif);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 300;
}
.timeline-step.active .desc { font-weight: 500; color: var(--ink); }
.timeline-step .marker {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--line);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}
.timeline-step.active .marker { background: var(--accent); box-shadow: 0 0 0 4px rgba(139,115,85,0.18); }
.timeline-step.done .marker { background: var(--ink); }

/* ============ MYPAGE ============ */
.mypage-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 72px 0 120px;
}
.side-nav { border-right: 1px solid var(--line-hair); padding-right: 32px; }
.side-nav .user {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: 32px;
}
.side-nav .user .name {
  font-family: var(--f-jp-serif);
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 400;
}
.side-nav .user .email {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.side-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--f-sans);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  position: relative;
}
.side-nav a:hover { color: var(--ink); opacity: 1; }
.side-nav a.active { color: var(--ink); font-weight: 600; }
.side-nav a.active::before { content: ''; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; background: var(--accent); }

.order-list { display: flex; flex-direction: column; gap: 0; }
.order-card {
  border-bottom: 1px solid var(--line-hair);
  padding: 36px 0;
  transition: background .25s;
}
.order-card:hover { background: var(--surface-cream); }
.order-head {
  display: flex; justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-hair);
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.order-head .id { font-family: var(--f-italiana); font-size: 15px; color: var(--ink); letter-spacing: 0.16em; text-transform: none; }
.order-body { display: grid; grid-template-columns: 100px 1fr auto; gap: 28px; align-items: center; }
.order-body .img {
  width: 100px; height: 130px;
  background: var(--paper-3);
  background-size: cover; background-position: center;
}
.order-body h4 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 8px;
}
.order-body .meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.status-badge {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  padding: 6px 14px;
  font-weight: 600;
  border: 1px solid currentColor;
}
.status-badge.reserved { color: var(--ink); }
.status-badge.success { color: var(--success); background: rgba(58,90,59,0.06); }
.status-badge.shipping { color: var(--warning); background: rgba(140,90,34,0.06); }
.status-badge.done { color: var(--muted); }
.status-badge.failed { color: var(--error); background: rgba(110,42,42,0.06); }
.order-body .right { text-align: right; }
.order-body .price { font-family: var(--f-playfair); font-size: 20px; margin-top: 10px; font-weight: 400; }

/* ============ SEARCH ============ */
.search-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  padding: 72px 0 120px;
}
.search-filters { border-right: 1px solid var(--line-hair); padding-right: 32px; }
.filter-group { margin-bottom: 40px; }
.filter-group h4 {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-hair);
  font-weight: 600;
}
.filter-check {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-family: var(--f-jp-sans);
  font-size: 13px;
  color: var(--ink-3);
  cursor: pointer;
}
.filter-check input { accent-color: var(--ink); }
.filter-check .count {
  font-family: var(--f-italiana);
  color: var(--muted);
  margin-left: auto;
  font-size: 12px;
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 920px; margin: 0 auto; padding: 80px 0 140px; }
.faq-item {
  border-bottom: 1px solid var(--line-hair);
  padding: 32px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--f-jp-serif);
  font-size: 19px;
  font-weight: 400;
  padding-right: 20px;
  letter-spacing: -0.005em;
}
.faq-q .icon {
  font-family: var(--f-italiana);
  font-size: 24px;
  color: var(--accent);
  margin-left: 16px;
  transition: transform .35s;
  font-style: italic;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s, padding-top .35s;
  color: var(--ink-3);
  line-height: 2;
  font-family: var(--f-jp-serif);
  font-size: 14px;
  font-weight: 300;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 20px; }

/* ============ CTA STRIP ============ */
.cta-strip {
  padding: 140px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '·';
  position: absolute;
  top: 40px; left: 50%; transform: translateX(-50%);
  color: var(--accent);
  font-size: 28px;
}
.cta-strip .index {
  font-family: var(--f-italiana);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 16px;
}
.cta-strip .index::before, .cta-strip .index::after {
  content: ''; width: 32px; height: 1px; background: var(--accent-light);
}
.cta-strip h2 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip h2 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-light);
}
.cta-strip p {
  max-width: 580px;
  margin: 0 auto 44px;
  color: rgba(242,237,227,0.7);
  line-height: 2;
  font-family: var(--f-jp-serif);
  font-weight: 300;
}
.cta-strip .btn { background: transparent; color: var(--paper); border-color: var(--paper); }
.cta-strip .btn::before { background: var(--paper); }
.cta-strip .btn:hover { color: var(--ink); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(242,237,227,0.65);
  padding: 100px 0 48px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(242,237,227,0.12);
}
.footer-brand .logo { color: var(--paper); font-size: 36px; margin-bottom: 28px; display: block; }
.footer-brand p {
  font-family: var(--f-jp-serif);
  font-size: 14px;
  line-height: 2;
  max-width: 360px;
  font-weight: 300;
  color: rgba(242,237,227,0.6);
}
.footer-brand .signature {
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 14px;
  color: var(--accent-light);
  margin-top: 24px;
}
.footer-col h4 {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 24px; font-weight: 600;
}
.footer-col a {
  display: block;
  font-family: var(--f-jp-sans);
  font-size: 13px; padding: 6px 0;
  color: rgba(242,237,227,0.55);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.footer-col a:hover { color: var(--paper); opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 36px;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242,237,227,0.4);
  font-weight: 500;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .marks { display: flex; gap: 24px; }
.footer-bottom .marks span { color: rgba(242,237,227,0.45); }

/* ============ ABOUT PAGE ============ */
.about-hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line-hair);
}
.about-hero .roman {
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 14px;
}
.about-hero .roman::before, .about-hero .roman::after {
  content: ''; width: 32px; height: 1px; background: var(--accent);
}
.about-hero h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.1;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.about-hero h1 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}
.about-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--f-jp-serif);
  font-size: 18px;
  line-height: 2;
  color: var(--ink-3);
  font-weight: 300;
}

/* ============ COLLABORATE FORM ============ */
.collab-wrap { max-width: 760px; margin: 0 auto; padding: 80px 32px 140px; }
.collab-wrap .index { margin-bottom: 28px; display: flex; align-items: center; gap: 16px; font-family: var(--f-italiana); font-size: 13px; letter-spacing: 0.4em; color: var(--accent); }
.collab-wrap .index::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.collab-wrap h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.collab-wrap .intro {
  font-family: var(--f-jp-serif);
  font-size: 17px;
  line-height: 2;
  color: var(--ink-3);
  margin-bottom: 56px;
  font-weight: 300;
}

/* ============ ROUTING ============ */
.page { display: none; }
.page.active { display: block; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeUp .7s cubic-bezier(.2,.6,.2,1) backwards; }
.fade { animation: fadeIn 1s cubic-bezier(.2,.6,.2,1) backwards; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .22s; }
.d3 { animation-delay: .34s; }
.d4 { animation-delay: .46s; }
.d5 { animation-delay: .58s; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--ink);
  color: rgba(242,237,227,0.7);
  padding: 36px 0;
  border-right: 1px solid var(--ink);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-logo {
  padding: 0 28px 32px;
  border-bottom: 1px solid rgba(242,237,227,0.12);
  margin-bottom: 28px;
}
.admin-logo .logo { color: var(--paper); font-size: 24px; display: block; }
.admin-logo .sub {
  font-family: var(--f-italiana);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  margin-top: 10px;
}
.admin-nav { padding: 0 16px; }
.admin-nav .group { margin-bottom: 28px; }
.admin-nav .group-label {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(242,237,227,0.4);
  padding: 14px 12px 10px;
  font-weight: 600;
}
.admin-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  font-family: var(--f-sans);
  font-size: 13px;
  color: rgba(242,237,227,0.7);
  letter-spacing: 0.06em;
  transition: all .25s;
}
.admin-nav a:hover { color: var(--paper); opacity: 1; }
.admin-nav a.active { background: var(--accent); color: var(--paper); }
.admin-nav a.active .dot { background: var(--paper); }
.admin-nav .dot { width: 4px; height: 4px; background: rgba(242,237,227,0.4); border-radius: 50%; }

.admin-main { background: var(--paper); }
.admin-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line-hair);
  padding: 22px 44px;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar .title {
  font-family: var(--f-jp-serif);
  font-size: 24px;
  font-weight: 400;
}
.admin-user { display: flex; align-items: center; gap: 18px; }
.admin-user .name { font-family: var(--f-jp-serif); font-size: 15px; }
.admin-user .role {
  font-family: var(--f-sans);
  font-size: 10px; color: var(--muted); letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500;
}
.admin-avatar {
  width: 40px; height: 40px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-playfair);
  font-size: 15px;
}

.admin-content { padding: 44px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.kpi-card {
  background: var(--surface);
  padding: 32px;
  border: 1px solid var(--line-hair);
  border-top: 2px solid var(--accent);
  position: relative;
}
.kpi-card .label {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.kpi-card .value {
  font-family: var(--f-playfair);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 400;
}
.kpi-card .value .yen { font-size: 18px; color: var(--muted); margin-left: 8px; font-family: var(--f-sans); letter-spacing: 0.18em; }
.kpi-card .trend {
  font-family: var(--f-sans);
  font-size: 11px;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: 0.04em;
}
.kpi-card .trend.up { color: var(--success); }
.kpi-card .trend.down { color: var(--error); }
.kpi-card .trend .arrow { font-family: var(--f-playfair); font-size: 16px; }

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line-hair);
  margin-bottom: 28px;
}
.admin-panel-head {
  padding: 26px 32px;
  border-bottom: 1px solid var(--line-hair);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-panel-head h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 20px;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  padding: 18px 28px;
  border-bottom: 1px solid var(--line-hair);
  font-weight: 600;
}
.admin-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-hair);
  font-family: var(--f-jp-sans);
  font-size: 13px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface-cream); }
.admin-table .id { font-family: var(--f-italiana); color: var(--muted); letter-spacing: 0.12em; }
.admin-table .name { font-family: var(--f-jp-serif); font-size: 14px; font-weight: 400; }
.admin-table .athlete-cell { display: flex; align-items: center; gap: 12px; }
.admin-table .athlete-avatar {
  width: 36px; height: 36px;
  background: var(--paper-3);
  background-size: cover; background-position: center;
  border-radius: 50%;
}
.admin-table .progress-mini {
  width: 120px;
  height: 2px;
  background: var(--line);
  position: relative;
  margin-bottom: 6px;
}
.admin-table .progress-mini .bar { position: absolute; top: 0; left: 0; height: 100%; background: var(--accent); }
.admin-table .progress-pct { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.admin-table .actions { display: flex; gap: 8px; justify-content: flex-end; }
.admin-table .action-btn {
  padding: 7px 14px;
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 600;
  transition: all .25s;
  background: transparent;
}
.admin-table .action-btn:hover { border-color: var(--ink); color: var(--ink); }
.admin-table .action-btn.danger:hover { background: var(--error); color: var(--paper); border-color: var(--error); }
.admin-table .action-btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.admin-table .action-btn.primary:hover { background: var(--accent); border-color: var(--accent); }

.chart-wrap { padding: 32px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.chart {
  display: flex; align-items: flex-end; gap: 18px;
  height: 260px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-dark) 100%);
  position: relative;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 10px;
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: opacity .2s;
}
.chart-bar:hover { opacity: .85; }
.chart-bar.muted { background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink) 100%); }
.chart-labels { display: flex; gap: 18px; padding: 0 8px; }
.chart-labels span {
  flex: 1; text-align: center;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.collab-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.collab-review-card {
  background: var(--surface);
  border: 1px solid var(--line-hair);
  padding: 32px;
}
.collab-review-card .head { display: flex; gap: 18px; margin-bottom: 22px; }
.collab-review-card .avatar {
  width: 72px; height: 72px;
  background: var(--paper-3);
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.collab-review-card .type {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
  font-weight: 700;
}
.collab-review-card h4 {
  font-family: var(--f-jp-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}
.collab-review-card .meta {
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.collab-review-card .desc {
  font-family: var(--f-jp-serif);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-hair);
  font-weight: 300;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tag {
  padding: 5px 12px;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.14em;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 500;
}
.collab-review-card .actions { display: flex; gap: 8px; padding-top: 4px; }
.collab-review-card .applied-to {
  font-family: var(--f-sans);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 18px;
  padding: 14px;
  background: var(--surface-cream);
  border-left: 1px solid var(--accent);
  line-height: 1.6;
}
.collab-review-card .applied-to strong { color: var(--ink); font-weight: 600; }

.breakdown-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 100px;
  gap: 24px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line-hair);
  font-family: var(--f-jp-sans);
  font-size: 13px;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .athlete-cell { display: flex; align-items: center; gap: 14px; }
.breakdown-row .avatar {
  width: 40px; height: 40px;
  background: var(--paper-3);
  background-size: cover; background-position: center;
  border-radius: 50%;
}
.breakdown-row .name { font-family: var(--f-jp-serif); font-weight: 400; font-size: 15px; }
.breakdown-row .bar-wrap { background: var(--line); height: 2px; position: relative; }
.breakdown-row .bar-wrap .bar { position: absolute; top: 0; left: 0; height: 100%; background: var(--accent); }
.breakdown-row .amount { font-family: var(--f-playfair); font-size: 17px; text-align: right; font-weight: 400; }
.breakdown-row .projects {
  font-family: var(--f-italiana);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.alert {
  padding: 18px 22px;
  margin-bottom: 28px;
  border-left: 1px solid;
  background: var(--surface-cream);
  font-family: var(--f-jp-serif);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
}
.alert.info { border-color: var(--accent); color: var(--ink-2); }
.alert.warning { border-color: var(--warning); background: rgba(140,90,34,0.05); }
.alert .alert-title {
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 6px;
  color: var(--accent-dark);
}

/* ============================================================
   BUSINESS FLOW PAGE
   ============================================================ */
.flow-doc { padding: 0 0 160px; }

.flow-doc-head {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line-hair);
  position: relative;
}
.flow-doc-head .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.flow-doc-head .roman {
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-italiana);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
}
.flow-doc-head .roman::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.flow-doc-head h1 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.flow-doc-head h1 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.flow-doc-head p {
  max-width: 640px;
  font-family: var(--f-jp-serif);
  font-size: 17px;
  line-height: 2;
  color: var(--ink-3);
  font-weight: 300;
}
.flow-doc-head .meta {
  position: absolute;
  top: 120px; right: 48px;
  text-align: right;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  line-height: 2.2;
  font-weight: 500;
}
.flow-doc-head .meta .num {
  font-family: var(--f-playfair);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ============ FLOW TIMELINE (new style) ============ */
.flow-timeline {
  margin: 56px 0 24px;
  position: relative;
}

.flow-step-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 40px;
  padding: 36px 0;
  position: relative;
  align-items: start;
}

/* Connecting vertical line between steps */
.flow-step-wrap + .flow-step-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 65px;
  transform: translateX(-50%);
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--line) 0%, var(--accent) 50%, var(--line) 100%);
  z-index: 1;
}
/* Arrow head between steps */
.flow-step-wrap + .flow-step-wrap::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 65px;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  background: var(--paper);
  z-index: 2;
}

.flow-step-wrap.in-system + .flow-step-wrap.off-platform::before,
.flow-step-wrap.off-platform + .flow-step-wrap.in-system::before {
  background: linear-gradient(180deg, var(--line) 0%, var(--muted-2) 50%, var(--line) 100%);
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 3;
}

.step-num-circle {
  width: 78px;
  height: 78px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-italiana);
  font-size: 28px;
  color: var(--accent);
  background: var(--surface);
  font-style: italic;
  letter-spacing: 0.02em;
  position: relative;
}
.step-num-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--line-hair);
  border-radius: 50%;
}

.step-system-tag {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  white-space: nowrap;
  text-align: center;
}
.step-system-tag.in {
  background: var(--ink);
  color: var(--paper);
}
.step-system-tag.off {
  background: var(--paper);
  color: var(--muted);
  border: 1px solid var(--muted-2);
  font-weight: 600;
}

.step-body-card {
  padding: 8px 0;
}

.step-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.step-role-tag {
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.step-role-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.step-role-tag .secondary {
  color: var(--muted);
  font-size: 11px;
  margin-left: 6px;
  font-style: italic;
}

.step-state-tag {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 5px 10px;
  font-weight: 600;
}

.step-body-card h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.008em;
  line-height: 1.3;
}

.step-body-card .step-desc {
  font-family: var(--f-jp-serif);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 720px;
}

.step-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.step-ref-pill {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  padding: 4px 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line-hair);
}
.step-ref-pill.new-feature {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.step-ref-pill.new-feature::before { content: '🆕 '; font-size: 9px; }

/* OFF-platform step styling — dashed marker, muted */
.flow-step-wrap.off-platform .step-num-circle {
  border-color: var(--muted-2);
  border-style: dashed;
  color: var(--muted);
  background: transparent;
}
.flow-step-wrap.off-platform .step-num-circle::before {
  border-style: dashed;
  border-color: var(--line-soft);
}
.flow-step-wrap.off-platform .step-body-card h3 {
  color: var(--ink-3);
  font-style: italic;
}
.flow-step-wrap.off-platform .step-role-tag::before {
  background: var(--muted-2);
}
.flow-step-wrap.off-platform .step-role-tag {
  color: var(--muted);
}

/* Branch indicator — for parallel flows */
.flow-branch {
  margin: 24px 0 24px 130px;
  padding: 18px 28px;
  background: var(--paper-soft);
  border-left: 1px solid var(--accent);
  font-family: var(--f-jp-serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
  font-weight: 300;
}
.flow-branch strong {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

/* Flow Legend */
.flow-legend {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.flow-legend-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-jp-sans);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 300;
}
.flow-legend-swatch {
  width: 40px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}
.flow-legend-swatch.in {
  background: var(--ink);
  color: var(--paper);
}
.flow-legend-swatch.off {
  background: var(--paper);
  border: 1px solid var(--muted-2);
  color: var(--muted);
  border-style: solid;
  font-weight: 600;
}
.flow-legend-swatch.dashed {
  border-style: dashed;
}

@media (max-width: 900px) {
  .flow-step-wrap { grid-template-columns: 1fr; gap: 16px; }
  .step-marker { flex-direction: row; }
  .flow-step-wrap + .flow-step-wrap::before { display: none; }
  .flow-step-wrap + .flow-step-wrap::after { display: none; }
}

/* ============ TABLE OF CONTENTS ============ */
.flow-toc {
  padding: 56px 0;
  border-bottom: 1px solid var(--line-hair);
  background: var(--paper-soft);
}
.flow-toc .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.flow-toc h3 {
  font-family: var(--f-italiana);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.flow-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-hair);
}
.flow-toc-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-hair);
  transition: padding-left .3s;
}
.flow-toc-item:nth-child(odd) { border-right: 1px solid var(--line-hair); padding-right: 32px; }
.flow-toc-item:nth-child(even) { padding-left: 32px; }
.flow-toc-item:hover { padding-left: 12px; }
.flow-toc-item:nth-child(even):hover { padding-left: 44px; }
.flow-toc-item .num {
  font-family: var(--f-italiana);
  font-size: 24px;
  color: var(--accent);
  min-width: 60px;
  font-style: italic;
}
.flow-toc-item .title {
  font-family: var(--f-jp-serif);
  font-size: 17px;
  font-weight: 400;
  flex: 1;
}
.flow-toc-item .desc {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ============ SYSTEM OVERVIEW — Roles ============ */
.role-overview {
  padding: 120px 0;
  border-bottom: 1px solid var(--line-hair);
}
.role-overview .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.role-overview h2 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.role-overview h2 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.role-overview .en {
  font-family: var(--f-italiana);
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 64px;
  letter-spacing: 0.08em;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.role-card {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.role-card .role-num {
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.role-card .role-num::after { content: ''; flex: 1; height: 1px; background: var(--line-hair); }
.role-card h3 {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.role-card .role-en {
  font-family: var(--f-playfair);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.role-card p {
  font-family: var(--f-jp-serif);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
  font-weight: 300;
  margin-bottom: 18px;
}
.role-card .role-perms {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-top: 18px;
  border-top: 1px solid var(--line-hair);
}
.role-card .role-perms strong { color: var(--ink); font-weight: 700; }

/* ============ FLOW SWIMLANE ============ */
.flow {
  padding: 100px 0;
  border-bottom: 1px solid var(--line-hair);
}
.flow:nth-child(even) { background: var(--paper-soft); }
.flow .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.flow-head {
  margin-bottom: 56px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.flow-head-text { max-width: 720px; }
.flow-head .num {
  font-family: var(--f-italiana);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.flow-head .num::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
.flow-head h2 {
  font-family: var(--f-jp-serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.flow-head h2 em {
  font-family: var(--f-playfair);
  font-style: italic;
  font-weight: 400;
}
.flow-head p {
  font-family: var(--f-jp-serif);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-3);
  font-weight: 300;
  max-width: 640px;
}
.flow-head .meta {
  text-align: right;
  font-family: var(--f-sans);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  line-height: 2.2;
  font-weight: 500;
}
.flow-head .meta .num-big {
  font-family: var(--f-playfair);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Role header bar */
.role-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 0;
}
.role-bar .lane {
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid var(--line-hair);
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.role-bar .lane:last-child { border-right: none; }
.role-bar .lane .jp {
  display: block;
  font-family: var(--f-jp-serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Flow steps */
.flow-steps {
  border-left: 1px solid var(--line-hair);
  border-right: 1px solid var(--line-hair);
  background: var(--surface);
}
.step-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line-hair);
  position: relative;
}
.step-row:last-child { border-bottom: none; }
.step-row .step-num {
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-family: var(--f-italiana);
  font-size: 18px;
  color: var(--accent);
  border-right: 1px solid var(--line-hair);
  font-style: italic;
}
.step-row .step-content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}
.step-lane {
  padding: 22px 16px;
  border-right: 1px solid var(--line-hair);
  position: relative;
  min-height: 100px;
}
.step-lane:last-child { border-right: none; }
.step-lane.passive {
  background: transparent;
}
.step-lane.active {
  background: var(--surface-cream);
}
.step-lane.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.step-lane .role-tag {
  font-family: var(--f-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.step-lane h4 {
  font-family: var(--f-jp-serif);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.step-lane p {
  font-family: var(--f-jp-sans);
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-3);
  font-weight: 300;
}
.step-lane .arrow-down {
  display: none;
}
/* show down arrow if next step is in same column */
.step-lane.continue::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%) translateY(50%);
  width: 1px;
  height: 14px;
  background: var(--accent);
  z-index: 3;
}
.step-lane.continue::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  rotate: 45deg;
  z-index: 4;
  background: var(--paper);
}

/* Off-platform indicator */
.step-row.off-platform .step-content {
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 8px,
    rgba(122, 100, 68, 0.04) 8px,
    rgba(122, 100, 68, 0.04) 16px
  );
}
.step-row.off-platform .step-num { color: var(--muted); font-style: italic; }
.step-row.off-platform .step-lane.active { background: transparent; }
.step-row.off-platform .step-lane.active::before { background: var(--muted); }
.step-row.off-platform .role-tag { color: var(--muted); }
.step-row.off-platform h4 { color: var(--muted); font-style: italic; font-weight: 400; }

/* Flow summary footer */
.flow-summary {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-hair);
}
.flow-summary-item {
  padding: 20px 24px;
  border-right: 1px solid var(--line-hair);
}
.flow-summary-item:last-child { border-right: none; }
.flow-summary-item .lbl {
  font-family: var(--f-sans);
  font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.flow-summary-item .val {
  font-family: var(--f-jp-serif);
  font-size: 14px;
  font-weight: 500;
}

/* Doc nav at top — sticky */
.doc-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(254, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-hair);
  padding: 14px 0;
}
.doc-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.doc-nav-inner::-webkit-scrollbar { display: none; }
.doc-nav a {
  font-family: var(--f-italiana);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 0;
  font-style: italic;
}
.doc-nav a:hover { color: var(--ink); opacity: 1; }

@media (max-width: 1100px) {
  .role-bar { grid-template-columns: repeat(3, 1fr); }
  .role-bar .lane:nth-child(n+4) { display: none; }
  .step-row .step-content { grid-template-columns: 1fr; }
  .step-lane { border-right: none; border-bottom: 1px solid var(--line-hair); }
  .step-lane.passive { display: none; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-toc-grid { grid-template-columns: 1fr; }
  .flow-toc-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .flow-toc-item:nth-child(even) { padding-left: 0; }
  .flow-summary { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .project-detail-top { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .editorial-split { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .lookbook-item.tall, .lookbook-item.wide, .lookbook-item.square { grid-column: span 12; }
  .lookbook-grid { grid-template-columns: 1fr 1fr; }
  .lookbook-item.tall { grid-column: span 1; }
  .lookbook-item.wide, .lookbook-item.square { grid-column: span 2; }
}
@media (max-width: 700px) {
  .project-grid, .athlete-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-item { border-right: none; border-bottom: 1px solid var(--line); }
  .container, .container-wide { padding: 0 20px; }
  .editorial-split-text { padding: 56px 32px; }
  .store-bio .container { grid-template-columns: 1fr; gap: 40px; }
  .mypage-layout, .search-layout { grid-template-columns: 1fr; }
  .side-nav, .search-filters { border-right: none; padding-right: 0; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .kpi-grid { grid-template-columns: 1fr; }
  .collab-review-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .hero-content { padding: 0 24px 60px; }
  .scroll-cue, .hero-top { display: none; }
}
