:root {
  --base: #FAF8F5;
  --anthracite: #1A1D26;
  --magenta: #C300FF;
  --turquoise: #00C2BA;
  --gold: #C9A23C;
  --violet: #6A0DAD;
  --line: rgba(26, 29, 38, 0.25);
  --line-soft: rgba(26, 29, 38, 0.15);
  --bg-glass: rgba(250, 248, 245, 0.92);
  --shadow-flat: 4px 4px 0 rgba(0,0,0,0.08);
  --shadow-magenta: 8px 8px 0 rgba(195,0,255,0.45);
  --shadow-purple: 8px 8px 0 rgba(0,0,0,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Lora", "Shippori Mincho", serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--base);
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 100vw;
}

strong, p, span, b, a, li, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}

h1, h2, h3, h4, .editorial {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
}

.mincho {
  font-family: "Shippori Mincho", serif;
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--base);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.mesh-bg::before, .mesh-bg::after {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  max-width: 1200px;
  max-height: 1200px;
  border-radius: 50%;
  filter: blur(220px);
  opacity: 0.6;
  animation: meshShift 90s ease-in-out infinite alternate;
}

.mesh-bg::before {
  background: radial-gradient(circle, #C300FF 0%, transparent 60%);
  top: -20vmax;
  left: -15vmax;
}

.mesh-bg::after {
  background: radial-gradient(circle, #00C2BA 0%, transparent 60%);
  bottom: -20vmax;
  right: -15vmax;
  animation-delay: 20s;
}

.mesh-bg .blob-3, .mesh-bg .blob-4 {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.5;
  animation: meshShift 110s ease-in-out infinite alternate;
}

.mesh-bg .blob-3 {
  background: radial-gradient(circle, #6A0DAD 0%, transparent 60%);
  top: 40%;
  left: 50%;
  animation-delay: 40s;
}

.mesh-bg .blob-4 {
  background: radial-gradient(circle, #C9A23C 0%, transparent 60%);
  top: 10%;
  right: 5%;
  animation-delay: 60s;
}

@keyframes meshShift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(10vw, 8vh) scale(1.15); }
  100% { transform: translate(-8vw, -6vh) scale(0.95); }
}

.left-dock {
  position: fixed;
  top: 0;
  left: 0;
  width: 248px;
  height: 100vh;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  z-index: 50;
  overflow-y: auto;
  transition: width 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.left-dock.collapsed {
  width: 72px;
  padding: 22px 10px;
}

.dock-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 18px;
  align-items: flex-start;
}

.dock-logo-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--anthracite);
  position: relative;
  flex-shrink: 0;
}

.dock-logo-icon svg {
  width: 30px;
  height: 30px;
}

.left-dock.collapsed .dock-logo-icon {
  width: 40px;
  height: 40px;
}

.dock-domain {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--anthracite);
  line-height: 1;
}

.dock-vertical {
  display: none;
}

.left-dock.collapsed .dock-domain {
  display: none;
}

.left-dock.collapsed .dock-vertical {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Cormorant Garamond", serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--anthracite);
  margin-top: 6px;
}

.dock-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 10px;
  opacity: 0.7;
  color: var(--anthracite);
  letter-spacing: 0.02em;
}

.dock-jp .accent { color: var(--magenta); font-weight: 700; }

.left-dock.collapsed .dock-jp { display: none; }

.dock-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.dock-nav a {
  font-family: "Lora", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--anthracite);
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: all 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
  white-space: nowrap;
}

.dock-nav a:hover {
  border-color: var(--magenta);
  transform: translateX(6px);
}

.dock-nav a.active {
  background: var(--anthracite);
  color: var(--base);
  border-color: var(--anthracite);
}

.left-dock.collapsed .dock-nav a {
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
}

.left-dock.collapsed .dock-nav a span { display: none; }

.dock-nav-icon {
  display: none;
  font-size: 18px;
}

.left-dock.collapsed .dock-nav-icon { display: inline; }

.dock-foot {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--anthracite);
  line-height: 1.5;
}

.dock-foot .live {
  color: var(--turquoise);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dock-foot .live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--turquoise);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}

.left-dock.collapsed .dock-foot { display: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.dock-toggle {
  position: absolute;
  bottom: 18px;
  right: -22px;
  width: 44px;
  height: 44px;
  background: var(--anthracite);
  color: var(--base);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  z-index: 60;
  transition: background 200ms ease;
}

.dock-toggle:hover { background: var(--magenta); }

.left-dock.collapsed .dock-toggle { right: -22px; }

.main-wrap {
  margin-left: 248px;
  min-height: 100vh;
  transition: margin-left 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-wrap.collapsed { margin-left: 72px; }

.topbar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 50;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
}

.topbar-mobile .tb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-mobile .tb-icon {
  width: 40px;
  height: 40px;
  background: var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-mobile .tb-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.topbar-mobile .tb-domain {
  font-family: "Cormorant Garamond", serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--anthracite);
}

.topbar-mobile .tb-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 9px;
  color: var(--anthracite);
  opacity: 0.7;
  margin-top: 3px;
}

.burger {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--anthracite);
  display: block;
  transition: all 240ms ease;
  position: absolute;
}

.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(6px); }

.burger.open span:nth-child(1) { transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 80vh;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 49;
  padding: 32px 22px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transform: translateY(-110%);
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer a {
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--anthracite);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a::after {
  content: "→";
  color: var(--magenta);
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 900px) {
  .left-dock { display: none; }
  .topbar-mobile { display: flex; }
  .mobile-drawer { display: flex; }
  .main-wrap, .main-wrap.collapsed { margin-left: 0; padding-top: 64px; }
}

section {
  position: relative;
  padding: 110px 8vw;
}

.hero {
  min-height: calc(100vh - 0px);
  padding: 80px 8vw 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--anthracite);
}

.hero h1 {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--anthracite);
  margin-bottom: 32px;
}

.hero h1 .line2 { display: block; padding-left: 0.6em; }
.hero h1 .line3 { display: block; padding-left: 1.2em; }
.hero h1 .accent { color: var(--magenta); font-style: italic; }

.hero-strip {
  display: inline-flex;
  align-items: center;
  background: var(--turquoise);
  color: #fff;
  padding: 14px 22px;
  font-family: "Lora", serif;
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 560px;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}

.cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 36px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: var(--magenta);
  color: #fff;
  min-height: 64px;
  white-space: nowrap;
  transition: all 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--shadow-flat);
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--anthracite);
  border: 1.5px solid var(--anthracite);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--anthracite);
  color: var(--base);
  box-shadow: var(--shadow-flat);
}

.btn-turquoise {
  background: var(--turquoise);
}

.btn-turquoise:hover {
  box-shadow: 6px 6px 0 rgba(0,0,0,0.18);
}

.hero-indicators {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 20px 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  box-shadow: var(--shadow-flat);
  display: inline-block;
  margin-top: 28px;
}

.hero-indicators .row { display: flex; justify-content: space-between; gap: 24px; }
.hero-indicators .key { opacity: 0.55; }
.hero-indicators .val { color: var(--magenta); font-weight: 700; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--anthracite);
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  border: 2px solid var(--magenta);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--magenta);
  color: #fff;
  padding: 8px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  z-index: 3;
}

.hero-visual .corner {
  position: absolute;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
  z-index: 3;
}

.hero-visual .corner.tl { top: 18px; left: 18px; }
.hero-visual .corner.bl { bottom: 18px; left: 18px; background: var(--turquoise); color: var(--anthracite); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 36px; padding-bottom: 60px; }
  .hero-visual { aspect-ratio: 4/3; }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.section-head .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--magenta);
  margin-bottom: 14px;
  text-transform: uppercase;
  display: block;
}

.section-head h2 {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 800;
  color: var(--anthracite);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-head h2 .jp {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 0.32em;
  font-weight: 400;
  margin-top: 14px;
  opacity: 0.7;
  letter-spacing: 0.08em;
}

.section-head .lead {
  max-width: 380px;
  font-family: "Lora", serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthracite);
}

.split-about {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 0;
  border: 1px solid var(--line-soft);
  background: #fff;
  box-shadow: var(--shadow-flat);
}

.split-about .left {
  position: sticky;
  top: 24px;
  background: var(--anthracite);
  color: var(--base);
  padding: 36px;
}

.split-about .left img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  border: 2px solid var(--magenta);
  box-shadow: 6px 6px 0 rgba(195,0,255,0.35);
}

.split-about .right {
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.split-about .right .pull-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--anthracite);
  padding: 24px 0;
  border-top: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
  position: relative;
}

.split-about .right .pull-quote::before {
  content: "“";
  font-size: 80px;
  color: var(--magenta);
  position: absolute;
  top: -10px;
  left: -8px;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.cols-2 {
  column-count: 2;
  column-gap: 32px;
  font-family: "Lora", serif;
  font-size: 16px;
  line-height: 1.7;
}

.cols-2 p { margin-bottom: 14px; break-inside: avoid; }

.technical {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--anthracite);
  color: var(--base);
  padding: 18px 22px;
  line-height: 1.6;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.technical .lbl { opacity: 0.55; display: block; margin-bottom: 2px; }
.technical .val { color: var(--turquoise); font-weight: 700; }

@media (max-width: 900px) {
  .split-about { grid-template-columns: 1fr; }
  .split-about .left { position: static; padding: 24px; }
  .split-about .right { padding: 28px; }
  .cols-2 { column-count: 1; }
  .technical { grid-template-columns: 1fr; }
}

.accordion-row {
  display: flex;
  gap: 8px;
  height: 520px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-flat);
  overflow: hidden;
}

.acc-panel {
  flex: 1;
  min-width: 90px;
  background: #fff;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: flex 420ms cubic-bezier(0.22, 0.61, 0.36, 1), background 240ms ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.acc-panel:last-child { border-right: 0; }

.acc-panel.active {
  flex: 4.5;
  background: var(--anthracite);
  color: var(--base);
}

.acc-panel .head {
  padding: 26px 14px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.acc-panel.active .head {
  height: auto;
}

.acc-panel.active .head { writing-mode: horizontal-tb; transform: none; padding: 36px 36px 0; font-size: 28px; justify-content: flex-start; }

.acc-panel .head .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--magenta);
  font-weight: 700;
}

.acc-panel .body {
  padding: 0 36px 36px;
  display: none;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.acc-panel.active .body { display: flex; }

.acc-panel .body p {
  font-family: "Lora", serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--base);
}

.acc-panel .body .meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--turquoise);
  padding-top: 16px;
  border-top: 1px solid rgba(250,248,245,0.2);
}

.acc-panel .body .visual {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(250,248,245,0.06);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(195,0,255,0.4);
}

.acc-panel .body .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-panel .body .price {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--magenta);
  display: block;
  margin-top: 4px;
}

.acc-panel .body .seal {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--magenta);
  color: #fff;
  padding: 8px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .accordion-row { flex-direction: column; height: auto; }
  .acc-panel { min-height: 76px; }
  .acc-panel .head { writing-mode: horizontal-tb; transform: none; padding: 22px 22px; }
  .acc-panel.active { min-height: 480px; }
  .acc-panel .body { padding: 0 22px 22px; }
}

.process-graph {
  position: relative;
  padding: 60px 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-flat);
}

.process-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-nodes::before {
  content: "";
  position: absolute;
  inset: 40px 40px;
  background-image:
    linear-gradient(to right, var(--turquoise) 50%, transparent 50%),
    linear-gradient(to right, var(--turquoise) 50%, transparent 50%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  background-position: top, bottom;
  z-index: 0;
  opacity: 0.5;
}

.process-node {
  background: var(--base);
  border: 1px solid var(--line);
  padding: 22px 18px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 220ms ease;
}

.process-node:hover {
  transform: translate(-3px, -3px);
  border-color: var(--magenta);
  box-shadow: 6px 6px 0 rgba(195,0,255,0.35);
}

.process-node .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--magenta);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.process-node .icon {
  width: 44px;
  height: 44px;
  background: var(--anthracite);
  color: var(--turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.process-node .title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--anthracite);
  line-height: 1.1;
}

.process-node .desc {
  font-family: "Lora", serif;
  font-size: 13px;
  color: var(--anthracite);
  line-height: 1.5;
  opacity: 0.85;
}

.process-node .time {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--magenta);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

@media (max-width: 900px) {
  .process-nodes { grid-template-columns: 1fr; }
  .process-nodes::before { display: none; }
}

.stack-cards {
  position: relative;
  height: 580px;
  margin-top: 32px;
}

.stack-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  padding: 38px 36px;
  width: 100%;
  transition: all 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: var(--shadow-flat);
  cursor: pointer;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 28px;
  align-items: center;
}

.stack-card:nth-child(1) { top: 0; transform: translate(0,0); z-index: 5; }
.stack-card:nth-child(2) { top: 68px; transform: translate(18px, 18px); z-index: 4; }
.stack-card:nth-child(3) { top: 136px; transform: translate(36px, 36px); z-index: 3; }
.stack-card:nth-child(4) { top: 204px; transform: translate(54px, 54px); z-index: 2; }
.stack-card:nth-child(5) { top: 272px; transform: translate(72px, 72px); z-index: 1; }

.stack-card:hover {
  transform: translate(-12px, -12px);
  border-color: var(--magenta);
  box-shadow: 10px 10px 0 rgba(195,0,255,0.45);
  z-index: 10 !important;
}

.stack-card .icon {
  width: 60px;
  height: 60px;
  background: var(--anthracite);
  color: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 800;
}

.stack-card .body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.stack-card .body p {
  font-family: "Lora", serif;
  font-size: 14px;
  color: var(--anthracite);
  opacity: 0.85;
  line-height: 1.55;
}

.stack-card .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  background: var(--turquoise);
  color: var(--anthracite);
  padding: 6px 10px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .stack-cards { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .stack-card { position: static; transform: none !important; grid-template-columns: 56px 1fr; }
  .stack-card:nth-child(n) { top: auto; transform: none; }
  .stack-card .tag { grid-column: 1 / -1; justify-self: flex-start; }
}

.masonry {
  column-count: 3;
  column-gap: 16px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-flat);
  cursor: pointer;
  transition: all 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.masonry-item:hover {
  border-color: var(--magenta);
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-magenta);
}

.masonry-item .img-wrap {
  width: 100%;
  background: var(--anthracite);
  overflow: hidden;
  position: relative;
}

.masonry-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.masonry-item .meta {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.masonry-item .meta .model {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 4px;
}

.masonry-item .meta .label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--magenta);
  text-transform: uppercase;
}

.masonry-item .meta .paint {
  font-family: "Lora", serif;
  font-size: 13px;
  color: var(--anthracite);
  margin-top: 8px;
  opacity: 0.85;
}

.masonry-item .badge-coat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--anthracite);
  color: var(--turquoise);
  padding: 6px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  z-index: 2;
}

@media (max-width: 900px) {
  .masonry { column-count: 1; }
}

.masters-canvas {
  position: relative;
  height: 720px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-flat);
  overflow: hidden;
}

.master-card {
  position: absolute;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: grab;
  transition: box-shadow 200ms ease, border-color 200ms ease;
  user-select: none;
}

.master-card.dragging { cursor: grabbing; z-index: 50; }

.master-card:hover, .master-card.dragging {
  border-color: var(--magenta);
  box-shadow: var(--shadow-magenta);
  z-index: 50;
}

.master-card .photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--anthracite);
  position: relative;
}

.master-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.master-card .photo .seal {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--magenta);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  padding: 4px 8px;
}

.master-card .info {
  padding: 14px 14px 16px;
  border-top: 1px solid var(--line);
}

.master-card .info .name {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--anthracite);
}

.master-card .info .role {
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  color: var(--magenta);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.master-card .info .yrs {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--anthracite);
  opacity: 0.6;
  margin-top: 6px;
}

.faq-stack { display: flex; flex-direction: column; gap: 6px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 240ms ease;
}

.faq-item.open { border-color: var(--magenta); }

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--magenta);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 260ms ease;
}

.faq-item.open::before { transform: scaleY(1); }

.faq-q {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--anthracite);
}

.faq-q .chev {
  width: 36px;
  height: 36px;
  background: var(--turquoise);
  color: var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item.open .faq-a { max-height: 600px; }

.faq-a-inner {
  padding: 0 28px 28px;
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--anthracite);
}

.reviews-3d {
  position: relative;
  height: 480px;
  perspective: 1200px;
  overflow: hidden;
}

.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-flat);
  padding: 36px 36px;
  transform: translate(-50%, -50%) rotateY(var(--r, 0deg)) translateX(var(--x, 0)) scale(var(--s, 0.85));
  opacity: var(--o, 0.4);
  transition: all 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: var(--z, 1);
}

.review-card .quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--anthracite);
  margin-bottom: 22px;
  padding-top: 22px;
  border-top: 2px solid var(--magenta);
}

.review-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card .author img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.review-card .author .who { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 18px; color: var(--anthracite); }
.review-card .author .car { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--magenta); }

.review-controls {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  align-items: center;
  justify-content: center;
}

.review-arrow {
  width: 56px;
  height: 56px;
  background: var(--magenta);
  color: #fff;
  border: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease;
}

.review-arrow:hover { background: var(--anthracite); }

.review-counter {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--anthracite);
}

@media (max-width: 900px) {
  .review-card { width: 86vw; padding: 24px; }
  .reviews-3d { height: 540px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-flat);
}

.map-styled {
  position: relative;
  background: #ECECEA;
  min-height: 540px;
  overflow: hidden;
}

.map-styled svg { width: 100%; height: 100%; }

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 4;
}

.map-pin .dot {
  width: 22px;
  height: 22px;
  background: var(--magenta);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 6px rgba(195,0,255,0.25);
  animation: pulse 1.8s ease-in-out infinite;
}

.map-pin .line {
  width: 2px;
  height: 60px;
  background: var(--magenta);
  margin: 0 auto;
}

.map-pin .tag {
  background: var(--magenta);
  color: #fff;
  padding: 4px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.contact-card {
  background: #fff;
  position: absolute;
  top: 36px;
  left: 36px;
  max-width: 380px;
  padding: 32px 30px;
  border: 1px solid var(--magenta);
  box-shadow: 8px 8px 0 rgba(195,0,255,0.35);
  z-index: 5;
  font-family: "Lora", serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--anthracite);
}

.contact-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-card .row {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
}

.contact-card .row:first-of-type { border-top: 0; }

.contact-card .row .k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  width: 90px;
  flex-shrink: 0;
  opacity: 0.6;
  padding-top: 3px;
}

.contact-card .row .v { font-weight: 700; }

.contact-card .live-strip {
  margin-top: 18px;
  background: var(--anthracite);
  color: var(--base);
  padding: 12px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.contact-card .live-strip .on { color: var(--turquoise); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-styled { min-height: 380px; }
  .contact-card { position: static; max-width: none; margin: 24px; }
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 56px 48px;
  box-shadow: var(--shadow-flat);
}

.form-card h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--anthracite);
}

.form-card .lead {
  font-family: "Lora", serif;
  font-size: 15px;
  color: var(--anthracite);
  margin-bottom: 32px;
  opacity: 0.8;
  max-width: 540px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-row.single { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--anthracite);
  text-transform: uppercase;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--base);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: "Lora", serif;
  font-size: 15px;
  color: var(--anthracite);
  outline: none;
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--magenta);
}

.form-group textarea { min-height: 140px; resize: vertical; }

@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 22px; }
}

@media (max-width: 600px) {
  .form-card + div { grid-template-columns: 1fr !important; }
}

.thanks-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 8vw;
}

.thanks-inner {
  background: #fff;
  border: 2px solid var(--magenta);
  padding: 80px 60px;
  max-width: 760px;
  box-shadow: var(--shadow-magenta);
}

.thanks-inner .seal {
  width: 88px;
  height: 88px;
  background: var(--magenta);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}

.thanks-inner h1 {
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1;
}

.thanks-inner .jp-line {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  color: var(--magenta);
  margin-bottom: 22px;
}

.thanks-inner p {
  font-family: "Lora", serif;
  font-size: 16px;
  color: var(--anthracite);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.legal-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 60px 56px;
  box-shadow: var(--shadow-flat);
}

.legal-wrap h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
  color: var(--anthracite);
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 16px;
}

.legal-wrap .meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--magenta);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.legal-wrap h2 {
  font-size: 26px;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--anthracite);
  border-left: 4px solid var(--magenta);
  padding-left: 14px;
}

.legal-wrap p {
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--anthracite);
}

.legal-wrap ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-wrap li {
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--anthracite);
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .legal-wrap { padding: 32px 22px; }
}

.site-footer {
  background: var(--anthracite);
  color: var(--base);
  padding: 80px 8vw 32px;
  border-top: 4px solid var(--magenta);
}

.site-footer a { color: var(--base); text-decoration: none; transition: color 200ms ease; }
.site-footer a:hover { color: var(--magenta); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-brand .brand-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 16px;
}

.footer-brand .brand-tag {
  font-family: "Lora", serif;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 320px;
}

.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(250,248,245,0.18);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col li a {
  font-family: "Lora", serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col li a::before {
  content: "→";
  color: var(--turquoise);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.footer-bottom {
  border-top: 1px solid rgba(250,248,245,0.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250,248,245,0.7);
}

.footer-bottom .addr-line {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--magenta);
  box-shadow: 6px 6px 0 rgba(195,0,255,0.3);
  padding: 22px 24px;
  z-index: 100;
  font-family: "Lora", serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--anthracite);
}

.cookie-banner .cb-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--anthracite);
}

.cookie-banner .cb-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.cookie-banner .cb-list {
  margin: 12px 0 18px;
  padding-left: 18px;
}

.cookie-banner .cb-list li {
  font-size: 12px;
  margin-bottom: 4px;
  font-family: "Lora", serif;
}

.cookie-banner .cb-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  flex: 1;
  padding: 12px 16px;
  border: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: opacity 200ms ease;
}

.cookie-banner button:hover { opacity: 0.85; }

.cookie-banner .cb-accept { background: var(--magenta); color: #fff; }
.cookie-banner .cb-decline { background: var(--anthracite); color: var(--base); }

.cookie-banner .cb-link {
  margin-top: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.cookie-banner .cb-link a { color: var(--magenta); text-decoration: underline; }

@media (max-width: 700px) {
  .cookie-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.compact-hero {
  min-height: 360px;
  padding: 70px 8vw 56px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}

.compact-hero .ch-inner {
  width: 100%;
}

.compact-hero .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--magenta);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.compact-hero h1 {
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}

.compact-hero .sub {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  color: var(--anthracite);
  opacity: 0.75;
}

.thanks-page { background: var(--base); }
