/* ============================================================
   rikolique — brand site styles
   Design tokens per docs/spec.md §3
   ============================================================ */

:root {
  --bg-primary:      #0a0a0c;
  --bg-surface:      #121216;
  --bg-elevated:     #1a1a22;
  --text-primary:    #f4f4f5;
  --text-secondary:  #8b8b96;
  --text-muted:      #52525b;
  --accent-gold:     #d4b185;
  --accent-glow:     rgba(212, 177, 133, 0.12);
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-active:   rgba(212, 177, 133, 0.35);
  --ja: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
  --en: 'Cormorant Garamond', Georgia, serif;
  --ui: 'Inter', 'Helvetica Neue', sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--ja);
  line-height: 1.85;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body.virtual { overflow: hidden; height: 100vh; }
body.ov-open { overflow: hidden; }

/* ---- film grain ---- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 240 240" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.05"/></svg>');
  pointer-events: none;
  z-index: 9990;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-1.2%, 0.8%); }
  50%  { transform: translate(0.9%, -1.1%); }
  75%  { transform: translate(-0.6%, -0.7%); }
  100% { transform: translate(0,0); }
}

/* ---- intro curtain ---- */
#curtain {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.1s ease 0.9s, visibility 1.1s ease 0.9s;
}
#curtain .c-logo {
  font-family: var(--en);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  color: var(--accent-gold);
  animation: curtainLogo 1.6s ease 0.1s both;
}
@keyframes curtainLogo {
  0% { opacity: 0; letter-spacing: 0.6em; }
  100% { opacity: 1; letter-spacing: 0.35em; }
}
#curtain.off { opacity: 0; visibility: hidden; }

#dust {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.ambient {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 78% -8%, rgba(212,177,133,0.10), transparent 65%),
    radial-gradient(ellipse 50% 40% at 5% 110%, rgba(120,90,140,0.07), transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 50%, rgba(212,177,133,0.03), transparent 70%);
}

@media (pointer: fine) {
  #cursor {
    position: fixed;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 18px 4px rgba(212,177,133,0.45);
    pointer-events: none;
    z-index: 9995;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, opacity .3s;
    opacity: 0;
    mix-blend-mode: screen;
  }
  #cursor.on { opacity: 0.9; }
  #cursor.big { width: 34px; height: 34px; background: transparent; border: 1px solid var(--accent-gold); box-shadow: 0 0 24px 6px rgba(212,177,133,0.25); }
}
@media (pointer: coarse) { #cursor { display: none; } }

.en { font-family: var(--en); letter-spacing: 0.05em; }
.ui { font-family: var(--ui); letter-spacing: 0.04em; font-weight: 300; }

a { color: inherit; }
::selection { background: rgba(212,177,133,0.3); color: #0a0a0c; }

button, a { -webkit-tap-highlight-color: transparent; }
:where(button, a, input, select, textarea):focus-visible {
  outline: 1px solid var(--accent-gold);
  outline-offset: 3px;
}
html { scrollbar-color: #26262e #0a0a0c; }

/* ================= header ================= */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 34px;
  background: linear-gradient(180deg, rgba(10,10,12,0.85), rgba(10,10,12,0));
}
/* スクロール中は磨りガラスのバーとして常時視認できる固定ヘッダーに */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10,10,12,0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
  opacity: 0;
  transition: opacity .45s ease;
}
header.scrolled::before, header.solid::before { opacity: 1; }

.logo {
  font-family: var(--en);
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--text-primary);
}
.logo span { color: var(--text-muted); font-size: 0.9rem; transition: color .4s; }
.logo:hover span { color: var(--accent-gold); }

.head-right { display: flex; align-items: center; gap: 28px; }

#night-clock {
  font-family: var(--ui);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#night-clock b { color: var(--accent-gold); font-weight: 400; }

nav.main-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }

nav.main-nav button {
  font-family: var(--en);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-secondary);
  position: relative;
  padding: 2px 0;
  transition: color .35s;
}
nav.main-nav button::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s ease;
}
nav.main-nav button:hover { color: var(--text-primary); }
nav.main-nav button:hover::after, nav.main-nav button.active::after { transform: scaleX(1); transform-origin: left; }
nav.main-nav button.active { color: var(--accent-gold); }

/* ================= progress rail ================= */
.rail {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rail .r-sec {
  writing-mode: vertical-rl;
  font-family: var(--en);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  min-height: 90px;
  text-align: center;
}
.rail .r-line {
  width: 1px; height: 110px;
  background: var(--border-hairline);
  position: relative;
  overflow: hidden;
}
.rail .r-line i {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(212,177,133,0.7);
  height: 0%;
}
.rail .r-pct {
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.rail .r-loop {
  font-family: var(--en);
  font-style: italic;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ================= scroller ================= */
#scroller { position: relative; z-index: 2; }
body.virtual #scroller {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  will-change: transform;
}
body:not(.virtual) .copy-b { display: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.8,.3,1); }
.rv.in { opacity: 1; transform: none; }

.section-label {
  font-family: var(--en);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.section-label::before { content: ""; width: 40px; height: 1px; background: var(--border-active); }

.page-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  text-wrap: balance;
}

.lede { color: var(--text-secondary); font-size: 1.02rem; line-height: 2.1; max-width: 32em; }

section.blk { padding: 150px 0; position: relative; }

/* ================= hero ================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-ghost {
  position: absolute;
  right: -3vw;
  bottom: 4vh;
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(5rem, 16vw, 15rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,177,133,0.14);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 140px 32px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-tate {
  writing-mode: vertical-rl;
  font-size: clamp(2.6rem, 7vh, 4.6rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-shadow: 0 0 60px rgba(212,177,133,0.18);
}
/* 3列×4文字のグリッド組・上端揃え。spanごとに1列固定（nowrapでSafariの勝手な折り返しを禁止） */
.hero-tate span { display: block; white-space: nowrap; }
.hero-tate b { color: var(--accent-gold); font-weight: inherit; }

.hero-side { max-width: 380px; }
.hero-side .brand-en {
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 26px;
}
.hero-side p { color: var(--text-secondary); font-size: 0.95rem; line-height: 2.2; }
.hero-side .coord {
  display: block;
  margin-top: 36px;
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 34px;
  bottom: 40px;
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--accent-gold), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- marquee ---- */
.marquee {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(18,18,22,0.4);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee span {
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 3.2em;
}
.marquee span b { color: var(--accent-gold); font-weight: 400; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- statement ---- */
.statement { text-align: center; }
.statement blockquote {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 2.6;
  letter-spacing: 0.14em;
  color: #d6d6db;
  text-shadow: 0 0 40px rgba(212,177,133,0.1);
}
.statement .st-en {
  display: block;
  margin-top: 30px;
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
}

/* ---- kinetic band ---- */
.kinetic {
  overflow: hidden;
  padding: 60px 0;
  user-select: none;
}
.k-line {
  white-space: nowrap;
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 1.04;
  will-change: transform;
}
.k-line .k-in { display: inline-block; }
.k-solid { color: var(--text-primary); }
.k-solid i { font-style: italic; color: var(--accent-gold); }
.k-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,177,133,0.3);
  font-style: italic;
}
.k-line .sep { color: var(--accent-gold); -webkit-text-stroke: 0; padding: 0 0.35em; font-style: normal; }

/* ---- craft ---- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.product-card {
  background: linear-gradient(180deg, var(--bg-surface), rgba(18,18,22,0.6));
  border: 1px solid var(--border-hairline);
  border-radius: 3px;
  padding: 0 0 30px;
  text-align: left;
  font-family: var(--ja);
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
  color: var(--text-primary);
  transition: border-color .5s, transform .5s cubic-bezier(.22,.8,.3,1), box-shadow .5s;
}
.product-card:hover {
  border-color: var(--border-active);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), 0 0 50px -10px rgba(212,177,133,0.12);
}
.product-card:focus-visible { outline: 1px solid var(--accent-gold); outline-offset: 3px; }

.product-card .swatch { width: 100%; height: 240px; position: relative; overflow: hidden; display: block; }
.product-card .swatch::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 16px;
  width: 130px; height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 68%);
}
.product-card .swatch::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,0.8));
}
.product-card .swatch .glass {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  transition: transform .6s cubic-bezier(.22,.8,.3,1);
}
.product-card:hover .swatch .glass { transform: translateX(-50%) translateY(-8px); }

.sw-kuyami  { background: radial-gradient(ellipse at 30% 15%, #46301e, #120d09 72%); }
.sw-yohaku  { background: radial-gradient(ellipse at 70% 20%, #263a42, #0c1214 72%); }
.sw-hakumei { background: radial-gradient(ellipse at 50% 12%, #55405e, #151017 72%); }

.product-card .p-body { padding: 4px 26px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.p-no {
  font-family: var(--en);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.product-card h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: 0.14em; }
.product-card h3 small {
  display: block;
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 5px;
}
.product-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.9; }
.product-card .p-more {
  font-family: var(--en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: auto;
  transition: color .4s;
}
.product-card:hover .p-more { color: var(--accent-gold); }

/* ---- product overlay ---- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.overlay.open { visibility: visible; pointer-events: auto; }
.overlay .ov-back {
  position: absolute; inset: 0;
  background: rgba(6,6,8,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open .ov-back { opacity: 1; }
.overlay .ov-panel {
  position: relative;
  width: min(680px, 94vw);
  height: 100%;
  background: linear-gradient(200deg, var(--bg-elevated), var(--bg-primary) 60%);
  border-left: 1px solid var(--border-active);
  padding: 90px 56px 60px;
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform .65s cubic-bezier(.22,.8,.3,1);
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,177,133,0.3) transparent;
}
.ov-panel::-webkit-scrollbar { width: 6px; }
.ov-panel::-webkit-scrollbar-track { background: transparent; }
.ov-panel::-webkit-scrollbar-thumb { background: rgba(212,177,133,0.25); border-radius: 3px; }
.overlay.open .ov-panel { transform: none; }
.ov-close {
  position: absolute;
  top: 26px; right: 30px;
  background: none;
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  width: 44px; height: 44px;
  color: var(--text-secondary);
  font-family: var(--en);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color .3s, border-color .3s, transform .3s;
}
.ov-close:hover { color: var(--accent-gold); border-color: var(--border-active); transform: rotate(90deg); }

.ov-panel .p-no { display: block; margin-bottom: 18px; }
.ov-panel h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 600; letter-spacing: 0.2em; line-height: 1.3; }
.ov-panel .en-name {
  font-family: var(--en); font-style: italic; font-weight: 300;
  color: var(--text-secondary); font-size: 1.05rem; letter-spacing: 0.16em;
  margin: 10px 0 40px;
}
.ov-panel .story p { color: var(--text-secondary); margin-bottom: 1.6em; font-size: 0.96rem; line-height: 2.2; }
.ov-panel .story p:first-child { color: var(--text-primary); font-size: 1.06rem; }

.spec-card {
  background: rgba(18,18,22,0.7);
  border: 1px solid var(--border-hairline);
  border-radius: 3px;
  padding: 30px 28px;
  position: relative;
  margin-top: 40px;
}
.spec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}
.spec-card h4 {
  font-family: var(--en);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 400;
  margin-bottom: 16px;
}
.spec-card ul { list-style: none; }
.spec-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.85rem;
}
.spec-card li:last-child { border-bottom: 0; }
.spec-card li span:first-child { font-family: var(--ui); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-muted); padding-top: 3px; }
.spec-card li span:last-child { color: var(--text-secondary); text-align: right; }

/* ---- space ---- */
.timeline { position: relative; margin-top: 90px; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-gold), rgba(212,177,133,0.06));
}
.t-scene { position: relative; padding: 0 0 80px; max-width: 560px; }
.t-scene:last-child { padding-bottom: 0; }
.t-scene::before {
  content: "";
  position: absolute;
  left: -44px; top: 14px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 14px rgba(212,177,133,0.5);
}
.t-scene .s-time {
  font-family: var(--en);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--accent-gold);
  line-height: 1.1;
  display: block;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.t-scene h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 12px; }
.t-scene p { color: var(--text-secondary); font-size: 0.92rem; line-height: 2.05; }
.t-scene:nth-child(even) { margin-left: clamp(0px, 12vw, 160px); }

/* ---- editorial ---- */
.zine-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  margin-top: 80px;
  align-items: start;
}
.zine-cover {
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  transform: rotate(-1.6deg);
  box-shadow: 24px 34px 60px -20px rgba(0,0,0,0.75);
  transition: transform .6s cubic-bezier(.22,.8,.3,1);
}
.zine-cover:hover { transform: rotate(0deg) translateY(-6px); }
.zine-cover::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 15%, rgba(212,177,133,0.14), transparent 65%),
    linear-gradient(160deg, transparent 60%, rgba(120,90,140,0.1));
}
.zine-cover .z-issue { font-family: var(--en); font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-gold); }
.zine-cover .z-title {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  align-self: center;
  color: #e8e8ec;
}
.zine-cover .z-sub { font-family: var(--en); font-style: italic; font-weight: 300; font-size: 0.92rem; color: var(--text-secondary); }
.zine-cover .z-foot { font-family: var(--ui); font-size: 0.66rem; color: var(--text-muted); letter-spacing: 0.14em; }

.playlist { border-top: 1px solid var(--border-hairline); margin-top: 28px; list-style: none; }
.playlist li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 16px 6px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.9rem;
  transition: background .35s, padding-left .35s;
  cursor: default;
}
.playlist li:hover { background: rgba(212,177,133,0.04); padding-left: 14px; }
.playlist .t-no { font-family: var(--en); color: var(--text-muted); font-variant-numeric: tabular-nums; font-style: italic; }
.playlist li:hover .t-no { color: var(--accent-gold); }
.playlist .t-name { color: var(--text-secondary); }
.playlist .t-name em { color: var(--text-primary); font-style: normal; }
.playlist .t-len { font-family: var(--ui); font-size: 0.7rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ---- about ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
  margin-top: 70px;
}
.philosophy p { color: var(--text-secondary); margin-bottom: 1.6em; font-size: 0.98rem; line-height: 2.15; }
.philosophy p:first-child { color: var(--text-primary); font-size: 1.08rem; }

dl.company { border-top: 1px solid var(--border-hairline); font-size: 0.9rem; }
dl.company > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border-hairline);
}
dl.company dt {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 5px;
}
dl.company dd { color: var(--text-secondary); }
dl.company dd a { color: var(--accent-gold); text-decoration: none; }
dl.company dd a:hover { text-decoration: underline; }

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  margin-top: 70px;
  align-items: start;
}
.contact-note p { color: var(--text-secondary); font-size: 0.96rem; line-height: 2.15; margin-bottom: 1.5em; }

form.inquiry { display: flex; flex-direction: column; gap: 26px; }
.field label {
  display: block;
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-hairline);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--ja);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 10px 2px 12px;
  transition: border-color .35s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.field input:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-primary) inset;
  -webkit-text-fill-color: var(--text-primary);
  caret-color: var(--text-primary);
  transition: background-color 99999s ease-out;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d4b185' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
}
.field option { background: var(--bg-elevated); }

.submit-btn {
  align-self: flex-start;
  font-family: var(--en);
  font-size: 0.86rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: transparent;
  border: 1px solid var(--border-active);
  border-radius: 0;
  padding: 16px 54px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .4s;
  z-index: 1;
}
.submit-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.22,.8,.3,1);
  z-index: -1;
}
.submit-btn:hover { color: var(--bg-primary); }
.submit-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.submit-btn:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 4px; }
.submit-btn:disabled { opacity: 0.4; cursor: default; }

.form-sent { display: none; color: var(--accent-gold); font-size: 0.92rem; padding: 14px 0; }
.form-sent .note-fine { display: block; margin-top: 6px; }

.text-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--accent-gold);
  cursor: pointer;
  border-bottom: 1px solid var(--border-active);
  transition: opacity .3s;
}
.text-link:hover { opacity: 0.7; }

/* ---- shared sub-section pieces ---- */
.sub-block { margin-top: 110px; }
.sub-title { font-size: 1.35rem; font-weight: 500; letter-spacing: 0.1em; margin-bottom: 14px; }
.lede-s { font-size: 0.94rem; }
.note-fine {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 2;
}

/* ---- business menu (space producing) ---- */
.biz-menu { list-style: none; margin-top: 60px; border-top: 1px solid var(--border-hairline); }
.biz-menu li {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 26px;
  align-items: baseline;
  padding: 26px 8px;
  border-bottom: 1px solid var(--border-hairline);
  transition: background .4s, padding-left .4s;
}
.biz-menu li:hover { background: rgba(212,177,133,0.04); padding-left: 20px; }
.biz-menu h4 { font-size: 1.02rem; font-weight: 500; letter-spacing: 0.08em; }
.biz-menu li > p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.9; }
.biz-menu .b-price,
.biz-entry .b-price {
  font-family: var(--ui);
  font-weight: 300;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---- business entry menu (fixed-price small orders) ---- */
.biz-entry-wrap { margin-top: 46px; }
.entry-label {
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 18px;
}
.biz-entry {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.biz-entry li {
  border: 1px solid var(--border-hairline);
  border-radius: 3px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(18,18,22,0.35);
  transition: border-color .4s, background .4s;
}
.biz-entry li:hover { border-color: var(--border-active); background: rgba(212,177,133,0.03); }
.biz-entry h5 { font-size: 0.98rem; font-weight: 500; letter-spacing: 0.08em; }
.biz-entry h5 small {
  font-family: var(--ui);
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-left: 10px;
}
.biz-entry li > p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.95; flex: 1; }
.biz-entry .b-price { white-space: normal; }
.biz-entry .b-price em {
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-left: 10px;
}

/* ---- giant mail cta ---- */
.mail-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 7.5vw, 6.2rem);
  letter-spacing: 0.06em;
  color: var(--text-primary);
  padding: 130px 20px;
  transition: color .5s, text-shadow .5s, letter-spacing .6s;
  overflow-wrap: anywhere;
}
.mail-cta:hover {
  color: var(--accent-gold);
  letter-spacing: 0.09em;
  text-shadow: 0 0 60px rgba(212,177,133,0.5);
}
.mail-cta small {
  display: block;
  font-family: var(--ja);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ---- loop seam / footer band ---- */
.seam {
  border-top: 1px solid var(--border-hairline);
  padding: 46px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.seam .s-brand { font-family: var(--en); font-style: italic; font-size: 1.3rem; font-weight: 300; letter-spacing: 0.1em; }
.seam .s-copy { font-family: var(--ui); color: var(--text-muted); font-size: 0.66rem; letter-spacing: 0.14em; }
.seam .s-next {
  font-family: var(--en);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 12px;
}
.seam .s-next::after { content: "↓"; animation: nextDip 1.8s ease-in-out infinite; }
@keyframes nextDip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---- process ---- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.process li {
  padding: 30px 22px 34px;
  border-right: 1px solid var(--border-hairline);
  position: relative;
  transition: background .4s;
}
.process li:last-child { border-right: 0; }
.process li:hover { background: rgba(212,177,133,0.04); }
.process .pr-no {
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 1.7rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,177,133,0.45);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.process li:hover .pr-no { color: var(--accent-gold); -webkit-text-stroke: 1px transparent; }
.process h4 { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 10px; }
.process p { color: var(--text-secondary); font-size: 0.78rem; line-height: 1.85; }
.process-note {
  margin-top: 22px;
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 2;
}

/* ---- works ---- */
.works { margin-top: 80px; border-top: 1px solid var(--border-hairline); }
.work {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 30px;
  align-items: baseline;
  padding: 34px 8px;
  border-bottom: 1px solid var(--border-hairline);
  transition: background .4s, padding-left .4s;
}
.work:hover { background: rgba(212,177,133,0.04); padding-left: 22px; }
.work .w-year {
  font-family: var(--en);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
}
.work h4 { font-size: 1.08rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 8px; }
.work h4 small { font-family: var(--ui); font-weight: 300; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--text-muted); margin-left: 12px; text-transform: uppercase; }
.work p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.9; max-width: 40em; }
.work .w-meta {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
  line-height: 2.1;
}

/* ---- news ---- */
.news-list { list-style: none; margin-top: 60px; border-top: 1px solid var(--border-hairline); }
.news-list li {
  display: grid;
  grid-template-columns: 110px 130px 1fr;
  gap: 26px;
  align-items: baseline;
  padding: 24px 8px;
  border-bottom: 1px solid var(--border-hairline);
  transition: background .4s, padding-left .4s;
}
.news-list li:hover { background: rgba(212,177,133,0.04); padding-left: 20px; }
.news-list .n-date {
  font-family: var(--en);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.news-list li:hover .n-date { color: var(--accent-gold); }
.news-list .n-tag {
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--border-active);
  padding: 3px 10px;
  text-align: center;
  white-space: nowrap;
}
.news-list .n-title { color: var(--text-secondary); font-size: 0.9rem; }

.legal-note {
  font-family: var(--ui);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  padding: 0 32px 8px;
  line-height: 2;
}

/* ---- legal / document pages ---- */
.doc-wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 150px 28px 110px;
}
.doc-wrap h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.doc-date {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 56px;
}
.doc-wrap h2 {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin: 54px 0 14px;
  padding-left: 14px;
  border-left: 1px solid var(--accent-gold);
}
.doc-wrap p, .doc-wrap li { color: var(--text-secondary); font-size: 0.9rem; line-height: 2.05; }
.doc-wrap ul { padding-left: 1.5em; margin: 8px 0; }
.doc-wrap a { color: var(--accent-gold); text-decoration: none; }
.doc-wrap a:hover { text-decoration: underline; }
.doc-wrap .todo {
  color: var(--accent-gold);
  background: var(--accent-glow);
  padding: 1px 8px;
  font-size: 0.85em;
}
.doc-wrap dl.company { margin-top: 40px; }
.doc-foot-links { margin-top: 70px; font-size: 0.82rem; }
.doc-back-link {
  font-family: var(--en);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color .35s;
}
.doc-back-link:hover { color: var(--accent-gold); }

/* ---- seam legal links ---- */
.seam .s-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.seam .s-legal a {
  font-family: var(--ui);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .3s;
}
.seam .s-legal a:hover { color: var(--accent-gold); }

/* ================= responsive ================= */
@media (max-width: 860px) {
  header { padding: 16px 20px; }
  #night-clock { display: none; }
  nav.main-nav { gap: 14px; }
  nav.main-nav button { font-size: 0.72rem; letter-spacing: 0.1em; }
  .rail { right: 12px; }
  .rail .r-sec { display: none; }
  .hero-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 130px 24px 120px; gap: 50px; }
  .hero-tate { height: auto; writing-mode: horizontal-tb; font-size: clamp(2.2rem, 9vw, 3rem); letter-spacing: 0.14em; line-height: 1.55; }
  /* モバイルは横書きに戻すため、4文字グリッドを解いて自然な文の折り返しに */
  .hero-tate span { display: inline; }
  .hero-ghost { font-size: 22vw; bottom: 2vh; }
  .scroll-cue { display: none; }
  .wrap { padding: 0 22px; }
  section.blk { padding: 100px 0; }
  .about-grid, .zine-row, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .products { grid-template-columns: 1fr; }
  .t-scene:nth-child(even) { margin-left: 0; }
  .timeline { padding-left: 30px; }
  .t-scene::before { left: -34px; }
  .ov-panel { padding: 80px 28px 50px; }
  .process { grid-template-columns: 1fr; }
  .process li { border-right: 0; border-bottom: 1px solid var(--border-hairline); }
  .process li:last-child { border-bottom: 0; }
  .work { grid-template-columns: 1fr; gap: 10px; }
  .work .w-meta { text-align: left; white-space: normal; }
  .news-list li { grid-template-columns: 1fr; gap: 8px; }
  .news-list .n-tag { justify-self: start; }
  .sub-block { margin-top: 72px; }
  .biz-menu li { grid-template-columns: 1fr; gap: 8px; }
  .biz-menu .b-price { white-space: normal; }
  .biz-entry { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-cue::after, body::after, .seam .s-next::after { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  #curtain { display: none; }
  * { transition-duration: 0.01ms !important; }
}
