/* ============================================================
   翰林斉家株式会社 — HANLIN SAIKA CO., LTD.
   "商いは、叫ばず、築くもの。" — Build quietly.
   Design system: sumi ink / washi paper / vermillion seal
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* color */
  --ink-950: #0b0e13;
  --ink-900: #10141b;
  --ink-800: #161b24;
  --ink-700: #222937;
  --washi: #f2ede3;
  --washi-2: #eae4d6;
  --washi-3: #ded6c2;
  --sumi: #191e27;
  --sumi-soft: #3c434f;
  --sumi-dim: #625c4f;
  --mist: rgba(242, 237, 227, 0.78);
  --mist-dim: rgba(242, 237, 227, 0.58);
  --shu: #d8442e;
  --shu-deep: #b23421;
  --shu-ink: #e25a42;
  --kin: #c8a45c;
  --line-on-washi: rgba(25, 30, 39, 0.16);
  --line-on-ink: rgba(242, 237, 227, 0.14);

  /* type */
  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", Georgia, serif;

  /* scale */
  --pad-x: clamp(20px, 5vw, 84px);
  --max-w: 1520px;

  /* motion */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-inout: cubic-bezier(0.83, 0, 0.17, 1);
  --t-slow: 1.1s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink-950);
  color: var(--washi);
  font-family: var(--f-gothic);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--shu); color: var(--washi); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
mark { background: none; color: inherit; }

@media (pointer: fine) {
  .has-cursor body { cursor: none; }
  .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
}

body.is-locked { overflow: hidden; }

.skip {
  position: fixed;
  top: 14px; left: 14px;
  z-index: 10001;
  background: var(--shu);
  color: var(--washi);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 12px 20px;
  transform: translateY(-260%);
  transition: transform 0.3s var(--e-out);
}
.skip:focus-visible { transform: none; }

:focus-visible { outline: 2px solid var(--shu); outline-offset: 4px; }

/* ============================================================
   GRAIN / PROGRESS / CURSOR — global chrome
   ============================================================ */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.8s steps(1, end) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  12.5% { transform: translate(-42px, 22px); }
  25% { transform: translate(26px, -38px); }
  37.5% { transform: translate(-14px, -30px); }
  50% { transform: translate(38px, 34px); }
  62.5% { transform: translate(-52px, -12px); }
  75% { transform: translate(18px, 44px); }
  87.5% { transform: translate(44px, -20px); }
  100% { transform: translate(0, 0); }
}

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9980;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--shu);
  transform-origin: 0 0;
  transform: scaleX(0);
}

.cursor { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; opacity: 0; transition: opacity 0.4s; }
@media (pointer: fine) { .js .cursor { display: block; } }
.cursor.is-awake { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--shu);
  will-change: transform;
}
.cursor-ring {
  position: absolute;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(216, 68, 46, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  will-change: transform;
  transition: width 0.35s var(--e-out), height 0.35s var(--e-out),
              margin 0.35s var(--e-out), background-color 0.35s var(--e-out),
              border-color 0.35s var(--e-out);
}
.cursor-label {
  font-family: var(--f-gothic);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--washi);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor.is-hover .cursor-ring {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(216, 68, 46, 0.9);
  border-color: transparent;
}
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-hover .cursor-dot { opacity: 0; }

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--washi);
  color: var(--sumi);
  display: grid;
  place-items: center;
  transition: transform 1s var(--e-inout) 0.15s;
}
.loader-panel--ink {
  position: absolute;
  inset: 0;
  background: var(--ink-950);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.9s var(--e-inout);
}
.loader.is-done { transform: translateY(-100%); }
.loader.is-done .loader-panel--ink { transform: scaleY(1); transform-origin: 50% 0%; }

.loader-core { position: relative; text-align: center; }
.loader-kanji {
  position: relative;
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(120px, 24vw, 260px);
  line-height: 1;
}
.loader-kanji-ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 30, 39, 0.25);
}
.loader-kanji-fill {
  position: absolute;
  inset: 0;
  color: var(--sumi);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.12s linear;
}
.loader-meta {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line-on-washi);
  padding-top: 14px;
}
.loader-word {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--sumi-soft);
}
.loader-count {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 22px;
  color: var(--shu-deep);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 18px var(--pad-x);
  transition: color 0.5s, background-color 0.5s, transform 0.5s var(--e-out);
  color: var(--washi);
}
.nav::after {
  content: "";
  position: absolute;
  left: var(--pad-x); right: var(--pad-x); bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.5s;
}
.nav[data-theme-now="light"] { color: var(--sumi); }
.nav.is-scrolled { backdrop-filter: blur(14px); }
.nav.is-scrolled::after { opacity: 0.14; }
.nav[data-theme-now="dark"].is-scrolled { background: rgba(11, 14, 19, 0.72); }
.nav[data-theme-now="light"].is-scrolled { background: rgba(242, 237, 227, 0.78); }
.nav.is-hidden { transform: translateY(-100%); }

.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  display: flex;
  align-items: center;
  width: clamp(86px, 9vw, 122px);
  height: 40px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(242, 237, 227, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seal {
  display: grid;
  place-items: center;
  color: var(--washi);
  background: var(--shu);
  width: 40px; height: 40px;
  flex: 0 0 auto;
}
.seal svg { width: 30px; height: 30px; }
.seal--mini { opacity: 0.82; }
.seal-t {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: 24px;
  fill: currentColor;
  text-anchor: middle;
  dominant-baseline: central;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.nav-brand-text b { font-family: var(--f-mincho); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.nav-brand-text i { font-style: normal; font-size: 9.5px; letter-spacing: 0.28em; opacity: 0.7; }

.nav-links {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.nav-links a { position: relative; padding: 6px 2px; opacity: 0.82; transition: opacity 0.3s; }
.nav-links a i {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 500;
  font-size: 10.5px;
  margin-right: 5px;
  color: var(--shu-ink);
}
.nav[data-theme-now="light"] .nav-links a i { color: var(--shu-deep); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--shu);
  transform: scaleX(0);
  transform-origin: 100% 0;
  transition: transform 0.45s var(--e-out);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 0; }

.nav-side { display: flex; align-items: center; gap: 22px; }
.nav-clock {
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.6;
  white-space: nowrap;
}
.nav-clock b { font-weight: 500; font-variant-numeric: tabular-nums; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(242, 237, 227, 0.18);
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.22);
  backdrop-filter: blur(10px);
}
.lang-switch button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 8px 10px;
  opacity: 0.72;
  transition: background 0.25s var(--e-out), color 0.25s var(--e-out), opacity 0.25s var(--e-out);
}
.lang-switch button:hover,
.lang-switch button.is-active {
  background: var(--shu);
  color: var(--washi);
  opacity: 1;
}
.nav[data-theme-now="light"] .lang-switch {
  border-color: rgba(25, 30, 39, 0.18);
  background: rgba(242, 237, 227, 0.52);
}
.lang-switch--mobile {
  width: 100%;
  max-width: 260px;
  margin-top: 10px;
  justify-content: center;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  align-items: center;
  margin: -6px -8px -6px auto;
}
.nav-burger span {
  display: block;
  width: 30px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--e-out), width 0.4s var(--e-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(20deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-20deg); }

/* mobile menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 8990;
  background: var(--ink-950);
  color: var(--washi);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--pad-x) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--e-inout), visibility 0s 0.75s;
}
.mnav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--e-inout);
}
.mnav nav { display: flex; flex-direction: column; gap: 4px; margin: auto 0; }
.mnav nav a {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 56px);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-on-ink);
  display: flex;
  align-items: baseline;
  gap: 18px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out);
}
.mnav.is-open nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.26s + var(--i, 0) * 0.06s);
}
.mnav nav a em { font-style: normal; font-size: 13px; color: var(--shu-ink); font-weight: 400; }
.mnav nav a i {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  margin-left: auto;
  opacity: 0.45;
  letter-spacing: 0.1em;
}
.mnav-foot { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 14px; opacity: 0.7; }

/* external resource rail */
.resource-rail {
  position: fixed;
  z-index: 120;
  top: 116px;
  right: 18px;
  width: 154px;
  display: grid;
  gap: 8px;
  color: var(--washi);
  pointer-events: none;
  user-select: none;
  touch-action: none;
  transition: width 0.28s var(--e-out), opacity 0.28s var(--e-out), filter 0.28s var(--e-out);
}
.resource-rail.is-dragging {
  opacity: 0.9;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.34));
}
.resource-tools {
  display: flex;
  gap: 6px;
  align-items: stretch;
  pointer-events: auto;
}
.resource-tools button {
  appearance: none;
  border: 1px solid rgba(242, 237, 227, 0.16);
  background: rgba(16, 20, 27, 0.76);
  color: var(--washi);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  min-height: 32px;
  transition: background 0.25s var(--e-out), color 0.25s var(--e-out), border-color 0.25s var(--e-out);
}
.resource-tools button:hover {
  background: var(--shu);
  border-color: var(--shu);
}
.resource-drag {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: grab;
}
.resource-drag:active { cursor: grabbing; }
.resource-grip {
  font-size: 14px;
  letter-spacing: -0.22em;
  transform: rotate(90deg);
}
.resource-toggle {
  flex: 0 0 auto;
  padding: 0 10px;
}
.resource-rail-body {
  display: grid;
  gap: 12px;
  pointer-events: auto;
  transform-origin: 100% 0;
  transition: opacity 0.24s var(--e-out), transform 0.24s var(--e-out), visibility 0.24s var(--e-out);
}
.resource-rail.is-collapsed {
  width: 58px;
}
.resource-rail.is-collapsed .resource-rail-body {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  pointer-events: none;
  position: absolute;
}
.resource-rail.is-collapsed .resource-tools {
  display: grid;
  grid-template-columns: 1fr;
}
.resource-rail.is-collapsed .resource-drag {
  min-height: 28px;
}
.resource-rail.is-collapsed .resource-drag-label {
  display: none;
}
.resource-rail.is-collapsed .resource-toggle {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  background: var(--shu);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.resource-block {
  overflow: hidden;
  border: 1px solid rgba(242, 237, 227, 0.14);
  background: rgba(16, 20, 27, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.resource-block h2 {
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(216, 68, 46, 0.9), rgba(178, 52, 33, 0.9));
  color: var(--washi);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
}
.resource-link {
  display: block;
  padding: 9px 12px;
  border-top: 1px solid rgba(242, 237, 227, 0.12);
  background: rgba(34, 41, 55, 0.76);
  color: rgba(242, 237, 227, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  transition: background 0.25s var(--e-out), color 0.25s var(--e-out), transform 0.25s var(--e-out);
}
.resource-link:nth-of-type(2n) { background: rgba(42, 51, 68, 0.76); }
.resource-link:hover {
  background: var(--shu);
  color: var(--washi);
  transform: translateX(-3px);
}
.resource-link--partner {
  background: linear-gradient(135deg, rgba(242, 237, 227, 0.96), rgba(222, 214, 194, 0.96));
  color: var(--sumi);
}
.resource-link--partner:hover {
  background: var(--washi);
  color: var(--shu-deep);
}
.resource-link--youtube {
  background: rgba(154, 29, 25, 0.86);
  color: var(--washi);
}
.resource-link--youtube:hover {
  background: #c4302b;
  color: var(--washi);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 13px 26px;
  border: 1px solid currentColor;
  overflow: hidden;
  transition: color 0.45s var(--e-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shu);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--e-out);
  z-index: -1;
}
.btn:hover::before { transform: scaleY(1); transform-origin: 50% 0%; }
.btn:hover { color: var(--washi); border-color: var(--shu); }
.btn i { font-style: normal; transition: transform 0.35s var(--e-out); }
.btn:hover i { transform: translateX(5px); }
.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--shu);
  opacity: 0;
  pointer-events: none;
}
.btn.is-pressed::after { animation: sealPress 0.55s var(--e-out); }
@keyframes sealPress {
  0% { opacity: 0.9; transform: scale(1.18); }
  60% { opacity: 0.6; transform: scale(0.985); }
  100% { opacity: 0; transform: scale(1); }
}

.btn--seal {
  background: var(--shu);
  border-color: var(--shu);
  color: var(--washi);
  padding: 10px 20px;
  white-space: nowrap;
}
.btn--seal::before { background: var(--shu-deep); }
.btn--big {
  font-family: var(--f-en);
  font-size: clamp(18px, 2.6vw, 28px);
  letter-spacing: 0.06em;
  font-style: italic;
  padding: 20px 44px;
}
.btn:active { transform: scale(0.97); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink-950);
}
.hero-canvas-wrap { position: absolute; inset: 0; }
#city { width: 100%; height: 100%; }
.hero-haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, 0.6) 0%, transparent 34%, transparent 62%, rgba(11, 14, 19, 0.82) 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 58%, rgba(11, 14, 19, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(90px, 15vh, 170px);
  max-width: var(--max-w);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.28em;
  margin-bottom: clamp(20px, 3.4vh, 40px);
  color: rgba(242, 237, 227, 0.75);
}
.hero-eyebrow-rule { width: 56px; height: 1px; background: var(--shu); }
.hero-eyebrow-en { font-family: var(--f-en); font-style: italic; letter-spacing: 0.3em; font-size: 12px; }

.hero-title {
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(37px, 8.6vw, 128px);
  line-height: 1.28;
  letter-spacing: 0.045em;
  margin-left: -0.04em;
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.ht-inner { display: inline-block; }
.ht-inner .ch {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--e-out);
}
.is-loaded .ht-inner .ch { transform: translateY(0) rotate(0); }
.ht-period { color: var(--shu); font-weight: 800; }

.hero-lead {
  margin-top: clamp(22px, 3.6vh, 44px);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 2.3;
  color: rgba(242, 237, 227, 0.82);
}

.hero-cred {
  margin-top: clamp(18px, 3vh, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 227, 0.64);
}
.hero-cred li { position: relative; padding-left: 14px; }
.hero-cred li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 1px;
  background: var(--shu);
}

.hero-vertical {
  position: absolute;
  z-index: 2;
  right: calc(var(--pad-x) * 0.55);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.42em;
  color: rgba(242, 237, 227, 0.5);
}
.hero-vertical span { border-right: 1px solid rgba(242, 237, 227, 0.18); padding-right: 14px; }

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--pad-x) 34px;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(242, 237, 227, 0.72);
}
.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: rgba(242, 237, 227, 0.25);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--shu);
  animation: scrollHint 2.2s var(--e-inout) infinite;
}
@keyframes scrollHint {
  0% { top: -100%; }
  55% { top: 0; }
  100% { top: 100%; }
}
.hero-coords {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(242, 237, 227, 0.6);
}

/* hero staged fades — choreographed entrance */
[data-hero-fade] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--e-out), transform 1.1s var(--e-out);
}
.hero-eyebrow[data-hero-fade] { transition-delay: 0.1s; }
.hero-lead[data-hero-fade] { transition-delay: 0.85s; }
.hero-cred[data-hero-fade] { transition-delay: 1.05s; }
.hero-vertical[data-hero-fade] { transition-delay: 1.2s; }
.hero-foot [data-hero-fade], .hero-foot[data-hero-fade] { transition-delay: 1.35s; }
.is-loaded [data-hero-fade] { opacity: 1; transform: none; }
.is-loaded [data-hero-fade].hero-vertical { transform: translateY(-50%); }

/* CJK punctuation compensation on the split display type */
.ch--yaku { margin-inline-end: -0.38em; }
.contact-big .rl-inner { margin-right: -0.45em; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--ink-950);
  padding: clamp(30px, 6vh, 64px) 0;
  border-top: 1px solid var(--line-on-ink);
  overflow: hidden;
}
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span { display: inline-block; padding-right: 0.5em; }

.marquee-row--a {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 76px);
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 227, 0.4);
}
.marquee-row--a i { font-style: normal; color: var(--shu); -webkit-text-stroke: 0; }
.marquee-row--b {
  margin-top: 10px;
  font-family: var(--f-en);
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: 0.34em;
  color: rgba(242, 237, 227, 0.5);
}
.marquee-row--b em { font-style: italic; }

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.section-no {
  font-family: var(--f-mincho);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--shu-deep);
  white-space: nowrap;
}
.section-head--dark .section-no { color: var(--shu-ink); }
.section-rule { flex: 0 0 clamp(30px, 6vw, 90px); height: 1px; background: currentColor; opacity: 0.25; transform: translateY(-0.32em); }
.section-en {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  opacity: 0.62;
}
.section-jp {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.1em;
  margin-left: auto;
  white-space: nowrap;
}
.section-note {
  width: 100%;
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sumi-dim);
}
.section-note--dark { color: var(--mist); }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  background: var(--washi);
  color: var(--sumi);
  padding: clamp(90px, 14vh, 170px) 0 clamp(100px, 15vh, 190px);
  position: relative;
}
.philosophy::before {
  /* deckle edge: torn washi over the ink above */
  content: "";
  position: absolute;
  top: -9px; left: 0; right: 0;
  height: 10px;
  pointer-events: none;
  background:
    radial-gradient(circle at 5px 10px, var(--washi) 6px, rgba(242, 237, 227, 0) 6.6px) 0 0 / 11px 10px repeat-x,
    radial-gradient(circle at 9px 11px, var(--washi) 5.5px, rgba(242, 237, 227, 0) 6.1px) -4px 0 / 19px 10px repeat-x;
}

.phil-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(40px, 6vw, 110px);
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: clamp(60px, 9vh, 110px) auto 0;
}

.phil-statement .rl {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.68;
  letter-spacing: 0.06em;
}
.phil-statement mark {
  position: relative;
  white-space: nowrap;
}
.phil-statement mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.14em;
  background: rgba(216, 68, 46, 0.28);
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.9s var(--e-out) 0.9s;
}
.is-in .phil-statement mark::after,
.phil-statement .is-in mark::after { transform: scaleX(1); }

.phil-copy {
  margin-top: clamp(30px, 5vh, 54px);
  max-width: 56ch;
  display: grid;
  gap: 1.2em;
  font-size: clamp(13.5px, 1.15vw, 15.5px);
  line-height: 2.3;
  color: var(--sumi-soft);
  text-wrap: pretty;
}

.phil-quote {
  position: relative;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line-on-washi);
  background: linear-gradient(160deg, rgba(255, 250, 240, 0.6), rgba(255, 250, 240, 0));
}
.phil-quote-vertical { line-break: strict; }
.phil-quote-vertical {
  writing-mode: vertical-rl;
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 2.3;
  letter-spacing: 0.22em;
  height: clamp(380px, 34vw, 470px);
}
.phil-quote-vertical p + p { margin-right: 1.6em; }
.phil-quote-cap {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(16px, 2.4vw, 32px);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sumi-dim);
}

/* hanko stamp */
.hanko {
  position: absolute;
  left: clamp(24px, 3.4vw, 46px);
  bottom: clamp(56px, 7vw, 84px);
  width: clamp(64px, 7vw, 92px);
  color: var(--shu);
  opacity: 0;
  transform: scale(1.6) rotate(-14deg);
  filter: blur(2px);
}
.hanko.is-stamped {
  animation: stamp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-14deg); filter: blur(2px); }
  60% { opacity: 1; transform: scale(0.94) rotate(-5deg); filter: blur(0); }
  100% { opacity: 0.92; transform: scale(1) rotate(-6deg); filter: blur(0); }
}
.hanko-t {
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: 46px;
  fill: currentColor;
  text-anchor: middle;
  dominant-baseline: central;
}

/* ============================================================
   SERVICES — pinned horizontal
   ============================================================ */
.services {
  background: var(--washi-2);
  color: var(--sumi);
  position: relative;
}
.js:not(.sv-static) .services { height: 440vh; }
.services-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 5vh, 60px);
  padding: clamp(80px, 12vh, 130px) 0 clamp(40px, 6vh, 70px);
}
.js:not(.sv-static) .services-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.section-head--inpin { flex-wrap: wrap; }

.sv-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0 var(--pad-x);
  will-change: transform;
  width: max-content;
  user-select: none;
}
/* fallback: no JS, reduced motion, short or narrow viewports — natural swipe */
.sv-static .sv-track,
html:not(.js) .sv-track {
  overflow-x: auto;
  width: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 18px;
}
.sv-static .sv-card,
html:not(.js) .sv-card { scroll-snap-align: start; }
.sv-static .sv-progress,
html:not(.js) .sv-progress { display: none; }
.sv-card {
  position: relative;
  width: clamp(300px, 34vw, 460px);
  flex: 0 0 auto;
  border: 1px solid var(--line-on-washi);
  background: linear-gradient(165deg, rgba(255, 250, 240, 0.65), rgba(255, 250, 240, 0.08));
  padding: clamp(26px, 3vw, 44px);
  padding-top: clamp(80px, 9vw, 130px);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--e-out);
}
.sv-card:hover { border-color: rgba(216, 68, 46, 0.5); transform: translateY(-6px); }
.sv-num {
  position: absolute;
  top: -0.18em;
  right: 10px;
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(110px, 12vw, 170px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 30, 39, 0.18);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
  pointer-events: none;
}
.sv-card:hover .sv-num { color: rgba(216, 68, 46, 0.12); -webkit-text-stroke-color: rgba(216, 68, 46, 0.4); }
.sv-icon { width: 46px; height: 46px; margin-bottom: 18px; color: var(--shu); }
.sv-icon .draw { stroke-dasharray: 220; stroke-dashoffset: 220; }
.is-in .sv-icon .draw, .sv-card.is-in .sv-icon .draw { animation: drawPath 1.6s var(--e-out) 0.3s forwards; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.sv-card h3 {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: 0.08em;
}
.sv-en {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sumi-dim);
  margin: 6px 0 16px;
}
.sv-card > p:last-child {
  font-size: 13.5px;
  line-height: 2.2;
  color: var(--sumi-soft);
  text-wrap: pretty;
}
.sv-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  padding-top: clamp(26px, 3vw, 44px);
  background: var(--ink-900);
  color: var(--washi);
  border-color: var(--ink-900);
}
.sv-cta-jp {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 2;
}
.btn--line { border-color: rgba(242, 237, 227, 0.4); }

.sv-progress {
  margin: 0 var(--pad-x);
  height: 1px;
  background: var(--line-on-washi);
  position: relative;
}
.sv-progress span {
  position: absolute;
  inset: 0;
  background: var(--shu);
  transform-origin: 0 0;
  transform: scaleX(0);
}

/* ============================================================
   PROPERTY — dark featured
   ============================================================ */
.property {
  background: #141926;
  color: var(--washi);
  padding: clamp(90px, 14vh, 170px) 0;
  position: relative;
  overflow: hidden;
}
.property::before {
  content: "物";
  position: absolute;
  right: -0.1em;
  top: 0.05em;
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(200px, 30vw, 460px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 227, 0.09);
  pointer-events: none;
}
.section-head--dark .section-note { color: var(--mist); }

.prop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: clamp(50px, 8vh, 100px) auto 0;
}

.prop-art { position: relative; }
.prop-art svg { width: 100%; height: auto; }
.prop-art .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.prop-art.is-in .draw { animation: drawPath 2.6s var(--e-out) 0.2s forwards; }
.prop-windows .w { opacity: 0; }
.prop-art.is-in .w { animation: windowOn 0.4s ease forwards; }
.prop-art.is-in .w1 { animation-delay: 1.6s; }
.prop-art.is-in .w2 { animation-delay: 2.0s; }
.prop-art.is-in .w3 { animation-delay: 2.3s; }
.prop-art.is-in .w4 { animation-delay: 2.6s; }
.prop-art.is-in .w5 { animation-delay: 2.9s; }
@keyframes windowOn { to { opacity: 1; } }
.prop-roof, .prop-bill { opacity: 0; transition: opacity 1s ease 1.4s; }
.prop-art.is-in .prop-roof, .prop-art.is-in .prop-bill { opacity: 1; }
.prop-beacon { animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.prop-bill-t {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 26px;
  letter-spacing: 0.2em;
  fill: rgba(216, 68, 46, 0.85);
}
.dim-t {
  font-family: var(--f-gothic);
  font-size: 12px;
  letter-spacing: 0.1em;
  fill: rgba(242, 237, 227, 0.55);
}
.prop-art-cap {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--mist-dim);
}

.prop-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--shu-ink);
  border: 1px solid rgba(216, 68, 46, 0.4);
  padding: 8px 16px;
  margin-bottom: 26px;
}
.prop-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--shu);
  animation: beacon 1.8s ease-in-out infinite;
}
.prop-title {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.prop-amp { color: var(--shu); padding: 0 0.1em; }
.nw { white-space: nowrap; }
.prop-lead {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(13.5px, 1.1vw, 15px);
  line-height: 2.3;
  color: var(--mist);
  text-wrap: pretty;
}
.prop-specs {
  margin-top: 34px;
  border-top: 1px solid var(--line-on-ink);
}
.prop-specs > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-ink);
  font-size: 14px;
}
.prop-specs dt { color: var(--mist-dim); letter-spacing: 0.14em; font-size: 12px; padding-top: 2px; }
.prop-specs dd b {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: 20px;
  color: var(--kin);
  letter-spacing: 0.04em;
}
.prop-note { margin-top: 18px; font-size: 11.5px; color: var(--mist-dim); letter-spacing: 0.06em; }
.property .btn--washi { margin-top: 30px; border-color: rgba(242, 237, 227, 0.4); }

/* ============================================================
   OSAKA AREAS
   ============================================================ */
.osaka {
  background: var(--ink-950);
  color: var(--washi);
  padding: clamp(90px, 14vh, 170px) 0;
  border-top: 1px solid var(--line-on-ink);
}
.area-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: clamp(40px, 6vw, 110px);
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: clamp(50px, 8vh, 100px) auto 0;
  align-items: start;
}

.area-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  grid-template-areas: "jp en" "jp desc";
  column-gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 3vh, 32px) 6px;
  border-bottom: 1px solid var(--line-on-ink);
  transition: background 0.4s, padding 0.5s var(--e-out);
  cursor: pointer;
}
.area-row:focus-visible { outline: 2px solid var(--shu); outline-offset: -2px; }
.area-row:first-child { border-top: 1px solid var(--line-on-ink); }
.area-jp {
  grid-area: jp;
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: rgba(242, 237, 227, 0.6);
  transition: color 0.4s, transform 0.5s var(--e-out);
}
.area-en {
  grid-area: en;
  align-self: end;
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--shu-ink);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s, transform 0.5s var(--e-out);
  padding-right: 130px;
}
.area-desc {
  grid-area: desc;
  font-size: 12.5px;
  color: var(--mist-dim);
  letter-spacing: 0.04em;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s var(--e-out), opacity 0.45s;
  padding-right: 130px;
}
.area-tag {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--mist-dim);
  border: 1px solid rgba(242, 237, 227, 0.22);
  padding: 5px 12px;
  transition: color 0.4s, border-color 0.4s;
  white-space: nowrap;
}
.area-row.is-active { background: linear-gradient(90deg, rgba(216, 68, 46, 0.06), transparent 70%); }
.area-row.is-active .area-jp { color: var(--washi); transform: translateX(10px); }
.area-row.is-active .area-en { opacity: 1; transform: translateX(10px); }
.area-row.is-active .area-desc { max-height: 4.4em; opacity: 1; }
.area-row.is-active .area-tag { color: var(--shu-ink); border-color: rgba(216, 68, 46, 0.5); }

.area-art {
  position: sticky;
  top: 16vh;
}
.area-art-frame {
  position: relative;
  aspect-ratio: 300 / 220;
  border: 1px solid var(--line-on-ink);
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(216, 68, 46, 0.05), transparent),
    var(--ink-900);
  overflow: hidden;
}
.area-svg {
  position: absolute;
  inset: clamp(14px, 2vw, 26px);
  width: calc(100% - clamp(28px, 4vw, 52px));
  height: calc(100% - clamp(28px, 4vw, 52px));
  color: rgba(242, 237, 227, 0.8);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.6s var(--e-out), transform 0.7s var(--e-out);
}
.area-svg path, .area-svg circle { stroke-dasharray: 620; stroke-dashoffset: 620; }
.area-svg.is-active { opacity: 1; transform: none; transition-delay: 0.12s; }
.area-svg.is-active path, .area-svg.is-active circle { animation: drawArea 1.5s var(--e-out) 0.1s forwards; }
@keyframes drawArea { to { stroke-dashoffset: 0; } }
.is-static .area-svg path, .is-static .area-svg circle { stroke-dashoffset: 0 !important; animation: none; }
.area-art-label {
  margin-top: 14px;
  text-align: right;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--mist-dim);
}

/* anchored arrivals clear the fixed nav */
section[id], main[id] { scroll-margin-top: 84px; }

/* ============================================================
   NUMBERS
   ============================================================ */
.numbers {
  background: var(--washi);
  color: var(--sumi);
  padding: clamp(80px, 12vh, 150px) var(--pad-x);
}
.num-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.num-list li {
  padding: 10px clamp(20px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.num-list li + li { border-left: 1px solid var(--line-on-washi); }
.num-big {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.num-big b { font-weight: 700; font-variant-numeric: tabular-nums; }
.num-big i {
  font-style: normal;
  font-size: 0.32em;
  color: var(--shu-deep);
  letter-spacing: 0.1em;
}
.num-cap { font-size: 11.5px; letter-spacing: 0.1em; color: var(--sumi-soft); line-height: 1.9; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background:
    linear-gradient(180deg, rgba(216, 68, 46, 0.055), transparent 30%),
    var(--ink-950);
  color: var(--washi);
  padding: clamp(90px, 14vh, 170px) 0 clamp(70px, 10vh, 120px);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216, 68, 46, 0.09), transparent 60%);
  pointer-events: none;
}
.contact-hero {
  text-align: center;
  padding: clamp(60px, 9vh, 110px) var(--pad-x) clamp(60px, 9vh, 100px);
  position: relative;
}
.contact-big {
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(52px, 9vw, 130px);
  line-height: 1.35;
  letter-spacing: 0.06em;
}
.contact-lead {
  margin: clamp(24px, 4vh, 40px) auto 0;
  font-size: clamp(13.5px, 1.15vw, 15.5px);
  line-height: 2.4;
  color: var(--mist);
  text-wrap: pretty;
}
.contact-hero .btn--big { margin-top: clamp(30px, 5vh, 50px); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-ink);
  border-top: 1px solid var(--line-on-ink);
  border-bottom: 1px solid var(--line-on-ink);
  max-width: var(--max-w);
  margin: 0 auto;
}
.c-card {
  background: var(--ink-950);
  padding: clamp(26px, 3vw, 44px) clamp(22px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.4s;
}
.c-card:hover { background: var(--ink-900); }
.c-label {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--shu-ink);
}
.c-value {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.05em;
}
a.c-value { position: relative; width: fit-content; }
a.c-value::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--shu);
  transform: scaleX(0);
  transform-origin: 100% 0;
  transition: transform 0.45s var(--e-out);
}
a.c-value:hover::after { transform: scaleX(1); transform-origin: 0 0; }
.c-sub { font-size: 11px; color: var(--mist-dim); letter-spacing: 0.08em; }

.hours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.hours-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 7px 2px;
  border: 1px solid var(--line-on-ink);
  font-size: 10.5px;
}
.hours-day b { font-weight: 500; }
.hours-day i { font-style: normal; color: var(--kin); font-size: 10px; letter-spacing: 0; }
.hours-day.is-closed { border-color: rgba(242, 237, 227, 0.07); }
.hours-day.is-closed b { color: var(--mist-dim); }
.hours-day.is-closed i { color: var(--mist); }

.contact-addr {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 26px var(--pad-x) 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
  font-size: 13px;
  color: var(--mist);
  letter-spacing: 0.06em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-950);
  color: var(--washi);
  padding: clamp(40px, 7vh, 90px) var(--pad-x) 30px;
  border-top: 1px solid var(--line-on-ink);
  position: relative;
  overflow: hidden;
}
.footer-mark {
  font-family: var(--f-mincho);
  font-weight: 800;
  font-size: clamp(90px, 17vw, 300px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 227, 0.08);
  user-select: none;
  white-space: nowrap;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-ink);
}
.footer-col { display: flex; gap: 16px; align-items: center; }
.footer-logo {
  display: flex;
  align-items: center;
  width: 138px;
  height: 54px;
  padding: 6px 10px;
  background: rgba(242, 237, 227, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seal--foot { width: 52px; height: 52px; }
.seal--foot svg { width: 40px; height: 40px; }
.footer-name { font-family: var(--f-mincho); font-weight: 700; font-size: 15px; line-height: 1.7; letter-spacing: 0.08em; }
.footer-name i { font-style: normal; font-family: var(--f-en); font-size: 10px; letter-spacing: 0.26em; opacity: 0.65; font-weight: 400; }
.footer-cred { font-size: 11px; color: var(--mist-dim); letter-spacing: 0.08em; display: grid; gap: 4px; align-self: center; }
.footer-links { display: grid; gap: 4px; font-size: 13px; letter-spacing: 0.14em; text-align: right; }
.footer-links a { opacity: 0.7; transition: opacity 0.3s, color 0.3s; padding: 3px 0; display: inline-block; }
.footer-links a:hover { opacity: 1; color: var(--shu-ink); }
.footer-guide { color: var(--shu-ink); opacity: 1 !important; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 30px;
  max-width: var(--max-w);
  margin: 22px auto 0;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mist-dim);
}
.footer-base a { color: var(--mist); border-bottom: 1px solid rgba(216, 68, 46, 0.5); }
.footer-base a:hover { color: var(--shu-ink); }

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--e-out), transform 1s var(--e-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="lines"] { opacity: 1; transform: none; transition: none; }
.rl-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.rl-inner { display: inline-block; will-change: transform; }
.js .rl-inner { transform: translateY(112%); transition: transform 1.15s var(--e-out); }
.js [data-reveal="lines"].is-in .rl-line:nth-child(1) .rl-inner { transition-delay: 0s; }
.js [data-reveal="lines"].is-in .rl-line:nth-child(2) .rl-inner { transition-delay: 0.12s; }
.js [data-reveal="lines"].is-in .rl-line:nth-child(3) .rl-inner { transition-delay: 0.24s; }
.js [data-reveal="lines"].is-in .rl-line:nth-child(4) .rl-inner { transition-delay: 0.36s; }
.js [data-reveal="lines"].is-in .rl-inner { transform: translateY(0); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-side { margin-left: auto; }
  .nav-side > .lang-switch { display: none; }
  .nav-clock { display: none; }
  .resource-rail { display: none; }
  .area-wrap { grid-template-columns: 1fr; }
  .area-art { position: relative; top: 0; max-width: 480px; }
  .prop-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .num-list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .num-list li:nth-child(odd) { border-left: 0; }
}

@media (max-width: 860px) {
  .phil-grid { grid-template-columns: 1fr; }
  .phil-quote { justify-content: center; }
  .hero-vertical { display: none; }
  .sv-card { width: min(84vw, 380px); }
  .area-en, .area-desc { padding-right: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: min(9.3vw, 40px); }
  .nav-brand-text b { font-size: 13px; white-space: nowrap; }
  .brand-logo { width: 78px; height: 34px; padding: 3px 6px; }
  .seal--mini { width: 34px; height: 34px; }
  .seal--mini svg { width: 26px; height: 26px; }
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .num-list { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .num-list li:nth-child(odd) { border-left: 0; }
  .num-big { font-size: clamp(36px, 11vw, 54px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { flex-wrap: wrap; }
  .footer-logo { width: 128px; height: 50px; }
  .footer-links { text-align: left; }
  .hero-coords { display: none; }
  .section-jp { width: 100%; margin-left: 0; margin-top: 8px; }
  .prop-specs > div { grid-template-columns: 90px 1fr; }

  .nav-brand-text i { display: none; }
  .hero-eyebrow { gap: 12px; }
  .hero-eyebrow-jp { white-space: nowrap; }
  .hero-eyebrow-en { display: none; }
  .hero-eyebrow-rule { flex: 1; width: auto; }

  .area-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "jp tag" "en en" "desc desc";
    row-gap: 4px;
  }
  .area-tag { position: static; transform: none; grid-area: tag; align-self: center; }
  .area-en { grid-area: en; align-self: start; }
  .area-row.is-active .area-desc { max-height: 5.2em; }
}

/* ============================================================
   STATIC MODE (screenshot review helper)
   ============================================================ */
.is-static { scroll-behavior: auto; }
.is-static .loader { display: none; }
.is-static [data-reveal], .is-static .rl-inner,
.is-static .ht-inner .ch, .is-static [data-hero-fade] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.is-static [data-hero-fade].hero-vertical { transform: translateY(-50%) !important; }
.is-static .prop-art .draw, .is-static .sv-icon .draw { stroke-dashoffset: 0 !important; animation: none; }
.is-static .phil-statement mark::after { transform: scaleX(1); }
.is-static .prop-art .w, .is-static .prop-roof, .is-static .prop-bill { opacity: 1 !important; }
.is-static .hanko { opacity: 0.92; transform: scale(1) rotate(-6deg); filter: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .grain { animation: none; }
  .js [data-reveal], .js .rl-inner, .ht-inner .ch, [data-hero-fade] {
    opacity: 1 !important;
    transform: none !important;
  }
  body, a, button, [data-cursor] { cursor: auto !important; }
  .cursor { display: none !important; }
  .hero-scroll-line::after { animation: none; }
}
