:root {
  --ink: #06060a;
  --paper: #f6f4f0;
  --font-geist-mono: ui-monospace;
  --muted: #a8a5b2;
  --violet: #a970ff;
  --cyan: #48e5ff;
  --red: #ff3f5f;
  --amber: #ffc36b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-shell { width: 100%; min-height: 100vh; background: var(--ink); overflow: hidden; }
.hero { position: relative; min-height: 100svh; width: 100%; isolation: isolate; overflow: hidden; }
.hero-image {
  position: absolute; inset: 0; z-index: -6;
  background-image: url('./kaminos-hero.webp');
  background-size: cover; background-position: center 47%;
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0) scale(1.025);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -5;
  background:
    linear-gradient(90deg, rgba(5,5,10,.93) 0%, rgba(5,5,10,.72) 40%, rgba(5,5,10,.2) 70%, rgba(5,5,10,.7) 100%),
    linear-gradient(0deg, rgba(5,5,10,.96) 0%, rgba(5,5,10,.1) 43%, rgba(5,5,10,.46) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background: radial-gradient(circle at 67% 47%, transparent 0 18%, rgba(5,5,10,.48) 58%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .16;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

.hero-illumination { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.hero-illumination > span { position: absolute; display: block; pointer-events: none; }
.torii-glow {
  inset: 0;
  background:
    radial-gradient(ellipse at 76% 43%, rgba(255,45,73,.24) 0%, rgba(255,47,80,.11) 16%, rgba(169,112,255,.05) 28%, transparent 47%),
    radial-gradient(ellipse at 78% 67%, rgba(255,48,75,.11) 0%, transparent 31%);
  mix-blend-mode: screen;
  filter: blur(9px);
  animation: toriiBreath 5.8s ease-in-out infinite;
}
.torii-highlight {
  inset: 0;
  background: url('./kaminos-hero.webp') center 47% / cover no-repeat;
  clip-path: none;
  -webkit-mask-image: radial-gradient(ellipse 42% 58% at 76% 44%, #000 0 34%, rgba(0,0,0,.7) 52%, transparent 80%);
  mask-image: radial-gradient(ellipse 42% 58% at 76% 44%, #000 0 34%, rgba(0,0,0,.7) 52%, transparent 80%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: brightness(1.22) saturate(1.7) contrast(1.04);
  mix-blend-mode: screen;
  opacity: .055;
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0) scale(1.025);
  transform-origin: center;
  animation: toriiHighlight 5.8s ease-in-out infinite;
}
.city-lights { inset: 0; mix-blend-mode: screen; }
.city-light {
  position: absolute; display: block;
  left: var(--light-x); top: var(--light-y); width: var(--light-size); height: var(--light-size);
  border-radius: 50%; background: var(--light-color, #c8f7ff);
  opacity: .2; filter: blur(.15px);
  box-shadow: 0 0 4px var(--light-color, #c8f7ff), 0 0 10px color-mix(in srgb, var(--light-color, #c8f7ff) 65%, transparent);
  animation: citySpark var(--light-speed, 4.2s) ease-in-out var(--light-delay, 0s) infinite;
}
.wet-reflection {
  right: 4%; bottom: -3%; width: 39%; height: 37%;
  background:
    radial-gradient(ellipse at 55% 90%, rgba(255,45,73,.2), transparent 44%),
    linear-gradient(102deg, transparent 18%, rgba(255,70,95,.09) 39%, rgba(72,229,255,.08) 57%, transparent 73%);
  filter: blur(16px); mix-blend-mode: screen; transform: skewX(-5deg);
  animation: reflectionShimmer 7.5s ease-in-out infinite;
}
.pointer-aura {
  left: var(--pointer-x, 72%); top: var(--pointer-y, 48%); width: 430px; height: 430px;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(72,229,255,.075) 0%, rgba(169,112,255,.045) 28%, transparent 67%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s ease, left .09s linear, top .09s linear;
}
.hero.pointer-active .pointer-aura { opacity: 1; }

@keyframes toriiBreath {
  0%, 100% { opacity: .55; filter: blur(10px) saturate(.95); }
  50% { opacity: 1; filter: blur(7px) saturate(1.22); }
}
@keyframes toriiHighlight { 0%,100% { opacity: .045; } 48%,58% { opacity: .14; } }
@keyframes citySpark {
  0%, 100% { opacity: .13; transform: scale(.78); }
  42% { opacity: .95; transform: scale(1.2); }
  56% { opacity: .36; transform: scale(.92); }
}
@keyframes reflectionShimmer {
  0%,100% { opacity: .48; transform: translate3d(0,0,0) skewX(-5deg) scaleX(.96); }
  50% { opacity: .9; transform: translate3d(1.3%, -1%, 0) skewX(-3deg) scaleX(1.035); }
}

.topbar {
  width: min(1440px, calc(100% - 96px)); margin: 0 auto; height: 108px;
  display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.13);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38);
  font-size: 15px; color: #fff; position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; height: 2px; width: 17px; background: var(--red); bottom: 5px; left: 8px; box-shadow: 0 0 10px var(--red); animation: brandSignal 3.8s ease-in-out infinite; }
.brand-word { font-size: 21px; }
.brand-domain { color: var(--cyan); font-weight: 650; }
.top-actions { display: flex; align-items: center; gap: 19px; }
.location-pill { font: 700 10px/1 var(--font-geist-mono), monospace; letter-spacing: .22em; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 9px; }
.location-pill .jp { color: rgba(255,255,255,.38); }
.live-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--red); box-shadow: 0 0 13px var(--red); animation: pulse 2s ease infinite; }
.language-switcher { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.14); background: rgba(8,8,13,.38); backdrop-filter: blur(14px); }
.lang-button { min-width: 30px; height: 28px; padding: 0 8px; border: 0; background: transparent; color: rgba(255,255,255,.42); cursor: pointer; font: 700 8px/1 var(--font-geist-mono), monospace; letter-spacing: .1em; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.lang-button:last-child { min-width: 46px; letter-spacing: .03em; }
.lang-button:hover { color: #fff; background: rgba(255,255,255,.07); }
.lang-button.active { color: #08080d; background: #fff; box-shadow: 0 0 17px rgba(72,229,255,.18); }
@keyframes pulse { 50% { opacity: .45; transform: scale(.72); } }

.hero-grid {
  width: min(1440px, calc(100% - 96px)); min-height: calc(100svh - 108px); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .62fr); gap: clamp(46px, 7vw, 130px); align-items: center;
  padding: 72px 0 106px;
}
.hero-copy { align-self: center; max-width: 790px; }
.author-badge { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; width: fit-content; }
.author-photo {
  width: 78px; height: 78px; flex: 0 0 78px; border-radius: 50%; padding: 3px; position: relative;
  background: conic-gradient(from 210deg, var(--red), var(--violet), var(--cyan), rgba(255,255,255,.22), var(--red));
  box-shadow: 0 0 0 5px rgba(8,8,13,.6), 0 0 30px rgba(169,112,255,.18);
}
.author-photo::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; border-right-color: rgba(72,229,255,.6); transform: rotate(-22deg); }
.author-photo::after { animation: authorOrbit 13s linear infinite; }
.author-photo img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; border: 2px solid #090910; }
.author-id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.author-id small { color: var(--cyan); font: 700 8px/1 var(--font-geist-mono), monospace; letter-spacing: .18em; }
.author-id strong { font-size: 18px; letter-spacing: -.03em; }
.author-id em { color: rgba(255,255,255,.43); font: 600 9px/1.3 var(--font-geist-mono), monospace; font-style: normal; letter-spacing: .08em; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font: 700 10px/1 var(--font-geist-mono), monospace; letter-spacing: .22em; color: rgba(255,255,255,.52); margin-bottom: 28px; }
.kicker span { color: rgba(255,255,255,.9); }
.kicker i { width: 18px; height: 1px; background: var(--red); box-shadow: 0 0 7px var(--red); }
.kicker b { color: var(--violet); font-size: 15px; margin: 0 3px; }
.hero h1 { margin: 0; font-size: clamp(64px, 6.9vw, 118px); font-weight: 760; letter-spacing: -.075em; line-height: .83; text-wrap: balance; text-shadow: 0 4px 32px rgba(0,0,0,.34); }
.gradient-line { display: block; color: transparent; background: linear-gradient(94deg, #fff 3%, #cbadff 48%, #58ddec 93%); background-clip: text; -webkit-background-clip: text; padding-bottom: .09em; }
.hero-lede { margin: 32px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: #fff; line-height: 1.6; }
.media-line { font: inherit; }
.hero-lede span { display: block; margin-top: 3px; color: rgba(255,255,255,.52); font-weight: 400; letter-spacing: .01em; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.primary-cta, .ghost-cta { height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; font: 700 11px/1 var(--font-geist-mono), monospace; letter-spacing: .08em; transition: .25s ease; }
.primary-cta { background: #fff; color: #09090e; border: 1px solid #fff; }
.primary-cta:hover { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 30px rgba(72,229,255,.25); transform: translateY(-2px); }
.ghost-cta { border: 1px solid rgba(255,255,255,.22); background: rgba(10,9,15,.28); backdrop-filter: blur(12px); }
.ghost-cta:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.signal-line { margin-top: 48px; display: flex; gap: 21px; color: rgba(255,255,255,.26); font-size: 12px; }
.signal-line span { border-right: 1px solid rgba(255,255,255,.12); padding-right: 21px; }

.link-panel {
  width: 100%; padding: 22px 22px 18px; align-self: center;
  background: linear-gradient(145deg, rgba(12,10,19,.82), rgba(10,10,15,.57));
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(23px) saturate(1.35);
  box-shadow: 0 28px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative; overflow: hidden; transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .18s ease-out, border-color .35s ease, box-shadow .35s ease;
}
.link-panel::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--shine-x, 78%) var(--shine-y, 20%), rgba(72,229,255,.105), rgba(169,112,255,.055) 31%, transparent 65%);
  opacity: .7; transition: opacity .3s ease;
}
.link-panel::after {
  content: ""; position: absolute; left: -45%; top: -120%; width: 32%; height: 330%; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.045), transparent); transform: rotate(16deg);
  animation: glassSweep 10s ease-in-out infinite;
}
.link-panel > * { position: relative; z-index: 1; }
.panel-head { padding: 6px 5px 18px; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid rgba(255,255,255,.11); }
.panel-head p { margin: 0 0 7px; color: var(--violet); font: 700 9px/1 var(--font-geist-mono), monospace; letter-spacing: .19em; }
.panel-head h2 { font-size: 20px; margin: 0; letter-spacing: -.03em; }
.panel-index { font: 600 8px/1 var(--font-geist-mono), monospace; letter-spacing: .15em; color: rgba(255,255,255,.29); padding-bottom: 2px; }
.link-list { padding-top: 8px; }
.social-link { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; min-height: 66px; padding: 8px 6px; border-bottom: 1px solid rgba(255,255,255,.08); transition: .2s ease; position: relative; }
.social-link:last-child { border-bottom: 0; }
.social-link:hover { padding-left: 10px; background: linear-gradient(90deg, rgba(255,255,255,.055), transparent); }
.link-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); font: 800 9px/1 var(--font-geist-mono), monospace; letter-spacing: .04em; position: relative; }
.link-icon::after { content: ""; position: absolute; left: -1px; bottom: -1px; height: 2px; width: 13px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.link-icon.violet { color: var(--violet); } .link-icon.cyan { color: var(--cyan); } .link-icon.red { color: var(--red); } .link-icon.amber { color: var(--amber); }
.link-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link-copy strong { font-size: 13px; letter-spacing: -.01em; }
.link-copy small { color: rgba(255,255,255,.52); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow { width: 28px; height: 28px; display: grid; place-items: center; color: rgba(255,255,255,.38); font-size: 15px; transition: .2s ease; }
.social-link:hover .arrow { color: #fff; transform: translate(2px,-2px); }
.social-link:hover .link-icon, .social-link:focus-visible .link-icon { background: color-mix(in srgb, currentColor 10%, transparent); box-shadow: inset 0 0 16px color-mix(in srgb, currentColor 7%, transparent); }
.social-link:active { transform: scale(.992); }
.scroll-cue { position: absolute; bottom: 33px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; align-items: center; color: rgba(255,255,255,.31); font: 700 7px/1 var(--font-geist-mono), monospace; letter-spacing: .25em; }
.scroll-cue i { width: 34px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), transparent); }
.scroll-cue i { transform-origin: left; animation: scrollSignal 2.8s ease-in-out infinite; }

.about { width: min(1440px, calc(100% - 96px)); margin: 0 auto; padding: 112px 0 90px; border-bottom: 1px solid rgba(255,255,255,.09); position: relative; }
.about::before { content: "道"; position: absolute; right: -2%; top: 4%; font-size: clamp(210px,25vw,400px); font-weight: 900; line-height: 1; color: rgba(169,112,255,.035); pointer-events: none; }
.about-label { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.11); position: relative; }
.about-label p { margin: 0; color: var(--violet); font: 700 9px/1 var(--font-geist-mono), monospace; letter-spacing: .2em; }
.about-label span { color: rgba(255,255,255,.28); font: 600 8px/1 var(--font-geist-mono), monospace; letter-spacing: .17em; }
.about-grid { display: grid; grid-template-columns: minmax(340px,.86fr) minmax(0,1.18fr); gap: clamp(60px,9vw,150px); padding-top: 58px; align-items: start; position: relative; }
.about-number { display: block; margin-bottom: 15px; color: var(--cyan); font: 700 8px/1 var(--font-geist-mono), monospace; letter-spacing: .22em; }
.about-heading h2 { margin: 0; font-size: clamp(48px,5vw,74px); line-height: .92; letter-spacing: -.06em; }
.about-heading h2 em { color: rgba(255,255,255,.3); font-style: normal; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 31px; }
.about-tags span { border: 1px solid rgba(255,255,255,.12); padding: 9px 11px 8px; color: rgba(255,255,255,.4); font: 700 7px/1 var(--font-geist-mono), monospace; letter-spacing: .16em; transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.about-tags span:hover { color: var(--cyan); border-color: rgba(72,229,255,.38); box-shadow: 0 0 22px rgba(72,229,255,.08); transform: translateY(-2px); }
.about-copy { max-width: 730px; }
.about-copy p { margin: 0 0 18px; color: rgba(255,255,255,.53); font-size: 14px; line-height: 1.8; }
.about-copy .about-lead { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.65; letter-spacing: -.01em; }
.about-link { margin-top: 12px; width: fit-content; padding: 0 0 8px; border-bottom: 1px solid rgba(255,255,255,.3); display: flex; gap: 28px; color: rgba(255,255,255,.74); font: 700 8px/1 var(--font-geist-mono), monospace; letter-spacing: .16em; transition: .2s ease; }
.about-link:hover { color: var(--cyan); border-color: var(--cyan); }

.site-shell[data-lang="ja"] .hero h1 { font-size: clamp(54px,5.9vw,94px); line-height: .96; letter-spacing: -.055em; }
.site-shell[data-lang="ja"] .hero-lede, .site-shell[data-lang="ja"] .about-copy p { letter-spacing: .01em; }
.site-shell[data-lang="ja"] .about-copy p { line-height: 1.9; }

.worlds { width: min(1440px, calc(100% - 96px)); margin: 0 auto; padding: 92px 0 124px; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: end; margin-bottom: 42px; }
.section-heading > p { margin: 0 0 7px; color: var(--violet); font: 700 9px/1 var(--font-geist-mono), monospace; letter-spacing: .2em; }
.section-heading h2 { margin: 0; font-size: clamp(38px,4vw,62px); letter-spacing: -.055em; line-height: .95; }
.section-heading > span { color: rgba(255,255,255,.34); font-size: 12px; text-align: right; }
.world-grid { display: grid; grid-template-columns: 1.18fr .91fr .91fr; gap: 13px; }
.world-card { min-height: 460px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #111; transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--card-rx, 0deg)) rotateY(var(--card-ry, 0deg)); transition: transform .2s ease-out, border-color .35s ease, box-shadow .35s ease; }
.world-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; filter: saturate(.85) brightness(.78); }
.world-card:hover img { transform: scale(1.045); filter: saturate(1.05) brightness(.9); }
.world-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(340px circle at var(--card-x, 72%) var(--card-y, 28%), rgba(255,255,255,.13), transparent 56%); opacity: 0; transition: opacity .3s ease; mix-blend-mode: screen; }
.world-card:hover::after { opacity: .58; }
.world-card:hover { border-color: rgba(255,255,255,.27); box-shadow: 0 22px 58px rgba(0,0,0,.22); }
.world-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(4,4,8,.94) 0%, rgba(4,4,8,.22) 58%, rgba(4,4,8,.12) 100%); }
.world-copy { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; }
.world-copy small { display: block; color: rgba(255,255,255,.5); font: 700 8px/1 var(--font-geist-mono), monospace; letter-spacing: .2em; margin-bottom: 12px; }
.world-copy h3 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.world-copy p { margin: 10px 0 0; max-width: 410px; color: rgba(255,255,255,.51); font-size: 11px; line-height: 1.55; }
.world-arrow { position: absolute; top: 24px; right: 24px; z-index: 2; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.27); background: rgba(0,0,0,.22); backdrop-filter: blur(10px); transition: .25s; }
.world-card:hover .world-arrow { background: #fff; color: #08080b; border-color: #fff; }

.closing { width: min(1440px, calc(100% - 96px)); margin: 0 auto 32px; padding: clamp(66px,8vw,118px); background: linear-gradient(125deg, #151020 0%, #0b1018 60%, #100d17 100%); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.closing::before { content: "界"; position: absolute; right: 4%; top: -25%; color: rgba(169,112,255,.08); font-size: clamp(240px,32vw,520px); font-weight: 900; line-height: 1; pointer-events: none; }
.closing p { margin: 0 0 20px; color: var(--cyan); font: 700 9px/1 var(--font-geist-mono), monospace; letter-spacing: .23em; }
.closing h2 { position: relative; margin: 0; font-size: clamp(46px,6vw,88px); line-height: .95; letter-spacing: -.065em; max-width: 960px; }
.closing h2 em { font-style: normal; color: rgba(255,255,255,.33); }
.closing a { position: relative; margin-top: 34px; width: fit-content; border-bottom: 1px solid rgba(255,255,255,.35); padding: 0 0 8px; display: flex; gap: 30px; font: 700 9px/1 var(--font-geist-mono), monospace; letter-spacing: .15em; }
.closing a:hover { color: var(--cyan); border-color: var(--cyan); }

footer { width: min(1440px, calc(100% - 96px)); margin: 0 auto; padding: 28px 0 38px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; row-gap: 21px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-brand { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }.footer-brand .brand-domain { color: var(--cyan); }
footer p { margin: 0; color: rgba(255,255,255,.31); font: 600 8px/1.5 var(--font-geist-mono), monospace; letter-spacing: .12em; text-align: center; }
footer p span { color: rgba(255,255,255,.55); }
.footer-origin { color: inherit; }
.footer-note { text-align: right; }
.footer-credit { grid-column: 1 / -1; width: 100%; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(72,229,255,.72); font: 600 8px/1.5 var(--font-geist-mono), monospace; letter-spacing: .1em; display: flex; align-items: center; justify-content: flex-start; gap: 10px; transition: color .25s ease, border-color .25s ease; }
.footer-credit span { color: rgba(255,255,255,.46); transition: transform .25s ease, color .25s ease; }
.footer-credit:hover { color: var(--cyan); border-color: rgba(72,229,255,.2); }
.footer-credit:hover span { color: var(--cyan); transform: translate(2px,-2px); }

.motion-ready .reveal { opacity: 0; translate: 0 24px; transition: opacity .75s ease, translate .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.is-visible { opacity: 1; translate: 0 0; }
.motion-ready .reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.motion-ready .reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.motion-ready .reveal[data-reveal-delay="3"] { transition-delay: .24s; }

@keyframes authorOrbit { to { transform: rotate(338deg); } }
@keyframes brandSignal { 0%,100% { opacity: .55; box-shadow: 0 0 8px var(--red); } 50% { opacity: 1; box-shadow: 0 0 17px var(--red); } }
@keyframes glassSweep { 0%, 58% { transform: translateX(-40%) rotate(16deg); opacity: 0; } 68% { opacity: .7; } 84%,100% { transform: translateX(520%) rotate(16deg); opacity: 0; } }
@keyframes scrollSignal { 0%,100% { transform: scaleX(.35); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }

@media (max-width: 1120px) {
  .topbar, .hero-grid, .about, .worlds, .closing, footer { width: min(100% - 52px, 1040px); }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(350px,.72fr); gap: 38px; }
  .hero h1 { font-size: clamp(58px,7.4vw,86px); }
  .world-card { min-height: 400px; }
}

@media (max-width: 820px) {
  .hero { min-height: auto; }
  .hero-image { background-position: 63% top; height: 68svh; transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0) scale(1.02); }
  .hero-illumination { height: 68svh; bottom: auto; }
  .torii-glow { background: radial-gradient(ellipse at 82% 42%, rgba(255,45,73,.25) 0%, rgba(255,47,80,.11) 20%, rgba(169,112,255,.04) 34%, transparent 55%); }
  .torii-highlight { background-position: 63% top; clip-path: none; -webkit-mask-image: radial-gradient(ellipse 66% 62% at 83% 43%, #000 0 28%, rgba(0,0,0,.62) 50%, transparent 82%); mask-image: radial-gradient(ellipse 66% 62% at 83% 43%, #000 0 28%, rgba(0,0,0,.62) 50%, transparent 82%); transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0) scale(1.02); opacity: .04; }
  .wet-reflection { right: -15%; bottom: -7%; width: 82%; height: 39%; }
  .hero::before { background: linear-gradient(0deg, #06060a 31%, rgba(6,6,10,.48) 66%, rgba(6,6,10,.42) 100%), linear-gradient(90deg, rgba(6,6,10,.55), rgba(6,6,10,.05)); }
  .topbar, .hero-grid, .about, .worlds, .closing, footer { width: calc(100% - 34px); }
  .topbar { height: 78px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 31px; height: 31px; }
  .location-pill { display: none; }
  .top-actions { gap: 8px; }
  .language-switcher { padding: 3px; }
  .lang-button { min-width: 27px; height: 27px; padding: 0 6px; font-size: 7px; }
  .lang-button:last-child { min-width: 42px; padding-inline: 7px; }
  .hero-grid { min-height: 0; padding: 39svh 0 76px; grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 100%; }
  .author-badge { margin-bottom: 25px; gap: 15px; }
  .author-photo { width: 92px; height: 92px; flex-basis: 92px; }
  .author-id small { font-size: 7px; }
  .author-id strong { font-size: 20px; }
  .author-id em { font-size: 8px; }
  .kicker { font-size: 8px; margin-bottom: 18px; letter-spacing: .15em; gap: 7px; }
  .kicker i { width: 12px; }.kicker b { font-size: 12px; }
  .hero h1 { font-size: clamp(52px,15vw,78px); line-height: .88; max-width: 650px; }
  .site-shell[data-lang="ja"] .hero h1 { font-size: clamp(44px,11.5vw,62px); line-height: 1.04; }
  .hero-lede { margin-top: 23px; font-size: 13px; }
  .hero-actions { margin-top: 24px; }
  .primary-cta, .ghost-cta { height: 49px; font-size: 9px; padding: 0 17px; gap: 18px; }
  .signal-line, .scroll-cue { display: none; }
  .link-panel { padding: 16px 15px 12px; }
  .panel-head { padding: 4px 4px 13px; }
  .social-link { min-height: 64px; }
  .about { padding: 74px 0 68px; }
  .about-label { align-items: flex-start; padding-bottom: 18px; }
  .about-label span { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 38px; }
  .about-heading h2 { font-size: clamp(46px,13vw,64px); }
  .about-tags { margin-top: 24px; }
  .about-copy .about-lead { font-size: 17px; }
  .about-copy p { font-size: 13px; line-height: 1.75; }
  .worlds { padding: 80px 0 84px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 27px; }
  .section-heading h2 { font-size: clamp(39px,11vw,54px); }
  .section-heading > span { text-align: left; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card { min-height: min(105vw, 500px); }
  .closing { margin-bottom: 20px; padding: 55px 26px; }
  .closing h2 { font-size: clamp(40px,12vw,62px); }
  footer { grid-template-columns: 1fr auto; gap: 20px; }
  footer > p:nth-child(2) { text-align: right; }
  .footer-note { display: none; }
  .footer-credit { grid-column: 1 / -1; padding-top: 17px; font-size: 8px; }
}

@media (max-width: 460px) {
  .topbar, .hero-grid, .about, .worlds, .closing, footer { width: calc(100% - 28px); }
  .hero-grid { padding-top: 37svh; }
  .brand { gap: 8px; }
  .brand-word { font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; }
  .lang-button { min-width: 24px; padding: 0 5px; }
  .lang-button:last-child { min-width: 39px; padding-inline: 6px; }
  .author-photo { width: 86px; height: 86px; flex-basis: 86px; }
  .hero h1 { font-size: clamp(48px,15.5vw,66px); }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-cta, .ghost-cta { width: 100%; gap: 8px; justify-content: space-between; }
  .panel-index { display: none; }
  .link-copy small { max-width: 230px; }
  .world-copy { left: 22px; right: 22px; bottom: 23px; }
  .world-copy h3 { font-size: 25px; }
  footer { padding-bottom: 30px; }
  footer > p:nth-child(2) { font-size: 7px; max-width: 200px; }
}

@media (pointer: coarse) {
  .pointer-aura { display: none; }
  .link-panel, .world-card { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image, .torii-highlight, .link-panel, .world-card { transform: none !important; }
  .pointer-aura { display: none; }
}
