/* ==========================================
   kataishi takara — editorial / monochrome style
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Caveat:wght@600;700&display=swap');

:root {
  --black: #000000;
  --cream: #FFFFFF;
  --paper: #FFFFFF;
  --gold: #FF4500;
  --rose: #FFE1D2;
  --text: #000000;
  --text-light: #5A5A5A;
  --radius: 4px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Page transition (fade in/out on navigation) ---------- */
body {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-ready {
  opacity: 1;
}

body.page-out {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transition: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- Text wrapping (Japanese-friendly, overflow-safe) ---------- */
h1, h2, h3, h4, p, .lead, li {
  overflow-wrap: anywhere;
}

h1, h2 {
  text-wrap: balance;
}

p, .lead {
  text-wrap: pretty;
}

br.lb {
  display: inline;
}

@media (max-width: 680px) {
  br.lb {
    display: none;
  }
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--black);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.logo .dot {
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Persistent "Menu" pill (always collapsed, reference-style) ---------- */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-1px);
  background: var(--text);
}

.site-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.site-nav a {
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  padding-bottom: 2px;
  border-bottom: 10px solid transparent;
  transition: border-color 0.25s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  border-color: rgba(255, 69, 0, 0.4);
}

.site-nav a.active {
  border-color: var(--gold);
}

@media (max-width: 680px) {
  .site-nav {
    top: 12px;
    right: 12px;
  }
  .site-nav a {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    border-bottom-width: 6px;
  }
}

.menu-btn-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.menu-btn-bars span {
  height: 1.5px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), opacity 0.2s ease;
}

.menu-btn-bars span:nth-child(1) { width: 100%; }
.menu-btn-bars span:nth-child(2) { width: 70%; }
.menu-btn-bars span:nth-child(3) { width: 100%; }

.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
  width: 100%;
}
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-btn-bars span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
  width: 100%;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.22, 0.9, 0.32, 1), transform 0.35s cubic-bezier(0.22, 0.9, 0.32, 1), visibility 0.35s;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-overlay nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-overlay nav li {
  margin: 6px 0;
}

.menu-overlay nav a {
  position: relative;
  display: inline-block;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 900;
  padding: 4px 10px;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.menu-overlay.open nav a {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.open nav li:nth-child(1) a { transition-delay: 0.05s; }
.menu-overlay.open nav li:nth-child(2) a { transition-delay: 0.1s; }
.menu-overlay.open nav li:nth-child(3) a { transition-delay: 0.15s; }
.menu-overlay.open nav li:nth-child(4) a { transition-delay: 0.2s; }
.menu-overlay.open nav li:nth-child(5) a { transition-delay: 0.25s; }

.menu-overlay nav a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 0.28em;
  background: var(--gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.menu-overlay nav a:hover::after,
.menu-overlay nav a.active::after {
  transform: scaleX(1);
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close::before, .menu-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--black);
}

.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }

body.menu-open {
  overflow: hidden;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0 20px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "\2022";
  margin-left: 20px;
  color: var(--gold);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 26s;
}

.marquee.small {
  padding: 6px 0;
  background: var(--paper);
  color: var(--black);
  border-top: none;
}

.marquee.small .marquee-track span::after {
  color: var(--rose);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero .stroke-word {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26, 23, 20, 0.15);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* ---------- Scattered title collage (hero) ---------- */
.collage {
  position: relative;
  height: 360px;
  margin: 0 0 12px;
}

.collage-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  z-index: 2;
  overflow: hidden;
}

.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-line {
  position: absolute;
  top: 0;
  left: 52%;
  z-index: 1;
  opacity: 0.85;
}

.collage-line path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-line 1.1s 0.15s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}

.collage-stamp {
  position: absolute;
  top: 0;
  left: 38%;
  background: var(--black);
  color: var(--cream);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  --r: -8deg;
  transform: rotate(var(--r));
  white-space: nowrap;
  animation: stamp-in 0.7s 0.1s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

.collage-frag {
  position: absolute;
  font-weight: 900;
  color: var(--black);
  white-space: nowrap;
  line-height: 1;
  z-index: 1;
  transform: rotate(var(--r));
  animation: frag-in 0.8s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}

.collage-frag.f1 { top: 6%; left: 2%; font-size: 1.6rem; --r: -18deg; animation-delay: 0.05s; }
.collage-frag.f2 { top: 10%; right: 4%; font-size: 2.1rem; --r: 10deg; animation-delay: 0.12s; }
.collage-frag.f3 { top: 32%; right: -1%; font-size: 1.3rem; --r: 14deg; animation-delay: 0.19s; }
.collage-frag.f4 { bottom: 18%; right: 6%; font-size: 3rem; --r: -8deg; animation-delay: 0.26s; }
.collage-frag.f5 { bottom: 2%; right: 14%; font-size: 1.4rem; --r: 6deg; animation-delay: 0.33s; }
.collage-frag.f6 { top: 40%; left: 0%; font-size: 1.2rem; --r: -90deg; transform-origin: left top; animation-delay: 0.4s; }
.collage-frag.f7 { bottom: 30%; left: 6%; font-size: 1.6rem; --r: -14deg; animation-delay: 0.47s; }
.collage-frag.f8 { bottom: 8%; left: 18%; font-size: 1.1rem; --r: 8deg; animation-delay: 0.54s; }
.collage-frag.f9 { bottom: -4%; left: 32%; font-size: 1.1rem; --r: -4deg; animation-delay: 0.61s; }

.collage-sticker {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  animation: sticker-in 0.7s 0.5s cubic-bezier(0.22, 1.4, 0.36, 1) both,
             sticker-float 3.2s 1.3s ease-in-out infinite;
}

@keyframes sticker-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-6deg); }
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(calc(var(--r) * 4)) translateY(-14px); }
  to { opacity: 1; transform: rotate(var(--r)) translateY(0); }
}

@keyframes frag-in {
  from { opacity: 0; transform: rotate(calc(var(--r) * 3)) scale(0.5) translateY(14px); }
  to { opacity: 1; transform: rotate(var(--r)) scale(1) translateY(0); }
}

@keyframes sticker-in {
  0% { opacity: 0; transform: scale(0) rotate(-30deg); }
  70% { opacity: 1; transform: scale(1.12) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes photo-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.collage-photo {
  animation: photo-in 0.6s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .collage-line path, .collage-stamp, .collage-frag, .collage-sticker, .collage-photo {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 680px) {
  .collage {
    height: 300px;
  }
  .collage-frag.f2, .collage-frag.f4 { font-size: 1.6rem; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .tag-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 18px;
  animation: fade-up 0.6s ease both;
}

.hero h1 {
  animation: fade-up 0.6s ease 0.08s both;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero p.lead {
  animation: fade-up 0.6s ease 0.16s both;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 28px;
}

.hero .btn-row {
  animation: fade-up 0.6s ease 0.24s both;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero h1 .accent {
  position: relative;
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 0.32em;
  background: var(--gold);
  z-index: -1;
}

/* ---------- Sub-page hero ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* ---------- Giant vertical accent text (glitch character scramble) ---------- */
.side-word {
  position: absolute;
  top: 0;
  right: 6px;
  bottom: 0;
  writing-mode: vertical-rl;
  font-size: clamp(2.4rem, 9vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26, 23, 20, 0.14);
  pointer-events: none;
  z-index: 0;
  line-height: 1.15;
  overflow: hidden;
}

@media (max-width: 900px) {
  .side-word {
    display: none;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Curtain reveal: text "opens" from behind a wipe ---------- */
.curtain {
  position: relative;
  overflow: hidden;
}

.curtain > * {
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.5s ease 0.35s, transform 0.6s cubic-bezier(0.22, 0.9, 0.32, 1) 0.35s;
}

.curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
  pointer-events: none;
}

.curtain.in::after {
  transform: scaleX(0);
  transform-origin: right;
}

.curtain.in > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .curtain::after { display: none; }
  .curtain > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Photo reveal: image "appears" from a wipe + scale ---------- */
.photo-reveal {
  position: relative;
  overflow: hidden;
}

.photo-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.55s 0.05s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 2;
  pointer-events: none;
}

.photo-reveal .blob-photo,
.photo-reveal.blob-photo {
  transition: transform 0.7s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.photo-reveal:not(.in) .blob-photo,
.photo-reveal:not(.in).blob-photo {
  transform: scale(1.15);
}

.photo-reveal img {
  transition: transform 0.7s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.photo-reveal:not(.in) img {
  transform: scale(1.15);
}

.photo-reveal.in::after {
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .photo-reveal::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  border: 2px solid var(--black);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.96);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.btn-primary {
  background: var(--black);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--cream);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section {
  padding: 60px 0;
}

.section-alt {
  background: var(--paper);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.section-tight {
  padding-top: 40px;
}

.section-title {
  margin-bottom: 36px;
}

.section-title .kicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 720px;
  margin: 32px 0 0;
  border: 2px solid var(--black);
  background: var(--black);
}

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

.stat {
  background: var(--paper);
  padding: 20px 14px;
  text-align: center;
}

.stat:nth-child(2) {
  background: var(--gold);
}

.stat:nth-child(3) {
  background: var(--rose);
}

.stat .num {
  font-size: 1.8rem;
  font-weight: 900;
  display: block;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.stat .label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 700;
}

.stat:nth-child(2) .label, .stat:nth-child(3) .label {
  color: var(--text);
}

/* ---------- Number cards (features / strengths) ---------- */
.ncard {
  background: var(--paper);
  border: 2px solid var(--black);
  padding: 24px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), box-shadow 0.3s ease;
}

.ncard:hover {
  transform: translateY(-6px);
  box-shadow: 6px 6px 0 var(--black);
}

.ncard .n {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ncard h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ncard p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

.ncard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-light);
  font-size: 0.92rem;
}

.ncard ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ncard ul li:last-child {
  margin-bottom: 0;
}

.ncard ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

.grid-4 .ncard ul li {
  font-size: 0.85rem;
}

.grid-3 .ncard { background: var(--paper); }

.grid-4 .ncard {
  background: var(--paper);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), box-shadow 0.3s ease, background 0.25s ease;
}

.grid-4 .ncard:hover {
  background: var(--gold);
}

.grid-4 .ncard:hover .n,
.grid-4 .ncard:hover p,
.grid-4 .ncard:hover ul,
.grid-4 .ncard:hover ul li {
  color: #fff;
}

.grid-4 .ncard:hover ul li::before {
  color: #fff;
}

/* ---------- Expandable ncard: each "・" item reveals its own description on card hover ---------- */
.ncard-expandable ul li {
  margin-bottom: 10px;
}

.ncard-expandable .li-desc {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  transition: max-height 0.4s cubic-bezier(0.22, 0.9, 0.32, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ncard-expandable:hover .li-desc {
    max-height: 160px;
    opacity: 1;
    margin-top: 4px;
  }
}

.grid-3 .ncard-expandable {
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), box-shadow 0.3s ease, background 0.25s ease;
}

.grid-3 .ncard-expandable:hover {
  background: var(--gold);
}

.grid-3 .ncard-expandable:hover .n,
.grid-3 .ncard-expandable:hover h3,
.grid-3 .ncard-expandable:hover ul li,
.grid-3 .ncard-expandable:hover .li-desc {
  color: #fff;
}

.grid-3 .ncard-expandable:hover ul li::before {
  color: #fff;
}

.ncard-expandable {
  cursor: pointer;
}

.price-note {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: left;
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Service modal (click a card for a full-screen readable view) ---------- */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.service-modal.is-open {
  display: flex;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.65);
  animation: serviceModalFade 0.25s ease;
}

.service-modal-panel {
  position: relative;
  background: #fff;
  border: 3px solid var(--black);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 40px 40px;
  animation: serviceModalPop 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.service-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.service-modal-num {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.service-modal-title {
  margin: 4px 0 26px;
  font-size: 1.6rem;
}

.service-modal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-modal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 24px;
}

.service-modal-list li:last-child {
  margin-bottom: 0;
}

.service-modal-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
}

.service-modal-label {
  display: block;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.service-modal-desc {
  display: block;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.modal-open {
  overflow: hidden;
}

@keyframes serviceModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes serviceModalPop {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 640px) {
  .service-modal-panel {
    padding: 40px 22px 28px;
    max-height: 80vh;
  }
}

/* ---------- Skill bars ---------- */
.skill-card {
  background: var(--paper);
  border: 2px solid var(--black);
  padding: 22px 24px;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0 var(--black);
}

.skill-card .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.skill-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
}

.skill-card .years {
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 700;
  white-space: nowrap;
}

.skill-bar {
  height: 10px;
  background: var(--cream);
  border: 2px solid var(--black);
  overflow: hidden;
  margin: 10px 0 12px;
}

.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 1.1s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.skill-bar-fill.filled {
  width: var(--fill, 0%);
}

.skill-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* ---------- Panel ---------- */
.panel {
  background: var(--paper);
  border: 2px solid var(--black);
  padding: 36px;
}

.panel + .panel {
  margin-top: 20px;
}

.tag {
  display: inline-block;
  background: var(--paper);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  margin: 0 6px 6px 0;
}

/* ---------- Profile / avatar ---------- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.avatar-frame {
  position: relative;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}

.avatar-img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--black);
  filter: grayscale(15%);
}

.avatar-badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: 2px solid var(--black);
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 80% 21%, 95% 25%, 89% 39%, 100% 50%, 89% 61%, 95% 75%, 80% 79%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 20% 79%, 5% 75%, 11% 61%, 0% 50%, 11% 39%, 5% 25%, 20% 21%, 24% 6%, 39% 12%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.avatar-badge svg {
  width: 16px;
  height: 16px;
}

.avatar-badge {
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .avatar-badge {
    animation: none;
  }
}

/* ---------- Sticker badge (scroll / cta accent) ---------- */
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: var(--black);
  color: var(--cream);
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 80% 21%, 95% 25%, 89% 39%, 100% 50%, 89% 61%, 95% 75%, 80% 79%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 20% 79%, 5% 75%, 11% 61%, 0% 50%, 11% 39%, 5% 25%, 20% 21%, 24% 6%, 39% 12%);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.3;
  flex-direction: column;
}

/* ---------- Timeline ---------- */
.timeline {
  border-left: 2px solid var(--black);
  margin-left: 10px;
  padding-left: 28px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2px solid var(--black);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.22, 1.4, 0.36, 1);
}

.timeline.reveal.in .timeline-item::before {
  transform: scale(1);
}

.timeline.reveal.in .timeline-item:nth-child(1)::before { transition-delay: 0.1s; }
.timeline.reveal.in .timeline-item:nth-child(2)::before { transition-delay: 0.25s; }
.timeline.reveal.in .timeline-item:nth-child(3)::before { transition-delay: 0.4s; }
.timeline.reveal.in .timeline-item:nth-child(4)::before { transition-delay: 0.55s; }

.timeline-item .date {
  display: inline-block;
  font-weight: 900;
  font-size: 0.78rem;
  background: var(--paper);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 8px;
}

.timeline-item h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: var(--text-light);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 2px;
  border: 2px solid var(--black);
  background: var(--black);
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  padding: 22px 26px;
  transition: background 0.25s ease;
}

.step:hover {
  background: var(--cream);
}

.step:hover .step-num {
  transform: scale(1.12) rotate(-6deg);
}

.step-num {
  transition: transform 0.3s cubic-bezier(0.22, 1.4, 0.36, 1);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ---------- Works (numbered directory cards) ---------- */
.work-card {
  border: 2px solid var(--black);
  overflow: hidden;
  display: block;
  background: var(--paper);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1), box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 6px 0 var(--black);
}

.work-card:hover .work-thumb {
  background-size: 112%;
}

.work-card:hover .num {
  transform: translateX(2px);
}

.work-card .top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 2px solid var(--black);
  background: #fff;
  transition: background 0.3s ease;
}

.work-card:hover .top-bar { background: var(--gold); }

.work-card .num {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-block;
  transition: transform 0.3s ease;
}

.work-thumb {
  transition: background-size 0.5s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.work-card .cat {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: right;
}

.work-thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.work-thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 23, 20, 0.1);
}

.work-thumb .play svg {
  width: 40px;
  height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.work-thumb.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.work-thumb.thumb-placeholder .thumb-label {
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.work-card .body {
  padding: 18px;
}

.work-card .role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 6px;
}

.work-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.work-card .hit {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--black);
  color: #fff;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 2px 10px;
  margin-top: 6px;
}

/* ---------- Contact ---------- */
.contact-box {
  text-align: left;
}

.contact-methods {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-methods .ncard {
  width: 260px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  color: var(--cream);
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band .copy h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 12px;
  font-weight: 900;
}

.cta-band .copy p {
  color: #C9C2B4;
  margin: 0;
}

.cta-band .btn-primary {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}

.cta-band .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ---------- Card tilt (JS-driven) ---------- */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Ripple ---------- */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple-out 0.6s ease-out;
  pointer-events: none;
}

.btn-secondary .ripple {
  background: rgba(26, 23, 20, 0.18);
}

@keyframes ripple-out {
  to { transform: scale(1); opacity: 0; }
}

/* ---------- Heading word stagger ---------- */
.word-stagger {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(3deg);
  animation: word-in 0.6s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .word-stagger {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- Hub hero: photo-grid blob (reference-style) ---------- */
.blob-frame {
  position: relative;
  max-width: 620px;
  margin: 0 auto 20px;
  aspect-ratio: 16 / 10;
  border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%;
  background: var(--cream);
  overflow: hidden;
}

.blob-grid {
  position: absolute;
  inset: 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.blob-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1.5px solid var(--black);
  clip-path: polygon(6% 0%, 94% 2%, 100% 18%, 96% 40%, 100% 62%, 94% 98%, 60% 100%, 40% 96%, 8% 100%, 2% 78%, 0% 55%, 4% 30%);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.55s cubic-bezier(0.22, 0.9, 0.32, 1), transform 0.55s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.blob-grid.in .blob-photo {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.blob-grid.in .blob-photo:nth-child(1) { transition-delay: 0.05s; }
.blob-grid.in .blob-photo:nth-child(2) { transition-delay: 0.1s; }
.blob-grid.in .blob-photo:nth-child(3) { transition-delay: 0.15s; }
.blob-grid.in .blob-photo:nth-child(4) { transition-delay: 0.2s; }
.blob-grid.in .blob-photo:nth-child(5) { transition-delay: 0.25s; }
.blob-grid.in .blob-photo:nth-child(6) { transition-delay: 0.3s; }
.blob-grid.in .blob-photo:nth-child(7) { transition-delay: 0.35s; }
.blob-grid.in .blob-photo:nth-child(8) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .blob-photo { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .blob-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
}

/* ---------- Hub hero copy ---------- */
.hub-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hub-date-pill {
  background: var(--black);
  color: var(--cream);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 999px;
}

.hub-count {
  font-weight: 900;
  font-size: 1.3rem;
}

.hub-title {
  text-align: center;
  font-size: clamp(1.7rem, 5.5vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  margin: 6px 0 0;
}

/* ---------- ABOUT floating card ---------- */
.about-card {
  background: var(--paper);
  border: 2px solid var(--black);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.about-card h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 6px;
}

.about-card .sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 18px;
}

.about-card p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ---------- Inline emphasis: orange highlight + draw-in underline ---------- */
.hl {
  color: var(--gold);
  font-weight: 700;
}

.underline-draw {
  position: relative;
}

.underline-draw::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s 0.1s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.reveal.in .underline-draw::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .underline-draw::after {
    transition: none;
    transform: scaleX(1);
  }
}

/* ---------- Site opening intro: fullscreen video, plays once on site load ---------- */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.site-intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}

body.intro-active {
  overflow: hidden;
}

.site-intro-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.site-intro-video.is-visible {
  opacity: 1;
}

/* ---------- Home page: first section (no hero banner, clear the fixed nav) ---------- */
.home-lead {
  padding-top: 140px;
}

@media (max-width: 680px) {
  .home-lead {
    padding-top: 100px;
  }
}

/* ---------- About card with illustration ---------- */
.about-card-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.about-card-illust {
  flex: 0 0 380px;
}

.illust-stack {
  position: relative;
}

.illust-tilt {
  position: relative;
}

.illust-tilt .illust-main {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .illust-tilt:hover .illust-main {
    transform: translate(-8px, -10px);
  }
}

.photo-reveal.illust-tilt.in {
  overflow: visible;
}

.illust-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.illust-stack .signature {
  position: absolute;
  left: 50%;
  top: calc(100% - 30px);
  transform: translateX(-50%) rotate(-3deg);
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1;
  white-space: nowrap;
  margin: 0;
  color: var(--gold);
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff,
    0 -3px 0 #fff, 0 3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff;
}

.about-card-grid .about-card {
  margin: 0;
  flex: 0 1 460px;
}

@media (max-width: 680px) {
  .about-card-illust {
    flex: 0 0 260px;
  }
  .illust-stack .signature {
    font-size: 2.2rem;
    top: calc(100% - 22px);
  }
}

/* ---------- Home hero concept B: orange copy panel + photo split ---------- */
.hero-b {
  padding: 0;
  display: flex;
  min-height: 560px;
}

.hero-b .panel-copy {
  width: 44%;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  animation: fade-up 0.7s ease both;
}

.hero-b .panel-copy .name {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.hero-b .panel-copy .role {
  font-size: 0.94rem;
  font-weight: 700;
  color: #3a1300;
  margin: 0 0 28px;
}

.hero-b .panel-copy .metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.hero-b .panel-copy .metric .v {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--black);
}

.hero-b .panel-copy .metric .u {
  font-size: 0.82rem;
  font-weight: 700;
  color: #3a1300;
}

.hero-b .panel-copy .tagline {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #3a1300;
  line-height: 1.8;
  max-width: 320px;
}

.hero-b .panel-photo {
  width: 56%;
  position: relative;
  overflow: hidden;
  animation: fade-up 0.7s ease 0.1s both;
}

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

@media (max-width: 760px) {
  .hero-b { flex-direction: column; min-height: auto; }
  .hero-b .panel-copy, .hero-b .panel-photo { width: 100%; }
  .hero-b .panel-photo { height: 340px; }
  .hero-b .panel-copy { padding: 32px 24px; }
}

/* ---------- Home hero concept C: number-first impact ---------- */
.hero-c {
  padding: 56px 0 36px;
  text-align: center;
  position: relative;
}

.hero-c .badge-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--black);
  margin: 0 auto 20px;
  animation: fade-up 0.6s ease both;
}

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

.hero-c .big-metric {
  font-size: clamp(3.4rem, 15vw, 6.4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: fade-up 0.6s ease 0.08s both;
}

.hero-c .metric-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 6px 0 28px;
  animation: fade-up 0.6s ease 0.14s both;
}

.hero-c h1 {
  font-size: clamp(1.3rem, 3.8vw, 2rem);
  font-weight: 900;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
  animation: fade-up 0.6s ease 0.2s both;
}

.hero-c .stat-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.6s ease 0.26s both;
}

.hero-c .stat-row .chip-a {
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 999px;
}

.hero-c .stat-row .chip-b {
  background: var(--black);
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 999px;
}

/* ---------- Profile detail template ---------- */
.profile-hero {
  position: relative;
  padding: 40px 0 30px;
}

.profile-vertical {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  z-index: 0;
  animation: pv-in 1s cubic-bezier(0.22, 0.9, 0.32, 1) both;
  will-change: transform;
}

.pv-word {
  writing-mode: vertical-rl;
  font-size: clamp(2rem, 6.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.pv-fill {
  color: var(--black);
}

.pv-hollow {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--black);
  paint-order: stroke fill;
}

.pv-accent {
  color: var(--gold);
}

@keyframes pv-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-hero-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.profile-hero-copy {
  flex: 1 1 56%;
}

.profile-hero-illust {
  position: relative;
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.illust-pronoun {
  position: absolute;
  top: -30px;
  right: -18px;
  z-index: -1;
  writing-mode: vertical-rl;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(26, 23, 20, 0.16);
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .illust-pronoun {
    top: -16px;
    right: -6px;
  }
}

.profile-hero-illust img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
}

.profile-illust-name {
  margin: 10px 0 0;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.profile-illust-role {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 860px) {
  .profile-hero-grid { flex-direction: column; gap: 24px; }
  .profile-hero-illust { order: -1; max-width: 280px; }
  .profile-hero-illust img { max-width: 260px; }
}

.pull-quote {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 30px;
  position: relative;
  z-index: 1;
}

.glow-hikari {
  display: inline-block;
  cursor: default;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.glow-hikari:hover {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.85), 0 0 24px rgba(255, 69, 0, 0.55), 0 0 44px rgba(255, 69, 0, 0.3);
}

.article-section {
  margin-bottom: 30px;
}

.article-section .kicker {
  margin-bottom: 12px;
  display: inline-flex;
}

.article-cols {
  columns: 2;
  column-gap: 32px;
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 680px) {
  .article-cols { columns: 1; }
  .profile-vertical { position: static; flex-direction: row; gap: 8px; margin-bottom: 10px; }
  .pv-word { writing-mode: horizontal-tb; font-size: 1.5rem; }
}

.article-cols p {
  margin: 0 0 14px;
  break-inside: avoid;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 400;
  transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* ---------- Cursor spotlight (radial highlight on hover surfaces) ---------- */
.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.35) 0%, rgba(255, 69, 0, 0) 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight:hover::before {
  opacity: 1;
}

.spotlight > * {
  position: relative;
  z-index: 1;
}

/* ---------- Number count-up ---------- */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer ---------- */
footer {
  border-top: 2px solid var(--black);
  padding: 28px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 0.86rem;
}

footer a {
  color: var(--text);
  font-weight: 700;
  border-bottom: 1.5px solid var(--black);
}
